UNPKG

598 BTypeScriptView Raw
1export declare const EInputType: {
2 SINGLE_FILE: string;
3 MULTIPLE_FILES: string;
4 PROJECT: string;
5};
6export interface GeneratorConfig {
7 inputType: string;
8 flattenTypes: boolean;
9 config?: {
10 [configName: string]: any;
11 };
12 templates: {
13 [templateName: string]: string | string[];
14 } | string;
15 primitives: {
16 String: string;
17 Int: string;
18 Float: string;
19 Boolean: string;
20 ID: string;
21 };
22 outFile?: string;
23 filesExtension?: string;
24 customHelpers?: {
25 [helperName: string]: Function;
26 };
27}