@bluealba/pae-bootstrap-lib 3.0.0 → 3.1.0-develop-179
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/dist/src/bootstrap/domain/bootstrap-sync-metadata.interface.d.ts +31 -14
- package/dist/src/bootstrap/domain/bootstrap-sync-metadata.interface.d.ts.map +1 -1
- package/dist/src/bootstrap/domain/domain-validation.test.js +840 -424
- package/dist/src/bootstrap/domain/domain-validation.test.js.map +1 -1
- package/dist/src/bootstrap/read-bootstrap-applications.js +312 -90
- package/dist/src/bootstrap/read-bootstrap-applications.js.map +1 -1
- package/package.json +1 -1
|
@@ -117,7 +117,14 @@ const readPlatformBootstrapFolder = (path, options) => {
|
|
|
117
117
|
}
|
|
118
118
|
else if (item.name === FILE_FEATURE_FLAGS) {
|
|
119
119
|
try {
|
|
120
|
-
acc.featureFlags = (() => { const _io0 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.
|
|
120
|
+
acc.featureFlags = (() => { const _io0 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.visible || "boolean" === typeof input.visible) && true && (undefined === input.valueRules || Array.isArray(input.valueRules) && input.valueRules.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io1 = input => (undefined === input.name || "string" === typeof input.name) && ("object" === typeof input.condition && null !== input.condition && _iu0(input.condition)) && true && (undefined === input.rollout || "object" === typeof input.rollout && null !== input.rollout && _io4(input.rollout)); const _io2 = input => "string" === typeof input.attribute && ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator) && (null !== input.value && undefined !== input.value && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem))); const _io3 = input => ("AND" === input.operator || "OR" === input.operator) && (Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io4 = input => "number" === typeof input.percentage && "string" === typeof input.attribute; const _iu0 = input => (() => {
|
|
121
|
+
if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
|
|
122
|
+
return _io2(input);
|
|
123
|
+
else if ("AND" === input.operator || "OR" === input.operator)
|
|
124
|
+
return _io3(input);
|
|
125
|
+
else
|
|
126
|
+
return false;
|
|
127
|
+
})(); const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
121
128
|
method: "typia.assert",
|
|
122
129
|
path: _path + ".name",
|
|
123
130
|
expected: "string",
|
|
@@ -127,62 +134,144 @@ const readPlatformBootstrapFolder = (path, options) => {
|
|
|
127
134
|
path: _path + ".description",
|
|
128
135
|
expected: "(string | undefined)",
|
|
129
136
|
value: input.description
|
|
130
|
-
}, _errorFactory)) && (undefined === input.
|
|
137
|
+
}, _errorFactory)) && (undefined === input.visible || "boolean" === typeof input.visible || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
131
138
|
method: "typia.assert",
|
|
132
|
-
path: _path + ".
|
|
139
|
+
path: _path + ".visible",
|
|
133
140
|
expected: "(boolean | undefined)",
|
|
134
|
-
value: input.
|
|
141
|
+
value: input.visible
|
|
142
|
+
}, _errorFactory)) && true && (undefined === input.valueRules || (Array.isArray(input.valueRules) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
143
|
+
method: "typia.assert",
|
|
144
|
+
path: _path + ".valueRules",
|
|
145
|
+
expected: "(Array<BootstrapValueRule> | undefined)",
|
|
146
|
+
value: input.valueRules
|
|
147
|
+
}, _errorFactory)) && input.valueRules.every((elem, _index6) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
148
|
+
method: "typia.assert",
|
|
149
|
+
path: _path + ".valueRules[" + _index6 + "]",
|
|
150
|
+
expected: "BootstrapValueRule",
|
|
151
|
+
value: elem
|
|
152
|
+
}, _errorFactory)) && _ao1(elem, _path + ".valueRules[" + _index6 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
153
|
+
method: "typia.assert",
|
|
154
|
+
path: _path + ".valueRules[" + _index6 + "]",
|
|
155
|
+
expected: "BootstrapValueRule",
|
|
156
|
+
value: elem
|
|
157
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
158
|
+
method: "typia.assert",
|
|
159
|
+
path: _path + ".valueRules",
|
|
160
|
+
expected: "(Array<BootstrapValueRule> | undefined)",
|
|
161
|
+
value: input.valueRules
|
|
135
162
|
}, _errorFactory)) && (undefined === input.applicationName || "string" === typeof input.applicationName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
136
163
|
method: "typia.assert",
|
|
137
164
|
path: _path + ".applicationName",
|
|
138
165
|
expected: "(string | undefined)",
|
|
139
166
|
value: input.applicationName
|
|
140
|
-
}, _errorFactory))
|
|
167
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
141
168
|
method: "typia.assert",
|
|
142
|
-
path: _path + ".
|
|
143
|
-
expected: "(
|
|
144
|
-
value: input.
|
|
145
|
-
}, _errorFactory)) &&
|
|
169
|
+
path: _path + ".name",
|
|
170
|
+
expected: "(string | undefined)",
|
|
171
|
+
value: input.name
|
|
172
|
+
}, _errorFactory)) && (("object" === typeof input.condition && null !== input.condition || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
146
173
|
method: "typia.assert",
|
|
147
|
-
path: _path + ".
|
|
148
|
-
expected: "
|
|
149
|
-
value:
|
|
150
|
-
}, _errorFactory)) &&
|
|
174
|
+
path: _path + ".condition",
|
|
175
|
+
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
176
|
+
value: input.condition
|
|
177
|
+
}, _errorFactory)) && _au0(input.condition, _path + ".condition", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
151
178
|
method: "typia.assert",
|
|
152
|
-
path: _path + ".
|
|
153
|
-
expected: "
|
|
154
|
-
value:
|
|
155
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
179
|
+
path: _path + ".condition",
|
|
180
|
+
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
181
|
+
value: input.condition
|
|
182
|
+
}, _errorFactory)) && true && (undefined === input.rollout || ("object" === typeof input.rollout && null !== input.rollout || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
156
183
|
method: "typia.assert",
|
|
157
|
-
path: _path + ".
|
|
158
|
-
expected: "(
|
|
159
|
-
value: input.
|
|
160
|
-
}, _errorFactory))
|
|
184
|
+
path: _path + ".rollout",
|
|
185
|
+
expected: "(__type | undefined)",
|
|
186
|
+
value: input.rollout
|
|
187
|
+
}, _errorFactory)) && _ao4(input.rollout, _path + ".rollout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
161
188
|
method: "typia.assert",
|
|
162
|
-
path: _path + ".
|
|
189
|
+
path: _path + ".rollout",
|
|
190
|
+
expected: "(__type | undefined)",
|
|
191
|
+
value: input.rollout
|
|
192
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.attribute || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
193
|
+
method: "typia.assert",
|
|
194
|
+
path: _path + ".attribute",
|
|
163
195
|
expected: "string",
|
|
164
|
-
value: input.
|
|
165
|
-
}, _errorFactory)) && ("
|
|
196
|
+
value: input.attribute
|
|
197
|
+
}, _errorFactory)) && ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
166
198
|
method: "typia.assert",
|
|
167
199
|
path: _path + ".operator",
|
|
168
|
-
expected: "
|
|
200
|
+
expected: "(\"eq\" | \"in\" | \"neq\" | \"nin\")",
|
|
169
201
|
value: input.operator
|
|
170
|
-
}, _errorFactory)) && (
|
|
202
|
+
}, _errorFactory)) && ((null !== input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
203
|
+
method: "typia.assert",
|
|
204
|
+
path: _path + ".value",
|
|
205
|
+
expected: "(Array<string> | boolean | number | string)",
|
|
206
|
+
value: input.value
|
|
207
|
+
}, _errorFactory)) && (undefined !== input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
171
208
|
method: "typia.assert",
|
|
172
|
-
path: _path + ".
|
|
173
|
-
expected: "(Array<string> |
|
|
174
|
-
value: input.
|
|
175
|
-
}, _errorFactory)) && input.
|
|
209
|
+
path: _path + ".value",
|
|
210
|
+
expected: "(Array<string> | boolean | number | string)",
|
|
211
|
+
value: input.value
|
|
212
|
+
}, _errorFactory)) && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || (Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
176
213
|
method: "typia.assert",
|
|
177
|
-
path: _path + ".
|
|
214
|
+
path: _path + ".value",
|
|
215
|
+
expected: "(Array<string> | boolean | number | string)",
|
|
216
|
+
value: input.value
|
|
217
|
+
}, _errorFactory)) && input.value.every((elem, _index7) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
218
|
+
method: "typia.assert",
|
|
219
|
+
path: _path + ".value[" + _index7 + "]",
|
|
178
220
|
expected: "string",
|
|
179
221
|
value: elem
|
|
180
222
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
181
223
|
method: "typia.assert",
|
|
182
|
-
path: _path + ".
|
|
183
|
-
expected: "(Array<string> |
|
|
184
|
-
value: input.
|
|
185
|
-
}, _errorFactory)); const
|
|
224
|
+
path: _path + ".value",
|
|
225
|
+
expected: "(Array<string> | boolean | number | string)",
|
|
226
|
+
value: input.value
|
|
227
|
+
}, _errorFactory))); const _ao3 = (input, _path, _exceptionable = true) => ("AND" === input.operator || "OR" === input.operator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
228
|
+
method: "typia.assert",
|
|
229
|
+
path: _path + ".operator",
|
|
230
|
+
expected: "(\"AND\" | \"OR\")",
|
|
231
|
+
value: input.operator
|
|
232
|
+
}, _errorFactory)) && ((Array.isArray(input.rules) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
233
|
+
method: "typia.assert",
|
|
234
|
+
path: _path + ".rules",
|
|
235
|
+
expected: "Array<BootstrapCondition>",
|
|
236
|
+
value: input.rules
|
|
237
|
+
}, _errorFactory)) && input.rules.every((elem, _index8) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
238
|
+
method: "typia.assert",
|
|
239
|
+
path: _path + ".rules[" + _index8 + "]",
|
|
240
|
+
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
241
|
+
value: elem
|
|
242
|
+
}, _errorFactory)) && _au0(elem, _path + ".rules[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
243
|
+
method: "typia.assert",
|
|
244
|
+
path: _path + ".rules[" + _index8 + "]",
|
|
245
|
+
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
246
|
+
value: elem
|
|
247
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
248
|
+
method: "typia.assert",
|
|
249
|
+
path: _path + ".rules",
|
|
250
|
+
expected: "Array<BootstrapCondition>",
|
|
251
|
+
value: input.rules
|
|
252
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => ("number" === typeof input.percentage || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
253
|
+
method: "typia.assert",
|
|
254
|
+
path: _path + ".percentage",
|
|
255
|
+
expected: "number",
|
|
256
|
+
value: input.percentage
|
|
257
|
+
}, _errorFactory)) && ("string" === typeof input.attribute || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
258
|
+
method: "typia.assert",
|
|
259
|
+
path: _path + ".attribute",
|
|
260
|
+
expected: "string",
|
|
261
|
+
value: input.attribute
|
|
262
|
+
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
263
|
+
if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
|
|
264
|
+
return _ao2(input, _path, true && _exceptionable);
|
|
265
|
+
else if ("AND" === input.operator || "OR" === input.operator)
|
|
266
|
+
return _ao3(input, _path, true && _exceptionable);
|
|
267
|
+
else
|
|
268
|
+
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
269
|
+
method: "typia.assert",
|
|
270
|
+
path: _path,
|
|
271
|
+
expected: "(BootstrapLeafCondition | BootstrapCompositeCondition)",
|
|
272
|
+
value: input
|
|
273
|
+
}, _errorFactory);
|
|
274
|
+
})(); const __is = input => undefined === input || Array.isArray(input) && input.every(elem => "object" === typeof elem && null !== elem && _io0(elem)); let _errorFactory; return (input, errorFactory) => {
|
|
186
275
|
if (false === __is(input)) {
|
|
187
276
|
_errorFactory = errorFactory;
|
|
188
277
|
((input, _path, _exceptionable = true) => undefined === input || (Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
@@ -190,14 +279,14 @@ const readPlatformBootstrapFolder = (path, options) => {
|
|
|
190
279
|
path: _path + "",
|
|
191
280
|
expected: "(Array<BootstrapFeatureFlag> | undefined)",
|
|
192
281
|
value: input
|
|
193
|
-
}, _errorFactory)) && input.every((elem,
|
|
282
|
+
}, _errorFactory)) && input.every((elem, _index5) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(true, {
|
|
194
283
|
method: "typia.assert",
|
|
195
|
-
path: _path + "[" +
|
|
284
|
+
path: _path + "[" + _index5 + "]",
|
|
196
285
|
expected: "BootstrapFeatureFlag",
|
|
197
286
|
value: elem
|
|
198
|
-
}, _errorFactory)) && _ao0(elem, _path + "[" +
|
|
287
|
+
}, _errorFactory)) && _ao0(elem, _path + "[" + _index5 + "]", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
199
288
|
method: "typia.assert",
|
|
200
|
-
path: _path + "[" +
|
|
289
|
+
path: _path + "[" + _index5 + "]",
|
|
201
290
|
expected: "BootstrapFeatureFlag",
|
|
202
291
|
value: elem
|
|
203
292
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(true, {
|
|
@@ -293,19 +382,31 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
293
382
|
if (existsSync((0, path_1.join)(path, FILE_MODULES))) {
|
|
294
383
|
const data = readApplicationItems(path, FILE_MODULES, application, 'application');
|
|
295
384
|
try {
|
|
296
|
-
application.modules.push(...(() => { const _io0 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io1(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io2(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io3(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction &&
|
|
385
|
+
application.modules.push(...(() => { const _io0 = input => "string" === typeof input.name && "string" === typeof input.displayName && ("service" === input.type || "app" === input.type || "tool" === input.type || "utility" === input.type || "cloud-function" === input.type || "documentation" === input.type) && "string" === typeof input.baseUrl && ("object" === typeof input.service && null !== input.service && _io1(input.service)) && (Array.isArray(input.dependsOn) && input.dependsOn.every(elem => "string" === typeof elem)) && (undefined === input.commonPaths || "object" === typeof input.commonPaths && null !== input.commonPaths && false === Array.isArray(input.commonPaths) && _io2(input.commonPaths)) && (undefined === input.ui || "object" === typeof input.ui && null !== input.ui && _io3(input.ui)) && (undefined === input.cloudFunction || "object" === typeof input.cloudFunction && null !== input.cloudFunction && _io7(input.cloudFunction)) && (undefined === input.authorization || "object" === typeof input.authorization && null !== input.authorization && false === Array.isArray(input.authorization) && _io8(input.authorization)) && (undefined === input.application || "string" === typeof input.application) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.isPublic || "boolean" === typeof input.isPublic) && (undefined === input.id || "number" === typeof input.id) && (undefined === input.serviceLocal || "object" === typeof input.serviceLocal && null !== input.serviceLocal && false === Array.isArray(input.serviceLocal) && _io10(input.serviceLocal)) && Object.keys(input).every(key => {
|
|
297
386
|
if (["name", "displayName", "type", "baseUrl", "service", "dependsOn", "commonPaths", "ui", "cloudFunction", "authorization", "application", "version", "isPublic", "id", "serviceLocal"].some(prop => key === prop))
|
|
298
387
|
return true;
|
|
299
388
|
const value = input[key];
|
|
300
389
|
if (undefined === value)
|
|
301
390
|
return true;
|
|
302
391
|
return "string" === typeof value;
|
|
303
|
-
}); const _io1 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io2 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io3 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io4(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io4 = input => Object.keys(input).every(key => {
|
|
392
|
+
}); const _io1 = input => "string" === typeof input.host && "number" === typeof input.port && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _io2 = input => (undefined === input.apiDocs || "string" === typeof input.apiDocs) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.health || "string" === typeof input.health) && (undefined === input.changelog || "string" === typeof input.changelog); const _io3 = input => "string" === typeof input.route && (null === input.mountAtSelector || undefined === input.mountAtSelector || "string" === typeof input.mountAtSelector) && "string" === typeof input.bundleFile && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io4(input.customProps)) && (undefined === input.shell || "boolean" === typeof input.shell) && (undefined === input.isPlatformCustomization || "boolean" === typeof input.isPlatformCustomization); const _io4 = input => (undefined === input.tenantOverrides || "object" === typeof input.tenantOverrides && null !== input.tenantOverrides && false === Array.isArray(input.tenantOverrides) && _io5(input.tenantOverrides)) && Object.keys(input).every(key => {
|
|
393
|
+
if (["tenantOverrides"].some(prop => key === prop))
|
|
394
|
+
return true;
|
|
395
|
+
const value = input[key];
|
|
396
|
+
if (undefined === value)
|
|
397
|
+
return true;
|
|
398
|
+
return true;
|
|
399
|
+
}); const _io5 = input => Object.keys(input).every(key => {
|
|
400
|
+
const value = input[key];
|
|
401
|
+
if (undefined === value)
|
|
402
|
+
return true;
|
|
403
|
+
return "object" === typeof value && null !== value && false === Array.isArray(value) && _io6(value);
|
|
404
|
+
}); const _io6 = input => Object.keys(input).every(key => {
|
|
304
405
|
const value = input[key];
|
|
305
406
|
if (undefined === value)
|
|
306
407
|
return true;
|
|
307
408
|
return true;
|
|
308
|
-
}); const
|
|
409
|
+
}); const _io7 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io8 = input => (undefined === input.operations || Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)) && (undefined === input.routes || Array.isArray(input.routes) && input.routes.every(elem => "object" === typeof elem && null !== elem && _io9(elem))); const _io9 = input => (undefined === input.methods || Array.isArray(input.methods) && input.methods.every(elem => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem)) && "string" === typeof input.pattern && (Array.isArray(input.operations) && input.operations.every(elem => "string" === typeof elem)); const _io10 = input => (undefined === input.host || "string" === typeof input.host) && (undefined === input.port || "number" === typeof input.port) && (undefined === input.protocol || "string" === typeof input.protocol) && (undefined === input.includeBaseURL || "boolean" === typeof input.includeBaseURL); const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
309
410
|
method: "typia.assert",
|
|
310
411
|
path: _path + ".name",
|
|
311
412
|
expected: "string",
|
|
@@ -375,7 +476,7 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
375
476
|
path: _path + ".cloudFunction",
|
|
376
477
|
expected: "(CloudFunctionConfig | undefined)",
|
|
377
478
|
value: input.cloudFunction
|
|
378
|
-
}, _errorFactory)) &&
|
|
479
|
+
}, _errorFactory)) && _ao7(input.cloudFunction, _path + ".cloudFunction", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
379
480
|
method: "typia.assert",
|
|
380
481
|
path: _path + ".cloudFunction",
|
|
381
482
|
expected: "(CloudFunctionConfig | undefined)",
|
|
@@ -385,7 +486,7 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
385
486
|
path: _path + ".authorization",
|
|
386
487
|
expected: "(AuthorizationMetadata | undefined)",
|
|
387
488
|
value: input.authorization
|
|
388
|
-
}, _errorFactory)) &&
|
|
489
|
+
}, _errorFactory)) && _ao8(input.authorization, _path + ".authorization", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
389
490
|
method: "typia.assert",
|
|
390
491
|
path: _path + ".authorization",
|
|
391
492
|
expected: "(AuthorizationMetadata | undefined)",
|
|
@@ -415,7 +516,7 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
415
516
|
path: _path + ".serviceLocal",
|
|
416
517
|
expected: "(Partial<ServiceConfig> | undefined)",
|
|
417
518
|
value: input.serviceLocal
|
|
418
|
-
}, _errorFactory)) &&
|
|
519
|
+
}, _errorFactory)) && _ao10(input.serviceLocal, _path + ".serviceLocal", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
419
520
|
method: "typia.assert",
|
|
420
521
|
path: _path + ".serviceLocal",
|
|
421
522
|
expected: "(Partial<ServiceConfig> | undefined)",
|
|
@@ -507,12 +608,44 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
507
608
|
path: _path + ".isPlatformCustomization",
|
|
508
609
|
expected: "(boolean | undefined)",
|
|
509
610
|
value: input.isPlatformCustomization
|
|
510
|
-
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) =>
|
|
611
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => (undefined === input.tenantOverrides || ("object" === typeof input.tenantOverrides && null !== input.tenantOverrides && false === Array.isArray(input.tenantOverrides) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
612
|
+
method: "typia.assert",
|
|
613
|
+
path: _path + ".tenantOverrides",
|
|
614
|
+
expected: "(Record<string, Record<string, any>> | undefined)",
|
|
615
|
+
value: input.tenantOverrides
|
|
616
|
+
}, _errorFactory)) && _ao5(input.tenantOverrides, _path + ".tenantOverrides", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
617
|
+
method: "typia.assert",
|
|
618
|
+
path: _path + ".tenantOverrides",
|
|
619
|
+
expected: "(Record<string, Record<string, any>> | undefined)",
|
|
620
|
+
value: input.tenantOverrides
|
|
621
|
+
}, _errorFactory)) && (false === _exceptionable || Object.keys(input).every(key => {
|
|
622
|
+
if (["tenantOverrides"].some(prop => key === prop))
|
|
623
|
+
return true;
|
|
511
624
|
const value = input[key];
|
|
512
625
|
if (undefined === value)
|
|
513
626
|
return true;
|
|
514
627
|
return true;
|
|
515
|
-
}); const _ao5 = (input, _path, _exceptionable = true) =>
|
|
628
|
+
})); const _ao5 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
629
|
+
const value = input[key];
|
|
630
|
+
if (undefined === value)
|
|
631
|
+
return true;
|
|
632
|
+
return ("object" === typeof value && null !== value && false === Array.isArray(value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
633
|
+
method: "typia.assert",
|
|
634
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
635
|
+
expected: "Record<string, any>",
|
|
636
|
+
value: value
|
|
637
|
+
}, _errorFactory)) && _ao6(value, _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key), true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
638
|
+
method: "typia.assert",
|
|
639
|
+
path: _path + __typia_transform__accessExpressionAsString._accessExpressionAsString(key),
|
|
640
|
+
expected: "Record<string, any>",
|
|
641
|
+
value: value
|
|
642
|
+
}, _errorFactory);
|
|
643
|
+
}); const _ao6 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
|
|
644
|
+
const value = input[key];
|
|
645
|
+
if (undefined === value)
|
|
646
|
+
return true;
|
|
647
|
+
return true;
|
|
648
|
+
}); const _ao7 = (input, _path, _exceptionable = true) => ("aws" === input.provider || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
516
649
|
method: "typia.assert",
|
|
517
650
|
path: _path + ".provider",
|
|
518
651
|
expected: "\"aws\"",
|
|
@@ -522,7 +655,7 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
522
655
|
path: _path + ".requiresSignature",
|
|
523
656
|
expected: "boolean",
|
|
524
657
|
value: input.requiresSignature
|
|
525
|
-
}, _errorFactory)); const
|
|
658
|
+
}, _errorFactory)); const _ao8 = (input, _path, _exceptionable = true) => (undefined === input.operations || (Array.isArray(input.operations) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
526
659
|
method: "typia.assert",
|
|
527
660
|
path: _path + ".operations",
|
|
528
661
|
expected: "(Array<string> | undefined)",
|
|
@@ -547,7 +680,7 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
547
680
|
path: _path + ".routes[" + _index10 + "]",
|
|
548
681
|
expected: "RouteAuthorization",
|
|
549
682
|
value: elem
|
|
550
|
-
}, _errorFactory)) &&
|
|
683
|
+
}, _errorFactory)) && _ao9(elem, _path + ".routes[" + _index10 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
551
684
|
method: "typia.assert",
|
|
552
685
|
path: _path + ".routes[" + _index10 + "]",
|
|
553
686
|
expected: "RouteAuthorization",
|
|
@@ -557,7 +690,7 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
557
690
|
path: _path + ".routes",
|
|
558
691
|
expected: "(Array<RouteAuthorization> | undefined)",
|
|
559
692
|
value: input.routes
|
|
560
|
-
}, _errorFactory)); const
|
|
693
|
+
}, _errorFactory)); const _ao9 = (input, _path, _exceptionable = true) => (undefined === input.methods || (Array.isArray(input.methods) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
561
694
|
method: "typia.assert",
|
|
562
695
|
path: _path + ".methods",
|
|
563
696
|
expected: "(Array<HttpMethod> | undefined)",
|
|
@@ -592,7 +725,7 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
592
725
|
path: _path + ".operations",
|
|
593
726
|
expected: "Array<string>",
|
|
594
727
|
value: input.operations
|
|
595
|
-
}, _errorFactory)); const
|
|
728
|
+
}, _errorFactory)); const _ao10 = (input, _path, _exceptionable = true) => (undefined === input.host || "string" === typeof input.host || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
596
729
|
method: "typia.assert",
|
|
597
730
|
path: _path + ".host",
|
|
598
731
|
expected: "(string | undefined)",
|
|
@@ -958,7 +1091,14 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
958
1091
|
}
|
|
959
1092
|
if (existsSync((0, path_1.join)(path, FILE_FEATURE_FLAGS))) {
|
|
960
1093
|
try {
|
|
961
|
-
const rawFlags = (() => { const _io0 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.
|
|
1094
|
+
const rawFlags = (() => { const _io0 = input => "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.visible || "boolean" === typeof input.visible) && true && (undefined === input.valueRules || Array.isArray(input.valueRules) && input.valueRules.every(elem => "object" === typeof elem && null !== elem && _io1(elem))) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io1 = input => (undefined === input.name || "string" === typeof input.name) && ("object" === typeof input.condition && null !== input.condition && _iu0(input.condition)) && true && (undefined === input.rollout || "object" === typeof input.rollout && null !== input.rollout && _io4(input.rollout)); const _io2 = input => "string" === typeof input.attribute && ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator) && (null !== input.value && undefined !== input.value && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || Array.isArray(input.value) && input.value.every(elem => "string" === typeof elem))); const _io3 = input => ("AND" === input.operator || "OR" === input.operator) && (Array.isArray(input.rules) && input.rules.every(elem => "object" === typeof elem && null !== elem && _iu0(elem))); const _io4 = input => "number" === typeof input.percentage && "string" === typeof input.attribute; const _iu0 = input => (() => {
|
|
1095
|
+
if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
|
|
1096
|
+
return _io2(input);
|
|
1097
|
+
else if ("AND" === input.operator || "OR" === input.operator)
|
|
1098
|
+
return _io3(input);
|
|
1099
|
+
else
|
|
1100
|
+
return false;
|
|
1101
|
+
})(); const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
962
1102
|
method: "typia.assert",
|
|
963
1103
|
path: _path + ".name",
|
|
964
1104
|
expected: "string",
|
|
@@ -968,62 +1108,144 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
968
1108
|
path: _path + ".description",
|
|
969
1109
|
expected: "(string | undefined)",
|
|
970
1110
|
value: input.description
|
|
971
|
-
}, _errorFactory)) && (undefined === input.
|
|
1111
|
+
}, _errorFactory)) && (undefined === input.visible || "boolean" === typeof input.visible || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
972
1112
|
method: "typia.assert",
|
|
973
|
-
path: _path + ".
|
|
1113
|
+
path: _path + ".visible",
|
|
974
1114
|
expected: "(boolean | undefined)",
|
|
975
|
-
value: input.
|
|
1115
|
+
value: input.visible
|
|
1116
|
+
}, _errorFactory)) && true && (undefined === input.valueRules || (Array.isArray(input.valueRules) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1117
|
+
method: "typia.assert",
|
|
1118
|
+
path: _path + ".valueRules",
|
|
1119
|
+
expected: "(Array<BootstrapValueRule> | undefined)",
|
|
1120
|
+
value: input.valueRules
|
|
1121
|
+
}, _errorFactory)) && input.valueRules.every((elem, _index6) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1122
|
+
method: "typia.assert",
|
|
1123
|
+
path: _path + ".valueRules[" + _index6 + "]",
|
|
1124
|
+
expected: "BootstrapValueRule",
|
|
1125
|
+
value: elem
|
|
1126
|
+
}, _errorFactory)) && _ao1(elem, _path + ".valueRules[" + _index6 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1127
|
+
method: "typia.assert",
|
|
1128
|
+
path: _path + ".valueRules[" + _index6 + "]",
|
|
1129
|
+
expected: "BootstrapValueRule",
|
|
1130
|
+
value: elem
|
|
1131
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1132
|
+
method: "typia.assert",
|
|
1133
|
+
path: _path + ".valueRules",
|
|
1134
|
+
expected: "(Array<BootstrapValueRule> | undefined)",
|
|
1135
|
+
value: input.valueRules
|
|
976
1136
|
}, _errorFactory)) && (undefined === input.applicationName || "string" === typeof input.applicationName || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
977
1137
|
method: "typia.assert",
|
|
978
1138
|
path: _path + ".applicationName",
|
|
979
1139
|
expected: "(string | undefined)",
|
|
980
1140
|
value: input.applicationName
|
|
981
|
-
}, _errorFactory))
|
|
1141
|
+
}, _errorFactory)); const _ao1 = (input, _path, _exceptionable = true) => (undefined === input.name || "string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
982
1142
|
method: "typia.assert",
|
|
983
|
-
path: _path + ".
|
|
984
|
-
expected: "(
|
|
985
|
-
value: input.
|
|
986
|
-
}, _errorFactory)) &&
|
|
1143
|
+
path: _path + ".name",
|
|
1144
|
+
expected: "(string | undefined)",
|
|
1145
|
+
value: input.name
|
|
1146
|
+
}, _errorFactory)) && (("object" === typeof input.condition && null !== input.condition || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
987
1147
|
method: "typia.assert",
|
|
988
|
-
path: _path + ".
|
|
989
|
-
expected: "
|
|
990
|
-
value:
|
|
991
|
-
}, _errorFactory)) &&
|
|
1148
|
+
path: _path + ".condition",
|
|
1149
|
+
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
1150
|
+
value: input.condition
|
|
1151
|
+
}, _errorFactory)) && _au0(input.condition, _path + ".condition", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
992
1152
|
method: "typia.assert",
|
|
993
|
-
path: _path + ".
|
|
994
|
-
expected: "
|
|
995
|
-
value:
|
|
996
|
-
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1153
|
+
path: _path + ".condition",
|
|
1154
|
+
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
1155
|
+
value: input.condition
|
|
1156
|
+
}, _errorFactory)) && true && (undefined === input.rollout || ("object" === typeof input.rollout && null !== input.rollout || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1157
|
+
method: "typia.assert",
|
|
1158
|
+
path: _path + ".rollout",
|
|
1159
|
+
expected: "(__type | undefined)",
|
|
1160
|
+
value: input.rollout
|
|
1161
|
+
}, _errorFactory)) && _ao4(input.rollout, _path + ".rollout", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
997
1162
|
method: "typia.assert",
|
|
998
|
-
path: _path + ".
|
|
999
|
-
expected: "(
|
|
1000
|
-
value: input.
|
|
1001
|
-
}, _errorFactory)); const
|
|
1163
|
+
path: _path + ".rollout",
|
|
1164
|
+
expected: "(__type | undefined)",
|
|
1165
|
+
value: input.rollout
|
|
1166
|
+
}, _errorFactory)); const _ao2 = (input, _path, _exceptionable = true) => ("string" === typeof input.attribute || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1002
1167
|
method: "typia.assert",
|
|
1003
|
-
path: _path + ".
|
|
1168
|
+
path: _path + ".attribute",
|
|
1004
1169
|
expected: "string",
|
|
1005
|
-
value: input.
|
|
1006
|
-
}, _errorFactory)) && ("
|
|
1170
|
+
value: input.attribute
|
|
1171
|
+
}, _errorFactory)) && ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1007
1172
|
method: "typia.assert",
|
|
1008
1173
|
path: _path + ".operator",
|
|
1009
|
-
expected: "
|
|
1174
|
+
expected: "(\"eq\" | \"in\" | \"neq\" | \"nin\")",
|
|
1010
1175
|
value: input.operator
|
|
1011
|
-
}, _errorFactory)) && (
|
|
1176
|
+
}, _errorFactory)) && ((null !== input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1012
1177
|
method: "typia.assert",
|
|
1013
|
-
path: _path + ".
|
|
1014
|
-
expected: "(Array<string> |
|
|
1015
|
-
value: input.
|
|
1016
|
-
}, _errorFactory)) &&
|
|
1178
|
+
path: _path + ".value",
|
|
1179
|
+
expected: "(Array<string> | boolean | number | string)",
|
|
1180
|
+
value: input.value
|
|
1181
|
+
}, _errorFactory)) && (undefined !== input.value || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1182
|
+
method: "typia.assert",
|
|
1183
|
+
path: _path + ".value",
|
|
1184
|
+
expected: "(Array<string> | boolean | number | string)",
|
|
1185
|
+
value: input.value
|
|
1186
|
+
}, _errorFactory)) && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || (Array.isArray(input.value) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1187
|
+
method: "typia.assert",
|
|
1188
|
+
path: _path + ".value",
|
|
1189
|
+
expected: "(Array<string> | boolean | number | string)",
|
|
1190
|
+
value: input.value
|
|
1191
|
+
}, _errorFactory)) && input.value.every((elem, _index7) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1017
1192
|
method: "typia.assert",
|
|
1018
|
-
path: _path + ".
|
|
1193
|
+
path: _path + ".value[" + _index7 + "]",
|
|
1019
1194
|
expected: "string",
|
|
1020
1195
|
value: elem
|
|
1021
1196
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1022
1197
|
method: "typia.assert",
|
|
1023
|
-
path: _path + ".
|
|
1024
|
-
expected: "(Array<string> |
|
|
1025
|
-
value: input.
|
|
1026
|
-
}, _errorFactory)); const
|
|
1198
|
+
path: _path + ".value",
|
|
1199
|
+
expected: "(Array<string> | boolean | number | string)",
|
|
1200
|
+
value: input.value
|
|
1201
|
+
}, _errorFactory))); const _ao3 = (input, _path, _exceptionable = true) => ("AND" === input.operator || "OR" === input.operator || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1202
|
+
method: "typia.assert",
|
|
1203
|
+
path: _path + ".operator",
|
|
1204
|
+
expected: "(\"AND\" | \"OR\")",
|
|
1205
|
+
value: input.operator
|
|
1206
|
+
}, _errorFactory)) && ((Array.isArray(input.rules) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1207
|
+
method: "typia.assert",
|
|
1208
|
+
path: _path + ".rules",
|
|
1209
|
+
expected: "Array<BootstrapCondition>",
|
|
1210
|
+
value: input.rules
|
|
1211
|
+
}, _errorFactory)) && input.rules.every((elem, _index8) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1212
|
+
method: "typia.assert",
|
|
1213
|
+
path: _path + ".rules[" + _index8 + "]",
|
|
1214
|
+
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
1215
|
+
value: elem
|
|
1216
|
+
}, _errorFactory)) && _au0(elem, _path + ".rules[" + _index8 + "]", true && _exceptionable) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1217
|
+
method: "typia.assert",
|
|
1218
|
+
path: _path + ".rules[" + _index8 + "]",
|
|
1219
|
+
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
1220
|
+
value: elem
|
|
1221
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1222
|
+
method: "typia.assert",
|
|
1223
|
+
path: _path + ".rules",
|
|
1224
|
+
expected: "Array<BootstrapCondition>",
|
|
1225
|
+
value: input.rules
|
|
1226
|
+
}, _errorFactory)); const _ao4 = (input, _path, _exceptionable = true) => ("number" === typeof input.percentage || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1227
|
+
method: "typia.assert",
|
|
1228
|
+
path: _path + ".percentage",
|
|
1229
|
+
expected: "number",
|
|
1230
|
+
value: input.percentage
|
|
1231
|
+
}, _errorFactory)) && ("string" === typeof input.attribute || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1232
|
+
method: "typia.assert",
|
|
1233
|
+
path: _path + ".attribute",
|
|
1234
|
+
expected: "string",
|
|
1235
|
+
value: input.attribute
|
|
1236
|
+
}, _errorFactory)); const _au0 = (input, _path, _exceptionable = true) => (() => {
|
|
1237
|
+
if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
|
|
1238
|
+
return _ao2(input, _path, true && _exceptionable);
|
|
1239
|
+
else if ("AND" === input.operator || "OR" === input.operator)
|
|
1240
|
+
return _ao3(input, _path, true && _exceptionable);
|
|
1241
|
+
else
|
|
1242
|
+
return __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
1243
|
+
method: "typia.assert",
|
|
1244
|
+
path: _path,
|
|
1245
|
+
expected: "(BootstrapLeafCondition | BootstrapCompositeCondition)",
|
|
1246
|
+
value: input
|
|
1247
|
+
}, _errorFactory);
|
|
1248
|
+
})(); const __is = input => Array.isArray(input) && input.every(elem => "object" === typeof elem && null !== elem && _io0(elem)); let _errorFactory; return (input, errorFactory) => {
|
|
1027
1249
|
if (false === __is(input)) {
|
|
1028
1250
|
_errorFactory = errorFactory;
|
|
1029
1251
|
((input, _path, _exceptionable = true) => (Array.isArray(input) || __typia_transform__assertGuard._assertGuard(true, {
|
|
@@ -1031,14 +1253,14 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
1031
1253
|
path: _path + "",
|
|
1032
1254
|
expected: "Array<BootstrapFeatureFlag>",
|
|
1033
1255
|
value: input
|
|
1034
|
-
}, _errorFactory)) && input.every((elem,
|
|
1256
|
+
}, _errorFactory)) && input.every((elem, _index5) => ("object" === typeof elem && null !== elem || __typia_transform__assertGuard._assertGuard(true, {
|
|
1035
1257
|
method: "typia.assert",
|
|
1036
|
-
path: _path + "[" +
|
|
1258
|
+
path: _path + "[" + _index5 + "]",
|
|
1037
1259
|
expected: "BootstrapFeatureFlag",
|
|
1038
1260
|
value: elem
|
|
1039
|
-
}, _errorFactory)) && _ao0(elem, _path + "[" +
|
|
1261
|
+
}, _errorFactory)) && _ao0(elem, _path + "[" + _index5 + "]", true) || __typia_transform__assertGuard._assertGuard(true, {
|
|
1040
1262
|
method: "typia.assert",
|
|
1041
|
-
path: _path + "[" +
|
|
1263
|
+
path: _path + "[" + _index5 + "]",
|
|
1042
1264
|
expected: "BootstrapFeatureFlag",
|
|
1043
1265
|
value: elem
|
|
1044
1266
|
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(true, {
|