adding also staff
This commit is contained in:
@@ -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
|
||||
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user