2020-07-05 01:02:57 +02:00
|
|
|
extend type Mutation {
|
2020-08-01 03:01:14 +02:00
|
|
|
createProjectLabel(input: NewProjectLabel!):
|
2020-09-20 00:26:02 +02:00
|
|
|
ProjectLabel! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: PROJECT)
|
2020-08-01 03:01:14 +02:00
|
|
|
deleteProjectLabel(input: DeleteProjectLabel!):
|
2020-09-20 00:26:02 +02:00
|
|
|
ProjectLabel! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: PROJECT)
|
2020-08-01 03:01:14 +02:00
|
|
|
updateProjectLabel(input: UpdateProjectLabel!):
|
2020-09-20 00:26:02 +02:00
|
|
|
ProjectLabel! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: PROJECT)
|
2020-08-01 03:01:14 +02:00
|
|
|
updateProjectLabelName(input: UpdateProjectLabelName!):
|
2020-09-20 00:26:02 +02:00
|
|
|
ProjectLabel! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: PROJECT)
|
2020-08-01 03:01:14 +02:00
|
|
|
updateProjectLabelColor(input: UpdateProjectLabelColor!):
|
2020-09-20 00:26:02 +02:00
|
|
|
ProjectLabel! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: PROJECT)
|
2020-07-05 01:02:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input NewProjectLabel {
|
|
|
|
projectID: UUID!
|
|
|
|
labelColorID: UUID!
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
|
|
|
|
input DeleteProjectLabel {
|
|
|
|
projectLabelID: UUID!
|
|
|
|
}
|
|
|
|
|
|
|
|
input UpdateProjectLabelName {
|
|
|
|
projectLabelID: UUID!
|
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
input UpdateProjectLabel {
|
|
|
|
projectLabelID: UUID!
|
|
|
|
labelColorID: UUID!
|
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
input UpdateProjectLabelColor {
|
|
|
|
projectLabelID: UUID!
|
|
|
|
labelColorID: UUID!
|
|
|
|
}
|