nestia 3.0.1 → 3.0.4-dev.20220629
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/executable/internal/NestiaConfig.js +167 -174
- package/lib/executable/internal/NestiaConfig.js.map +1 -1
- package/lib/executable/nestia.js +0 -0
- package/lib/generates/SwaggerGenerator.js +26 -11
- package/lib/generates/SwaggerGenerator.js.map +1 -1
- package/lib/structures/ISwagger.d.ts +1 -2
- package/package.json +5 -5
|
@@ -97,196 +97,189 @@ 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 assertType =
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".output", input.output);
|
|
105
|
-
return success;
|
|
106
|
-
})() && (function () {
|
|
107
|
-
var success = null !== input.compilerOptions && (undefined === input.compilerOptions || "object" === typeof input.compilerOptions && assertType[2](input.compilerOptions, path + ".compilerOptions", true && exceptionable));
|
|
108
|
-
if (success === false && exceptionable === true)
|
|
109
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".compilerOptions", input.compilerOptions);
|
|
110
|
-
return success;
|
|
111
|
-
})() && (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 && assertType[4](input.swagger, path + ".swagger", true && exceptionable));
|
|
113
|
-
if (success === false && exceptionable === true)
|
|
114
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".swagger", input.swagger);
|
|
115
|
-
return success;
|
|
116
|
-
})(); },
|
|
117
|
-
function (input, path, exceptionable) { return (function () {
|
|
118
|
-
var success = Array.isArray(input.include) && input.include.every(function (elem, index3741227549318453) { return (function () {
|
|
119
|
-
var success = "string" === typeof elem;
|
|
100
|
+
var assertType = {
|
|
101
|
+
objects: [
|
|
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, index29280754319668634) { return "string" === typeof elem; }) || "object" === typeof input.input && assertType.objects[1](input.input, path + ".input", false && exceptionable)) && (function () {
|
|
103
|
+
var success = undefined === input.output || "string" === typeof input.output;
|
|
120
104
|
if (success === false && exceptionable === true)
|
|
121
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".
|
|
105
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".output", input.output);
|
|
122
106
|
return success;
|
|
123
|
-
})()
|
|
124
|
-
|
|
125
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".include", input.include);
|
|
126
|
-
return success;
|
|
127
|
-
})() && (function () {
|
|
128
|
-
var success = undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(function (elem, index5938437303383466) { return (function () {
|
|
129
|
-
var success = "string" === typeof elem;
|
|
107
|
+
})() && (function () {
|
|
108
|
+
var success = null !== input.compilerOptions && (undefined === input.compilerOptions || "object" === typeof input.compilerOptions && assertType.objects[2](input.compilerOptions, path + ".compilerOptions", true && exceptionable));
|
|
130
109
|
if (success === false && exceptionable === true)
|
|
131
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".
|
|
110
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".compilerOptions", input.compilerOptions);
|
|
132
111
|
return success;
|
|
133
|
-
})()
|
|
134
|
-
|
|
135
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".exclude", input.exclude);
|
|
136
|
-
return success;
|
|
137
|
-
})(); },
|
|
138
|
-
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
|
-
var success = undefined === input.baseUrl || "string" === typeof input.baseUrl;
|
|
140
|
-
if (success === false && exceptionable === true)
|
|
141
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".baseUrl", input.baseUrl);
|
|
142
|
-
return success;
|
|
143
|
-
})() && (function () {
|
|
144
|
-
var success = undefined === input.charset || "string" === typeof input.charset;
|
|
145
|
-
if (success === false && exceptionable === true)
|
|
146
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".charset", input.charset);
|
|
147
|
-
return success;
|
|
148
|
-
})() && (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
|
-
var success = undefined === input.declarationDir || "string" === typeof input.declarationDir;
|
|
150
|
-
if (success === false && exceptionable === true)
|
|
151
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".declarationDir", input.declarationDir);
|
|
152
|
-
return success;
|
|
153
|
-
})() && (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, index33015639487328596) { return (function () {
|
|
155
|
-
var success = "string" === typeof elem;
|
|
112
|
+
})() && (undefined === input.assert || false === input.assert || true === input.assert) && (undefined === input.json || false === input.json || true === input.json) && (function () {
|
|
113
|
+
var success = null !== input.swagger && (undefined === input.swagger || "object" === typeof input.swagger && assertType.objects[4](input.swagger, path + ".swagger", true && exceptionable));
|
|
156
114
|
if (success === false && exceptionable === true)
|
|
157
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".
|
|
115
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".swagger", input.swagger);
|
|
158
116
|
return success;
|
|
159
|
-
})(); }
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
return success;
|
|
168
|
-
})() && (function () {
|
|
169
|
-
var success = undefined === input.mapRoot || "string" === typeof input.mapRoot;
|
|
170
|
-
if (success === false && exceptionable === true)
|
|
171
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".mapRoot", input.mapRoot);
|
|
172
|
-
return success;
|
|
173
|
-
})() && (function () {
|
|
174
|
-
var success = undefined === input.maxNodeModuleJsDepth || "number" === typeof input.maxNodeModuleJsDepth && Number.isFinite(input.maxNodeModuleJsDepth) && !Number.isNaN(input.maxNodeModuleJsDepth);
|
|
175
|
-
if (success === false && exceptionable === true)
|
|
176
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".maxNodeModuleJsDepth", input.maxNodeModuleJsDepth);
|
|
177
|
-
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) && (function () {
|
|
179
|
-
var success = undefined === input.moduleSuffixes || Array.isArray(input.moduleSuffixes) && input.moduleSuffixes.every(function (elem, index6723812076421554) { return (function () {
|
|
180
|
-
var success = "string" === typeof elem;
|
|
117
|
+
})(); },
|
|
118
|
+
function (input, path, exceptionable) { return (function () {
|
|
119
|
+
var success = Array.isArray(input.include) && input.include.every(function (elem, index7300472462967227) { return (function () {
|
|
120
|
+
var success = "string" === typeof elem;
|
|
121
|
+
if (success === false && exceptionable === true)
|
|
122
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".include[" + index7300472462967227 + "]", elem);
|
|
123
|
+
return success;
|
|
124
|
+
})(); });
|
|
181
125
|
if (success === false && exceptionable === true)
|
|
182
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".
|
|
126
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".include", input.include);
|
|
183
127
|
return success;
|
|
184
|
-
})()
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".out", input.out);
|
|
192
|
-
return success;
|
|
193
|
-
})() && (function () {
|
|
194
|
-
var success = undefined === input.outDir || "string" === typeof input.outDir;
|
|
195
|
-
if (success === false && exceptionable === true)
|
|
196
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".outDir", input.outDir);
|
|
197
|
-
return success;
|
|
198
|
-
})() && (function () {
|
|
199
|
-
var success = undefined === input.outFile || "string" === typeof input.outFile;
|
|
200
|
-
if (success === false && exceptionable === true)
|
|
201
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".outFile", input.outFile);
|
|
202
|
-
return success;
|
|
203
|
-
})() && (function () {
|
|
204
|
-
var success = null !== input.paths && (undefined === input.paths || "object" === typeof input.paths && assertType[3](input.paths, path + ".paths", true && exceptionable));
|
|
205
|
-
if (success === false && exceptionable === true)
|
|
206
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".paths", input.paths);
|
|
207
|
-
return success;
|
|
208
|
-
})() && (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 () {
|
|
209
|
-
var success = undefined === input.project || "string" === typeof input.project;
|
|
210
|
-
if (success === false && exceptionable === true)
|
|
211
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".project", input.project);
|
|
212
|
-
return success;
|
|
213
|
-
})() && (function () {
|
|
214
|
-
var success = undefined === input.reactNamespace || "string" === typeof input.reactNamespace;
|
|
215
|
-
if (success === false && exceptionable === true)
|
|
216
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".reactNamespace", input.reactNamespace);
|
|
217
|
-
return success;
|
|
218
|
-
})() && (function () {
|
|
219
|
-
var success = undefined === input.jsxFactory || "string" === typeof input.jsxFactory;
|
|
220
|
-
if (success === false && exceptionable === true)
|
|
221
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".jsxFactory", input.jsxFactory);
|
|
222
|
-
return success;
|
|
223
|
-
})() && (function () {
|
|
224
|
-
var success = undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory;
|
|
225
|
-
if (success === false && exceptionable === true)
|
|
226
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".jsxFragmentFactory", input.jsxFragmentFactory);
|
|
227
|
-
return success;
|
|
228
|
-
})() && (function () {
|
|
229
|
-
var success = undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource;
|
|
230
|
-
if (success === false && exceptionable === true)
|
|
231
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".jsxImportSource", input.jsxImportSource);
|
|
232
|
-
return success;
|
|
233
|
-
})() && (undefined === input.composite || false === input.composite || true === input.composite) && (undefined === input.incremental || false === input.incremental || true === input.incremental) && (function () {
|
|
234
|
-
var success = undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile;
|
|
235
|
-
if (success === false && exceptionable === true)
|
|
236
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".tsBuildInfoFile", input.tsBuildInfoFile);
|
|
237
|
-
return success;
|
|
238
|
-
})() && (undefined === input.removeComments || false === input.removeComments || true === input.removeComments) && (function () {
|
|
239
|
-
var success = undefined === input.rootDir || "string" === typeof input.rootDir;
|
|
240
|
-
if (success === false && exceptionable === true)
|
|
241
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".rootDir", input.rootDir);
|
|
242
|
-
return success;
|
|
243
|
-
})() && (function () {
|
|
244
|
-
var success = undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every(function (elem, index6850829533175982) { return (function () {
|
|
245
|
-
var success = "string" === typeof elem;
|
|
128
|
+
})() && (function () {
|
|
129
|
+
var success = undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(function (elem, index35060604373602366) { return (function () {
|
|
130
|
+
var success = "string" === typeof elem;
|
|
131
|
+
if (success === false && exceptionable === true)
|
|
132
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".exclude[" + index35060604373602366 + "]", elem);
|
|
133
|
+
return success;
|
|
134
|
+
})(); });
|
|
246
135
|
if (success === false && exceptionable === true)
|
|
247
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".
|
|
136
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".exclude", input.exclude);
|
|
248
137
|
return success;
|
|
249
|
-
})(); }
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
return success;
|
|
253
|
-
})() && (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 () {
|
|
254
|
-
var success = undefined === input.sourceRoot || "string" === typeof input.sourceRoot;
|
|
255
|
-
if (success === false && exceptionable === true)
|
|
256
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".sourceRoot", input.sourceRoot);
|
|
257
|
-
return success;
|
|
258
|
-
})() && (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 () {
|
|
259
|
-
var success = undefined === input.types || Array.isArray(input.types) && input.types.every(function (elem, index8434806860439912) { return (function () {
|
|
260
|
-
var success = "string" === typeof elem;
|
|
138
|
+
})(); },
|
|
139
|
+
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 () {
|
|
140
|
+
var success = undefined === input.baseUrl || "string" === typeof input.baseUrl;
|
|
261
141
|
if (success === false && exceptionable === true)
|
|
262
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".
|
|
142
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".baseUrl", input.baseUrl);
|
|
263
143
|
return success;
|
|
264
|
-
})()
|
|
265
|
-
|
|
266
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".types", input.types);
|
|
267
|
-
return success;
|
|
268
|
-
})() && (function () {
|
|
269
|
-
var success = undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every(function (elem, index4868992586463283) { return (function () {
|
|
270
|
-
var success = "string" === typeof elem;
|
|
144
|
+
})() && (function () {
|
|
145
|
+
var success = undefined === input.charset || "string" === typeof input.charset;
|
|
271
146
|
if (success === false && exceptionable === true)
|
|
272
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".
|
|
147
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".charset", input.charset);
|
|
273
148
|
return success;
|
|
274
|
-
})()
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
149
|
+
})() && (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 () {
|
|
150
|
+
var success = undefined === input.declarationDir || "string" === typeof input.declarationDir;
|
|
151
|
+
if (success === false && exceptionable === true)
|
|
152
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".declarationDir", input.declarationDir);
|
|
153
|
+
return success;
|
|
154
|
+
})() && (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 () {
|
|
155
|
+
var success = undefined === input.lib || Array.isArray(input.lib) && input.lib.every(function (elem, index6952267079016119) { return (function () {
|
|
156
|
+
var success = "string" === typeof elem;
|
|
157
|
+
if (success === false && exceptionable === true)
|
|
158
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".lib[" + index6952267079016119 + "]", elem);
|
|
159
|
+
return success;
|
|
160
|
+
})(); });
|
|
161
|
+
if (success === false && exceptionable === true)
|
|
162
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".lib", input.lib);
|
|
163
|
+
return success;
|
|
164
|
+
})() && (function () {
|
|
165
|
+
var success = undefined === input.locale || "string" === typeof input.locale;
|
|
166
|
+
if (success === false && exceptionable === true)
|
|
167
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".locale", input.locale);
|
|
168
|
+
return success;
|
|
169
|
+
})() && (function () {
|
|
170
|
+
var success = undefined === input.mapRoot || "string" === typeof input.mapRoot;
|
|
171
|
+
if (success === false && exceptionable === true)
|
|
172
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".mapRoot", input.mapRoot);
|
|
173
|
+
return success;
|
|
174
|
+
})() && (function () {
|
|
175
|
+
var success = undefined === input.maxNodeModuleJsDepth || "number" === typeof input.maxNodeModuleJsDepth;
|
|
176
|
+
if (success === false && exceptionable === true)
|
|
177
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".maxNodeModuleJsDepth", input.maxNodeModuleJsDepth);
|
|
178
|
+
return success;
|
|
179
|
+
})() && (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) && (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 () {
|
|
180
|
+
var success = undefined === input.out || "string" === typeof input.out;
|
|
181
|
+
if (success === false && exceptionable === true)
|
|
182
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".out", input.out);
|
|
183
|
+
return success;
|
|
184
|
+
})() && (function () {
|
|
185
|
+
var success = undefined === input.outDir || "string" === typeof input.outDir;
|
|
186
|
+
if (success === false && exceptionable === true)
|
|
187
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".outDir", input.outDir);
|
|
188
|
+
return success;
|
|
189
|
+
})() && (function () {
|
|
190
|
+
var success = undefined === input.outFile || "string" === typeof input.outFile;
|
|
191
|
+
if (success === false && exceptionable === true)
|
|
192
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".outFile", input.outFile);
|
|
193
|
+
return success;
|
|
194
|
+
})() && (function () {
|
|
195
|
+
var success = null !== input.paths && (undefined === input.paths || "object" === typeof input.paths && assertType.objects[3](input.paths, path + ".paths", true && exceptionable));
|
|
196
|
+
if (success === false && exceptionable === true)
|
|
197
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".paths", input.paths);
|
|
198
|
+
return success;
|
|
199
|
+
})() && (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 () {
|
|
200
|
+
var success = undefined === input.project || "string" === typeof input.project;
|
|
201
|
+
if (success === false && exceptionable === true)
|
|
202
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".project", input.project);
|
|
203
|
+
return success;
|
|
204
|
+
})() && (function () {
|
|
205
|
+
var success = undefined === input.reactNamespace || "string" === typeof input.reactNamespace;
|
|
206
|
+
if (success === false && exceptionable === true)
|
|
207
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".reactNamespace", input.reactNamespace);
|
|
208
|
+
return success;
|
|
209
|
+
})() && (function () {
|
|
210
|
+
var success = undefined === input.jsxFactory || "string" === typeof input.jsxFactory;
|
|
211
|
+
if (success === false && exceptionable === true)
|
|
212
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".jsxFactory", input.jsxFactory);
|
|
213
|
+
return success;
|
|
214
|
+
})() && (function () {
|
|
215
|
+
var success = undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory;
|
|
216
|
+
if (success === false && exceptionable === true)
|
|
217
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".jsxFragmentFactory", input.jsxFragmentFactory);
|
|
218
|
+
return success;
|
|
219
|
+
})() && (function () {
|
|
220
|
+
var success = undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource;
|
|
221
|
+
if (success === false && exceptionable === true)
|
|
222
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".jsxImportSource", input.jsxImportSource);
|
|
223
|
+
return success;
|
|
224
|
+
})() && (undefined === input.composite || false === input.composite || true === input.composite) && (undefined === input.incremental || false === input.incremental || true === input.incremental) && (function () {
|
|
225
|
+
var success = undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile;
|
|
226
|
+
if (success === false && exceptionable === true)
|
|
227
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".tsBuildInfoFile", input.tsBuildInfoFile);
|
|
228
|
+
return success;
|
|
229
|
+
})() && (undefined === input.removeComments || false === input.removeComments || true === input.removeComments) && (function () {
|
|
230
|
+
var success = undefined === input.rootDir || "string" === typeof input.rootDir;
|
|
231
|
+
if (success === false && exceptionable === true)
|
|
232
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".rootDir", input.rootDir);
|
|
233
|
+
return success;
|
|
234
|
+
})() && (function () {
|
|
235
|
+
var success = undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every(function (elem, index7871054565857456) { return (function () {
|
|
236
|
+
var success = "string" === typeof elem;
|
|
237
|
+
if (success === false && exceptionable === true)
|
|
238
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".rootDirs[" + index7871054565857456 + "]", elem);
|
|
239
|
+
return success;
|
|
240
|
+
})(); });
|
|
241
|
+
if (success === false && exceptionable === true)
|
|
242
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".rootDirs", input.rootDirs);
|
|
243
|
+
return success;
|
|
244
|
+
})() && (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 () {
|
|
245
|
+
var success = undefined === input.sourceRoot || "string" === typeof input.sourceRoot;
|
|
246
|
+
if (success === false && exceptionable === true)
|
|
247
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".sourceRoot", input.sourceRoot);
|
|
248
|
+
return success;
|
|
249
|
+
})() && (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 () {
|
|
250
|
+
var success = undefined === input.types || Array.isArray(input.types) && input.types.every(function (elem, index953886693671006) { return (function () {
|
|
251
|
+
var success = "string" === typeof elem;
|
|
252
|
+
if (success === false && exceptionable === true)
|
|
253
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".types[" + index953886693671006 + "]", elem);
|
|
254
|
+
return success;
|
|
255
|
+
})(); });
|
|
256
|
+
if (success === false && exceptionable === true)
|
|
257
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".types", input.types);
|
|
258
|
+
return success;
|
|
259
|
+
})() && (function () {
|
|
260
|
+
var success = undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every(function (elem, index3161385569842359) { return (function () {
|
|
261
|
+
var success = "string" === typeof elem;
|
|
262
|
+
if (success === false && exceptionable === true)
|
|
263
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".typeRoots[" + index3161385569842359 + "]", elem);
|
|
264
|
+
return success;
|
|
265
|
+
})(); });
|
|
266
|
+
if (success === false && exceptionable === true)
|
|
267
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".typeRoots", input.typeRoots);
|
|
268
|
+
return success;
|
|
269
|
+
})() && (undefined === input.esModuleInterop || false === input.esModuleInterop || true === input.esModuleInterop) && (undefined === input.useDefineForClassFields || false === input.useDefineForClassFields || true === input.useDefineForClassFields); },
|
|
270
|
+
function (input, path, exceptionable) { return true; },
|
|
271
|
+
function (input, path, exceptionable) { return (function () {
|
|
272
|
+
var success = "string" === typeof input.output;
|
|
273
|
+
if (success === false && exceptionable === true)
|
|
274
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".output", input.output);
|
|
275
|
+
return success;
|
|
276
|
+
})(); }
|
|
277
|
+
],
|
|
278
|
+
unions: []
|
|
279
|
+
};
|
|
287
280
|
return (function () {
|
|
288
281
|
var success = null !== input && (function () {
|
|
289
|
-
var success = "object" === typeof input && assertType[0](input, path + "", true);
|
|
282
|
+
var success = "object" === typeof input && assertType.objects[0](input, path + "", true);
|
|
290
283
|
if (success === false)
|
|
291
284
|
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + "", input);
|
|
292
285
|
return success;
|
|
@@ -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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AAC,kDAAkD,CAAC,CAAC;oBAElE,MAAM,GACR,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;oBAEjE;;;;;;;sDAAO,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;;;0DAAV,4BAAU;;;;sDAAV,4BAAU;;;;;;0DAAV,4BAAU;;;;sDAAV,4BAAU;;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;;0DAAV,4BAAU;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;;0DAAV,4BAAU;;;;sDAAV,4BAAU;;;;;sDAAV,4BAAU;;;;;;0DAAV,4BAAU;;;;sDAAV,4BAAU;;;;;;0DAAV,4BAAU;;;;sDAAV,4BAAU;;;;;;;sDAAV,4BAAU;;;;;;;;;;kDAAV,4BAAU;;;;8CAAV,4BAAU;;;oDAAC,0BAAS,CAAC,KAAK,CAAC,MAAM,CAAC,GAAE;;;SAC9C,CAAC,CAAC;AACP,CAAC,EAzBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAyB5B"}
|
package/lib/executable/nestia.js
CHANGED
|
File without changes
|
|
@@ -91,10 +91,10 @@ var SwaggerGenerator;
|
|
|
91
91
|
(function (SwaggerGenerator) {
|
|
92
92
|
function generate(checker, config, routeList) {
|
|
93
93
|
return __awaiter(this, void 0, void 0, function () {
|
|
94
|
-
var parsed, location, collection, tupleList, swagger, pathDict, routeList_1, routeList_1_1, route, path, pathDict_1, pathDict_1_1, _a, path, routes, application;
|
|
95
|
-
var e_1,
|
|
96
|
-
return __generator(this, function (
|
|
97
|
-
switch (
|
|
94
|
+
var parsed, location, collection, tupleList, swagger, pathDict, routeList_1, routeList_1_1, route, path, pathDict_1, pathDict_1_1, _a, path, routes, application, _b, _c, obj;
|
|
95
|
+
var e_1, _d, e_2, _e, e_3, _f;
|
|
96
|
+
return __generator(this, function (_g) {
|
|
97
|
+
switch (_g.label) {
|
|
98
98
|
case 0:
|
|
99
99
|
parsed = path_1.default.parse(config.output);
|
|
100
100
|
location = !!parsed.ext
|
|
@@ -106,7 +106,7 @@ var SwaggerGenerator;
|
|
|
106
106
|
tupleList = [];
|
|
107
107
|
return [4 /*yield*/, initialize(location)];
|
|
108
108
|
case 1:
|
|
109
|
-
swagger =
|
|
109
|
+
swagger = _g.sent();
|
|
110
110
|
pathDict = new Map();
|
|
111
111
|
try {
|
|
112
112
|
for (routeList_1 = __values(routeList), routeList_1_1 = routeList_1.next(); !routeList_1_1.done; routeList_1_1 = routeList_1.next()) {
|
|
@@ -118,7 +118,7 @@ var SwaggerGenerator;
|
|
|
118
118
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
119
119
|
finally {
|
|
120
120
|
try {
|
|
121
|
-
if (routeList_1_1 && !routeList_1_1.done && (
|
|
121
|
+
if (routeList_1_1 && !routeList_1_1.done && (_d = routeList_1.return)) _d.call(routeList_1);
|
|
122
122
|
}
|
|
123
123
|
finally { if (e_1) throw e_1.error; }
|
|
124
124
|
}
|
|
@@ -132,7 +132,7 @@ var SwaggerGenerator;
|
|
|
132
132
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
133
133
|
finally {
|
|
134
134
|
try {
|
|
135
|
-
if (pathDict_1_1 && !pathDict_1_1.done && (
|
|
135
|
+
if (pathDict_1_1 && !pathDict_1_1.done && (_e = pathDict_1.return)) _e.call(pathDict_1);
|
|
136
136
|
}
|
|
137
137
|
finally { if (e_2) throw e_2.error; }
|
|
138
138
|
}
|
|
@@ -147,11 +147,26 @@ var SwaggerGenerator;
|
|
|
147
147
|
var schema = _a.schema;
|
|
148
148
|
Object.assign(schema, application.schemas[index]);
|
|
149
149
|
});
|
|
150
|
+
try {
|
|
151
|
+
// ERASE IJsonComponents.IObject.$id
|
|
152
|
+
for (_b = __values(Object.values(swagger.components.schemas)), _c = _b.next(); !_c.done; _c = _b.next()) {
|
|
153
|
+
obj = _c.value;
|
|
154
|
+
if (obj.$id)
|
|
155
|
+
delete obj.$id;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
159
|
+
finally {
|
|
160
|
+
try {
|
|
161
|
+
if (_c && !_c.done && (_f = _b.return)) _f.call(_b);
|
|
162
|
+
}
|
|
163
|
+
finally { if (e_3) throw e_3.error; }
|
|
164
|
+
}
|
|
150
165
|
// DO GENERATE
|
|
151
166
|
return [4 /*yield*/, fs_1.default.promises.writeFile(location, JSON.stringify(swagger, null, 2), "utf8")];
|
|
152
167
|
case 2:
|
|
153
168
|
// DO GENERATE
|
|
154
|
-
|
|
169
|
+
_g.sent();
|
|
155
170
|
return [2 /*return*/];
|
|
156
171
|
}
|
|
157
172
|
});
|
|
@@ -199,7 +214,7 @@ var SwaggerGenerator;
|
|
|
199
214
|
});
|
|
200
215
|
}
|
|
201
216
|
function get_path(path, parameters) {
|
|
202
|
-
var
|
|
217
|
+
var e_4, _a;
|
|
203
218
|
var filtered = parameters.filter(function (param) { return param.category === "param" && !!param.field; });
|
|
204
219
|
try {
|
|
205
220
|
for (var filtered_1 = __values(filtered), filtered_1_1 = filtered_1.next(); !filtered_1_1.done; filtered_1_1 = filtered_1.next()) {
|
|
@@ -207,12 +222,12 @@ var SwaggerGenerator;
|
|
|
207
222
|
path = path.replace(":".concat(param.field), "{".concat(param.field, "}"));
|
|
208
223
|
}
|
|
209
224
|
}
|
|
210
|
-
catch (
|
|
225
|
+
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
211
226
|
finally {
|
|
212
227
|
try {
|
|
213
228
|
if (filtered_1_1 && !filtered_1_1.done && (_a = filtered_1.return)) _a.call(filtered_1);
|
|
214
229
|
}
|
|
215
|
-
finally { if (
|
|
230
|
+
finally { if (e_4) throw e_4.error; }
|
|
216
231
|
}
|
|
217
232
|
return path;
|
|
218
233
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwaggerGenerator.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;AAGlE,+EAA8E;AAC9E,+FAA8F;AAC9F,uFAAsF;AACtF,iFAAgF;AAMhF,4CAA2C;AAG3C,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,MA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CAAC,EArUgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAqUhC;AAED,IAAM,OAAO,GAAG,IAAI,qCAAiB,CAAC,UAAC,SAAkB;IACrD,IAAI,SAAS,KAAK,KAAK;QAAE,OAAO,IAAI,qBAAS,CAAC,cAAM,OAAA,EAAE,EAAF,CAAE,CAAC,CAAC;IAExD,OAAO,IAAI,qCAAiB,CACxB,UAAC,IAA4B,EAAE,MAAe;QAC1C,IAAM,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.4-dev.20220629",
|
|
4
4
|
"description": "Automatic SDK and Document generator for the NestJS",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -44,8 +44,7 @@
|
|
|
44
44
|
"tsconfig-paths": "^3.14.1",
|
|
45
45
|
"tstl": "^2.5.6",
|
|
46
46
|
"ttypescript": "^1.5.13",
|
|
47
|
-
"typescript": "
|
|
48
|
-
"typescript-json": "^3.0.4",
|
|
47
|
+
"typescript": "4.6.x",
|
|
49
48
|
"typescript-transform-paths": "^3.3.1"
|
|
50
49
|
},
|
|
51
50
|
"devDependencies": {
|
|
@@ -56,8 +55,9 @@
|
|
|
56
55
|
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
|
57
56
|
"@typescript-eslint/parser": "^5.26.0",
|
|
58
57
|
"eslint": "^8.16.0",
|
|
59
|
-
"nestia-helper": "^3.0.
|
|
58
|
+
"nestia-helper": "^3.0.3",
|
|
60
59
|
"prettier": "^2.6.2",
|
|
61
|
-
"rimraf": "^3.0.2"
|
|
60
|
+
"rimraf": "^3.0.2",
|
|
61
|
+
"typescript-json": "^3.0.6-dev.20220629"
|
|
62
62
|
}
|
|
63
63
|
}
|