diff options
Diffstat (limited to 'school/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts')
-rw-r--r-- | school/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/school/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts b/school/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts new file mode 100644 index 0000000..9c5ff50 --- /dev/null +++ b/school/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.d.ts @@ -0,0 +1,11 @@ +import { ASTVisitor } from '../../language/visitor'; +import { SDLValidationContext } from '../ValidationContext'; + +/** + * Unique enum value names + * + * A GraphQL enum type is only valid if all its values are uniquely named. + */ +export function UniqueEnumValueNamesRule( + context: SDLValidationContext, +): ASTVisitor; |