@nestia/sdk 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/LICENSE +21 -0
  2. package/assets/config/nestia.config.ts +70 -70
  3. package/lib/analyses/ControllerAnalyzer.js +15 -3
  4. package/lib/analyses/ControllerAnalyzer.js.map +1 -1
  5. package/lib/executable/internal/NestiaSdkConfig.js +298 -298
  6. package/lib/executable/sdk.js +16 -16
  7. package/lib/generates/FunctionGenerator.js +1 -1
  8. package/lib/generates/FunctionGenerator.js.map +1 -1
  9. package/lib/generates/SwaggerGenerator.js +11 -1
  10. package/lib/generates/SwaggerGenerator.js.map +1 -1
  11. package/lib/structures/IRoute.d.ts +1 -0
  12. package/lib/structures/ISwaggerDocument.d.ts +1 -1
  13. package/package.json +3 -3
  14. package/src/INestiaConfig.ts +147 -147
  15. package/src/NestiaSdkApplication.ts +183 -183
  16. package/src/analyses/ControllerAnalyzer.ts +245 -223
  17. package/src/analyses/GenericAnalyzer.ts +53 -53
  18. package/src/analyses/ImportAnalyzer.ts +143 -143
  19. package/src/analyses/PathAnalyzer.ts +58 -58
  20. package/src/analyses/ReflectAnalyzer.ts +287 -287
  21. package/src/analyses/SourceFinder.ts +59 -59
  22. package/src/executable/internal/CommandParser.ts +15 -15
  23. package/src/executable/internal/NestiaConfigCompilerOptions.ts +18 -18
  24. package/src/executable/internal/NestiaSdkCommand.ts +174 -174
  25. package/src/executable/internal/nestia.config.getter.ts +12 -12
  26. package/src/executable/sdk.ts +74 -74
  27. package/src/generates/FileGenerator.ts +156 -156
  28. package/src/generates/FunctionGenerator.ts +1 -1
  29. package/src/generates/SdkGenerator.ts +50 -50
  30. package/src/generates/SwaggerGenerator.ts +12 -1
  31. package/src/module.ts +2 -2
  32. package/src/structures/IController.ts +27 -27
  33. package/src/structures/IRoute.ts +34 -33
  34. package/src/structures/ISwaggerDocument.ts +119 -119
  35. package/src/structures/ITypeTuple.ts +6 -6
  36. package/src/structures/MethodType.ts +11 -11
  37. package/src/structures/ParamCategory.ts +1 -1
  38. package/src/structures/TypeEntry.ts +22 -22
  39. package/src/utils/ArrayUtil.ts +26 -26
  40. package/src/utils/ImportDictionary.ts +56 -56
  41. package/src/utils/MapUtil.ts +14 -14
  42. package/src/utils/StripEnums.ts +10 -10
@@ -66,430 +66,430 @@ var NestiaSdkConfig;
66
66
  return (input => {
67
67
  const $guard = typia_1.assert.guard;
68
68
  const $join = typia_1.assert.join;
69
- ((input, path, exceptionable) => {
70
- const $ao0 = (input, path, exceptionable) => (null !== input.input || $guard(exceptionable, {
71
- path: path + ".input",
69
+ ((input, _path, _exceptionable = true) => {
70
+ const $ao0 = (input, _path, _exceptionable = true) => (null !== input.input || $guard(_exceptionable, {
71
+ path: _path + ".input",
72
72
  expected: "(Array<string> | Resolve<INestiaConfig.IInput> | string)",
73
73
  value: input.input
74
- })) && (undefined !== input.input || $guard(exceptionable, {
75
- path: path + ".input",
74
+ })) && (undefined !== input.input || $guard(_exceptionable, {
75
+ path: _path + ".input",
76
76
  expected: "(Array<string> | Resolve<INestiaConfig.IInput> | string)",
77
77
  value: input.input
78
- })) && ("string" === typeof input.input || (Array.isArray(input.input) && input.input.every((elem, index1) => "string" === typeof elem || $guard(exceptionable, {
79
- path: path + ".input[" + index1 + "]",
78
+ })) && ("string" === typeof input.input || (Array.isArray(input.input) && input.input.every((elem, _index1) => "string" === typeof elem || $guard(_exceptionable, {
79
+ path: _path + ".input[" + _index1 + "]",
80
80
  expected: "string",
81
81
  value: elem
82
- })) || "object" === typeof input.input && null !== input.input && $ao1(input.input, path + ".input", true && exceptionable))) && (undefined === input.output || "string" === typeof input.output || $guard(exceptionable, {
83
- path: path + ".output",
82
+ })) || "object" === typeof input.input && null !== input.input && $ao1(input.input, _path + ".input", true && _exceptionable))) && (undefined === input.output || "string" === typeof input.output || $guard(_exceptionable, {
83
+ path: _path + ".output",
84
84
  expected: "(string | undefined)",
85
85
  value: input.output
86
- })) && (undefined === input.compilerOptions || ("object" === typeof input.compilerOptions && null !== input.compilerOptions && false === Array.isArray(input.compilerOptions) || $guard(exceptionable, {
87
- path: path + ".compilerOptions",
86
+ })) && (undefined === input.compilerOptions || ("object" === typeof input.compilerOptions && null !== input.compilerOptions && false === Array.isArray(input.compilerOptions) || $guard(_exceptionable, {
87
+ path: _path + ".compilerOptions",
88
88
  expected: "(Resolve<StripEnums<ts.CompilerOptions>> | undefined)",
89
89
  value: input.compilerOptions
90
- })) && $ao2(input.compilerOptions, path + ".compilerOptions", true && exceptionable)) && (undefined === input.assert || "boolean" === typeof input.assert || $guard(exceptionable, {
91
- path: path + ".assert",
90
+ })) && $ao2(input.compilerOptions, _path + ".compilerOptions", true && _exceptionable)) && (undefined === input.assert || "boolean" === typeof input.assert || $guard(_exceptionable, {
91
+ path: _path + ".assert",
92
92
  expected: "(boolean | undefined)",
93
93
  value: input.assert
94
- })) && (undefined === input.json || "boolean" === typeof input.json || $guard(exceptionable, {
95
- path: path + ".json",
94
+ })) && (undefined === input.json || "boolean" === typeof input.json || $guard(_exceptionable, {
95
+ path: _path + ".json",
96
96
  expected: "(boolean | undefined)",
97
97
  value: input.json
98
- })) && (undefined === input.primitive || "boolean" === typeof input.primitive || $guard(exceptionable, {
99
- path: path + ".primitive",
98
+ })) && (undefined === input.primitive || "boolean" === typeof input.primitive || $guard(_exceptionable, {
99
+ path: _path + ".primitive",
100
100
  expected: "(boolean | undefined)",
101
101
  value: input.primitive
102
- })) && (undefined === input.swagger || ("object" === typeof input.swagger && null !== input.swagger || $guard(exceptionable, {
103
- path: path + ".swagger",
102
+ })) && (undefined === input.swagger || ("object" === typeof input.swagger && null !== input.swagger || $guard(_exceptionable, {
103
+ path: _path + ".swagger",
104
104
  expected: "(Resolve<INestiaConfig.ISwaggerConfig> | undefined)",
105
105
  value: input.swagger
106
- })) && $ao4(input.swagger, path + ".swagger", true && exceptionable));
107
- const $ao1 = (input, path, exceptionable) => (Array.isArray(input.include) || $guard(exceptionable, {
108
- path: path + ".include",
106
+ })) && $ao4(input.swagger, _path + ".swagger", true && _exceptionable));
107
+ const $ao1 = (input, _path, _exceptionable = true) => (Array.isArray(input.include) || $guard(_exceptionable, {
108
+ path: _path + ".include",
109
109
  expected: "Array<string>",
110
110
  value: input.include
111
- })) && input.include.every((elem, index2) => "string" === typeof elem || $guard(exceptionable, {
112
- path: path + ".include[" + index2 + "]",
111
+ })) && input.include.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
112
+ path: _path + ".include[" + _index2 + "]",
113
113
  expected: "string",
114
114
  value: elem
115
- })) && (undefined === input.exclude || (Array.isArray(input.exclude) || $guard(exceptionable, {
116
- path: path + ".exclude",
115
+ })) && (undefined === input.exclude || (Array.isArray(input.exclude) || $guard(_exceptionable, {
116
+ path: _path + ".exclude",
117
117
  expected: "(Array<string> | undefined)",
118
118
  value: input.exclude
119
- })) && input.exclude.every((elem, index3) => "string" === typeof elem || $guard(exceptionable, {
120
- path: path + ".exclude[" + index3 + "]",
119
+ })) && input.exclude.every((elem, _index3) => "string" === typeof elem || $guard(_exceptionable, {
120
+ path: _path + ".exclude[" + _index3 + "]",
121
121
  expected: "string",
122
122
  value: elem
123
123
  })));
124
- const $ao2 = (input, path, exceptionable) => (undefined === input.allowJs || "boolean" === typeof input.allowJs || $guard(exceptionable, {
125
- path: path + ".allowJs",
124
+ const $ao2 = (input, _path, _exceptionable = true) => (undefined === input.allowJs || "boolean" === typeof input.allowJs || $guard(_exceptionable, {
125
+ path: _path + ".allowJs",
126
126
  expected: "(boolean | undefined)",
127
127
  value: input.allowJs
128
- })) && (undefined === input.allowSyntheticDefaultImports || "boolean" === typeof input.allowSyntheticDefaultImports || $guard(exceptionable, {
129
- path: path + ".allowSyntheticDefaultImports",
128
+ })) && (undefined === input.allowSyntheticDefaultImports || "boolean" === typeof input.allowSyntheticDefaultImports || $guard(_exceptionable, {
129
+ path: _path + ".allowSyntheticDefaultImports",
130
130
  expected: "(boolean | undefined)",
131
131
  value: input.allowSyntheticDefaultImports
132
- })) && (undefined === input.allowUmdGlobalAccess || "boolean" === typeof input.allowUmdGlobalAccess || $guard(exceptionable, {
133
- path: path + ".allowUmdGlobalAccess",
132
+ })) && (undefined === input.allowUmdGlobalAccess || "boolean" === typeof input.allowUmdGlobalAccess || $guard(_exceptionable, {
133
+ path: _path + ".allowUmdGlobalAccess",
134
134
  expected: "(boolean | undefined)",
135
135
  value: input.allowUmdGlobalAccess
136
- })) && (undefined === input.allowUnreachableCode || "boolean" === typeof input.allowUnreachableCode || $guard(exceptionable, {
137
- path: path + ".allowUnreachableCode",
136
+ })) && (undefined === input.allowUnreachableCode || "boolean" === typeof input.allowUnreachableCode || $guard(_exceptionable, {
137
+ path: _path + ".allowUnreachableCode",
138
138
  expected: "(boolean | undefined)",
139
139
  value: input.allowUnreachableCode
140
- })) && (undefined === input.allowUnusedLabels || "boolean" === typeof input.allowUnusedLabels || $guard(exceptionable, {
141
- path: path + ".allowUnusedLabels",
140
+ })) && (undefined === input.allowUnusedLabels || "boolean" === typeof input.allowUnusedLabels || $guard(_exceptionable, {
141
+ path: _path + ".allowUnusedLabels",
142
142
  expected: "(boolean | undefined)",
143
143
  value: input.allowUnusedLabels
144
- })) && (undefined === input.alwaysStrict || "boolean" === typeof input.alwaysStrict || $guard(exceptionable, {
145
- path: path + ".alwaysStrict",
144
+ })) && (undefined === input.alwaysStrict || "boolean" === typeof input.alwaysStrict || $guard(_exceptionable, {
145
+ path: _path + ".alwaysStrict",
146
146
  expected: "(boolean | undefined)",
147
147
  value: input.alwaysStrict
148
- })) && (undefined === input.baseUrl || "string" === typeof input.baseUrl || $guard(exceptionable, {
149
- path: path + ".baseUrl",
148
+ })) && (undefined === input.baseUrl || "string" === typeof input.baseUrl || $guard(_exceptionable, {
149
+ path: _path + ".baseUrl",
150
150
  expected: "(string | undefined)",
151
151
  value: input.baseUrl
152
- })) && (undefined === input.charset || "string" === typeof input.charset || $guard(exceptionable, {
153
- path: path + ".charset",
152
+ })) && (undefined === input.charset || "string" === typeof input.charset || $guard(_exceptionable, {
153
+ path: _path + ".charset",
154
154
  expected: "(string | undefined)",
155
155
  value: input.charset
156
- })) && (undefined === input.checkJs || "boolean" === typeof input.checkJs || $guard(exceptionable, {
157
- path: path + ".checkJs",
156
+ })) && (undefined === input.checkJs || "boolean" === typeof input.checkJs || $guard(_exceptionable, {
157
+ path: _path + ".checkJs",
158
158
  expected: "(boolean | undefined)",
159
159
  value: input.checkJs
160
- })) && (undefined === input.declaration || "boolean" === typeof input.declaration || $guard(exceptionable, {
161
- path: path + ".declaration",
160
+ })) && (undefined === input.declaration || "boolean" === typeof input.declaration || $guard(_exceptionable, {
161
+ path: _path + ".declaration",
162
162
  expected: "(boolean | undefined)",
163
163
  value: input.declaration
164
- })) && (undefined === input.declarationMap || "boolean" === typeof input.declarationMap || $guard(exceptionable, {
165
- path: path + ".declarationMap",
164
+ })) && (undefined === input.declarationMap || "boolean" === typeof input.declarationMap || $guard(_exceptionable, {
165
+ path: _path + ".declarationMap",
166
166
  expected: "(boolean | undefined)",
167
167
  value: input.declarationMap
168
- })) && (undefined === input.emitDeclarationOnly || "boolean" === typeof input.emitDeclarationOnly || $guard(exceptionable, {
169
- path: path + ".emitDeclarationOnly",
168
+ })) && (undefined === input.emitDeclarationOnly || "boolean" === typeof input.emitDeclarationOnly || $guard(_exceptionable, {
169
+ path: _path + ".emitDeclarationOnly",
170
170
  expected: "(boolean | undefined)",
171
171
  value: input.emitDeclarationOnly
172
- })) && (undefined === input.declarationDir || "string" === typeof input.declarationDir || $guard(exceptionable, {
173
- path: path + ".declarationDir",
172
+ })) && (undefined === input.declarationDir || "string" === typeof input.declarationDir || $guard(_exceptionable, {
173
+ path: _path + ".declarationDir",
174
174
  expected: "(string | undefined)",
175
175
  value: input.declarationDir
176
- })) && (undefined === input.disableSizeLimit || "boolean" === typeof input.disableSizeLimit || $guard(exceptionable, {
177
- path: path + ".disableSizeLimit",
176
+ })) && (undefined === input.disableSizeLimit || "boolean" === typeof input.disableSizeLimit || $guard(_exceptionable, {
177
+ path: _path + ".disableSizeLimit",
178
178
  expected: "(boolean | undefined)",
179
179
  value: input.disableSizeLimit
180
- })) && (undefined === input.disableSourceOfProjectReferenceRedirect || "boolean" === typeof input.disableSourceOfProjectReferenceRedirect || $guard(exceptionable, {
181
- path: path + ".disableSourceOfProjectReferenceRedirect",
180
+ })) && (undefined === input.disableSourceOfProjectReferenceRedirect || "boolean" === typeof input.disableSourceOfProjectReferenceRedirect || $guard(_exceptionable, {
181
+ path: _path + ".disableSourceOfProjectReferenceRedirect",
182
182
  expected: "(boolean | undefined)",
183
183
  value: input.disableSourceOfProjectReferenceRedirect
184
- })) && (undefined === input.disableSolutionSearching || "boolean" === typeof input.disableSolutionSearching || $guard(exceptionable, {
185
- path: path + ".disableSolutionSearching",
184
+ })) && (undefined === input.disableSolutionSearching || "boolean" === typeof input.disableSolutionSearching || $guard(_exceptionable, {
185
+ path: _path + ".disableSolutionSearching",
186
186
  expected: "(boolean | undefined)",
187
187
  value: input.disableSolutionSearching
188
- })) && (undefined === input.disableReferencedProjectLoad || "boolean" === typeof input.disableReferencedProjectLoad || $guard(exceptionable, {
189
- path: path + ".disableReferencedProjectLoad",
188
+ })) && (undefined === input.disableReferencedProjectLoad || "boolean" === typeof input.disableReferencedProjectLoad || $guard(_exceptionable, {
189
+ path: _path + ".disableReferencedProjectLoad",
190
190
  expected: "(boolean | undefined)",
191
191
  value: input.disableReferencedProjectLoad
192
- })) && (undefined === input.downlevelIteration || "boolean" === typeof input.downlevelIteration || $guard(exceptionable, {
193
- path: path + ".downlevelIteration",
192
+ })) && (undefined === input.downlevelIteration || "boolean" === typeof input.downlevelIteration || $guard(_exceptionable, {
193
+ path: _path + ".downlevelIteration",
194
194
  expected: "(boolean | undefined)",
195
195
  value: input.downlevelIteration
196
- })) && (undefined === input.emitBOM || "boolean" === typeof input.emitBOM || $guard(exceptionable, {
197
- path: path + ".emitBOM",
196
+ })) && (undefined === input.emitBOM || "boolean" === typeof input.emitBOM || $guard(_exceptionable, {
197
+ path: _path + ".emitBOM",
198
198
  expected: "(boolean | undefined)",
199
199
  value: input.emitBOM
200
- })) && (undefined === input.emitDecoratorMetadata || "boolean" === typeof input.emitDecoratorMetadata || $guard(exceptionable, {
201
- path: path + ".emitDecoratorMetadata",
200
+ })) && (undefined === input.emitDecoratorMetadata || "boolean" === typeof input.emitDecoratorMetadata || $guard(_exceptionable, {
201
+ path: _path + ".emitDecoratorMetadata",
202
202
  expected: "(boolean | undefined)",
203
203
  value: input.emitDecoratorMetadata
204
- })) && (undefined === input.exactOptionalPropertyTypes || "boolean" === typeof input.exactOptionalPropertyTypes || $guard(exceptionable, {
205
- path: path + ".exactOptionalPropertyTypes",
204
+ })) && (undefined === input.exactOptionalPropertyTypes || "boolean" === typeof input.exactOptionalPropertyTypes || $guard(_exceptionable, {
205
+ path: _path + ".exactOptionalPropertyTypes",
206
206
  expected: "(boolean | undefined)",
207
207
  value: input.exactOptionalPropertyTypes
208
- })) && (undefined === input.experimentalDecorators || "boolean" === typeof input.experimentalDecorators || $guard(exceptionable, {
209
- path: path + ".experimentalDecorators",
208
+ })) && (undefined === input.experimentalDecorators || "boolean" === typeof input.experimentalDecorators || $guard(_exceptionable, {
209
+ path: _path + ".experimentalDecorators",
210
210
  expected: "(boolean | undefined)",
211
211
  value: input.experimentalDecorators
212
- })) && (undefined === input.forceConsistentCasingInFileNames || "boolean" === typeof input.forceConsistentCasingInFileNames || $guard(exceptionable, {
213
- path: path + ".forceConsistentCasingInFileNames",
212
+ })) && (undefined === input.forceConsistentCasingInFileNames || "boolean" === typeof input.forceConsistentCasingInFileNames || $guard(_exceptionable, {
213
+ path: _path + ".forceConsistentCasingInFileNames",
214
214
  expected: "(boolean | undefined)",
215
215
  value: input.forceConsistentCasingInFileNames
216
- })) && (undefined === input.importHelpers || "boolean" === typeof input.importHelpers || $guard(exceptionable, {
217
- path: path + ".importHelpers",
216
+ })) && (undefined === input.importHelpers || "boolean" === typeof input.importHelpers || $guard(_exceptionable, {
217
+ path: _path + ".importHelpers",
218
218
  expected: "(boolean | undefined)",
219
219
  value: input.importHelpers
220
- })) && true && (undefined === input.inlineSourceMap || "boolean" === typeof input.inlineSourceMap || $guard(exceptionable, {
221
- path: path + ".inlineSourceMap",
220
+ })) && true && (undefined === input.inlineSourceMap || "boolean" === typeof input.inlineSourceMap || $guard(_exceptionable, {
221
+ path: _path + ".inlineSourceMap",
222
222
  expected: "(boolean | undefined)",
223
223
  value: input.inlineSourceMap
224
- })) && (undefined === input.inlineSources || "boolean" === typeof input.inlineSources || $guard(exceptionable, {
225
- path: path + ".inlineSources",
224
+ })) && (undefined === input.inlineSources || "boolean" === typeof input.inlineSources || $guard(_exceptionable, {
225
+ path: _path + ".inlineSources",
226
226
  expected: "(boolean | undefined)",
227
227
  value: input.inlineSources
228
- })) && (undefined === input.isolatedModules || "boolean" === typeof input.isolatedModules || $guard(exceptionable, {
229
- path: path + ".isolatedModules",
228
+ })) && (undefined === input.isolatedModules || "boolean" === typeof input.isolatedModules || $guard(_exceptionable, {
229
+ path: _path + ".isolatedModules",
230
230
  expected: "(boolean | undefined)",
231
231
  value: input.isolatedModules
232
- })) && true && (undefined === input.keyofStringsOnly || "boolean" === typeof input.keyofStringsOnly || $guard(exceptionable, {
233
- path: path + ".keyofStringsOnly",
232
+ })) && true && (undefined === input.keyofStringsOnly || "boolean" === typeof input.keyofStringsOnly || $guard(_exceptionable, {
233
+ path: _path + ".keyofStringsOnly",
234
234
  expected: "(boolean | undefined)",
235
235
  value: input.keyofStringsOnly
236
- })) && (undefined === input.lib || (Array.isArray(input.lib) || $guard(exceptionable, {
237
- path: path + ".lib",
236
+ })) && (undefined === input.lib || (Array.isArray(input.lib) || $guard(_exceptionable, {
237
+ path: _path + ".lib",
238
238
  expected: "(Array<string> | undefined)",
239
239
  value: input.lib
240
- })) && input.lib.every((elem, index4) => "string" === typeof elem || $guard(exceptionable, {
241
- path: path + ".lib[" + index4 + "]",
240
+ })) && input.lib.every((elem, _index4) => "string" === typeof elem || $guard(_exceptionable, {
241
+ path: _path + ".lib[" + _index4 + "]",
242
242
  expected: "string",
243
243
  value: elem
244
- }))) && (undefined === input.locale || "string" === typeof input.locale || $guard(exceptionable, {
245
- path: path + ".locale",
244
+ }))) && (undefined === input.locale || "string" === typeof input.locale || $guard(_exceptionable, {
245
+ path: _path + ".locale",
246
246
  expected: "(string | undefined)",
247
247
  value: input.locale
248
- })) && (undefined === input.mapRoot || "string" === typeof input.mapRoot || $guard(exceptionable, {
249
- path: path + ".mapRoot",
248
+ })) && (undefined === input.mapRoot || "string" === typeof input.mapRoot || $guard(_exceptionable, {
249
+ path: _path + ".mapRoot",
250
250
  expected: "(string | undefined)",
251
251
  value: input.mapRoot
252
- })) && true && true && true && (undefined === input.moduleSuffixes || (Array.isArray(input.moduleSuffixes) || $guard(exceptionable, {
253
- path: path + ".moduleSuffixes",
252
+ })) && true && true && true && (undefined === input.moduleSuffixes || (Array.isArray(input.moduleSuffixes) || $guard(_exceptionable, {
253
+ path: _path + ".moduleSuffixes",
254
254
  expected: "(Array<string> | undefined)",
255
255
  value: input.moduleSuffixes
256
- })) && input.moduleSuffixes.every((elem, index5) => "string" === typeof elem || $guard(exceptionable, {
257
- path: path + ".moduleSuffixes[" + index5 + "]",
256
+ })) && input.moduleSuffixes.every((elem, _index5) => "string" === typeof elem || $guard(_exceptionable, {
257
+ path: _path + ".moduleSuffixes[" + _index5 + "]",
258
258
  expected: "string",
259
259
  value: elem
260
- }))) && true && true && (undefined === input.noEmit || "boolean" === typeof input.noEmit || $guard(exceptionable, {
261
- path: path + ".noEmit",
260
+ }))) && true && true && (undefined === input.noEmit || "boolean" === typeof input.noEmit || $guard(_exceptionable, {
261
+ path: _path + ".noEmit",
262
262
  expected: "(boolean | undefined)",
263
263
  value: input.noEmit
264
- })) && (undefined === input.noEmitHelpers || "boolean" === typeof input.noEmitHelpers || $guard(exceptionable, {
265
- path: path + ".noEmitHelpers",
264
+ })) && (undefined === input.noEmitHelpers || "boolean" === typeof input.noEmitHelpers || $guard(_exceptionable, {
265
+ path: _path + ".noEmitHelpers",
266
266
  expected: "(boolean | undefined)",
267
267
  value: input.noEmitHelpers
268
- })) && (undefined === input.noEmitOnError || "boolean" === typeof input.noEmitOnError || $guard(exceptionable, {
269
- path: path + ".noEmitOnError",
268
+ })) && (undefined === input.noEmitOnError || "boolean" === typeof input.noEmitOnError || $guard(_exceptionable, {
269
+ path: _path + ".noEmitOnError",
270
270
  expected: "(boolean | undefined)",
271
271
  value: input.noEmitOnError
272
- })) && (undefined === input.noErrorTruncation || "boolean" === typeof input.noErrorTruncation || $guard(exceptionable, {
273
- path: path + ".noErrorTruncation",
272
+ })) && (undefined === input.noErrorTruncation || "boolean" === typeof input.noErrorTruncation || $guard(_exceptionable, {
273
+ path: _path + ".noErrorTruncation",
274
274
  expected: "(boolean | undefined)",
275
275
  value: input.noErrorTruncation
276
- })) && (undefined === input.noFallthroughCasesInSwitch || "boolean" === typeof input.noFallthroughCasesInSwitch || $guard(exceptionable, {
277
- path: path + ".noFallthroughCasesInSwitch",
276
+ })) && (undefined === input.noFallthroughCasesInSwitch || "boolean" === typeof input.noFallthroughCasesInSwitch || $guard(_exceptionable, {
277
+ path: _path + ".noFallthroughCasesInSwitch",
278
278
  expected: "(boolean | undefined)",
279
279
  value: input.noFallthroughCasesInSwitch
280
- })) && (undefined === input.noImplicitAny || "boolean" === typeof input.noImplicitAny || $guard(exceptionable, {
281
- path: path + ".noImplicitAny",
280
+ })) && (undefined === input.noImplicitAny || "boolean" === typeof input.noImplicitAny || $guard(_exceptionable, {
281
+ path: _path + ".noImplicitAny",
282
282
  expected: "(boolean | undefined)",
283
283
  value: input.noImplicitAny
284
- })) && (undefined === input.noImplicitReturns || "boolean" === typeof input.noImplicitReturns || $guard(exceptionable, {
285
- path: path + ".noImplicitReturns",
284
+ })) && (undefined === input.noImplicitReturns || "boolean" === typeof input.noImplicitReturns || $guard(_exceptionable, {
285
+ path: _path + ".noImplicitReturns",
286
286
  expected: "(boolean | undefined)",
287
287
  value: input.noImplicitReturns
288
- })) && (undefined === input.noImplicitThis || "boolean" === typeof input.noImplicitThis || $guard(exceptionable, {
289
- path: path + ".noImplicitThis",
288
+ })) && (undefined === input.noImplicitThis || "boolean" === typeof input.noImplicitThis || $guard(_exceptionable, {
289
+ path: _path + ".noImplicitThis",
290
290
  expected: "(boolean | undefined)",
291
291
  value: input.noImplicitThis
292
- })) && (undefined === input.noStrictGenericChecks || "boolean" === typeof input.noStrictGenericChecks || $guard(exceptionable, {
293
- path: path + ".noStrictGenericChecks",
292
+ })) && (undefined === input.noStrictGenericChecks || "boolean" === typeof input.noStrictGenericChecks || $guard(_exceptionable, {
293
+ path: _path + ".noStrictGenericChecks",
294
294
  expected: "(boolean | undefined)",
295
295
  value: input.noStrictGenericChecks
296
- })) && (undefined === input.noUnusedLocals || "boolean" === typeof input.noUnusedLocals || $guard(exceptionable, {
297
- path: path + ".noUnusedLocals",
296
+ })) && (undefined === input.noUnusedLocals || "boolean" === typeof input.noUnusedLocals || $guard(_exceptionable, {
297
+ path: _path + ".noUnusedLocals",
298
298
  expected: "(boolean | undefined)",
299
299
  value: input.noUnusedLocals
300
- })) && (undefined === input.noUnusedParameters || "boolean" === typeof input.noUnusedParameters || $guard(exceptionable, {
301
- path: path + ".noUnusedParameters",
300
+ })) && (undefined === input.noUnusedParameters || "boolean" === typeof input.noUnusedParameters || $guard(_exceptionable, {
301
+ path: _path + ".noUnusedParameters",
302
302
  expected: "(boolean | undefined)",
303
303
  value: input.noUnusedParameters
304
- })) && (undefined === input.noImplicitUseStrict || "boolean" === typeof input.noImplicitUseStrict || $guard(exceptionable, {
305
- path: path + ".noImplicitUseStrict",
304
+ })) && (undefined === input.noImplicitUseStrict || "boolean" === typeof input.noImplicitUseStrict || $guard(_exceptionable, {
305
+ path: _path + ".noImplicitUseStrict",
306
306
  expected: "(boolean | undefined)",
307
307
  value: input.noImplicitUseStrict
308
- })) && (undefined === input.noPropertyAccessFromIndexSignature || "boolean" === typeof input.noPropertyAccessFromIndexSignature || $guard(exceptionable, {
309
- path: path + ".noPropertyAccessFromIndexSignature",
308
+ })) && (undefined === input.noPropertyAccessFromIndexSignature || "boolean" === typeof input.noPropertyAccessFromIndexSignature || $guard(_exceptionable, {
309
+ path: _path + ".noPropertyAccessFromIndexSignature",
310
310
  expected: "(boolean | undefined)",
311
311
  value: input.noPropertyAccessFromIndexSignature
312
- })) && (undefined === input.assumeChangesOnlyAffectDirectDependencies || "boolean" === typeof input.assumeChangesOnlyAffectDirectDependencies || $guard(exceptionable, {
313
- path: path + ".assumeChangesOnlyAffectDirectDependencies",
312
+ })) && (undefined === input.assumeChangesOnlyAffectDirectDependencies || "boolean" === typeof input.assumeChangesOnlyAffectDirectDependencies || $guard(_exceptionable, {
313
+ path: _path + ".assumeChangesOnlyAffectDirectDependencies",
314
314
  expected: "(boolean | undefined)",
315
315
  value: input.assumeChangesOnlyAffectDirectDependencies
316
- })) && (undefined === input.noLib || "boolean" === typeof input.noLib || $guard(exceptionable, {
317
- path: path + ".noLib",
316
+ })) && (undefined === input.noLib || "boolean" === typeof input.noLib || $guard(_exceptionable, {
317
+ path: _path + ".noLib",
318
318
  expected: "(boolean | undefined)",
319
319
  value: input.noLib
320
- })) && (undefined === input.noResolve || "boolean" === typeof input.noResolve || $guard(exceptionable, {
321
- path: path + ".noResolve",
320
+ })) && (undefined === input.noResolve || "boolean" === typeof input.noResolve || $guard(_exceptionable, {
321
+ path: _path + ".noResolve",
322
322
  expected: "(boolean | undefined)",
323
323
  value: input.noResolve
324
- })) && (undefined === input.noUncheckedIndexedAccess || "boolean" === typeof input.noUncheckedIndexedAccess || $guard(exceptionable, {
325
- path: path + ".noUncheckedIndexedAccess",
324
+ })) && (undefined === input.noUncheckedIndexedAccess || "boolean" === typeof input.noUncheckedIndexedAccess || $guard(_exceptionable, {
325
+ path: _path + ".noUncheckedIndexedAccess",
326
326
  expected: "(boolean | undefined)",
327
327
  value: input.noUncheckedIndexedAccess
328
- })) && (undefined === input.out || "string" === typeof input.out || $guard(exceptionable, {
329
- path: path + ".out",
328
+ })) && (undefined === input.out || "string" === typeof input.out || $guard(_exceptionable, {
329
+ path: _path + ".out",
330
330
  expected: "(string | undefined)",
331
331
  value: input.out
332
- })) && (undefined === input.outDir || "string" === typeof input.outDir || $guard(exceptionable, {
333
- path: path + ".outDir",
332
+ })) && (undefined === input.outDir || "string" === typeof input.outDir || $guard(_exceptionable, {
333
+ path: _path + ".outDir",
334
334
  expected: "(string | undefined)",
335
335
  value: input.outDir
336
- })) && (undefined === input.outFile || "string" === typeof input.outFile || $guard(exceptionable, {
337
- path: path + ".outFile",
336
+ })) && (undefined === input.outFile || "string" === typeof input.outFile || $guard(_exceptionable, {
337
+ path: _path + ".outFile",
338
338
  expected: "(string | undefined)",
339
339
  value: input.outFile
340
- })) && (undefined === input.paths || ("object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) || $guard(exceptionable, {
341
- path: path + ".paths",
340
+ })) && (undefined === input.paths || ("object" === typeof input.paths && null !== input.paths && false === Array.isArray(input.paths) || $guard(_exceptionable, {
341
+ path: _path + ".paths",
342
342
  expected: "(Resolve<ts.MapLike<Array<string>>> | undefined)",
343
343
  value: input.paths
344
- })) && $ao3(input.paths, path + ".paths", true && exceptionable)) && (undefined === input.preserveConstEnums || "boolean" === typeof input.preserveConstEnums || $guard(exceptionable, {
345
- path: path + ".preserveConstEnums",
344
+ })) && $ao3(input.paths, _path + ".paths", true && _exceptionable)) && (undefined === input.preserveConstEnums || "boolean" === typeof input.preserveConstEnums || $guard(_exceptionable, {
345
+ path: _path + ".preserveConstEnums",
346
346
  expected: "(boolean | undefined)",
347
347
  value: input.preserveConstEnums
348
- })) && (undefined === input.noImplicitOverride || "boolean" === typeof input.noImplicitOverride || $guard(exceptionable, {
349
- path: path + ".noImplicitOverride",
348
+ })) && (undefined === input.noImplicitOverride || "boolean" === typeof input.noImplicitOverride || $guard(_exceptionable, {
349
+ path: _path + ".noImplicitOverride",
350
350
  expected: "(boolean | undefined)",
351
351
  value: input.noImplicitOverride
352
- })) && (undefined === input.preserveSymlinks || "boolean" === typeof input.preserveSymlinks || $guard(exceptionable, {
353
- path: path + ".preserveSymlinks",
352
+ })) && (undefined === input.preserveSymlinks || "boolean" === typeof input.preserveSymlinks || $guard(_exceptionable, {
353
+ path: _path + ".preserveSymlinks",
354
354
  expected: "(boolean | undefined)",
355
355
  value: input.preserveSymlinks
356
- })) && (undefined === input.preserveValueImports || "boolean" === typeof input.preserveValueImports || $guard(exceptionable, {
357
- path: path + ".preserveValueImports",
356
+ })) && (undefined === input.preserveValueImports || "boolean" === typeof input.preserveValueImports || $guard(_exceptionable, {
357
+ path: _path + ".preserveValueImports",
358
358
  expected: "(boolean | undefined)",
359
359
  value: input.preserveValueImports
360
- })) && (undefined === input.project || "string" === typeof input.project || $guard(exceptionable, {
361
- path: path + ".project",
360
+ })) && (undefined === input.project || "string" === typeof input.project || $guard(_exceptionable, {
361
+ path: _path + ".project",
362
362
  expected: "(string | undefined)",
363
363
  value: input.project
364
- })) && (undefined === input.reactNamespace || "string" === typeof input.reactNamespace || $guard(exceptionable, {
365
- path: path + ".reactNamespace",
364
+ })) && (undefined === input.reactNamespace || "string" === typeof input.reactNamespace || $guard(_exceptionable, {
365
+ path: _path + ".reactNamespace",
366
366
  expected: "(string | undefined)",
367
367
  value: input.reactNamespace
368
- })) && (undefined === input.jsxFactory || "string" === typeof input.jsxFactory || $guard(exceptionable, {
369
- path: path + ".jsxFactory",
368
+ })) && (undefined === input.jsxFactory || "string" === typeof input.jsxFactory || $guard(_exceptionable, {
369
+ path: _path + ".jsxFactory",
370
370
  expected: "(string | undefined)",
371
371
  value: input.jsxFactory
372
- })) && (undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory || $guard(exceptionable, {
373
- path: path + ".jsxFragmentFactory",
372
+ })) && (undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory || $guard(_exceptionable, {
373
+ path: _path + ".jsxFragmentFactory",
374
374
  expected: "(string | undefined)",
375
375
  value: input.jsxFragmentFactory
376
- })) && (undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource || $guard(exceptionable, {
377
- path: path + ".jsxImportSource",
376
+ })) && (undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource || $guard(_exceptionable, {
377
+ path: _path + ".jsxImportSource",
378
378
  expected: "(string | undefined)",
379
379
  value: input.jsxImportSource
380
- })) && (undefined === input.composite || "boolean" === typeof input.composite || $guard(exceptionable, {
381
- path: path + ".composite",
380
+ })) && (undefined === input.composite || "boolean" === typeof input.composite || $guard(_exceptionable, {
381
+ path: _path + ".composite",
382
382
  expected: "(boolean | undefined)",
383
383
  value: input.composite
384
- })) && (undefined === input.incremental || "boolean" === typeof input.incremental || $guard(exceptionable, {
385
- path: path + ".incremental",
384
+ })) && (undefined === input.incremental || "boolean" === typeof input.incremental || $guard(_exceptionable, {
385
+ path: _path + ".incremental",
386
386
  expected: "(boolean | undefined)",
387
387
  value: input.incremental
388
- })) && (undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile || $guard(exceptionable, {
389
- path: path + ".tsBuildInfoFile",
388
+ })) && (undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile || $guard(_exceptionable, {
389
+ path: _path + ".tsBuildInfoFile",
390
390
  expected: "(string | undefined)",
391
391
  value: input.tsBuildInfoFile
392
- })) && (undefined === input.removeComments || "boolean" === typeof input.removeComments || $guard(exceptionable, {
393
- path: path + ".removeComments",
392
+ })) && (undefined === input.removeComments || "boolean" === typeof input.removeComments || $guard(_exceptionable, {
393
+ path: _path + ".removeComments",
394
394
  expected: "(boolean | undefined)",
395
395
  value: input.removeComments
396
- })) && (undefined === input.rootDir || "string" === typeof input.rootDir || $guard(exceptionable, {
397
- path: path + ".rootDir",
396
+ })) && (undefined === input.rootDir || "string" === typeof input.rootDir || $guard(_exceptionable, {
397
+ path: _path + ".rootDir",
398
398
  expected: "(string | undefined)",
399
399
  value: input.rootDir
400
- })) && (undefined === input.rootDirs || (Array.isArray(input.rootDirs) || $guard(exceptionable, {
401
- path: path + ".rootDirs",
400
+ })) && (undefined === input.rootDirs || (Array.isArray(input.rootDirs) || $guard(_exceptionable, {
401
+ path: _path + ".rootDirs",
402
402
  expected: "(Array<string> | undefined)",
403
403
  value: input.rootDirs
404
- })) && input.rootDirs.every((elem, index6) => "string" === typeof elem || $guard(exceptionable, {
405
- path: path + ".rootDirs[" + index6 + "]",
404
+ })) && input.rootDirs.every((elem, _index6) => "string" === typeof elem || $guard(_exceptionable, {
405
+ path: _path + ".rootDirs[" + _index6 + "]",
406
406
  expected: "string",
407
407
  value: elem
408
- }))) && (undefined === input.skipLibCheck || "boolean" === typeof input.skipLibCheck || $guard(exceptionable, {
409
- path: path + ".skipLibCheck",
408
+ }))) && (undefined === input.skipLibCheck || "boolean" === typeof input.skipLibCheck || $guard(_exceptionable, {
409
+ path: _path + ".skipLibCheck",
410
410
  expected: "(boolean | undefined)",
411
411
  value: input.skipLibCheck
412
- })) && (undefined === input.skipDefaultLibCheck || "boolean" === typeof input.skipDefaultLibCheck || $guard(exceptionable, {
413
- path: path + ".skipDefaultLibCheck",
412
+ })) && (undefined === input.skipDefaultLibCheck || "boolean" === typeof input.skipDefaultLibCheck || $guard(_exceptionable, {
413
+ path: _path + ".skipDefaultLibCheck",
414
414
  expected: "(boolean | undefined)",
415
415
  value: input.skipDefaultLibCheck
416
- })) && (undefined === input.sourceMap || "boolean" === typeof input.sourceMap || $guard(exceptionable, {
417
- path: path + ".sourceMap",
416
+ })) && (undefined === input.sourceMap || "boolean" === typeof input.sourceMap || $guard(_exceptionable, {
417
+ path: _path + ".sourceMap",
418
418
  expected: "(boolean | undefined)",
419
419
  value: input.sourceMap
420
- })) && (undefined === input.sourceRoot || "string" === typeof input.sourceRoot || $guard(exceptionable, {
421
- path: path + ".sourceRoot",
420
+ })) && (undefined === input.sourceRoot || "string" === typeof input.sourceRoot || $guard(_exceptionable, {
421
+ path: _path + ".sourceRoot",
422
422
  expected: "(string | undefined)",
423
423
  value: input.sourceRoot
424
- })) && (undefined === input.strict || "boolean" === typeof input.strict || $guard(exceptionable, {
425
- path: path + ".strict",
424
+ })) && (undefined === input.strict || "boolean" === typeof input.strict || $guard(_exceptionable, {
425
+ path: _path + ".strict",
426
426
  expected: "(boolean | undefined)",
427
427
  value: input.strict
428
- })) && (undefined === input.strictFunctionTypes || "boolean" === typeof input.strictFunctionTypes || $guard(exceptionable, {
429
- path: path + ".strictFunctionTypes",
428
+ })) && (undefined === input.strictFunctionTypes || "boolean" === typeof input.strictFunctionTypes || $guard(_exceptionable, {
429
+ path: _path + ".strictFunctionTypes",
430
430
  expected: "(boolean | undefined)",
431
431
  value: input.strictFunctionTypes
432
- })) && (undefined === input.strictBindCallApply || "boolean" === typeof input.strictBindCallApply || $guard(exceptionable, {
433
- path: path + ".strictBindCallApply",
432
+ })) && (undefined === input.strictBindCallApply || "boolean" === typeof input.strictBindCallApply || $guard(_exceptionable, {
433
+ path: _path + ".strictBindCallApply",
434
434
  expected: "(boolean | undefined)",
435
435
  value: input.strictBindCallApply
436
- })) && (undefined === input.strictNullChecks || "boolean" === typeof input.strictNullChecks || $guard(exceptionable, {
437
- path: path + ".strictNullChecks",
436
+ })) && (undefined === input.strictNullChecks || "boolean" === typeof input.strictNullChecks || $guard(_exceptionable, {
437
+ path: _path + ".strictNullChecks",
438
438
  expected: "(boolean | undefined)",
439
439
  value: input.strictNullChecks
440
- })) && (undefined === input.strictPropertyInitialization || "boolean" === typeof input.strictPropertyInitialization || $guard(exceptionable, {
441
- path: path + ".strictPropertyInitialization",
440
+ })) && (undefined === input.strictPropertyInitialization || "boolean" === typeof input.strictPropertyInitialization || $guard(_exceptionable, {
441
+ path: _path + ".strictPropertyInitialization",
442
442
  expected: "(boolean | undefined)",
443
443
  value: input.strictPropertyInitialization
444
- })) && (undefined === input.stripInternal || "boolean" === typeof input.stripInternal || $guard(exceptionable, {
445
- path: path + ".stripInternal",
444
+ })) && (undefined === input.stripInternal || "boolean" === typeof input.stripInternal || $guard(_exceptionable, {
445
+ path: _path + ".stripInternal",
446
446
  expected: "(boolean | undefined)",
447
447
  value: input.stripInternal
448
- })) && (undefined === input.suppressExcessPropertyErrors || "boolean" === typeof input.suppressExcessPropertyErrors || $guard(exceptionable, {
449
- path: path + ".suppressExcessPropertyErrors",
448
+ })) && (undefined === input.suppressExcessPropertyErrors || "boolean" === typeof input.suppressExcessPropertyErrors || $guard(_exceptionable, {
449
+ path: _path + ".suppressExcessPropertyErrors",
450
450
  expected: "(boolean | undefined)",
451
451
  value: input.suppressExcessPropertyErrors
452
- })) && (undefined === input.suppressImplicitAnyIndexErrors || "boolean" === typeof input.suppressImplicitAnyIndexErrors || $guard(exceptionable, {
453
- path: path + ".suppressImplicitAnyIndexErrors",
452
+ })) && (undefined === input.suppressImplicitAnyIndexErrors || "boolean" === typeof input.suppressImplicitAnyIndexErrors || $guard(_exceptionable, {
453
+ path: _path + ".suppressImplicitAnyIndexErrors",
454
454
  expected: "(boolean | undefined)",
455
455
  value: input.suppressImplicitAnyIndexErrors
456
- })) && true && (undefined === input.traceResolution || "boolean" === typeof input.traceResolution || $guard(exceptionable, {
457
- path: path + ".traceResolution",
456
+ })) && true && (undefined === input.traceResolution || "boolean" === typeof input.traceResolution || $guard(_exceptionable, {
457
+ path: _path + ".traceResolution",
458
458
  expected: "(boolean | undefined)",
459
459
  value: input.traceResolution
460
- })) && (undefined === input.useUnknownInCatchVariables || "boolean" === typeof input.useUnknownInCatchVariables || $guard(exceptionable, {
461
- path: path + ".useUnknownInCatchVariables",
460
+ })) && (undefined === input.useUnknownInCatchVariables || "boolean" === typeof input.useUnknownInCatchVariables || $guard(_exceptionable, {
461
+ path: _path + ".useUnknownInCatchVariables",
462
462
  expected: "(boolean | undefined)",
463
463
  value: input.useUnknownInCatchVariables
464
- })) && (undefined === input.resolveJsonModule || "boolean" === typeof input.resolveJsonModule || $guard(exceptionable, {
465
- path: path + ".resolveJsonModule",
464
+ })) && (undefined === input.resolveJsonModule || "boolean" === typeof input.resolveJsonModule || $guard(_exceptionable, {
465
+ path: _path + ".resolveJsonModule",
466
466
  expected: "(boolean | undefined)",
467
467
  value: input.resolveJsonModule
468
- })) && (undefined === input.types || (Array.isArray(input.types) || $guard(exceptionable, {
469
- path: path + ".types",
468
+ })) && (undefined === input.types || (Array.isArray(input.types) || $guard(_exceptionable, {
469
+ path: _path + ".types",
470
470
  expected: "(Array<string> | undefined)",
471
471
  value: input.types
472
- })) && input.types.every((elem, index7) => "string" === typeof elem || $guard(exceptionable, {
473
- path: path + ".types[" + index7 + "]",
472
+ })) && input.types.every((elem, _index7) => "string" === typeof elem || $guard(_exceptionable, {
473
+ path: _path + ".types[" + _index7 + "]",
474
474
  expected: "string",
475
475
  value: elem
476
- }))) && (undefined === input.typeRoots || (Array.isArray(input.typeRoots) || $guard(exceptionable, {
477
- path: path + ".typeRoots",
476
+ }))) && (undefined === input.typeRoots || (Array.isArray(input.typeRoots) || $guard(_exceptionable, {
477
+ path: _path + ".typeRoots",
478
478
  expected: "(Array<string> | undefined)",
479
479
  value: input.typeRoots
480
- })) && input.typeRoots.every((elem, index8) => "string" === typeof elem || $guard(exceptionable, {
481
- path: path + ".typeRoots[" + index8 + "]",
480
+ })) && input.typeRoots.every((elem, _index8) => "string" === typeof elem || $guard(_exceptionable, {
481
+ path: _path + ".typeRoots[" + _index8 + "]",
482
482
  expected: "string",
483
483
  value: elem
484
- }))) && (undefined === input.esModuleInterop || "boolean" === typeof input.esModuleInterop || $guard(exceptionable, {
485
- path: path + ".esModuleInterop",
484
+ }))) && (undefined === input.esModuleInterop || "boolean" === typeof input.esModuleInterop || $guard(_exceptionable, {
485
+ path: _path + ".esModuleInterop",
486
486
  expected: "(boolean | undefined)",
487
487
  value: input.esModuleInterop
488
- })) && (undefined === input.useDefineForClassFields || "boolean" === typeof input.useDefineForClassFields || $guard(exceptionable, {
489
- path: path + ".useDefineForClassFields",
488
+ })) && (undefined === input.useDefineForClassFields || "boolean" === typeof input.useDefineForClassFields || $guard(_exceptionable, {
489
+ path: _path + ".useDefineForClassFields",
490
490
  expected: "(boolean | undefined)",
491
491
  value: input.useDefineForClassFields
492
- })) && (false === exceptionable || Object.keys(input).every(key => {
492
+ })) && (false === _exceptionable || Object.keys(input).every(key => {
493
493
  const value = input[key];
494
494
  if (undefined === value)
495
495
  return true;
@@ -497,194 +497,194 @@ var NestiaSdkConfig;
497
497
  return true;
498
498
  return true;
499
499
  }));
500
- const $ao3 = (input, path, exceptionable) => false === exceptionable || Object.keys(input).every(key => {
500
+ const $ao3 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
501
501
  const value = input[key];
502
502
  if (undefined === value)
503
503
  return true;
504
504
  if (RegExp(/(.*)/).test(key))
505
- return (Array.isArray(value) || $guard(exceptionable, {
506
- path: path + $join(key),
505
+ return (Array.isArray(value) || $guard(_exceptionable, {
506
+ path: _path + $join(key),
507
507
  expected: "Array<string>",
508
508
  value: value
509
- })) && value.every((elem, index9) => "string" === typeof elem || $guard(exceptionable, {
510
- path: path + $join(key) + "[" + index9 + "]",
509
+ })) && value.every((elem, _index9) => "string" === typeof elem || $guard(_exceptionable, {
510
+ path: _path + $join(key) + "[" + _index9 + "]",
511
511
  expected: "string",
512
512
  value: elem
513
513
  }));
514
514
  return true;
515
515
  });
516
- const $ao4 = (input, path, exceptionable) => ("string" === typeof input.output || $guard(exceptionable, {
517
- path: path + ".output",
516
+ const $ao4 = (input, _path, _exceptionable = true) => ("string" === typeof input.output || $guard(_exceptionable, {
517
+ path: _path + ".output",
518
518
  expected: "string",
519
519
  value: input.output
520
- })) && (undefined === input.security || ("object" === typeof input.security && null !== input.security && false === Array.isArray(input.security) || $guard(exceptionable, {
521
- path: path + ".security",
520
+ })) && (undefined === input.security || ("object" === typeof input.security && null !== input.security && false === Array.isArray(input.security) || $guard(_exceptionable, {
521
+ path: _path + ".security",
522
522
  expected: "(Resolve<Record<string, INestiaConfig.ISwaggerConfig.ISecurityScheme>> | undefined)",
523
523
  value: input.security
524
- })) && $ao5(input.security, path + ".security", true && exceptionable));
525
- const $ao5 = (input, path, exceptionable) => false === exceptionable || Object.keys(input).every(key => {
524
+ })) && $ao5(input.security, _path + ".security", true && _exceptionable));
525
+ const $ao5 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
526
526
  const value = input[key];
527
527
  if (undefined === value)
528
528
  return true;
529
529
  if (RegExp(/(.*)/).test(key))
530
- return ("object" === typeof value && null !== value || $guard(exceptionable, {
531
- path: path + $join(key),
530
+ return ("object" === typeof value && null !== value || $guard(_exceptionable, {
531
+ path: _path + $join(key),
532
532
  expected: "(Resolve<INestiaConfig.ISwaggerConfig.IApiKey> | Resolve<ISwaggerDocument.ISecurityScheme.IHttpBasic> | Resolve<ISwaggerDocument.ISecurityScheme.IHttpBearer> | Resolve<ISwaggerDocument.ISecurityScheme.IOAuth2> | Resolve<ISwaggerDocument.ISecurityScheme.IOpenId>)",
533
533
  value: value
534
- })) && $au0(value, path + $join(key), true && exceptionable);
534
+ })) && $au0(value, _path + $join(key), true && _exceptionable);
535
535
  return true;
536
536
  });
537
- const $ao6 = (input, path, exceptionable) => ("http" === input.type || $guard(exceptionable, {
538
- path: path + ".type",
537
+ const $ao6 = (input, _path, _exceptionable = true) => ("http" === input.type || $guard(_exceptionable, {
538
+ path: _path + ".type",
539
539
  expected: "\"http\"",
540
540
  value: input.type
541
- })) && ("basic" === input.schema || $guard(exceptionable, {
542
- path: path + ".schema",
541
+ })) && ("basic" === input.schema || $guard(_exceptionable, {
542
+ path: _path + ".schema",
543
543
  expected: "\"basic\"",
544
544
  value: input.schema
545
545
  }));
546
- const $ao7 = (input, path, exceptionable) => ("http" === input.type || $guard(exceptionable, {
547
- path: path + ".type",
546
+ const $ao7 = (input, _path, _exceptionable = true) => ("http" === input.type || $guard(_exceptionable, {
547
+ path: _path + ".type",
548
548
  expected: "\"http\"",
549
549
  value: input.type
550
- })) && ("bearer" === input.scheme || $guard(exceptionable, {
551
- path: path + ".scheme",
550
+ })) && ("bearer" === input.scheme || $guard(_exceptionable, {
551
+ path: _path + ".scheme",
552
552
  expected: "\"bearer\"",
553
553
  value: input.scheme
554
- })) && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat || $guard(exceptionable, {
555
- path: path + ".bearerFormat",
554
+ })) && (undefined === input.bearerFormat || "string" === typeof input.bearerFormat || $guard(_exceptionable, {
555
+ path: _path + ".bearerFormat",
556
556
  expected: "(string | undefined)",
557
557
  value: input.bearerFormat
558
558
  }));
559
- const $ao8 = (input, path, exceptionable) => ("openIdConnect" === input.type || $guard(exceptionable, {
560
- path: path + ".type",
559
+ const $ao8 = (input, _path, _exceptionable = true) => ("openIdConnect" === input.type || $guard(_exceptionable, {
560
+ path: _path + ".type",
561
561
  expected: "\"openIdConnect\"",
562
562
  value: input.type
563
- })) && ("string" === typeof input.openIdConnectUrl || $guard(exceptionable, {
564
- path: path + ".openIdConnectUrl",
563
+ })) && ("string" === typeof input.openIdConnectUrl || $guard(_exceptionable, {
564
+ path: _path + ".openIdConnectUrl",
565
565
  expected: "string",
566
566
  value: input.openIdConnectUrl
567
567
  }));
568
- const $ao9 = (input, path, exceptionable) => ("oauth2" === input.type || $guard(exceptionable, {
569
- path: path + ".type",
568
+ const $ao9 = (input, _path, _exceptionable = true) => ("oauth2" === input.type || $guard(_exceptionable, {
569
+ path: _path + ".type",
570
570
  expected: "\"oauth2\"",
571
571
  value: input.type
572
- })) && (("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) || $guard(exceptionable, {
573
- path: path + ".flows",
572
+ })) && (("object" === typeof input.flows && null !== input.flows && false === Array.isArray(input.flows) || $guard(_exceptionable, {
573
+ path: _path + ".flows",
574
574
  expected: "Resolve<ISwaggerDocument.ISecurityScheme.IOAuth2.IFlowSet>",
575
575
  value: input.flows
576
- })) && $ao10(input.flows, path + ".flows", true && exceptionable)) && (undefined === input.description || "string" === typeof input.description || $guard(exceptionable, {
577
- path: path + ".description",
576
+ })) && $ao10(input.flows, _path + ".flows", true && _exceptionable)) && (undefined === input.description || "string" === typeof input.description || $guard(_exceptionable, {
577
+ path: _path + ".description",
578
578
  expected: "(string | undefined)",
579
579
  value: input.description
580
580
  }));
581
- const $ao10 = (input, path, exceptionable) => (undefined === input.authorizationCode || ("object" === typeof input.authorizationCode && null !== input.authorizationCode || $guard(exceptionable, {
582
- path: path + ".authorizationCode",
581
+ const $ao10 = (input, _path, _exceptionable = true) => (undefined === input.authorizationCode || ("object" === typeof input.authorizationCode && null !== input.authorizationCode || $guard(_exceptionable, {
582
+ path: _path + ".authorizationCode",
583
583
  expected: "(Resolve<ISwaggerDocument.ISecurityScheme.IOAuth2.IFlow> | undefined)",
584
584
  value: input.authorizationCode
585
- })) && $ao11(input.authorizationCode, path + ".authorizationCode", true && exceptionable)) && (undefined === input.implicit || ("object" === typeof input.implicit && null !== input.implicit || $guard(exceptionable, {
586
- path: path + ".implicit",
585
+ })) && $ao11(input.authorizationCode, _path + ".authorizationCode", true && _exceptionable)) && (undefined === input.implicit || ("object" === typeof input.implicit && null !== input.implicit || $guard(_exceptionable, {
586
+ path: _path + ".implicit",
587
587
  expected: "(Resolve<Omit<ISwaggerDocument.ISecurityScheme.IOAuth2.IFlow, \"tokenUrl\">> | undefined)",
588
588
  value: input.implicit
589
- })) && $ao13(input.implicit, path + ".implicit", true && exceptionable)) && (undefined === input.password || ("object" === typeof input.password && null !== input.password || $guard(exceptionable, {
590
- path: path + ".password",
589
+ })) && $ao13(input.implicit, _path + ".implicit", true && _exceptionable)) && (undefined === input.password || ("object" === typeof input.password && null !== input.password || $guard(_exceptionable, {
590
+ path: _path + ".password",
591
591
  expected: "(Resolve<Omit<ISwaggerDocument.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\">> | undefined)",
592
592
  value: input.password
593
- })) && $ao14(input.password, path + ".password", true && exceptionable)) && (undefined === input.clientCredentials || ("object" === typeof input.clientCredentials && null !== input.clientCredentials || $guard(exceptionable, {
594
- path: path + ".clientCredentials",
593
+ })) && $ao14(input.password, _path + ".password", true && _exceptionable)) && (undefined === input.clientCredentials || ("object" === typeof input.clientCredentials && null !== input.clientCredentials || $guard(_exceptionable, {
594
+ path: _path + ".clientCredentials",
595
595
  expected: "(Resolve<Omit<ISwaggerDocument.ISecurityScheme.IOAuth2.IFlow, \"authorizationUrl\">> | undefined)",
596
596
  value: input.clientCredentials
597
- })) && $ao14(input.clientCredentials, path + ".clientCredentials", true && exceptionable));
598
- const $ao11 = (input, path, exceptionable) => ("string" === typeof input.authorizationUrl || $guard(exceptionable, {
599
- path: path + ".authorizationUrl",
597
+ })) && $ao14(input.clientCredentials, _path + ".clientCredentials", true && _exceptionable));
598
+ const $ao11 = (input, _path, _exceptionable = true) => ("string" === typeof input.authorizationUrl || $guard(_exceptionable, {
599
+ path: _path + ".authorizationUrl",
600
600
  expected: "string",
601
601
  value: input.authorizationUrl
602
- })) && ("string" === typeof input.tokenUrl || $guard(exceptionable, {
603
- path: path + ".tokenUrl",
602
+ })) && ("string" === typeof input.tokenUrl || $guard(_exceptionable, {
603
+ path: _path + ".tokenUrl",
604
604
  expected: "string",
605
605
  value: input.tokenUrl
606
- })) && ("string" === typeof input.refreshUrl || $guard(exceptionable, {
607
- path: path + ".refreshUrl",
606
+ })) && ("string" === typeof input.refreshUrl || $guard(_exceptionable, {
607
+ path: _path + ".refreshUrl",
608
608
  expected: "string",
609
609
  value: input.refreshUrl
610
- })) && (undefined === input.scopes || ("object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) || $guard(exceptionable, {
611
- path: path + ".scopes",
610
+ })) && (undefined === input.scopes || ("object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) || $guard(_exceptionable, {
611
+ path: _path + ".scopes",
612
612
  expected: "(Resolve<Record<string, string>> | undefined)",
613
613
  value: input.scopes
614
- })) && $ao12(input.scopes, path + ".scopes", true && exceptionable));
615
- const $ao12 = (input, path, exceptionable) => false === exceptionable || Object.keys(input).every(key => {
614
+ })) && $ao12(input.scopes, _path + ".scopes", true && _exceptionable));
615
+ const $ao12 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
616
616
  const value = input[key];
617
617
  if (undefined === value)
618
618
  return true;
619
619
  if (RegExp(/(.*)/).test(key))
620
- return "string" === typeof value || $guard(exceptionable, {
621
- path: path + $join(key),
620
+ return "string" === typeof value || $guard(_exceptionable, {
621
+ path: _path + $join(key),
622
622
  expected: "string",
623
623
  value: value
624
624
  });
625
625
  return true;
626
626
  });
627
- const $ao13 = (input, path, exceptionable) => ("string" === typeof input.authorizationUrl || $guard(exceptionable, {
628
- path: path + ".authorizationUrl",
627
+ const $ao13 = (input, _path, _exceptionable = true) => ("string" === typeof input.authorizationUrl || $guard(_exceptionable, {
628
+ path: _path + ".authorizationUrl",
629
629
  expected: "string",
630
630
  value: input.authorizationUrl
631
- })) && ("string" === typeof input.refreshUrl || $guard(exceptionable, {
632
- path: path + ".refreshUrl",
631
+ })) && ("string" === typeof input.refreshUrl || $guard(_exceptionable, {
632
+ path: _path + ".refreshUrl",
633
633
  expected: "string",
634
634
  value: input.refreshUrl
635
- })) && (undefined === input.scopes || ("object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) || $guard(exceptionable, {
636
- path: path + ".scopes",
635
+ })) && (undefined === input.scopes || ("object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) || $guard(_exceptionable, {
636
+ path: _path + ".scopes",
637
637
  expected: "(Resolve<Record<string, string>> | undefined)",
638
638
  value: input.scopes
639
- })) && $ao12(input.scopes, path + ".scopes", true && exceptionable));
640
- const $ao14 = (input, path, exceptionable) => ("string" === typeof input.tokenUrl || $guard(exceptionable, {
641
- path: path + ".tokenUrl",
639
+ })) && $ao12(input.scopes, _path + ".scopes", true && _exceptionable));
640
+ const $ao14 = (input, _path, _exceptionable = true) => ("string" === typeof input.tokenUrl || $guard(_exceptionable, {
641
+ path: _path + ".tokenUrl",
642
642
  expected: "string",
643
643
  value: input.tokenUrl
644
- })) && ("string" === typeof input.refreshUrl || $guard(exceptionable, {
645
- path: path + ".refreshUrl",
644
+ })) && ("string" === typeof input.refreshUrl || $guard(_exceptionable, {
645
+ path: _path + ".refreshUrl",
646
646
  expected: "string",
647
647
  value: input.refreshUrl
648
- })) && (undefined === input.scopes || ("object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) || $guard(exceptionable, {
649
- path: path + ".scopes",
648
+ })) && (undefined === input.scopes || ("object" === typeof input.scopes && null !== input.scopes && false === Array.isArray(input.scopes) || $guard(_exceptionable, {
649
+ path: _path + ".scopes",
650
650
  expected: "(Resolve<Record<string, string>> | undefined)",
651
651
  value: input.scopes
652
- })) && $ao12(input.scopes, path + ".scopes", true && exceptionable));
653
- const $ao15 = (input, path, exceptionable) => ("apiKey" === input.type || $guard(exceptionable, {
654
- path: path + ".type",
652
+ })) && $ao12(input.scopes, _path + ".scopes", true && _exceptionable));
653
+ const $ao15 = (input, _path, _exceptionable = true) => ("apiKey" === input.type || $guard(_exceptionable, {
654
+ path: _path + ".type",
655
655
  expected: "\"apiKey\"",
656
656
  value: input.type
657
- })) && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || $guard(exceptionable, {
658
- path: path + "[\"in\"]",
657
+ })) && (undefined === input["in"] || "header" === input["in"] || "query" === input["in"] || "cookie" === input["in"] || $guard(_exceptionable, {
658
+ path: _path + "[\"in\"]",
659
659
  expected: "(\"cookie\" | \"header\" | \"query\" | undefined)",
660
660
  value: input["in"]
661
- })) && (undefined === input.name || "string" === typeof input.name || $guard(exceptionable, {
662
- path: path + ".name",
661
+ })) && (undefined === input.name || "string" === typeof input.name || $guard(_exceptionable, {
662
+ path: _path + ".name",
663
663
  expected: "(string | undefined)",
664
664
  value: input.name
665
665
  }));
666
- const $au0 = (input, path, exceptionable) => (() => {
666
+ const $au0 = (input, _path, _exceptionable = true) => (() => {
667
667
  if (undefined !== input.schema)
668
- return $ao6(input, path, true && exceptionable);
668
+ return $ao6(input, _path, true && _exceptionable);
669
669
  if (undefined !== input.scheme)
670
- return $ao7(input, path, true && exceptionable);
670
+ return $ao7(input, _path, true && _exceptionable);
671
671
  if ("openIdConnect" === input.type)
672
- return $ao8(input, path, true && exceptionable);
672
+ return $ao8(input, _path, true && _exceptionable);
673
673
  if ("oauth2" === input.type)
674
- return $ao9(input, path, true && exceptionable);
674
+ return $ao9(input, _path, true && _exceptionable);
675
675
  if ("apiKey" === input.type)
676
- return $ao15(input, path, true && exceptionable);
677
- return $guard(exceptionable, {
678
- path: path,
676
+ return $ao15(input, _path, true && _exceptionable);
677
+ return $guard(_exceptionable, {
678
+ path: _path,
679
679
  expected: "(ISwaggerDocument.ISecurityScheme.IHttpBasic | ISwaggerDocument.ISecurityScheme.IHttpBearer | ISwaggerDocument.ISecurityScheme.IOpenId | ISwaggerDocument.ISecurityScheme.IOAuth2 | INestiaConfig.ISwaggerConfig.IApiKey)",
680
680
  value: input
681
681
  });
682
682
  })();
683
683
  return ("object" === typeof input && null !== input || $guard(true, {
684
- path: path + "",
684
+ path: _path + "",
685
685
  expected: "Resolve<INestiaConfig>",
686
686
  value: input
687
- })) && $ao0(input, path + "", true);
687
+ })) && $ao0(input, _path + "", true);
688
688
  })(input, "$input", true);
689
689
  return input;
690
690
  })(cloned);