UNPKG

@graphql-hive/cli

Version:

A CLI util to manage and control your GraphQL Hive

14 lines 936 B
import BaseCommand from '../base-command'; import { FragmentType } from '../gql'; import { SchemaErrorConnection, SchemaWarningConnection } from '../gql/graphql'; export declare function renderErrors(this: BaseCommand<any>, errors: SchemaErrorConnection): void; declare const RenderChanges_SchemaChanges: import("@graphql-typed-document-node/core").TypedDocumentNode<import("../gql/graphql").RenderChanges_SchemaChangesFragment, unknown>; export declare function renderChanges(this: BaseCommand<any>, maskedChanges: FragmentType<typeof RenderChanges_SchemaChanges>): void; export declare function renderWarnings(this: BaseCommand<any>, warnings: SchemaWarningConnection): void; export declare function loadSchema(file: string, options?: { headers?: Record<string, string>; method?: 'GET' | 'POST'; }): Promise<string>; export declare function minifySchema(schema: string): string; export {}; //# sourceMappingURL=schema.d.ts.map