Skip to content

Commit

Permalink
chore(): adding missing parameter types to all schema files
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Waldbillig committed Jan 21, 2021
1 parent f0a092f commit 9773a9c
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/lib/class/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@
"x-prompt": "What name would you like to use for the class?"
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a directory is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
},
Expand Down
3 changes: 3 additions & 0 deletions src/lib/controller/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"description": "Nest controller source root directory."
},
"skipImport": {
"type": "boolean",
"description": "Flag to skip the module import.",
"default": false
},
Expand All @@ -35,10 +36,12 @@
"description": "Allows specification of the declaring module."
},
"flat": {
"type": "boolean",
"default": false,
"description": "Flag to indicate if a directory is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/decorator/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"description": "Nest decorator source root directory."
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a directory is created."
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/filter/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
"description": "Nest filter source root directory."
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a directory is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/gateway/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
"description": "Nest gateway source root directory."
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a directory is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/guard/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
"description": "Nest guard source root directory."
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a directory is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/interceptor/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
"description": "Nest interceptor source root directory."
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a directory is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
}
Expand Down
1 change: 1 addition & 0 deletions src/lib/interface/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"description": "Nest interface source root directory."
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a directory is created."
}
Expand Down
4 changes: 3 additions & 1 deletion src/lib/middleware/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@
"type": "string",
"description": "Nest middleware source root directory."
},
"flat": {
"flat":{
"type": "boolean",
"default": true,
"description": "Flag to indicate if a directory is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/module/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@
"description": "Nest module source root directory."
},
"skipImport": {
"type": "boolean",
"description": "Flag to skip the module import.",
"default": false
},
"flat": {
"type": "boolean",
"default": false,
"description": "Flag to indicate if a directory is created."
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/pipe/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
"description": "Nest pipe source root directory."
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a directory is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/provider/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
"description": "Nest provider source root directory."
},
"flat": {
"type": "boolean",
"default": true,
"description": "Flag to indicate if a directory is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
},
Expand Down
2 changes: 2 additions & 0 deletions src/lib/resolver/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
"description": "Nest resolver source root directory."
},
"flat": {
"type": "boolean",
"default": false,
"description": "Flag to indicate if a directory is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/service/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@
"description": "Nest service source root directory."
},
"flat": {
"type": "boolean",
"default": false,
"description": "Flag to indicate if a directory is created."
},
"spec": {
"type": "boolean",
"default": true,
"description": "Specifies if a spec file is generated."
}
Expand Down

0 comments on commit 9773a9c

Please sign in to comment.