modifications for hub in create one time order

This commit is contained in:
José Salazar
2026-01-29 16:08:44 -05:00
parent 7e17903942
commit 191ba40393
19 changed files with 18298 additions and 17645 deletions

View File

@@ -13,6 +13,11 @@ mutation createShift(
$locationAddress: String
$latitude: Float
$longitude: Float
$placeId: String
$city: String
$state: String
$street: String
$country: String
$description: String
$status: ShiftStatus
@@ -40,6 +45,11 @@ mutation createShift(
locationAddress: $locationAddress
latitude: $latitude
longitude: $longitude
placeId: $placeId
city: $city
state: $state
street: $street
country: $country
description: $description
status: $status
@@ -68,6 +78,11 @@ mutation updateShift(
$locationAddress: String
$latitude: Float
$longitude: Float
$placeId: String
$city: String
$state: String
$street: String
$country: String
$description: String
$status: ShiftStatus
@@ -95,6 +110,11 @@ mutation updateShift(
locationAddress: $locationAddress
latitude: $latitude
longitude: $longitude
placeId: $placeId
city: $city
state: $state
street: $street
country: $country
description: $description
status: $status

View File

@@ -22,6 +22,11 @@ query listShifts(
locationAddress
latitude
longitude
placeId
city
state
street
country
description
status
@@ -69,6 +74,11 @@ query getShiftById($id: UUID!) @auth(level: USER) {
locationAddress
latitude
longitude
placeId
city
state
street
country
description
status
@@ -134,6 +144,11 @@ query filterShifts(
locationAddress
latitude
longitude
placeId
city
state
street
country
description
status
@@ -194,6 +209,11 @@ query getShiftsByBusinessId(
locationAddress
latitude
longitude
placeId
city
state
street
country
description
status
@@ -254,6 +274,11 @@ query getShiftsByVendorId(
locationAddress
latitude
longitude
placeId
city
state
street
country
description
status

View File

@@ -28,6 +28,12 @@ type Shift @table(name: "shifts") {
locationAddress: String
latitude: Float
longitude: Float
placeId: String
city: String
state: String
street: String
country: String
description: String
status: ShiftStatus