diff options
Diffstat (limited to 'includes/external/school/node_modules/graphql/utilities/separateOperations.d.ts')
-rw-r--r-- | includes/external/school/node_modules/graphql/utilities/separateOperations.d.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/graphql/utilities/separateOperations.d.ts b/includes/external/school/node_modules/graphql/utilities/separateOperations.d.ts new file mode 100644 index 0000000..28654fd --- /dev/null +++ b/includes/external/school/node_modules/graphql/utilities/separateOperations.d.ts @@ -0,0 +1,11 @@ +import { DocumentNode } from '../language/ast'; + +/** + * separateOperations accepts a single AST document which may contain many + * operations and fragments and returns a collection of AST documents each of + * which contains a single operation as well the fragment definitions it + * refers to. + */ +export function separateOperations( + documentAST: DocumentNode, +): { [key: string]: DocumentNode }; |