mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
16 lines
280 B
TypeScript
16 lines
280 B
TypeScript
import gql from 'graphql-tag'
|
|
|
|
// ------ mutations
|
|
|
|
export const createCommentMutation = gql`
|
|
mutation ($id: ID, $postId: ID!, $content: String!) {
|
|
CreateComment(id: $id, postId: $postId, content: $content) {
|
|
id
|
|
}
|
|
}
|
|
`
|
|
|
|
// ------ queries
|
|
|
|
// fill queries in here
|