Last change
on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | {
|
---|
| 2 | "$schema": "http://json-schema.org/draft-07/schema",
|
---|
| 3 | "$id": "SchematicsAngularResolver",
|
---|
| 4 | "title": "Angular resolver Options Schema",
|
---|
| 5 | "type": "object",
|
---|
| 6 | "additionalProperties": false,
|
---|
| 7 | "description": "Generates a new, generic resolver definition in the given or default project.",
|
---|
| 8 | "properties": {
|
---|
| 9 | "name": {
|
---|
| 10 | "type": "string",
|
---|
| 11 | "description": "The name of the new resolver.",
|
---|
| 12 | "$default": {
|
---|
| 13 | "$source": "argv",
|
---|
| 14 | "index": 0
|
---|
| 15 | },
|
---|
| 16 | "x-prompt": "What name would you like to use for the resolver?"
|
---|
| 17 | },
|
---|
| 18 | "skipTests": {
|
---|
| 19 | "type": "boolean",
|
---|
| 20 | "description": "Do not create \"spec.ts\" test files for the new resolver.",
|
---|
| 21 | "default": false,
|
---|
| 22 | "x-user-analytics": 12
|
---|
| 23 | },
|
---|
| 24 | "flat": {
|
---|
| 25 | "type": "boolean",
|
---|
| 26 | "description": "When true (the default), creates the new files at the top level of the current project.",
|
---|
| 27 | "default": true
|
---|
| 28 | },
|
---|
| 29 | "path": {
|
---|
| 30 | "type": "string",
|
---|
| 31 | "format": "path",
|
---|
| 32 | "description": "The path at which to create the interface that defines the resolver, relative to the current workspace.",
|
---|
| 33 | "visible": false
|
---|
| 34 | },
|
---|
| 35 | "project": {
|
---|
| 36 | "type": "string",
|
---|
| 37 | "description": "The name of the project.",
|
---|
| 38 | "$default": {
|
---|
| 39 | "$source": "projectName"
|
---|
| 40 | }
|
---|
| 41 | }
|
---|
| 42 | },
|
---|
| 43 | "required": ["name"]
|
---|
| 44 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.