UNPKG

@graphql-inspector/cli

Version:

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

6 lines (5 loc) 708 B
import type { Change, ChangeType } from '@graphql-inspector/core'; import { PatchConfig, PatchContext, SchemaNode } from '../types.js'; export declare function schemaMutationTypeChanged(change: Change<typeof ChangeType.SchemaMutationTypeChanged>, schemaNodes: SchemaNode[], config: PatchConfig, _context: PatchContext): void; export declare function schemaQueryTypeChanged(change: Change<typeof ChangeType.SchemaQueryTypeChanged>, schemaNodes: SchemaNode[], config: PatchConfig, _context: PatchContext): void; export declare function schemaSubscriptionTypeChanged(change: Change<typeof ChangeType.SchemaSubscriptionTypeChanged>, schemaNodes: SchemaNode[], config: PatchConfig, _context: PatchContext): void;