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

8 lines (7 loc) 289 B
import type { CheckOperationsResult } from "./interfaces.js"; export declare function printResults(result: CheckOperationsResult): string; export declare function generateOutputAndCounts(result: CheckOperationsResult): { output: string; errors: number; infractions: number; };