adding new fields for address validation of google

This commit is contained in:
José Salazar
2026-02-11 15:43:47 -05:00
parent 8a84117871
commit 88ea396c31
9 changed files with 162 additions and 5 deletions

View File

@@ -5,6 +5,12 @@ mutation createVendor(
$phone: String
$photoUrl: String
$address: String
$placeId: String
$latitude: Float
$longitude: Float
$street: String
$country: String
$zipCode: String
$billingAddress: String
$timezone: String
$legalName: String
@@ -28,6 +34,12 @@ mutation createVendor(
phone: $phone
photoUrl: $photoUrl
address: $address
placeId: $placeId
latitude: $latitude
longitude: $longitude
street: $street
country: $country
zipCode: $zipCode
billingAddress: $billingAddress
timezone: $timezone
legalName: $legalName
@@ -53,6 +65,12 @@ mutation updateVendor(
$phone: String
$photoUrl: String
$address: String
$placeId: String
$latitude: Float
$longitude: Float
$street: String
$country: String
$zipCode: String
$billingAddress: String
$timezone: String
$legalName: String
@@ -76,6 +94,12 @@ mutation updateVendor(
phone: $phone
photoUrl: $photoUrl
address: $address
placeId: $placeId
latitude: $latitude
longitude: $longitude
street: $street
country: $country
zipCode: $zipCode
billingAddress: $billingAddress
timezone: $timezone
legalName: $legalName

View File

@@ -7,6 +7,12 @@ query getVendorById($id: UUID!) @auth(level: USER) {
phone
photoUrl
address
placeId
latitude
longitude
street
country
zipCode
billingAddress
timezone
legalName
@@ -36,6 +42,12 @@ query getVendorByUserId($userId: String!) @auth(level: USER) {
phone
photoUrl
address
placeId
latitude
longitude
street
country
zipCode
billingAddress
timezone
legalName
@@ -65,6 +77,12 @@ query listVendors @auth(level: USER) {
phone
photoUrl
address
placeId
latitude
longitude
street
country
zipCode
billingAddress
timezone
legalName