source: trip-planner-front/node_modules/@schematics/angular/service/schema.json@ bdd6491

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

initial commit

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