@graphql-hive/laboratory
Version:
[Hive](https://the-guild.dev/graphql/hive) is a fully open-source schema registry, analytics, metrics and gateway for [GraphQL federation](https://the-guild.dev/graphql/hive/federation) and other GraphQL APIs.
12 lines (11 loc) • 495 B
TypeScript
import { IntrospectionQuery } from 'graphql';
import { MonacoGraphQLAPI } from 'monaco-graphql/esm/api.js';
export type SyncMonacoGraphQLInput = {
introspection: IntrospectionQuery;
schemaUri: string;
operationUri?: string;
variablesUri?: string;
};
export declare function syncMonacoGraphQL(input: SyncMonacoGraphQLInput): MonacoGraphQLAPI;
/** Test seam: clears the module-level mode and its accumulated mappings. */
export declare function resetMonacoGraphQLForTests(): void;