@salesforce/lds-adapters-industries-contextrules 1.294.0 → 1.295.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/industries-contextrules.js +19 -41
- package/dist/es/es2018/types/src/generated/types/UsageSubtypeOutputRepresentation.d.ts +4 -5
- package/package.json +3 -3
- package/sfdc/index.js +20 -42
- package/src/raml/api.raml +3 -13
- package/dist/es/es2018/types/src/generated/types/UsageSubtypeHashLookupColumnOutputRepresentation.d.ts +0 -31
|
@@ -81,7 +81,7 @@ function createLink(ref) {
|
|
|
81
81
|
|
|
82
82
|
const TTL$3 = 1000;
|
|
83
83
|
const VERSION$3 = "4b7bef672f4996c31c5a042959681437";
|
|
84
|
-
function validate$
|
|
84
|
+
function validate$5(obj, path = 'RuleLibraryTagMappingsReadOutputRepresentation') {
|
|
85
85
|
const v_error = (() => {
|
|
86
86
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
87
87
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -157,7 +157,7 @@ function equals$3(existing, incoming) {
|
|
|
157
157
|
}
|
|
158
158
|
const ingest$3 = function RuleLibraryTagMappingsReadOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
159
159
|
if (process.env.NODE_ENV !== 'production') {
|
|
160
|
-
const validateError = validate$
|
|
160
|
+
const validateError = validate$5(input);
|
|
161
161
|
if (validateError !== null) {
|
|
162
162
|
throw validateError;
|
|
163
163
|
}
|
|
@@ -179,7 +179,7 @@ function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
179
179
|
|
|
180
180
|
const TTL$2 = 1000;
|
|
181
181
|
const VERSION$2 = "3839d94c828e170861b071d1d1fe5292";
|
|
182
|
-
function validate$
|
|
182
|
+
function validate$4(obj, path = 'RuleLibraryTagMappingsReadOutputRepresentationList') {
|
|
183
183
|
const v_error = (() => {
|
|
184
184
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
185
185
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -192,7 +192,7 @@ function validate$5(obj, path = 'RuleLibraryTagMappingsReadOutputRepresentationL
|
|
|
192
192
|
for (let i = 0; i < obj_ruleLibraryTagMappings.length; i++) {
|
|
193
193
|
const obj_ruleLibraryTagMappings_item = obj_ruleLibraryTagMappings[i];
|
|
194
194
|
const path_ruleLibraryTagMappings_item = path_ruleLibraryTagMappings + '[' + i + ']';
|
|
195
|
-
const referencepath_ruleLibraryTagMappings_itemValidationError = validate$
|
|
195
|
+
const referencepath_ruleLibraryTagMappings_itemValidationError = validate$5(obj_ruleLibraryTagMappings_item, path_ruleLibraryTagMappings_item);
|
|
196
196
|
if (referencepath_ruleLibraryTagMappings_itemValidationError !== null) {
|
|
197
197
|
let message = 'Object doesn\'t match RuleLibraryTagMappingsReadOutputRepresentation (at "' + path_ruleLibraryTagMappings_item + '")\n';
|
|
198
198
|
message += referencepath_ruleLibraryTagMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -222,7 +222,7 @@ function equals$2(existing, incoming) {
|
|
|
222
222
|
}
|
|
223
223
|
const ingest$2 = function RuleLibraryTagMappingsReadOutputRepresentationListIngest(input, path, luvio, store, timestamp) {
|
|
224
224
|
if (process.env.NODE_ENV !== 'production') {
|
|
225
|
-
const validateError = validate$
|
|
225
|
+
const validateError = validate$4(input);
|
|
226
226
|
if (validateError !== null) {
|
|
227
227
|
throw validateError;
|
|
228
228
|
}
|
|
@@ -381,7 +381,7 @@ const getContextTagMappingsAdapterFactory = (luvio) => function contextrules__ge
|
|
|
381
381
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
382
382
|
};
|
|
383
383
|
|
|
384
|
-
function validate$
|
|
384
|
+
function validate$3(obj, path = 'RuleLibraryTagMappingsListWrapperRepresentation') {
|
|
385
385
|
const v_error = (() => {
|
|
386
386
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
387
387
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -404,7 +404,7 @@ function validate$4(obj, path = 'RuleLibraryTagMappingsListWrapperRepresentation
|
|
|
404
404
|
|
|
405
405
|
const TTL$1 = 1000;
|
|
406
406
|
const VERSION$1 = "7dab3fcadff55a173b214b22d1670519";
|
|
407
|
-
function validate$
|
|
407
|
+
function validate$2(obj, path = 'RuleLibraryTagMappingsCreateUpdateOutputRepresentation') {
|
|
408
408
|
const v_error = (() => {
|
|
409
409
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
410
410
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -453,7 +453,7 @@ function equals$1(existing, incoming) {
|
|
|
453
453
|
}
|
|
454
454
|
const ingest$1 = function RuleLibraryTagMappingsCreateUpdateOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
455
455
|
if (process.env.NODE_ENV !== 'production') {
|
|
456
|
-
const validateError = validate$
|
|
456
|
+
const validateError = validate$2(input);
|
|
457
457
|
if (validateError !== null) {
|
|
458
458
|
throw validateError;
|
|
459
459
|
}
|
|
@@ -522,7 +522,7 @@ function typeCheckConfig$4(untrustedConfig) {
|
|
|
522
522
|
const config = {};
|
|
523
523
|
typeCheckConfig$6(untrustedConfig, config, updateContextTagMapping_ConfigPropertyMetadata);
|
|
524
524
|
const untrustedConfig_contextTagMappings = untrustedConfig.contextTagMappings;
|
|
525
|
-
const referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError = validate$
|
|
525
|
+
const referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError = validate$3(untrustedConfig_contextTagMappings);
|
|
526
526
|
if (referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError === null) {
|
|
527
527
|
config.contextTagMappings = untrustedConfig_contextTagMappings;
|
|
528
528
|
}
|
|
@@ -619,7 +619,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
619
619
|
const config = {};
|
|
620
620
|
typeCheckConfig$6(untrustedConfig, config, createContextTagMapping_ConfigPropertyMetadata);
|
|
621
621
|
const untrustedConfig_contextTagMappings = untrustedConfig.contextTagMappings;
|
|
622
|
-
const referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError = validate$
|
|
622
|
+
const referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError = validate$3(untrustedConfig_contextTagMappings);
|
|
623
623
|
if (referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError === null) {
|
|
624
624
|
config.contextTagMappings = untrustedConfig_contextTagMappings;
|
|
625
625
|
}
|
|
@@ -895,43 +895,21 @@ const getContextTagMappingAdapterFactory = (luvio) => function contextrules__get
|
|
|
895
895
|
buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
|
|
896
896
|
};
|
|
897
897
|
|
|
898
|
-
function validate$2(obj, path = 'UsageSubtypeHashLookupColumnOutputRepresentation') {
|
|
899
|
-
const v_error = (() => {
|
|
900
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
901
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
902
|
-
}
|
|
903
|
-
const obj_sequenceNumber = obj.sequenceNumber;
|
|
904
|
-
const path_sequenceNumber = path + '.sequenceNumber';
|
|
905
|
-
if (typeof obj_sequenceNumber !== 'number' || (typeof obj_sequenceNumber === 'number' && Math.floor(obj_sequenceNumber) !== obj_sequenceNumber)) {
|
|
906
|
-
return new TypeError('Expected "integer" but received "' + typeof obj_sequenceNumber + '" (at "' + path_sequenceNumber + '")');
|
|
907
|
-
}
|
|
908
|
-
const obj_subtypeMappingName = obj.subtypeMappingName;
|
|
909
|
-
const path_subtypeMappingName = path + '.subtypeMappingName';
|
|
910
|
-
if (typeof obj_subtypeMappingName !== 'string') {
|
|
911
|
-
return new TypeError('Expected "string" but received "' + typeof obj_subtypeMappingName + '" (at "' + path_subtypeMappingName + '")');
|
|
912
|
-
}
|
|
913
|
-
})();
|
|
914
|
-
return v_error === undefined ? null : v_error;
|
|
915
|
-
}
|
|
916
|
-
|
|
917
898
|
function validate$1(obj, path = 'UsageSubtypeOutputRepresentation') {
|
|
918
899
|
const v_error = (() => {
|
|
919
900
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
920
901
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
921
902
|
}
|
|
922
|
-
const
|
|
923
|
-
const
|
|
924
|
-
if (!ArrayIsArray(
|
|
925
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
903
|
+
const obj_subtypeMappingNames = obj.subtypeMappingNames;
|
|
904
|
+
const path_subtypeMappingNames = path + '.subtypeMappingNames';
|
|
905
|
+
if (!ArrayIsArray(obj_subtypeMappingNames)) {
|
|
906
|
+
return new TypeError('Expected "array" but received "' + typeof obj_subtypeMappingNames + '" (at "' + path_subtypeMappingNames + '")');
|
|
926
907
|
}
|
|
927
|
-
for (let i = 0; i <
|
|
928
|
-
const
|
|
929
|
-
const
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
let message = 'Object doesn\'t match UsageSubtypeHashLookupColumnOutputRepresentation (at "' + path_hashLookupColumns_item + '")\n';
|
|
933
|
-
message += referencepath_hashLookupColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
934
|
-
return new TypeError(message);
|
|
908
|
+
for (let i = 0; i < obj_subtypeMappingNames.length; i++) {
|
|
909
|
+
const obj_subtypeMappingNames_item = obj_subtypeMappingNames[i];
|
|
910
|
+
const path_subtypeMappingNames_item = path_subtypeMappingNames + '[' + i + ']';
|
|
911
|
+
if (typeof obj_subtypeMappingNames_item !== 'string') {
|
|
912
|
+
return new TypeError('Expected "string" but received "' + typeof obj_subtypeMappingNames_item + '" (at "' + path_subtypeMappingNames_item + '")');
|
|
935
913
|
}
|
|
936
914
|
}
|
|
937
915
|
const obj_usageSubtype = obj.usageSubtype;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { UsageSubtypeHashLookupColumnOutputRepresentation as UsageSubtypeHashLookupColumnOutputRepresentation_UsageSubtypeHashLookupColumnOutputRepresentation } from './UsageSubtypeHashLookupColumnOutputRepresentation';
|
|
2
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "579a71aae59aa57770bf60164e38a087";
|
|
4
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
4
|
export declare const RepresentationType: string;
|
|
6
5
|
export declare function normalize(input: UsageSubtypeOutputRepresentation, existing: UsageSubtypeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UsageSubtypeOutputRepresentationNormalized;
|
|
@@ -15,8 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
14
|
* (none)
|
|
16
15
|
*/
|
|
17
16
|
export interface UsageSubtypeOutputRepresentationNormalized {
|
|
18
|
-
/**
|
|
19
|
-
|
|
17
|
+
/** subType Mapping names */
|
|
18
|
+
subtypeMappingNames: Array<string>;
|
|
20
19
|
/** Usage Subtype */
|
|
21
20
|
usageSubtype: string;
|
|
22
21
|
}
|
|
@@ -27,6 +26,6 @@ export interface UsageSubtypeOutputRepresentationNormalized {
|
|
|
27
26
|
* (none)
|
|
28
27
|
*/
|
|
29
28
|
export interface UsageSubtypeOutputRepresentation {
|
|
30
|
-
|
|
29
|
+
subtypeMappingNames: Array<string>;
|
|
31
30
|
usageSubtype: string;
|
|
32
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-contextrules",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.295.0",
|
|
4
4
|
"description": "API family for contextrules",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/industries-contextrules.js",
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"test:unit:debug": "node --inspect-brk ../../node_modules/jest/bin/jest.js --config ./jest.config.js --runInBand"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@salesforce/lds-bindings": "^1.
|
|
44
|
+
"@salesforce/lds-bindings": "^1.295.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.295.0"
|
|
48
48
|
},
|
|
49
49
|
"nx": {
|
|
50
50
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -89,7 +89,7 @@ function createLink(ref) {
|
|
|
89
89
|
};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
function validate$
|
|
92
|
+
function validate$5(obj, path = 'RuleLibraryTagMappingsListWrapperRepresentation') {
|
|
93
93
|
const v_error = (() => {
|
|
94
94
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
95
95
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -112,7 +112,7 @@ function validate$6(obj, path = 'RuleLibraryTagMappingsListWrapperRepresentation
|
|
|
112
112
|
|
|
113
113
|
const TTL$3 = 1000;
|
|
114
114
|
const VERSION$3 = "7dab3fcadff55a173b214b22d1670519";
|
|
115
|
-
function validate$
|
|
115
|
+
function validate$4(obj, path = 'RuleLibraryTagMappingsCreateUpdateOutputRepresentation') {
|
|
116
116
|
const v_error = (() => {
|
|
117
117
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
118
118
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -161,7 +161,7 @@ function equals$3(existing, incoming) {
|
|
|
161
161
|
}
|
|
162
162
|
const ingest$3 = function RuleLibraryTagMappingsCreateUpdateOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
163
163
|
if (process.env.NODE_ENV !== 'production') {
|
|
164
|
-
const validateError = validate$
|
|
164
|
+
const validateError = validate$4(input);
|
|
165
165
|
if (validateError !== null) {
|
|
166
166
|
throw validateError;
|
|
167
167
|
}
|
|
@@ -230,7 +230,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
230
230
|
const config = {};
|
|
231
231
|
typeCheckConfig$6(untrustedConfig, config, createContextTagMapping_ConfigPropertyMetadata);
|
|
232
232
|
const untrustedConfig_contextTagMappings = untrustedConfig.contextTagMappings;
|
|
233
|
-
const referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError = validate$
|
|
233
|
+
const referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError = validate$5(untrustedConfig_contextTagMappings);
|
|
234
234
|
if (referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError === null) {
|
|
235
235
|
config.contextTagMappings = untrustedConfig_contextTagMappings;
|
|
236
236
|
}
|
|
@@ -280,7 +280,7 @@ const createContextTagMappingAdapterFactory = (luvio) => {
|
|
|
280
280
|
|
|
281
281
|
const TTL$2 = 1000;
|
|
282
282
|
const VERSION$2 = "4b7bef672f4996c31c5a042959681437";
|
|
283
|
-
function validate$
|
|
283
|
+
function validate$3(obj, path = 'RuleLibraryTagMappingsReadOutputRepresentation') {
|
|
284
284
|
const v_error = (() => {
|
|
285
285
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
286
286
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -356,7 +356,7 @@ function equals$2(existing, incoming) {
|
|
|
356
356
|
}
|
|
357
357
|
const ingest$2 = function RuleLibraryTagMappingsReadOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
358
358
|
if (process.env.NODE_ENV !== 'production') {
|
|
359
|
-
const validateError = validate$
|
|
359
|
+
const validateError = validate$3(input);
|
|
360
360
|
if (validateError !== null) {
|
|
361
361
|
throw validateError;
|
|
362
362
|
}
|
|
@@ -647,7 +647,7 @@ const notifyChangeFactory$1 = (luvio, options) => {
|
|
|
647
647
|
|
|
648
648
|
const TTL$1 = 1000;
|
|
649
649
|
const VERSION$1 = "3839d94c828e170861b071d1d1fe5292";
|
|
650
|
-
function validate$
|
|
650
|
+
function validate$2(obj, path = 'RuleLibraryTagMappingsReadOutputRepresentationList') {
|
|
651
651
|
const v_error = (() => {
|
|
652
652
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
653
653
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -660,7 +660,7 @@ function validate$3(obj, path = 'RuleLibraryTagMappingsReadOutputRepresentationL
|
|
|
660
660
|
for (let i = 0; i < obj_ruleLibraryTagMappings.length; i++) {
|
|
661
661
|
const obj_ruleLibraryTagMappings_item = obj_ruleLibraryTagMappings[i];
|
|
662
662
|
const path_ruleLibraryTagMappings_item = path_ruleLibraryTagMappings + '[' + i + ']';
|
|
663
|
-
const referencepath_ruleLibraryTagMappings_itemValidationError = validate$
|
|
663
|
+
const referencepath_ruleLibraryTagMappings_itemValidationError = validate$3(obj_ruleLibraryTagMappings_item, path_ruleLibraryTagMappings_item);
|
|
664
664
|
if (referencepath_ruleLibraryTagMappings_itemValidationError !== null) {
|
|
665
665
|
let message = 'Object doesn\'t match RuleLibraryTagMappingsReadOutputRepresentation (at "' + path_ruleLibraryTagMappings_item + '")\n';
|
|
666
666
|
message += referencepath_ruleLibraryTagMappings_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -690,7 +690,7 @@ function equals$1(existing, incoming) {
|
|
|
690
690
|
}
|
|
691
691
|
const ingest$1 = function RuleLibraryTagMappingsReadOutputRepresentationListIngest(input, path, luvio, store, timestamp) {
|
|
692
692
|
if (process.env.NODE_ENV !== 'production') {
|
|
693
|
-
const validateError = validate$
|
|
693
|
+
const validateError = validate$2(input);
|
|
694
694
|
if (validateError !== null) {
|
|
695
695
|
throw validateError;
|
|
696
696
|
}
|
|
@@ -849,43 +849,21 @@ const getContextTagMappingsAdapterFactory = (luvio) => function contextrules__ge
|
|
|
849
849
|
buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
|
|
850
850
|
};
|
|
851
851
|
|
|
852
|
-
function validate$2(obj, path = 'UsageSubtypeHashLookupColumnOutputRepresentation') {
|
|
853
|
-
const v_error = (() => {
|
|
854
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
855
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
856
|
-
}
|
|
857
|
-
const obj_sequenceNumber = obj.sequenceNumber;
|
|
858
|
-
const path_sequenceNumber = path + '.sequenceNumber';
|
|
859
|
-
if (typeof obj_sequenceNumber !== 'number' || (typeof obj_sequenceNumber === 'number' && Math.floor(obj_sequenceNumber) !== obj_sequenceNumber)) {
|
|
860
|
-
return new TypeError('Expected "integer" but received "' + typeof obj_sequenceNumber + '" (at "' + path_sequenceNumber + '")');
|
|
861
|
-
}
|
|
862
|
-
const obj_subtypeMappingName = obj.subtypeMappingName;
|
|
863
|
-
const path_subtypeMappingName = path + '.subtypeMappingName';
|
|
864
|
-
if (typeof obj_subtypeMappingName !== 'string') {
|
|
865
|
-
return new TypeError('Expected "string" but received "' + typeof obj_subtypeMappingName + '" (at "' + path_subtypeMappingName + '")');
|
|
866
|
-
}
|
|
867
|
-
})();
|
|
868
|
-
return v_error === undefined ? null : v_error;
|
|
869
|
-
}
|
|
870
|
-
|
|
871
852
|
function validate$1(obj, path = 'UsageSubtypeOutputRepresentation') {
|
|
872
853
|
const v_error = (() => {
|
|
873
854
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
874
855
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
875
856
|
}
|
|
876
|
-
const
|
|
877
|
-
const
|
|
878
|
-
if (!ArrayIsArray(
|
|
879
|
-
return new TypeError('Expected "array" but received "' + typeof
|
|
857
|
+
const obj_subtypeMappingNames = obj.subtypeMappingNames;
|
|
858
|
+
const path_subtypeMappingNames = path + '.subtypeMappingNames';
|
|
859
|
+
if (!ArrayIsArray(obj_subtypeMappingNames)) {
|
|
860
|
+
return new TypeError('Expected "array" but received "' + typeof obj_subtypeMappingNames + '" (at "' + path_subtypeMappingNames + '")');
|
|
880
861
|
}
|
|
881
|
-
for (let i = 0; i <
|
|
882
|
-
const
|
|
883
|
-
const
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
let message = 'Object doesn\'t match UsageSubtypeHashLookupColumnOutputRepresentation (at "' + path_hashLookupColumns_item + '")\n';
|
|
887
|
-
message += referencepath_hashLookupColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
888
|
-
return new TypeError(message);
|
|
862
|
+
for (let i = 0; i < obj_subtypeMappingNames.length; i++) {
|
|
863
|
+
const obj_subtypeMappingNames_item = obj_subtypeMappingNames[i];
|
|
864
|
+
const path_subtypeMappingNames_item = path_subtypeMappingNames + '[' + i + ']';
|
|
865
|
+
if (typeof obj_subtypeMappingNames_item !== 'string') {
|
|
866
|
+
return new TypeError('Expected "string" but received "' + typeof obj_subtypeMappingNames_item + '" (at "' + path_subtypeMappingNames_item + '")');
|
|
889
867
|
}
|
|
890
868
|
}
|
|
891
869
|
const obj_usageSubtype = obj.usageSubtype;
|
|
@@ -1218,7 +1196,7 @@ function typeCheckConfig(untrustedConfig) {
|
|
|
1218
1196
|
const config = {};
|
|
1219
1197
|
typeCheckConfig$6(untrustedConfig, config, updateContextTagMapping_ConfigPropertyMetadata);
|
|
1220
1198
|
const untrustedConfig_contextTagMappings = untrustedConfig.contextTagMappings;
|
|
1221
|
-
const referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError = validate$
|
|
1199
|
+
const referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError = validate$5(untrustedConfig_contextTagMappings);
|
|
1222
1200
|
if (referenceRuleLibraryTagMappingsListWrapperRepresentationValidationError === null) {
|
|
1223
1201
|
config.contextTagMappings = untrustedConfig_contextTagMappings;
|
|
1224
1202
|
}
|
|
@@ -1336,4 +1314,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1336
1314
|
});
|
|
1337
1315
|
|
|
1338
1316
|
export { createContextTagMapping, deleteContextTagMapping, getContextTagMapping, getContextTagMappingNotifyChange, getContextTagMapping_imperative, getContextTagMappings, getContextTagMappings_imperative, getUsageTypeDetail, getUsageTypeDetailNotifyChange, getUsageTypeDetail_imperative, updateContextTagMapping };
|
|
1339
|
-
// version: 1.
|
|
1317
|
+
// version: 1.295.0-e85f207c7
|
package/src/raml/api.raml
CHANGED
|
@@ -123,24 +123,14 @@ types:
|
|
|
123
123
|
description: Output representation of context rule usageSubtype
|
|
124
124
|
type: object
|
|
125
125
|
properties:
|
|
126
|
-
|
|
127
|
-
description:
|
|
126
|
+
subtypeMappingNames:
|
|
127
|
+
description: subType Mapping names
|
|
128
128
|
type: array
|
|
129
129
|
items:
|
|
130
|
-
type:
|
|
130
|
+
type: string
|
|
131
131
|
usageSubtype:
|
|
132
132
|
description: Usage Subtype
|
|
133
133
|
type: string
|
|
134
|
-
UsageSubtypeHashLookupColumnOutputRepresentation:
|
|
135
|
-
description: Output representation of hash lookup columns
|
|
136
|
-
type: object
|
|
137
|
-
properties:
|
|
138
|
-
sequenceNumber:
|
|
139
|
-
description: Sequence number
|
|
140
|
-
type: integer
|
|
141
|
-
subtypeMappingName:
|
|
142
|
-
description: Usage Subtype mapping name
|
|
143
|
-
type: string
|
|
144
134
|
/connect/context-rules:
|
|
145
135
|
/context-tag-mappings/rule-library-api-name/{ruleLibraryApiName}/version-number/{versionNumber}:
|
|
146
136
|
get:
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "82d8e50207ed28773ee041e2c7eceae5";
|
|
3
|
-
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
-
export declare const RepresentationType: string;
|
|
5
|
-
export declare function normalize(input: UsageSubtypeHashLookupColumnOutputRepresentation, existing: UsageSubtypeHashLookupColumnOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UsageSubtypeHashLookupColumnOutputRepresentationNormalized;
|
|
6
|
-
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
-
export declare function equals(existing: UsageSubtypeHashLookupColumnOutputRepresentationNormalized, incoming: UsageSubtypeHashLookupColumnOutputRepresentationNormalized): boolean;
|
|
8
|
-
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UsageSubtypeHashLookupColumnOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
-
/**
|
|
11
|
-
* Output representation of hash lookup columns
|
|
12
|
-
*
|
|
13
|
-
* Keys:
|
|
14
|
-
* (none)
|
|
15
|
-
*/
|
|
16
|
-
export interface UsageSubtypeHashLookupColumnOutputRepresentationNormalized {
|
|
17
|
-
/** Sequence number */
|
|
18
|
-
sequenceNumber: number;
|
|
19
|
-
/** Usage Subtype mapping name */
|
|
20
|
-
subtypeMappingName: string;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Output representation of hash lookup columns
|
|
24
|
-
*
|
|
25
|
-
* Keys:
|
|
26
|
-
* (none)
|
|
27
|
-
*/
|
|
28
|
-
export interface UsageSubtypeHashLookupColumnOutputRepresentation {
|
|
29
|
-
sequenceNumber: number;
|
|
30
|
-
subtypeMappingName: string;
|
|
31
|
-
}
|