@bluealba/pae-bootstrap-lib 3.1.1 → 3.1.2
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.
|
@@ -63,7 +63,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
63
63
|
if (undefined === value)
|
|
64
64
|
return true;
|
|
65
65
|
return true;
|
|
66
|
-
}); const _io15 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io16 = 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 && _io17(elem))); const _io17 = 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 _io18 = 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 _io19 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io20 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io21 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io22 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io14(input.customProps)); const _iu0 = input => (() => {
|
|
66
|
+
}); const _io15 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io16 = 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 && _io17(elem))); const _io17 = 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 _io18 = 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 _io19 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault) && (undefined === input.allowedTenants || Array.isArray(input.allowedTenants) && input.allowedTenants.every(elem => "string" === typeof elem)); const _io20 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io21 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io22 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io14(input.customProps)); const _iu0 = input => (() => {
|
|
67
67
|
if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
|
|
68
68
|
return _io5(input);
|
|
69
69
|
else if ("AND" === input.operator || "OR" === input.operator)
|
|
@@ -82,12 +82,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
82
82
|
path: _path + ".sharedLibraries",
|
|
83
83
|
expected: "(Array<CreateSharedLibraryDTO> | undefined)",
|
|
84
84
|
value: input.sharedLibraries
|
|
85
|
-
})) && input.sharedLibraries.map((elem,
|
|
86
|
-
path: _path + ".sharedLibraries[" +
|
|
85
|
+
})) && input.sharedLibraries.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
86
|
+
path: _path + ".sharedLibraries[" + _index18 + "]",
|
|
87
87
|
expected: "CreateSharedLibraryDTO",
|
|
88
88
|
value: elem
|
|
89
|
-
})) && _vo2(elem, _path + ".sharedLibraries[" +
|
|
90
|
-
path: _path + ".sharedLibraries[" +
|
|
89
|
+
})) && _vo2(elem, _path + ".sharedLibraries[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
90
|
+
path: _path + ".sharedLibraries[" + _index18 + "]",
|
|
91
91
|
expected: "CreateSharedLibraryDTO",
|
|
92
92
|
value: elem
|
|
93
93
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -98,12 +98,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
98
98
|
path: _path + ".featureFlags",
|
|
99
99
|
expected: "(Array<BootstrapFeatureFlag> | undefined)",
|
|
100
100
|
value: input.featureFlags
|
|
101
|
-
})) && input.featureFlags.map((elem,
|
|
102
|
-
path: _path + ".featureFlags[" +
|
|
101
|
+
})) && input.featureFlags.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
102
|
+
path: _path + ".featureFlags[" + _index19 + "]",
|
|
103
103
|
expected: "BootstrapFeatureFlag",
|
|
104
104
|
value: elem
|
|
105
|
-
})) && _vo3(elem, _path + ".featureFlags[" +
|
|
106
|
-
path: _path + ".featureFlags[" +
|
|
105
|
+
})) && _vo3(elem, _path + ".featureFlags[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
106
|
+
path: _path + ".featureFlags[" + _index19 + "]",
|
|
107
107
|
expected: "BootstrapFeatureFlag",
|
|
108
108
|
value: elem
|
|
109
109
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -114,12 +114,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
114
114
|
path: _path + ".catalog",
|
|
115
115
|
expected: "(Array<BootstrapModule> | undefined)",
|
|
116
116
|
value: input.catalog
|
|
117
|
-
})) && input.catalog.map((elem,
|
|
118
|
-
path: _path + ".catalog[" +
|
|
117
|
+
})) && input.catalog.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
118
|
+
path: _path + ".catalog[" + _index20 + "]",
|
|
119
119
|
expected: "BootstrapModule",
|
|
120
120
|
value: elem
|
|
121
|
-
})) && _vo8(elem, _path + ".catalog[" +
|
|
122
|
-
path: _path + ".catalog[" +
|
|
121
|
+
})) && _vo8(elem, _path + ".catalog[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
122
|
+
path: _path + ".catalog[" + _index20 + "]",
|
|
123
123
|
expected: "BootstrapModule",
|
|
124
124
|
value: elem
|
|
125
125
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -130,12 +130,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
130
130
|
path: _path + ".applicationsAuthz",
|
|
131
131
|
expected: "(Array<CreateApplicationDTO> | undefined)",
|
|
132
132
|
value: input.applicationsAuthz
|
|
133
|
-
})) && input.applicationsAuthz.map((elem,
|
|
134
|
-
path: _path + ".applicationsAuthz[" +
|
|
133
|
+
})) && input.applicationsAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
134
|
+
path: _path + ".applicationsAuthz[" + _index21 + "]",
|
|
135
135
|
expected: "CreateApplicationDTO",
|
|
136
136
|
value: elem
|
|
137
|
-
})) && _vo19(elem, _path + ".applicationsAuthz[" +
|
|
138
|
-
path: _path + ".applicationsAuthz[" +
|
|
137
|
+
})) && _vo19(elem, _path + ".applicationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
138
|
+
path: _path + ".applicationsAuthz[" + _index21 + "]",
|
|
139
139
|
expected: "CreateApplicationDTO",
|
|
140
140
|
value: elem
|
|
141
141
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -146,12 +146,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
146
146
|
path: _path + ".rolesAuthz",
|
|
147
147
|
expected: "(Array<CreateRoleDTO> | undefined)",
|
|
148
148
|
value: input.rolesAuthz
|
|
149
|
-
})) && input.rolesAuthz.map((elem,
|
|
150
|
-
path: _path + ".rolesAuthz[" +
|
|
149
|
+
})) && input.rolesAuthz.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
150
|
+
path: _path + ".rolesAuthz[" + _index22 + "]",
|
|
151
151
|
expected: "CreateRoleDTO",
|
|
152
152
|
value: elem
|
|
153
|
-
})) && _vo20(elem, _path + ".rolesAuthz[" +
|
|
154
|
-
path: _path + ".rolesAuthz[" +
|
|
153
|
+
})) && _vo20(elem, _path + ".rolesAuthz[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
154
|
+
path: _path + ".rolesAuthz[" + _index22 + "]",
|
|
155
155
|
expected: "CreateRoleDTO",
|
|
156
156
|
value: elem
|
|
157
157
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -162,12 +162,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
162
162
|
path: _path + ".operationsAuthz",
|
|
163
163
|
expected: "(Array<OperationAuthzBootstrap> | undefined)",
|
|
164
164
|
value: input.operationsAuthz
|
|
165
|
-
})) && input.operationsAuthz.map((elem,
|
|
166
|
-
path: _path + ".operationsAuthz[" +
|
|
165
|
+
})) && input.operationsAuthz.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
166
|
+
path: _path + ".operationsAuthz[" + _index23 + "]",
|
|
167
167
|
expected: "OperationAuthzBootstrap",
|
|
168
168
|
value: elem
|
|
169
|
-
})) && _vo21(elem, _path + ".operationsAuthz[" +
|
|
170
|
-
path: _path + ".operationsAuthz[" +
|
|
169
|
+
})) && _vo21(elem, _path + ".operationsAuthz[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
170
|
+
path: _path + ".operationsAuthz[" + _index23 + "]",
|
|
171
171
|
expected: "OperationAuthzBootstrap",
|
|
172
172
|
value: elem
|
|
173
173
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -178,12 +178,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
178
178
|
path: _path + ".modulesConfig",
|
|
179
179
|
expected: "(Array<UpdateModuleUIConfigDTO> | undefined)",
|
|
180
180
|
value: input.modulesConfig
|
|
181
|
-
})) && input.modulesConfig.map((elem,
|
|
182
|
-
path: _path + ".modulesConfig[" +
|
|
181
|
+
})) && input.modulesConfig.map((elem, _index24) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
182
|
+
path: _path + ".modulesConfig[" + _index24 + "]",
|
|
183
183
|
expected: "UpdateModuleUIConfigDTO",
|
|
184
184
|
value: elem
|
|
185
|
-
})) && _vo22(elem, _path + ".modulesConfig[" +
|
|
186
|
-
path: _path + ".modulesConfig[" +
|
|
185
|
+
})) && _vo22(elem, _path + ".modulesConfig[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
186
|
+
path: _path + ".modulesConfig[" + _index24 + "]",
|
|
187
187
|
expected: "UpdateModuleUIConfigDTO",
|
|
188
188
|
value: elem
|
|
189
189
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -222,12 +222,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
222
222
|
path: _path + ".valueRules",
|
|
223
223
|
expected: "(Array<BootstrapValueRule> | undefined)",
|
|
224
224
|
value: input.valueRules
|
|
225
|
-
})) && input.valueRules.map((elem,
|
|
226
|
-
path: _path + ".valueRules[" +
|
|
225
|
+
})) && input.valueRules.map((elem, _index25) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
226
|
+
path: _path + ".valueRules[" + _index25 + "]",
|
|
227
227
|
expected: "BootstrapValueRule",
|
|
228
228
|
value: elem
|
|
229
|
-
})) && _vo4(elem, _path + ".valueRules[" +
|
|
230
|
-
path: _path + ".valueRules[" +
|
|
229
|
+
})) && _vo4(elem, _path + ".valueRules[" + _index25 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
230
|
+
path: _path + ".valueRules[" + _index25 + "]",
|
|
231
231
|
expected: "BootstrapValueRule",
|
|
232
232
|
value: elem
|
|
233
233
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -278,8 +278,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
278
278
|
path: _path + ".value",
|
|
279
279
|
expected: "(Array<string> | boolean | number | string)",
|
|
280
280
|
value: input.value
|
|
281
|
-
})) && input.value.map((elem,
|
|
282
|
-
path: _path + ".value[" +
|
|
281
|
+
})) && input.value.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
|
|
282
|
+
path: _path + ".value[" + _index26 + "]",
|
|
283
283
|
expected: "string",
|
|
284
284
|
value: elem
|
|
285
285
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -294,12 +294,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
294
294
|
path: _path + ".rules",
|
|
295
295
|
expected: "Array<BootstrapCondition>",
|
|
296
296
|
value: input.rules
|
|
297
|
-
})) && input.rules.map((elem,
|
|
298
|
-
path: _path + ".rules[" +
|
|
297
|
+
})) && input.rules.map((elem, _index27) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
298
|
+
path: _path + ".rules[" + _index27 + "]",
|
|
299
299
|
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
300
300
|
value: elem
|
|
301
|
-
})) && _vu0(elem, _path + ".rules[" +
|
|
302
|
-
path: _path + ".rules[" +
|
|
301
|
+
})) && _vu0(elem, _path + ".rules[" + _index27 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
302
|
+
path: _path + ".rules[" + _index27 + "]",
|
|
303
303
|
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
304
304
|
value: elem
|
|
305
305
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -342,8 +342,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
342
342
|
path: _path + ".dependsOn",
|
|
343
343
|
expected: "Array<string>",
|
|
344
344
|
value: input.dependsOn
|
|
345
|
-
})) && input.dependsOn.map((elem,
|
|
346
|
-
path: _path + ".dependsOn[" +
|
|
345
|
+
})) && input.dependsOn.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
|
|
346
|
+
path: _path + ".dependsOn[" + _index28 + "]",
|
|
347
347
|
expected: "string",
|
|
348
348
|
value: elem
|
|
349
349
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -511,8 +511,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
511
511
|
path: _path + ".operations",
|
|
512
512
|
expected: "(Array<string> | undefined)",
|
|
513
513
|
value: input.operations
|
|
514
|
-
})) && input.operations.map((elem,
|
|
515
|
-
path: _path + ".operations[" +
|
|
514
|
+
})) && input.operations.map((elem, _index29) => "string" === typeof elem || _report(_exceptionable, {
|
|
515
|
+
path: _path + ".operations[" + _index29 + "]",
|
|
516
516
|
expected: "string",
|
|
517
517
|
value: elem
|
|
518
518
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -523,12 +523,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
523
523
|
path: _path + ".routes",
|
|
524
524
|
expected: "(Array<RouteAuthorization> | undefined)",
|
|
525
525
|
value: input.routes
|
|
526
|
-
})) && input.routes.map((elem,
|
|
527
|
-
path: _path + ".routes[" +
|
|
526
|
+
})) && input.routes.map((elem, _index30) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
527
|
+
path: _path + ".routes[" + _index30 + "]",
|
|
528
528
|
expected: "RouteAuthorization",
|
|
529
529
|
value: elem
|
|
530
|
-
})) && _vo17(elem, _path + ".routes[" +
|
|
531
|
-
path: _path + ".routes[" +
|
|
530
|
+
})) && _vo17(elem, _path + ".routes[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
531
|
+
path: _path + ".routes[" + _index30 + "]",
|
|
532
532
|
expected: "RouteAuthorization",
|
|
533
533
|
value: elem
|
|
534
534
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -539,8 +539,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
539
539
|
path: _path + ".methods",
|
|
540
540
|
expected: "(Array<HttpMethod> | undefined)",
|
|
541
541
|
value: input.methods
|
|
542
|
-
})) && input.methods.map((elem,
|
|
543
|
-
path: _path + ".methods[" +
|
|
542
|
+
})) && input.methods.map((elem, _index31) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
|
|
543
|
+
path: _path + ".methods[" + _index31 + "]",
|
|
544
544
|
expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
|
|
545
545
|
value: elem
|
|
546
546
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -555,8 +555,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
555
555
|
path: _path + ".operations",
|
|
556
556
|
expected: "Array<string>",
|
|
557
557
|
value: input.operations
|
|
558
|
-
})) && input.operations.map((elem,
|
|
559
|
-
path: _path + ".operations[" +
|
|
558
|
+
})) && input.operations.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
|
|
559
|
+
path: _path + ".operations[" + _index32 + "]",
|
|
560
560
|
expected: "string",
|
|
561
561
|
value: elem
|
|
562
562
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -595,6 +595,18 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
595
595
|
path: _path + ".allowedByDefault",
|
|
596
596
|
expected: "(boolean | undefined)",
|
|
597
597
|
value: input.allowedByDefault
|
|
598
|
+
}), undefined === input.allowedTenants || (Array.isArray(input.allowedTenants) || _report(_exceptionable, {
|
|
599
|
+
path: _path + ".allowedTenants",
|
|
600
|
+
expected: "(Array<string> | undefined)",
|
|
601
|
+
value: input.allowedTenants
|
|
602
|
+
})) && input.allowedTenants.map((elem, _index33) => "string" === typeof elem || _report(_exceptionable, {
|
|
603
|
+
path: _path + ".allowedTenants[" + _index33 + "]",
|
|
604
|
+
expected: "string",
|
|
605
|
+
value: elem
|
|
606
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
607
|
+
path: _path + ".allowedTenants",
|
|
608
|
+
expected: "(Array<string> | undefined)",
|
|
609
|
+
value: input.allowedTenants
|
|
598
610
|
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
|
|
599
611
|
path: _path + ".applicationName",
|
|
600
612
|
expected: "(string | undefined)",
|
|
@@ -611,8 +623,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
611
623
|
path: _path + ".roles",
|
|
612
624
|
expected: "(Array<string> | undefined)",
|
|
613
625
|
value: input.roles
|
|
614
|
-
})) && input.roles.map((elem,
|
|
615
|
-
path: _path + ".roles[" +
|
|
626
|
+
})) && input.roles.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
|
|
627
|
+
path: _path + ".roles[" + _index34 + "]",
|
|
616
628
|
expected: "string",
|
|
617
629
|
value: elem
|
|
618
630
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -705,7 +717,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
705
717
|
if (undefined === value)
|
|
706
718
|
return true;
|
|
707
719
|
return true;
|
|
708
|
-
}); const _io15 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io16 = 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 && _io17(elem))); const _io17 = 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 _io18 = 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 _io19 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io20 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io21 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io22 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io14(input.customProps)); const _iu0 = input => (() => {
|
|
720
|
+
}); const _io15 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io16 = 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 && _io17(elem))); const _io17 = 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 _io18 = 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 _io19 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault) && (undefined === input.allowedTenants || Array.isArray(input.allowedTenants) && input.allowedTenants.every(elem => "string" === typeof elem)); const _io20 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io21 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io22 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io14(input.customProps)); const _iu0 = input => (() => {
|
|
709
721
|
if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
|
|
710
722
|
return _io5(input);
|
|
711
723
|
else if ("AND" === input.operator || "OR" === input.operator)
|
|
@@ -724,12 +736,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
724
736
|
path: _path + ".sharedLibraries",
|
|
725
737
|
expected: "(Array<CreateSharedLibraryDTO> | undefined)",
|
|
726
738
|
value: input.sharedLibraries
|
|
727
|
-
})) && input.sharedLibraries.map((elem,
|
|
728
|
-
path: _path + ".sharedLibraries[" +
|
|
739
|
+
})) && input.sharedLibraries.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
740
|
+
path: _path + ".sharedLibraries[" + _index18 + "]",
|
|
729
741
|
expected: "CreateSharedLibraryDTO",
|
|
730
742
|
value: elem
|
|
731
|
-
})) && _vo2(elem, _path + ".sharedLibraries[" +
|
|
732
|
-
path: _path + ".sharedLibraries[" +
|
|
743
|
+
})) && _vo2(elem, _path + ".sharedLibraries[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
744
|
+
path: _path + ".sharedLibraries[" + _index18 + "]",
|
|
733
745
|
expected: "CreateSharedLibraryDTO",
|
|
734
746
|
value: elem
|
|
735
747
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -740,12 +752,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
740
752
|
path: _path + ".featureFlags",
|
|
741
753
|
expected: "(Array<BootstrapFeatureFlag> | undefined)",
|
|
742
754
|
value: input.featureFlags
|
|
743
|
-
})) && input.featureFlags.map((elem,
|
|
744
|
-
path: _path + ".featureFlags[" +
|
|
755
|
+
})) && input.featureFlags.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
756
|
+
path: _path + ".featureFlags[" + _index19 + "]",
|
|
745
757
|
expected: "BootstrapFeatureFlag",
|
|
746
758
|
value: elem
|
|
747
|
-
})) && _vo3(elem, _path + ".featureFlags[" +
|
|
748
|
-
path: _path + ".featureFlags[" +
|
|
759
|
+
})) && _vo3(elem, _path + ".featureFlags[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
760
|
+
path: _path + ".featureFlags[" + _index19 + "]",
|
|
749
761
|
expected: "BootstrapFeatureFlag",
|
|
750
762
|
value: elem
|
|
751
763
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -756,12 +768,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
756
768
|
path: _path + ".catalog",
|
|
757
769
|
expected: "(Array<BootstrapModule> | undefined)",
|
|
758
770
|
value: input.catalog
|
|
759
|
-
})) && input.catalog.map((elem,
|
|
760
|
-
path: _path + ".catalog[" +
|
|
771
|
+
})) && input.catalog.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
772
|
+
path: _path + ".catalog[" + _index20 + "]",
|
|
761
773
|
expected: "BootstrapModule",
|
|
762
774
|
value: elem
|
|
763
|
-
})) && _vo8(elem, _path + ".catalog[" +
|
|
764
|
-
path: _path + ".catalog[" +
|
|
775
|
+
})) && _vo8(elem, _path + ".catalog[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
776
|
+
path: _path + ".catalog[" + _index20 + "]",
|
|
765
777
|
expected: "BootstrapModule",
|
|
766
778
|
value: elem
|
|
767
779
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -772,12 +784,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
772
784
|
path: _path + ".applicationsAuthz",
|
|
773
785
|
expected: "(Array<CreateApplicationDTO> | undefined)",
|
|
774
786
|
value: input.applicationsAuthz
|
|
775
|
-
})) && input.applicationsAuthz.map((elem,
|
|
776
|
-
path: _path + ".applicationsAuthz[" +
|
|
787
|
+
})) && input.applicationsAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
788
|
+
path: _path + ".applicationsAuthz[" + _index21 + "]",
|
|
777
789
|
expected: "CreateApplicationDTO",
|
|
778
790
|
value: elem
|
|
779
|
-
})) && _vo19(elem, _path + ".applicationsAuthz[" +
|
|
780
|
-
path: _path + ".applicationsAuthz[" +
|
|
791
|
+
})) && _vo19(elem, _path + ".applicationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
792
|
+
path: _path + ".applicationsAuthz[" + _index21 + "]",
|
|
781
793
|
expected: "CreateApplicationDTO",
|
|
782
794
|
value: elem
|
|
783
795
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -788,12 +800,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
788
800
|
path: _path + ".rolesAuthz",
|
|
789
801
|
expected: "(Array<CreateRoleDTO> | undefined)",
|
|
790
802
|
value: input.rolesAuthz
|
|
791
|
-
})) && input.rolesAuthz.map((elem,
|
|
792
|
-
path: _path + ".rolesAuthz[" +
|
|
803
|
+
})) && input.rolesAuthz.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
804
|
+
path: _path + ".rolesAuthz[" + _index22 + "]",
|
|
793
805
|
expected: "CreateRoleDTO",
|
|
794
806
|
value: elem
|
|
795
|
-
})) && _vo20(elem, _path + ".rolesAuthz[" +
|
|
796
|
-
path: _path + ".rolesAuthz[" +
|
|
807
|
+
})) && _vo20(elem, _path + ".rolesAuthz[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
808
|
+
path: _path + ".rolesAuthz[" + _index22 + "]",
|
|
797
809
|
expected: "CreateRoleDTO",
|
|
798
810
|
value: elem
|
|
799
811
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -804,12 +816,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
804
816
|
path: _path + ".operationsAuthz",
|
|
805
817
|
expected: "(Array<OperationAuthzBootstrap> | undefined)",
|
|
806
818
|
value: input.operationsAuthz
|
|
807
|
-
})) && input.operationsAuthz.map((elem,
|
|
808
|
-
path: _path + ".operationsAuthz[" +
|
|
819
|
+
})) && input.operationsAuthz.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
820
|
+
path: _path + ".operationsAuthz[" + _index23 + "]",
|
|
809
821
|
expected: "OperationAuthzBootstrap",
|
|
810
822
|
value: elem
|
|
811
|
-
})) && _vo21(elem, _path + ".operationsAuthz[" +
|
|
812
|
-
path: _path + ".operationsAuthz[" +
|
|
823
|
+
})) && _vo21(elem, _path + ".operationsAuthz[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
824
|
+
path: _path + ".operationsAuthz[" + _index23 + "]",
|
|
813
825
|
expected: "OperationAuthzBootstrap",
|
|
814
826
|
value: elem
|
|
815
827
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -820,12 +832,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
820
832
|
path: _path + ".modulesConfig",
|
|
821
833
|
expected: "(Array<UpdateModuleUIConfigDTO> | undefined)",
|
|
822
834
|
value: input.modulesConfig
|
|
823
|
-
})) && input.modulesConfig.map((elem,
|
|
824
|
-
path: _path + ".modulesConfig[" +
|
|
835
|
+
})) && input.modulesConfig.map((elem, _index24) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
836
|
+
path: _path + ".modulesConfig[" + _index24 + "]",
|
|
825
837
|
expected: "UpdateModuleUIConfigDTO",
|
|
826
838
|
value: elem
|
|
827
|
-
})) && _vo22(elem, _path + ".modulesConfig[" +
|
|
828
|
-
path: _path + ".modulesConfig[" +
|
|
839
|
+
})) && _vo22(elem, _path + ".modulesConfig[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
840
|
+
path: _path + ".modulesConfig[" + _index24 + "]",
|
|
829
841
|
expected: "UpdateModuleUIConfigDTO",
|
|
830
842
|
value: elem
|
|
831
843
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -864,12 +876,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
864
876
|
path: _path + ".valueRules",
|
|
865
877
|
expected: "(Array<BootstrapValueRule> | undefined)",
|
|
866
878
|
value: input.valueRules
|
|
867
|
-
})) && input.valueRules.map((elem,
|
|
868
|
-
path: _path + ".valueRules[" +
|
|
879
|
+
})) && input.valueRules.map((elem, _index25) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
880
|
+
path: _path + ".valueRules[" + _index25 + "]",
|
|
869
881
|
expected: "BootstrapValueRule",
|
|
870
882
|
value: elem
|
|
871
|
-
})) && _vo4(elem, _path + ".valueRules[" +
|
|
872
|
-
path: _path + ".valueRules[" +
|
|
883
|
+
})) && _vo4(elem, _path + ".valueRules[" + _index25 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
884
|
+
path: _path + ".valueRules[" + _index25 + "]",
|
|
873
885
|
expected: "BootstrapValueRule",
|
|
874
886
|
value: elem
|
|
875
887
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -920,8 +932,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
920
932
|
path: _path + ".value",
|
|
921
933
|
expected: "(Array<string> | boolean | number | string)",
|
|
922
934
|
value: input.value
|
|
923
|
-
})) && input.value.map((elem,
|
|
924
|
-
path: _path + ".value[" +
|
|
935
|
+
})) && input.value.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
|
|
936
|
+
path: _path + ".value[" + _index26 + "]",
|
|
925
937
|
expected: "string",
|
|
926
938
|
value: elem
|
|
927
939
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -936,12 +948,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
936
948
|
path: _path + ".rules",
|
|
937
949
|
expected: "Array<BootstrapCondition>",
|
|
938
950
|
value: input.rules
|
|
939
|
-
})) && input.rules.map((elem,
|
|
940
|
-
path: _path + ".rules[" +
|
|
951
|
+
})) && input.rules.map((elem, _index27) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
952
|
+
path: _path + ".rules[" + _index27 + "]",
|
|
941
953
|
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
942
954
|
value: elem
|
|
943
|
-
})) && _vu0(elem, _path + ".rules[" +
|
|
944
|
-
path: _path + ".rules[" +
|
|
955
|
+
})) && _vu0(elem, _path + ".rules[" + _index27 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
956
|
+
path: _path + ".rules[" + _index27 + "]",
|
|
945
957
|
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
946
958
|
value: elem
|
|
947
959
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -984,8 +996,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
984
996
|
path: _path + ".dependsOn",
|
|
985
997
|
expected: "Array<string>",
|
|
986
998
|
value: input.dependsOn
|
|
987
|
-
})) && input.dependsOn.map((elem,
|
|
988
|
-
path: _path + ".dependsOn[" +
|
|
999
|
+
})) && input.dependsOn.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
|
|
1000
|
+
path: _path + ".dependsOn[" + _index28 + "]",
|
|
989
1001
|
expected: "string",
|
|
990
1002
|
value: elem
|
|
991
1003
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1153,8 +1165,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1153
1165
|
path: _path + ".operations",
|
|
1154
1166
|
expected: "(Array<string> | undefined)",
|
|
1155
1167
|
value: input.operations
|
|
1156
|
-
})) && input.operations.map((elem,
|
|
1157
|
-
path: _path + ".operations[" +
|
|
1168
|
+
})) && input.operations.map((elem, _index29) => "string" === typeof elem || _report(_exceptionable, {
|
|
1169
|
+
path: _path + ".operations[" + _index29 + "]",
|
|
1158
1170
|
expected: "string",
|
|
1159
1171
|
value: elem
|
|
1160
1172
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1165,12 +1177,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1165
1177
|
path: _path + ".routes",
|
|
1166
1178
|
expected: "(Array<RouteAuthorization> | undefined)",
|
|
1167
1179
|
value: input.routes
|
|
1168
|
-
})) && input.routes.map((elem,
|
|
1169
|
-
path: _path + ".routes[" +
|
|
1180
|
+
})) && input.routes.map((elem, _index30) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1181
|
+
path: _path + ".routes[" + _index30 + "]",
|
|
1170
1182
|
expected: "RouteAuthorization",
|
|
1171
1183
|
value: elem
|
|
1172
|
-
})) && _vo17(elem, _path + ".routes[" +
|
|
1173
|
-
path: _path + ".routes[" +
|
|
1184
|
+
})) && _vo17(elem, _path + ".routes[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1185
|
+
path: _path + ".routes[" + _index30 + "]",
|
|
1174
1186
|
expected: "RouteAuthorization",
|
|
1175
1187
|
value: elem
|
|
1176
1188
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1181,8 +1193,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1181
1193
|
path: _path + ".methods",
|
|
1182
1194
|
expected: "(Array<HttpMethod> | undefined)",
|
|
1183
1195
|
value: input.methods
|
|
1184
|
-
})) && input.methods.map((elem,
|
|
1185
|
-
path: _path + ".methods[" +
|
|
1196
|
+
})) && input.methods.map((elem, _index31) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
|
|
1197
|
+
path: _path + ".methods[" + _index31 + "]",
|
|
1186
1198
|
expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
|
|
1187
1199
|
value: elem
|
|
1188
1200
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1197,8 +1209,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1197
1209
|
path: _path + ".operations",
|
|
1198
1210
|
expected: "Array<string>",
|
|
1199
1211
|
value: input.operations
|
|
1200
|
-
})) && input.operations.map((elem,
|
|
1201
|
-
path: _path + ".operations[" +
|
|
1212
|
+
})) && input.operations.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
|
|
1213
|
+
path: _path + ".operations[" + _index32 + "]",
|
|
1202
1214
|
expected: "string",
|
|
1203
1215
|
value: elem
|
|
1204
1216
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1237,6 +1249,18 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1237
1249
|
path: _path + ".allowedByDefault",
|
|
1238
1250
|
expected: "(boolean | undefined)",
|
|
1239
1251
|
value: input.allowedByDefault
|
|
1252
|
+
}), undefined === input.allowedTenants || (Array.isArray(input.allowedTenants) || _report(_exceptionable, {
|
|
1253
|
+
path: _path + ".allowedTenants",
|
|
1254
|
+
expected: "(Array<string> | undefined)",
|
|
1255
|
+
value: input.allowedTenants
|
|
1256
|
+
})) && input.allowedTenants.map((elem, _index33) => "string" === typeof elem || _report(_exceptionable, {
|
|
1257
|
+
path: _path + ".allowedTenants[" + _index33 + "]",
|
|
1258
|
+
expected: "string",
|
|
1259
|
+
value: elem
|
|
1260
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
1261
|
+
path: _path + ".allowedTenants",
|
|
1262
|
+
expected: "(Array<string> | undefined)",
|
|
1263
|
+
value: input.allowedTenants
|
|
1240
1264
|
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
|
|
1241
1265
|
path: _path + ".applicationName",
|
|
1242
1266
|
expected: "(string | undefined)",
|
|
@@ -1253,8 +1277,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1253
1277
|
path: _path + ".roles",
|
|
1254
1278
|
expected: "(Array<string> | undefined)",
|
|
1255
1279
|
value: input.roles
|
|
1256
|
-
})) && input.roles.map((elem,
|
|
1257
|
-
path: _path + ".roles[" +
|
|
1280
|
+
})) && input.roles.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
|
|
1281
|
+
path: _path + ".roles[" + _index34 + "]",
|
|
1258
1282
|
expected: "string",
|
|
1259
1283
|
value: elem
|
|
1260
1284
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1368,7 +1392,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1368
1392
|
if (undefined === value)
|
|
1369
1393
|
return true;
|
|
1370
1394
|
return true;
|
|
1371
|
-
}); const _io15 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io16 = 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 && _io17(elem))); const _io17 = 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 _io18 = 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 _io19 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io20 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io21 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io22 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io14(input.customProps)); const _iu0 = input => (() => {
|
|
1395
|
+
}); const _io15 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io16 = 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 && _io17(elem))); const _io17 = 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 _io18 = 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 _io19 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault) && (undefined === input.allowedTenants || Array.isArray(input.allowedTenants) && input.allowedTenants.every(elem => "string" === typeof elem)); const _io20 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io21 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io22 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io14(input.customProps)); const _iu0 = input => (() => {
|
|
1372
1396
|
if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
|
|
1373
1397
|
return _io5(input);
|
|
1374
1398
|
else if ("AND" === input.operator || "OR" === input.operator)
|
|
@@ -1387,12 +1411,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1387
1411
|
path: _path + ".sharedLibraries",
|
|
1388
1412
|
expected: "(Array<CreateSharedLibraryDTO> | undefined)",
|
|
1389
1413
|
value: input.sharedLibraries
|
|
1390
|
-
})) && input.sharedLibraries.map((elem,
|
|
1391
|
-
path: _path + ".sharedLibraries[" +
|
|
1414
|
+
})) && input.sharedLibraries.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1415
|
+
path: _path + ".sharedLibraries[" + _index18 + "]",
|
|
1392
1416
|
expected: "CreateSharedLibraryDTO",
|
|
1393
1417
|
value: elem
|
|
1394
|
-
})) && _vo2(elem, _path + ".sharedLibraries[" +
|
|
1395
|
-
path: _path + ".sharedLibraries[" +
|
|
1418
|
+
})) && _vo2(elem, _path + ".sharedLibraries[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1419
|
+
path: _path + ".sharedLibraries[" + _index18 + "]",
|
|
1396
1420
|
expected: "CreateSharedLibraryDTO",
|
|
1397
1421
|
value: elem
|
|
1398
1422
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1403,12 +1427,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1403
1427
|
path: _path + ".featureFlags",
|
|
1404
1428
|
expected: "(Array<BootstrapFeatureFlag> | undefined)",
|
|
1405
1429
|
value: input.featureFlags
|
|
1406
|
-
})) && input.featureFlags.map((elem,
|
|
1407
|
-
path: _path + ".featureFlags[" +
|
|
1430
|
+
})) && input.featureFlags.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1431
|
+
path: _path + ".featureFlags[" + _index19 + "]",
|
|
1408
1432
|
expected: "BootstrapFeatureFlag",
|
|
1409
1433
|
value: elem
|
|
1410
|
-
})) && _vo3(elem, _path + ".featureFlags[" +
|
|
1411
|
-
path: _path + ".featureFlags[" +
|
|
1434
|
+
})) && _vo3(elem, _path + ".featureFlags[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1435
|
+
path: _path + ".featureFlags[" + _index19 + "]",
|
|
1412
1436
|
expected: "BootstrapFeatureFlag",
|
|
1413
1437
|
value: elem
|
|
1414
1438
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1419,12 +1443,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1419
1443
|
path: _path + ".catalog",
|
|
1420
1444
|
expected: "(Array<BootstrapModule> | undefined)",
|
|
1421
1445
|
value: input.catalog
|
|
1422
|
-
})) && input.catalog.map((elem,
|
|
1423
|
-
path: _path + ".catalog[" +
|
|
1446
|
+
})) && input.catalog.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1447
|
+
path: _path + ".catalog[" + _index20 + "]",
|
|
1424
1448
|
expected: "BootstrapModule",
|
|
1425
1449
|
value: elem
|
|
1426
|
-
})) && _vo8(elem, _path + ".catalog[" +
|
|
1427
|
-
path: _path + ".catalog[" +
|
|
1450
|
+
})) && _vo8(elem, _path + ".catalog[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1451
|
+
path: _path + ".catalog[" + _index20 + "]",
|
|
1428
1452
|
expected: "BootstrapModule",
|
|
1429
1453
|
value: elem
|
|
1430
1454
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1435,12 +1459,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1435
1459
|
path: _path + ".applicationsAuthz",
|
|
1436
1460
|
expected: "(Array<CreateApplicationDTO> | undefined)",
|
|
1437
1461
|
value: input.applicationsAuthz
|
|
1438
|
-
})) && input.applicationsAuthz.map((elem,
|
|
1439
|
-
path: _path + ".applicationsAuthz[" +
|
|
1462
|
+
})) && input.applicationsAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1463
|
+
path: _path + ".applicationsAuthz[" + _index21 + "]",
|
|
1440
1464
|
expected: "CreateApplicationDTO",
|
|
1441
1465
|
value: elem
|
|
1442
|
-
})) && _vo19(elem, _path + ".applicationsAuthz[" +
|
|
1443
|
-
path: _path + ".applicationsAuthz[" +
|
|
1466
|
+
})) && _vo19(elem, _path + ".applicationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1467
|
+
path: _path + ".applicationsAuthz[" + _index21 + "]",
|
|
1444
1468
|
expected: "CreateApplicationDTO",
|
|
1445
1469
|
value: elem
|
|
1446
1470
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1451,12 +1475,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1451
1475
|
path: _path + ".rolesAuthz",
|
|
1452
1476
|
expected: "(Array<CreateRoleDTO> | undefined)",
|
|
1453
1477
|
value: input.rolesAuthz
|
|
1454
|
-
})) && input.rolesAuthz.map((elem,
|
|
1455
|
-
path: _path + ".rolesAuthz[" +
|
|
1478
|
+
})) && input.rolesAuthz.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1479
|
+
path: _path + ".rolesAuthz[" + _index22 + "]",
|
|
1456
1480
|
expected: "CreateRoleDTO",
|
|
1457
1481
|
value: elem
|
|
1458
|
-
})) && _vo20(elem, _path + ".rolesAuthz[" +
|
|
1459
|
-
path: _path + ".rolesAuthz[" +
|
|
1482
|
+
})) && _vo20(elem, _path + ".rolesAuthz[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1483
|
+
path: _path + ".rolesAuthz[" + _index22 + "]",
|
|
1460
1484
|
expected: "CreateRoleDTO",
|
|
1461
1485
|
value: elem
|
|
1462
1486
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1467,12 +1491,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1467
1491
|
path: _path + ".operationsAuthz",
|
|
1468
1492
|
expected: "(Array<OperationAuthzBootstrap> | undefined)",
|
|
1469
1493
|
value: input.operationsAuthz
|
|
1470
|
-
})) && input.operationsAuthz.map((elem,
|
|
1471
|
-
path: _path + ".operationsAuthz[" +
|
|
1494
|
+
})) && input.operationsAuthz.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1495
|
+
path: _path + ".operationsAuthz[" + _index23 + "]",
|
|
1472
1496
|
expected: "OperationAuthzBootstrap",
|
|
1473
1497
|
value: elem
|
|
1474
|
-
})) && _vo21(elem, _path + ".operationsAuthz[" +
|
|
1475
|
-
path: _path + ".operationsAuthz[" +
|
|
1498
|
+
})) && _vo21(elem, _path + ".operationsAuthz[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1499
|
+
path: _path + ".operationsAuthz[" + _index23 + "]",
|
|
1476
1500
|
expected: "OperationAuthzBootstrap",
|
|
1477
1501
|
value: elem
|
|
1478
1502
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1483,12 +1507,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1483
1507
|
path: _path + ".modulesConfig",
|
|
1484
1508
|
expected: "(Array<UpdateModuleUIConfigDTO> | undefined)",
|
|
1485
1509
|
value: input.modulesConfig
|
|
1486
|
-
})) && input.modulesConfig.map((elem,
|
|
1487
|
-
path: _path + ".modulesConfig[" +
|
|
1510
|
+
})) && input.modulesConfig.map((elem, _index24) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1511
|
+
path: _path + ".modulesConfig[" + _index24 + "]",
|
|
1488
1512
|
expected: "UpdateModuleUIConfigDTO",
|
|
1489
1513
|
value: elem
|
|
1490
|
-
})) && _vo22(elem, _path + ".modulesConfig[" +
|
|
1491
|
-
path: _path + ".modulesConfig[" +
|
|
1514
|
+
})) && _vo22(elem, _path + ".modulesConfig[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1515
|
+
path: _path + ".modulesConfig[" + _index24 + "]",
|
|
1492
1516
|
expected: "UpdateModuleUIConfigDTO",
|
|
1493
1517
|
value: elem
|
|
1494
1518
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1527,12 +1551,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1527
1551
|
path: _path + ".valueRules",
|
|
1528
1552
|
expected: "(Array<BootstrapValueRule> | undefined)",
|
|
1529
1553
|
value: input.valueRules
|
|
1530
|
-
})) && input.valueRules.map((elem,
|
|
1531
|
-
path: _path + ".valueRules[" +
|
|
1554
|
+
})) && input.valueRules.map((elem, _index25) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1555
|
+
path: _path + ".valueRules[" + _index25 + "]",
|
|
1532
1556
|
expected: "BootstrapValueRule",
|
|
1533
1557
|
value: elem
|
|
1534
|
-
})) && _vo4(elem, _path + ".valueRules[" +
|
|
1535
|
-
path: _path + ".valueRules[" +
|
|
1558
|
+
})) && _vo4(elem, _path + ".valueRules[" + _index25 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1559
|
+
path: _path + ".valueRules[" + _index25 + "]",
|
|
1536
1560
|
expected: "BootstrapValueRule",
|
|
1537
1561
|
value: elem
|
|
1538
1562
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1583,8 +1607,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1583
1607
|
path: _path + ".value",
|
|
1584
1608
|
expected: "(Array<string> | boolean | number | string)",
|
|
1585
1609
|
value: input.value
|
|
1586
|
-
})) && input.value.map((elem,
|
|
1587
|
-
path: _path + ".value[" +
|
|
1610
|
+
})) && input.value.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
|
|
1611
|
+
path: _path + ".value[" + _index26 + "]",
|
|
1588
1612
|
expected: "string",
|
|
1589
1613
|
value: elem
|
|
1590
1614
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1599,12 +1623,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1599
1623
|
path: _path + ".rules",
|
|
1600
1624
|
expected: "Array<BootstrapCondition>",
|
|
1601
1625
|
value: input.rules
|
|
1602
|
-
})) && input.rules.map((elem,
|
|
1603
|
-
path: _path + ".rules[" +
|
|
1626
|
+
})) && input.rules.map((elem, _index27) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1627
|
+
path: _path + ".rules[" + _index27 + "]",
|
|
1604
1628
|
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
1605
1629
|
value: elem
|
|
1606
|
-
})) && _vu0(elem, _path + ".rules[" +
|
|
1607
|
-
path: _path + ".rules[" +
|
|
1630
|
+
})) && _vu0(elem, _path + ".rules[" + _index27 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1631
|
+
path: _path + ".rules[" + _index27 + "]",
|
|
1608
1632
|
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
1609
1633
|
value: elem
|
|
1610
1634
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1647,8 +1671,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1647
1671
|
path: _path + ".dependsOn",
|
|
1648
1672
|
expected: "Array<string>",
|
|
1649
1673
|
value: input.dependsOn
|
|
1650
|
-
})) && input.dependsOn.map((elem,
|
|
1651
|
-
path: _path + ".dependsOn[" +
|
|
1674
|
+
})) && input.dependsOn.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
|
|
1675
|
+
path: _path + ".dependsOn[" + _index28 + "]",
|
|
1652
1676
|
expected: "string",
|
|
1653
1677
|
value: elem
|
|
1654
1678
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1816,8 +1840,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1816
1840
|
path: _path + ".operations",
|
|
1817
1841
|
expected: "(Array<string> | undefined)",
|
|
1818
1842
|
value: input.operations
|
|
1819
|
-
})) && input.operations.map((elem,
|
|
1820
|
-
path: _path + ".operations[" +
|
|
1843
|
+
})) && input.operations.map((elem, _index29) => "string" === typeof elem || _report(_exceptionable, {
|
|
1844
|
+
path: _path + ".operations[" + _index29 + "]",
|
|
1821
1845
|
expected: "string",
|
|
1822
1846
|
value: elem
|
|
1823
1847
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1828,12 +1852,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1828
1852
|
path: _path + ".routes",
|
|
1829
1853
|
expected: "(Array<RouteAuthorization> | undefined)",
|
|
1830
1854
|
value: input.routes
|
|
1831
|
-
})) && input.routes.map((elem,
|
|
1832
|
-
path: _path + ".routes[" +
|
|
1855
|
+
})) && input.routes.map((elem, _index30) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
1856
|
+
path: _path + ".routes[" + _index30 + "]",
|
|
1833
1857
|
expected: "RouteAuthorization",
|
|
1834
1858
|
value: elem
|
|
1835
|
-
})) && _vo17(elem, _path + ".routes[" +
|
|
1836
|
-
path: _path + ".routes[" +
|
|
1859
|
+
})) && _vo17(elem, _path + ".routes[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
1860
|
+
path: _path + ".routes[" + _index30 + "]",
|
|
1837
1861
|
expected: "RouteAuthorization",
|
|
1838
1862
|
value: elem
|
|
1839
1863
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1844,8 +1868,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1844
1868
|
path: _path + ".methods",
|
|
1845
1869
|
expected: "(Array<HttpMethod> | undefined)",
|
|
1846
1870
|
value: input.methods
|
|
1847
|
-
})) && input.methods.map((elem,
|
|
1848
|
-
path: _path + ".methods[" +
|
|
1871
|
+
})) && input.methods.map((elem, _index31) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
|
|
1872
|
+
path: _path + ".methods[" + _index31 + "]",
|
|
1849
1873
|
expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
|
|
1850
1874
|
value: elem
|
|
1851
1875
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1860,8 +1884,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1860
1884
|
path: _path + ".operations",
|
|
1861
1885
|
expected: "Array<string>",
|
|
1862
1886
|
value: input.operations
|
|
1863
|
-
})) && input.operations.map((elem,
|
|
1864
|
-
path: _path + ".operations[" +
|
|
1887
|
+
})) && input.operations.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
|
|
1888
|
+
path: _path + ".operations[" + _index32 + "]",
|
|
1865
1889
|
expected: "string",
|
|
1866
1890
|
value: elem
|
|
1867
1891
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1900,6 +1924,18 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1900
1924
|
path: _path + ".allowedByDefault",
|
|
1901
1925
|
expected: "(boolean | undefined)",
|
|
1902
1926
|
value: input.allowedByDefault
|
|
1927
|
+
}), undefined === input.allowedTenants || (Array.isArray(input.allowedTenants) || _report(_exceptionable, {
|
|
1928
|
+
path: _path + ".allowedTenants",
|
|
1929
|
+
expected: "(Array<string> | undefined)",
|
|
1930
|
+
value: input.allowedTenants
|
|
1931
|
+
})) && input.allowedTenants.map((elem, _index33) => "string" === typeof elem || _report(_exceptionable, {
|
|
1932
|
+
path: _path + ".allowedTenants[" + _index33 + "]",
|
|
1933
|
+
expected: "string",
|
|
1934
|
+
value: elem
|
|
1935
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
1936
|
+
path: _path + ".allowedTenants",
|
|
1937
|
+
expected: "(Array<string> | undefined)",
|
|
1938
|
+
value: input.allowedTenants
|
|
1903
1939
|
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
|
|
1904
1940
|
path: _path + ".applicationName",
|
|
1905
1941
|
expected: "(string | undefined)",
|
|
@@ -1916,8 +1952,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
1916
1952
|
path: _path + ".roles",
|
|
1917
1953
|
expected: "(Array<string> | undefined)",
|
|
1918
1954
|
value: input.roles
|
|
1919
|
-
})) && input.roles.map((elem,
|
|
1920
|
-
path: _path + ".roles[" +
|
|
1955
|
+
})) && input.roles.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
|
|
1956
|
+
path: _path + ".roles[" + _index34 + "]",
|
|
1921
1957
|
expected: "string",
|
|
1922
1958
|
value: elem
|
|
1923
1959
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2031,7 +2067,7 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2031
2067
|
if (undefined === value)
|
|
2032
2068
|
return true;
|
|
2033
2069
|
return true;
|
|
2034
|
-
}); const _io15 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io16 = 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 && _io17(elem))); const _io17 = 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 _io18 = 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 _io19 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _io20 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io21 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io22 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io14(input.customProps)); const _iu0 = input => (() => {
|
|
2070
|
+
}); const _io15 = input => "aws" === input.provider && "boolean" === typeof input.requiresSignature; const _io16 = 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 && _io17(elem))); const _io17 = 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 _io18 = 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 _io19 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault) && (undefined === input.allowedTenants || Array.isArray(input.allowedTenants) && input.allowedTenants.every(elem => "string" === typeof elem)); const _io20 = input => (undefined === input.applicationName || "string" === typeof input.applicationName) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description); const _io21 = input => (undefined === input.roles || Array.isArray(input.roles) && input.roles.every(elem => "string" === typeof elem)) && "string" === typeof input.name && (undefined === input.description || "string" === typeof input.description) && (undefined === input.applicationName || "string" === typeof input.applicationName); const _io22 = input => "string" === typeof input.moduleName && ("object" === typeof input.customProps && null !== input.customProps && false === Array.isArray(input.customProps) && _io14(input.customProps)); const _iu0 = input => (() => {
|
|
2035
2071
|
if ("eq" === input.operator || "neq" === input.operator || "in" === input.operator || "nin" === input.operator)
|
|
2036
2072
|
return _io5(input);
|
|
2037
2073
|
else if ("AND" === input.operator || "OR" === input.operator)
|
|
@@ -2050,12 +2086,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2050
2086
|
path: _path + ".sharedLibraries",
|
|
2051
2087
|
expected: "(Array<CreateSharedLibraryDTO> | undefined)",
|
|
2052
2088
|
value: input.sharedLibraries
|
|
2053
|
-
})) && input.sharedLibraries.map((elem,
|
|
2054
|
-
path: _path + ".sharedLibraries[" +
|
|
2089
|
+
})) && input.sharedLibraries.map((elem, _index18) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2090
|
+
path: _path + ".sharedLibraries[" + _index18 + "]",
|
|
2055
2091
|
expected: "CreateSharedLibraryDTO",
|
|
2056
2092
|
value: elem
|
|
2057
|
-
})) && _vo2(elem, _path + ".sharedLibraries[" +
|
|
2058
|
-
path: _path + ".sharedLibraries[" +
|
|
2093
|
+
})) && _vo2(elem, _path + ".sharedLibraries[" + _index18 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2094
|
+
path: _path + ".sharedLibraries[" + _index18 + "]",
|
|
2059
2095
|
expected: "CreateSharedLibraryDTO",
|
|
2060
2096
|
value: elem
|
|
2061
2097
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2066,12 +2102,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2066
2102
|
path: _path + ".featureFlags",
|
|
2067
2103
|
expected: "(Array<BootstrapFeatureFlag> | undefined)",
|
|
2068
2104
|
value: input.featureFlags
|
|
2069
|
-
})) && input.featureFlags.map((elem,
|
|
2070
|
-
path: _path + ".featureFlags[" +
|
|
2105
|
+
})) && input.featureFlags.map((elem, _index19) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2106
|
+
path: _path + ".featureFlags[" + _index19 + "]",
|
|
2071
2107
|
expected: "BootstrapFeatureFlag",
|
|
2072
2108
|
value: elem
|
|
2073
|
-
})) && _vo3(elem, _path + ".featureFlags[" +
|
|
2074
|
-
path: _path + ".featureFlags[" +
|
|
2109
|
+
})) && _vo3(elem, _path + ".featureFlags[" + _index19 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2110
|
+
path: _path + ".featureFlags[" + _index19 + "]",
|
|
2075
2111
|
expected: "BootstrapFeatureFlag",
|
|
2076
2112
|
value: elem
|
|
2077
2113
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2082,12 +2118,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2082
2118
|
path: _path + ".catalog",
|
|
2083
2119
|
expected: "(Array<BootstrapModule> | undefined)",
|
|
2084
2120
|
value: input.catalog
|
|
2085
|
-
})) && input.catalog.map((elem,
|
|
2086
|
-
path: _path + ".catalog[" +
|
|
2121
|
+
})) && input.catalog.map((elem, _index20) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2122
|
+
path: _path + ".catalog[" + _index20 + "]",
|
|
2087
2123
|
expected: "BootstrapModule",
|
|
2088
2124
|
value: elem
|
|
2089
|
-
})) && _vo8(elem, _path + ".catalog[" +
|
|
2090
|
-
path: _path + ".catalog[" +
|
|
2125
|
+
})) && _vo8(elem, _path + ".catalog[" + _index20 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2126
|
+
path: _path + ".catalog[" + _index20 + "]",
|
|
2091
2127
|
expected: "BootstrapModule",
|
|
2092
2128
|
value: elem
|
|
2093
2129
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2098,12 +2134,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2098
2134
|
path: _path + ".applicationsAuthz",
|
|
2099
2135
|
expected: "(Array<CreateApplicationDTO> | undefined)",
|
|
2100
2136
|
value: input.applicationsAuthz
|
|
2101
|
-
})) && input.applicationsAuthz.map((elem,
|
|
2102
|
-
path: _path + ".applicationsAuthz[" +
|
|
2137
|
+
})) && input.applicationsAuthz.map((elem, _index21) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2138
|
+
path: _path + ".applicationsAuthz[" + _index21 + "]",
|
|
2103
2139
|
expected: "CreateApplicationDTO",
|
|
2104
2140
|
value: elem
|
|
2105
|
-
})) && _vo19(elem, _path + ".applicationsAuthz[" +
|
|
2106
|
-
path: _path + ".applicationsAuthz[" +
|
|
2141
|
+
})) && _vo19(elem, _path + ".applicationsAuthz[" + _index21 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2142
|
+
path: _path + ".applicationsAuthz[" + _index21 + "]",
|
|
2107
2143
|
expected: "CreateApplicationDTO",
|
|
2108
2144
|
value: elem
|
|
2109
2145
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2114,12 +2150,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2114
2150
|
path: _path + ".rolesAuthz",
|
|
2115
2151
|
expected: "(Array<CreateRoleDTO> | undefined)",
|
|
2116
2152
|
value: input.rolesAuthz
|
|
2117
|
-
})) && input.rolesAuthz.map((elem,
|
|
2118
|
-
path: _path + ".rolesAuthz[" +
|
|
2153
|
+
})) && input.rolesAuthz.map((elem, _index22) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2154
|
+
path: _path + ".rolesAuthz[" + _index22 + "]",
|
|
2119
2155
|
expected: "CreateRoleDTO",
|
|
2120
2156
|
value: elem
|
|
2121
|
-
})) && _vo20(elem, _path + ".rolesAuthz[" +
|
|
2122
|
-
path: _path + ".rolesAuthz[" +
|
|
2157
|
+
})) && _vo20(elem, _path + ".rolesAuthz[" + _index22 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2158
|
+
path: _path + ".rolesAuthz[" + _index22 + "]",
|
|
2123
2159
|
expected: "CreateRoleDTO",
|
|
2124
2160
|
value: elem
|
|
2125
2161
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2130,12 +2166,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2130
2166
|
path: _path + ".operationsAuthz",
|
|
2131
2167
|
expected: "(Array<OperationAuthzBootstrap> | undefined)",
|
|
2132
2168
|
value: input.operationsAuthz
|
|
2133
|
-
})) && input.operationsAuthz.map((elem,
|
|
2134
|
-
path: _path + ".operationsAuthz[" +
|
|
2169
|
+
})) && input.operationsAuthz.map((elem, _index23) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2170
|
+
path: _path + ".operationsAuthz[" + _index23 + "]",
|
|
2135
2171
|
expected: "OperationAuthzBootstrap",
|
|
2136
2172
|
value: elem
|
|
2137
|
-
})) && _vo21(elem, _path + ".operationsAuthz[" +
|
|
2138
|
-
path: _path + ".operationsAuthz[" +
|
|
2173
|
+
})) && _vo21(elem, _path + ".operationsAuthz[" + _index23 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2174
|
+
path: _path + ".operationsAuthz[" + _index23 + "]",
|
|
2139
2175
|
expected: "OperationAuthzBootstrap",
|
|
2140
2176
|
value: elem
|
|
2141
2177
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2146,12 +2182,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2146
2182
|
path: _path + ".modulesConfig",
|
|
2147
2183
|
expected: "(Array<UpdateModuleUIConfigDTO> | undefined)",
|
|
2148
2184
|
value: input.modulesConfig
|
|
2149
|
-
})) && input.modulesConfig.map((elem,
|
|
2150
|
-
path: _path + ".modulesConfig[" +
|
|
2185
|
+
})) && input.modulesConfig.map((elem, _index24) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2186
|
+
path: _path + ".modulesConfig[" + _index24 + "]",
|
|
2151
2187
|
expected: "UpdateModuleUIConfigDTO",
|
|
2152
2188
|
value: elem
|
|
2153
|
-
})) && _vo22(elem, _path + ".modulesConfig[" +
|
|
2154
|
-
path: _path + ".modulesConfig[" +
|
|
2189
|
+
})) && _vo22(elem, _path + ".modulesConfig[" + _index24 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2190
|
+
path: _path + ".modulesConfig[" + _index24 + "]",
|
|
2155
2191
|
expected: "UpdateModuleUIConfigDTO",
|
|
2156
2192
|
value: elem
|
|
2157
2193
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2190,12 +2226,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2190
2226
|
path: _path + ".valueRules",
|
|
2191
2227
|
expected: "(Array<BootstrapValueRule> | undefined)",
|
|
2192
2228
|
value: input.valueRules
|
|
2193
|
-
})) && input.valueRules.map((elem,
|
|
2194
|
-
path: _path + ".valueRules[" +
|
|
2229
|
+
})) && input.valueRules.map((elem, _index25) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2230
|
+
path: _path + ".valueRules[" + _index25 + "]",
|
|
2195
2231
|
expected: "BootstrapValueRule",
|
|
2196
2232
|
value: elem
|
|
2197
|
-
})) && _vo4(elem, _path + ".valueRules[" +
|
|
2198
|
-
path: _path + ".valueRules[" +
|
|
2233
|
+
})) && _vo4(elem, _path + ".valueRules[" + _index25 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2234
|
+
path: _path + ".valueRules[" + _index25 + "]",
|
|
2199
2235
|
expected: "BootstrapValueRule",
|
|
2200
2236
|
value: elem
|
|
2201
2237
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2246,8 +2282,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2246
2282
|
path: _path + ".value",
|
|
2247
2283
|
expected: "(Array<string> | boolean | number | string)",
|
|
2248
2284
|
value: input.value
|
|
2249
|
-
})) && input.value.map((elem,
|
|
2250
|
-
path: _path + ".value[" +
|
|
2285
|
+
})) && input.value.map((elem, _index26) => "string" === typeof elem || _report(_exceptionable, {
|
|
2286
|
+
path: _path + ".value[" + _index26 + "]",
|
|
2251
2287
|
expected: "string",
|
|
2252
2288
|
value: elem
|
|
2253
2289
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2262,12 +2298,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2262
2298
|
path: _path + ".rules",
|
|
2263
2299
|
expected: "Array<BootstrapCondition>",
|
|
2264
2300
|
value: input.rules
|
|
2265
|
-
})) && input.rules.map((elem,
|
|
2266
|
-
path: _path + ".rules[" +
|
|
2301
|
+
})) && input.rules.map((elem, _index27) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2302
|
+
path: _path + ".rules[" + _index27 + "]",
|
|
2267
2303
|
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
2268
2304
|
value: elem
|
|
2269
|
-
})) && _vu0(elem, _path + ".rules[" +
|
|
2270
|
-
path: _path + ".rules[" +
|
|
2305
|
+
})) && _vu0(elem, _path + ".rules[" + _index27 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2306
|
+
path: _path + ".rules[" + _index27 + "]",
|
|
2271
2307
|
expected: "(BootstrapCompositeCondition | BootstrapLeafCondition)",
|
|
2272
2308
|
value: elem
|
|
2273
2309
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2310,8 +2346,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2310
2346
|
path: _path + ".dependsOn",
|
|
2311
2347
|
expected: "Array<string>",
|
|
2312
2348
|
value: input.dependsOn
|
|
2313
|
-
})) && input.dependsOn.map((elem,
|
|
2314
|
-
path: _path + ".dependsOn[" +
|
|
2349
|
+
})) && input.dependsOn.map((elem, _index28) => "string" === typeof elem || _report(_exceptionable, {
|
|
2350
|
+
path: _path + ".dependsOn[" + _index28 + "]",
|
|
2315
2351
|
expected: "string",
|
|
2316
2352
|
value: elem
|
|
2317
2353
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2479,8 +2515,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2479
2515
|
path: _path + ".operations",
|
|
2480
2516
|
expected: "(Array<string> | undefined)",
|
|
2481
2517
|
value: input.operations
|
|
2482
|
-
})) && input.operations.map((elem,
|
|
2483
|
-
path: _path + ".operations[" +
|
|
2518
|
+
})) && input.operations.map((elem, _index29) => "string" === typeof elem || _report(_exceptionable, {
|
|
2519
|
+
path: _path + ".operations[" + _index29 + "]",
|
|
2484
2520
|
expected: "string",
|
|
2485
2521
|
value: elem
|
|
2486
2522
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2491,12 +2527,12 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2491
2527
|
path: _path + ".routes",
|
|
2492
2528
|
expected: "(Array<RouteAuthorization> | undefined)",
|
|
2493
2529
|
value: input.routes
|
|
2494
|
-
})) && input.routes.map((elem,
|
|
2495
|
-
path: _path + ".routes[" +
|
|
2530
|
+
})) && input.routes.map((elem, _index30) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
|
|
2531
|
+
path: _path + ".routes[" + _index30 + "]",
|
|
2496
2532
|
expected: "RouteAuthorization",
|
|
2497
2533
|
value: elem
|
|
2498
|
-
})) && _vo17(elem, _path + ".routes[" +
|
|
2499
|
-
path: _path + ".routes[" +
|
|
2534
|
+
})) && _vo17(elem, _path + ".routes[" + _index30 + "]", true && _exceptionable) || _report(_exceptionable, {
|
|
2535
|
+
path: _path + ".routes[" + _index30 + "]",
|
|
2500
2536
|
expected: "RouteAuthorization",
|
|
2501
2537
|
value: elem
|
|
2502
2538
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2507,8 +2543,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2507
2543
|
path: _path + ".methods",
|
|
2508
2544
|
expected: "(Array<HttpMethod> | undefined)",
|
|
2509
2545
|
value: input.methods
|
|
2510
|
-
})) && input.methods.map((elem,
|
|
2511
|
-
path: _path + ".methods[" +
|
|
2546
|
+
})) && input.methods.map((elem, _index31) => "POST" === elem || "DELETE" === elem || "GET" === elem || "HEAD" === elem || "OPTIONS" === elem || "PUT" === elem || "PATCH" === elem || "CONNECT" === elem || "TRACE" === elem || _report(_exceptionable, {
|
|
2547
|
+
path: _path + ".methods[" + _index31 + "]",
|
|
2512
2548
|
expected: "(\"CONNECT\" | \"DELETE\" | \"GET\" | \"HEAD\" | \"OPTIONS\" | \"PATCH\" | \"POST\" | \"PUT\" | \"TRACE\")",
|
|
2513
2549
|
value: elem
|
|
2514
2550
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2523,8 +2559,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2523
2559
|
path: _path + ".operations",
|
|
2524
2560
|
expected: "Array<string>",
|
|
2525
2561
|
value: input.operations
|
|
2526
|
-
})) && input.operations.map((elem,
|
|
2527
|
-
path: _path + ".operations[" +
|
|
2562
|
+
})) && input.operations.map((elem, _index32) => "string" === typeof elem || _report(_exceptionable, {
|
|
2563
|
+
path: _path + ".operations[" + _index32 + "]",
|
|
2528
2564
|
expected: "string",
|
|
2529
2565
|
value: elem
|
|
2530
2566
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -2563,6 +2599,18 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2563
2599
|
path: _path + ".allowedByDefault",
|
|
2564
2600
|
expected: "(boolean | undefined)",
|
|
2565
2601
|
value: input.allowedByDefault
|
|
2602
|
+
}), undefined === input.allowedTenants || (Array.isArray(input.allowedTenants) || _report(_exceptionable, {
|
|
2603
|
+
path: _path + ".allowedTenants",
|
|
2604
|
+
expected: "(Array<string> | undefined)",
|
|
2605
|
+
value: input.allowedTenants
|
|
2606
|
+
})) && input.allowedTenants.map((elem, _index33) => "string" === typeof elem || _report(_exceptionable, {
|
|
2607
|
+
path: _path + ".allowedTenants[" + _index33 + "]",
|
|
2608
|
+
expected: "string",
|
|
2609
|
+
value: elem
|
|
2610
|
+
})).every(flag => flag) || _report(_exceptionable, {
|
|
2611
|
+
path: _path + ".allowedTenants",
|
|
2612
|
+
expected: "(Array<string> | undefined)",
|
|
2613
|
+
value: input.allowedTenants
|
|
2566
2614
|
})].every(flag => flag); const _vo20 = (input, _path, _exceptionable = true) => [undefined === input.applicationName || "string" === typeof input.applicationName || _report(_exceptionable, {
|
|
2567
2615
|
path: _path + ".applicationName",
|
|
2568
2616
|
expected: "(string | undefined)",
|
|
@@ -2579,8 +2627,8 @@ describe('BootstrapSyncMetadata - type validations', () => {
|
|
|
2579
2627
|
path: _path + ".roles",
|
|
2580
2628
|
expected: "(Array<string> | undefined)",
|
|
2581
2629
|
value: input.roles
|
|
2582
|
-
})) && input.roles.map((elem,
|
|
2583
|
-
path: _path + ".roles[" +
|
|
2630
|
+
})) && input.roles.map((elem, _index34) => "string" === typeof elem || _report(_exceptionable, {
|
|
2631
|
+
path: _path + ".roles[" + _index34 + "]",
|
|
2584
2632
|
expected: "string",
|
|
2585
2633
|
value: elem
|
|
2586
2634
|
})).every(flag => flag) || _report(_exceptionable, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain-validation.test.js","sourceRoot":"","sources":["../../../../src/bootstrap/domain/domain-validation.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAI1B,QAAQ,CAAC,0CAA0C,EAAE,GAAG,EAAE;IAExD,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE;QAC1C,MAAM,WAAW,GAA0B;YACzC,UAAU,EAAE;gBACV,QAAQ,EAAE,MAAM;aACjB;SACuB,CAAC;QAE3B,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"domain-validation.test.js","sourceRoot":"","sources":["../../../../src/bootstrap/domain/domain-validation.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAI1B,QAAQ,CAAC,0CAA0C,EAAE,GAAG,EAAE;IAExD,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE;QAC1C,MAAM,WAAW,GAA0B;YACzC,UAAU,EAAE;gBACV,QAAQ,EAAE,MAAM;aACjB;SACuB,CAAC;QAE3B,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAAyC,+BAA+B,CAAC,CAAC;QAEtF,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AAEL,CAAC,CAAC,CAAC"}
|
|
@@ -338,7 +338,7 @@ const createDefaultPlatformApplication = () => ({
|
|
|
338
338
|
});
|
|
339
339
|
const readApplicationDirectory = (path, defaultApplication) => {
|
|
340
340
|
const { existsSync } = require("fs");
|
|
341
|
-
const assert = (() => { const _io0 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault); const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
341
|
+
const assert = (() => { const _io0 = input => "string" === typeof input.name && (undefined === input.displayName || "string" === typeof input.displayName) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.allowedByDefault || "boolean" === typeof input.allowedByDefault) && (undefined === input.allowedTenants || Array.isArray(input.allowedTenants) && input.allowedTenants.every(elem => "string" === typeof elem)); const _ao0 = (input, _path, _exceptionable = true) => ("string" === typeof input.name || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
342
342
|
method: "typia.createAssert",
|
|
343
343
|
path: _path + ".name",
|
|
344
344
|
expected: "string",
|
|
@@ -358,6 +358,21 @@ const readApplicationDirectory = (path, defaultApplication) => {
|
|
|
358
358
|
path: _path + ".allowedByDefault",
|
|
359
359
|
expected: "(boolean | undefined)",
|
|
360
360
|
value: input.allowedByDefault
|
|
361
|
+
}, _errorFactory)) && (undefined === input.allowedTenants || (Array.isArray(input.allowedTenants) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
362
|
+
method: "typia.createAssert",
|
|
363
|
+
path: _path + ".allowedTenants",
|
|
364
|
+
expected: "(Array<string> | undefined)",
|
|
365
|
+
value: input.allowedTenants
|
|
366
|
+
}, _errorFactory)) && input.allowedTenants.every((elem, _index2) => "string" === typeof elem || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
367
|
+
method: "typia.createAssert",
|
|
368
|
+
path: _path + ".allowedTenants[" + _index2 + "]",
|
|
369
|
+
expected: "string",
|
|
370
|
+
value: elem
|
|
371
|
+
}, _errorFactory)) || __typia_transform__assertGuard._assertGuard(_exceptionable, {
|
|
372
|
+
method: "typia.createAssert",
|
|
373
|
+
path: _path + ".allowedTenants",
|
|
374
|
+
expected: "(Array<string> | undefined)",
|
|
375
|
+
value: input.allowedTenants
|
|
361
376
|
}, _errorFactory)); const __is = input => "object" === typeof input && null !== input && _io0(input); let _errorFactory; return (input, errorFactory = (props) => {
|
|
362
377
|
throw new Error(`Error reading ${(0, path_1.join)(path, FILE_APPLICATION)} file: invalid type on ${props.path}, expect to be ${props.expected}`);
|
|
363
378
|
}) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-bootstrap-applications.js","sourceRoot":"","sources":["../../../src/bootstrap/read-bootstrap-applications.ts"],"names":[],"mappings":";;;;;;;;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AAC;YAED,MAAM,GAAG,GAAG,wBAAwB,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAA;YACjE,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAA;YAEhC,IAAI,MAAA,GAAG,CAAC,YAAY,0CAAE,MAAM,EAAE,CAAC;gBAC7B,GAAG,CAAC,YAAY,GAAG,CAAC,GAAG,CAAC,MAAA,GAAG,CAAC,YAAY,mCAAI,EAAE,CAAC,EAAE,GAAG,GAAG,CAAC,YAAY,CAAC,CAAC;YACxE,CAAC;QACH,CAAC;QACD,OAAO,GAAG,CAAA;IACZ,CAAC,EAAE,EAAE,YAAY,EAAE,EAAE,EAAkC,CAAC,CAAA;AAC1D,CAAC,CAAA;AA7CY,QAAA,2BAA2B,+BA6CvC;AAED,MAAM,gCAAgC,GAAG,GAAyB,EAAE,CAAC,CAAC;IACpE,IAAI,EAAE,oCAAyB;IAC/B,WAAW,EAAE,UAAU;IACvB,WAAW,EAAE,yBAAyB;IACtC,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE,EAAE;IACX,UAAU,EAAE,EAAE;IACd,KAAK,EAAE,EAAE;IACT,aAAa,EAAE,EAAE;IACjB,IAAI,EAAE,EAAE;CACT,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAAG,CAAC,IAAY,EAAE,kBAAwC,EAAwB,EAAE;IAChH,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"read-bootstrap-applications.js","sourceRoot":"","sources":["../../../src/bootstrap/read-bootstrap-applications.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAI4B;AAC5B,+BAA4B;AAC5B,kDAA0B;AAC1B,oCAA2C;AAY3C,cAAc;AACd,MAAM,qBAAqB,GAAG,uBAAuB,CAAC;AACtD,MAAM,kBAAkB,GAAG,o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