Initialisation
Added the packages and files for the backend server
This commit is contained in:
13
node_modules/graphql/validation/rules/NoUnusedFragmentsRule.d.ts
generated
vendored
Normal file
13
node_modules/graphql/validation/rules/NoUnusedFragmentsRule.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { ASTVisitor } from '../../language/visitor';
|
||||
import type { ASTValidationContext } from '../ValidationContext';
|
||||
/**
|
||||
* No unused fragments
|
||||
*
|
||||
* A GraphQL document is only valid if all fragment definitions are spread
|
||||
* within operations, or spread within other fragments spread within operations.
|
||||
*
|
||||
* See https://spec.graphql.org/draft/#sec-Fragments-Must-Be-Used
|
||||
*/
|
||||
export declare function NoUnusedFragmentsRule(
|
||||
context: ASTValidationContext,
|
||||
): ASTVisitor;
|
||||
Reference in New Issue
Block a user