Skip to content

Commit 92a2f64

Browse files
Merge pull request #562 from Waldbillig-Thomas/improving-resource-schematic-param-types
chore(): adding missing types to resource schematic
2 parents 36db2f0 + f199ac7 commit 92a2f64

15 files changed

Lines changed: 32 additions & 2 deletions

File tree

src/lib/class/schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
"x-prompt": "What name would you like to use for the class?"
1515
},
1616
"flat": {
17+
"type": "boolean",
1718
"default": true,
1819
"description": "Flag to indicate if a directory is created."
1920
},
2021
"spec": {
22+
"type": "boolean",
2123
"default": true,
2224
"description": "Specifies if a spec file is generated."
2325
},

src/lib/controller/schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"description": "Nest controller source root directory."
2828
},
2929
"skipImport": {
30+
"type": "boolean",
3031
"description": "Flag to skip the module import.",
3132
"default": false
3233
},
@@ -35,10 +36,12 @@
3536
"description": "Allows specification of the declaring module."
3637
},
3738
"flat": {
39+
"type": "boolean",
3840
"default": false,
3941
"description": "Flag to indicate if a directory is created."
4042
},
4143
"spec": {
44+
"type": "boolean",
4245
"default": true,
4346
"description": "Specifies if a spec file is generated."
4447
}

src/lib/decorator/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"description": "Nest decorator source root directory."
2828
},
2929
"flat": {
30+
"type": "boolean",
3031
"default": true,
3132
"description": "Flag to indicate if a directory is created."
3233
}

src/lib/filter/schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@
2727
"description": "Nest filter source root directory."
2828
},
2929
"flat": {
30+
"type": "boolean",
3031
"default": true,
3132
"description": "Flag to indicate if a directory is created."
3233
},
3334
"spec": {
35+
"type": "boolean",
3436
"default": true,
3537
"description": "Specifies if a spec file is generated."
3638
}

src/lib/gateway/schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@
2727
"description": "Nest gateway source root directory."
2828
},
2929
"flat": {
30+
"type": "boolean",
3031
"default": true,
3132
"description": "Flag to indicate if a directory is created."
3233
},
3334
"spec": {
35+
"type": "boolean",
3436
"default": true,
3537
"description": "Specifies if a spec file is generated."
3638
}

src/lib/guard/schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@
2727
"description": "Nest guard source root directory."
2828
},
2929
"flat": {
30+
"type": "boolean",
3031
"default": true,
3132
"description": "Flag to indicate if a directory is created."
3233
},
3334
"spec": {
35+
"type": "boolean",
3436
"default": true,
3537
"description": "Specifies if a spec file is generated."
3638
}

src/lib/interceptor/schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@
2727
"description": "Nest interceptor source root directory."
2828
},
2929
"flat": {
30+
"type": "boolean",
3031
"default": true,
3132
"description": "Flag to indicate if a directory is created."
3233
},
3334
"spec": {
35+
"type": "boolean",
3436
"default": true,
3537
"description": "Specifies if a spec file is generated."
3638
}

src/lib/interface/schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"description": "Nest interface source root directory."
2424
},
2525
"flat": {
26+
"type": "boolean",
2627
"default": true,
2728
"description": "Flag to indicate if a directory is created."
2829
}

src/lib/middleware/schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@
2727
"description": "Nest middleware source root directory."
2828
},
2929
"flat": {
30+
"type": "boolean",
3031
"default": true,
3132
"description": "Flag to indicate if a directory is created."
3233
},
3334
"spec": {
35+
"type": "boolean",
3436
"default": true,
3537
"description": "Specifies if a spec file is generated."
3638
}

src/lib/module/schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@
3232
"description": "Nest module source root directory."
3333
},
3434
"skipImport": {
35+
"type": "boolean",
3536
"description": "Flag to skip the module import.",
3637
"default": false
3738
},
3839
"flat": {
40+
"type": "boolean",
3941
"default": false,
4042
"description": "Flag to indicate if a directory is created."
4143
}

0 commit comments

Comments
 (0)