adding new fields for address validation of google
This commit is contained in:
@@ -7,7 +7,14 @@ mutation createBusiness(
|
||||
$email: String,
|
||||
$hubBuilding: String,
|
||||
$address: String,
|
||||
$placeId: String,
|
||||
$latitude: Float,
|
||||
$longitude: Float,
|
||||
$city: String,
|
||||
$state: String,
|
||||
$street: String,
|
||||
$country: String,
|
||||
$zipCode: String,
|
||||
$area: BusinessArea,
|
||||
$sector: BusinessSector,
|
||||
$rateGroup: BusinessRateGroup!,
|
||||
@@ -24,7 +31,14 @@ mutation createBusiness(
|
||||
email: $email,
|
||||
hubBuilding: $hubBuilding,
|
||||
address: $address,
|
||||
placeId: $placeId,
|
||||
latitude: $latitude,
|
||||
longitude: $longitude,
|
||||
city: $city,
|
||||
state: $state,
|
||||
street: $street,
|
||||
country: $country,
|
||||
zipCode: $zipCode,
|
||||
area: $area,
|
||||
sector: $sector,
|
||||
rateGroup: $rateGroup,
|
||||
@@ -43,7 +57,14 @@ mutation updateBusiness(
|
||||
$email: String,
|
||||
$hubBuilding: String,
|
||||
$address: String,
|
||||
$placeId: String,
|
||||
$latitude: Float,
|
||||
$longitude: Float,
|
||||
$city: String,
|
||||
$state: String,
|
||||
$street: String,
|
||||
$country: String,
|
||||
$zipCode: String,
|
||||
$area: BusinessArea,
|
||||
$sector: BusinessSector,
|
||||
$rateGroup: BusinessRateGroup,
|
||||
@@ -60,7 +81,14 @@ mutation updateBusiness(
|
||||
email: $email,
|
||||
hubBuilding: $hubBuilding,
|
||||
address: $address,
|
||||
placeId: $placeId,
|
||||
latitude: $latitude,
|
||||
longitude: $longitude,
|
||||
city: $city,
|
||||
state: $state,
|
||||
street: $street,
|
||||
country: $country,
|
||||
zipCode: $zipCode,
|
||||
area: $area,
|
||||
sector: $sector,
|
||||
rateGroup: $rateGroup,
|
||||
@@ -72,4 +100,4 @@ mutation updateBusiness(
|
||||
|
||||
mutation deleteBusiness($id: UUID!) @auth(level: USER) {
|
||||
business_delete(id: $id)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,14 @@ query listBusinesses @auth(level: USER) {
|
||||
email
|
||||
hubBuilding
|
||||
address
|
||||
placeId
|
||||
latitude
|
||||
longitude
|
||||
city
|
||||
state
|
||||
street
|
||||
country
|
||||
zipCode
|
||||
area
|
||||
sector
|
||||
rateGroup
|
||||
@@ -31,7 +38,14 @@ query getBusinessesByUserId($userId: String!) @auth(level: USER) {
|
||||
email
|
||||
hubBuilding
|
||||
address
|
||||
placeId
|
||||
latitude
|
||||
longitude
|
||||
city
|
||||
state
|
||||
street
|
||||
country
|
||||
zipCode
|
||||
area
|
||||
sector
|
||||
rateGroup
|
||||
@@ -53,7 +67,14 @@ query getBusinessById($id: UUID!) @auth(level: USER) {
|
||||
email
|
||||
hubBuilding
|
||||
address
|
||||
placeId
|
||||
latitude
|
||||
longitude
|
||||
city
|
||||
state
|
||||
street
|
||||
country
|
||||
zipCode
|
||||
area
|
||||
sector
|
||||
rateGroup
|
||||
@@ -62,4 +83,4 @@ query getBusinessById($id: UUID!) @auth(level: USER) {
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user