20 lines
293 B
Plaintext
20 lines
293 B
Plaintext
|
extend type Mutation {
|
||
|
deleteTeam(input: DeleteTeam!): DeleteTeamPayload!
|
||
|
createTeam(input: NewTeam!): Team!
|
||
|
}
|
||
|
|
||
|
input NewTeam {
|
||
|
name: String!
|
||
|
organizationID: UUID!
|
||
|
}
|
||
|
|
||
|
input DeleteTeam {
|
||
|
teamID: UUID!
|
||
|
}
|
||
|
|
||
|
type DeleteTeamPayload {
|
||
|
ok: Boolean!
|
||
|
team: Team!
|
||
|
projects: [Project!]!
|
||
|
}
|