nestia 3.0.0 → 3.0.1
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/README.md
CHANGED
|
@@ -842,7 +842,7 @@ export default NESTIA_CONFIG;
|
|
|
842
842
|
|
|
843
843
|
## Appendix
|
|
844
844
|
### Dependencies of the SDK
|
|
845
|
-
An SDK library generated by `nestia` requires [nestia-fetcher](https://github.com/samchon/nestia-fetcher) module. Also, [typescript-
|
|
845
|
+
An SDK library generated by `nestia` requires [nestia-fetcher](https://github.com/samchon/nestia-fetcher) module. Also, [typescript-json](https://github.com/samchon/typescript-json) module can be required following your `nestia.config.ts` configuration file.
|
|
846
846
|
|
|
847
847
|
The `npx nestia install` command installs those dependencies with the `package.json` configuration.
|
|
848
848
|
|
|
@@ -98,7 +98,7 @@ var NestiaConfig;
|
|
|
98
98
|
return [2 /*return*/, (function (input) { (function (input, path) {
|
|
99
99
|
if (path === void 0) { path = "$input"; }
|
|
100
100
|
var assertType = [
|
|
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,
|
|
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, index5141406911192716) { return "string" === typeof elem; }) || "object" === typeof input.input && assertType[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
104
|
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".output", input.output);
|
|
@@ -115,20 +115,20 @@ var NestiaConfig;
|
|
|
115
115
|
return success;
|
|
116
116
|
})(); },
|
|
117
117
|
function (input, path, exceptionable) { return (function () {
|
|
118
|
-
var success = Array.isArray(input.include) && input.include.every(function (elem,
|
|
118
|
+
var success = Array.isArray(input.include) && input.include.every(function (elem, index3741227549318453) { return (function () {
|
|
119
119
|
var success = "string" === typeof elem;
|
|
120
120
|
if (success === false && exceptionable === true)
|
|
121
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".include[" +
|
|
121
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".include[" + index3741227549318453 + "]", elem);
|
|
122
122
|
return success;
|
|
123
123
|
})(); });
|
|
124
124
|
if (success === false && exceptionable === true)
|
|
125
125
|
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".include", input.include);
|
|
126
126
|
return success;
|
|
127
127
|
})() && (function () {
|
|
128
|
-
var success = undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(function (elem,
|
|
128
|
+
var success = undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every(function (elem, index5938437303383466) { return (function () {
|
|
129
129
|
var success = "string" === typeof elem;
|
|
130
130
|
if (success === false && exceptionable === true)
|
|
131
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".exclude[" +
|
|
131
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".exclude[" + index5938437303383466 + "]", elem);
|
|
132
132
|
return success;
|
|
133
133
|
})(); });
|
|
134
134
|
if (success === false && exceptionable === true)
|
|
@@ -151,10 +151,10 @@ var NestiaConfig;
|
|
|
151
151
|
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".declarationDir", input.declarationDir);
|
|
152
152
|
return success;
|
|
153
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,
|
|
154
|
+
var success = undefined === input.lib || Array.isArray(input.lib) && input.lib.every(function (elem, index33015639487328596) { return (function () {
|
|
155
155
|
var success = "string" === typeof elem;
|
|
156
156
|
if (success === false && exceptionable === true)
|
|
157
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".lib[" +
|
|
157
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".lib[" + index33015639487328596 + "]", elem);
|
|
158
158
|
return success;
|
|
159
159
|
})(); });
|
|
160
160
|
if (success === false && exceptionable === true)
|
|
@@ -171,15 +171,15 @@ var NestiaConfig;
|
|
|
171
171
|
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".mapRoot", input.mapRoot);
|
|
172
172
|
return success;
|
|
173
173
|
})() && (function () {
|
|
174
|
-
var success = undefined === input.maxNodeModuleJsDepth || "number" === typeof input.maxNodeModuleJsDepth;
|
|
174
|
+
var success = undefined === input.maxNodeModuleJsDepth || "number" === typeof input.maxNodeModuleJsDepth && Number.isFinite(input.maxNodeModuleJsDepth) && !Number.isNaN(input.maxNodeModuleJsDepth);
|
|
175
175
|
if (success === false && exceptionable === true)
|
|
176
176
|
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".maxNodeModuleJsDepth", input.maxNodeModuleJsDepth);
|
|
177
177
|
return success;
|
|
178
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,
|
|
179
|
+
var success = undefined === input.moduleSuffixes || Array.isArray(input.moduleSuffixes) && input.moduleSuffixes.every(function (elem, index6723812076421554) { return (function () {
|
|
180
180
|
var success = "string" === typeof elem;
|
|
181
181
|
if (success === false && exceptionable === true)
|
|
182
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".moduleSuffixes[" +
|
|
182
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".moduleSuffixes[" + index6723812076421554 + "]", elem);
|
|
183
183
|
return success;
|
|
184
184
|
})(); });
|
|
185
185
|
if (success === false && exceptionable === true)
|
|
@@ -241,10 +241,10 @@ var NestiaConfig;
|
|
|
241
241
|
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".rootDir", input.rootDir);
|
|
242
242
|
return success;
|
|
243
243
|
})() && (function () {
|
|
244
|
-
var success = undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every(function (elem,
|
|
244
|
+
var success = undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every(function (elem, index6850829533175982) { return (function () {
|
|
245
245
|
var success = "string" === typeof elem;
|
|
246
246
|
if (success === false && exceptionable === true)
|
|
247
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".rootDirs[" +
|
|
247
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".rootDirs[" + index6850829533175982 + "]", elem);
|
|
248
248
|
return success;
|
|
249
249
|
})(); });
|
|
250
250
|
if (success === false && exceptionable === true)
|
|
@@ -256,20 +256,20 @@ var NestiaConfig;
|
|
|
256
256
|
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".sourceRoot", input.sourceRoot);
|
|
257
257
|
return success;
|
|
258
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,
|
|
259
|
+
var success = undefined === input.types || Array.isArray(input.types) && input.types.every(function (elem, index8434806860439912) { return (function () {
|
|
260
260
|
var success = "string" === typeof elem;
|
|
261
261
|
if (success === false && exceptionable === true)
|
|
262
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".types[" +
|
|
262
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".types[" + index8434806860439912 + "]", elem);
|
|
263
263
|
return success;
|
|
264
264
|
})(); });
|
|
265
265
|
if (success === false && exceptionable === true)
|
|
266
266
|
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".types", input.types);
|
|
267
267
|
return success;
|
|
268
268
|
})() && (function () {
|
|
269
|
-
var success = undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every(function (elem,
|
|
269
|
+
var success = undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every(function (elem, index4868992586463283) { return (function () {
|
|
270
270
|
var success = "string" === typeof elem;
|
|
271
271
|
if (success === false && exceptionable === true)
|
|
272
|
-
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".typeRoots[" +
|
|
272
|
+
throw new typescript_json_1.assertType.TypeGuardError("assertType", path + ".typeRoots[" + index4868992586463283 + "]", elem);
|
|
273
273
|
return success;
|
|
274
274
|
})(); });
|
|
275
275
|
if (success === false && exceptionable === true)
|
|
@@ -70,7 +70,7 @@ var FunctionGenerator;
|
|
|
70
70
|
var assertions = config.assert === true && route.parameters.length !== 0
|
|
71
71
|
? route.parameters
|
|
72
72
|
.map(function (param) {
|
|
73
|
-
return " assertType<typeof ".concat(param.name, ">(").concat(param.name, ");");
|
|
73
|
+
return " TSON.assertType<typeof ".concat(param.name, ">(").concat(param.name, ");");
|
|
74
74
|
})
|
|
75
75
|
.join("\n") + "\n\n"
|
|
76
76
|
: "";
|
|
@@ -202,7 +202,7 @@ var FunctionGenerator;
|
|
|
202
202
|
(route.method === "POST" ||
|
|
203
203
|
route.method === "PUT" ||
|
|
204
204
|
route.method === "PATCH")
|
|
205
|
-
? " export const stringify =
|
|
205
|
+
? " export const stringify = (input: Input) => TSON.stringify(input);\n"
|
|
206
206
|
: "") +
|
|
207
207
|
"}");
|
|
208
208
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunctionGenerator.js","sourceRoot":"","sources":["../../src/generates/FunctionGenerator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAAyC;AACzC,gDAA+C;AAK/C,IAAiB,iBAAiB,CA2OjC;AA3OD,WAAiB,iBAAiB;IAC9B,SAAgB,QAAQ,CAAC,MAAsB,EAAE,KAAa;QAC1D,IAAM,KAAK,GAAkC,KAAK,CAAC,UAAU,CAAC,IAAI,CAC9D,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,QAAQ,KAAK,OAAO,EAA1B,CAA0B,CACxC,CAAC;QACF,IAAM,KAAK,GAAkC,KAAK,CAAC,UAAU,CAAC,IAAI,CAC9D,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,QAAQ,KAAK,MAAM,EAAzB,CAAyB,CACvC,CAAC;QAEF,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;aACpB,GAAG,CAAC,UAAC,OAAO,IAAK,OAAA,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,CAAC,EAApC,CAAoC,CAAC;aACtD,MAAM,CAAC,UAAC,GAAG,IAAK,OAAA,CAAC,CAAC,GAAG,EAAL,CAAK,CAAC;aACtB,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;IAZe,0BAAQ,WAYvB,CAAA;IAED;;gEAE4D;IAC5D,SAAS,IAAI,CACT,KAAa,EACb,KAAoC,EACpC,KAAoC,EACpC,MAAsB;QAEtB,mCAAmC;QACnC,IAAM,UAAU,GAAG,iBAAiB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;QACnD,IAAM,cAAc,GAAa;YAC7B,YAAY;YACZ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YACV,IAAI;YACJ,mCAA4B,UAAU;iBACjC,GAAG,CAAC,UAAC,KAAK,IAAK,OAAA,UAAG,KAAK,CAAC,IAAI,eAAK,KAAK,CAAC,IAAI,CAAC,IAAI,CAAE,EAAnC,CAAmC,CAAC;iBACnD,IAAI,CAAC,IAAI,CAAC,gBAAa;YAC5B,SAAS;YACT,yBAAkB,IAAI,QAAK;YAC3B,SAAS;YACT,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI;gBACrB,CAAC,KAAK,CAAC,MAAM,KAAK,MAAM;oBACpB,KAAK,CAAC,MAAM,KAAK,KAAK;oBACtB,KAAK,CAAC,MAAM,KAAK,OAAO,CAAC;gBACzB,CAAC,CAAC,yEAAyE;gBAC3E,CAAC,CAAC,EAAE,CAAC;YACT,GAAG,CACN,CAAC;IACN,CAAC;IAED,SAAS,YAAY,CACjB,KAAoC,EACpC,UAA+B,EAC/B,IAAY;;;YAEZ,KAAoB,IAAA,eAAA,SAAA,UAAU,CAAA,sCAAA;gBAAzB,IAAM,KAAK,uBAAA;gBACZ,IAAI,KAAK,CAAC,QAAQ,KAAK,OAAO;oBAC1B,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,WAAI,KAAK,CAAC,KAAK,CAAE,EAAE,YAAM,KAAK,CAAC,IAAI,MAAG,CAAC,CAAC;aAAA;;;;;;;;;QACpE,OAAO,KAAK,KAAK,SAAS;YACtB,CAAC,CAAC,WAAK,IAAI,oCAA2B,KAAK,CAAC,IAAI,0BAAwB;YACxE,CAAC,CAAC,WAAK,IAAI,MAAI,CAAC;IACxB,CAAC;AACL,CAAC,EA3OgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA2OjC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nestia",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Automatic SDK and Document generator for the NestJS",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"tstl": "^2.5.6",
|
|
46
46
|
"ttypescript": "^1.5.13",
|
|
47
47
|
"typescript": "^4.7.4",
|
|
48
|
-
"typescript-json": "^3.0.
|
|
48
|
+
"typescript-json": "^3.0.4",
|
|
49
49
|
"typescript-transform-paths": "^3.3.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
|
57
57
|
"@typescript-eslint/parser": "^5.26.0",
|
|
58
58
|
"eslint": "^8.16.0",
|
|
59
|
-
"nestia-helper": "^3.0.
|
|
59
|
+
"nestia-helper": "^3.0.2",
|
|
60
60
|
"prettier": "^2.6.2",
|
|
61
61
|
"rimraf": "^3.0.2"
|
|
62
62
|
}
|