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
|
Line | |
---|
1 | {
|
---|
2 | "$schema": "http://json-schema.org/draft-07/schema",
|
---|
3 | "$id": "SchematicsAngularWebWorker",
|
---|
4 | "title": "Angular Web Worker Options Schema",
|
---|
5 | "type": "object",
|
---|
6 | "additionalProperties": false,
|
---|
7 | "description": "Creates a new, generic web worker definition in the given or default project.",
|
---|
8 | "properties": {
|
---|
9 | "path": {
|
---|
10 | "type": "string",
|
---|
11 | "format": "path",
|
---|
12 | "description": "The path at which to create the worker file, relative to the current workspace.",
|
---|
13 | "visible": false
|
---|
14 | },
|
---|
15 | "project": {
|
---|
16 | "type": "string",
|
---|
17 | "description": "The name of the project.",
|
---|
18 | "$default": {
|
---|
19 | "$source": "projectName"
|
---|
20 | }
|
---|
21 | },
|
---|
22 | "target": {
|
---|
23 | "type": "string",
|
---|
24 | "description": "The target to apply web worker to.",
|
---|
25 | "default": "build",
|
---|
26 | "x-deprecated": "No longer has an effect."
|
---|
27 | },
|
---|
28 | "name": {
|
---|
29 | "type": "string",
|
---|
30 | "description": "The name of the worker.",
|
---|
31 | "$default": {
|
---|
32 | "$source": "argv",
|
---|
33 | "index": 0
|
---|
34 | },
|
---|
35 | "x-prompt": "What name would you like to use for the worker?"
|
---|
36 | },
|
---|
37 | "snippet": {
|
---|
38 | "type": "boolean",
|
---|
39 | "default": true,
|
---|
40 | "description": "Add a worker creation snippet in a sibling file of the same name."
|
---|
41 | }
|
---|
42 | },
|
---|
43 | "required": ["name", "project"]
|
---|
44 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.