|
2 | 2 | "defaults": { |
3 | 3 | "language": "typescript", |
4 | 4 | "supportsES6": true, |
| 5 | + "classPrefix": "", |
5 | 6 | "gitUserId": "mermade", |
6 | 7 | "gitRepoId": "change-me", |
7 | 8 | "releaseNote": "Initial commit", |
|
14 | 15 | "licenseInfo": "licenseInfo.mustache" |
15 | 16 | }, |
16 | 17 | "transformations": [ |
17 | | - { "input": "api.module.mustache", "output": "api.module.ts" }, |
18 | | - { "input": "api.mustache", "output": "api.ts" }, |
19 | | - { "input": "apis.mustache", "output": "api/apis.ts" }, |
| 18 | + { "input": "apis.mustache", "output": "api/api.ts" }, |
20 | 19 | { "input": "index.mustache", "output": "index.ts" }, |
21 | | - { "input": "model.mustache", "output": "model.ts" }, |
22 | 20 | { "input": "models.mustache", "output": "model/models.ts" }, |
23 | 21 | { "input": "gitignore", "output": ".gitignore" }, |
24 | | - { "input": "git_push.sh.mustache", "output": "git_push.sh" } |
| 22 | + { "input": "git_push.sh.mustache", "output": "git_push.sh" }, |
| 23 | + { "input": "api.module.mustache", "output": "api/apiModule.ts" } |
| 24 | + ], |
| 25 | + "perApi": [ |
| 26 | + { "input": "api.mustache", "output": "api/{{name}}Api.ts" } |
| 27 | + ], |
| 28 | + "perModel": [ |
| 29 | + { "input": "model.mustache", "output": "model/{{#models}}{{#model}}{{name}}{{/model}}{{/models}}.ts" } |
25 | 30 | ] |
26 | 31 | } |
0 commit comments