Spaces:
Paused
Paused
Download node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts from sam522/GenAI_Course: direct link, hf CLI and curl.
- Browser
- Download file 469 Bytes
-
https://huggingface.co/spaces/sam522/GenAI_Course/resolve/a05af2d5a2f979e00a4d4b2a0284d6d3698a2709/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts
- Command line
-
hf download hf://spaces/sam522/GenAI_Course@a05af2d5a2f979e00a4d4b2a0284d6d3698a2709/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts
-
curl -L -o KnownDirectivesRule.d.ts https://huggingface.co/spaces/sam522/GenAI_Course/resolve/a05af2d5a2f979e00a4d4b2a0284d6d3698a2709/node_modules/graphql/validation/rules/KnownDirectivesRule.d.ts
469 Bytes
| import type { ASTVisitor } from '../../language/visitor'; | |
| import type { | |
| SDLValidationContext, | |
| ValidationContext, | |
| } from '../ValidationContext'; | |
| /** | |
| * Known directives | |
| * | |
| * A GraphQL document is only valid if all `@directives` are known by the | |
| * schema and legally positioned. | |
| * | |
| * See https://spec.graphql.org/draft/#sec-Directives-Are-Defined | |
| */ | |
| export declare function KnownDirectivesRule( | |
| context: ValidationContext | SDLValidationContext, | |
| ): ASTVisitor; | |