1 | import { Source, Loader, BaseLoaderOptions } from '@graphql-tools/utils';
|
2 |
|
3 |
|
4 |
|
5 | export interface JsonFileLoaderOptions extends BaseLoaderOptions {
|
6 | |
7 |
|
8 |
|
9 | noSilentErrors?: boolean;
|
10 | }
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 | export declare class JsonFileLoader implements Loader {
|
35 | canLoad(pointer: string, options: JsonFileLoaderOptions): Promise<boolean>;
|
36 | canLoadSync(pointer: string, options: JsonFileLoaderOptions): boolean;
|
37 | private _buildGlobs;
|
38 | resolveGlobs(glob: string, options: JsonFileLoaderOptions): Promise<string[]>;
|
39 | resolveGlobsSync(glob: string, options: JsonFileLoaderOptions): string[];
|
40 | load(pointer: string, options: JsonFileLoaderOptions): Promise<Source[]>;
|
41 | loadSync(pointer: string, options: JsonFileLoaderOptions): Source[];
|
42 | handleFileContent(normalizedFilePath: string, rawSDL: string, options: JsonFileLoaderOptions): Source;
|
43 | }
|