UNPKG

gqlcheck

Version:

Performs additional checks on your GraphQL documents and operations to ensure they conform to your rules, whilst allow-listing existing operations and their constituent parts (and allowing overrides on a per-field basis). Rules include max selection set d

3 lines (2 loc) 276 B
import type { CheckOperationsResult, SourceLike } from "./interfaces.js"; export declare function checkOperations(getDocuments: () => AsyncIterable<string | SourceLike>, configPath?: string, overrideConfig?: GraphileConfig.Preset["gqlcheck"]): Promise<CheckOperationsResult>;