@salesforce/lds-adapters-industries-context 1.360.0 → 1.361.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-context.js +16 -16
- package/package.json +4 -4
- package/sfdc/index.js +17 -17
|
@@ -1876,7 +1876,7 @@ function validate$G(obj, path = 'ContextDefinitionListRepresentation') {
|
|
|
1876
1876
|
for (let i = 0; i < obj_contextDefinitionList.length; i++) {
|
|
1877
1877
|
const obj_contextDefinitionList_item = obj_contextDefinitionList[i];
|
|
1878
1878
|
const path_contextDefinitionList_item = path_contextDefinitionList + '[' + i + ']';
|
|
1879
|
-
if (typeof obj_contextDefinitionList_item !== 'object') {
|
|
1879
|
+
if (typeof obj_contextDefinitionList_item !== 'object' || Array.isArray(obj_contextDefinitionList_item)) {
|
|
1880
1880
|
return new TypeError('Expected "object" but received "' + typeof obj_contextDefinitionList_item + '" (at "' + path_contextDefinitionList_item + '")');
|
|
1881
1881
|
}
|
|
1882
1882
|
}
|
|
@@ -2569,7 +2569,7 @@ function validate$B(obj, path = 'ContextDefinitionUpgradeListRepresentation') {
|
|
|
2569
2569
|
for (let i = 0; i < obj_contextDefinitionList.length; i++) {
|
|
2570
2570
|
const obj_contextDefinitionList_item = obj_contextDefinitionList[i];
|
|
2571
2571
|
const path_contextDefinitionList_item = path_contextDefinitionList + '[' + i + ']';
|
|
2572
|
-
if (typeof obj_contextDefinitionList_item !== 'object') {
|
|
2572
|
+
if (typeof obj_contextDefinitionList_item !== 'object' || Array.isArray(obj_contextDefinitionList_item)) {
|
|
2573
2573
|
return new TypeError('Expected "object" but received "' + typeof obj_contextDefinitionList_item + '" (at "' + path_contextDefinitionList_item + '")');
|
|
2574
2574
|
}
|
|
2575
2575
|
}
|
|
@@ -3106,7 +3106,7 @@ function validate$x(obj, path = 'ContextAttributeMappingRepresentation') {
|
|
|
3106
3106
|
for (let i = 0; i < obj_contextAttrHydrationDetailList.length; i++) {
|
|
3107
3107
|
const obj_contextAttrHydrationDetailList_item = obj_contextAttrHydrationDetailList[i];
|
|
3108
3108
|
const path_contextAttrHydrationDetailList_item = path_contextAttrHydrationDetailList + '[' + i + ']';
|
|
3109
|
-
if (typeof obj_contextAttrHydrationDetailList_item !== 'object') {
|
|
3109
|
+
if (typeof obj_contextAttrHydrationDetailList_item !== 'object' || Array.isArray(obj_contextAttrHydrationDetailList_item)) {
|
|
3110
3110
|
return new TypeError('Expected "object" but received "' + typeof obj_contextAttrHydrationDetailList_item + '" (at "' + path_contextAttrHydrationDetailList_item + '")');
|
|
3111
3111
|
}
|
|
3112
3112
|
}
|
|
@@ -3419,7 +3419,7 @@ function validate$w(obj, path = 'ContextNodeMappingRepresentation') {
|
|
|
3419
3419
|
for (let i = 0; i < obj_attributeMappings.length; i++) {
|
|
3420
3420
|
const obj_attributeMappings_item = obj_attributeMappings[i];
|
|
3421
3421
|
const path_attributeMappings_item = path_attributeMappings + '[' + i + ']';
|
|
3422
|
-
if (typeof obj_attributeMappings_item !== 'object') {
|
|
3422
|
+
if (typeof obj_attributeMappings_item !== 'object' || Array.isArray(obj_attributeMappings_item)) {
|
|
3423
3423
|
return new TypeError('Expected "object" but received "' + typeof obj_attributeMappings_item + '" (at "' + path_attributeMappings_item + '")');
|
|
3424
3424
|
}
|
|
3425
3425
|
}
|
|
@@ -3707,7 +3707,7 @@ function validate$v(obj, path = 'ContextMappingRepresentation') {
|
|
|
3707
3707
|
for (let i = 0; i < obj_contextNodeMappings.length; i++) {
|
|
3708
3708
|
const obj_contextNodeMappings_item = obj_contextNodeMappings[i];
|
|
3709
3709
|
const path_contextNodeMappings_item = path_contextNodeMappings + '[' + i + ']';
|
|
3710
|
-
if (typeof obj_contextNodeMappings_item !== 'object') {
|
|
3710
|
+
if (typeof obj_contextNodeMappings_item !== 'object' || Array.isArray(obj_contextNodeMappings_item)) {
|
|
3711
3711
|
return new TypeError('Expected "object" but received "' + typeof obj_contextNodeMappings_item + '" (at "' + path_contextNodeMappings_item + '")');
|
|
3712
3712
|
}
|
|
3713
3713
|
}
|
|
@@ -4255,7 +4255,7 @@ function validate$t(obj, path = 'ContextAttributeRepresentation') {
|
|
|
4255
4255
|
for (let i = 0; i < obj_attributeTags.length; i++) {
|
|
4256
4256
|
const obj_attributeTags_item = obj_attributeTags[i];
|
|
4257
4257
|
const path_attributeTags_item = path_attributeTags + '[' + i + ']';
|
|
4258
|
-
if (typeof obj_attributeTags_item !== 'object') {
|
|
4258
|
+
if (typeof obj_attributeTags_item !== 'object' || Array.isArray(obj_attributeTags_item)) {
|
|
4259
4259
|
return new TypeError('Expected "object" but received "' + typeof obj_attributeTags_item + '" (at "' + path_attributeTags_item + '")');
|
|
4260
4260
|
}
|
|
4261
4261
|
}
|
|
@@ -5040,7 +5040,7 @@ function validate$q(obj, path = 'ContextDefinitionRepresentation') {
|
|
|
5040
5040
|
for (let i = 0; i < obj_contextDefinitionVersionList.length; i++) {
|
|
5041
5041
|
const obj_contextDefinitionVersionList_item = obj_contextDefinitionVersionList[i];
|
|
5042
5042
|
const path_contextDefinitionVersionList_item = path_contextDefinitionVersionList + '[' + i + ']';
|
|
5043
|
-
if (typeof obj_contextDefinitionVersionList_item !== 'object') {
|
|
5043
|
+
if (typeof obj_contextDefinitionVersionList_item !== 'object' || Array.isArray(obj_contextDefinitionVersionList_item)) {
|
|
5044
5044
|
return new TypeError('Expected "object" but received "' + typeof obj_contextDefinitionVersionList_item + '" (at "' + path_contextDefinitionVersionList_item + '")');
|
|
5045
5045
|
}
|
|
5046
5046
|
}
|
|
@@ -5864,7 +5864,7 @@ function validate$o(obj, path = 'ContextMappingListRepresentation') {
|
|
|
5864
5864
|
for (let i = 0; i < obj_contextMappings.length; i++) {
|
|
5865
5865
|
const obj_contextMappings_item = obj_contextMappings[i];
|
|
5866
5866
|
const path_contextMappings_item = path_contextMappings + '[' + i + ']';
|
|
5867
|
-
if (typeof obj_contextMappings_item !== 'object') {
|
|
5867
|
+
if (typeof obj_contextMappings_item !== 'object' || Array.isArray(obj_contextMappings_item)) {
|
|
5868
5868
|
return new TypeError('Expected "object" but received "' + typeof obj_contextMappings_item + '" (at "' + path_contextMappings_item + '")');
|
|
5869
5869
|
}
|
|
5870
5870
|
}
|
|
@@ -6464,7 +6464,7 @@ function validate$m(obj, path = 'ContextNodeListRepresentation') {
|
|
|
6464
6464
|
for (let i = 0; i < obj_contextNodes.length; i++) {
|
|
6465
6465
|
const obj_contextNodes_item = obj_contextNodes[i];
|
|
6466
6466
|
const path_contextNodes_item = path_contextNodes + '[' + i + ']';
|
|
6467
|
-
if (typeof obj_contextNodes_item !== 'object') {
|
|
6467
|
+
if (typeof obj_contextNodes_item !== 'object' || Array.isArray(obj_contextNodes_item)) {
|
|
6468
6468
|
return new TypeError('Expected "object" but received "' + typeof obj_contextNodes_item + '" (at "' + path_contextNodes_item + '")');
|
|
6469
6469
|
}
|
|
6470
6470
|
}
|
|
@@ -6820,7 +6820,7 @@ function validate$l(obj, path = 'ContextTagListRepresentation') {
|
|
|
6820
6820
|
for (let i = 0; i < obj_contextTags.length; i++) {
|
|
6821
6821
|
const obj_contextTags_item = obj_contextTags[i];
|
|
6822
6822
|
const path_contextTags_item = path_contextTags + '[' + i + ']';
|
|
6823
|
-
if (typeof obj_contextTags_item !== 'object') {
|
|
6823
|
+
if (typeof obj_contextTags_item !== 'object' || Array.isArray(obj_contextTags_item)) {
|
|
6824
6824
|
return new TypeError('Expected "object" but received "' + typeof obj_contextTags_item + '" (at "' + path_contextTags_item + '")');
|
|
6825
6825
|
}
|
|
6826
6826
|
}
|
|
@@ -7787,7 +7787,7 @@ function validate$j(obj, path = 'DynamicAttributeByNodeSearchResultRepresentatio
|
|
|
7787
7787
|
for (let i = 0; i < obj_dynamicContextAttributes.length; i++) {
|
|
7788
7788
|
const obj_dynamicContextAttributes_item = obj_dynamicContextAttributes[i];
|
|
7789
7789
|
const path_dynamicContextAttributes_item = path_dynamicContextAttributes + '[' + i + ']';
|
|
7790
|
-
if (typeof obj_dynamicContextAttributes_item !== 'object') {
|
|
7790
|
+
if (typeof obj_dynamicContextAttributes_item !== 'object' || Array.isArray(obj_dynamicContextAttributes_item)) {
|
|
7791
7791
|
return new TypeError('Expected "object" but received "' + typeof obj_dynamicContextAttributes_item + '" (at "' + path_dynamicContextAttributes_item + '")');
|
|
7792
7792
|
}
|
|
7793
7793
|
}
|
|
@@ -7896,7 +7896,7 @@ function validate$i(obj, path = 'DynamicAttributeByMappingSearchResultRepresenta
|
|
|
7896
7896
|
for (let i = 0; i < obj_dynamicAttributeByNodeSearchResults.length; i++) {
|
|
7897
7897
|
const obj_dynamicAttributeByNodeSearchResults_item = obj_dynamicAttributeByNodeSearchResults[i];
|
|
7898
7898
|
const path_dynamicAttributeByNodeSearchResults_item = path_dynamicAttributeByNodeSearchResults + '[' + i + ']';
|
|
7899
|
-
if (typeof obj_dynamicAttributeByNodeSearchResults_item !== 'object') {
|
|
7899
|
+
if (typeof obj_dynamicAttributeByNodeSearchResults_item !== 'object' || Array.isArray(obj_dynamicAttributeByNodeSearchResults_item)) {
|
|
7900
7900
|
return new TypeError('Expected "object" but received "' + typeof obj_dynamicAttributeByNodeSearchResults_item + '" (at "' + path_dynamicAttributeByNodeSearchResults_item + '")');
|
|
7901
7901
|
}
|
|
7902
7902
|
}
|
|
@@ -8006,7 +8006,7 @@ function validate$h(obj, path = 'DynamicAttributeSearchResultRepresentation') {
|
|
|
8006
8006
|
for (let i = 0; i < obj_dynAttributeByMappingSearchResults.length; i++) {
|
|
8007
8007
|
const obj_dynAttributeByMappingSearchResults_item = obj_dynAttributeByMappingSearchResults[i];
|
|
8008
8008
|
const path_dynAttributeByMappingSearchResults_item = path_dynAttributeByMappingSearchResults + '[' + i + ']';
|
|
8009
|
-
if (typeof obj_dynAttributeByMappingSearchResults_item !== 'object') {
|
|
8009
|
+
if (typeof obj_dynAttributeByMappingSearchResults_item !== 'object' || Array.isArray(obj_dynAttributeByMappingSearchResults_item)) {
|
|
8010
8010
|
return new TypeError('Expected "object" but received "' + typeof obj_dynAttributeByMappingSearchResults_item + '" (at "' + path_dynAttributeByMappingSearchResults_item + '")');
|
|
8011
8011
|
}
|
|
8012
8012
|
}
|
|
@@ -8444,7 +8444,7 @@ function validate$e(obj, path = 'ContextNodeMappingListRepresentation') {
|
|
|
8444
8444
|
for (let i = 0; i < obj_contextNodeMappings.length; i++) {
|
|
8445
8445
|
const obj_contextNodeMappings_item = obj_contextNodeMappings[i];
|
|
8446
8446
|
const path_contextNodeMappings_item = path_contextNodeMappings + '[' + i + ']';
|
|
8447
|
-
if (typeof obj_contextNodeMappings_item !== 'object') {
|
|
8447
|
+
if (typeof obj_contextNodeMappings_item !== 'object' || Array.isArray(obj_contextNodeMappings_item)) {
|
|
8448
8448
|
return new TypeError('Expected "object" but received "' + typeof obj_contextNodeMappings_item + '" (at "' + path_contextNodeMappings_item + '")');
|
|
8449
8449
|
}
|
|
8450
8450
|
}
|
|
@@ -9051,7 +9051,7 @@ function validate$c(obj, path = 'ContextAttributeMappingListRepresentation') {
|
|
|
9051
9051
|
for (let i = 0; i < obj_contextAttributeMappings.length; i++) {
|
|
9052
9052
|
const obj_contextAttributeMappings_item = obj_contextAttributeMappings[i];
|
|
9053
9053
|
const path_contextAttributeMappings_item = path_contextAttributeMappings + '[' + i + ']';
|
|
9054
|
-
if (typeof obj_contextAttributeMappings_item !== 'object') {
|
|
9054
|
+
if (typeof obj_contextAttributeMappings_item !== 'object' || Array.isArray(obj_contextAttributeMappings_item)) {
|
|
9055
9055
|
return new TypeError('Expected "object" but received "' + typeof obj_contextAttributeMappings_item + '" (at "' + path_contextAttributeMappings_item + '")');
|
|
9056
9056
|
}
|
|
9057
9057
|
}
|
|
@@ -9644,7 +9644,7 @@ function validate$a(obj, path = 'ContextAttributeListRepresentation') {
|
|
|
9644
9644
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
9645
9645
|
const obj_attributes_item = obj_attributes[i];
|
|
9646
9646
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
9647
|
-
if (typeof obj_attributes_item !== 'object') {
|
|
9647
|
+
if (typeof obj_attributes_item !== 'object' || Array.isArray(obj_attributes_item)) {
|
|
9648
9648
|
return new TypeError('Expected "object" but received "' + typeof obj_attributes_item + '" (at "' + path_attributes_item + '")');
|
|
9649
9649
|
}
|
|
9650
9650
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-context",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.361.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Normandy Context Service",
|
|
6
6
|
"main": "dist/es/es2018/industries-context.js",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"test:unit": "jest --config=./jest.config.js"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.361.0"
|
|
48
48
|
},
|
|
49
49
|
"volta": {
|
|
50
50
|
"extends": "../../package.json"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
54
|
-
"@salesforce/lds-karma": "^1.
|
|
53
|
+
"@salesforce/lds-compiler-plugins": "^1.361.0",
|
|
54
|
+
"@salesforce/lds-karma": "^1.361.0"
|
|
55
55
|
},
|
|
56
56
|
"nx": {
|
|
57
57
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -455,7 +455,7 @@ function validate$J(obj, path = 'ContextAttributeMappingRepresentation') {
|
|
|
455
455
|
for (let i = 0; i < obj_contextAttrHydrationDetailList.length; i++) {
|
|
456
456
|
const obj_contextAttrHydrationDetailList_item = obj_contextAttrHydrationDetailList[i];
|
|
457
457
|
const path_contextAttrHydrationDetailList_item = path_contextAttrHydrationDetailList + '[' + i + ']';
|
|
458
|
-
if (typeof obj_contextAttrHydrationDetailList_item !== 'object') {
|
|
458
|
+
if (typeof obj_contextAttrHydrationDetailList_item !== 'object' || Array.isArray(obj_contextAttrHydrationDetailList_item)) {
|
|
459
459
|
return new TypeError('Expected "object" but received "' + typeof obj_contextAttrHydrationDetailList_item + '" (at "' + path_contextAttrHydrationDetailList_item + '")');
|
|
460
460
|
}
|
|
461
461
|
}
|
|
@@ -768,7 +768,7 @@ function validate$I(obj, path = 'ContextNodeMappingRepresentation') {
|
|
|
768
768
|
for (let i = 0; i < obj_attributeMappings.length; i++) {
|
|
769
769
|
const obj_attributeMappings_item = obj_attributeMappings[i];
|
|
770
770
|
const path_attributeMappings_item = path_attributeMappings + '[' + i + ']';
|
|
771
|
-
if (typeof obj_attributeMappings_item !== 'object') {
|
|
771
|
+
if (typeof obj_attributeMappings_item !== 'object' || Array.isArray(obj_attributeMappings_item)) {
|
|
772
772
|
return new TypeError('Expected "object" but received "' + typeof obj_attributeMappings_item + '" (at "' + path_attributeMappings_item + '")');
|
|
773
773
|
}
|
|
774
774
|
}
|
|
@@ -1056,7 +1056,7 @@ function validate$H(obj, path = 'ContextMappingRepresentation') {
|
|
|
1056
1056
|
for (let i = 0; i < obj_contextNodeMappings.length; i++) {
|
|
1057
1057
|
const obj_contextNodeMappings_item = obj_contextNodeMappings[i];
|
|
1058
1058
|
const path_contextNodeMappings_item = path_contextNodeMappings + '[' + i + ']';
|
|
1059
|
-
if (typeof obj_contextNodeMappings_item !== 'object') {
|
|
1059
|
+
if (typeof obj_contextNodeMappings_item !== 'object' || Array.isArray(obj_contextNodeMappings_item)) {
|
|
1060
1060
|
return new TypeError('Expected "object" but received "' + typeof obj_contextNodeMappings_item + '" (at "' + path_contextNodeMappings_item + '")');
|
|
1061
1061
|
}
|
|
1062
1062
|
}
|
|
@@ -1400,7 +1400,7 @@ function validate$G(obj, path = 'ContextMappingListRepresentation') {
|
|
|
1400
1400
|
for (let i = 0; i < obj_contextMappings.length; i++) {
|
|
1401
1401
|
const obj_contextMappings_item = obj_contextMappings[i];
|
|
1402
1402
|
const path_contextMappings_item = path_contextMappings + '[' + i + ']';
|
|
1403
|
-
if (typeof obj_contextMappings_item !== 'object') {
|
|
1403
|
+
if (typeof obj_contextMappings_item !== 'object' || Array.isArray(obj_contextMappings_item)) {
|
|
1404
1404
|
return new TypeError('Expected "object" but received "' + typeof obj_contextMappings_item + '" (at "' + path_contextMappings_item + '")');
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
@@ -1833,7 +1833,7 @@ function validate$D(obj, path = 'ContextAttributeMappingListRepresentation') {
|
|
|
1833
1833
|
for (let i = 0; i < obj_contextAttributeMappings.length; i++) {
|
|
1834
1834
|
const obj_contextAttributeMappings_item = obj_contextAttributeMappings[i];
|
|
1835
1835
|
const path_contextAttributeMappings_item = path_contextAttributeMappings + '[' + i + ']';
|
|
1836
|
-
if (typeof obj_contextAttributeMappings_item !== 'object') {
|
|
1836
|
+
if (typeof obj_contextAttributeMappings_item !== 'object' || Array.isArray(obj_contextAttributeMappings_item)) {
|
|
1837
1837
|
return new TypeError('Expected "object" but received "' + typeof obj_contextAttributeMappings_item + '" (at "' + path_contextAttributeMappings_item + '")');
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
@@ -2313,7 +2313,7 @@ function validate$A(obj, path = 'ContextAttributeRepresentation') {
|
|
|
2313
2313
|
for (let i = 0; i < obj_attributeTags.length; i++) {
|
|
2314
2314
|
const obj_attributeTags_item = obj_attributeTags[i];
|
|
2315
2315
|
const path_attributeTags_item = path_attributeTags + '[' + i + ']';
|
|
2316
|
-
if (typeof obj_attributeTags_item !== 'object') {
|
|
2316
|
+
if (typeof obj_attributeTags_item !== 'object' || Array.isArray(obj_attributeTags_item)) {
|
|
2317
2317
|
return new TypeError('Expected "object" but received "' + typeof obj_attributeTags_item + '" (at "' + path_attributeTags_item + '")');
|
|
2318
2318
|
}
|
|
2319
2319
|
}
|
|
@@ -2769,7 +2769,7 @@ function validate$z(obj, path = 'ContextAttributeListRepresentation') {
|
|
|
2769
2769
|
for (let i = 0; i < obj_attributes.length; i++) {
|
|
2770
2770
|
const obj_attributes_item = obj_attributes[i];
|
|
2771
2771
|
const path_attributes_item = path_attributes + '[' + i + ']';
|
|
2772
|
-
if (typeof obj_attributes_item !== 'object') {
|
|
2772
|
+
if (typeof obj_attributes_item !== 'object' || Array.isArray(obj_attributes_item)) {
|
|
2773
2773
|
return new TypeError('Expected "object" but received "' + typeof obj_attributes_item + '" (at "' + path_attributes_item + '")');
|
|
2774
2774
|
}
|
|
2775
2775
|
}
|
|
@@ -3480,7 +3480,7 @@ function validate$u(obj, path = 'ContextNodeMappingListRepresentation') {
|
|
|
3480
3480
|
for (let i = 0; i < obj_contextNodeMappings.length; i++) {
|
|
3481
3481
|
const obj_contextNodeMappings_item = obj_contextNodeMappings[i];
|
|
3482
3482
|
const path_contextNodeMappings_item = path_contextNodeMappings + '[' + i + ']';
|
|
3483
|
-
if (typeof obj_contextNodeMappings_item !== 'object') {
|
|
3483
|
+
if (typeof obj_contextNodeMappings_item !== 'object' || Array.isArray(obj_contextNodeMappings_item)) {
|
|
3484
3484
|
return new TypeError('Expected "object" but received "' + typeof obj_contextNodeMappings_item + '" (at "' + path_contextNodeMappings_item + '")');
|
|
3485
3485
|
}
|
|
3486
3486
|
}
|
|
@@ -3915,7 +3915,7 @@ function validate$r(obj, path = 'ContextNodeListRepresentation') {
|
|
|
3915
3915
|
for (let i = 0; i < obj_contextNodes.length; i++) {
|
|
3916
3916
|
const obj_contextNodes_item = obj_contextNodes[i];
|
|
3917
3917
|
const path_contextNodes_item = path_contextNodes + '[' + i + ']';
|
|
3918
|
-
if (typeof obj_contextNodes_item !== 'object') {
|
|
3918
|
+
if (typeof obj_contextNodes_item !== 'object' || Array.isArray(obj_contextNodes_item)) {
|
|
3919
3919
|
return new TypeError('Expected "object" but received "' + typeof obj_contextNodes_item + '" (at "' + path_contextNodes_item + '")');
|
|
3920
3920
|
}
|
|
3921
3921
|
}
|
|
@@ -5582,7 +5582,7 @@ function validate$h(obj, path = 'ContextTagListRepresentation') {
|
|
|
5582
5582
|
for (let i = 0; i < obj_contextTags.length; i++) {
|
|
5583
5583
|
const obj_contextTags_item = obj_contextTags[i];
|
|
5584
5584
|
const path_contextTags_item = path_contextTags + '[' + i + ']';
|
|
5585
|
-
if (typeof obj_contextTags_item !== 'object') {
|
|
5585
|
+
if (typeof obj_contextTags_item !== 'object' || Array.isArray(obj_contextTags_item)) {
|
|
5586
5586
|
return new TypeError('Expected "object" but received "' + typeof obj_contextTags_item + '" (at "' + path_contextTags_item + '")');
|
|
5587
5587
|
}
|
|
5588
5588
|
}
|
|
@@ -6618,7 +6618,7 @@ function validate$e(obj, path = 'ContextDefinitionRepresentation') {
|
|
|
6618
6618
|
for (let i = 0; i < obj_contextDefinitionVersionList.length; i++) {
|
|
6619
6619
|
const obj_contextDefinitionVersionList_item = obj_contextDefinitionVersionList[i];
|
|
6620
6620
|
const path_contextDefinitionVersionList_item = path_contextDefinitionVersionList + '[' + i + ']';
|
|
6621
|
-
if (typeof obj_contextDefinitionVersionList_item !== 'object') {
|
|
6621
|
+
if (typeof obj_contextDefinitionVersionList_item !== 'object' || Array.isArray(obj_contextDefinitionVersionList_item)) {
|
|
6622
6622
|
return new TypeError('Expected "object" but received "' + typeof obj_contextDefinitionVersionList_item + '" (at "' + path_contextDefinitionVersionList_item + '")');
|
|
6623
6623
|
}
|
|
6624
6624
|
}
|
|
@@ -7865,7 +7865,7 @@ function validate$d(obj, path = 'ContextDefinitionListRepresentation') {
|
|
|
7865
7865
|
for (let i = 0; i < obj_contextDefinitionList.length; i++) {
|
|
7866
7866
|
const obj_contextDefinitionList_item = obj_contextDefinitionList[i];
|
|
7867
7867
|
const path_contextDefinitionList_item = path_contextDefinitionList + '[' + i + ']';
|
|
7868
|
-
if (typeof obj_contextDefinitionList_item !== 'object') {
|
|
7868
|
+
if (typeof obj_contextDefinitionList_item !== 'object' || Array.isArray(obj_contextDefinitionList_item)) {
|
|
7869
7869
|
return new TypeError('Expected "object" but received "' + typeof obj_contextDefinitionList_item + '" (at "' + path_contextDefinitionList_item + '")');
|
|
7870
7870
|
}
|
|
7871
7871
|
}
|
|
@@ -10885,7 +10885,7 @@ function validate$9(obj, path = 'DynamicAttributeByNodeSearchResultRepresentatio
|
|
|
10885
10885
|
for (let i = 0; i < obj_dynamicContextAttributes.length; i++) {
|
|
10886
10886
|
const obj_dynamicContextAttributes_item = obj_dynamicContextAttributes[i];
|
|
10887
10887
|
const path_dynamicContextAttributes_item = path_dynamicContextAttributes + '[' + i + ']';
|
|
10888
|
-
if (typeof obj_dynamicContextAttributes_item !== 'object') {
|
|
10888
|
+
if (typeof obj_dynamicContextAttributes_item !== 'object' || Array.isArray(obj_dynamicContextAttributes_item)) {
|
|
10889
10889
|
return new TypeError('Expected "object" but received "' + typeof obj_dynamicContextAttributes_item + '" (at "' + path_dynamicContextAttributes_item + '")');
|
|
10890
10890
|
}
|
|
10891
10891
|
}
|
|
@@ -10994,7 +10994,7 @@ function validate$8(obj, path = 'DynamicAttributeByMappingSearchResultRepresenta
|
|
|
10994
10994
|
for (let i = 0; i < obj_dynamicAttributeByNodeSearchResults.length; i++) {
|
|
10995
10995
|
const obj_dynamicAttributeByNodeSearchResults_item = obj_dynamicAttributeByNodeSearchResults[i];
|
|
10996
10996
|
const path_dynamicAttributeByNodeSearchResults_item = path_dynamicAttributeByNodeSearchResults + '[' + i + ']';
|
|
10997
|
-
if (typeof obj_dynamicAttributeByNodeSearchResults_item !== 'object') {
|
|
10997
|
+
if (typeof obj_dynamicAttributeByNodeSearchResults_item !== 'object' || Array.isArray(obj_dynamicAttributeByNodeSearchResults_item)) {
|
|
10998
10998
|
return new TypeError('Expected "object" but received "' + typeof obj_dynamicAttributeByNodeSearchResults_item + '" (at "' + path_dynamicAttributeByNodeSearchResults_item + '")');
|
|
10999
10999
|
}
|
|
11000
11000
|
}
|
|
@@ -11104,7 +11104,7 @@ function validate$7(obj, path = 'DynamicAttributeSearchResultRepresentation') {
|
|
|
11104
11104
|
for (let i = 0; i < obj_dynAttributeByMappingSearchResults.length; i++) {
|
|
11105
11105
|
const obj_dynAttributeByMappingSearchResults_item = obj_dynAttributeByMappingSearchResults[i];
|
|
11106
11106
|
const path_dynAttributeByMappingSearchResults_item = path_dynAttributeByMappingSearchResults + '[' + i + ']';
|
|
11107
|
-
if (typeof obj_dynAttributeByMappingSearchResults_item !== 'object') {
|
|
11107
|
+
if (typeof obj_dynAttributeByMappingSearchResults_item !== 'object' || Array.isArray(obj_dynAttributeByMappingSearchResults_item)) {
|
|
11108
11108
|
return new TypeError('Expected "object" but received "' + typeof obj_dynAttributeByMappingSearchResults_item + '" (at "' + path_dynAttributeByMappingSearchResults_item + '")');
|
|
11109
11109
|
}
|
|
11110
11110
|
}
|
|
@@ -13266,7 +13266,7 @@ function validate(obj, path = 'ContextDefinitionUpgradeListRepresentation') {
|
|
|
13266
13266
|
for (let i = 0; i < obj_contextDefinitionList.length; i++) {
|
|
13267
13267
|
const obj_contextDefinitionList_item = obj_contextDefinitionList[i];
|
|
13268
13268
|
const path_contextDefinitionList_item = path_contextDefinitionList + '[' + i + ']';
|
|
13269
|
-
if (typeof obj_contextDefinitionList_item !== 'object') {
|
|
13269
|
+
if (typeof obj_contextDefinitionList_item !== 'object' || Array.isArray(obj_contextDefinitionList_item)) {
|
|
13270
13270
|
return new TypeError('Expected "object" but received "' + typeof obj_contextDefinitionList_item + '" (at "' + path_contextDefinitionList_item + '")');
|
|
13271
13271
|
}
|
|
13272
13272
|
}
|
|
@@ -13876,4 +13876,4 @@ withDefaultLuvio((luvio) => {
|
|
|
13876
13876
|
});
|
|
13877
13877
|
|
|
13878
13878
|
export { cloneContextMappings, createContextAttributeMapping, createContextAttributeMappings, createContextAttributes, createContextMapping, createContextMappings, createContextNodeMapping, createContextNodeMappings, createContextNodes, createContextQueryRecords, createContextServiceDefinition, createContextTags, deleteContext, deleteContextAttributeMapping, deleteContextMapping, deleteContextNodeMapping, deleteContextServiceAttribute, deleteContextServiceAttributeMapping, deleteContextServiceDefinition, deleteContextServiceMapping, deleteContextServiceNode, deleteContextServiceNodeMapping, deleteContextServiceTag, getContext, getContextAttributeMapping, getContextAttributeMappingNotifyChange, getContextAttributeMapping_imperative, getContextDefinitions, getContextDefinitions_imperative, getContextInfo, getContextInfoNotifyChange, getContextInfo_imperative, getContextMapping, getContextMappingNotifyChange, getContextMapping_imperative, getContextNodeMapping, getContextNodeMappingNotifyChange, getContextNodeMapping_imperative, getContextNotifyChange, getContextServiceAccess, getContextServiceAccessNotifyChange, getContextServiceAccess_imperative, getContextServiceAttribute, getContextServiceAttributeMapping, getContextServiceAttributeMappingNotifyChange, getContextServiceAttributeMapping_imperative, getContextServiceAttributeNotifyChange, getContextServiceAttribute_imperative, getContextServiceDefinition, getContextServiceDefinitionInfo, getContextServiceDefinitionInfoNotifyChange, getContextServiceDefinitionInfo_imperative, getContextServiceDefinitionNotifyChange, getContextServiceDefinition_imperative, getContextServiceMapping, getContextServiceMappingNotifyChange, getContextServiceMapping_imperative, getContextServiceNode, getContextServiceNodeMapping, getContextServiceNodeMappingNotifyChange, getContextServiceNodeMapping_imperative, getContextServiceNodeNotifyChange, getContextServiceNode_imperative, getContextServiceTag, getContextServiceTagNotifyChange, getContextServiceTag_imperative, getContextTags, getContextTagsNotifyChange, getContextTags_imperative, getContextTranslation, getContextTranslation_imperative, getContext_imperative, getDynamicAttributes, getDynamicAttributesNotifyChange, getDynamicAttributes_imperative, putContextServiceAccess, queryContextRecordAndChildren, updateContextAttributeMapping, updateContextAttributeMappings, updateContextAttributes, updateContextMapping, updateContextMappings, updateContextNodeMapping, updateContextNodeMappings, updateContextNodes, updateContextServiceDefinition, updateContextTags, upgradeContextServiceDefinition };
|
|
13879
|
-
// version: 1.
|
|
13879
|
+
// version: 1.361.0-eb406138cb
|