UNPKG

@graphql-inspector/cli

Version:

Tooling for GraphQL. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.

15 lines (14 loc) 2.22 kB
import { ASTNode } from 'graphql'; import { Change, ChangeType } from '@graphql-inspector/core'; import type { PatchConfig, PatchContext } from '../types'; export declare function fieldTypeChanged(change: Change<typeof ChangeType.FieldTypeChanged>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function fieldRemoved(change: Change<typeof ChangeType.FieldRemoved>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function fieldAdded(change: Change<typeof ChangeType.FieldAdded>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function fieldArgumentAdded(change: Change<typeof ChangeType.FieldArgumentAdded>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function fieldArgumentTypeChanged(change: Change<typeof ChangeType.FieldArgumentTypeChanged>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function fieldArgumentDescriptionChanged(change: Change<typeof ChangeType.FieldArgumentDescriptionChanged>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function fieldArgumentDefaultChanged(change: Change<typeof ChangeType.FieldArgumentDefaultChanged>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function fieldArgumentRemoved(change: Change<typeof ChangeType.FieldArgumentRemoved>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function fieldDescriptionAdded(change: Change<typeof ChangeType.FieldDescriptionAdded>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function fieldDescriptionRemoved(change: Change<typeof ChangeType.FieldDescriptionRemoved>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function fieldDescriptionChanged(change: Change<typeof ChangeType.FieldDescriptionChanged>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void;