UNPKG

@graphql-inspector/cli

Version:

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

7 lines (6 loc) 711 B
import { ASTNode } from 'graphql'; import { Change, ChangeType } from '@graphql-inspector/core'; import type { PatchConfig, PatchContext } from '../types'; export declare function enumValueRemoved(change: Change<typeof ChangeType.EnumValueRemoved>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function enumValueAdded(change: Change<typeof ChangeType.EnumValueAdded>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function enumValueDescriptionChanged(change: Change<typeof ChangeType.EnumValueDescriptionChanged>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void;