@nestia/sdk 1.0.8 → 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.
- package/lib/analyses/ControllerAnalyzer.js +15 -3
- package/lib/analyses/ControllerAnalyzer.js.map +1 -1
- package/lib/executable/internal/NestiaSdkConfig.js +298 -298
- package/lib/generates/FunctionGenerator.js +1 -1
- package/lib/generates/FunctionGenerator.js.map +1 -1
- package/lib/generates/SwaggerGenerator.js +11 -1
- package/lib/generates/SwaggerGenerator.js.map +1 -1
- package/lib/structures/IRoute.d.ts +1 -0
- package/lib/structures/ISwaggerDocument.d.ts +1 -1
- package/package.json +3 -3
- package/src/analyses/ControllerAnalyzer.ts +25 -3
- package/src/generates/FunctionGenerator.ts +1 -1
- package/src/generates/SwaggerGenerator.ts +12 -1
- package/src/structures/IRoute.ts +1 -0
- package/src/structures/ISwaggerDocument.ts +1 -1
|
@@ -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,
|
|
70
|
-
const $ao0 = (input,
|
|
71
|
-
path:
|
|
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(
|
|
75
|
-
path:
|
|
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,
|
|
79
|
-
path:
|
|
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,
|
|
83
|
-
path:
|
|
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(
|
|
87
|
-
path:
|
|
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,
|
|
91
|
-
path:
|
|
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(
|
|
95
|
-
path:
|
|
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(
|
|
99
|
-
path:
|
|
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(
|
|
103
|
-
path:
|
|
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,
|
|
107
|
-
const $ao1 = (input,
|
|
108
|
-
path:
|
|
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,
|
|
112
|
-
path:
|
|
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(
|
|
116
|
-
path:
|
|
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,
|
|
120
|
-
path:
|
|
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,
|
|
125
|
-
path:
|
|
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(
|
|
129
|
-
path:
|
|
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(
|
|
133
|
-
path:
|
|
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(
|
|
137
|
-
path:
|
|
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(
|
|
141
|
-
path:
|
|
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(
|
|
145
|
-
path:
|
|
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(
|
|
149
|
-
path:
|
|
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(
|
|
153
|
-
path:
|
|
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(
|
|
157
|
-
path:
|
|
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(
|
|
161
|
-
path:
|
|
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(
|
|
165
|
-
path:
|
|
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(
|
|
169
|
-
path:
|
|
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(
|
|
173
|
-
path:
|
|
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(
|
|
177
|
-
path:
|
|
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(
|
|
181
|
-
path:
|
|
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(
|
|
185
|
-
path:
|
|
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(
|
|
189
|
-
path:
|
|
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(
|
|
193
|
-
path:
|
|
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(
|
|
197
|
-
path:
|
|
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(
|
|
201
|
-
path:
|
|
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(
|
|
205
|
-
path:
|
|
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(
|
|
209
|
-
path:
|
|
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(
|
|
213
|
-
path:
|
|
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(
|
|
217
|
-
path:
|
|
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(
|
|
221
|
-
path:
|
|
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(
|
|
225
|
-
path:
|
|
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(
|
|
229
|
-
path:
|
|
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(
|
|
233
|
-
path:
|
|
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(
|
|
237
|
-
path:
|
|
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,
|
|
241
|
-
path:
|
|
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(
|
|
245
|
-
path:
|
|
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(
|
|
249
|
-
path:
|
|
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(
|
|
253
|
-
path:
|
|
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,
|
|
257
|
-
path:
|
|
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(
|
|
261
|
-
path:
|
|
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(
|
|
265
|
-
path:
|
|
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(
|
|
269
|
-
path:
|
|
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(
|
|
273
|
-
path:
|
|
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(
|
|
277
|
-
path:
|
|
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(
|
|
281
|
-
path:
|
|
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(
|
|
285
|
-
path:
|
|
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(
|
|
289
|
-
path:
|
|
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(
|
|
293
|
-
path:
|
|
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(
|
|
297
|
-
path:
|
|
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(
|
|
301
|
-
path:
|
|
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(
|
|
305
|
-
path:
|
|
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(
|
|
309
|
-
path:
|
|
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(
|
|
313
|
-
path:
|
|
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(
|
|
317
|
-
path:
|
|
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(
|
|
321
|
-
path:
|
|
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(
|
|
325
|
-
path:
|
|
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(
|
|
329
|
-
path:
|
|
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(
|
|
333
|
-
path:
|
|
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(
|
|
337
|
-
path:
|
|
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(
|
|
341
|
-
path:
|
|
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,
|
|
345
|
-
path:
|
|
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(
|
|
349
|
-
path:
|
|
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(
|
|
353
|
-
path:
|
|
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(
|
|
357
|
-
path:
|
|
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(
|
|
361
|
-
path:
|
|
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(
|
|
365
|
-
path:
|
|
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(
|
|
369
|
-
path:
|
|
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(
|
|
373
|
-
path:
|
|
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(
|
|
377
|
-
path:
|
|
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(
|
|
381
|
-
path:
|
|
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(
|
|
385
|
-
path:
|
|
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(
|
|
389
|
-
path:
|
|
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(
|
|
393
|
-
path:
|
|
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(
|
|
397
|
-
path:
|
|
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(
|
|
401
|
-
path:
|
|
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,
|
|
405
|
-
path:
|
|
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(
|
|
409
|
-
path:
|
|
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(
|
|
413
|
-
path:
|
|
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(
|
|
417
|
-
path:
|
|
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(
|
|
421
|
-
path:
|
|
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(
|
|
425
|
-
path:
|
|
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(
|
|
429
|
-
path:
|
|
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(
|
|
433
|
-
path:
|
|
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(
|
|
437
|
-
path:
|
|
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(
|
|
441
|
-
path:
|
|
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(
|
|
445
|
-
path:
|
|
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(
|
|
449
|
-
path:
|
|
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(
|
|
453
|
-
path:
|
|
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(
|
|
457
|
-
path:
|
|
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(
|
|
461
|
-
path:
|
|
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(
|
|
465
|
-
path:
|
|
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(
|
|
469
|
-
path:
|
|
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,
|
|
473
|
-
path:
|
|
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(
|
|
477
|
-
path:
|
|
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,
|
|
481
|
-
path:
|
|
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(
|
|
485
|
-
path:
|
|
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(
|
|
489
|
-
path:
|
|
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 ===
|
|
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,
|
|
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(
|
|
506
|
-
path:
|
|
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,
|
|
510
|
-
path:
|
|
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,
|
|
517
|
-
path:
|
|
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(
|
|
521
|
-
path:
|
|
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,
|
|
525
|
-
const $ao5 = (input,
|
|
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(
|
|
531
|
-
path:
|
|
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,
|
|
534
|
+
})) && $au0(value, _path + $join(key), true && _exceptionable);
|
|
535
535
|
return true;
|
|
536
536
|
});
|
|
537
|
-
const $ao6 = (input,
|
|
538
|
-
path:
|
|
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(
|
|
542
|
-
path:
|
|
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,
|
|
547
|
-
path:
|
|
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(
|
|
551
|
-
path:
|
|
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(
|
|
555
|
-
path:
|
|
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,
|
|
560
|
-
path:
|
|
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(
|
|
564
|
-
path:
|
|
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,
|
|
569
|
-
path:
|
|
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(
|
|
573
|
-
path:
|
|
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,
|
|
577
|
-
path:
|
|
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,
|
|
582
|
-
path:
|
|
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,
|
|
586
|
-
path:
|
|
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,
|
|
590
|
-
path:
|
|
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,
|
|
594
|
-
path:
|
|
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,
|
|
598
|
-
const $ao11 = (input,
|
|
599
|
-
path:
|
|
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(
|
|
603
|
-
path:
|
|
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(
|
|
607
|
-
path:
|
|
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(
|
|
611
|
-
path:
|
|
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,
|
|
615
|
-
const $ao12 = (input,
|
|
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(
|
|
621
|
-
path:
|
|
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,
|
|
628
|
-
path:
|
|
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(
|
|
632
|
-
path:
|
|
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(
|
|
636
|
-
path:
|
|
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,
|
|
640
|
-
const $ao14 = (input,
|
|
641
|
-
path:
|
|
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(
|
|
645
|
-
path:
|
|
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(
|
|
649
|
-
path:
|
|
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,
|
|
653
|
-
const $ao15 = (input,
|
|
654
|
-
path:
|
|
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(
|
|
658
|
-
path:
|
|
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(
|
|
662
|
-
path:
|
|
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,
|
|
666
|
+
const $au0 = (input, _path, _exceptionable = true) => (() => {
|
|
667
667
|
if (undefined !== input.schema)
|
|
668
|
-
return $ao6(input,
|
|
668
|
+
return $ao6(input, _path, true && _exceptionable);
|
|
669
669
|
if (undefined !== input.scheme)
|
|
670
|
-
return $ao7(input,
|
|
670
|
+
return $ao7(input, _path, true && _exceptionable);
|
|
671
671
|
if ("openIdConnect" === input.type)
|
|
672
|
-
return $ao8(input,
|
|
672
|
+
return $ao8(input, _path, true && _exceptionable);
|
|
673
673
|
if ("oauth2" === input.type)
|
|
674
|
-
return $ao9(input,
|
|
674
|
+
return $ao9(input, _path, true && _exceptionable);
|
|
675
675
|
if ("apiKey" === input.type)
|
|
676
|
-
return $ao15(input,
|
|
677
|
-
return $guard(
|
|
678
|
-
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:
|
|
684
|
+
path: _path + "",
|
|
685
685
|
expected: "Resolve<INestiaConfig>",
|
|
686
686
|
value: input
|
|
687
|
-
})) && $ao0(input,
|
|
687
|
+
})) && $ao0(input, _path + "", true);
|
|
688
688
|
})(input, "$input", true);
|
|
689
689
|
return input;
|
|
690
690
|
})(cloned);
|