Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | {
|
---|
| 2 | "$schema": "http://json-schema.org/draft-07/schema",
|
---|
| 3 | "$id": "SchematicsAngularInterface",
|
---|
| 4 | "title": "Angular Interface Options Schema",
|
---|
| 5 | "type": "object",
|
---|
| 6 | "additionalProperties": false,
|
---|
| 7 | "description": "Creates a new, generic interface definition in the given or default project.",
|
---|
| 8 | "properties": {
|
---|
| 9 | "name": {
|
---|
| 10 | "type": "string",
|
---|
| 11 | "description": "The name of the interface.",
|
---|
| 12 | "$default": {
|
---|
| 13 | "$source": "argv",
|
---|
| 14 | "index": 0
|
---|
| 15 | },
|
---|
| 16 | "x-prompt": "What name would you like to use for the interface?"
|
---|
| 17 | },
|
---|
| 18 | "path": {
|
---|
| 19 | "type": "string",
|
---|
| 20 | "format": "path",
|
---|
| 21 | "description": "The path at which to create the interface, relative to the workspace root.",
|
---|
| 22 | "visible": false
|
---|
| 23 | },
|
---|
| 24 | "project": {
|
---|
| 25 | "type": "string",
|
---|
| 26 | "description": "The name of the project.",
|
---|
| 27 | "$default": {
|
---|
| 28 | "$source": "projectName"
|
---|
| 29 | }
|
---|
| 30 | },
|
---|
| 31 | "prefix": {
|
---|
| 32 | "type": "string",
|
---|
| 33 | "default": "",
|
---|
| 34 | "description": "A prefix to apply to generated selectors."
|
---|
| 35 | },
|
---|
| 36 | "type": {
|
---|
| 37 | "type": "string",
|
---|
| 38 | "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\".",
|
---|
| 39 | "$default": {
|
---|
| 40 | "$source": "argv",
|
---|
| 41 | "index": 1
|
---|
| 42 | }
|
---|
| 43 | },
|
---|
| 44 | "lintFix": {
|
---|
| 45 | "type": "boolean",
|
---|
| 46 | "description": "Apply lint fixes after generating the interface.",
|
---|
| 47 | "x-user-analytics": 15,
|
---|
| 48 | "x-deprecated": "Use \"ng lint --fix\" directly instead."
|
---|
| 49 | }
|
---|
| 50 | },
|
---|
| 51 | "required": ["name"]
|
---|
| 52 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.