@graphql-hive/cli
Version:
A CLI util to manage and control your GraphQL Hive
13 lines • 830 B
TypeScript
import { FragmentType } from '../gql';
import { SchemaErrorConnection, SchemaWarningConnection } from '../gql/graphql';
export declare const renderErrors: (errors: SchemaErrorConnection) => string;
declare const RenderChanges_SchemaChanges: import("@graphql-typed-document-node/core").TypedDocumentNode<import("../gql/graphql").RenderChanges_SchemaChangesFragment, unknown>;
export declare const renderChanges: (maskedChanges: FragmentType<typeof RenderChanges_SchemaChanges>) => string;
export declare const renderWarnings: (warnings: SchemaWarningConnection) => string;
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