@nestia/sdk 3.2.6 → 3.3.0-dev.20240627
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/NestiaSdkApplication.d.ts +0 -1
- package/lib/analyses/ConfigAnalyzer.d.ts +0 -1
- package/lib/analyses/ExceptionAnalyzer.d.ts +0 -1
- package/lib/analyses/GenericAnalyzer.d.ts +0 -1
- package/lib/analyses/ImportAnalyzer.d.ts +0 -1
- package/lib/analyses/TypedControllerAnalyzer.d.ts +0 -1
- package/lib/analyses/TypedHttpOperationAnalyzer.d.ts +0 -1
- package/lib/analyses/TypedWebSocketOperationAnalyzer.d.ts +0 -1
- package/lib/executable/internal/NestiaConfigLoader.d.ts +0 -1
- package/lib/executable/internal/NestiaConfigLoader.js +1 -1
- package/lib/generates/SwaggerGenerator.d.ts +0 -1
- package/lib/generates/SwaggerGenerator.js +5 -5
- package/lib/generates/internal/FilePrinter.d.ts +0 -1
- package/lib/generates/internal/FilePrinter.js +1 -1
- package/lib/generates/internal/ImportDictionary.d.ts +0 -1
- package/lib/generates/internal/SdkAliasCollection.d.ts +0 -1
- package/lib/generates/internal/SdkHttpCloneProgrammer.d.ts +0 -1
- package/lib/generates/internal/SdkHttpFunctionProgrammer.d.ts +0 -1
- package/lib/generates/internal/SdkHttpNamespaceProgrammer.d.ts +0 -1
- package/lib/generates/internal/SdkHttpRouteProgrammer.d.ts +0 -1
- package/lib/generates/internal/SdkHttpSimulationProgrammer.d.ts +0 -1
- package/lib/generates/internal/SdkTypeProgrammer.d.ts +0 -1
- package/lib/generates/internal/SdkWebSocketNamespaceProgrammer.d.ts +0 -1
- package/lib/generates/internal/SdkWebSocketRouteProgrammer.d.ts +0 -1
- package/lib/generates/internal/SwaggerSchemaGenerator.d.ts +0 -1
- package/lib/structures/INestiaProject.d.ts +0 -1
- package/lib/structures/ITypeTuple.d.ts +0 -1
- package/lib/structures/ITypedHttpRoute.d.ts +0 -1
- package/lib/structures/ITypedWebSocketRoute.d.ts +0 -1
- package/lib/structures/TypeEntry.d.ts +0 -1
- package/package.json +8 -8
|
@@ -642,7 +642,7 @@ var NestiaConfigLoader;
|
|
|
642
642
|
}
|
|
643
643
|
catch (exp) {
|
|
644
644
|
if ((input => {
|
|
645
|
-
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
645
|
+
const $io0 = input => "string" === typeof input.method && (undefined === input.path || "string" === typeof input.path) && "string" === typeof input.expected && true && true && "string" === typeof input.name && "string" === typeof input.message && (undefined === input.stack || "string" === typeof input.stack);
|
|
646
646
|
return "object" === typeof input && null !== input && $io0(input);
|
|
647
647
|
})(exp))
|
|
648
648
|
exp.message = `invalid "${file}" data.`;
|
|
@@ -187,7 +187,7 @@ var SwaggerGenerator;
|
|
|
187
187
|
INITIALIZERS
|
|
188
188
|
--------------------------------------------------------- */
|
|
189
189
|
const initialize = (config) => __awaiter(this, void 0, void 0, function* () {
|
|
190
|
-
var
|
|
190
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
191
191
|
const pack = new tstl_1.Singleton(() => __awaiter(this, void 0, void 0, function* () {
|
|
192
192
|
const location = yield FileRetriever_1.FileRetriever.file("package.json")(process.cwd());
|
|
193
193
|
if (location === null)
|
|
@@ -269,24 +269,24 @@ var SwaggerGenerator;
|
|
|
269
269
|
: undefined,
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
catch (
|
|
272
|
+
catch (_a) {
|
|
273
273
|
return null;
|
|
274
274
|
}
|
|
275
275
|
}));
|
|
276
276
|
return {
|
|
277
277
|
openapi: "3.1.0",
|
|
278
|
-
servers: (
|
|
278
|
+
servers: (_a = config.servers) !== null && _a !== void 0 ? _a : [
|
|
279
279
|
{
|
|
280
280
|
url: "https://github.com/samchon/nestia",
|
|
281
281
|
description: "insert your server url",
|
|
282
282
|
},
|
|
283
283
|
],
|
|
284
|
-
info: Object.assign(Object.assign({}, ((
|
|
284
|
+
info: Object.assign(Object.assign({}, ((_b = config.info) !== null && _b !== void 0 ? _b : {})), { version: (_f = (_d = (_c = config.info) === null || _c === void 0 ? void 0 : _c.version) !== null && _d !== void 0 ? _d : (_e = (yield pack.get())) === null || _e === void 0 ? void 0 : _e.version) !== null && _f !== void 0 ? _f : "0.1.0", title: (_k = (_h = (_g = config.info) === null || _g === void 0 ? void 0 : _g.title) !== null && _h !== void 0 ? _h : (_j = (yield pack.get())) === null || _j === void 0 ? void 0 : _j.title) !== null && _k !== void 0 ? _k : "Swagger Documents", description: (_p = (_m = (_l = config.info) === null || _l === void 0 ? void 0 : _l.description) !== null && _m !== void 0 ? _m : (_o = (yield pack.get())) === null || _o === void 0 ? void 0 : _o.description) !== null && _p !== void 0 ? _p : "Generated by nestia - https://github.com/samchon/nestia", license: (_r = (_q = config.info) === null || _q === void 0 ? void 0 : _q.license) !== null && _r !== void 0 ? _r : (_s = (yield pack.get())) === null || _s === void 0 ? void 0 : _s.license }),
|
|
285
285
|
paths: {},
|
|
286
286
|
components: {
|
|
287
287
|
schemas: {},
|
|
288
288
|
},
|
|
289
|
-
tags: (
|
|
289
|
+
tags: (_t = config.tags) !== null && _t !== void 0 ? _t : [],
|
|
290
290
|
"x-samchon-emended": true,
|
|
291
291
|
};
|
|
292
292
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestia/sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0-dev.20240627",
|
|
4
4
|
"description": "Nestia SDK and Swagger generator",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"homepage": "https://nestia.io",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nestia/fetcher": "^3.
|
|
35
|
+
"@nestia/fetcher": "^3.3.0-dev.20240627",
|
|
36
36
|
"@samchon/openapi": "^0.1.21",
|
|
37
37
|
"cli": "^1.0.1",
|
|
38
38
|
"get-function-location": "^2.0.0",
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
"tsconfck": "^2.0.1",
|
|
44
44
|
"tsconfig-paths": "^4.1.1",
|
|
45
45
|
"tstl": "^3.0.0",
|
|
46
|
-
"typia": "^6.0
|
|
46
|
+
"typia": "^6.3.0"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@nestia/fetcher": ">=3.
|
|
49
|
+
"@nestia/fetcher": ">=3.3.0-dev.20240627",
|
|
50
50
|
"@nestjs/common": ">=7.0.1",
|
|
51
51
|
"@nestjs/core": ">=7.0.1",
|
|
52
52
|
"reflect-metadata": ">=0.1.12",
|
|
53
53
|
"ts-node": ">=10.6.0",
|
|
54
|
-
"typia": ">=6.0
|
|
54
|
+
"typia": ">=6.3.0 <7.0.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@nestia/e2e": "^0.4.3",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"eslint": "^8.29.0",
|
|
68
68
|
"eslint-plugin-deprecation": "^1.4.1",
|
|
69
69
|
"rimraf": "^3.0.2",
|
|
70
|
-
"tgrid": "^1.0.
|
|
71
|
-
"ts-patch": "^3.2.
|
|
72
|
-
"typescript": "
|
|
70
|
+
"tgrid": "^1.0.2",
|
|
71
|
+
"ts-patch": "^3.2.1",
|
|
72
|
+
"typescript": "^5.5.2",
|
|
73
73
|
"typescript-transform-paths": "^3.4.4",
|
|
74
74
|
"uuid": "^9.0.0"
|
|
75
75
|
},
|