Files
Krow-workspace/backend/dataconnect/connector/teamHudDeparment/mutations.gql
2026-01-19 19:18:11 -05:00

36 lines
619 B
GraphQL

mutation createTeamHudDepartment(
$name: String!
$costCenter: String
$teamHubId: UUID!
) @auth(level: USER) {
teamHudDepartment_insert(
data: {
name: $name
costCenter: $costCenter
teamHubId: $teamHubId
}
)
}
mutation updateTeamHudDepartment(
$id: UUID!
$name: String
$costCenter: String
$teamHubId: UUID
) @auth(level: USER) {
teamHudDepartment_update(
id: $id
data: {
name: $name
costCenter: $costCenter
teamHubId: $teamHubId
}
)
}
mutation deleteTeamHudDepartment($id: UUID!) @auth(level: USER) {
teamHudDepartment_delete(id: $id)
}