@nestia/sdk 0.1.0
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/assets/bundle/HttpError.ts +1 -0
- package/assets/bundle/IConnection.ts +1 -0
- package/assets/bundle/Primitive.ts +1 -0
- package/assets/config/nestia.config.ts +70 -0
- package/lib/INestiaConfig.d.ts +110 -0
- package/lib/INestiaConfig.js +3 -0
- package/lib/INestiaConfig.js.map +1 -0
- package/lib/NestiaSdkApplication.d.ts +11 -0
- package/lib/NestiaSdkApplication.js +156 -0
- package/lib/NestiaSdkApplication.js.map +1 -0
- package/lib/analyses/ControllerAnalyzer.d.ts +6 -0
- package/lib/analyses/ControllerAnalyzer.js +106 -0
- package/lib/analyses/ControllerAnalyzer.js.map +1 -0
- package/lib/analyses/GenericAnalyzer.d.ts +5 -0
- package/lib/analyses/GenericAnalyzer.js +41 -0
- package/lib/analyses/GenericAnalyzer.js.map +1 -0
- package/lib/analyses/ImportAnalyzer.d.ts +13 -0
- package/lib/analyses/ImportAnalyzer.js +86 -0
- package/lib/analyses/ImportAnalyzer.js.map +1 -0
- package/lib/analyses/PathAnalyzer.d.ts +5 -0
- package/lib/analyses/PathAnalyzer.js +51 -0
- package/lib/analyses/PathAnalyzer.js.map +1 -0
- package/lib/analyses/ReflectAnalyzer.d.ts +4 -0
- package/lib/analyses/ReflectAnalyzer.js +231 -0
- package/lib/analyses/ReflectAnalyzer.js.map +1 -0
- package/lib/analyses/SourceFinder.d.ts +4 -0
- package/lib/analyses/SourceFinder.js +71 -0
- package/lib/analyses/SourceFinder.js.map +1 -0
- package/lib/executable/internal/CommandParser.d.ts +3 -0
- package/lib/executable/internal/CommandParser.js +21 -0
- package/lib/executable/internal/CommandParser.js.map +1 -0
- package/lib/executable/internal/NestiaConfigCompilerOptions.d.ts +11 -0
- package/lib/executable/internal/NestiaConfigCompilerOptions.js +18 -0
- package/lib/executable/internal/NestiaConfigCompilerOptions.js.map +1 -0
- package/lib/executable/internal/NestiaSdkCommand.d.ts +4 -0
- package/lib/executable/internal/NestiaSdkCommand.js +128 -0
- package/lib/executable/internal/NestiaSdkCommand.js.map +1 -0
- package/lib/executable/internal/NestiaSdkConfig.d.ts +4 -0
- package/lib/executable/internal/NestiaSdkConfig.js +539 -0
- package/lib/executable/internal/NestiaSdkConfig.js.map +1 -0
- package/lib/executable/internal/nestia.config.getter.d.ts +1 -0
- package/lib/executable/internal/nestia.config.getter.js +24 -0
- package/lib/executable/internal/nestia.config.getter.js.map +1 -0
- package/lib/executable/sdk.d.ts +2 -0
- package/lib/executable/sdk.js +86 -0
- package/lib/executable/sdk.js.map +1 -0
- package/lib/generates/FileGenerator.d.ts +5 -0
- package/lib/generates/FileGenerator.js +138 -0
- package/lib/generates/FileGenerator.js.map +1 -0
- package/lib/generates/FunctionGenerator.d.ts +5 -0
- package/lib/generates/FunctionGenerator.js +204 -0
- package/lib/generates/FunctionGenerator.js.map +1 -0
- package/lib/generates/SdkGenerator.d.ts +7 -0
- package/lib/generates/SdkGenerator.js +45 -0
- package/lib/generates/SdkGenerator.js.map +1 -0
- package/lib/generates/SwaggerGenerator.d.ts +6 -0
- package/lib/generates/SwaggerGenerator.js +244 -0
- package/lib/generates/SwaggerGenerator.js.map +1 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +28 -0
- package/lib/index.js.map +1 -0
- package/lib/module.d.ts +2 -0
- package/lib/module.js +19 -0
- package/lib/module.js.map +1 -0
- package/lib/structures/IController.d.ts +23 -0
- package/lib/structures/IController.js +3 -0
- package/lib/structures/IController.js.map +1 -0
- package/lib/structures/IRoute.d.ts +24 -0
- package/lib/structures/IRoute.js +3 -0
- package/lib/structures/IRoute.js.map +1 -0
- package/lib/structures/ISwagger.d.ts +48 -0
- package/lib/structures/ISwagger.js +3 -0
- package/lib/structures/ISwagger.js.map +1 -0
- package/lib/structures/ITypeTuple.d.ts +5 -0
- package/lib/structures/ITypeTuple.js +3 -0
- package/lib/structures/ITypeTuple.js.map +1 -0
- package/lib/structures/MethodType.d.ts +4 -0
- package/lib/structures/MethodType.js +14 -0
- package/lib/structures/MethodType.js.map +1 -0
- package/lib/structures/ParamCategory.d.ts +1 -0
- package/lib/structures/ParamCategory.js +3 -0
- package/lib/structures/ParamCategory.js.map +1 -0
- package/lib/structures/TypeEntry.d.ts +9 -0
- package/lib/structures/TypeEntry.js +21 -0
- package/lib/structures/TypeEntry.js.map +1 -0
- package/lib/test/TestBuilder.d.ts +4 -0
- package/lib/test/TestBuilder.js +64 -0
- package/lib/test/TestBuilder.js.map +1 -0
- package/lib/test/index.d.ts +1 -0
- package/lib/test/index.js +61 -0
- package/lib/test/index.js.map +1 -0
- package/lib/test/test.builder.executor.d.ts +1 -0
- package/lib/test/test.builder.executor.js +24 -0
- package/lib/test/test.builder.executor.js.map +1 -0
- package/lib/utils/ArrayUtil.d.ts +5 -0
- package/lib/utils/ArrayUtil.js +39 -0
- package/lib/utils/ArrayUtil.js.map +1 -0
- package/lib/utils/ImportDictionary.d.ts +6 -0
- package/lib/utils/ImportDictionary.js +50 -0
- package/lib/utils/ImportDictionary.js.map +1 -0
- package/lib/utils/MapUtil.d.ts +3 -0
- package/lib/utils/MapUtil.js +16 -0
- package/lib/utils/MapUtil.js.map +1 -0
- package/lib/utils/StripEnums.d.ts +3 -0
- package/lib/utils/StripEnums.js +3 -0
- package/lib/utils/StripEnums.js.map +1 -0
- package/package.json +74 -0
- package/src/INestiaConfig.ts +120 -0
- package/src/NestiaSdkApplication.ts +183 -0
- package/src/analyses/ControllerAnalyzer.ts +203 -0
- package/src/analyses/GenericAnalyzer.ts +53 -0
- package/src/analyses/ImportAnalyzer.ts +143 -0
- package/src/analyses/PathAnalyzer.ts +58 -0
- package/src/analyses/ReflectAnalyzer.ts +279 -0
- package/src/analyses/SourceFinder.ts +59 -0
- package/src/executable/internal/CommandParser.ts +15 -0
- package/src/executable/internal/NestiaConfigCompilerOptions.ts +18 -0
- package/src/executable/internal/NestiaSdkCommand.ts +174 -0
- package/src/executable/internal/NestiaSdkConfig.ts +35 -0
- package/src/executable/internal/nestia.config.getter.ts +12 -0
- package/src/executable/sdk.ts +51 -0
- package/src/generates/FileGenerator.ts +156 -0
- package/src/generates/FunctionGenerator.ts +287 -0
- package/src/generates/SdkGenerator.ts +50 -0
- package/src/generates/SwaggerGenerator.ts +393 -0
- package/src/index.ts +3 -0
- package/src/module.ts +2 -0
- package/src/structures/IController.ts +27 -0
- package/src/structures/IRoute.ts +29 -0
- package/src/structures/ISwagger.ts +55 -0
- package/src/structures/ITypeTuple.ts +6 -0
- package/src/structures/MethodType.ts +11 -0
- package/src/structures/ParamCategory.ts +1 -0
- package/src/structures/TypeEntry.ts +22 -0
- package/src/utils/ArrayUtil.ts +26 -0
- package/src/utils/ImportDictionary.ts +56 -0
- package/src/utils/MapUtil.ts +14 -0
- package/src/utils/StripEnums.ts +10 -0
|
@@ -0,0 +1,539 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
+
});
|
|
33
|
+
};
|
|
34
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
35
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.NestiaSdkConfig = void 0;
|
|
39
|
+
const fs_1 = __importDefault(require("fs"));
|
|
40
|
+
const path_1 = __importDefault(require("path"));
|
|
41
|
+
const runner = __importStar(require("ts-node"));
|
|
42
|
+
const Singleton_1 = require("tstl/thread/Singleton");
|
|
43
|
+
const typia_1 = require("typia");
|
|
44
|
+
var NestiaSdkConfig;
|
|
45
|
+
(function (NestiaSdkConfig) {
|
|
46
|
+
function get() {
|
|
47
|
+
return singleton.get();
|
|
48
|
+
}
|
|
49
|
+
NestiaSdkConfig.get = get;
|
|
50
|
+
const singleton = new Singleton_1.Singleton(() => __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
var _a;
|
|
52
|
+
if (fs_1.default.existsSync("nestia.config.ts") === false)
|
|
53
|
+
return null;
|
|
54
|
+
runner.register({
|
|
55
|
+
emit: false,
|
|
56
|
+
compilerOptions: {
|
|
57
|
+
module: "CommonJS",
|
|
58
|
+
noEmit: true,
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
const loaded = yield (_a = path_1.default.resolve("nestia.config.ts"), Promise.resolve().then(() => __importStar(require(_a))));
|
|
62
|
+
if (typeof loaded !== "object")
|
|
63
|
+
throw new Error("Error on NestiaConfig.get(): failed to load data");
|
|
64
|
+
const config = typeof loaded.default === "object" ? loaded.default : loaded;
|
|
65
|
+
const cloned = JSON.parse(JSON.stringify(config));
|
|
66
|
+
return (input => {
|
|
67
|
+
const $guard = typia_1.assert.guard;
|
|
68
|
+
const $join = typia_1.assert.join;
|
|
69
|
+
((input, path, exceptionable) => {
|
|
70
|
+
const $ao0 = (input, path, exceptionable) => (null !== input.input || $guard(exceptionable, {
|
|
71
|
+
path: path + ".input",
|
|
72
|
+
expected: "(Array<string> | Resolve<INestiaConfig.IInput> | string)",
|
|
73
|
+
value: input.input
|
|
74
|
+
})) && (undefined !== input.input || $guard(exceptionable, {
|
|
75
|
+
path: path + ".input",
|
|
76
|
+
expected: "(Array<string> | Resolve<INestiaConfig.IInput> | string)",
|
|
77
|
+
value: input.input
|
|
78
|
+
})) && ("string" === typeof input.input || (Array.isArray(input.input) || $guard(exceptionable, {
|
|
79
|
+
path: path + ".input",
|
|
80
|
+
expected: "(Array<string> | Resolve<INestiaConfig.IInput> | string)",
|
|
81
|
+
value: input.input
|
|
82
|
+
})) && input.input.every((elem, index1) => "string" === typeof elem || $guard(exceptionable, {
|
|
83
|
+
path: path + ".input[" + index1 + "]",
|
|
84
|
+
expected: "string",
|
|
85
|
+
value: elem
|
|
86
|
+
})) || ("object" === typeof input.input && null !== input.input || $guard(exceptionable, {
|
|
87
|
+
path: path + ".input",
|
|
88
|
+
expected: "(Array<string> | Resolve<INestiaConfig.IInput> | string)",
|
|
89
|
+
value: input.input
|
|
90
|
+
})) && $ao1(input.input, path + ".input", true && exceptionable)) && (undefined === input.output || "string" === typeof input.output || $guard(exceptionable, {
|
|
91
|
+
path: path + ".output",
|
|
92
|
+
expected: "(string | undefined)",
|
|
93
|
+
value: input.output
|
|
94
|
+
})) && (undefined === input.compilerOptions || ("object" === typeof input.compilerOptions && null !== input.compilerOptions || $guard(exceptionable, {
|
|
95
|
+
path: path + ".compilerOptions",
|
|
96
|
+
expected: "(Resolve<StripEnums<ts.CompilerOptions>> | undefined)",
|
|
97
|
+
value: input.compilerOptions
|
|
98
|
+
})) && $ao2(input.compilerOptions, path + ".compilerOptions", true && exceptionable)) && (undefined === input.assert || "boolean" === typeof input.assert || $guard(exceptionable, {
|
|
99
|
+
path: path + ".assert",
|
|
100
|
+
expected: "(boolean | undefined)",
|
|
101
|
+
value: input.assert
|
|
102
|
+
})) && (undefined === input.json || "boolean" === typeof input.json || $guard(exceptionable, {
|
|
103
|
+
path: path + ".json",
|
|
104
|
+
expected: "(boolean | undefined)",
|
|
105
|
+
value: input.json
|
|
106
|
+
})) && (undefined === input.primitive || "boolean" === typeof input.primitive || $guard(exceptionable, {
|
|
107
|
+
path: path + ".primitive",
|
|
108
|
+
expected: "(boolean | undefined)",
|
|
109
|
+
value: input.primitive
|
|
110
|
+
})) && (undefined === input.swagger || ("object" === typeof input.swagger && null !== input.swagger || $guard(exceptionable, {
|
|
111
|
+
path: path + ".swagger",
|
|
112
|
+
expected: "(Resolve<INestiaConfig.ISwagger> | undefined)",
|
|
113
|
+
value: input.swagger
|
|
114
|
+
})) && $ao4(input.swagger, path + ".swagger", true && exceptionable));
|
|
115
|
+
const $ao1 = (input, path, exceptionable) => (Array.isArray(input.include) || $guard(exceptionable, {
|
|
116
|
+
path: path + ".include",
|
|
117
|
+
expected: "Array<string>",
|
|
118
|
+
value: input.include
|
|
119
|
+
})) && input.include.every((elem, index2) => "string" === typeof elem || $guard(exceptionable, {
|
|
120
|
+
path: path + ".include[" + index2 + "]",
|
|
121
|
+
expected: "string",
|
|
122
|
+
value: elem
|
|
123
|
+
})) && (undefined === input.exclude || (Array.isArray(input.exclude) || $guard(exceptionable, {
|
|
124
|
+
path: path + ".exclude",
|
|
125
|
+
expected: "(Array<string> | undefined)",
|
|
126
|
+
value: input.exclude
|
|
127
|
+
})) && input.exclude.every((elem, index3) => "string" === typeof elem || $guard(exceptionable, {
|
|
128
|
+
path: path + ".exclude[" + index3 + "]",
|
|
129
|
+
expected: "string",
|
|
130
|
+
value: elem
|
|
131
|
+
})));
|
|
132
|
+
const $ao2 = (input, path, exceptionable) => (undefined === input.allowJs || "boolean" === typeof input.allowJs || $guard(exceptionable, {
|
|
133
|
+
path: path + ".allowJs",
|
|
134
|
+
expected: "(boolean | undefined)",
|
|
135
|
+
value: input.allowJs
|
|
136
|
+
})) && (undefined === input.allowSyntheticDefaultImports || "boolean" === typeof input.allowSyntheticDefaultImports || $guard(exceptionable, {
|
|
137
|
+
path: path + ".allowSyntheticDefaultImports",
|
|
138
|
+
expected: "(boolean | undefined)",
|
|
139
|
+
value: input.allowSyntheticDefaultImports
|
|
140
|
+
})) && (undefined === input.allowUmdGlobalAccess || "boolean" === typeof input.allowUmdGlobalAccess || $guard(exceptionable, {
|
|
141
|
+
path: path + ".allowUmdGlobalAccess",
|
|
142
|
+
expected: "(boolean | undefined)",
|
|
143
|
+
value: input.allowUmdGlobalAccess
|
|
144
|
+
})) && (undefined === input.allowUnreachableCode || "boolean" === typeof input.allowUnreachableCode || $guard(exceptionable, {
|
|
145
|
+
path: path + ".allowUnreachableCode",
|
|
146
|
+
expected: "(boolean | undefined)",
|
|
147
|
+
value: input.allowUnreachableCode
|
|
148
|
+
})) && (undefined === input.allowUnusedLabels || "boolean" === typeof input.allowUnusedLabels || $guard(exceptionable, {
|
|
149
|
+
path: path + ".allowUnusedLabels",
|
|
150
|
+
expected: "(boolean | undefined)",
|
|
151
|
+
value: input.allowUnusedLabels
|
|
152
|
+
})) && (undefined === input.alwaysStrict || "boolean" === typeof input.alwaysStrict || $guard(exceptionable, {
|
|
153
|
+
path: path + ".alwaysStrict",
|
|
154
|
+
expected: "(boolean | undefined)",
|
|
155
|
+
value: input.alwaysStrict
|
|
156
|
+
})) && (undefined === input.baseUrl || "string" === typeof input.baseUrl || $guard(exceptionable, {
|
|
157
|
+
path: path + ".baseUrl",
|
|
158
|
+
expected: "(string | undefined)",
|
|
159
|
+
value: input.baseUrl
|
|
160
|
+
})) && (undefined === input.charset || "string" === typeof input.charset || $guard(exceptionable, {
|
|
161
|
+
path: path + ".charset",
|
|
162
|
+
expected: "(string | undefined)",
|
|
163
|
+
value: input.charset
|
|
164
|
+
})) && (undefined === input.checkJs || "boolean" === typeof input.checkJs || $guard(exceptionable, {
|
|
165
|
+
path: path + ".checkJs",
|
|
166
|
+
expected: "(boolean | undefined)",
|
|
167
|
+
value: input.checkJs
|
|
168
|
+
})) && (undefined === input.declaration || "boolean" === typeof input.declaration || $guard(exceptionable, {
|
|
169
|
+
path: path + ".declaration",
|
|
170
|
+
expected: "(boolean | undefined)",
|
|
171
|
+
value: input.declaration
|
|
172
|
+
})) && (undefined === input.declarationMap || "boolean" === typeof input.declarationMap || $guard(exceptionable, {
|
|
173
|
+
path: path + ".declarationMap",
|
|
174
|
+
expected: "(boolean | undefined)",
|
|
175
|
+
value: input.declarationMap
|
|
176
|
+
})) && (undefined === input.emitDeclarationOnly || "boolean" === typeof input.emitDeclarationOnly || $guard(exceptionable, {
|
|
177
|
+
path: path + ".emitDeclarationOnly",
|
|
178
|
+
expected: "(boolean | undefined)",
|
|
179
|
+
value: input.emitDeclarationOnly
|
|
180
|
+
})) && (undefined === input.declarationDir || "string" === typeof input.declarationDir || $guard(exceptionable, {
|
|
181
|
+
path: path + ".declarationDir",
|
|
182
|
+
expected: "(string | undefined)",
|
|
183
|
+
value: input.declarationDir
|
|
184
|
+
})) && (undefined === input.disableSizeLimit || "boolean" === typeof input.disableSizeLimit || $guard(exceptionable, {
|
|
185
|
+
path: path + ".disableSizeLimit",
|
|
186
|
+
expected: "(boolean | undefined)",
|
|
187
|
+
value: input.disableSizeLimit
|
|
188
|
+
})) && (undefined === input.disableSourceOfProjectReferenceRedirect || "boolean" === typeof input.disableSourceOfProjectReferenceRedirect || $guard(exceptionable, {
|
|
189
|
+
path: path + ".disableSourceOfProjectReferenceRedirect",
|
|
190
|
+
expected: "(boolean | undefined)",
|
|
191
|
+
value: input.disableSourceOfProjectReferenceRedirect
|
|
192
|
+
})) && (undefined === input.disableSolutionSearching || "boolean" === typeof input.disableSolutionSearching || $guard(exceptionable, {
|
|
193
|
+
path: path + ".disableSolutionSearching",
|
|
194
|
+
expected: "(boolean | undefined)",
|
|
195
|
+
value: input.disableSolutionSearching
|
|
196
|
+
})) && (undefined === input.disableReferencedProjectLoad || "boolean" === typeof input.disableReferencedProjectLoad || $guard(exceptionable, {
|
|
197
|
+
path: path + ".disableReferencedProjectLoad",
|
|
198
|
+
expected: "(boolean | undefined)",
|
|
199
|
+
value: input.disableReferencedProjectLoad
|
|
200
|
+
})) && (undefined === input.downlevelIteration || "boolean" === typeof input.downlevelIteration || $guard(exceptionable, {
|
|
201
|
+
path: path + ".downlevelIteration",
|
|
202
|
+
expected: "(boolean | undefined)",
|
|
203
|
+
value: input.downlevelIteration
|
|
204
|
+
})) && (undefined === input.emitBOM || "boolean" === typeof input.emitBOM || $guard(exceptionable, {
|
|
205
|
+
path: path + ".emitBOM",
|
|
206
|
+
expected: "(boolean | undefined)",
|
|
207
|
+
value: input.emitBOM
|
|
208
|
+
})) && (undefined === input.emitDecoratorMetadata || "boolean" === typeof input.emitDecoratorMetadata || $guard(exceptionable, {
|
|
209
|
+
path: path + ".emitDecoratorMetadata",
|
|
210
|
+
expected: "(boolean | undefined)",
|
|
211
|
+
value: input.emitDecoratorMetadata
|
|
212
|
+
})) && (undefined === input.exactOptionalPropertyTypes || "boolean" === typeof input.exactOptionalPropertyTypes || $guard(exceptionable, {
|
|
213
|
+
path: path + ".exactOptionalPropertyTypes",
|
|
214
|
+
expected: "(boolean | undefined)",
|
|
215
|
+
value: input.exactOptionalPropertyTypes
|
|
216
|
+
})) && (undefined === input.experimentalDecorators || "boolean" === typeof input.experimentalDecorators || $guard(exceptionable, {
|
|
217
|
+
path: path + ".experimentalDecorators",
|
|
218
|
+
expected: "(boolean | undefined)",
|
|
219
|
+
value: input.experimentalDecorators
|
|
220
|
+
})) && (undefined === input.forceConsistentCasingInFileNames || "boolean" === typeof input.forceConsistentCasingInFileNames || $guard(exceptionable, {
|
|
221
|
+
path: path + ".forceConsistentCasingInFileNames",
|
|
222
|
+
expected: "(boolean | undefined)",
|
|
223
|
+
value: input.forceConsistentCasingInFileNames
|
|
224
|
+
})) && (undefined === input.importHelpers || "boolean" === typeof input.importHelpers || $guard(exceptionable, {
|
|
225
|
+
path: path + ".importHelpers",
|
|
226
|
+
expected: "(boolean | undefined)",
|
|
227
|
+
value: input.importHelpers
|
|
228
|
+
})) && true && (undefined === input.inlineSourceMap || "boolean" === typeof input.inlineSourceMap || $guard(exceptionable, {
|
|
229
|
+
path: path + ".inlineSourceMap",
|
|
230
|
+
expected: "(boolean | undefined)",
|
|
231
|
+
value: input.inlineSourceMap
|
|
232
|
+
})) && (undefined === input.inlineSources || "boolean" === typeof input.inlineSources || $guard(exceptionable, {
|
|
233
|
+
path: path + ".inlineSources",
|
|
234
|
+
expected: "(boolean | undefined)",
|
|
235
|
+
value: input.inlineSources
|
|
236
|
+
})) && (undefined === input.isolatedModules || "boolean" === typeof input.isolatedModules || $guard(exceptionable, {
|
|
237
|
+
path: path + ".isolatedModules",
|
|
238
|
+
expected: "(boolean | undefined)",
|
|
239
|
+
value: input.isolatedModules
|
|
240
|
+
})) && true && (undefined === input.keyofStringsOnly || "boolean" === typeof input.keyofStringsOnly || $guard(exceptionable, {
|
|
241
|
+
path: path + ".keyofStringsOnly",
|
|
242
|
+
expected: "(boolean | undefined)",
|
|
243
|
+
value: input.keyofStringsOnly
|
|
244
|
+
})) && (undefined === input.lib || (Array.isArray(input.lib) || $guard(exceptionable, {
|
|
245
|
+
path: path + ".lib",
|
|
246
|
+
expected: "(Array<string> | undefined)",
|
|
247
|
+
value: input.lib
|
|
248
|
+
})) && input.lib.every((elem, index4) => "string" === typeof elem || $guard(exceptionable, {
|
|
249
|
+
path: path + ".lib[" + index4 + "]",
|
|
250
|
+
expected: "string",
|
|
251
|
+
value: elem
|
|
252
|
+
}))) && (undefined === input.locale || "string" === typeof input.locale || $guard(exceptionable, {
|
|
253
|
+
path: path + ".locale",
|
|
254
|
+
expected: "(string | undefined)",
|
|
255
|
+
value: input.locale
|
|
256
|
+
})) && (undefined === input.mapRoot || "string" === typeof input.mapRoot || $guard(exceptionable, {
|
|
257
|
+
path: path + ".mapRoot",
|
|
258
|
+
expected: "(string | undefined)",
|
|
259
|
+
value: input.mapRoot
|
|
260
|
+
})) && true && true && true && (undefined === input.moduleSuffixes || (Array.isArray(input.moduleSuffixes) || $guard(exceptionable, {
|
|
261
|
+
path: path + ".moduleSuffixes",
|
|
262
|
+
expected: "(Array<string> | undefined)",
|
|
263
|
+
value: input.moduleSuffixes
|
|
264
|
+
})) && input.moduleSuffixes.every((elem, index5) => "string" === typeof elem || $guard(exceptionable, {
|
|
265
|
+
path: path + ".moduleSuffixes[" + index5 + "]",
|
|
266
|
+
expected: "string",
|
|
267
|
+
value: elem
|
|
268
|
+
}))) && true && true && (undefined === input.noEmit || "boolean" === typeof input.noEmit || $guard(exceptionable, {
|
|
269
|
+
path: path + ".noEmit",
|
|
270
|
+
expected: "(boolean | undefined)",
|
|
271
|
+
value: input.noEmit
|
|
272
|
+
})) && (undefined === input.noEmitHelpers || "boolean" === typeof input.noEmitHelpers || $guard(exceptionable, {
|
|
273
|
+
path: path + ".noEmitHelpers",
|
|
274
|
+
expected: "(boolean | undefined)",
|
|
275
|
+
value: input.noEmitHelpers
|
|
276
|
+
})) && (undefined === input.noEmitOnError || "boolean" === typeof input.noEmitOnError || $guard(exceptionable, {
|
|
277
|
+
path: path + ".noEmitOnError",
|
|
278
|
+
expected: "(boolean | undefined)",
|
|
279
|
+
value: input.noEmitOnError
|
|
280
|
+
})) && (undefined === input.noErrorTruncation || "boolean" === typeof input.noErrorTruncation || $guard(exceptionable, {
|
|
281
|
+
path: path + ".noErrorTruncation",
|
|
282
|
+
expected: "(boolean | undefined)",
|
|
283
|
+
value: input.noErrorTruncation
|
|
284
|
+
})) && (undefined === input.noFallthroughCasesInSwitch || "boolean" === typeof input.noFallthroughCasesInSwitch || $guard(exceptionable, {
|
|
285
|
+
path: path + ".noFallthroughCasesInSwitch",
|
|
286
|
+
expected: "(boolean | undefined)",
|
|
287
|
+
value: input.noFallthroughCasesInSwitch
|
|
288
|
+
})) && (undefined === input.noImplicitAny || "boolean" === typeof input.noImplicitAny || $guard(exceptionable, {
|
|
289
|
+
path: path + ".noImplicitAny",
|
|
290
|
+
expected: "(boolean | undefined)",
|
|
291
|
+
value: input.noImplicitAny
|
|
292
|
+
})) && (undefined === input.noImplicitReturns || "boolean" === typeof input.noImplicitReturns || $guard(exceptionable, {
|
|
293
|
+
path: path + ".noImplicitReturns",
|
|
294
|
+
expected: "(boolean | undefined)",
|
|
295
|
+
value: input.noImplicitReturns
|
|
296
|
+
})) && (undefined === input.noImplicitThis || "boolean" === typeof input.noImplicitThis || $guard(exceptionable, {
|
|
297
|
+
path: path + ".noImplicitThis",
|
|
298
|
+
expected: "(boolean | undefined)",
|
|
299
|
+
value: input.noImplicitThis
|
|
300
|
+
})) && (undefined === input.noStrictGenericChecks || "boolean" === typeof input.noStrictGenericChecks || $guard(exceptionable, {
|
|
301
|
+
path: path + ".noStrictGenericChecks",
|
|
302
|
+
expected: "(boolean | undefined)",
|
|
303
|
+
value: input.noStrictGenericChecks
|
|
304
|
+
})) && (undefined === input.noUnusedLocals || "boolean" === typeof input.noUnusedLocals || $guard(exceptionable, {
|
|
305
|
+
path: path + ".noUnusedLocals",
|
|
306
|
+
expected: "(boolean | undefined)",
|
|
307
|
+
value: input.noUnusedLocals
|
|
308
|
+
})) && (undefined === input.noUnusedParameters || "boolean" === typeof input.noUnusedParameters || $guard(exceptionable, {
|
|
309
|
+
path: path + ".noUnusedParameters",
|
|
310
|
+
expected: "(boolean | undefined)",
|
|
311
|
+
value: input.noUnusedParameters
|
|
312
|
+
})) && (undefined === input.noImplicitUseStrict || "boolean" === typeof input.noImplicitUseStrict || $guard(exceptionable, {
|
|
313
|
+
path: path + ".noImplicitUseStrict",
|
|
314
|
+
expected: "(boolean | undefined)",
|
|
315
|
+
value: input.noImplicitUseStrict
|
|
316
|
+
})) && (undefined === input.noPropertyAccessFromIndexSignature || "boolean" === typeof input.noPropertyAccessFromIndexSignature || $guard(exceptionable, {
|
|
317
|
+
path: path + ".noPropertyAccessFromIndexSignature",
|
|
318
|
+
expected: "(boolean | undefined)",
|
|
319
|
+
value: input.noPropertyAccessFromIndexSignature
|
|
320
|
+
})) && (undefined === input.assumeChangesOnlyAffectDirectDependencies || "boolean" === typeof input.assumeChangesOnlyAffectDirectDependencies || $guard(exceptionable, {
|
|
321
|
+
path: path + ".assumeChangesOnlyAffectDirectDependencies",
|
|
322
|
+
expected: "(boolean | undefined)",
|
|
323
|
+
value: input.assumeChangesOnlyAffectDirectDependencies
|
|
324
|
+
})) && (undefined === input.noLib || "boolean" === typeof input.noLib || $guard(exceptionable, {
|
|
325
|
+
path: path + ".noLib",
|
|
326
|
+
expected: "(boolean | undefined)",
|
|
327
|
+
value: input.noLib
|
|
328
|
+
})) && (undefined === input.noResolve || "boolean" === typeof input.noResolve || $guard(exceptionable, {
|
|
329
|
+
path: path + ".noResolve",
|
|
330
|
+
expected: "(boolean | undefined)",
|
|
331
|
+
value: input.noResolve
|
|
332
|
+
})) && (undefined === input.noUncheckedIndexedAccess || "boolean" === typeof input.noUncheckedIndexedAccess || $guard(exceptionable, {
|
|
333
|
+
path: path + ".noUncheckedIndexedAccess",
|
|
334
|
+
expected: "(boolean | undefined)",
|
|
335
|
+
value: input.noUncheckedIndexedAccess
|
|
336
|
+
})) && (undefined === input.out || "string" === typeof input.out || $guard(exceptionable, {
|
|
337
|
+
path: path + ".out",
|
|
338
|
+
expected: "(string | undefined)",
|
|
339
|
+
value: input.out
|
|
340
|
+
})) && (undefined === input.outDir || "string" === typeof input.outDir || $guard(exceptionable, {
|
|
341
|
+
path: path + ".outDir",
|
|
342
|
+
expected: "(string | undefined)",
|
|
343
|
+
value: input.outDir
|
|
344
|
+
})) && (undefined === input.outFile || "string" === typeof input.outFile || $guard(exceptionable, {
|
|
345
|
+
path: path + ".outFile",
|
|
346
|
+
expected: "(string | undefined)",
|
|
347
|
+
value: input.outFile
|
|
348
|
+
})) && (undefined === input.paths || ("object" === typeof input.paths && null !== input.paths || $guard(exceptionable, {
|
|
349
|
+
path: path + ".paths",
|
|
350
|
+
expected: "(Resolve<ts.MapLike<Array<string>>> | undefined)",
|
|
351
|
+
value: input.paths
|
|
352
|
+
})) && $ao3(input.paths, path + ".paths", true && exceptionable)) && (undefined === input.preserveConstEnums || "boolean" === typeof input.preserveConstEnums || $guard(exceptionable, {
|
|
353
|
+
path: path + ".preserveConstEnums",
|
|
354
|
+
expected: "(boolean | undefined)",
|
|
355
|
+
value: input.preserveConstEnums
|
|
356
|
+
})) && (undefined === input.noImplicitOverride || "boolean" === typeof input.noImplicitOverride || $guard(exceptionable, {
|
|
357
|
+
path: path + ".noImplicitOverride",
|
|
358
|
+
expected: "(boolean | undefined)",
|
|
359
|
+
value: input.noImplicitOverride
|
|
360
|
+
})) && (undefined === input.preserveSymlinks || "boolean" === typeof input.preserveSymlinks || $guard(exceptionable, {
|
|
361
|
+
path: path + ".preserveSymlinks",
|
|
362
|
+
expected: "(boolean | undefined)",
|
|
363
|
+
value: input.preserveSymlinks
|
|
364
|
+
})) && (undefined === input.preserveValueImports || "boolean" === typeof input.preserveValueImports || $guard(exceptionable, {
|
|
365
|
+
path: path + ".preserveValueImports",
|
|
366
|
+
expected: "(boolean | undefined)",
|
|
367
|
+
value: input.preserveValueImports
|
|
368
|
+
})) && (undefined === input.project || "string" === typeof input.project || $guard(exceptionable, {
|
|
369
|
+
path: path + ".project",
|
|
370
|
+
expected: "(string | undefined)",
|
|
371
|
+
value: input.project
|
|
372
|
+
})) && (undefined === input.reactNamespace || "string" === typeof input.reactNamespace || $guard(exceptionable, {
|
|
373
|
+
path: path + ".reactNamespace",
|
|
374
|
+
expected: "(string | undefined)",
|
|
375
|
+
value: input.reactNamespace
|
|
376
|
+
})) && (undefined === input.jsxFactory || "string" === typeof input.jsxFactory || $guard(exceptionable, {
|
|
377
|
+
path: path + ".jsxFactory",
|
|
378
|
+
expected: "(string | undefined)",
|
|
379
|
+
value: input.jsxFactory
|
|
380
|
+
})) && (undefined === input.jsxFragmentFactory || "string" === typeof input.jsxFragmentFactory || $guard(exceptionable, {
|
|
381
|
+
path: path + ".jsxFragmentFactory",
|
|
382
|
+
expected: "(string | undefined)",
|
|
383
|
+
value: input.jsxFragmentFactory
|
|
384
|
+
})) && (undefined === input.jsxImportSource || "string" === typeof input.jsxImportSource || $guard(exceptionable, {
|
|
385
|
+
path: path + ".jsxImportSource",
|
|
386
|
+
expected: "(string | undefined)",
|
|
387
|
+
value: input.jsxImportSource
|
|
388
|
+
})) && (undefined === input.composite || "boolean" === typeof input.composite || $guard(exceptionable, {
|
|
389
|
+
path: path + ".composite",
|
|
390
|
+
expected: "(boolean | undefined)",
|
|
391
|
+
value: input.composite
|
|
392
|
+
})) && (undefined === input.incremental || "boolean" === typeof input.incremental || $guard(exceptionable, {
|
|
393
|
+
path: path + ".incremental",
|
|
394
|
+
expected: "(boolean | undefined)",
|
|
395
|
+
value: input.incremental
|
|
396
|
+
})) && (undefined === input.tsBuildInfoFile || "string" === typeof input.tsBuildInfoFile || $guard(exceptionable, {
|
|
397
|
+
path: path + ".tsBuildInfoFile",
|
|
398
|
+
expected: "(string | undefined)",
|
|
399
|
+
value: input.tsBuildInfoFile
|
|
400
|
+
})) && (undefined === input.removeComments || "boolean" === typeof input.removeComments || $guard(exceptionable, {
|
|
401
|
+
path: path + ".removeComments",
|
|
402
|
+
expected: "(boolean | undefined)",
|
|
403
|
+
value: input.removeComments
|
|
404
|
+
})) && (undefined === input.rootDir || "string" === typeof input.rootDir || $guard(exceptionable, {
|
|
405
|
+
path: path + ".rootDir",
|
|
406
|
+
expected: "(string | undefined)",
|
|
407
|
+
value: input.rootDir
|
|
408
|
+
})) && (undefined === input.rootDirs || (Array.isArray(input.rootDirs) || $guard(exceptionable, {
|
|
409
|
+
path: path + ".rootDirs",
|
|
410
|
+
expected: "(Array<string> | undefined)",
|
|
411
|
+
value: input.rootDirs
|
|
412
|
+
})) && input.rootDirs.every((elem, index6) => "string" === typeof elem || $guard(exceptionable, {
|
|
413
|
+
path: path + ".rootDirs[" + index6 + "]",
|
|
414
|
+
expected: "string",
|
|
415
|
+
value: elem
|
|
416
|
+
}))) && (undefined === input.skipLibCheck || "boolean" === typeof input.skipLibCheck || $guard(exceptionable, {
|
|
417
|
+
path: path + ".skipLibCheck",
|
|
418
|
+
expected: "(boolean | undefined)",
|
|
419
|
+
value: input.skipLibCheck
|
|
420
|
+
})) && (undefined === input.skipDefaultLibCheck || "boolean" === typeof input.skipDefaultLibCheck || $guard(exceptionable, {
|
|
421
|
+
path: path + ".skipDefaultLibCheck",
|
|
422
|
+
expected: "(boolean | undefined)",
|
|
423
|
+
value: input.skipDefaultLibCheck
|
|
424
|
+
})) && (undefined === input.sourceMap || "boolean" === typeof input.sourceMap || $guard(exceptionable, {
|
|
425
|
+
path: path + ".sourceMap",
|
|
426
|
+
expected: "(boolean | undefined)",
|
|
427
|
+
value: input.sourceMap
|
|
428
|
+
})) && (undefined === input.sourceRoot || "string" === typeof input.sourceRoot || $guard(exceptionable, {
|
|
429
|
+
path: path + ".sourceRoot",
|
|
430
|
+
expected: "(string | undefined)",
|
|
431
|
+
value: input.sourceRoot
|
|
432
|
+
})) && (undefined === input.strict || "boolean" === typeof input.strict || $guard(exceptionable, {
|
|
433
|
+
path: path + ".strict",
|
|
434
|
+
expected: "(boolean | undefined)",
|
|
435
|
+
value: input.strict
|
|
436
|
+
})) && (undefined === input.strictFunctionTypes || "boolean" === typeof input.strictFunctionTypes || $guard(exceptionable, {
|
|
437
|
+
path: path + ".strictFunctionTypes",
|
|
438
|
+
expected: "(boolean | undefined)",
|
|
439
|
+
value: input.strictFunctionTypes
|
|
440
|
+
})) && (undefined === input.strictBindCallApply || "boolean" === typeof input.strictBindCallApply || $guard(exceptionable, {
|
|
441
|
+
path: path + ".strictBindCallApply",
|
|
442
|
+
expected: "(boolean | undefined)",
|
|
443
|
+
value: input.strictBindCallApply
|
|
444
|
+
})) && (undefined === input.strictNullChecks || "boolean" === typeof input.strictNullChecks || $guard(exceptionable, {
|
|
445
|
+
path: path + ".strictNullChecks",
|
|
446
|
+
expected: "(boolean | undefined)",
|
|
447
|
+
value: input.strictNullChecks
|
|
448
|
+
})) && (undefined === input.strictPropertyInitialization || "boolean" === typeof input.strictPropertyInitialization || $guard(exceptionable, {
|
|
449
|
+
path: path + ".strictPropertyInitialization",
|
|
450
|
+
expected: "(boolean | undefined)",
|
|
451
|
+
value: input.strictPropertyInitialization
|
|
452
|
+
})) && (undefined === input.stripInternal || "boolean" === typeof input.stripInternal || $guard(exceptionable, {
|
|
453
|
+
path: path + ".stripInternal",
|
|
454
|
+
expected: "(boolean | undefined)",
|
|
455
|
+
value: input.stripInternal
|
|
456
|
+
})) && (undefined === input.suppressExcessPropertyErrors || "boolean" === typeof input.suppressExcessPropertyErrors || $guard(exceptionable, {
|
|
457
|
+
path: path + ".suppressExcessPropertyErrors",
|
|
458
|
+
expected: "(boolean | undefined)",
|
|
459
|
+
value: input.suppressExcessPropertyErrors
|
|
460
|
+
})) && (undefined === input.suppressImplicitAnyIndexErrors || "boolean" === typeof input.suppressImplicitAnyIndexErrors || $guard(exceptionable, {
|
|
461
|
+
path: path + ".suppressImplicitAnyIndexErrors",
|
|
462
|
+
expected: "(boolean | undefined)",
|
|
463
|
+
value: input.suppressImplicitAnyIndexErrors
|
|
464
|
+
})) && true && (undefined === input.traceResolution || "boolean" === typeof input.traceResolution || $guard(exceptionable, {
|
|
465
|
+
path: path + ".traceResolution",
|
|
466
|
+
expected: "(boolean | undefined)",
|
|
467
|
+
value: input.traceResolution
|
|
468
|
+
})) && (undefined === input.useUnknownInCatchVariables || "boolean" === typeof input.useUnknownInCatchVariables || $guard(exceptionable, {
|
|
469
|
+
path: path + ".useUnknownInCatchVariables",
|
|
470
|
+
expected: "(boolean | undefined)",
|
|
471
|
+
value: input.useUnknownInCatchVariables
|
|
472
|
+
})) && (undefined === input.resolveJsonModule || "boolean" === typeof input.resolveJsonModule || $guard(exceptionable, {
|
|
473
|
+
path: path + ".resolveJsonModule",
|
|
474
|
+
expected: "(boolean | undefined)",
|
|
475
|
+
value: input.resolveJsonModule
|
|
476
|
+
})) && (undefined === input.types || (Array.isArray(input.types) || $guard(exceptionable, {
|
|
477
|
+
path: path + ".types",
|
|
478
|
+
expected: "(Array<string> | undefined)",
|
|
479
|
+
value: input.types
|
|
480
|
+
})) && input.types.every((elem, index7) => "string" === typeof elem || $guard(exceptionable, {
|
|
481
|
+
path: path + ".types[" + index7 + "]",
|
|
482
|
+
expected: "string",
|
|
483
|
+
value: elem
|
|
484
|
+
}))) && (undefined === input.typeRoots || (Array.isArray(input.typeRoots) || $guard(exceptionable, {
|
|
485
|
+
path: path + ".typeRoots",
|
|
486
|
+
expected: "(Array<string> | undefined)",
|
|
487
|
+
value: input.typeRoots
|
|
488
|
+
})) && input.typeRoots.every((elem, index8) => "string" === typeof elem || $guard(exceptionable, {
|
|
489
|
+
path: path + ".typeRoots[" + index8 + "]",
|
|
490
|
+
expected: "string",
|
|
491
|
+
value: elem
|
|
492
|
+
}))) && (undefined === input.esModuleInterop || "boolean" === typeof input.esModuleInterop || $guard(exceptionable, {
|
|
493
|
+
path: path + ".esModuleInterop",
|
|
494
|
+
expected: "(boolean | undefined)",
|
|
495
|
+
value: input.esModuleInterop
|
|
496
|
+
})) && (undefined === input.useDefineForClassFields || "boolean" === typeof input.useDefineForClassFields || $guard(exceptionable, {
|
|
497
|
+
path: path + ".useDefineForClassFields",
|
|
498
|
+
expected: "(boolean | undefined)",
|
|
499
|
+
value: input.useDefineForClassFields
|
|
500
|
+
})) && (false === exceptionable || Object.keys(input).every(key => {
|
|
501
|
+
const value = input[key];
|
|
502
|
+
if (undefined === value)
|
|
503
|
+
return true;
|
|
504
|
+
if (RegExp(/(.*)/).test(key))
|
|
505
|
+
return true;
|
|
506
|
+
return true;
|
|
507
|
+
}));
|
|
508
|
+
const $ao3 = (input, path, exceptionable) => false === exceptionable || Object.keys(input).every(key => {
|
|
509
|
+
const value = input[key];
|
|
510
|
+
if (undefined === value)
|
|
511
|
+
return true;
|
|
512
|
+
if (RegExp(/(.*)/).test(key))
|
|
513
|
+
return (Array.isArray(value) || $guard(exceptionable, {
|
|
514
|
+
path: path + $join(key),
|
|
515
|
+
expected: "Array<string>",
|
|
516
|
+
value: value
|
|
517
|
+
})) && value.every((elem, index9) => "string" === typeof elem || $guard(exceptionable, {
|
|
518
|
+
path: path + $join(key) + "[" + index9 + "]",
|
|
519
|
+
expected: "string",
|
|
520
|
+
value: elem
|
|
521
|
+
}));
|
|
522
|
+
return true;
|
|
523
|
+
});
|
|
524
|
+
const $ao4 = (input, path, exceptionable) => "string" === typeof input.output || $guard(exceptionable, {
|
|
525
|
+
path: path + ".output",
|
|
526
|
+
expected: "string",
|
|
527
|
+
value: input.output
|
|
528
|
+
});
|
|
529
|
+
return ("object" === typeof input && null !== input || $guard(true, {
|
|
530
|
+
path: path + "",
|
|
531
|
+
expected: "Resolve<INestiaConfig>",
|
|
532
|
+
value: input
|
|
533
|
+
})) && $ao0(input, path + "", true);
|
|
534
|
+
})(input, "$input", true);
|
|
535
|
+
return input;
|
|
536
|
+
})(cloned);
|
|
537
|
+
}));
|
|
538
|
+
})(NestiaSdkConfig = exports.NestiaSdkConfig || (exports.NestiaSdkConfig = {}));
|
|
539
|
+
//# sourceMappingURL=NestiaSdkConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NestiaSdkConfig.js","sourceRoot":"","sources":["../../../src/executable/internal/NestiaSdkConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4CAAoB;AACpB,gDAAwB;AACxB,gDAAkC;AAClC,qDAAkD;AAClD,iCAA+B;AAI/B,IAAiB,eAAe,CA0B/B;AA1BD,WAAiB,eAAe;IAC5B,SAAgB,GAAG;QACf,OAAO,SAAS,CAAC,GAAG,EAAE,CAAC;IAC3B,CAAC;IAFe,mBAAG,MAElB,CAAA;IAED,MAAM,SAAS,GAAG,IAAI,qBAAS,CAAC,GAAS,EAAE;;QACvC,IAAI,YAAE,CAAC,UAAU,CAAC,kBAAkB,CAAC,KAAK,KAAK;YAAE,OAAO,IAAI,CAAC;QAE7D,MAAM,CAAC,QAAQ,CAAC;YACZ,IAAI,EAAE,KAAK;YACX,eAAe,EAAE;gBACb,MAAM,EAAE,UAAU;gBAClB,MAAM,EAAE,IAAI;aACf;SACJ,CAAC,CAAC;QAEH,MAAM,MAAM,GACR,YAAa,cAAI,CAAC,OAAO,CAAC,kBAAkB,CAAC,0DAAC,CAAC;QACnD,IAAI,OAAO,MAAM,KAAK,QAAQ;YAC1B,MAAM,IAAI,KAAK,CAAC,kDAAkD,CAAC,CAAC;QAExE,MAAM,MAAM,GACR,OAAO,MAAM,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;QACjE,MAAM,MAAM,GAAkB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;QACjE;2BAAO,cAAM;0BAAN,cAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAC,MAAM,EAAE;IAC1B,CAAC,CAAA,CAAC,CAAC;AACP,CAAC,EA1BgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA0B/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
const WorkerServer_1 = require("tgrid/protocols/workers/WorkerServer");
|
|
13
|
+
const NestiaSdkConfig_1 = require("./NestiaSdkConfig");
|
|
14
|
+
function main() {
|
|
15
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16
|
+
const worker = new WorkerServer_1.WorkerServer();
|
|
17
|
+
yield worker.open(NestiaSdkConfig_1.NestiaSdkConfig);
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
main().catch((exp) => {
|
|
21
|
+
console.log(exp);
|
|
22
|
+
process.exit(-1);
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=nestia.config.getter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nestia.config.getter.js","sourceRoot":"","sources":["../../../src/executable/internal/nestia.config.getter.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,uEAAoE;AAEpE,uDAAoD;AAEpD,SAAe,IAAI;;QACf,MAAM,MAAM,GAAG,IAAI,2BAAY,EAAE,CAAC;QAClC,MAAM,MAAM,CAAC,IAAI,CAAC,iCAAe,CAAC,CAAC;IACvC,CAAC;CAAA;AACD,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;IACjB,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACjB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;AACrB,CAAC,CAAC,CAAC"}
|