deleting few values of shift enum
This commit is contained in:
@@ -254,7 +254,7 @@ query listShiftRolesByVendorId(
|
||||
shiftRoles(
|
||||
where: {
|
||||
shift: {
|
||||
status: {in: [IN_PROGRESS, CONFIRMED, ASSIGNED, OPEN, PENDING]} #IN_PROGRESS? PENDING?
|
||||
status: {in: [IN_PROGRESS, ASSIGNED, OPEN]} #IN_PROGRESS?
|
||||
order: {
|
||||
vendorId: { eq: $vendorId }
|
||||
}
|
||||
@@ -511,7 +511,7 @@ query getCompletedShiftsByBusinessId(
|
||||
shifts(
|
||||
where: {
|
||||
order: { businessId: { eq: $businessId } }
|
||||
status: {in: [IN_PROGRESS, CONFIRMED, COMPLETED, OPEN]}
|
||||
status: {in: [IN_PROGRESS, COMPLETED, OPEN]}
|
||||
date: { ge: $dateFrom, le: $dateTo }
|
||||
}
|
||||
offset: $offset
|
||||
|
||||
@@ -927,7 +927,7 @@ mutation seedAll @transaction {
|
||||
placeId: "Eiw0MDAwIFNhbiBKb3NlIFN0cmVldCwgR3JhbmFkYSBIaWxscywgQ0EsIFVTQSIuKiwKFAoSCYNJZBTdmsKAEddGOfBj8LvTEhQKEglnNXI0zZrCgBEjR6om62lcVw"
|
||||
latitude: 34.2611486
|
||||
longitude: -118.5010287
|
||||
status: ASSIGNED
|
||||
status: OPEN
|
||||
workersNeeded: 2
|
||||
filled: 1
|
||||
}
|
||||
@@ -950,7 +950,7 @@ mutation seedAll @transaction {
|
||||
placeId: "Eiw2ODAwIFNhbiBKb3NlIFN0cmVldCwgR3JhbmFkYSBIaWxscywgQ0EsIFVTQSIuKiwKFAoSCYNJZBTdmsKAEddGOfBj8LvTEhQKEglnNXI0zZrCgBEjR6om62lcVw"
|
||||
latitude: 34.2611486
|
||||
longitude: -118.5010287
|
||||
status: ASSIGNED
|
||||
status: OPEN
|
||||
workersNeeded: 2
|
||||
filled: 1
|
||||
}
|
||||
@@ -996,7 +996,7 @@ mutation seedAll @transaction {
|
||||
placeId: "Eiw0MDAwIFNhbiBKb3NlIFN0cmVldCwgR3JhbmFkYSBIaWxscywgQ0EsIFVTQSIuKiwKFAoSCYNJZBTdmsKAEddGOfBj8LvTEhQKEglnNXI0zZrCgBEjR6om62lcVw"
|
||||
latitude: 34.2611486
|
||||
longitude: -118.5010287
|
||||
status: ASSIGNED
|
||||
status: OPEN
|
||||
workersNeeded: 2
|
||||
filled: 1
|
||||
}
|
||||
@@ -1042,7 +1042,7 @@ mutation seedAll @transaction {
|
||||
placeId: "Eiw1MDAwIFNhbiBKb3NlIFN0cmVldCwgR3JhbmFkYSBIaWxscywgQ0EsIFVTQSIuKiwKFAoSCYNJZBTdmsKAEddGOfBj8LvTEhQKEglnNXI0zZrCgBEjR6om62lcVw"
|
||||
latitude: 34.2611486
|
||||
longitude: -118.5010287
|
||||
status: ASSIGNED
|
||||
status: OPEN
|
||||
workersNeeded: 2
|
||||
filled: 1
|
||||
}
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
enum ShiftStatus {
|
||||
DRAFT
|
||||
FILLED
|
||||
PENDING
|
||||
ASSIGNED
|
||||
CONFIRMED
|
||||
OPEN
|
||||
IN_PROGRESS
|
||||
COMPLETED
|
||||
|
||||
Reference in New Issue
Block a user