1 | import { GraphQLSchema } from "graphql";
|
2 | import { GraphQLSchemaProvider, SchemaChangeUnsubscribeHandler } from "./base";
|
3 | import { NotificationHandler } from "vscode-languageserver";
|
4 | export interface FileSchemaProviderConfig {
|
5 | path?: string;
|
6 | paths?: string[];
|
7 | }
|
8 | export declare class FileSchemaProvider implements GraphQLSchemaProvider {
|
9 | private config;
|
10 | private schema?;
|
11 | private federatedServiceSDL?;
|
12 | constructor(config: FileSchemaProviderConfig);
|
13 | resolveSchema(): Promise<GraphQLSchema>;
|
14 | loadFileAndGetDocument(path: string): import("graphql").DocumentNode;
|
15 | onSchemaChange(_handler: NotificationHandler<GraphQLSchema>): SchemaChangeUnsubscribeHandler;
|
16 | resolveFederatedServiceSDL(): Promise<string | void>;
|
17 | loadFileAndGetSDL(path: string): string | void;
|
18 | }
|
19 | //# sourceMappingURL=file.d.ts.map |
\ | No newline at end of file |