20 lines
479 B
Plaintext
20 lines
479 B
Plaintext
|
mutation CommentOnVideo(
|
||
|
$videoId: Int!
|
||
|
$message: String!
|
||
|
$parentCommentId: Int
|
||
|
) {
|
||
|
commentOnVideo(
|
||
|
videoId: $videoId
|
||
|
message: $message
|
||
|
parentCommentId: $parentCommentId
|
||
|
)
|
||
|
}
|
||
|
|
||
|
mutation EditComment($videoId: Int!, $commentId: Int!, $newMessage: String!) {
|
||
|
editComment(videoId: $videoId, commentId: $commentId, newMessage: $newMessage)
|
||
|
}
|
||
|
|
||
|
mutation DeleteComment($videoId: Int!, $commentId: Int!) {
|
||
|
deleteComment(videoId: $videoId, commentId: $commentId)
|
||
|
}
|