Merge remote-tracking branch 'origin/408-feature-implement-paidunpaid-breaks---client-app-frontend-development' into staff_recurring_permanent_order
This commit is contained in:
@@ -214,3 +214,12 @@ mutation UpdateStaff(
|
||||
mutation DeleteStaff($id: UUID!) @auth(level: USER) {
|
||||
staff_delete(id: $id)
|
||||
}
|
||||
|
||||
mutation UpdateStaffProfileVisibility($id: UUID!, $isProfileVisible: Boolean!) @auth(level: USER) {
|
||||
staff_update(
|
||||
id: $id
|
||||
data: {
|
||||
isProfileVisible: $isProfileVisible
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
@@ -204,3 +204,10 @@ query filterStaff(
|
||||
zipCode
|
||||
}
|
||||
}
|
||||
|
||||
query getStaffProfileVisibility($staffId: UUID!) @auth(level: USER) {
|
||||
staff(id: $staffId) {
|
||||
id
|
||||
isProfileVisible
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user