source: trip-planner-front/node_modules/@schematics/angular/class/schema.json@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.5 KB
Line 
1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "$id": "SchematicsAngularClass",
4 "title": "Angular Class Options Schema",
5 "type": "object",
6 "description": "Creates a new, generic class definition in the given or default project.",
7 "additionalProperties": false,
8 "properties": {
9 "name": {
10 "type": "string",
11 "description": "The name of the new class.",
12 "$default": {
13 "$source": "argv",
14 "index": 0
15 },
16 "x-prompt": "What name would you like to use for the class?"
17 },
18 "path": {
19 "type": "string",
20 "format": "path",
21 "description": "The path at which to create the class, 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 "skipTests": {
32 "type": "boolean",
33 "description": "Do not create \"spec.ts\" test files for the new class.",
34 "default": false,
35 "x-user-analytics": 12
36 },
37 "type": {
38 "type": "string",
39 "description": "Adds a developer-defined type to the filename, in the format \"name.type.ts\".",
40 "default": ""
41 },
42 "lintFix": {
43 "type": "boolean",
44 "default": false,
45 "description": "Apply lint fixes after generating the class.",
46 "x-user-analytics": 15,
47 "x-deprecated": "Use \"ng lint --fix\" directly instead."
48 }
49 },
50 "required": ["name"]
51}
Note: See TracBrowser for help on using the repository browser.