new field and enums values for break in shiftrole
This commit is contained in:
@@ -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
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user