deleting few values of shift enum

This commit is contained in:
José Salazar
2026-02-19 14:37:26 -05:00
parent ed854cb958
commit d160610bf9
3 changed files with 6 additions and 8 deletions

View File

@@ -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