UNPKG

565 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 templates: {
10 [templateName: string]: string | string[];
11 } | string;
12 primitives: {
13 String: string;
14 Int: string;
15 Float: string;
16 Boolean: string;
17 ID: string;
18 };
19 outFile?: string;
20 filesExtension?: string;
21 customHelpers?: {
22 [helperName: string]: Function;
23 };
24}