UNPKG

@graphql-inspector/cli

Version:

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

6 lines (5 loc) 550 B
import { ASTNode } from 'graphql'; import { Change, ChangeType } from '@graphql-inspector/core'; import type { PatchConfig, PatchContext } from '../types'; export declare function objectTypeInterfaceAdded(change: Change<typeof ChangeType.ObjectTypeInterfaceAdded>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void; export declare function objectTypeInterfaceRemoved(change: Change<typeof ChangeType.ObjectTypeInterfaceRemoved>, nodeByPath: Map<string, ASTNode>, config: PatchConfig, _context: PatchContext): void;