adding also staff

This commit is contained in:
José Salazar
2026-02-11 15:55:53 -05:00
parent 88ea396c31
commit be368b08b9
3 changed files with 66 additions and 1 deletions

View File

@@ -40,6 +40,13 @@ mutation CreateStaff(
$englishRequired: Boolean
$city: String
$addres: String
$placeId: String
$latitude: Float
$longitude: Float
$state: String
$street: String
$country: String
$zipCode: String
) @auth(level: USER) {
staff_insert(
data: {
@@ -82,6 +89,13 @@ mutation CreateStaff(
englishRequired: $englishRequired
city: $city
addres: $addres
placeId: $placeId
latitude: $latitude
longitude: $longitude
state: $state
street: $street
country: $country
zipCode: $zipCode
}
)
@@ -131,6 +145,13 @@ mutation UpdateStaff(
$englishRequired: Boolean
$city: String
$addres: String
$placeId: String
$latitude: Float
$longitude: Float
$state: String
$street: String
$country: String
$zipCode: String
) @auth(level: USER) {
staff_update(
id: $id
@@ -174,6 +195,13 @@ mutation UpdateStaff(
englishRequired: $englishRequired
city: $city
addres: $addres
placeId: $placeId
latitude: $latitude
longitude: $longitude
state: $state
street: $street
country: $country
zipCode: $zipCode
}
)