UNPKG

552 BTypeScriptView Raw
1import { GraphQLSchema } from "graphql";
2import { NotificationHandler } from "vscode-languageserver";
3export interface SchemaResolveConfig {
4 tag?: string;
5 force?: boolean;
6}
7export declare type SchemaChangeUnsubscribeHandler = () => void;
8export interface GraphQLSchemaProvider {
9 resolveSchema(config?: SchemaResolveConfig): Promise<GraphQLSchema>;
10 onSchemaChange(handler: NotificationHandler<GraphQLSchema>): SchemaChangeUnsubscribeHandler;
11 resolveFederatedServiceSDL(): Promise<string | void>;
12}
13//# sourceMappingURL=base.d.ts.map
\No newline at end of file