diff options
Diffstat (limited to 'includes/external/school/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts')
-rw-r--r-- | includes/external/school/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts b/includes/external/school/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts new file mode 100644 index 0000000..6154158 --- /dev/null +++ b/includes/external/school/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.d.ts @@ -0,0 +1,11 @@ +import { ASTVisitor } from '../../language/visitor'; +import { ASTValidationContext } from '../ValidationContext'; + +/** + * Unique fragment names + * + * A GraphQL document is only valid if all defined fragments have unique names. + */ +export function UniqueFragmentNamesRule( + context: ASTValidationContext, +): ASTVisitor; |