new field and enums values for break in shiftrole

This commit is contained in:
José Salazar
2026-02-12 14:54:29 -05:00
parent 4e873fff26
commit 57b63b85ef
7 changed files with 110 additions and 12 deletions

View File

@@ -9,6 +9,7 @@ mutation createShiftRole(
$department: String
$uniform: String
$breakType: BreakDuration
$isBreakPaid: Boolean
$totalValue: Float
) @auth(level: USER) {
shiftRole_insert(
@@ -23,6 +24,7 @@ mutation createShiftRole(
department: $department
uniform: $uniform
breakType: $breakType
isBreakPaid: $isBreakPaid
totalValue: $totalValue
}
)
@@ -39,6 +41,7 @@ mutation updateShiftRole(
$department: String
$uniform: String
$breakType: BreakDuration
$isBreakPaid: Boolean
$totalValue: Float
) @auth(level: USER) {
shiftRole_update(
@@ -52,6 +55,7 @@ mutation updateShiftRole(
department: $department
uniform: $uniform
breakType: $breakType
isBreakPaid: $isBreakPaid
totalValue: $totalValue
}
)

View File

@@ -15,6 +15,7 @@ query getShiftRoleById(
department
uniform
breakType
isBreakPaid
totalValue
createdAt
@@ -76,6 +77,7 @@ query listShiftRolesByShiftId(
department
uniform
breakType
isBreakPaid
totalValue
createdAt
@@ -132,6 +134,7 @@ query listShiftRolesByRoleId(
department
uniform
breakType
isBreakPaid
totalValue
createdAt
@@ -195,6 +198,7 @@ query listShiftRolesByShiftIdAndTimeRange(
department
uniform
breakType
isBreakPaid
totalValue
createdAt
@@ -263,6 +267,7 @@ query listShiftRolesByVendorId(
department
uniform
breakType
isBreakPaid
totalValue
createdAt
@@ -371,6 +376,7 @@ query listShiftRolesByBusinessAndOrder(
endTime
hours
breakType
isBreakPaid
totalValue
createdAt