20 lines
479 B
GraphQL
20 lines
479 B
GraphQL
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)
|
|
}
|