nestia 3.0.3 → 3.0.5-dev.20220702
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.
|
@@ -97,192 +97,392 @@ 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
|
|
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,
|
|
100
|
+
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, index38749756464747165) { return "string" === typeof elem; }) || "object" === typeof input.input && $ao[1](input.input, path + ".input", false && exceptionable)) && (function () {
|
|
102
102
|
var success = undefined === input.output || "string" === typeof input.output;
|
|
103
103
|
if (success === false && exceptionable === true)
|
|
104
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
104
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
105
|
+
method: "assertType",
|
|
106
|
+
path: path + ".output",
|
|
107
|
+
expected: "(string | undefined)",
|
|
108
|
+
value: input.output
|
|
109
|
+
});
|
|
105
110
|
return success;
|
|
106
111
|
})() && (function () {
|
|
107
|
-
var success = null !== input.compilerOptions && (undefined === input.compilerOptions || "object" === typeof input.compilerOptions &&
|
|
112
|
+
var success = null !== input.compilerOptions && (undefined === input.compilerOptions || "object" === typeof input.compilerOptions && $ao[2](input.compilerOptions, path + ".compilerOptions", true && exceptionable));
|
|
108
113
|
if (success === false && exceptionable === true)
|
|
109
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
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
|
+
});
|
|
110
120
|
return success;
|
|
111
121
|
})() && (undefined === input.assert || false === input.assert || true === input.assert) && (undefined === input.json || false === input.json || true === input.json) && (function () {
|
|
112
|
-
var success = null !== input.swagger && (undefined === input.swagger || "object" === typeof input.swagger &&
|
|
122
|
+
var success = null !== input.swagger && (undefined === input.swagger || "object" === typeof input.swagger && $ao[4](input.swagger, path + ".swagger", true && exceptionable));
|
|
113
123
|
if (success === false && exceptionable === true)
|
|
114
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
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
|
+
});
|
|
115
130
|
return success;
|
|
116
131
|
})(); },
|
|
117
132
|
function (input, path, exceptionable) { return (function () {
|
|
118
|
-
var success = Array.isArray(input.include) && input.include.every(function (elem,
|
|
133
|
+
var success = Array.isArray(input.include) && input.include.every(function (elem, index4079658998275526) { return (function () {
|
|
119
134
|
var success = "string" === typeof elem;
|
|
120
135
|
if (success === false && exceptionable === true)
|
|
121
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
136
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
137
|
+
method: "assertType",
|
|
138
|
+
path: path + ".include[" + index4079658998275526 + "]",
|
|
139
|
+
expected: "string",
|
|
140
|
+
value: elem
|
|
141
|
+
});
|
|
122
142
|
return success;
|
|
123
143
|
})(); });
|
|
124
144
|
if (success === false && exceptionable === true)
|
|
125
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
145
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
146
|
+
method: "assertType",
|
|
147
|
+
path: path + ".include",
|
|
148
|
+
expected: "Array<string}>",
|
|
149
|
+
value: input.include
|
|
150
|
+
});
|
|
126
151
|
return success;
|
|
127
152
|
})() && (function () {
|
|
128
|
-
var success = undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(function (elem,
|
|
153
|
+
var success = undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(function (elem, index8645145697876746) { return (function () {
|
|
129
154
|
var success = "string" === typeof elem;
|
|
130
155
|
if (success === false && exceptionable === true)
|
|
131
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
156
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
157
|
+
method: "assertType",
|
|
158
|
+
path: path + ".exclude[" + index8645145697876746 + "]",
|
|
159
|
+
expected: "string",
|
|
160
|
+
value: elem
|
|
161
|
+
});
|
|
132
162
|
return success;
|
|
133
163
|
})(); });
|
|
134
164
|
if (success === false && exceptionable === true)
|
|
135
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
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
|
+
});
|
|
136
171
|
return success;
|
|
137
172
|
})(); },
|
|
138
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 () {
|
|
139
174
|
var success = undefined === input.baseUrl || "string" === typeof input.baseUrl;
|
|
140
175
|
if (success === false && exceptionable === true)
|
|
141
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
176
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
177
|
+
method: "assertType",
|
|
178
|
+
path: path + ".baseUrl",
|
|
179
|
+
expected: "(string | undefined)",
|
|
180
|
+
value: input.baseUrl
|
|
181
|
+
});
|
|
142
182
|
return success;
|
|
143
183
|
})() && (function () {
|
|
144
184
|
var success = undefined === input.charset || "string" === typeof input.charset;
|
|
145
185
|
if (success === false && exceptionable === true)
|
|
146
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
186
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
187
|
+
method: "assertType",
|
|
188
|
+
path: path + ".charset",
|
|
189
|
+
expected: "(string | undefined)",
|
|
190
|
+
value: input.charset
|
|
191
|
+
});
|
|
147
192
|
return success;
|
|
148
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 () {
|
|
149
194
|
var success = undefined === input.declarationDir || "string" === typeof input.declarationDir;
|
|
150
195
|
if (success === false && exceptionable === true)
|
|
151
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
196
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
197
|
+
method: "assertType",
|
|
198
|
+
path: path + ".declarationDir",
|
|
199
|
+
expected: "(string | undefined)",
|
|
200
|
+
value: input.declarationDir
|
|
201
|
+
});
|
|
152
202
|
return success;
|
|
153
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 () {
|
|
154
|
-
var success = undefined === input.lib || Array.isArray(input.lib) && input.lib.every(function (elem,
|
|
204
|
+
var success = undefined === input.lib || Array.isArray(input.lib) && input.lib.every(function (elem, index44359895805120075) { return (function () {
|
|
155
205
|
var success = "string" === typeof elem;
|
|
156
206
|
if (success === false && exceptionable === true)
|
|
157
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
207
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
208
|
+
method: "assertType",
|
|
209
|
+
path: path + ".lib[" + index44359895805120075 + "]",
|
|
210
|
+
expected: "string",
|
|
211
|
+
value: elem
|
|
212
|
+
});
|
|
158
213
|
return success;
|
|
159
214
|
})(); });
|
|
160
215
|
if (success === false && exceptionable === true)
|
|
161
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
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
|
+
});
|
|
162
222
|
return success;
|
|
163
223
|
})() && (function () {
|
|
164
224
|
var success = undefined === input.locale || "string" === typeof input.locale;
|
|
165
225
|
if (success === false && exceptionable === true)
|
|
166
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
226
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
227
|
+
method: "assertType",
|
|
228
|
+
path: path + ".locale",
|
|
229
|
+
expected: "(string | undefined)",
|
|
230
|
+
value: input.locale
|
|
231
|
+
});
|
|
167
232
|
return success;
|
|
168
233
|
})() && (function () {
|
|
169
234
|
var success = undefined === input.mapRoot || "string" === typeof input.mapRoot;
|
|
170
235
|
if (success === false && exceptionable === true)
|
|
171
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
236
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
237
|
+
method: "assertType",
|
|
238
|
+
path: path + ".mapRoot",
|
|
239
|
+
expected: "(string | undefined)",
|
|
240
|
+
value: input.mapRoot
|
|
241
|
+
});
|
|
172
242
|
return success;
|
|
173
243
|
})() && (function () {
|
|
174
244
|
var success = undefined === input.maxNodeModuleJsDepth || "number" === typeof input.maxNodeModuleJsDepth && Number.isFinite(input.maxNodeModuleJsDepth) && !Number.isNaN(input.maxNodeModuleJsDepth);
|
|
175
245
|
if (success === false && exceptionable === true)
|
|
176
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
246
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
247
|
+
method: "assertType",
|
|
248
|
+
path: path + ".maxNodeModuleJsDepth",
|
|
249
|
+
expected: "(number | undefined)",
|
|
250
|
+
value: input.maxNodeModuleJsDepth
|
|
251
|
+
});
|
|
177
252
|
return success;
|
|
178
|
-
})() && (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) && (
|
|
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, index05654449884335877) { 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[" + index05654449884335877 + "]",
|
|
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 () {
|
|
179
274
|
var success = undefined === input.out || "string" === typeof input.out;
|
|
180
275
|
if (success === false && exceptionable === true)
|
|
181
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
276
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
277
|
+
method: "assertType",
|
|
278
|
+
path: path + ".out",
|
|
279
|
+
expected: "(string | undefined)",
|
|
280
|
+
value: input.out
|
|
281
|
+
});
|
|
182
282
|
return success;
|
|
183
283
|
})() && (function () {
|
|
184
284
|
var success = undefined === input.outDir || "string" === typeof input.outDir;
|
|
185
285
|
if (success === false && exceptionable === true)
|
|
186
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
286
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
287
|
+
method: "assertType",
|
|
288
|
+
path: path + ".outDir",
|
|
289
|
+
expected: "(string | undefined)",
|
|
290
|
+
value: input.outDir
|
|
291
|
+
});
|
|
187
292
|
return success;
|
|
188
293
|
})() && (function () {
|
|
189
294
|
var success = undefined === input.outFile || "string" === typeof input.outFile;
|
|
190
295
|
if (success === false && exceptionable === true)
|
|
191
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
296
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
297
|
+
method: "assertType",
|
|
298
|
+
path: path + ".outFile",
|
|
299
|
+
expected: "(string | undefined)",
|
|
300
|
+
value: input.outFile
|
|
301
|
+
});
|
|
192
302
|
return success;
|
|
193
303
|
})() && (function () {
|
|
194
|
-
var success = null !== input.paths && (undefined === input.paths || "object" === typeof input.paths &&
|
|
304
|
+
var success = null !== input.paths && (undefined === input.paths || "object" === typeof input.paths && $ao[3](input.paths, path + ".paths", true && exceptionable));
|
|
195
305
|
if (success === false && exceptionable === true)
|
|
196
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
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
|
+
});
|
|
197
312
|
return success;
|
|
198
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 () {
|
|
199
314
|
var success = undefined === input.project || "string" === typeof input.project;
|
|
200
315
|
if (success === false && exceptionable === true)
|
|
201
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
316
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
317
|
+
method: "assertType",
|
|
318
|
+
path: path + ".project",
|
|
319
|
+
expected: "(string | undefined)",
|
|
320
|
+
value: input.project
|
|
321
|
+
});
|
|
202
322
|
return success;
|
|
203
323
|
})() && (function () {
|
|
204
324
|
var success = undefined === input.reactNamespace || "string" === typeof input.reactNamespace;
|
|
205
325
|
if (success === false && exceptionable === true)
|
|
206
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
326
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
327
|
+
method: "assertType",
|
|
328
|
+
path: path + ".reactNamespace",
|
|
329
|
+
expected: "(string | undefined)",
|
|
330
|
+
value: input.reactNamespace
|
|
331
|
+
});
|
|
207
332
|
return success;
|
|
208
333
|
})() && (function () {
|
|
209
334
|
var success = undefined === input.jsxFactory || "string" === typeof input.jsxFactory;
|
|
210
335
|
if (success === false && exceptionable === true)
|
|
211
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
336
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
337
|
+
method: "assertType",
|
|
338
|
+
path: path + ".jsxFactory",
|
|
339
|
+
expected: "(string | undefined)",
|
|
340
|
+
value: input.jsxFactory
|
|
341
|
+
});
|
|
212
342
|
return success;
|
|
213
343
|
})() && (function () {
|
|
214
344
|
var success = undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory;
|
|
215
345
|
if (success === false && exceptionable === true)
|
|
216
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
346
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
347
|
+
method: "assertType",
|
|
348
|
+
path: path + ".jsxFragmentFactory",
|
|
349
|
+
expected: "(string | undefined)",
|
|
350
|
+
value: input.jsxFragmentFactory
|
|
351
|
+
});
|
|
217
352
|
return success;
|
|
218
353
|
})() && (function () {
|
|
219
354
|
var success = undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource;
|
|
220
355
|
if (success === false && exceptionable === true)
|
|
221
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
356
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
357
|
+
method: "assertType",
|
|
358
|
+
path: path + ".jsxImportSource",
|
|
359
|
+
expected: "(string | undefined)",
|
|
360
|
+
value: input.jsxImportSource
|
|
361
|
+
});
|
|
222
362
|
return success;
|
|
223
363
|
})() && (undefined === input.composite || false === input.composite || true === input.composite) && (undefined === input.incremental || false === input.incremental || true === input.incremental) && (function () {
|
|
224
364
|
var success = undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile;
|
|
225
365
|
if (success === false && exceptionable === true)
|
|
226
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
366
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
367
|
+
method: "assertType",
|
|
368
|
+
path: path + ".tsBuildInfoFile",
|
|
369
|
+
expected: "(string | undefined)",
|
|
370
|
+
value: input.tsBuildInfoFile
|
|
371
|
+
});
|
|
227
372
|
return success;
|
|
228
373
|
})() && (undefined === input.removeComments || false === input.removeComments || true === input.removeComments) && (function () {
|
|
229
374
|
var success = undefined === input.rootDir || "string" === typeof input.rootDir;
|
|
230
375
|
if (success === false && exceptionable === true)
|
|
231
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
376
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
377
|
+
method: "assertType",
|
|
378
|
+
path: path + ".rootDir",
|
|
379
|
+
expected: "(string | undefined)",
|
|
380
|
+
value: input.rootDir
|
|
381
|
+
});
|
|
232
382
|
return success;
|
|
233
383
|
})() && (function () {
|
|
234
|
-
var success = undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every(function (elem,
|
|
384
|
+
var success = undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every(function (elem, index5379991486196392) { return (function () {
|
|
235
385
|
var success = "string" === typeof elem;
|
|
236
386
|
if (success === false && exceptionable === true)
|
|
237
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
387
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
388
|
+
method: "assertType",
|
|
389
|
+
path: path + ".rootDirs[" + index5379991486196392 + "]",
|
|
390
|
+
expected: "string",
|
|
391
|
+
value: elem
|
|
392
|
+
});
|
|
238
393
|
return success;
|
|
239
394
|
})(); });
|
|
240
395
|
if (success === false && exceptionable === true)
|
|
241
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
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
|
+
});
|
|
242
402
|
return success;
|
|
243
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 () {
|
|
244
404
|
var success = undefined === input.sourceRoot || "string" === typeof input.sourceRoot;
|
|
245
405
|
if (success === false && exceptionable === true)
|
|
246
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
406
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
407
|
+
method: "assertType",
|
|
408
|
+
path: path + ".sourceRoot",
|
|
409
|
+
expected: "(string | undefined)",
|
|
410
|
+
value: input.sourceRoot
|
|
411
|
+
});
|
|
247
412
|
return success;
|
|
248
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 () {
|
|
249
|
-
var success = undefined === input.types || Array.isArray(input.types) && input.types.every(function (elem,
|
|
414
|
+
var success = undefined === input.types || Array.isArray(input.types) && input.types.every(function (elem, index3955474954585061) { return (function () {
|
|
250
415
|
var success = "string" === typeof elem;
|
|
251
416
|
if (success === false && exceptionable === true)
|
|
252
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
417
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
418
|
+
method: "assertType",
|
|
419
|
+
path: path + ".types[" + index3955474954585061 + "]",
|
|
420
|
+
expected: "string",
|
|
421
|
+
value: elem
|
|
422
|
+
});
|
|
253
423
|
return success;
|
|
254
424
|
})(); });
|
|
255
425
|
if (success === false && exceptionable === true)
|
|
256
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
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
|
+
});
|
|
257
432
|
return success;
|
|
258
433
|
})() && (function () {
|
|
259
|
-
var success = undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every(function (elem,
|
|
434
|
+
var success = undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every(function (elem, index9925264208260842) { return (function () {
|
|
260
435
|
var success = "string" === typeof elem;
|
|
261
436
|
if (success === false && exceptionable === true)
|
|
262
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
437
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
438
|
+
method: "assertType",
|
|
439
|
+
path: path + ".typeRoots[" + index9925264208260842 + "]",
|
|
440
|
+
expected: "string",
|
|
441
|
+
value: elem
|
|
442
|
+
});
|
|
263
443
|
return success;
|
|
264
444
|
})(); });
|
|
265
445
|
if (success === false && exceptionable === true)
|
|
266
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
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
|
+
});
|
|
267
452
|
return success;
|
|
268
453
|
})() && (undefined === input.esModuleInterop || false === input.esModuleInterop || true === input.esModuleInterop) && (undefined === input.useDefineForClassFields || false === input.useDefineForClassFields || true === input.useDefineForClassFields); },
|
|
269
454
|
function (input, path, exceptionable) { return true; },
|
|
270
455
|
function (input, path, exceptionable) { return (function () {
|
|
271
456
|
var success = "string" === typeof input.output;
|
|
272
457
|
if (success === false && exceptionable === true)
|
|
273
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
458
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
459
|
+
method: "assertType",
|
|
460
|
+
path: path + ".output",
|
|
461
|
+
expected: "string",
|
|
462
|
+
value: input.output
|
|
463
|
+
});
|
|
274
464
|
return success;
|
|
275
465
|
})(); }
|
|
276
466
|
];
|
|
277
467
|
return (function () {
|
|
278
468
|
var success = null !== input && (function () {
|
|
279
|
-
var success = "object" === typeof input &&
|
|
469
|
+
var success = "object" === typeof input && $ao[0](input, path + "", true);
|
|
280
470
|
if (success === false)
|
|
281
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
471
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
472
|
+
method: "assertType",
|
|
473
|
+
path: path + "",
|
|
474
|
+
expected: "Resolve<__type>",
|
|
475
|
+
value: input
|
|
476
|
+
});
|
|
282
477
|
return success;
|
|
283
478
|
})();
|
|
284
479
|
if (success === false)
|
|
285
|
-
throw new typescript_json_1.assertType.TypeGuardError(
|
|
480
|
+
throw new typescript_json_1.assertType.TypeGuardError({
|
|
481
|
+
method: "assertType",
|
|
482
|
+
path: path + "",
|
|
483
|
+
expected: "Resolve<__type>",
|
|
484
|
+
value: input
|
|
485
|
+
});
|
|
286
486
|
return success;
|
|
287
487
|
})();
|
|
288
488
|
})(input); return input; })(nestia_fetcher_1.Primitive.clone(config))];
|
|
@@ -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,gBAAG,MAElB,CAAA;IAED,IAAM,SAAS,GAAG,IAAI,qBAAS,CAAC;;;;;oBAC5B,IAAI,YAAE,CAAC,UAAU,CAAC,kBAAkB,CAAC,KAAK,KAAK;wBAAE,sBAAO,IAAI,EAAC;oBAE7D,MAAM,CAAC,QAAQ,CAAC;wBACZ,IAAI,EAAE,KAAK;wBACX,eAAe,EAAE;4BACb,MAAM,EAAE,IAAI;yBACf;qBACJ,CAAC,CAAC;oBAGC,sFAAa,cAAI,CAAC,OAAO,CAAC,kBA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ator.js","sourceRoot":"","sources":["../../src/generates/SwaggerGenerator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAAoB;AAEpB,8CAA4B;AAC5B,mDAAkD;AAClD,mEAAkE;
|
|
1
|
+
{"version":3,"file":"SwaggerGenerator.js","sourceRoot":"","sources":["../../src/generates/SwaggerGenerator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAAoB;AAEpB,8CAA4B;AAC5B,mDAAkD;AAClD,mEAAkE;AAIlE,+EAA8E;AAC9E,+FAA8F;AAC9F,uFAAsF;AACtF,iFAAgF;AAMhF,4CAA2C;AAE3C,IAAiB,gBAAgB,CAqUhC;AArUD,WAAiB,gBAAgB;IAC7B,SAAsB,QAAQ,CAC1B,OAAuB,EACvB,MAA+B,EAC/B,SAAmB;;;;;;;wBAGb,MAAM,GAAwB,cAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;wBAC5D,QAAQ,GAAW,CAAC,CAAC,MAAM,CAAC,GAAG;4BACjC,CAAC,CAAC,cAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC;4BACjC,CAAC,CAAC,cAAQ,CAAC,IAAI,CAAC,cAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,cAAc,CAAC,CAAC;wBAE/D,UAAU,GAAuB,IAAI,uCAAkB,CAAC;4BAC1D,OAAO,EAAE,uCAAkB,CAAC,OAAO;yBACtC,CAAC,CAAC;wBAGG,SAAS,GAAwB,EAAE,CAAC;wBAChB,qBAAM,UAAU,CAAC,QAAQ,CAAC,EAAA;;wBAA9C,OAAO,GAAa,SAA0B;wBAC9C,QAAQ,GAAgC,IAAI,GAAG,EAAE,CAA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AAM,OAAO,GACT,IAAI,KAAK,SAAS;YACd,CAAC,CAAC,iCAAiC;YACnC,CAAC,CAAC,oCAAoC,CAAC;QAE/C,IAAM,SAAS,GACX,IAAI,KAAK,SAAS;YACd,CAAC,CAAC,yEAAyE;YAC3E,CAAC,CAAC,0BAAmB,MAAO,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,cAAI,MAAO;iBACjD,SAAS,CAAC,CAAC,CAAC;iBACZ,WAAW,EAAE,+DAA4D,CAAC;QAEzF,OAAO,sBACjB,OAAO,qBAEH,IAAI,0HAA8G,SAAS,8OAMhI,CAAC;IACM,CAAC,CACJ,CAAC;AACN,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { IJsonComponents } from "typescript-json
|
|
2
|
-
import { IJsonSchema } from "typescript-json/lib/structures/IJsonSchema";
|
|
1
|
+
import { IJsonComponents, IJsonSchema } from "typescript-json";
|
|
3
2
|
export interface ISwagger {
|
|
4
3
|
openapi: "3.0";
|
|
5
4
|
servers: ISwagger.IServer[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nestia",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5-dev.20220702",
|
|
4
4
|
"description": "Automatic SDK and Document generator for the NestJS",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"jsonc-simple-parser": "^2.2.1",
|
|
41
41
|
"nestia-fetcher": "^2.0.1",
|
|
42
42
|
"tgrid": "^0.8.6",
|
|
43
|
-
"ts-node": "^10.
|
|
44
|
-
"tsconfig-paths": "^
|
|
43
|
+
"ts-node": "^10.8.1",
|
|
44
|
+
"tsconfig-paths": "^4.0.0",
|
|
45
45
|
"tstl": "^2.5.6",
|
|
46
46
|
"ttypescript": "^1.5.13",
|
|
47
|
-
"typescript": "4.
|
|
48
|
-
"typescript-json": "^3.0.
|
|
47
|
+
"typescript": "^4.7.4",
|
|
48
|
+
"typescript-json": "^3.0.7",
|
|
49
49
|
"typescript-transform-paths": "^3.3.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|