1 |
|
2 | import { IntrospectionQuery } from 'graphql/utilities/introspectionQuery';
|
3 | import { GeneratorTemplate } from './templates';
|
4 | export interface TransformedOptions {
|
5 | introspection?: IntrospectionQuery;
|
6 | documents?: string[];
|
7 | template?: GeneratorTemplate;
|
8 | outPath?: string;
|
9 | isDev?: boolean;
|
10 | noSchema?: boolean;
|
11 | noDocuments?: boolean;
|
12 | }
|
13 | export interface FileResult {
|
14 | path: string;
|
15 | content: string;
|
16 | isDev?: boolean;
|
17 | }
|
18 | export declare function Transform(transformedOptions: TransformedOptions): FileResult[];
|
19 | export default Transform;
|