mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2026-01-18 14:36:40 +00:00
23 lines
642 B
GraphQL
23 lines
642 B
GraphQL
mutation addReaction($subjectId: ID!, $reaction: ReactionContent!) {
|
|
addReaction(input: {subjectId: $subjectId, content: $reaction}) {
|
|
clientMutationId
|
|
}
|
|
}
|
|
|
|
mutation removeReaction($subjectId: ID!, $reaction: ReactionContent!) {
|
|
removeReaction(input: {subjectId: $subjectId, content: $reaction}) {
|
|
clientMutationId
|
|
}
|
|
}
|
|
|
|
mutation lock($subjectId: ID!, $lockReason: LockReason) {
|
|
lockLockable(input: {lockableId: $subjectId, lockReason: $lockReason}) {
|
|
clientMutationId
|
|
}
|
|
}
|
|
|
|
mutation unlock($subjectId: ID!) {
|
|
unlockLockable(input: {lockableId: $subjectId}) {
|
|
clientMutationId
|
|
}
|
|
} |