Last change
on this file since 6c1585f 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": "SchematicsAngularEnum",
|
---|
| 4 | "title": "Angular Enum Options Schema",
|
---|
| 5 | "type": "object",
|
---|
| 6 | "description": "Generates a new, generic enum definition for the given or default project.",
|
---|
| 7 | "additionalProperties": false,
|
---|
| 8 | "properties": {
|
---|
| 9 | "name": {
|
---|
| 10 | "type": "string",
|
---|
| 11 | "description": "The name of the enum.",
|
---|
| 12 | "$default": {
|
---|
| 13 | "$source": "argv",
|
---|
| 14 | "index": 0
|
---|
| 15 | },
|
---|
| 16 | "x-prompt": "What name would you like to use for the enum?"
|
---|
| 17 | },
|
---|
| 18 | "path": {
|
---|
| 19 | "type": "string",
|
---|
| 20 | "format": "path",
|
---|
| 21 | "description": "The path at which to create the enum definition, relative to the current workspace.",
|
---|
| 22 | "visible": false
|
---|
| 23 | },
|
---|
| 24 | "project": {
|
---|
| 25 | "type": "string",
|
---|
| 26 | "description": "The name of the project in which to create the enum. Default is the configured default project for the workspace.",
|
---|
| 27 | "$default": {
|
---|
| 28 | "$source": "projectName"
|
---|
| 29 | }
|
---|
| 30 | },
|
---|
| 31 | "type": {
|
---|
| 32 | "type": "string",
|
---|
| 33 | "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\"."
|
---|
| 34 | },
|
---|
| 35 | "lintFix": {
|
---|
| 36 | "type": "boolean",
|
---|
| 37 | "description": "Apply lint fixes after generating the enum.",
|
---|
| 38 | "x-user-analytics": 15,
|
---|
| 39 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
| 40 | }
|
---|
| 41 | },
|
---|
| 42 | "required": ["name"]
|
---|
| 43 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.