diff --git a/client/src/graphql/gql/mutations/addContentBlock.gql b/client/src/graphql/gql/mutations/addContentBlock.gql new file mode 100644 index 00000000..c9275373 --- /dev/null +++ b/client/src/graphql/gql/mutations/addContentBlock.gql @@ -0,0 +1,28 @@ +mutation AddContentBlock($input: AddContentBlockInput!) { + addContentBlock(input: $input) { + newContentBlock { + id + title + slug + contents + } + clientMutationId + } +} + + +# input + +#{ +# "input": { +# "contentBlock": { +# "title": "Hello World", +# "contents": [ +# { +# "type": "text_block", +# "text": "
let's get wild
" +# } +# ] +# } +# } +#}