Initial Save
This commit is contained in:
28
node_modules/graphql/validation/rules/KnownArgumentNames.d.ts
generated
vendored
Normal file
28
node_modules/graphql/validation/rules/KnownArgumentNames.d.ts
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
import { ValidationContext, SDLValidationContext } from '../ValidationContext';
|
||||
import { ASTVisitor } from '../../language/visitor';
|
||||
|
||||
export function unknownArgMessage(
|
||||
argName: string,
|
||||
fieldName: string,
|
||||
typeName: string,
|
||||
suggestedArgs: ReadonlyArray<string>,
|
||||
): string;
|
||||
|
||||
export function unknownDirectiveArgMessage(
|
||||
argName: string,
|
||||
directiveName: string,
|
||||
suggestedArgs: ReadonlyArray<string>,
|
||||
): string;
|
||||
|
||||
/**
|
||||
* Known argument names
|
||||
*
|
||||
* A GraphQL field is only valid if all supplied arguments are defined by
|
||||
* that field.
|
||||
*/
|
||||
export function KnownArgumentNames(context: ValidationContext): ASTVisitor;
|
||||
|
||||
// @internal
|
||||
export function KnownArgumentNamesOnDirectives(
|
||||
context: ValidationContext | SDLValidationContext,
|
||||
): ASTVisitor;
|
||||
Reference in New Issue
Block a user