2020-07-05 01:02:57 +02:00
|
|
|
extend type Mutation {
|
2020-10-14 23:52:32 +02:00
|
|
|
inviteProjectMembers(input: InviteProjectMembers!):
|
|
|
|
InviteProjectMembersPayload! @hasRole(roles: [ADMIN], level: PROJECT, type: PROJECT)
|
2020-08-01 03:01:14 +02:00
|
|
|
deleteProjectMember(input: DeleteProjectMember!):
|
|
|
|
DeleteProjectMemberPayload! @hasRole(roles: [ADMIN], level: PROJECT, type: PROJECT)
|
|
|
|
updateProjectMemberRole(input: UpdateProjectMemberRole!):
|
|
|
|
UpdateProjectMemberRolePayload! @hasRole(roles: [ADMIN], level: PROJECT, type: PROJECT)
|
2020-11-22 21:11:13 +01:00
|
|
|
|
|
|
|
deleteInvitedProjectMember(input: DeleteInvitedProjectMember!):
|
|
|
|
DeleteInvitedProjectMemberPayload! @hasRole(roles: [ADMIN], level: PROJECT, type: PROJECT)
|
|
|
|
}
|
|
|
|
|
|
|
|
input DeleteInvitedProjectMember {
|
|
|
|
projectID: UUID!
|
|
|
|
email: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteInvitedProjectMemberPayload {
|
|
|
|
invitedMember: InvitedMember!
|
2020-07-05 01:02:57 +02:00
|
|
|
}
|
|
|
|
|
2020-10-14 23:52:32 +02:00
|
|
|
input MemberInvite {
|
2020-09-29 23:01:52 +02:00
|
|
|
userID: UUID
|
|
|
|
email: String
|
2020-07-05 01:02:57 +02:00
|
|
|
}
|
|
|
|
|
2020-10-14 23:52:32 +02:00
|
|
|
input InviteProjectMembers {
|
|
|
|
projectID: UUID!
|
|
|
|
members: [MemberInvite!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
type InviteProjectMembersPayload {
|
2020-07-05 01:02:57 +02:00
|
|
|
ok: Boolean!
|
2020-10-14 23:52:32 +02:00
|
|
|
projectID: UUID!
|
|
|
|
members: [Member!]!
|
2020-11-22 21:11:13 +01:00
|
|
|
invitedMembers: [InvitedMember!]!
|
2020-07-05 01:02:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input DeleteProjectMember {
|
|
|
|
projectID: UUID!
|
|
|
|
userID: UUID!
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteProjectMemberPayload {
|
|
|
|
ok: Boolean!
|
|
|
|
member: Member!
|
|
|
|
projectID: UUID!
|
|
|
|
}
|
|
|
|
|
|
|
|
input UpdateProjectMemberRole {
|
|
|
|
projectID: UUID!
|
|
|
|
userID: UUID!
|
|
|
|
roleCode: RoleCode!
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdateProjectMemberRolePayload {
|
|
|
|
ok: Boolean!
|
|
|
|
member: Member!
|
|
|
|
}
|