diff options
Diffstat (limited to 'app/graphql/queries/snippet/snippet_blob_content.query.graphql')
-rw-r--r-- | app/graphql/queries/snippet/snippet_blob_content.query.graphql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/graphql/queries/snippet/snippet_blob_content.query.graphql b/app/graphql/queries/snippet/snippet_blob_content.query.graphql new file mode 100644 index 00000000000..005f42ff726 --- /dev/null +++ b/app/graphql/queries/snippet/snippet_blob_content.query.graphql @@ -0,0 +1,18 @@ +query SnippetBlobContent($ids: [ID!], $rich: Boolean!, $paths: [String!]) { + snippets(ids: $ids) { + __typename + nodes { + __typename + id + blobs(paths: $paths) { + __typename + nodes { + __typename + path + richData @include(if: $rich) + plainData @skip(if: $rich) + } + } + } + } +} |