source: trip-planner-front/node_modules/@schematics/angular/directive/schema.json@ 571e0df

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

initial commit

  • Property mode set to 100644
File size: 2.4 KB
Line 
1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "$id": "SchematicsAngularDirective",
4 "title": "Angular Directive Options Schema",
5 "type": "object",
6 "description": "Creates a new, generic directive definition in the given or default project.",
7 "additionalProperties": false,
8 "properties": {
9 "name": {
10 "type": "string",
11 "description": "The name of the new directive.",
12 "$default": {
13 "$source": "argv",
14 "index": 0
15 },
16 "x-prompt": "What name would you like to use for the directive?"
17 },
18 "path": {
19 "type": "string",
20 "format": "path",
21 "description": "The path at which to create the interface that defines the directive, 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 "description": "A prefix to apply to generated selectors.",
34 "alias": "p",
35 "oneOf": [
36 {
37 "maxLength": 0
38 },
39 {
40 "minLength": 1,
41 "format": "html-selector"
42 }
43 ]
44 },
45 "skipTests": {
46 "type": "boolean",
47 "description": "Do not create \"spec.ts\" test files for the new class.",
48 "default": false,
49 "x-user-analytics": 12
50 },
51 "skipImport": {
52 "type": "boolean",
53 "description": "Do not import this directive into the owning NgModule.",
54 "default": false,
55 "x-user-analytics": 18
56 },
57 "selector": {
58 "type": "string",
59 "format": "html-selector",
60 "description": "The HTML selector to use for this directive."
61 },
62 "flat": {
63 "type": "boolean",
64 "description": "When true (the default), creates the new files at the top level of the current project.",
65 "default": true
66 },
67 "module": {
68 "type": "string",
69 "description": "The declaring NgModule.",
70 "alias": "m"
71 },
72 "export": {
73 "type": "boolean",
74 "default": false,
75 "description": "The declaring NgModule exports this directive.",
76 "x-user-analytics": 19
77 },
78 "lintFix": {
79 "type": "boolean",
80 "description": "Apply lint fixes after generating the directive.",
81 "x-user-analytics": 15,
82 "x-deprecated": "Use \"ng lint --fix\" directly instead."
83 }
84 },
85 "required": ["name"]
86}
Note: See TracBrowser for help on using the repository browser.