nestia 3.0.8-dev.20220708-4 → 3.0.8
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 +2 -0
- package/lib/executable/internal/NestiaConfig.js +15 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -91,6 +91,8 @@ export async function trace_sale_question_and_comment
|
|
|
91
91
|
## Setup
|
|
92
92
|
Just like any other package, you've got to install it before you can use it.
|
|
93
93
|
|
|
94
|
+
For reference, `ttypescript` is not mis-writing. Don't forget to install it.
|
|
95
|
+
|
|
94
96
|
```sh
|
|
95
97
|
npm install --save-dev nestia
|
|
96
98
|
|
|
@@ -64,7 +64,7 @@ var NestiaConfig;
|
|
|
64
64
|
return (input => { ((input, path = "$input") => {
|
|
65
65
|
const $pred = typescript_json_1.assertType.predicate;
|
|
66
66
|
const $ao = [
|
|
67
|
-
(input, path, exceptionable) => null !== input.input && undefined !== input.input && ("string" === typeof input.input || Array.isArray(input.input) && input.input.every((elem,
|
|
67
|
+
(input, path, exceptionable) => null !== input.input && undefined !== input.input && ("string" === typeof input.input || Array.isArray(input.input) && input.input.every((elem, index5680140860841791) => "string" === typeof elem) || "object" === typeof input.input && null !== input.input && $ao[1](input.input, path + ".input", false && exceptionable)) && $pred(undefined === input.output || "string" === typeof input.output, exceptionable, () => ({
|
|
68
68
|
path: path + ".output",
|
|
69
69
|
expected: "(string | undefined)",
|
|
70
70
|
value: input.output
|
|
@@ -85,16 +85,16 @@ var NestiaConfig;
|
|
|
85
85
|
expected: "(Resolve<IConfiguration.ISwagger> | undefined)",
|
|
86
86
|
value: input.swagger
|
|
87
87
|
})),
|
|
88
|
-
(input, path, exceptionable) => $pred(Array.isArray(input.include) && input.include.every((elem,
|
|
89
|
-
path: path + ".include[" +
|
|
88
|
+
(input, path, exceptionable) => $pred(Array.isArray(input.include) && input.include.every((elem, index5119158810441053) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
89
|
+
path: path + ".include[" + index5119158810441053 + "]",
|
|
90
90
|
expected: "string",
|
|
91
91
|
value: elem
|
|
92
92
|
}))), exceptionable, () => ({
|
|
93
93
|
path: path + ".include",
|
|
94
94
|
expected: "Array<string>",
|
|
95
95
|
value: input.include
|
|
96
|
-
})) && $pred(undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every((elem,
|
|
97
|
-
path: path + ".exclude[" +
|
|
96
|
+
})) && $pred(undefined === input.exclude || Array.isArray(input.exclude) && input.exclude.every((elem, index8252163832746422) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
97
|
+
path: path + ".exclude[" + index8252163832746422 + "]",
|
|
98
98
|
expected: "string",
|
|
99
99
|
value: elem
|
|
100
100
|
}))), exceptionable, () => ({
|
|
@@ -214,8 +214,8 @@ var NestiaConfig;
|
|
|
214
214
|
path: path + ".keyofStringsOnly",
|
|
215
215
|
expected: "(boolean | undefined)",
|
|
216
216
|
value: input.keyofStringsOnly
|
|
217
|
-
})) && $pred(undefined === input.lib || Array.isArray(input.lib) && input.lib.every((elem,
|
|
218
|
-
path: path + ".lib[" +
|
|
217
|
+
})) && $pred(undefined === input.lib || Array.isArray(input.lib) && input.lib.every((elem, index5582808100859848) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
218
|
+
path: path + ".lib[" + index5582808100859848 + "]",
|
|
219
219
|
expected: "string",
|
|
220
220
|
value: elem
|
|
221
221
|
}))), exceptionable, () => ({
|
|
@@ -234,8 +234,8 @@ var NestiaConfig;
|
|
|
234
234
|
path: path + ".maxNodeModuleJsDepth",
|
|
235
235
|
expected: "(number | undefined)",
|
|
236
236
|
value: input.maxNodeModuleJsDepth
|
|
237
|
-
})) && (undefined === input.module || 0 === input.module || 1 === input.module || 2 === input.module || 3 === input.module || 4 === input.module || 5 === input.module || 6 === input.module || 7 === input.module || 99 === input.module || 100 === input.module || 199 === input.module) && (undefined === input.moduleResolution || 1 === input.moduleResolution || 2 === input.moduleResolution || 3 === input.moduleResolution || 99 === input.moduleResolution) && $pred(undefined === input.moduleSuffixes || Array.isArray(input.moduleSuffixes) && input.moduleSuffixes.every((elem,
|
|
238
|
-
path: path + ".moduleSuffixes[" +
|
|
237
|
+
})) && (undefined === input.module || 0 === input.module || 1 === input.module || 2 === input.module || 3 === input.module || 4 === input.module || 5 === input.module || 6 === input.module || 7 === input.module || 99 === input.module || 100 === input.module || 199 === input.module) && (undefined === input.moduleResolution || 1 === input.moduleResolution || 2 === input.moduleResolution || 3 === input.moduleResolution || 99 === input.moduleResolution) && $pred(undefined === input.moduleSuffixes || Array.isArray(input.moduleSuffixes) && input.moduleSuffixes.every((elem, index03615073343665909) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
238
|
+
path: path + ".moduleSuffixes[" + index03615073343665909 + "]",
|
|
239
239
|
expected: "string",
|
|
240
240
|
value: elem
|
|
241
241
|
}))), exceptionable, () => ({
|
|
@@ -382,8 +382,8 @@ var NestiaConfig;
|
|
|
382
382
|
path: path + ".rootDir",
|
|
383
383
|
expected: "(string | undefined)",
|
|
384
384
|
value: input.rootDir
|
|
385
|
-
})) && $pred(undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every((elem,
|
|
386
|
-
path: path + ".rootDirs[" +
|
|
385
|
+
})) && $pred(undefined === input.rootDirs || Array.isArray(input.rootDirs) && input.rootDirs.every((elem, index8341182852797457) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
386
|
+
path: path + ".rootDirs[" + index8341182852797457 + "]",
|
|
387
387
|
expected: "string",
|
|
388
388
|
value: elem
|
|
389
389
|
}))), exceptionable, () => ({
|
|
@@ -450,16 +450,16 @@ var NestiaConfig;
|
|
|
450
450
|
path: path + ".resolveJsonModule",
|
|
451
451
|
expected: "(boolean | undefined)",
|
|
452
452
|
value: input.resolveJsonModule
|
|
453
|
-
})) && $pred(undefined === input.types || Array.isArray(input.types) && input.types.every((elem,
|
|
454
|
-
path: path + ".types[" +
|
|
453
|
+
})) && $pred(undefined === input.types || Array.isArray(input.types) && input.types.every((elem, index11373910393653719) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
454
|
+
path: path + ".types[" + index11373910393653719 + "]",
|
|
455
455
|
expected: "string",
|
|
456
456
|
value: elem
|
|
457
457
|
}))), exceptionable, () => ({
|
|
458
458
|
path: path + ".types",
|
|
459
459
|
expected: "(Array<string> | undefined)",
|
|
460
460
|
value: input.types
|
|
461
|
-
})) && $pred(undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every((elem,
|
|
462
|
-
path: path + ".typeRoots[" +
|
|
461
|
+
})) && $pred(undefined === input.typeRoots || Array.isArray(input.typeRoots) && input.typeRoots.every((elem, index7765679426293803) => $pred("string" === typeof elem, exceptionable, () => ({
|
|
462
|
+
path: path + ".typeRoots[" + index7765679426293803 + "]",
|
|
463
463
|
expected: "string",
|
|
464
464
|
value: elem
|
|
465
465
|
}))), exceptionable, () => ({
|