nestia 3.0.6 → 3.0.7

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.
@@ -317,7 +317,8 @@ var ReflectAnalyzer;
317
317
  function _Analyze_custom_parameter(param) {
318
318
  if (param.factory === undefined)
319
319
  return null;
320
- else if (param.factory.name === "EncryptedBody" ||
320
+ else if (param.factory.name === "TypedBody" ||
321
+ param.factory.name === "EncryptedBody" ||
321
322
  param.factory.name === "PlainBody") {
322
323
  return {
323
324
  category: "body",
@@ -1 +1 @@
1
- {"version":3,"file":"ReflectAnalyzer.js","sourceRoot":"","sources":["../../src/analyses/ReflectAnalyzer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,6CAA2C;AAE3C,gDAA+C;AAC/C,kDAAiD;AASjD,IAAiB,eAAe,CAqQ/B;AArQD,WAAiB,eAAe;IAC5B,SAAsB,OAAO,CACzB,MAAoB,EACpB,IAAY;;;;;;4BAEY,sFAAa,IAAI,QAAC;;wBAApC,MAAM,GAAY,SAAkB;wBACpC,GAAG,GAAkB,EAAE,CAAC;;4BAE9B,KAAoB,KAAA,SAAA,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA,4CAAE;gCAAjC,KAAK;gCACZ,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;oCAAE,SAAS;;oCAC9B,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;gCAEpB,UAAU,GAAuB,mBAAmB,8BACtD,IAAI,UACD,KAAK,UACX,CAAC;gCACF,IAAI,UAAU,KAAK,IAAI;oCAAE,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;6BACjD;;;;;;;;;wBACD,sBAAO,GAAG,EAAC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C,KAAK;gBAClB,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,KAAK,EAAE,KAAK,CAAC,IAAI;gBACjB,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,eAAe;aACpD,CAAC;SACL;aAAM,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,YAAY;YAC1C,OAAO;gBACH,IAAI,EAAE,KAAK,CAAC,IAAI;gBAChB,QAAQ,EAAE,OAAO;gBACjB,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,KAAK,EAAE,KAAK,CAAC,IAAI;gBACjB,SAAS,EAAE,KAAK;aACnB,CAAC;;YACD,OAAO,IAAI,CAAC;IACrB,CAAC;IAaD,IAAM,oBAAoB,GAAG;QACzB,SAAS;QACT,SAAS;QACT,SAAS;QACT,MAAM;QACN,OAAO;QACP,OAAO;QACP,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;QACT,SAAS;KACH,CAAC;AACf,CAAC,EAtQgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAsQ/B"}
@@ -97,394 +97,435 @@ var NestiaConfig;
97
97
  config = typeof loaded.default === "object" ? loaded.default : loaded;
98
98
  return [2 /*return*/, (function (input) { (function (input, path) {
99
99
  if (path === void 0) { path = "$input"; }
100
+ var $pred = typescript_json_1.assertType.predicate;
100
101
  var $ao = [
101
- function (input, path, exceptionable) { return null !== input.input && undefined !== input.input && ("string" === typeof input.input || Array.isArray(input.input) && input.input.every(function (elem, index6213649304236819) { return "string" === typeof elem; }) || "object" === typeof input.input && $ao[1](input.input, path + ".input", false && exceptionable)) && (function () {
102
- var success = undefined === input.output || "string" === typeof input.output;
103
- if (success === false && exceptionable === true)
104
- throw new typescript_json_1.assertType.TypeGuardError({
105
- method: "assertType",
106
- path: path + ".output",
107
- expected: "(string | undefined)",
108
- value: input.output
109
- });
110
- return success;
111
- })() && (function () {
112
- var success = null !== input.compilerOptions && (undefined === input.compilerOptions || "object" === typeof input.compilerOptions && $ao[2](input.compilerOptions, path + ".compilerOptions", true && exceptionable));
113
- if (success === false && exceptionable === true)
114
- throw new typescript_json_1.assertType.TypeGuardError({
115
- method: "assertType",
116
- path: path + ".compilerOptions",
117
- expected: "(Resolve<ts.CompilerOptions> | undefined)",
118
- value: input.compilerOptions
119
- });
120
- return success;
121
- })() && (undefined === input.assert || false === input.assert || true === input.assert) && (undefined === input.json || false === input.json || true === input.json) && (function () {
122
- var success = null !== input.swagger && (undefined === input.swagger || "object" === typeof input.swagger && $ao[4](input.swagger, path + ".swagger", true && exceptionable));
123
- if (success === false && exceptionable === true)
124
- throw new typescript_json_1.assertType.TypeGuardError({
125
- method: "assertType",
126
- path: path + ".swagger",
127
- expected: "(Resolve<IConfiguration.ISwagger> | undefined)",
128
- value: input.swagger
129
- });
130
- return success;
131
- })(); },
132
- function (input, path, exceptionable) { return (function () {
133
- var success = Array.isArray(input.include) && input.include.every(function (elem, index5449737623551241) { return (function () {
134
- var success = "string" === typeof elem;
135
- if (success === false && exceptionable === true)
136
- throw new typescript_json_1.assertType.TypeGuardError({
137
- method: "assertType",
138
- path: path + ".include[" + index5449737623551241 + "]",
139
- expected: "string",
140
- value: elem
141
- });
142
- return success;
143
- })(); });
144
- if (success === false && exceptionable === true)
145
- throw new typescript_json_1.assertType.TypeGuardError({
146
- method: "assertType",
147
- path: path + ".include",
148
- expected: "Array<string}>",
149
- value: input.include
150
- });
151
- return success;
152
- })() && (function () {
153
- var success = undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(function (elem, index35274473525319516) { return (function () {
154
- var success = "string" === typeof elem;
155
- if (success === false && exceptionable === true)
156
- throw new typescript_json_1.assertType.TypeGuardError({
157
- method: "assertType",
158
- path: path + ".exclude[" + index35274473525319516 + "]",
159
- expected: "string",
160
- value: elem
161
- });
162
- return success;
163
- })(); });
164
- if (success === false && exceptionable === true)
165
- throw new typescript_json_1.assertType.TypeGuardError({
166
- method: "assertType",
167
- path: path + ".exclude",
168
- expected: "(Array<string}> | undefined)",
169
- value: input.exclude
170
- });
171
- return success;
172
- })(); },
173
- function (input, path, exceptionable) { return (undefined === input.allowJs || false === input.allowJs || true === input.allowJs) && (undefined === input.allowSyntheticDefaultImports || false === input.allowSyntheticDefaultImports || true === input.allowSyntheticDefaultImports) && (undefined === input.allowUmdGlobalAccess || false === input.allowUmdGlobalAccess || true === input.allowUmdGlobalAccess) && (undefined === input.allowUnreachableCode || false === input.allowUnreachableCode || true === input.allowUnreachableCode) && (undefined === input.allowUnusedLabels || false === input.allowUnusedLabels || true === input.allowUnusedLabels) && (undefined === input.alwaysStrict || false === input.alwaysStrict || true === input.alwaysStrict) && (function () {
174
- var success = undefined === input.baseUrl || "string" === typeof input.baseUrl;
175
- if (success === false && exceptionable === true)
176
- throw new typescript_json_1.assertType.TypeGuardError({
177
- method: "assertType",
178
- path: path + ".baseUrl",
179
- expected: "(string | undefined)",
180
- value: input.baseUrl
181
- });
182
- return success;
183
- })() && (function () {
184
- var success = undefined === input.charset || "string" === typeof input.charset;
185
- if (success === false && exceptionable === true)
186
- throw new typescript_json_1.assertType.TypeGuardError({
187
- method: "assertType",
188
- path: path + ".charset",
189
- expected: "(string | undefined)",
190
- value: input.charset
191
- });
192
- return success;
193
- })() && (undefined === input.checkJs || false === input.checkJs || true === input.checkJs) && (undefined === input.declaration || false === input.declaration || true === input.declaration) && (undefined === input.declarationMap || false === input.declarationMap || true === input.declarationMap) && (undefined === input.emitDeclarationOnly || false === input.emitDeclarationOnly || true === input.emitDeclarationOnly) && (function () {
194
- var success = undefined === input.declarationDir || "string" === typeof input.declarationDir;
195
- if (success === false && exceptionable === true)
196
- throw new typescript_json_1.assertType.TypeGuardError({
197
- method: "assertType",
198
- path: path + ".declarationDir",
199
- expected: "(string | undefined)",
200
- value: input.declarationDir
201
- });
202
- return success;
203
- })() && (undefined === input.disableSizeLimit || false === input.disableSizeLimit || true === input.disableSizeLimit) && (undefined === input.disableSourceOfProjectReferenceRedirect || false === input.disableSourceOfProjectReferenceRedirect || true === input.disableSourceOfProjectReferenceRedirect) && (undefined === input.disableSolutionSearching || false === input.disableSolutionSearching || true === input.disableSolutionSearching) && (undefined === input.disableReferencedProjectLoad || false === input.disableReferencedProjectLoad || true === input.disableReferencedProjectLoad) && (undefined === input.downlevelIteration || false === input.downlevelIteration || true === input.downlevelIteration) && (undefined === input.emitBOM || false === input.emitBOM || true === input.emitBOM) && (undefined === input.emitDecoratorMetadata || false === input.emitDecoratorMetadata || true === input.emitDecoratorMetadata) && (undefined === input.exactOptionalPropertyTypes || false === input.exactOptionalPropertyTypes || true === input.exactOptionalPropertyTypes) && (undefined === input.experimentalDecorators || false === input.experimentalDecorators || true === input.experimentalDecorators) && (undefined === input.forceConsistentCasingInFileNames || false === input.forceConsistentCasingInFileNames || true === input.forceConsistentCasingInFileNames) && (undefined === input.importHelpers || false === input.importHelpers || true === input.importHelpers) && (undefined === input.importsNotUsedAsValues || 0 === input.importsNotUsedAsValues || 1 === input.importsNotUsedAsValues || 2 === input.importsNotUsedAsValues) && (undefined === input.inlineSourceMap || false === input.inlineSourceMap || true === input.inlineSourceMap) && (undefined === input.inlineSources || false === input.inlineSources || true === input.inlineSources) && (undefined === input.isolatedModules || false === input.isolatedModules || true === input.isolatedModules) && (undefined === input.jsx || 0 === input.jsx || 1 === input.jsx || 2 === input.jsx || 3 === input.jsx || 4 === input.jsx || 5 === input.jsx) && (undefined === input.keyofStringsOnly || false === input.keyofStringsOnly || true === input.keyofStringsOnly) && (function () {
204
- var success = undefined === input.lib || Array.isArray(input.lib) && input.lib.every(function (elem, index37655397582355143) { return (function () {
205
- var success = "string" === typeof elem;
206
- if (success === false && exceptionable === true)
207
- throw new typescript_json_1.assertType.TypeGuardError({
208
- method: "assertType",
209
- path: path + ".lib[" + index37655397582355143 + "]",
210
- expected: "string",
211
- value: elem
212
- });
213
- return success;
214
- })(); });
215
- if (success === false && exceptionable === true)
216
- throw new typescript_json_1.assertType.TypeGuardError({
217
- method: "assertType",
218
- path: path + ".lib",
219
- expected: "(Array<string}> | undefined)",
220
- value: input.lib
221
- });
222
- return success;
223
- })() && (function () {
224
- var success = undefined === input.locale || "string" === typeof input.locale;
225
- if (success === false && exceptionable === true)
226
- throw new typescript_json_1.assertType.TypeGuardError({
227
- method: "assertType",
228
- path: path + ".locale",
229
- expected: "(string | undefined)",
230
- value: input.locale
231
- });
232
- return success;
233
- })() && (function () {
234
- var success = undefined === input.mapRoot || "string" === typeof input.mapRoot;
235
- if (success === false && exceptionable === true)
236
- throw new typescript_json_1.assertType.TypeGuardError({
237
- method: "assertType",
238
- path: path + ".mapRoot",
239
- expected: "(string | undefined)",
240
- value: input.mapRoot
241
- });
242
- return success;
243
- })() && (function () {
244
- var success = undefined === input.maxNodeModuleJsDepth || "number" === typeof input.maxNodeModuleJsDepth && Number.isFinite(input.maxNodeModuleJsDepth) && !Number.isNaN(input.maxNodeModuleJsDepth);
245
- if (success === false && exceptionable === true)
246
- throw new typescript_json_1.assertType.TypeGuardError({
247
- method: "assertType",
248
- path: path + ".maxNodeModuleJsDepth",
249
- expected: "(number | undefined)",
250
- value: input.maxNodeModuleJsDepth
251
- });
252
- return success;
253
- })() && (undefined === input.module || 0 === input.module || 1 === input.module || 2 === input.module || 3 === input.module || 4 === input.module || 5 === input.module || 6 === input.module || 7 === input.module || 99 === input.module || 100 === input.module || 199 === input.module) && (undefined === input.moduleResolution || 1 === input.moduleResolution || 2 === input.moduleResolution || 3 === input.moduleResolution || 99 === input.moduleResolution) && (function () {
254
- var success = undefined === input.moduleSuffixes || Array.isArray(input.moduleSuffixes) && input.moduleSuffixes.every(function (elem, index3099216769909823) { return (function () {
255
- var success = "string" === typeof elem;
256
- if (success === false && exceptionable === true)
257
- throw new typescript_json_1.assertType.TypeGuardError({
258
- method: "assertType",
259
- path: path + ".moduleSuffixes[" + index3099216769909823 + "]",
260
- expected: "string",
261
- value: elem
262
- });
263
- return success;
264
- })(); });
265
- if (success === false && exceptionable === true)
266
- throw new typescript_json_1.assertType.TypeGuardError({
267
- method: "assertType",
268
- path: path + ".moduleSuffixes",
269
- expected: "(Array<string}> | undefined)",
270
- value: input.moduleSuffixes
271
- });
272
- return success;
273
- })() && (undefined === input.moduleDetection || 1 === input.moduleDetection || 2 === input.moduleDetection || 3 === input.moduleDetection) && (undefined === input.newLine || 0 === input.newLine || 1 === input.newLine) && (undefined === input.noEmit || false === input.noEmit || true === input.noEmit) && (undefined === input.noEmitHelpers || false === input.noEmitHelpers || true === input.noEmitHelpers) && (undefined === input.noEmitOnError || false === input.noEmitOnError || true === input.noEmitOnError) && (undefined === input.noErrorTruncation || false === input.noErrorTruncation || true === input.noErrorTruncation) && (undefined === input.noFallthroughCasesInSwitch || false === input.noFallthroughCasesInSwitch || true === input.noFallthroughCasesInSwitch) && (undefined === input.noImplicitAny || false === input.noImplicitAny || true === input.noImplicitAny) && (undefined === input.noImplicitReturns || false === input.noImplicitReturns || true === input.noImplicitReturns) && (undefined === input.noImplicitThis || false === input.noImplicitThis || true === input.noImplicitThis) && (undefined === input.noStrictGenericChecks || false === input.noStrictGenericChecks || true === input.noStrictGenericChecks) && (undefined === input.noUnusedLocals || false === input.noUnusedLocals || true === input.noUnusedLocals) && (undefined === input.noUnusedParameters || false === input.noUnusedParameters || true === input.noUnusedParameters) && (undefined === input.noImplicitUseStrict || false === input.noImplicitUseStrict || true === input.noImplicitUseStrict) && (undefined === input.noPropertyAccessFromIndexSignature || false === input.noPropertyAccessFromIndexSignature || true === input.noPropertyAccessFromIndexSignature) && (undefined === input.assumeChangesOnlyAffectDirectDependencies || false === input.assumeChangesOnlyAffectDirectDependencies || true === input.assumeChangesOnlyAffectDirectDependencies) && (undefined === input.noLib || false === input.noLib || true === input.noLib) && (undefined === input.noResolve || false === input.noResolve || true === input.noResolve) && (undefined === input.noUncheckedIndexedAccess || false === input.noUncheckedIndexedAccess || true === input.noUncheckedIndexedAccess) && (function () {
274
- var success = undefined === input.out || "string" === typeof input.out;
275
- if (success === false && exceptionable === true)
276
- throw new typescript_json_1.assertType.TypeGuardError({
277
- method: "assertType",
278
- path: path + ".out",
279
- expected: "(string | undefined)",
280
- value: input.out
281
- });
282
- return success;
283
- })() && (function () {
284
- var success = undefined === input.outDir || "string" === typeof input.outDir;
285
- if (success === false && exceptionable === true)
286
- throw new typescript_json_1.assertType.TypeGuardError({
287
- method: "assertType",
288
- path: path + ".outDir",
289
- expected: "(string | undefined)",
290
- value: input.outDir
291
- });
292
- return success;
293
- })() && (function () {
294
- var success = undefined === input.outFile || "string" === typeof input.outFile;
295
- if (success === false && exceptionable === true)
296
- throw new typescript_json_1.assertType.TypeGuardError({
297
- method: "assertType",
298
- path: path + ".outFile",
299
- expected: "(string | undefined)",
300
- value: input.outFile
301
- });
302
- return success;
303
- })() && (function () {
304
- var success = null !== input.paths && (undefined === input.paths || "object" === typeof input.paths && $ao[3](input.paths, path + ".paths", true && exceptionable));
305
- if (success === false && exceptionable === true)
306
- throw new typescript_json_1.assertType.TypeGuardError({
307
- method: "assertType",
308
- path: path + ".paths",
309
- expected: "(Resolve<ts.MapLike<Array<string>>> | undefined)",
310
- value: input.paths
311
- });
312
- return success;
313
- })() && (undefined === input.preserveConstEnums || false === input.preserveConstEnums || true === input.preserveConstEnums) && (undefined === input.noImplicitOverride || false === input.noImplicitOverride || true === input.noImplicitOverride) && (undefined === input.preserveSymlinks || false === input.preserveSymlinks || true === input.preserveSymlinks) && (undefined === input.preserveValueImports || false === input.preserveValueImports || true === input.preserveValueImports) && (function () {
314
- var success = undefined === input.project || "string" === typeof input.project;
315
- if (success === false && exceptionable === true)
316
- throw new typescript_json_1.assertType.TypeGuardError({
317
- method: "assertType",
318
- path: path + ".project",
319
- expected: "(string | undefined)",
320
- value: input.project
321
- });
322
- return success;
323
- })() && (function () {
324
- var success = undefined === input.reactNamespace || "string" === typeof input.reactNamespace;
325
- if (success === false && exceptionable === true)
326
- throw new typescript_json_1.assertType.TypeGuardError({
327
- method: "assertType",
328
- path: path + ".reactNamespace",
329
- expected: "(string | undefined)",
330
- value: input.reactNamespace
331
- });
332
- return success;
333
- })() && (function () {
334
- var success = undefined === input.jsxFactory || "string" === typeof input.jsxFactory;
335
- if (success === false && exceptionable === true)
336
- throw new typescript_json_1.assertType.TypeGuardError({
337
- method: "assertType",
338
- path: path + ".jsxFactory",
339
- expected: "(string | undefined)",
340
- value: input.jsxFactory
341
- });
342
- return success;
343
- })() && (function () {
344
- var success = undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory;
345
- if (success === false && exceptionable === true)
346
- throw new typescript_json_1.assertType.TypeGuardError({
347
- method: "assertType",
348
- path: path + ".jsxFragmentFactory",
349
- expected: "(string | undefined)",
350
- value: input.jsxFragmentFactory
351
- });
352
- return success;
353
- })() && (function () {
354
- var success = undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource;
355
- if (success === false && exceptionable === true)
356
- throw new typescript_json_1.assertType.TypeGuardError({
357
- method: "assertType",
358
- path: path + ".jsxImportSource",
359
- expected: "(string | undefined)",
360
- value: input.jsxImportSource
361
- });
362
- return success;
363
- })() && (undefined === input.composite || false === input.composite || true === input.composite) && (undefined === input.incremental || false === input.incremental || true === input.incremental) && (function () {
364
- var success = undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile;
365
- if (success === false && exceptionable === true)
366
- throw new typescript_json_1.assertType.TypeGuardError({
367
- method: "assertType",
368
- path: path + ".tsBuildInfoFile",
369
- expected: "(string | undefined)",
370
- value: input.tsBuildInfoFile
371
- });
372
- return success;
373
- })() && (undefined === input.removeComments || false === input.removeComments || true === input.removeComments) && (function () {
374
- var success = undefined === input.rootDir || "string" === typeof input.rootDir;
375
- if (success === false && exceptionable === true)
376
- throw new typescript_json_1.assertType.TypeGuardError({
377
- method: "assertType",
378
- path: path + ".rootDir",
379
- expected: "(string | undefined)",
380
- value: input.rootDir
381
- });
382
- return success;
383
- })() && (function () {
384
- var success = undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every(function (elem, index9198562820846912) { return (function () {
385
- var success = "string" === typeof elem;
386
- if (success === false && exceptionable === true)
387
- throw new typescript_json_1.assertType.TypeGuardError({
388
- method: "assertType",
389
- path: path + ".rootDirs[" + index9198562820846912 + "]",
390
- expected: "string",
391
- value: elem
392
- });
393
- return success;
394
- })(); });
395
- if (success === false && exceptionable === true)
396
- throw new typescript_json_1.assertType.TypeGuardError({
397
- method: "assertType",
398
- path: path + ".rootDirs",
399
- expected: "(Array<string}> | undefined)",
400
- value: input.rootDirs
401
- });
402
- return success;
403
- })() && (undefined === input.skipLibCheck || false === input.skipLibCheck || true === input.skipLibCheck) && (undefined === input.skipDefaultLibCheck || false === input.skipDefaultLibCheck || true === input.skipDefaultLibCheck) && (undefined === input.sourceMap || false === input.sourceMap || true === input.sourceMap) && (function () {
404
- var success = undefined === input.sourceRoot || "string" === typeof input.sourceRoot;
405
- if (success === false && exceptionable === true)
406
- throw new typescript_json_1.assertType.TypeGuardError({
407
- method: "assertType",
408
- path: path + ".sourceRoot",
409
- expected: "(string | undefined)",
410
- value: input.sourceRoot
411
- });
412
- return success;
413
- })() && (undefined === input.strict || false === input.strict || true === input.strict) && (undefined === input.strictFunctionTypes || false === input.strictFunctionTypes || true === input.strictFunctionTypes) && (undefined === input.strictBindCallApply || false === input.strictBindCallApply || true === input.strictBindCallApply) && (undefined === input.strictNullChecks || false === input.strictNullChecks || true === input.strictNullChecks) && (undefined === input.strictPropertyInitialization || false === input.strictPropertyInitialization || true === input.strictPropertyInitialization) && (undefined === input.stripInternal || false === input.stripInternal || true === input.stripInternal) && (undefined === input.suppressExcessPropertyErrors || false === input.suppressExcessPropertyErrors || true === input.suppressExcessPropertyErrors) && (undefined === input.suppressImplicitAnyIndexErrors || false === input.suppressImplicitAnyIndexErrors || true === input.suppressImplicitAnyIndexErrors) && (undefined === input.target || 0 === input.target || 1 === input.target || 2 === input.target || 3 === input.target || 4 === input.target || 5 === input.target || 6 === input.target || 7 === input.target || 8 === input.target || 9 === input.target || 99 === input.target || 100 === input.target) && (undefined === input.traceResolution || false === input.traceResolution || true === input.traceResolution) && (undefined === input.useUnknownInCatchVariables || false === input.useUnknownInCatchVariables || true === input.useUnknownInCatchVariables) && (undefined === input.resolveJsonModule || false === input.resolveJsonModule || true === input.resolveJsonModule) && (function () {
414
- var success = undefined === input.types || Array.isArray(input.types) && input.types.every(function (elem, index16481406153916334) { return (function () {
415
- var success = "string" === typeof elem;
416
- if (success === false && exceptionable === true)
417
- throw new typescript_json_1.assertType.TypeGuardError({
418
- method: "assertType",
419
- path: path + ".types[" + index16481406153916334 + "]",
420
- expected: "string",
421
- value: elem
422
- });
423
- return success;
424
- })(); });
425
- if (success === false && exceptionable === true)
426
- throw new typescript_json_1.assertType.TypeGuardError({
427
- method: "assertType",
428
- path: path + ".types",
429
- expected: "(Array<string}> | undefined)",
430
- value: input.types
431
- });
432
- return success;
433
- })() && (function () {
434
- var success = undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every(function (elem, index2972702446049107) { return (function () {
435
- var success = "string" === typeof elem;
436
- if (success === false && exceptionable === true)
437
- throw new typescript_json_1.assertType.TypeGuardError({
438
- method: "assertType",
439
- path: path + ".typeRoots[" + index2972702446049107 + "]",
440
- expected: "string",
441
- value: elem
442
- });
443
- return success;
444
- })(); });
445
- if (success === false && exceptionable === true)
446
- throw new typescript_json_1.assertType.TypeGuardError({
447
- method: "assertType",
448
- path: path + ".typeRoots",
449
- expected: "(Array<string}> | undefined)",
450
- value: input.typeRoots
451
- });
452
- return success;
453
- })() && (undefined === input.esModuleInterop || false === input.esModuleInterop || true === input.esModuleInterop) && (undefined === input.useDefineForClassFields || false === input.useDefineForClassFields || true === input.useDefineForClassFields); },
102
+ function (input, path, exceptionable) { return null !== input.input && undefined !== input.input && ("string" === typeof input.input || Array.isArray(input.input) && input.input.every(function (elem, index05796402616247409) { return "string" === typeof elem; }) || "object" === typeof input.input && null !== input.input && $ao[1](input.input, path + ".input", false && exceptionable)) && $pred(undefined === input.output || "string" === typeof input.output, exceptionable, function () { return ({
103
+ path: path + ".output",
104
+ expected: "(string | undefined)",
105
+ value: input.output
106
+ }); }) && $pred(null !== input.compilerOptions && (undefined === input.compilerOptions || "object" === typeof input.compilerOptions && null !== input.compilerOptions && !Array.isArray(input.compilerOptions) && $ao[2](input.compilerOptions, path + ".compilerOptions", true && exceptionable)), exceptionable, function () { return ({
107
+ path: path + ".compilerOptions",
108
+ expected: "(Resolve<ts.CompilerOptions> | undefined)",
109
+ value: input.compilerOptions
110
+ }); }) && $pred(undefined === input.assert || "boolean" === typeof input.assert, exceptionable, function () { return ({
111
+ path: path + ".assert",
112
+ expected: "(boolean | undefined)",
113
+ value: input.assert
114
+ }); }) && $pred(undefined === input.json || "boolean" === typeof input.json, exceptionable, function () { return ({
115
+ path: path + ".json",
116
+ expected: "(boolean | undefined)",
117
+ value: input.json
118
+ }); }) && $pred(null !== input.swagger && (undefined === input.swagger || "object" === typeof input.swagger && null !== input.swagger && !Array.isArray(input.swagger) && $ao[4](input.swagger, path + ".swagger", true && exceptionable)), exceptionable, function () { return ({
119
+ path: path + ".swagger",
120
+ expected: "(Resolve<IConfiguration.ISwagger> | undefined)",
121
+ value: input.swagger
122
+ }); }); },
123
+ function (input, path, exceptionable) { return $pred(Array.isArray(input.include) && input.include.every(function (elem, index19074711236001196) { return $pred("string" === typeof elem, exceptionable, function () { return ({
124
+ path: path + ".include[" + index19074711236001196 + "]",
125
+ expected: "string",
126
+ value: elem
127
+ }); }); }), exceptionable, function () { return ({
128
+ path: path + ".include",
129
+ expected: "Array<string>",
130
+ value: input.include
131
+ }); }) && $pred(undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(function (elem, index51954671508323) { return $pred("string" === typeof elem, exceptionable, function () { return ({
132
+ path: path + ".exclude[" + index51954671508323 + "]",
133
+ expected: "string",
134
+ value: elem
135
+ }); }); }), exceptionable, function () { return ({
136
+ path: path + ".exclude",
137
+ expected: "(Array<string> | undefined)",
138
+ value: input.exclude
139
+ }); }); },
140
+ function (input, path, exceptionable) { return $pred(undefined === input.allowJs || "boolean" === typeof input.allowJs, exceptionable, function () { return ({
141
+ path: path + ".allowJs",
142
+ expected: "(boolean | undefined)",
143
+ value: input.allowJs
144
+ }); }) && $pred(undefined === input.allowSyntheticDefaultImports || "boolean" === typeof input.allowSyntheticDefaultImports, exceptionable, function () { return ({
145
+ path: path + ".allowSyntheticDefaultImports",
146
+ expected: "(boolean | undefined)",
147
+ value: input.allowSyntheticDefaultImports
148
+ }); }) && $pred(undefined === input.allowUmdGlobalAccess || "boolean" === typeof input.allowUmdGlobalAccess, exceptionable, function () { return ({
149
+ path: path + ".allowUmdGlobalAccess",
150
+ expected: "(boolean | undefined)",
151
+ value: input.allowUmdGlobalAccess
152
+ }); }) && $pred(undefined === input.allowUnreachableCode || "boolean" === typeof input.allowUnreachableCode, exceptionable, function () { return ({
153
+ path: path + ".allowUnreachableCode",
154
+ expected: "(boolean | undefined)",
155
+ value: input.allowUnreachableCode
156
+ }); }) && $pred(undefined === input.allowUnusedLabels || "boolean" === typeof input.allowUnusedLabels, exceptionable, function () { return ({
157
+ path: path + ".allowUnusedLabels",
158
+ expected: "(boolean | undefined)",
159
+ value: input.allowUnusedLabels
160
+ }); }) && $pred(undefined === input.alwaysStrict || "boolean" === typeof input.alwaysStrict, exceptionable, function () { return ({
161
+ path: path + ".alwaysStrict",
162
+ expected: "(boolean | undefined)",
163
+ value: input.alwaysStrict
164
+ }); }) && $pred(undefined === input.baseUrl || "string" === typeof input.baseUrl, exceptionable, function () { return ({
165
+ path: path + ".baseUrl",
166
+ expected: "(string | undefined)",
167
+ value: input.baseUrl
168
+ }); }) && $pred(undefined === input.charset || "string" === typeof input.charset, exceptionable, function () { return ({
169
+ path: path + ".charset",
170
+ expected: "(string | undefined)",
171
+ value: input.charset
172
+ }); }) && $pred(undefined === input.checkJs || "boolean" === typeof input.checkJs, exceptionable, function () { return ({
173
+ path: path + ".checkJs",
174
+ expected: "(boolean | undefined)",
175
+ value: input.checkJs
176
+ }); }) && $pred(undefined === input.declaration || "boolean" === typeof input.declaration, exceptionable, function () { return ({
177
+ path: path + ".declaration",
178
+ expected: "(boolean | undefined)",
179
+ value: input.declaration
180
+ }); }) && $pred(undefined === input.declarationMap || "boolean" === typeof input.declarationMap, exceptionable, function () { return ({
181
+ path: path + ".declarationMap",
182
+ expected: "(boolean | undefined)",
183
+ value: input.declarationMap
184
+ }); }) && $pred(undefined === input.emitDeclarationOnly || "boolean" === typeof input.emitDeclarationOnly, exceptionable, function () { return ({
185
+ path: path + ".emitDeclarationOnly",
186
+ expected: "(boolean | undefined)",
187
+ value: input.emitDeclarationOnly
188
+ }); }) && $pred(undefined === input.declarationDir || "string" === typeof input.declarationDir, exceptionable, function () { return ({
189
+ path: path + ".declarationDir",
190
+ expected: "(string | undefined)",
191
+ value: input.declarationDir
192
+ }); }) && $pred(undefined === input.disableSizeLimit || "boolean" === typeof input.disableSizeLimit, exceptionable, function () { return ({
193
+ path: path + ".disableSizeLimit",
194
+ expected: "(boolean | undefined)",
195
+ value: input.disableSizeLimit
196
+ }); }) && $pred(undefined === input.disableSourceOfProjectReferenceRedirect || "boolean" === typeof input.disableSourceOfProjectReferenceRedirect, exceptionable, function () { return ({
197
+ path: path + ".disableSourceOfProjectReferenceRedirect",
198
+ expected: "(boolean | undefined)",
199
+ value: input.disableSourceOfProjectReferenceRedirect
200
+ }); }) && $pred(undefined === input.disableSolutionSearching || "boolean" === typeof input.disableSolutionSearching, exceptionable, function () { return ({
201
+ path: path + ".disableSolutionSearching",
202
+ expected: "(boolean | undefined)",
203
+ value: input.disableSolutionSearching
204
+ }); }) && $pred(undefined === input.disableReferencedProjectLoad || "boolean" === typeof input.disableReferencedProjectLoad, exceptionable, function () { return ({
205
+ path: path + ".disableReferencedProjectLoad",
206
+ expected: "(boolean | undefined)",
207
+ value: input.disableReferencedProjectLoad
208
+ }); }) && $pred(undefined === input.downlevelIteration || "boolean" === typeof input.downlevelIteration, exceptionable, function () { return ({
209
+ path: path + ".downlevelIteration",
210
+ expected: "(boolean | undefined)",
211
+ value: input.downlevelIteration
212
+ }); }) && $pred(undefined === input.emitBOM || "boolean" === typeof input.emitBOM, exceptionable, function () { return ({
213
+ path: path + ".emitBOM",
214
+ expected: "(boolean | undefined)",
215
+ value: input.emitBOM
216
+ }); }) && $pred(undefined === input.emitDecoratorMetadata || "boolean" === typeof input.emitDecoratorMetadata, exceptionable, function () { return ({
217
+ path: path + ".emitDecoratorMetadata",
218
+ expected: "(boolean | undefined)",
219
+ value: input.emitDecoratorMetadata
220
+ }); }) && $pred(undefined === input.exactOptionalPropertyTypes || "boolean" === typeof input.exactOptionalPropertyTypes, exceptionable, function () { return ({
221
+ path: path + ".exactOptionalPropertyTypes",
222
+ expected: "(boolean | undefined)",
223
+ value: input.exactOptionalPropertyTypes
224
+ }); }) && $pred(undefined === input.experimentalDecorators || "boolean" === typeof input.experimentalDecorators, exceptionable, function () { return ({
225
+ path: path + ".experimentalDecorators",
226
+ expected: "(boolean | undefined)",
227
+ value: input.experimentalDecorators
228
+ }); }) && $pred(undefined === input.forceConsistentCasingInFileNames || "boolean" === typeof input.forceConsistentCasingInFileNames, exceptionable, function () { return ({
229
+ path: path + ".forceConsistentCasingInFileNames",
230
+ expected: "(boolean | undefined)",
231
+ value: input.forceConsistentCasingInFileNames
232
+ }); }) && $pred(undefined === input.importHelpers || "boolean" === typeof input.importHelpers, exceptionable, function () { return ({
233
+ path: path + ".importHelpers",
234
+ expected: "(boolean | undefined)",
235
+ value: input.importHelpers
236
+ }); }) && (undefined === input.importsNotUsedAsValues || 0 === input.importsNotUsedAsValues || 1 === input.importsNotUsedAsValues || 2 === input.importsNotUsedAsValues) && $pred(undefined === input.inlineSourceMap || "boolean" === typeof input.inlineSourceMap, exceptionable, function () { return ({
237
+ path: path + ".inlineSourceMap",
238
+ expected: "(boolean | undefined)",
239
+ value: input.inlineSourceMap
240
+ }); }) && $pred(undefined === input.inlineSources || "boolean" === typeof input.inlineSources, exceptionable, function () { return ({
241
+ path: path + ".inlineSources",
242
+ expected: "(boolean | undefined)",
243
+ value: input.inlineSources
244
+ }); }) && $pred(undefined === input.isolatedModules || "boolean" === typeof input.isolatedModules, exceptionable, function () { return ({
245
+ path: path + ".isolatedModules",
246
+ expected: "(boolean | undefined)",
247
+ value: input.isolatedModules
248
+ }); }) && (undefined === input.jsx || 0 === input.jsx || 1 === input.jsx || 2 === input.jsx || 3 === input.jsx || 4 === input.jsx || 5 === input.jsx) && $pred(undefined === input.keyofStringsOnly || "boolean" === typeof input.keyofStringsOnly, exceptionable, function () { return ({
249
+ path: path + ".keyofStringsOnly",
250
+ expected: "(boolean | undefined)",
251
+ value: input.keyofStringsOnly
252
+ }); }) && $pred(undefined === input.lib || Array.isArray(input.lib) && input.lib.every(function (elem, index32275127213921406) { return $pred("string" === typeof elem, exceptionable, function () { return ({
253
+ path: path + ".lib[" + index32275127213921406 + "]",
254
+ expected: "string",
255
+ value: elem
256
+ }); }); }), exceptionable, function () { return ({
257
+ path: path + ".lib",
258
+ expected: "(Array<string> | undefined)",
259
+ value: input.lib
260
+ }); }) && $pred(undefined === input.locale || "string" === typeof input.locale, exceptionable, function () { return ({
261
+ path: path + ".locale",
262
+ expected: "(string | undefined)",
263
+ value: input.locale
264
+ }); }) && $pred(undefined === input.mapRoot || "string" === typeof input.mapRoot, exceptionable, function () { return ({
265
+ path: path + ".mapRoot",
266
+ expected: "(string | undefined)",
267
+ value: input.mapRoot
268
+ }); }) && $pred(undefined === input.maxNodeModuleJsDepth || "number" === typeof input.maxNodeModuleJsDepth && Number.isFinite(input.maxNodeModuleJsDepth) && !Number.isNaN(input.maxNodeModuleJsDepth), exceptionable, function () { return ({
269
+ path: path + ".maxNodeModuleJsDepth",
270
+ expected: "(number | undefined)",
271
+ value: input.maxNodeModuleJsDepth
272
+ }); }) && (undefined === input.module || 0 === input.module || 1 === input.module || 2 === input.module || 3 === input.module || 4 === input.module || 5 === input.module || 6 === input.module || 7 === input.module || 99 === input.module || 100 === input.module || 199 === input.module) && (undefined === input.moduleResolution || 1 === input.moduleResolution || 2 === input.moduleResolution || 3 === input.moduleResolution || 99 === input.moduleResolution) && $pred(undefined === input.moduleSuffixes || Array.isArray(input.moduleSuffixes) && input.moduleSuffixes.every(function (elem, index3030503513474394) { return $pred("string" === typeof elem, exceptionable, function () { return ({
273
+ path: path + ".moduleSuffixes[" + index3030503513474394 + "]",
274
+ expected: "string",
275
+ value: elem
276
+ }); }); }), exceptionable, function () { return ({
277
+ path: path + ".moduleSuffixes",
278
+ expected: "(Array<string> | undefined)",
279
+ value: input.moduleSuffixes
280
+ }); }) && (undefined === input.moduleDetection || 1 === input.moduleDetection || 2 === input.moduleDetection || 3 === input.moduleDetection) && (undefined === input.newLine || 0 === input.newLine || 1 === input.newLine) && $pred(undefined === input.noEmit || "boolean" === typeof input.noEmit, exceptionable, function () { return ({
281
+ path: path + ".noEmit",
282
+ expected: "(boolean | undefined)",
283
+ value: input.noEmit
284
+ }); }) && $pred(undefined === input.noEmitHelpers || "boolean" === typeof input.noEmitHelpers, exceptionable, function () { return ({
285
+ path: path + ".noEmitHelpers",
286
+ expected: "(boolean | undefined)",
287
+ value: input.noEmitHelpers
288
+ }); }) && $pred(undefined === input.noEmitOnError || "boolean" === typeof input.noEmitOnError, exceptionable, function () { return ({
289
+ path: path + ".noEmitOnError",
290
+ expected: "(boolean | undefined)",
291
+ value: input.noEmitOnError
292
+ }); }) && $pred(undefined === input.noErrorTruncation || "boolean" === typeof input.noErrorTruncation, exceptionable, function () { return ({
293
+ path: path + ".noErrorTruncation",
294
+ expected: "(boolean | undefined)",
295
+ value: input.noErrorTruncation
296
+ }); }) && $pred(undefined === input.noFallthroughCasesInSwitch || "boolean" === typeof input.noFallthroughCasesInSwitch, exceptionable, function () { return ({
297
+ path: path + ".noFallthroughCasesInSwitch",
298
+ expected: "(boolean | undefined)",
299
+ value: input.noFallthroughCasesInSwitch
300
+ }); }) && $pred(undefined === input.noImplicitAny || "boolean" === typeof input.noImplicitAny, exceptionable, function () { return ({
301
+ path: path + ".noImplicitAny",
302
+ expected: "(boolean | undefined)",
303
+ value: input.noImplicitAny
304
+ }); }) && $pred(undefined === input.noImplicitReturns || "boolean" === typeof input.noImplicitReturns, exceptionable, function () { return ({
305
+ path: path + ".noImplicitReturns",
306
+ expected: "(boolean | undefined)",
307
+ value: input.noImplicitReturns
308
+ }); }) && $pred(undefined === input.noImplicitThis || "boolean" === typeof input.noImplicitThis, exceptionable, function () { return ({
309
+ path: path + ".noImplicitThis",
310
+ expected: "(boolean | undefined)",
311
+ value: input.noImplicitThis
312
+ }); }) && $pred(undefined === input.noStrictGenericChecks || "boolean" === typeof input.noStrictGenericChecks, exceptionable, function () { return ({
313
+ path: path + ".noStrictGenericChecks",
314
+ expected: "(boolean | undefined)",
315
+ value: input.noStrictGenericChecks
316
+ }); }) && $pred(undefined === input.noUnusedLocals || "boolean" === typeof input.noUnusedLocals, exceptionable, function () { return ({
317
+ path: path + ".noUnusedLocals",
318
+ expected: "(boolean | undefined)",
319
+ value: input.noUnusedLocals
320
+ }); }) && $pred(undefined === input.noUnusedParameters || "boolean" === typeof input.noUnusedParameters, exceptionable, function () { return ({
321
+ path: path + ".noUnusedParameters",
322
+ expected: "(boolean | undefined)",
323
+ value: input.noUnusedParameters
324
+ }); }) && $pred(undefined === input.noImplicitUseStrict || "boolean" === typeof input.noImplicitUseStrict, exceptionable, function () { return ({
325
+ path: path + ".noImplicitUseStrict",
326
+ expected: "(boolean | undefined)",
327
+ value: input.noImplicitUseStrict
328
+ }); }) && $pred(undefined === input.noPropertyAccessFromIndexSignature || "boolean" === typeof input.noPropertyAccessFromIndexSignature, exceptionable, function () { return ({
329
+ path: path + ".noPropertyAccessFromIndexSignature",
330
+ expected: "(boolean | undefined)",
331
+ value: input.noPropertyAccessFromIndexSignature
332
+ }); }) && $pred(undefined === input.assumeChangesOnlyAffectDirectDependencies || "boolean" === typeof input.assumeChangesOnlyAffectDirectDependencies, exceptionable, function () { return ({
333
+ path: path + ".assumeChangesOnlyAffectDirectDependencies",
334
+ expected: "(boolean | undefined)",
335
+ value: input.assumeChangesOnlyAffectDirectDependencies
336
+ }); }) && $pred(undefined === input.noLib || "boolean" === typeof input.noLib, exceptionable, function () { return ({
337
+ path: path + ".noLib",
338
+ expected: "(boolean | undefined)",
339
+ value: input.noLib
340
+ }); }) && $pred(undefined === input.noResolve || "boolean" === typeof input.noResolve, exceptionable, function () { return ({
341
+ path: path + ".noResolve",
342
+ expected: "(boolean | undefined)",
343
+ value: input.noResolve
344
+ }); }) && $pred(undefined === input.noUncheckedIndexedAccess || "boolean" === typeof input.noUncheckedIndexedAccess, exceptionable, function () { return ({
345
+ path: path + ".noUncheckedIndexedAccess",
346
+ expected: "(boolean | undefined)",
347
+ value: input.noUncheckedIndexedAccess
348
+ }); }) && $pred(undefined === input.out || "string" === typeof input.out, exceptionable, function () { return ({
349
+ path: path + ".out",
350
+ expected: "(string | undefined)",
351
+ value: input.out
352
+ }); }) && $pred(undefined === input.outDir || "string" === typeof input.outDir, exceptionable, function () { return ({
353
+ path: path + ".outDir",
354
+ expected: "(string | undefined)",
355
+ value: input.outDir
356
+ }); }) && $pred(undefined === input.outFile || "string" === typeof input.outFile, exceptionable, function () { return ({
357
+ path: path + ".outFile",
358
+ expected: "(string | undefined)",
359
+ value: input.outFile
360
+ }); }) && $pred(null !== input.paths && (undefined === input.paths || "object" === typeof input.paths && null !== input.paths && !Array.isArray(input.paths) && $ao[3](input.paths, path + ".paths", true && exceptionable)), exceptionable, function () { return ({
361
+ path: path + ".paths",
362
+ expected: "(Resolve<ts.MapLike<Array<string>>> | undefined)",
363
+ value: input.paths
364
+ }); }) && $pred(undefined === input.preserveConstEnums || "boolean" === typeof input.preserveConstEnums, exceptionable, function () { return ({
365
+ path: path + ".preserveConstEnums",
366
+ expected: "(boolean | undefined)",
367
+ value: input.preserveConstEnums
368
+ }); }) && $pred(undefined === input.noImplicitOverride || "boolean" === typeof input.noImplicitOverride, exceptionable, function () { return ({
369
+ path: path + ".noImplicitOverride",
370
+ expected: "(boolean | undefined)",
371
+ value: input.noImplicitOverride
372
+ }); }) && $pred(undefined === input.preserveSymlinks || "boolean" === typeof input.preserveSymlinks, exceptionable, function () { return ({
373
+ path: path + ".preserveSymlinks",
374
+ expected: "(boolean | undefined)",
375
+ value: input.preserveSymlinks
376
+ }); }) && $pred(undefined === input.preserveValueImports || "boolean" === typeof input.preserveValueImports, exceptionable, function () { return ({
377
+ path: path + ".preserveValueImports",
378
+ expected: "(boolean | undefined)",
379
+ value: input.preserveValueImports
380
+ }); }) && $pred(undefined === input.project || "string" === typeof input.project, exceptionable, function () { return ({
381
+ path: path + ".project",
382
+ expected: "(string | undefined)",
383
+ value: input.project
384
+ }); }) && $pred(undefined === input.reactNamespace || "string" === typeof input.reactNamespace, exceptionable, function () { return ({
385
+ path: path + ".reactNamespace",
386
+ expected: "(string | undefined)",
387
+ value: input.reactNamespace
388
+ }); }) && $pred(undefined === input.jsxFactory || "string" === typeof input.jsxFactory, exceptionable, function () { return ({
389
+ path: path + ".jsxFactory",
390
+ expected: "(string | undefined)",
391
+ value: input.jsxFactory
392
+ }); }) && $pred(undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory, exceptionable, function () { return ({
393
+ path: path + ".jsxFragmentFactory",
394
+ expected: "(string | undefined)",
395
+ value: input.jsxFragmentFactory
396
+ }); }) && $pred(undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource, exceptionable, function () { return ({
397
+ path: path + ".jsxImportSource",
398
+ expected: "(string | undefined)",
399
+ value: input.jsxImportSource
400
+ }); }) && $pred(undefined === input.composite || "boolean" === typeof input.composite, exceptionable, function () { return ({
401
+ path: path + ".composite",
402
+ expected: "(boolean | undefined)",
403
+ value: input.composite
404
+ }); }) && $pred(undefined === input.incremental || "boolean" === typeof input.incremental, exceptionable, function () { return ({
405
+ path: path + ".incremental",
406
+ expected: "(boolean | undefined)",
407
+ value: input.incremental
408
+ }); }) && $pred(undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile, exceptionable, function () { return ({
409
+ path: path + ".tsBuildInfoFile",
410
+ expected: "(string | undefined)",
411
+ value: input.tsBuildInfoFile
412
+ }); }) && $pred(undefined === input.removeComments || "boolean" === typeof input.removeComments, exceptionable, function () { return ({
413
+ path: path + ".removeComments",
414
+ expected: "(boolean | undefined)",
415
+ value: input.removeComments
416
+ }); }) && $pred(undefined === input.rootDir || "string" === typeof input.rootDir, exceptionable, function () { return ({
417
+ path: path + ".rootDir",
418
+ expected: "(string | undefined)",
419
+ value: input.rootDir
420
+ }); }) && $pred(undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every(function (elem, index635802118938074) { return $pred("string" === typeof elem, exceptionable, function () { return ({
421
+ path: path + ".rootDirs[" + index635802118938074 + "]",
422
+ expected: "string",
423
+ value: elem
424
+ }); }); }), exceptionable, function () { return ({
425
+ path: path + ".rootDirs",
426
+ expected: "(Array<string> | undefined)",
427
+ value: input.rootDirs
428
+ }); }) && $pred(undefined === input.skipLibCheck || "boolean" === typeof input.skipLibCheck, exceptionable, function () { return ({
429
+ path: path + ".skipLibCheck",
430
+ expected: "(boolean | undefined)",
431
+ value: input.skipLibCheck
432
+ }); }) && $pred(undefined === input.skipDefaultLibCheck || "boolean" === typeof input.skipDefaultLibCheck, exceptionable, function () { return ({
433
+ path: path + ".skipDefaultLibCheck",
434
+ expected: "(boolean | undefined)",
435
+ value: input.skipDefaultLibCheck
436
+ }); }) && $pred(undefined === input.sourceMap || "boolean" === typeof input.sourceMap, exceptionable, function () { return ({
437
+ path: path + ".sourceMap",
438
+ expected: "(boolean | undefined)",
439
+ value: input.sourceMap
440
+ }); }) && $pred(undefined === input.sourceRoot || "string" === typeof input.sourceRoot, exceptionable, function () { return ({
441
+ path: path + ".sourceRoot",
442
+ expected: "(string | undefined)",
443
+ value: input.sourceRoot
444
+ }); }) && $pred(undefined === input.strict || "boolean" === typeof input.strict, exceptionable, function () { return ({
445
+ path: path + ".strict",
446
+ expected: "(boolean | undefined)",
447
+ value: input.strict
448
+ }); }) && $pred(undefined === input.strictFunctionTypes || "boolean" === typeof input.strictFunctionTypes, exceptionable, function () { return ({
449
+ path: path + ".strictFunctionTypes",
450
+ expected: "(boolean | undefined)",
451
+ value: input.strictFunctionTypes
452
+ }); }) && $pred(undefined === input.strictBindCallApply || "boolean" === typeof input.strictBindCallApply, exceptionable, function () { return ({
453
+ path: path + ".strictBindCallApply",
454
+ expected: "(boolean | undefined)",
455
+ value: input.strictBindCallApply
456
+ }); }) && $pred(undefined === input.strictNullChecks || "boolean" === typeof input.strictNullChecks, exceptionable, function () { return ({
457
+ path: path + ".strictNullChecks",
458
+ expected: "(boolean | undefined)",
459
+ value: input.strictNullChecks
460
+ }); }) && $pred(undefined === input.strictPropertyInitialization || "boolean" === typeof input.strictPropertyInitialization, exceptionable, function () { return ({
461
+ path: path + ".strictPropertyInitialization",
462
+ expected: "(boolean | undefined)",
463
+ value: input.strictPropertyInitialization
464
+ }); }) && $pred(undefined === input.stripInternal || "boolean" === typeof input.stripInternal, exceptionable, function () { return ({
465
+ path: path + ".stripInternal",
466
+ expected: "(boolean | undefined)",
467
+ value: input.stripInternal
468
+ }); }) && $pred(undefined === input.suppressExcessPropertyErrors || "boolean" === typeof input.suppressExcessPropertyErrors, exceptionable, function () { return ({
469
+ path: path + ".suppressExcessPropertyErrors",
470
+ expected: "(boolean | undefined)",
471
+ value: input.suppressExcessPropertyErrors
472
+ }); }) && $pred(undefined === input.suppressImplicitAnyIndexErrors || "boolean" === typeof input.suppressImplicitAnyIndexErrors, exceptionable, function () { return ({
473
+ path: path + ".suppressImplicitAnyIndexErrors",
474
+ expected: "(boolean | undefined)",
475
+ value: input.suppressImplicitAnyIndexErrors
476
+ }); }) && (undefined === input.target || 0 === input.target || 1 === input.target || 2 === input.target || 3 === input.target || 4 === input.target || 5 === input.target || 6 === input.target || 7 === input.target || 8 === input.target || 9 === input.target || 99 === input.target || 100 === input.target) && $pred(undefined === input.traceResolution || "boolean" === typeof input.traceResolution, exceptionable, function () { return ({
477
+ path: path + ".traceResolution",
478
+ expected: "(boolean | undefined)",
479
+ value: input.traceResolution
480
+ }); }) && $pred(undefined === input.useUnknownInCatchVariables || "boolean" === typeof input.useUnknownInCatchVariables, exceptionable, function () { return ({
481
+ path: path + ".useUnknownInCatchVariables",
482
+ expected: "(boolean | undefined)",
483
+ value: input.useUnknownInCatchVariables
484
+ }); }) && $pred(undefined === input.resolveJsonModule || "boolean" === typeof input.resolveJsonModule, exceptionable, function () { return ({
485
+ path: path + ".resolveJsonModule",
486
+ expected: "(boolean | undefined)",
487
+ value: input.resolveJsonModule
488
+ }); }) && $pred(undefined === input.types || Array.isArray(input.types) && input.types.every(function (elem, index4165064720273559) { return $pred("string" === typeof elem, exceptionable, function () { return ({
489
+ path: path + ".types[" + index4165064720273559 + "]",
490
+ expected: "string",
491
+ value: elem
492
+ }); }); }), exceptionable, function () { return ({
493
+ path: path + ".types",
494
+ expected: "(Array<string> | undefined)",
495
+ value: input.types
496
+ }); }) && $pred(undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every(function (elem, index36664874374232737) { return $pred("string" === typeof elem, exceptionable, function () { return ({
497
+ path: path + ".typeRoots[" + index36664874374232737 + "]",
498
+ expected: "string",
499
+ value: elem
500
+ }); }); }), exceptionable, function () { return ({
501
+ path: path + ".typeRoots",
502
+ expected: "(Array<string> | undefined)",
503
+ value: input.typeRoots
504
+ }); }) && $pred(undefined === input.esModuleInterop || "boolean" === typeof input.esModuleInterop, exceptionable, function () { return ({
505
+ path: path + ".esModuleInterop",
506
+ expected: "(boolean | undefined)",
507
+ value: input.esModuleInterop
508
+ }); }) && $pred(undefined === input.useDefineForClassFields || "boolean" === typeof input.useDefineForClassFields, exceptionable, function () { return ({
509
+ path: path + ".useDefineForClassFields",
510
+ expected: "(boolean | undefined)",
511
+ value: input.useDefineForClassFields
512
+ }); }); },
454
513
  function (input, path, exceptionable) { return true; },
455
- function (input, path, exceptionable) { return (function () {
456
- var success = "string" === typeof input.output;
457
- if (success === false && exceptionable === true)
458
- throw new typescript_json_1.assertType.TypeGuardError({
459
- method: "assertType",
460
- path: path + ".output",
461
- expected: "string",
462
- value: input.output
463
- });
464
- return success;
465
- })(); }
514
+ function (input, path, exceptionable) { return $pred("string" === typeof input.output, exceptionable, function () { return ({
515
+ path: path + ".output",
516
+ expected: "string",
517
+ value: input.output
518
+ }); }); }
466
519
  ];
467
- return (function () {
468
- var success = null !== input && (function () {
469
- var success = "object" === typeof input && $ao[0](input, path + "", true);
470
- if (success === false)
471
- throw new typescript_json_1.assertType.TypeGuardError({
472
- method: "assertType",
473
- path: path + "",
474
- expected: "Resolve<__type>",
475
- value: input
476
- });
477
- return success;
478
- })();
479
- if (success === false)
480
- throw new typescript_json_1.assertType.TypeGuardError({
481
- method: "assertType",
482
- path: path + "",
483
- expected: "Resolve<__type>",
484
- value: input
485
- });
486
- return success;
487
- })();
520
+ return $pred(null !== input && $pred("object" === typeof input && null !== input && !Array.isArray(input) && $ao[0](input, path + "", true), true, function () { return ({
521
+ path: path + "",
522
+ expected: "Resolve<__type>",
523
+ value: input
524
+ }); }), true, function () { return ({
525
+ path: path + "",
526
+ expected: "Resolve<__type>",
527
+ value: input
528
+ }); });
488
529
  })(input); return input; })(nestia_fetcher_1.Primitive.clone(config))];
489
530
  }
490
531
  });
@@ -1 +1 @@
1
- {"version":3,"file":"NestiaConfig.js","sourceRoot":"","sources":["../../../src/executable/internal/NestiaConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAAoB;AACpB,8CAAwB;AACxB,8CAAkC;AAClC,iDAA2C;AAC3C,mDAAkD;AAClD,mDAA6C;AAI7C,IAAiB,YAAY,CAyB5B;AAzBD,WAAiB,YAAY;;IACzB,SAAgB,GAAG;QACf,OAAO,SAAS,CAAC,GAAG,EAAE,CAAC;IAC3B,CAAC;IAFe,gBA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O,MAAM,KAAK,QAAQ;wBAC1B,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;oBAElE,MAAM,GACR,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;oBAEjE;;wCAAO,4BAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAAC,0BAAS,CAAC,KAAK,CAAC,MAAM,CAAC,GAAE;;;SAC9C,CAAC,CAAC;AACP,CAAC,EAzBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAyB5B"}
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestia",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "description": "Automatic SDK and Document generator for the NestJS",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -45,7 +45,7 @@
45
45
  "tstl": "^2.5.6",
46
46
  "ttypescript": "1.5.x",
47
47
  "typescript": "4.7.x",
48
- "typescript-json": "^3.0.7",
48
+ "typescript-json": "^3.0.10",
49
49
  "typescript-transform-paths": "3.3.x"
50
50
  },
51
51
  "devDependencies": {
@@ -56,7 +56,7 @@
56
56
  "@typescript-eslint/eslint-plugin": "^5.26.0",
57
57
  "@typescript-eslint/parser": "^5.26.0",
58
58
  "eslint": "^8.16.0",
59
- "nestia-helper": "^3.0.3",
59
+ "nestia-helper": "^3.0.5",
60
60
  "prettier": "^2.6.2",
61
61
  "rimraf": "^3.0.2"
62
62
  }