@salesforce/lds-adapters-uiapi 1.266.0-dev4 → 1.266.0-dev6
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/types/src/generated/types/AppliedSearchFilterOutputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SearchAnswersResultRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/SearchFilterOutputRepresentation.d.ts +1 -4
- package/dist/es/es2018/uiapi-records-service.js +311 -263
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +312 -264
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +23 -3
|
@@ -601,7 +601,7 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
601
601
|
}
|
|
602
602
|
|
|
603
603
|
const VERSION$2v = "623aa9ce3a11031e35faf5671a41746e";
|
|
604
|
-
function validate$
|
|
604
|
+
function validate$23(obj, path = 'ListFilterByInfoRepresentation') {
|
|
605
605
|
const v_error = (() => {
|
|
606
606
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
607
607
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -664,7 +664,7 @@ const select$37 = function ListFilterByInfoRepresentationSelect() {
|
|
|
664
664
|
};
|
|
665
665
|
|
|
666
666
|
const VERSION$2u = "f98dc7dec10408a9648ef8e5b37002a3";
|
|
667
|
-
function validate$
|
|
667
|
+
function validate$22(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
668
668
|
const v_error = (() => {
|
|
669
669
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
670
670
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -743,7 +743,7 @@ const select$36 = function ListInlineEditDetailsRepresentationSelect() {
|
|
|
743
743
|
};
|
|
744
744
|
|
|
745
745
|
const VERSION$2t = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
746
|
-
function validate$
|
|
746
|
+
function validate$21(obj, path = 'ListReferenceRepresentation') {
|
|
747
747
|
const v_error = (() => {
|
|
748
748
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
749
749
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -863,7 +863,7 @@ function equals$18(existing, incoming) {
|
|
|
863
863
|
}
|
|
864
864
|
|
|
865
865
|
const VERSION$2s = "f1519bef57e70ab7c5ef160dc5ff0c47";
|
|
866
|
-
function validate$
|
|
866
|
+
function validate$20(obj, path = 'ListInfoShareRepresentation') {
|
|
867
867
|
const v_error = (() => {
|
|
868
868
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
869
869
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -900,7 +900,7 @@ const select$34 = function ListInfoShareRepresentationSelect() {
|
|
|
900
900
|
};
|
|
901
901
|
|
|
902
902
|
const VERSION$2r = "561657f32721ec1dac1601575b029640";
|
|
903
|
-
function validate$
|
|
903
|
+
function validate$1$(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
904
904
|
const v_error = (() => {
|
|
905
905
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
906
906
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -918,7 +918,7 @@ function validate$1_(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
918
918
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
919
919
|
const obj_shares_item = obj_shares[i];
|
|
920
920
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
921
|
-
const referencepath_shares_itemValidationError = validate$
|
|
921
|
+
const referencepath_shares_itemValidationError = validate$20(obj_shares_item, path_shares_item);
|
|
922
922
|
if (referencepath_shares_itemValidationError !== null) {
|
|
923
923
|
let message = 'Object doesn\'t match ListInfoShareRepresentation (at "' + path_shares_item + '")\n';
|
|
924
924
|
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -950,7 +950,7 @@ const select$33 = function ListInfoShareCategoryRepresentationSelect() {
|
|
|
950
950
|
};
|
|
951
951
|
|
|
952
952
|
const VERSION$2q = "32def9b631252c12b91a8209c1f49f5a";
|
|
953
|
-
function validate$
|
|
953
|
+
function validate$1_(obj, path = 'ListOrderByInfoRepresentation') {
|
|
954
954
|
const v_error = (() => {
|
|
955
955
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
956
956
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1035,7 +1035,7 @@ function equals$17(existing, incoming) {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
|
|
1037
1037
|
const VERSION$2p = "2634258f216db34315c06d759a35676d";
|
|
1038
|
-
function validate$
|
|
1038
|
+
function validate$1Z(obj, path = 'ListScopeEntityRepresentation') {
|
|
1039
1039
|
const v_error = (() => {
|
|
1040
1040
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1041
1041
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1072,7 +1072,7 @@ const select$31 = function ListScopeEntityRepresentationSelect() {
|
|
|
1072
1072
|
};
|
|
1073
1073
|
|
|
1074
1074
|
const VERSION$2o = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
1075
|
-
function validate$
|
|
1075
|
+
function validate$1Y(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
1076
1076
|
const v_error = (() => {
|
|
1077
1077
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1078
1078
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1118,7 +1118,7 @@ const select$30 = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
1118
1118
|
};
|
|
1119
1119
|
|
|
1120
1120
|
const VERSION$2n = "2fe9814e7124b47f59da585483c1b3f9";
|
|
1121
|
-
function validate$
|
|
1121
|
+
function validate$1X(obj, path = 'ListScopeRepresentation') {
|
|
1122
1122
|
const v_error = (() => {
|
|
1123
1123
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1124
1124
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1132,7 +1132,7 @@ function validate$1W(obj, path = 'ListScopeRepresentation') {
|
|
|
1132
1132
|
const path_entity = path + '.entity';
|
|
1133
1133
|
let obj_entity_union0 = null;
|
|
1134
1134
|
const obj_entity_union0_error = (() => {
|
|
1135
|
-
const referencepath_entityValidationError = validate$
|
|
1135
|
+
const referencepath_entityValidationError = validate$1Z(obj_entity, path_entity);
|
|
1136
1136
|
if (referencepath_entityValidationError !== null) {
|
|
1137
1137
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
1138
1138
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1187,7 +1187,7 @@ function validate$1W(obj, path = 'ListScopeRepresentation') {
|
|
|
1187
1187
|
const path_relatedEntity = path + '.relatedEntity';
|
|
1188
1188
|
let obj_relatedEntity_union0 = null;
|
|
1189
1189
|
const obj_relatedEntity_union0_error = (() => {
|
|
1190
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
1190
|
+
const referencepath_relatedEntityValidationError = validate$1Y(obj_relatedEntity, path_relatedEntity);
|
|
1191
1191
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
1192
1192
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
1193
1193
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1248,7 +1248,7 @@ const select$2$ = function ListScopeRepresentationSelect() {
|
|
|
1248
1248
|
};
|
|
1249
1249
|
|
|
1250
1250
|
const VERSION$2m = "6506134f4d72fdfa349fe60ef1af2413";
|
|
1251
|
-
function validate$
|
|
1251
|
+
function validate$1W(obj, path = 'ListUserPreferenceRepresentation') {
|
|
1252
1252
|
const v_error = (() => {
|
|
1253
1253
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1254
1254
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1304,7 +1304,7 @@ const select$2_ = function ListUserPreferenceRepresentationSelect() {
|
|
|
1304
1304
|
};
|
|
1305
1305
|
};
|
|
1306
1306
|
|
|
1307
|
-
function validate$
|
|
1307
|
+
function validate$1V(obj, path = 'ListColumnInlineEditAttributesRepresentation') {
|
|
1308
1308
|
const v_error = (() => {
|
|
1309
1309
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1310
1310
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1323,7 +1323,7 @@ function validate$1U(obj, path = 'ListColumnInlineEditAttributesRepresentation')
|
|
|
1323
1323
|
return v_error === undefined ? null : v_error;
|
|
1324
1324
|
}
|
|
1325
1325
|
|
|
1326
|
-
function validate$
|
|
1326
|
+
function validate$1U(obj, path = 'ListColumnInlineEditAttributesRepresentationWrapper') {
|
|
1327
1327
|
const v_error = (() => {
|
|
1328
1328
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1329
1329
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1333,7 +1333,7 @@ function validate$1T(obj, path = 'ListColumnInlineEditAttributesRepresentationWr
|
|
|
1333
1333
|
const key = obj_keys[i];
|
|
1334
1334
|
const obj_prop = obj[key];
|
|
1335
1335
|
const path_prop = path + '["' + key + '"]';
|
|
1336
|
-
const referencepath_propValidationError = validate$
|
|
1336
|
+
const referencepath_propValidationError = validate$1V(obj_prop, path_prop);
|
|
1337
1337
|
if (referencepath_propValidationError !== null) {
|
|
1338
1338
|
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentation (at "' + path_prop + '")\n';
|
|
1339
1339
|
message += referencepath_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1345,7 +1345,7 @@ function validate$1T(obj, path = 'ListColumnInlineEditAttributesRepresentationWr
|
|
|
1345
1345
|
}
|
|
1346
1346
|
|
|
1347
1347
|
const VERSION$2l = "8aff6b0baf2e60a237e860236c4e1b70";
|
|
1348
|
-
function validate$
|
|
1348
|
+
function validate$1T(obj, path = 'ListColumnRepresentation') {
|
|
1349
1349
|
const v_error = (() => {
|
|
1350
1350
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1351
1351
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1360,7 +1360,7 @@ function validate$1S(obj, path = 'ListColumnRepresentation') {
|
|
|
1360
1360
|
const path_inlineEditAttributes = path + '.inlineEditAttributes';
|
|
1361
1361
|
let obj_inlineEditAttributes_union0 = null;
|
|
1362
1362
|
const obj_inlineEditAttributes_union0_error = (() => {
|
|
1363
|
-
const referencepath_inlineEditAttributesValidationError = validate$
|
|
1363
|
+
const referencepath_inlineEditAttributesValidationError = validate$1U(obj_inlineEditAttributes, path_inlineEditAttributes);
|
|
1364
1364
|
if (referencepath_inlineEditAttributesValidationError !== null) {
|
|
1365
1365
|
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentationWrapper (at "' + path_inlineEditAttributes + '")\n';
|
|
1366
1366
|
message += referencepath_inlineEditAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1452,7 +1452,7 @@ function equals$16(existing, incoming) {
|
|
|
1452
1452
|
}
|
|
1453
1453
|
const ingest$1X = function ListColumnRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1454
1454
|
if (process.env.NODE_ENV !== 'production') {
|
|
1455
|
-
const validateError = validate$
|
|
1455
|
+
const validateError = validate$1T(input);
|
|
1456
1456
|
if (validateError !== null) {
|
|
1457
1457
|
throw validateError;
|
|
1458
1458
|
}
|
|
@@ -1474,7 +1474,7 @@ function getTypeCacheKeys$1$(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1474
1474
|
|
|
1475
1475
|
const TTL$F = 900000;
|
|
1476
1476
|
const VERSION$2k = "178c8b58f78e2720fe8846a667c7b294";
|
|
1477
|
-
function validate$
|
|
1477
|
+
function validate$1S(obj, path = 'ListInfoRepresentation') {
|
|
1478
1478
|
const v_error = (() => {
|
|
1479
1479
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1480
1480
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1545,7 +1545,7 @@ function validate$1R(obj, path = 'ListInfoRepresentation') {
|
|
|
1545
1545
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
1546
1546
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
1547
1547
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
1548
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
1548
|
+
const referencepath_filteredByInfo_itemValidationError = validate$23(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
1549
1549
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
1550
1550
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
1551
1551
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1557,7 +1557,7 @@ function validate$1R(obj, path = 'ListInfoRepresentation') {
|
|
|
1557
1557
|
const path_inlineEditDetails = path + '.inlineEditDetails';
|
|
1558
1558
|
let obj_inlineEditDetails_union0 = null;
|
|
1559
1559
|
const obj_inlineEditDetails_union0_error = (() => {
|
|
1560
|
-
const referencepath_inlineEditDetailsValidationError = validate$
|
|
1560
|
+
const referencepath_inlineEditDetailsValidationError = validate$22(obj_inlineEditDetails, path_inlineEditDetails);
|
|
1561
1561
|
if (referencepath_inlineEditDetailsValidationError !== null) {
|
|
1562
1562
|
let message = 'Object doesn\'t match ListInlineEditDetailsRepresentation (at "' + path_inlineEditDetails + '")\n';
|
|
1563
1563
|
message += referencepath_inlineEditDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1611,7 +1611,7 @@ function validate$1R(obj, path = 'ListInfoRepresentation') {
|
|
|
1611
1611
|
}
|
|
1612
1612
|
const obj_listReference = obj.listReference;
|
|
1613
1613
|
const path_listReference = path + '.listReference';
|
|
1614
|
-
const referencepath_listReferenceValidationError = validate$
|
|
1614
|
+
const referencepath_listReferenceValidationError = validate$21(obj_listReference, path_listReference);
|
|
1615
1615
|
if (referencepath_listReferenceValidationError !== null) {
|
|
1616
1616
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
1617
1617
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1626,7 +1626,7 @@ function validate$1R(obj, path = 'ListInfoRepresentation') {
|
|
|
1626
1626
|
for (let i = 0; i < obj_listShares.length; i++) {
|
|
1627
1627
|
const obj_listShares_item = obj_listShares[i];
|
|
1628
1628
|
const path_listShares_item = path_listShares + '[' + i + ']';
|
|
1629
|
-
const referencepath_listShares_itemValidationError = validate$
|
|
1629
|
+
const referencepath_listShares_itemValidationError = validate$1$(obj_listShares_item, path_listShares_item);
|
|
1630
1630
|
if (referencepath_listShares_itemValidationError !== null) {
|
|
1631
1631
|
let message = 'Object doesn\'t match ListInfoShareCategoryRepresentation (at "' + path_listShares_item + '")\n';
|
|
1632
1632
|
message += referencepath_listShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1656,7 +1656,7 @@ function validate$1R(obj, path = 'ListInfoRepresentation') {
|
|
|
1656
1656
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
1657
1657
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
1658
1658
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
1659
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
1659
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1_(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
1660
1660
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
1661
1661
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
1662
1662
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1668,7 +1668,7 @@ function validate$1R(obj, path = 'ListInfoRepresentation') {
|
|
|
1668
1668
|
const path_scope = path + '.scope';
|
|
1669
1669
|
let obj_scope_union0 = null;
|
|
1670
1670
|
const obj_scope_union0_error = (() => {
|
|
1671
|
-
const referencepath_scopeValidationError = validate$
|
|
1671
|
+
const referencepath_scopeValidationError = validate$1X(obj_scope, path_scope);
|
|
1672
1672
|
if (referencepath_scopeValidationError !== null) {
|
|
1673
1673
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
1674
1674
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1708,7 +1708,7 @@ function validate$1R(obj, path = 'ListInfoRepresentation') {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
const obj_userPreferences = obj.userPreferences;
|
|
1710
1710
|
const path_userPreferences = path + '.userPreferences';
|
|
1711
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
1711
|
+
const referencepath_userPreferencesValidationError = validate$1W(obj_userPreferences, path_userPreferences);
|
|
1712
1712
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
1713
1713
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
1714
1714
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1876,7 +1876,7 @@ function equals$15(existing, incoming) {
|
|
|
1876
1876
|
}
|
|
1877
1877
|
const ingest$1W = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1878
1878
|
if (process.env.NODE_ENV !== 'production') {
|
|
1879
|
-
const validateError = validate$
|
|
1879
|
+
const validateError = validate$1S(input);
|
|
1880
1880
|
if (validateError !== null) {
|
|
1881
1881
|
throw validateError;
|
|
1882
1882
|
}
|
|
@@ -1960,7 +1960,7 @@ function toSortedStringArray(value) {
|
|
|
1960
1960
|
}
|
|
1961
1961
|
|
|
1962
1962
|
const VERSION$2j = "d1e589a127fb1060c89070cdb6f500b2";
|
|
1963
|
-
function validate$
|
|
1963
|
+
function validate$1R(obj, path = 'RecordTypeInfoRepresentation') {
|
|
1964
1964
|
const v_error = (() => {
|
|
1965
1965
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1966
1966
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2052,7 +2052,7 @@ function equals$14(existing, incoming) {
|
|
|
2052
2052
|
}
|
|
2053
2053
|
|
|
2054
2054
|
const VERSION$2i = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
2055
|
-
function validate$
|
|
2055
|
+
function validate$1Q(obj, path = 'FieldValueRepresentation') {
|
|
2056
2056
|
const v_error = (() => {
|
|
2057
2057
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2058
2058
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2199,7 +2199,7 @@ function equals$13(existing, incoming) {
|
|
|
2199
2199
|
}
|
|
2200
2200
|
const ingest$1V = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2201
2201
|
if (process.env.NODE_ENV !== 'production') {
|
|
2202
|
-
const validateError = validate$
|
|
2202
|
+
const validateError = validate$1Q(input);
|
|
2203
2203
|
if (validateError !== null) {
|
|
2204
2204
|
throw validateError;
|
|
2205
2205
|
}
|
|
@@ -2250,7 +2250,7 @@ const getTypeCacheKeys$1Y = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
2250
2250
|
|
|
2251
2251
|
const TTL$E = 120000;
|
|
2252
2252
|
const VERSION$2h = "79cb5ac9f44542f683d00245fdfe500d";
|
|
2253
|
-
function validate$
|
|
2253
|
+
function validate$1P(obj, path = 'RecordCollectionRepresentation') {
|
|
2254
2254
|
const v_error = (() => {
|
|
2255
2255
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2256
2256
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2523,7 +2523,7 @@ function equals$12(existing, incoming) {
|
|
|
2523
2523
|
}
|
|
2524
2524
|
const ingest$1U = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2525
2525
|
if (process.env.NODE_ENV !== 'production') {
|
|
2526
|
-
const validateError = validate$
|
|
2526
|
+
const validateError = validate$1P(input);
|
|
2527
2527
|
if (validateError !== null) {
|
|
2528
2528
|
throw validateError;
|
|
2529
2529
|
}
|
|
@@ -2559,7 +2559,7 @@ const keyBuilderFromType$B = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
2559
2559
|
|
|
2560
2560
|
const TTL$D = 30000;
|
|
2561
2561
|
const VERSION$2g = "98c5b18512e48ca8d28727549507e4ba";
|
|
2562
|
-
function validate$
|
|
2562
|
+
function validate$1O(obj, path = 'RecordRepresentation') {
|
|
2563
2563
|
const v_error = (() => {
|
|
2564
2564
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2565
2565
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2689,7 +2689,7 @@ function validate$1N(obj, path = 'RecordRepresentation') {
|
|
|
2689
2689
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
2690
2690
|
let obj_recordTypeInfo_union0 = null;
|
|
2691
2691
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
2692
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
2692
|
+
const referencepath_recordTypeInfoValidationError = validate$1R(obj_recordTypeInfo, path_recordTypeInfo);
|
|
2693
2693
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
2694
2694
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
2695
2695
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5521,7 +5521,7 @@ function normalize$P(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
5521
5521
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
5522
5522
|
return (input, path, luvio, store, timestamp) => {
|
|
5523
5523
|
if (process.env.NODE_ENV !== 'production') {
|
|
5524
|
-
const validateError = validate$
|
|
5524
|
+
const validateError = validate$1Q(input);
|
|
5525
5525
|
if (validateError !== null) {
|
|
5526
5526
|
throw validateError;
|
|
5527
5527
|
}
|
|
@@ -5614,7 +5614,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
5614
5614
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
5615
5615
|
return (input, path, luvio, store, timestamp) => {
|
|
5616
5616
|
if (process.env.NODE_ENV !== 'production') {
|
|
5617
|
-
const validateError = validate$
|
|
5617
|
+
const validateError = validate$1O(input);
|
|
5618
5618
|
if (validateError !== null) {
|
|
5619
5619
|
throw validateError;
|
|
5620
5620
|
}
|
|
@@ -5868,17 +5868,19 @@ function onResourceError(luvio, config, key, err) {
|
|
|
5868
5868
|
function buildNetworkSnapshot$18(luvio, config, serverRequestCount = 0, options) {
|
|
5869
5869
|
const { request, key, allTrackedFields, resourceParams } = prepareRequest$6(luvio, config);
|
|
5870
5870
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
5871
|
+
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
5872
|
+
// Komaci - a batch record request with a single record followed by a single
|
|
5873
|
+
// record request. The fulfill logic sends the same network response, so
|
|
5874
|
+
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
5875
|
+
//
|
|
5876
|
+
// W-14381091 - Ensure hoisting the response body happens prior to
|
|
5877
|
+
// calling `luvio.handleSuccessResponse`, since both arguments capture
|
|
5878
|
+
// the response.
|
|
5879
|
+
if (isSingleBatchRecordResponse(response.body)) {
|
|
5880
|
+
response.body = response.body.results[0]
|
|
5881
|
+
.result;
|
|
5882
|
+
}
|
|
5871
5883
|
return luvio.handleSuccessResponse(() => {
|
|
5872
|
-
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
5873
|
-
// Komaci - a batch record request with a single record followed by a single
|
|
5874
|
-
// record request. The fulfill logic sends the same network response, so
|
|
5875
|
-
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
5876
|
-
if (isSingleBatchRecordResponse(response.body)) {
|
|
5877
|
-
let recordResponse = response;
|
|
5878
|
-
recordResponse.body = response.body.results[0]
|
|
5879
|
-
.result;
|
|
5880
|
-
return onResourceSuccess(luvio, config, key, allTrackedFields, recordResponse, serverRequestCount + 1);
|
|
5881
|
-
}
|
|
5882
5884
|
return onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount + 1);
|
|
5883
5885
|
}, () => {
|
|
5884
5886
|
const cache = new StoreKeyMap();
|
|
@@ -6574,7 +6576,7 @@ function revertPaginationOptimization(variables) {
|
|
|
6574
6576
|
|
|
6575
6577
|
const TTL$C = 30000;
|
|
6576
6578
|
const VERSION$2e = "b8270d0d7a5953587f98a9625cad85db";
|
|
6577
|
-
function validate$
|
|
6579
|
+
function validate$1N(obj, path = 'ListRecordCollectionRepresentation') {
|
|
6578
6580
|
const v_error = (() => {
|
|
6579
6581
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6580
6582
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6634,7 +6636,7 @@ function validate$1M(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
6634
6636
|
}
|
|
6635
6637
|
const obj_listReference = obj.listReference;
|
|
6636
6638
|
const path_listReference = path + '.listReference';
|
|
6637
|
-
const referencepath_listReferenceValidationError = validate$
|
|
6639
|
+
const referencepath_listReferenceValidationError = validate$21(obj_listReference, path_listReference);
|
|
6638
6640
|
if (referencepath_listReferenceValidationError !== null) {
|
|
6639
6641
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
6640
6642
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7173,7 +7175,7 @@ function equals$10(existing, incoming) {
|
|
|
7173
7175
|
}
|
|
7174
7176
|
const ingest$1S = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7175
7177
|
if (process.env.NODE_ENV !== 'production') {
|
|
7176
|
-
const validateError = validate$
|
|
7178
|
+
const validateError = validate$1N(input);
|
|
7177
7179
|
if (validateError !== null) {
|
|
7178
7180
|
throw validateError;
|
|
7179
7181
|
}
|
|
@@ -7266,7 +7268,7 @@ function getTypeCacheKeys$1V(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7266
7268
|
}
|
|
7267
7269
|
|
|
7268
7270
|
const VERSION$2d = "cf8d2eb042188974da26ffe6618cfd07";
|
|
7269
|
-
function validate$
|
|
7271
|
+
function validate$1M(obj, path = 'ListUiRepresentation') {
|
|
7270
7272
|
const v_error = (() => {
|
|
7271
7273
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7272
7274
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7393,7 +7395,7 @@ function equals$$(existing, incoming) {
|
|
|
7393
7395
|
}
|
|
7394
7396
|
const ingest$1R = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7395
7397
|
if (process.env.NODE_ENV !== 'production') {
|
|
7396
|
-
const validateError = validate$
|
|
7398
|
+
const validateError = validate$1M(input);
|
|
7397
7399
|
if (validateError !== null) {
|
|
7398
7400
|
throw validateError;
|
|
7399
7401
|
}
|
|
@@ -8132,7 +8134,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
8132
8134
|
}
|
|
8133
8135
|
|
|
8134
8136
|
const VERSION$2c = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
8135
|
-
function validate$
|
|
8137
|
+
function validate$1L(obj, path = 'ListViewSummaryRepresentation') {
|
|
8136
8138
|
const v_error = (() => {
|
|
8137
8139
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8138
8140
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8244,7 +8246,7 @@ function equals$_(existing, incoming) {
|
|
|
8244
8246
|
}
|
|
8245
8247
|
const ingest$1Q = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8246
8248
|
if (process.env.NODE_ENV !== 'production') {
|
|
8247
|
-
const validateError = validate$
|
|
8249
|
+
const validateError = validate$1L(input);
|
|
8248
8250
|
if (validateError !== null) {
|
|
8249
8251
|
throw validateError;
|
|
8250
8252
|
}
|
|
@@ -8265,7 +8267,7 @@ function getTypeCacheKeys$1T(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
8265
8267
|
}
|
|
8266
8268
|
|
|
8267
8269
|
const VERSION$2b = "f4c79fe066da3558499d5ee88c72abcd";
|
|
8268
|
-
function validate$
|
|
8270
|
+
function validate$1K(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
8269
8271
|
const v_error = (() => {
|
|
8270
8272
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8271
8273
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8649,7 +8651,7 @@ function equals$Z(existing, incoming) {
|
|
|
8649
8651
|
}
|
|
8650
8652
|
const ingest$1P = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8651
8653
|
if (process.env.NODE_ENV !== 'production') {
|
|
8652
|
-
const validateError = validate$
|
|
8654
|
+
const validateError = validate$1K(input);
|
|
8653
8655
|
if (validateError !== null) {
|
|
8654
8656
|
throw validateError;
|
|
8655
8657
|
}
|
|
@@ -9813,7 +9815,7 @@ const factory$j = (luvio) => {
|
|
|
9813
9815
|
}, { contextId: contextId$5 });
|
|
9814
9816
|
};
|
|
9815
9817
|
|
|
9816
|
-
function validate$
|
|
9818
|
+
function validate$1J(obj, path = 'ChildRelationshipRepresentation') {
|
|
9817
9819
|
const v_error = (() => {
|
|
9818
9820
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9819
9821
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9861,7 +9863,7 @@ function validate$1I(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
9861
9863
|
return v_error === undefined ? null : v_error;
|
|
9862
9864
|
}
|
|
9863
9865
|
|
|
9864
|
-
function validate$
|
|
9866
|
+
function validate$1I(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
9865
9867
|
const v_error = (() => {
|
|
9866
9868
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9867
9869
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9892,7 +9894,7 @@ function validate$1H(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
9892
9894
|
return v_error === undefined ? null : v_error;
|
|
9893
9895
|
}
|
|
9894
9896
|
|
|
9895
|
-
function validate$
|
|
9897
|
+
function validate$1H(obj, path = 'ReferenceToInfoRepresentation') {
|
|
9896
9898
|
const v_error = (() => {
|
|
9897
9899
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9898
9900
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9918,7 +9920,7 @@ function validate$1G(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
9918
9920
|
return v_error === undefined ? null : v_error;
|
|
9919
9921
|
}
|
|
9920
9922
|
|
|
9921
|
-
function validate$
|
|
9923
|
+
function validate$1G(obj, path = 'FieldRepresentation') {
|
|
9922
9924
|
const v_error = (() => {
|
|
9923
9925
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9924
9926
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10078,7 +10080,7 @@ function validate$1F(obj, path = 'FieldRepresentation') {
|
|
|
10078
10080
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
10079
10081
|
let obj_filteredLookupInfo_union0 = null;
|
|
10080
10082
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
10081
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
10083
|
+
const referencepath_filteredLookupInfoValidationError = validate$1I(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
10082
10084
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
10083
10085
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
10084
10086
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10203,7 +10205,7 @@ function validate$1F(obj, path = 'FieldRepresentation') {
|
|
|
10203
10205
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
10204
10206
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
10205
10207
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
10206
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
10208
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1H(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
10207
10209
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
10208
10210
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
10209
10211
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10270,7 +10272,7 @@ function validate$1F(obj, path = 'FieldRepresentation') {
|
|
|
10270
10272
|
return v_error === undefined ? null : v_error;
|
|
10271
10273
|
}
|
|
10272
10274
|
|
|
10273
|
-
function validate$
|
|
10275
|
+
function validate$1F(obj, path = 'ThemeInfoRepresentation') {
|
|
10274
10276
|
const v_error = (() => {
|
|
10275
10277
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10276
10278
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10312,7 +10314,7 @@ function validate$1E(obj, path = 'ThemeInfoRepresentation') {
|
|
|
10312
10314
|
|
|
10313
10315
|
const TTL$B = 900000;
|
|
10314
10316
|
const VERSION$2a = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
10315
|
-
function validate$
|
|
10317
|
+
function validate$1E(obj, path = 'ObjectInfoRepresentation') {
|
|
10316
10318
|
const v_error = (() => {
|
|
10317
10319
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10318
10320
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10382,7 +10384,7 @@ function validate$1D(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10382
10384
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
10383
10385
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
10384
10386
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
10385
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
10387
|
+
const referencepath_childRelationships_itemValidationError = validate$1J(obj_childRelationships_item, path_childRelationships_item);
|
|
10386
10388
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
10387
10389
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
10388
10390
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10464,7 +10466,7 @@ function validate$1D(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10464
10466
|
const key = obj_fields_keys[i];
|
|
10465
10467
|
const obj_fields_prop = obj_fields[key];
|
|
10466
10468
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
10467
|
-
const referencepath_fields_propValidationError = validate$
|
|
10469
|
+
const referencepath_fields_propValidationError = validate$1G(obj_fields_prop, path_fields_prop);
|
|
10468
10470
|
if (referencepath_fields_propValidationError !== null) {
|
|
10469
10471
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
10470
10472
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10544,7 +10546,7 @@ function validate$1D(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10544
10546
|
const key = obj_recordTypeInfos_keys[i];
|
|
10545
10547
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
10546
10548
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
10547
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
10549
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1R(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
10548
10550
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
10549
10551
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
10550
10552
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10560,7 +10562,7 @@ function validate$1D(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10560
10562
|
const path_themeInfo = path + '.themeInfo';
|
|
10561
10563
|
let obj_themeInfo_union0 = null;
|
|
10562
10564
|
const obj_themeInfo_union0_error = (() => {
|
|
10563
|
-
const referencepath_themeInfoValidationError = validate$
|
|
10565
|
+
const referencepath_themeInfoValidationError = validate$1F(obj_themeInfo, path_themeInfo);
|
|
10564
10566
|
if (referencepath_themeInfoValidationError !== null) {
|
|
10565
10567
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
10566
10568
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10719,7 +10721,7 @@ function equals$Y(existing, incoming) {
|
|
|
10719
10721
|
}
|
|
10720
10722
|
const ingest$1O = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10721
10723
|
if (process.env.NODE_ENV !== 'production') {
|
|
10722
|
-
const validateError = validate$
|
|
10724
|
+
const validateError = validate$1E(input);
|
|
10723
10725
|
if (validateError !== null) {
|
|
10724
10726
|
throw validateError;
|
|
10725
10727
|
}
|
|
@@ -10880,7 +10882,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
10880
10882
|
buildCachedSnapshotCachePolicy$O, buildNetworkSnapshotCachePolicy$P);
|
|
10881
10883
|
};
|
|
10882
10884
|
|
|
10883
|
-
function validate$
|
|
10885
|
+
function validate$1D(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
10884
10886
|
const v_error = (() => {
|
|
10885
10887
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10886
10888
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10928,7 +10930,7 @@ var DiscriminatorValues$5;
|
|
|
10928
10930
|
DiscriminatorValues["Field"] = "Field";
|
|
10929
10931
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
10930
10932
|
})(DiscriminatorValues$5 || (DiscriminatorValues$5 = {}));
|
|
10931
|
-
function validate$
|
|
10933
|
+
function validate$1C(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
10932
10934
|
const v_error = (() => {
|
|
10933
10935
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10934
10936
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10968,7 +10970,7 @@ function validate$1B(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
10968
10970
|
return v_error === undefined ? null : v_error;
|
|
10969
10971
|
}
|
|
10970
10972
|
|
|
10971
|
-
function validate$
|
|
10973
|
+
function validate$1B(obj, path = 'RecordLayoutItemRepresentation') {
|
|
10972
10974
|
const v_error = (() => {
|
|
10973
10975
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10974
10976
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10996,7 +10998,7 @@ function validate$1A(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10996
10998
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
10997
10999
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
10998
11000
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
10999
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
11001
|
+
const referencepath_layoutComponents_itemValidationError = validate$1C(obj_layoutComponents_item, path_layoutComponents_item);
|
|
11000
11002
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
11001
11003
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
11002
11004
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11043,7 +11045,7 @@ function validate$1A(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
11043
11045
|
return v_error === undefined ? null : v_error;
|
|
11044
11046
|
}
|
|
11045
11047
|
|
|
11046
|
-
function validate$
|
|
11048
|
+
function validate$1A(obj, path = 'RecordLayoutRowRepresentation') {
|
|
11047
11049
|
const v_error = (() => {
|
|
11048
11050
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11049
11051
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11056,7 +11058,7 @@ function validate$1z(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
11056
11058
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
11057
11059
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
11058
11060
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
11059
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
11061
|
+
const referencepath_layoutItems_itemValidationError = validate$1B(obj_layoutItems_item, path_layoutItems_item);
|
|
11060
11062
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
11061
11063
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
11062
11064
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11067,7 +11069,7 @@ function validate$1z(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
11067
11069
|
return v_error === undefined ? null : v_error;
|
|
11068
11070
|
}
|
|
11069
11071
|
|
|
11070
|
-
function validate$
|
|
11072
|
+
function validate$1z(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
11071
11073
|
const v_error = (() => {
|
|
11072
11074
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11073
11075
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11142,7 +11144,7 @@ function validate$1y(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
11142
11144
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
11143
11145
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
11144
11146
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
11145
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
11147
|
+
const referencepath_layoutRows_itemValidationError = validate$1A(obj_layoutRows_item, path_layoutRows_item);
|
|
11146
11148
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
11147
11149
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
11148
11150
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11165,7 +11167,7 @@ function validate$1y(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
11165
11167
|
|
|
11166
11168
|
const TTL$A = 900000;
|
|
11167
11169
|
const VERSION$29 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
11168
|
-
function validate$
|
|
11170
|
+
function validate$1y(obj, path = 'RecordLayoutRepresentation') {
|
|
11169
11171
|
const v_error = (() => {
|
|
11170
11172
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11171
11173
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11271,7 +11273,7 @@ function validate$1x(obj, path = 'RecordLayoutRepresentation') {
|
|
|
11271
11273
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
11272
11274
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
11273
11275
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
11274
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
11276
|
+
const referencepath_saveOptions_itemValidationError = validate$1D(obj_saveOptions_item, path_saveOptions_item);
|
|
11275
11277
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
11276
11278
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
11277
11279
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11286,7 +11288,7 @@ function validate$1x(obj, path = 'RecordLayoutRepresentation') {
|
|
|
11286
11288
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
11287
11289
|
const obj_sections_item = obj_sections[i];
|
|
11288
11290
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
11289
|
-
const referencepath_sections_itemValidationError = validate$
|
|
11291
|
+
const referencepath_sections_itemValidationError = validate$1z(obj_sections_item, path_sections_item);
|
|
11290
11292
|
if (referencepath_sections_itemValidationError !== null) {
|
|
11291
11293
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
11292
11294
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11361,7 +11363,7 @@ function equals$X(existing, incoming) {
|
|
|
11361
11363
|
}
|
|
11362
11364
|
const ingest$1N = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11363
11365
|
if (process.env.NODE_ENV !== 'production') {
|
|
11364
|
-
const validateError = validate$
|
|
11366
|
+
const validateError = validate$1y(input);
|
|
11365
11367
|
if (validateError !== null) {
|
|
11366
11368
|
throw validateError;
|
|
11367
11369
|
}
|
|
@@ -11403,7 +11405,7 @@ function getRecordId18Array(value) {
|
|
|
11403
11405
|
return dedupe(array).sort();
|
|
11404
11406
|
}
|
|
11405
11407
|
|
|
11406
|
-
function validate$
|
|
11408
|
+
function validate$1x(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
11407
11409
|
const v_error = (() => {
|
|
11408
11410
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11409
11411
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11424,7 +11426,7 @@ function validate$1w(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
11424
11426
|
|
|
11425
11427
|
const TTL$z = 900000;
|
|
11426
11428
|
const VERSION$28 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
11427
|
-
function validate$
|
|
11429
|
+
function validate$1w(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
11428
11430
|
const v_error = (() => {
|
|
11429
11431
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11430
11432
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11464,7 +11466,7 @@ function validate$1v(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
11464
11466
|
const key = obj_sectionUserStates_keys[i];
|
|
11465
11467
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
11466
11468
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
11467
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
11469
|
+
const referencepath_sectionUserStates_propValidationError = validate$1x(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
11468
11470
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
11469
11471
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
11470
11472
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11521,7 +11523,7 @@ function equals$W(existing, incoming) {
|
|
|
11521
11523
|
}
|
|
11522
11524
|
const ingest$1M = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11523
11525
|
if (process.env.NODE_ENV !== 'production') {
|
|
11524
|
-
const validateError = validate$
|
|
11526
|
+
const validateError = validate$1w(input);
|
|
11525
11527
|
if (validateError !== null) {
|
|
11526
11528
|
throw validateError;
|
|
11527
11529
|
}
|
|
@@ -11543,7 +11545,7 @@ function getTypeCacheKeys$1P(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
11543
11545
|
|
|
11544
11546
|
const TTL$y = 900000;
|
|
11545
11547
|
const VERSION$27 = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
11546
|
-
function validate$
|
|
11548
|
+
function validate$1v(obj, path = 'RecordUiRepresentation') {
|
|
11547
11549
|
const v_error = (() => {
|
|
11548
11550
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11549
11551
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11805,7 +11807,7 @@ function equals$V(existing, incoming) {
|
|
|
11805
11807
|
}
|
|
11806
11808
|
const ingest$1L = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11807
11809
|
if (process.env.NODE_ENV !== 'production') {
|
|
11808
|
-
const validateError = validate$
|
|
11810
|
+
const validateError = validate$1v(input);
|
|
11809
11811
|
if (validateError !== null) {
|
|
11810
11812
|
throw validateError;
|
|
11811
11813
|
}
|
|
@@ -12937,7 +12939,7 @@ const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
|
12937
12939
|
};
|
|
12938
12940
|
|
|
12939
12941
|
const VERSION$26 = "4aa37812ee37c752a099b29026217c85";
|
|
12940
|
-
function validate$
|
|
12942
|
+
function validate$1u(obj, path = 'ObjectInfoDirectoryEntryRepresentation') {
|
|
12941
12943
|
const v_error = (() => {
|
|
12942
12944
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12943
12945
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13090,7 +13092,7 @@ function equals$U(existing, incoming) {
|
|
|
13090
13092
|
}
|
|
13091
13093
|
const ingest$1K = function ObjectInfoDirectoryEntryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13092
13094
|
if (process.env.NODE_ENV !== 'production') {
|
|
13093
|
-
const validateError = validate$
|
|
13095
|
+
const validateError = validate$1u(input);
|
|
13094
13096
|
if (validateError !== null) {
|
|
13095
13097
|
throw validateError;
|
|
13096
13098
|
}
|
|
@@ -13111,7 +13113,7 @@ function getTypeCacheKeys$1O(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13111
13113
|
}
|
|
13112
13114
|
|
|
13113
13115
|
const VERSION$25 = "37fd8c0154ee743c9defbf03e9b4b067";
|
|
13114
|
-
function validate$
|
|
13116
|
+
function validate$1t(obj, path = 'ObjectInfoDirectoryRepresentation') {
|
|
13115
13117
|
const v_error = (() => {
|
|
13116
13118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13117
13119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13186,7 +13188,7 @@ function equals$T(existing, incoming) {
|
|
|
13186
13188
|
}
|
|
13187
13189
|
const ingest$1J = function ObjectInfoDirectoryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13188
13190
|
if (process.env.NODE_ENV !== 'production') {
|
|
13189
|
-
const validateError = validate$
|
|
13191
|
+
const validateError = validate$1t(input);
|
|
13190
13192
|
if (validateError !== null) {
|
|
13191
13193
|
throw validateError;
|
|
13192
13194
|
}
|
|
@@ -13214,7 +13216,7 @@ function getTypeCacheKeys$1N(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13214
13216
|
}
|
|
13215
13217
|
|
|
13216
13218
|
const VERSION$24 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
13217
|
-
function validate$
|
|
13219
|
+
function validate$1s(obj, path = 'QuickActionExecutionRepresentation') {
|
|
13218
13220
|
const v_error = (() => {
|
|
13219
13221
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13220
13222
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13387,7 +13389,7 @@ function equals$S(existing, incoming) {
|
|
|
13387
13389
|
}
|
|
13388
13390
|
const ingest$1I = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13389
13391
|
if (process.env.NODE_ENV !== 'production') {
|
|
13390
|
-
const validateError = validate$
|
|
13392
|
+
const validateError = validate$1s(input);
|
|
13391
13393
|
if (validateError !== null) {
|
|
13392
13394
|
throw validateError;
|
|
13393
13395
|
}
|
|
@@ -13409,7 +13411,7 @@ function getTypeCacheKeys$1M(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13409
13411
|
|
|
13410
13412
|
const TTL$x = 900000;
|
|
13411
13413
|
const VERSION$23 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
13412
|
-
function validate$
|
|
13414
|
+
function validate$1r(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
13413
13415
|
const v_error = (() => {
|
|
13414
13416
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13415
13417
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13588,7 +13590,7 @@ function coerceFormFactor(form) {
|
|
|
13588
13590
|
}
|
|
13589
13591
|
|
|
13590
13592
|
const VERSION$22 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
13591
|
-
function validate$
|
|
13593
|
+
function validate$1q(obj, path = 'PlatformActionRepresentation') {
|
|
13592
13594
|
const v_error = (() => {
|
|
13593
13595
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13594
13596
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14120,7 +14122,7 @@ function equals$Q(existing, incoming) {
|
|
|
14120
14122
|
}
|
|
14121
14123
|
const ingest$1H = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14122
14124
|
if (process.env.NODE_ENV !== 'production') {
|
|
14123
|
-
const validateError = validate$
|
|
14125
|
+
const validateError = validate$1q(input);
|
|
14124
14126
|
if (validateError !== null) {
|
|
14125
14127
|
throw validateError;
|
|
14126
14128
|
}
|
|
@@ -14141,7 +14143,7 @@ function getTypeCacheKeys$1K(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14141
14143
|
}
|
|
14142
14144
|
|
|
14143
14145
|
const VERSION$21 = "378d506f563a4bd724b322d440df33d1";
|
|
14144
|
-
function validate$
|
|
14146
|
+
function validate$1p(obj, path = 'EntityActionRepresentation') {
|
|
14145
14147
|
const v_error = (() => {
|
|
14146
14148
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14147
14149
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14255,7 +14257,7 @@ function equals$P(existing, incoming) {
|
|
|
14255
14257
|
}
|
|
14256
14258
|
const ingest$1G = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14257
14259
|
if (process.env.NODE_ENV !== 'production') {
|
|
14258
|
-
const validateError = validate$
|
|
14260
|
+
const validateError = validate$1p(input);
|
|
14259
14261
|
if (validateError !== null) {
|
|
14260
14262
|
throw validateError;
|
|
14261
14263
|
}
|
|
@@ -14281,7 +14283,7 @@ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14281
14283
|
|
|
14282
14284
|
const TTL$w = 300000;
|
|
14283
14285
|
const VERSION$20 = "e485d96c1402a9ca2f56e56485af0216";
|
|
14284
|
-
function validate$
|
|
14286
|
+
function validate$1o(obj, path = 'ActionRepresentation') {
|
|
14285
14287
|
const v_error = (() => {
|
|
14286
14288
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14287
14289
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14379,7 +14381,7 @@ function equals$O(existing, incoming) {
|
|
|
14379
14381
|
}
|
|
14380
14382
|
const ingest$1F = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14381
14383
|
if (process.env.NODE_ENV !== 'production') {
|
|
14382
|
-
const validateError = validate$
|
|
14384
|
+
const validateError = validate$1o(input);
|
|
14383
14385
|
if (validateError !== null) {
|
|
14384
14386
|
throw validateError;
|
|
14385
14387
|
}
|
|
@@ -14551,7 +14553,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
14551
14553
|
|
|
14552
14554
|
const TTL$v = 900000;
|
|
14553
14555
|
const VERSION$1$ = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
14554
|
-
function validate$
|
|
14556
|
+
function validate$1n(obj, path = 'QuickActionLayoutRepresentation') {
|
|
14555
14557
|
const v_error = (() => {
|
|
14556
14558
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14557
14559
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14568,7 +14570,7 @@ function validate$1m(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
14568
14570
|
}
|
|
14569
14571
|
const obj_layout = obj.layout;
|
|
14570
14572
|
const path_layout = path + '.layout';
|
|
14571
|
-
const referencepath_layoutValidationError = validate$
|
|
14573
|
+
const referencepath_layoutValidationError = validate$1y(obj_layout, path_layout);
|
|
14572
14574
|
if (referencepath_layoutValidationError !== null) {
|
|
14573
14575
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
14574
14576
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14618,7 +14620,7 @@ function equals$N(existing, incoming) {
|
|
|
14618
14620
|
}
|
|
14619
14621
|
const ingest$1E = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14620
14622
|
if (process.env.NODE_ENV !== 'production') {
|
|
14621
|
-
const validateError = validate$
|
|
14623
|
+
const validateError = validate$1n(input);
|
|
14622
14624
|
if (validateError !== null) {
|
|
14623
14625
|
throw validateError;
|
|
14624
14626
|
}
|
|
@@ -15095,7 +15097,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
15095
15097
|
};
|
|
15096
15098
|
|
|
15097
15099
|
const VERSION$1_ = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
15098
|
-
function validate$
|
|
15100
|
+
function validate$1m(obj, path = 'ActionOverrideRepresentation') {
|
|
15099
15101
|
const v_error = (() => {
|
|
15100
15102
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15101
15103
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15128,7 +15130,7 @@ function equals$M(existing, incoming) {
|
|
|
15128
15130
|
}
|
|
15129
15131
|
const ingest$1D = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15130
15132
|
if (process.env.NODE_ENV !== 'production') {
|
|
15131
|
-
const validateError = validate$
|
|
15133
|
+
const validateError = validate$1m(input);
|
|
15132
15134
|
if (validateError !== null) {
|
|
15133
15135
|
throw validateError;
|
|
15134
15136
|
}
|
|
@@ -15283,7 +15285,7 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
|
|
|
15283
15285
|
buildCachedSnapshotCachePolicy$J, buildNetworkSnapshotCachePolicy$K);
|
|
15284
15286
|
};
|
|
15285
15287
|
|
|
15286
|
-
function validate$
|
|
15288
|
+
function validate$1l(obj, path = 'FormulaOverridesInfoRepresentation') {
|
|
15287
15289
|
const v_error = (() => {
|
|
15288
15290
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15289
15291
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15321,7 +15323,7 @@ function validate$1k(obj, path = 'FormulaOverridesInfoRepresentation') {
|
|
|
15321
15323
|
|
|
15322
15324
|
const TTL$u = 300000;
|
|
15323
15325
|
const VERSION$1Z = "c57b66c259b23683db7b763e132e8633";
|
|
15324
|
-
function validate$
|
|
15326
|
+
function validate$1k(obj, path = 'FlexipageFormulaActivationRepresentation') {
|
|
15325
15327
|
const v_error = (() => {
|
|
15326
15328
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15327
15329
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15342,7 +15344,7 @@ function validate$1j(obj, path = 'FlexipageFormulaActivationRepresentation') {
|
|
|
15342
15344
|
for (let i = 0; i < obj_activations_prop.length; i++) {
|
|
15343
15345
|
const obj_activations_prop_item = obj_activations_prop[i];
|
|
15344
15346
|
const path_activations_prop_item = path_activations_prop + '[' + i + ']';
|
|
15345
|
-
const referencepath_activations_prop_itemValidationError = validate$
|
|
15347
|
+
const referencepath_activations_prop_itemValidationError = validate$1l(obj_activations_prop_item, path_activations_prop_item);
|
|
15346
15348
|
if (referencepath_activations_prop_itemValidationError !== null) {
|
|
15347
15349
|
let message = 'Object doesn\'t match FormulaOverridesInfoRepresentation (at "' + path_activations_prop_item + '")\n';
|
|
15348
15350
|
message += referencepath_activations_prop_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -15386,7 +15388,7 @@ function equals$L(existing, incoming) {
|
|
|
15386
15388
|
}
|
|
15387
15389
|
const ingest$1C = function FlexipageFormulaActivationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15388
15390
|
if (process.env.NODE_ENV !== 'production') {
|
|
15389
|
-
const validateError = validate$
|
|
15391
|
+
const validateError = validate$1k(input);
|
|
15390
15392
|
if (validateError !== null) {
|
|
15391
15393
|
throw validateError;
|
|
15392
15394
|
}
|
|
@@ -15569,7 +15571,7 @@ function merge$1(existing, incoming) {
|
|
|
15569
15571
|
const dynamicIngest$4 = (ingestParams) => {
|
|
15570
15572
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15571
15573
|
if (process.env.NODE_ENV !== 'production') {
|
|
15572
|
-
const validateError = validate$
|
|
15574
|
+
const validateError = validate$1r(input);
|
|
15573
15575
|
if (validateError !== null) {
|
|
15574
15576
|
throw validateError;
|
|
15575
15577
|
}
|
|
@@ -16078,7 +16080,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
16078
16080
|
buildCachedSnapshotCachePolicy$F, buildNetworkSnapshotCachePolicy$G);
|
|
16079
16081
|
};
|
|
16080
16082
|
|
|
16081
|
-
function validate$
|
|
16083
|
+
function validate$1j(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
16082
16084
|
const v_error = (() => {
|
|
16083
16085
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16084
16086
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16504,7 +16506,7 @@ function typeCheckConfig$U(untrustedConfig) {
|
|
|
16504
16506
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
16505
16507
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
16506
16508
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
16507
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
16509
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1j(untrustedConfig_relatedListsActionParameters_item);
|
|
16508
16510
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
16509
16511
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
16510
16512
|
}
|
|
@@ -16822,7 +16824,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
16822
16824
|
};
|
|
16823
16825
|
|
|
16824
16826
|
const VERSION$1Y = "a316b3bba367f54adc67d7552ed7d36d";
|
|
16825
|
-
function validate$
|
|
16827
|
+
function validate$1i(obj, path = 'PageReferenceRepresentation') {
|
|
16826
16828
|
const v_error = (() => {
|
|
16827
16829
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16828
16830
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16883,7 +16885,7 @@ function equals$K(existing, incoming) {
|
|
|
16883
16885
|
}
|
|
16884
16886
|
const ingest$1B = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16885
16887
|
if (process.env.NODE_ENV !== 'production') {
|
|
16886
|
-
const validateError = validate$
|
|
16888
|
+
const validateError = validate$1i(input);
|
|
16887
16889
|
if (validateError !== null) {
|
|
16888
16890
|
throw validateError;
|
|
16889
16891
|
}
|
|
@@ -16905,7 +16907,7 @@ function getTypeCacheKeys$1E(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16905
16907
|
|
|
16906
16908
|
const TTL$t = 120000;
|
|
16907
16909
|
const VERSION$1X = "09884ca5bf90ea4662092a4e48817081";
|
|
16908
|
-
function validate$
|
|
16910
|
+
function validate$1h(obj, path = 'NavItemRepresentation') {
|
|
16909
16911
|
const v_error = (() => {
|
|
16910
16912
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16911
16913
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17297,7 +17299,7 @@ function equals$J(existing, incoming) {
|
|
|
17297
17299
|
}
|
|
17298
17300
|
const ingest$1A = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17299
17301
|
if (process.env.NODE_ENV !== 'production') {
|
|
17300
|
-
const validateError = validate$
|
|
17302
|
+
const validateError = validate$1h(input);
|
|
17301
17303
|
if (validateError !== null) {
|
|
17302
17304
|
throw validateError;
|
|
17303
17305
|
}
|
|
@@ -17322,7 +17324,7 @@ function getTypeCacheKeys$1D(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17322
17324
|
|
|
17323
17325
|
const TTL$s = 300000;
|
|
17324
17326
|
const VERSION$1W = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
17325
|
-
function validate$
|
|
17327
|
+
function validate$1g(obj, path = 'AppRepresentation') {
|
|
17326
17328
|
const v_error = (() => {
|
|
17327
17329
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17328
17330
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17764,7 +17766,7 @@ function equals$I(existing, incoming) {
|
|
|
17764
17766
|
}
|
|
17765
17767
|
const ingest$1z = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17766
17768
|
if (process.env.NODE_ENV !== 'production') {
|
|
17767
|
-
const validateError = validate$
|
|
17769
|
+
const validateError = validate$1g(input);
|
|
17768
17770
|
if (validateError !== null) {
|
|
17769
17771
|
throw validateError;
|
|
17770
17772
|
}
|
|
@@ -17794,7 +17796,7 @@ function getTypeCacheKeys$1C(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17794
17796
|
|
|
17795
17797
|
const TTL$r = 300000;
|
|
17796
17798
|
const VERSION$1V = "a254babf0b6414315db7808a157fd9fc";
|
|
17797
|
-
function validate$
|
|
17799
|
+
function validate$1f(obj, path = 'AppsRepresentation') {
|
|
17798
17800
|
const v_error = (() => {
|
|
17799
17801
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17800
17802
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17876,7 +17878,7 @@ function equals$H(existing, incoming) {
|
|
|
17876
17878
|
}
|
|
17877
17879
|
const ingest$1y = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17878
17880
|
if (process.env.NODE_ENV !== 'production') {
|
|
17879
|
-
const validateError = validate$
|
|
17881
|
+
const validateError = validate$1f(input);
|
|
17880
17882
|
if (validateError !== null) {
|
|
17881
17883
|
throw validateError;
|
|
17882
17884
|
}
|
|
@@ -18323,7 +18325,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
18323
18325
|
};
|
|
18324
18326
|
|
|
18325
18327
|
const VERSION$1U = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
18326
|
-
function validate$
|
|
18328
|
+
function validate$1e(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
18327
18329
|
const v_error = (() => {
|
|
18328
18330
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18329
18331
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18385,7 +18387,7 @@ const select$2g = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
18385
18387
|
};
|
|
18386
18388
|
|
|
18387
18389
|
const VERSION$1T = "320d7f254687278f2763d4b490dab3fb";
|
|
18388
|
-
function validate$
|
|
18390
|
+
function validate$1d(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
18389
18391
|
const v_error = (() => {
|
|
18390
18392
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18391
18393
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18408,7 +18410,7 @@ function validate$1c(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
18408
18410
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
18409
18411
|
const obj_filterItems_item = obj_filterItems[i];
|
|
18410
18412
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
18411
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
18413
|
+
const referencepath_filterItems_itemValidationError = validate$1e(obj_filterItems_item, path_filterItems_item);
|
|
18412
18414
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
18413
18415
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
18414
18416
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18451,7 +18453,7 @@ const select$2f = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
18451
18453
|
};
|
|
18452
18454
|
|
|
18453
18455
|
const VERSION$1S = "b47b44e260e5ce777beaf3da9088997c";
|
|
18454
|
-
function validate$
|
|
18456
|
+
function validate$1c(obj, path = 'MatchRuleRepresentation') {
|
|
18455
18457
|
const v_error = (() => {
|
|
18456
18458
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18457
18459
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18521,7 +18523,7 @@ const select$2e = function MatchRuleRepresentationSelect() {
|
|
|
18521
18523
|
};
|
|
18522
18524
|
|
|
18523
18525
|
const VERSION$1R = "bb83d7210bb1d7861b6188bc5f552617";
|
|
18524
|
-
function validate$
|
|
18526
|
+
function validate$1b(obj, path = 'DuplicateRuleRepresentation') {
|
|
18525
18527
|
const v_error = (() => {
|
|
18526
18528
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18527
18529
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18549,7 +18551,7 @@ function validate$1a(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
18549
18551
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
18550
18552
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
18551
18553
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
18552
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
18554
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$1d(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
18553
18555
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
18554
18556
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
18555
18557
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18569,7 +18571,7 @@ function validate$1a(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
18569
18571
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
18570
18572
|
const obj_matchRules_item = obj_matchRules[i];
|
|
18571
18573
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
18572
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
18574
|
+
const referencepath_matchRules_itemValidationError = validate$1c(obj_matchRules_item, path_matchRules_item);
|
|
18573
18575
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
18574
18576
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
18575
18577
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18662,7 +18664,7 @@ const select$2d = function DuplicateRuleRepresentationSelect() {
|
|
|
18662
18664
|
|
|
18663
18665
|
const TTL$q = 900000;
|
|
18664
18666
|
const VERSION$1Q = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
18665
|
-
function validate$
|
|
18667
|
+
function validate$1a(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
18666
18668
|
const v_error = (() => {
|
|
18667
18669
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18668
18670
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18697,7 +18699,7 @@ function validate$19(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
18697
18699
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
18698
18700
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
18699
18701
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
18700
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
18702
|
+
const referencepath_duplicateRules_itemValidationError = validate$1b(obj_duplicateRules_item, path_duplicateRules_item);
|
|
18701
18703
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
18702
18704
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
18703
18705
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18764,7 +18766,7 @@ function equals$G(existing, incoming) {
|
|
|
18764
18766
|
}
|
|
18765
18767
|
const ingest$1x = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18766
18768
|
if (process.env.NODE_ENV !== 'production') {
|
|
18767
|
-
const validateError = validate$
|
|
18769
|
+
const validateError = validate$1a(input);
|
|
18768
18770
|
if (validateError !== null) {
|
|
18769
18771
|
throw validateError;
|
|
18770
18772
|
}
|
|
@@ -19703,7 +19705,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
|
|
|
19703
19705
|
buildCachedSnapshotCachePolicy$v, buildNetworkSnapshotCachePolicy$w);
|
|
19704
19706
|
};
|
|
19705
19707
|
|
|
19706
|
-
function validate$
|
|
19708
|
+
function validate$19(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
19707
19709
|
const v_error = (() => {
|
|
19708
19710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19709
19711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19734,7 +19736,7 @@ function validate$18(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
|
19734
19736
|
return v_error === undefined ? null : v_error;
|
|
19735
19737
|
}
|
|
19736
19738
|
|
|
19737
|
-
function validate$
|
|
19739
|
+
function validate$18(obj, path = 'ListScopeInputRepresentation') {
|
|
19738
19740
|
const v_error = (() => {
|
|
19739
19741
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19740
19742
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19863,7 +19865,7 @@ function typeCheckConfig$K(untrustedConfig) {
|
|
|
19863
19865
|
const untrustedConfig_filteredByInfo_array = [];
|
|
19864
19866
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
19865
19867
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
19866
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
19868
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$19(untrustedConfig_filteredByInfo_item);
|
|
19867
19869
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
19868
19870
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
19869
19871
|
}
|
|
@@ -19871,7 +19873,7 @@ function typeCheckConfig$K(untrustedConfig) {
|
|
|
19871
19873
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
19872
19874
|
}
|
|
19873
19875
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
19874
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
19876
|
+
const referenceListScopeInputRepresentationValidationError = validate$18(untrustedConfig_scope);
|
|
19875
19877
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
19876
19878
|
config.scope = untrustedConfig_scope;
|
|
19877
19879
|
}
|
|
@@ -20153,7 +20155,7 @@ function typeCheckConfig$H(untrustedConfig) {
|
|
|
20153
20155
|
const untrustedConfig_filteredByInfo_array = [];
|
|
20154
20156
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
20155
20157
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
20156
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
20158
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$19(untrustedConfig_filteredByInfo_item);
|
|
20157
20159
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
20158
20160
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
20159
20161
|
}
|
|
@@ -20161,7 +20163,7 @@ function typeCheckConfig$H(untrustedConfig) {
|
|
|
20161
20163
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
20162
20164
|
}
|
|
20163
20165
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
20164
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
20166
|
+
const referenceListScopeInputRepresentationValidationError = validate$18(untrustedConfig_scope);
|
|
20165
20167
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
20166
20168
|
config.scope = untrustedConfig_scope;
|
|
20167
20169
|
}
|
|
@@ -20211,7 +20213,7 @@ const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
|
20211
20213
|
};
|
|
20212
20214
|
|
|
20213
20215
|
const VERSION$1P = "d77026c4d63ef00cdd7e3d600687a40d";
|
|
20214
|
-
function validate$
|
|
20216
|
+
function validate$17(obj, path = 'ListObjectScopeAvailableEntityRepresentation') {
|
|
20215
20217
|
const v_error = (() => {
|
|
20216
20218
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20217
20219
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20261,7 +20263,7 @@ function equals$F(existing, incoming) {
|
|
|
20261
20263
|
}
|
|
20262
20264
|
|
|
20263
20265
|
const VERSION$1O = "355933ff2970aa91a2848a94565e956a";
|
|
20264
|
-
function validate$
|
|
20266
|
+
function validate$16(obj, path = 'ListObjectScopeRepresentation') {
|
|
20265
20267
|
const v_error = (() => {
|
|
20266
20268
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20267
20269
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20279,7 +20281,7 @@ function validate$15(obj, path = 'ListObjectScopeRepresentation') {
|
|
|
20279
20281
|
for (let i = 0; i < obj_availableEntities.length; i++) {
|
|
20280
20282
|
const obj_availableEntities_item = obj_availableEntities[i];
|
|
20281
20283
|
const path_availableEntities_item = path_availableEntities + '[' + i + ']';
|
|
20282
|
-
const referencepath_availableEntities_itemValidationError = validate$
|
|
20284
|
+
const referencepath_availableEntities_itemValidationError = validate$17(obj_availableEntities_item, path_availableEntities_item);
|
|
20283
20285
|
if (referencepath_availableEntities_itemValidationError !== null) {
|
|
20284
20286
|
let message = 'Object doesn\'t match ListObjectScopeAvailableEntityRepresentation (at "' + path_availableEntities_item + '")\n';
|
|
20285
20287
|
message += referencepath_availableEntities_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20343,7 +20345,7 @@ function equals$E(existing, incoming) {
|
|
|
20343
20345
|
}
|
|
20344
20346
|
|
|
20345
20347
|
const VERSION$1N = "c5c08ea834378670c9d6f235ff71c9f0";
|
|
20346
|
-
function validate$
|
|
20348
|
+
function validate$15(obj, path = 'ListObjectPicklistValueRepresentation') {
|
|
20347
20349
|
const v_error = (() => {
|
|
20348
20350
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20349
20351
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20393,7 +20395,7 @@ function equals$D(existing, incoming) {
|
|
|
20393
20395
|
}
|
|
20394
20396
|
|
|
20395
20397
|
const VERSION$1M = "2c35f797fead79b5c45b521e77dd6ace";
|
|
20396
|
-
function validate$
|
|
20398
|
+
function validate$14(obj, path = 'ListObjectColumnRepresentation') {
|
|
20397
20399
|
const v_error = (() => {
|
|
20398
20400
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20399
20401
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20462,7 +20464,7 @@ function validate$13(obj, path = 'ListObjectColumnRepresentation') {
|
|
|
20462
20464
|
for (let i = 0; i < obj_picklistValues.length; i++) {
|
|
20463
20465
|
const obj_picklistValues_item = obj_picklistValues[i];
|
|
20464
20466
|
const path_picklistValues_item = path_picklistValues + '[' + i + ']';
|
|
20465
|
-
const referencepath_picklistValues_itemValidationError = validate$
|
|
20467
|
+
const referencepath_picklistValues_itemValidationError = validate$15(obj_picklistValues_item, path_picklistValues_item);
|
|
20466
20468
|
if (referencepath_picklistValues_itemValidationError !== null) {
|
|
20467
20469
|
let message = 'Object doesn\'t match ListObjectPicklistValueRepresentation (at "' + path_picklistValues_item + '")\n';
|
|
20468
20470
|
message += referencepath_picklistValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20608,7 +20610,7 @@ function equals$C(existing, incoming) {
|
|
|
20608
20610
|
|
|
20609
20611
|
const TTL$p = 900000;
|
|
20610
20612
|
const VERSION$1L = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
20611
|
-
function validate$
|
|
20613
|
+
function validate$13(obj, path = 'ListObjectInfoRepresentation') {
|
|
20612
20614
|
const v_error = (() => {
|
|
20613
20615
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20614
20616
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20621,7 +20623,7 @@ function validate$12(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
20621
20623
|
for (let i = 0; i < obj_availableScopes.length; i++) {
|
|
20622
20624
|
const obj_availableScopes_item = obj_availableScopes[i];
|
|
20623
20625
|
const path_availableScopes_item = path_availableScopes + '[' + i + ']';
|
|
20624
|
-
const referencepath_availableScopes_itemValidationError = validate$
|
|
20626
|
+
const referencepath_availableScopes_itemValidationError = validate$16(obj_availableScopes_item, path_availableScopes_item);
|
|
20625
20627
|
if (referencepath_availableScopes_itemValidationError !== null) {
|
|
20626
20628
|
let message = 'Object doesn\'t match ListObjectScopeRepresentation (at "' + path_availableScopes_item + '")\n';
|
|
20627
20629
|
message += referencepath_availableScopes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20636,7 +20638,7 @@ function validate$12(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
20636
20638
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
20637
20639
|
const obj_columns_item = obj_columns[i];
|
|
20638
20640
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
20639
|
-
const referencepath_columns_itemValidationError = validate$
|
|
20641
|
+
const referencepath_columns_itemValidationError = validate$14(obj_columns_item, path_columns_item);
|
|
20640
20642
|
if (referencepath_columns_itemValidationError !== null) {
|
|
20641
20643
|
let message = 'Object doesn\'t match ListObjectColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
20642
20644
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20770,7 +20772,7 @@ function equals$B(existing, incoming) {
|
|
|
20770
20772
|
}
|
|
20771
20773
|
const ingest$1w = function ListObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20772
20774
|
if (process.env.NODE_ENV !== 'production') {
|
|
20773
|
-
const validateError = validate$
|
|
20775
|
+
const validateError = validate$13(input);
|
|
20774
20776
|
if (validateError !== null) {
|
|
20775
20777
|
throw validateError;
|
|
20776
20778
|
}
|
|
@@ -20933,7 +20935,7 @@ const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObject
|
|
|
20933
20935
|
|
|
20934
20936
|
const TTL$o = 900000;
|
|
20935
20937
|
const VERSION$1K = "458d4a6a30201e422e8daec5fcb03845";
|
|
20936
|
-
function validate$
|
|
20938
|
+
function validate$12(obj, path = 'ListPreferencesRepresentation') {
|
|
20937
20939
|
const v_error = (() => {
|
|
20938
20940
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20939
20941
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20968,7 +20970,7 @@ function validate$11(obj, path = 'ListPreferencesRepresentation') {
|
|
|
20968
20970
|
}
|
|
20969
20971
|
const obj_listReference = obj.listReference;
|
|
20970
20972
|
const path_listReference = path + '.listReference';
|
|
20971
|
-
const referencepath_listReferenceValidationError = validate$
|
|
20973
|
+
const referencepath_listReferenceValidationError = validate$21(obj_listReference, path_listReference);
|
|
20972
20974
|
if (referencepath_listReferenceValidationError !== null) {
|
|
20973
20975
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
20974
20976
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20982,7 +20984,7 @@ function validate$11(obj, path = 'ListPreferencesRepresentation') {
|
|
|
20982
20984
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
20983
20985
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
20984
20986
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
20985
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
20987
|
+
const referencepath_orderedBy_itemValidationError = validate$1_(obj_orderedBy_item, path_orderedBy_item);
|
|
20986
20988
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
20987
20989
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
20988
20990
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21078,7 +21080,7 @@ function equals$A(existing, incoming) {
|
|
|
21078
21080
|
}
|
|
21079
21081
|
const ingest$1v = function ListPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21080
21082
|
if (process.env.NODE_ENV !== 'production') {
|
|
21081
|
-
const validateError = validate$
|
|
21083
|
+
const validateError = validate$12(input);
|
|
21082
21084
|
if (validateError !== null) {
|
|
21083
21085
|
throw validateError;
|
|
21084
21086
|
}
|
|
@@ -21241,7 +21243,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
|
|
|
21241
21243
|
buildCachedSnapshotCachePolicy$s, buildNetworkSnapshotCachePolicy$t);
|
|
21242
21244
|
};
|
|
21243
21245
|
|
|
21244
|
-
function validate$
|
|
21246
|
+
function validate$11(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
21245
21247
|
const v_error = (() => {
|
|
21246
21248
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21247
21249
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21349,7 +21351,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
21349
21351
|
const untrustedConfig_orderedBy_array = [];
|
|
21350
21352
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
21351
21353
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
21352
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
21354
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$11(untrustedConfig_orderedBy_item);
|
|
21353
21355
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
21354
21356
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
21355
21357
|
}
|
|
@@ -21403,7 +21405,7 @@ const updateListPreferencesAdapterFactory = (luvio) => {
|
|
|
21403
21405
|
|
|
21404
21406
|
const TTL$n = 120000;
|
|
21405
21407
|
const VERSION$1J = "756779d0d7e137dd72c743544afbad82";
|
|
21406
|
-
function validate
|
|
21408
|
+
function validate$10(obj, path = 'NavItemsRepresentation') {
|
|
21407
21409
|
const v_error = (() => {
|
|
21408
21410
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21409
21411
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21531,7 +21533,7 @@ function equals$z(existing, incoming) {
|
|
|
21531
21533
|
}
|
|
21532
21534
|
const ingest$1u = function NavItemsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21533
21535
|
if (process.env.NODE_ENV !== 'production') {
|
|
21534
|
-
const validateError = validate
|
|
21536
|
+
const validateError = validate$10(input);
|
|
21535
21537
|
if (validateError !== null) {
|
|
21536
21538
|
throw validateError;
|
|
21537
21539
|
}
|
|
@@ -22267,7 +22269,7 @@ var DiscriminatorValues$4;
|
|
|
22267
22269
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
22268
22270
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
22269
22271
|
const VERSION$1E = "bd523b2343366edfc25a2dbee2c4e986";
|
|
22270
|
-
function validate
|
|
22272
|
+
function validate$$(obj, path = 'AbstractPicklistValueAttributesRepresentation') {
|
|
22271
22273
|
const v_error = (() => {
|
|
22272
22274
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22273
22275
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22312,7 +22314,7 @@ const select$1R = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
22312
22314
|
};
|
|
22313
22315
|
|
|
22314
22316
|
const VERSION$1D = "9e2a16a80378487f557124c771201cf9";
|
|
22315
|
-
function validate$
|
|
22317
|
+
function validate$_(obj, path = 'PicklistValueRepresentation') {
|
|
22316
22318
|
const v_error = (() => {
|
|
22317
22319
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22318
22320
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22321,7 +22323,7 @@ function validate$Z(obj, path = 'PicklistValueRepresentation') {
|
|
|
22321
22323
|
const path_attributes = path + '.attributes';
|
|
22322
22324
|
let obj_attributes_union0 = null;
|
|
22323
22325
|
const obj_attributes_union0_error = (() => {
|
|
22324
|
-
const referencepath_attributesValidationError = validate
|
|
22326
|
+
const referencepath_attributesValidationError = validate$$(obj_attributes, path_attributes);
|
|
22325
22327
|
if (referencepath_attributesValidationError !== null) {
|
|
22326
22328
|
let message = 'Object doesn\'t match AbstractPicklistValueAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
22327
22329
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22416,7 +22418,7 @@ function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
|
22416
22418
|
|
|
22417
22419
|
const TTL$m = 900000;
|
|
22418
22420
|
const VERSION$1C = "0a361a49370acb4c6a31721a2057649a";
|
|
22419
|
-
function validate$
|
|
22421
|
+
function validate$Z(obj, path = 'PicklistValuesRepresentation') {
|
|
22420
22422
|
const v_error = (() => {
|
|
22421
22423
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22422
22424
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22439,7 +22441,7 @@ function validate$Y(obj, path = 'PicklistValuesRepresentation') {
|
|
|
22439
22441
|
const path_defaultValue = path + '.defaultValue';
|
|
22440
22442
|
let obj_defaultValue_union0 = null;
|
|
22441
22443
|
const obj_defaultValue_union0_error = (() => {
|
|
22442
|
-
const referencepath_defaultValueValidationError = validate$
|
|
22444
|
+
const referencepath_defaultValueValidationError = validate$_(obj_defaultValue, path_defaultValue);
|
|
22443
22445
|
if (referencepath_defaultValueValidationError !== null) {
|
|
22444
22446
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_defaultValue + '")\n';
|
|
22445
22447
|
message += referencepath_defaultValueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22482,7 +22484,7 @@ function validate$Y(obj, path = 'PicklistValuesRepresentation') {
|
|
|
22482
22484
|
for (let i = 0; i < obj_values.length; i++) {
|
|
22483
22485
|
const obj_values_item = obj_values[i];
|
|
22484
22486
|
const path_values_item = path_values + '[' + i + ']';
|
|
22485
|
-
const referencepath_values_itemValidationError = validate$
|
|
22487
|
+
const referencepath_values_itemValidationError = validate$_(obj_values_item, path_values_item);
|
|
22486
22488
|
if (referencepath_values_itemValidationError !== null) {
|
|
22487
22489
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_values_item + '")\n';
|
|
22488
22490
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22540,7 +22542,7 @@ function equals$y(existing, incoming) {
|
|
|
22540
22542
|
}
|
|
22541
22543
|
const ingest$1t = function PicklistValuesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22542
22544
|
if (process.env.NODE_ENV !== 'production') {
|
|
22543
|
-
const validateError = validate$
|
|
22545
|
+
const validateError = validate$Z(input);
|
|
22544
22546
|
if (validateError !== null) {
|
|
22545
22547
|
throw validateError;
|
|
22546
22548
|
}
|
|
@@ -22562,7 +22564,7 @@ function getTypeCacheKeys$1w(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22562
22564
|
|
|
22563
22565
|
const TTL$l = 300000;
|
|
22564
22566
|
const VERSION$1B = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
22565
|
-
function validate$
|
|
22567
|
+
function validate$Y(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
22566
22568
|
const v_error = (() => {
|
|
22567
22569
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22568
22570
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22649,7 +22651,7 @@ function equals$x(existing, incoming) {
|
|
|
22649
22651
|
}
|
|
22650
22652
|
const ingest$1s = function PicklistValuesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22651
22653
|
if (process.env.NODE_ENV !== 'production') {
|
|
22652
|
-
const validateError = validate$
|
|
22654
|
+
const validateError = validate$Y(input);
|
|
22653
22655
|
if (validateError !== null) {
|
|
22654
22656
|
throw validateError;
|
|
22655
22657
|
}
|
|
@@ -22986,7 +22988,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
22986
22988
|
buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$o);
|
|
22987
22989
|
};
|
|
22988
22990
|
|
|
22989
|
-
function validate$
|
|
22991
|
+
function validate$X(obj, path = 'MatchResultInfoRepresentation') {
|
|
22990
22992
|
const v_error = (() => {
|
|
22991
22993
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22992
22994
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23012,7 +23014,7 @@ function validate$W(obj, path = 'MatchResultInfoRepresentation') {
|
|
|
23012
23014
|
return v_error === undefined ? null : v_error;
|
|
23013
23015
|
}
|
|
23014
23016
|
|
|
23015
|
-
function validate$
|
|
23017
|
+
function validate$W(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
23016
23018
|
const v_error = (() => {
|
|
23017
23019
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23018
23020
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23024,7 +23026,7 @@ function validate$V(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
23024
23026
|
}
|
|
23025
23027
|
const obj_matchResultInfo = obj.matchResultInfo;
|
|
23026
23028
|
const path_matchResultInfo = path + '.matchResultInfo';
|
|
23027
|
-
const referencepath_matchResultInfoValidationError = validate$
|
|
23029
|
+
const referencepath_matchResultInfoValidationError = validate$X(obj_matchResultInfo, path_matchResultInfo);
|
|
23028
23030
|
if (referencepath_matchResultInfoValidationError !== null) {
|
|
23029
23031
|
let message = 'Object doesn\'t match MatchResultInfoRepresentation (at "' + path_matchResultInfo + '")\n';
|
|
23030
23032
|
message += referencepath_matchResultInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23039,7 +23041,7 @@ function validate$V(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
23039
23041
|
return v_error === undefined ? null : v_error;
|
|
23040
23042
|
}
|
|
23041
23043
|
|
|
23042
|
-
function validate$
|
|
23044
|
+
function validate$V(obj, path = 'MatchRepresentation') {
|
|
23043
23045
|
const v_error = (() => {
|
|
23044
23046
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23045
23047
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23054,7 +23056,7 @@ function validate$U(obj, path = 'MatchRepresentation') {
|
|
|
23054
23056
|
const key = obj_duplicateResultInfos_keys[i];
|
|
23055
23057
|
const obj_duplicateResultInfos_prop = obj_duplicateResultInfos[key];
|
|
23056
23058
|
const path_duplicateResultInfos_prop = path_duplicateResultInfos + '["' + key + '"]';
|
|
23057
|
-
const referencepath_duplicateResultInfos_propValidationError = validate$
|
|
23059
|
+
const referencepath_duplicateResultInfos_propValidationError = validate$W(obj_duplicateResultInfos_prop, path_duplicateResultInfos_prop);
|
|
23058
23060
|
if (referencepath_duplicateResultInfos_propValidationError !== null) {
|
|
23059
23061
|
let message = 'Object doesn\'t match DuplicateResultInfoRepresentation (at "' + path_duplicateResultInfos_prop + '")\n';
|
|
23060
23062
|
message += referencepath_duplicateResultInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23084,7 +23086,7 @@ function validate$U(obj, path = 'MatchRepresentation') {
|
|
|
23084
23086
|
|
|
23085
23087
|
const TTL$k = 30000;
|
|
23086
23088
|
const VERSION$1A = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
23087
|
-
function validate$
|
|
23089
|
+
function validate$U(obj, path = 'DuplicatesRepresentation') {
|
|
23088
23090
|
const v_error = (() => {
|
|
23089
23091
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23090
23092
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23119,7 +23121,7 @@ function validate$T(obj, path = 'DuplicatesRepresentation') {
|
|
|
23119
23121
|
for (let i = 0; i < obj_matches.length; i++) {
|
|
23120
23122
|
const obj_matches_item = obj_matches[i];
|
|
23121
23123
|
const path_matches_item = path_matches + '[' + i + ']';
|
|
23122
|
-
const referencepath_matches_itemValidationError = validate$
|
|
23124
|
+
const referencepath_matches_itemValidationError = validate$V(obj_matches_item, path_matches_item);
|
|
23123
23125
|
if (referencepath_matches_itemValidationError !== null) {
|
|
23124
23126
|
let message = 'Object doesn\'t match MatchRepresentation (at "' + path_matches_item + '")\n';
|
|
23125
23127
|
message += referencepath_matches_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23149,7 +23151,7 @@ function equals$w(existing, incoming) {
|
|
|
23149
23151
|
}
|
|
23150
23152
|
const ingest$1r = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23151
23153
|
if (process.env.NODE_ENV !== 'production') {
|
|
23152
|
-
const validateError = validate$
|
|
23154
|
+
const validateError = validate$U(input);
|
|
23153
23155
|
if (validateError !== null) {
|
|
23154
23156
|
throw validateError;
|
|
23155
23157
|
}
|
|
@@ -23342,7 +23344,7 @@ const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(unt
|
|
|
23342
23344
|
};
|
|
23343
23345
|
|
|
23344
23346
|
const VERSION$1z = "e84b9ffdeff97c411bd111f2a55cf6b6";
|
|
23345
|
-
function validate$
|
|
23347
|
+
function validate$T(obj, path = 'PhotoMetadataRepresentation') {
|
|
23346
23348
|
const v_error = (() => {
|
|
23347
23349
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23348
23350
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23434,8 +23436,8 @@ function equals$v(existing, incoming) {
|
|
|
23434
23436
|
}
|
|
23435
23437
|
|
|
23436
23438
|
const VERSION$1y = "34ffbf4219dfebb707bff609c2d5bf89";
|
|
23437
|
-
function validate$
|
|
23438
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
23439
|
+
function validate$S(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
23440
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$Q(obj, path);
|
|
23439
23441
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
23440
23442
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
23441
23443
|
}
|
|
@@ -23502,7 +23504,7 @@ function validate$R(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
|
23502
23504
|
}
|
|
23503
23505
|
const obj_photoMetadata = obj.photoMetadata;
|
|
23504
23506
|
const path_photoMetadata = path + '.photoMetadata';
|
|
23505
|
-
const referencepath_photoMetadataValidationError = validate$
|
|
23507
|
+
const referencepath_photoMetadataValidationError = validate$T(obj_photoMetadata, path_photoMetadata);
|
|
23506
23508
|
if (referencepath_photoMetadataValidationError !== null) {
|
|
23507
23509
|
let message = 'Object doesn\'t match PhotoMetadataRepresentation (at "' + path_photoMetadata + '")\n';
|
|
23508
23510
|
message += referencepath_photoMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23657,7 +23659,7 @@ function equals$u(existing, incoming) {
|
|
|
23657
23659
|
}
|
|
23658
23660
|
const ingest$1q = function PhotoRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23659
23661
|
if (process.env.NODE_ENV !== 'production') {
|
|
23660
|
-
const validateError = validate$
|
|
23662
|
+
const validateError = validate$S(input);
|
|
23661
23663
|
if (validateError !== null) {
|
|
23662
23664
|
throw validateError;
|
|
23663
23665
|
}
|
|
@@ -23678,8 +23680,8 @@ function getTypeCacheKeys$1t(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23678
23680
|
}
|
|
23679
23681
|
|
|
23680
23682
|
const VERSION$1x = "cbdcf69a6568d41ccf155b2b95ec70e7";
|
|
23681
|
-
function validate$
|
|
23682
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
23683
|
+
function validate$R(obj, path = 'ThemeRecordAvatarRepresentation') {
|
|
23684
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$Q(obj, path);
|
|
23683
23685
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
23684
23686
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
23685
23687
|
}
|
|
@@ -23798,7 +23800,7 @@ function equals$t(existing, incoming) {
|
|
|
23798
23800
|
}
|
|
23799
23801
|
const ingest$1p = function ThemeRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23800
23802
|
if (process.env.NODE_ENV !== 'production') {
|
|
23801
|
-
const validateError = validate$
|
|
23803
|
+
const validateError = validate$R(input);
|
|
23802
23804
|
if (validateError !== null) {
|
|
23803
23805
|
throw validateError;
|
|
23804
23806
|
}
|
|
@@ -23824,7 +23826,7 @@ var DiscriminatorValues$3;
|
|
|
23824
23826
|
DiscriminatorValues["Theme"] = "Theme";
|
|
23825
23827
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
23826
23828
|
const VERSION$1w = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
23827
|
-
function validate$
|
|
23829
|
+
function validate$Q(obj, path = 'AbstractRecordAvatarRepresentation') {
|
|
23828
23830
|
const v_error = (() => {
|
|
23829
23831
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23830
23832
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23917,8 +23919,8 @@ function getTypeCacheKeys$1r(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23917
23919
|
}
|
|
23918
23920
|
|
|
23919
23921
|
const VERSION$1v = "f531b44760afecfce89990fe5a5c5c29";
|
|
23920
|
-
function validate$
|
|
23921
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23922
|
+
function validate$P(obj, path = 'RecordAvatarBatchRepresentation') {
|
|
23923
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$L(obj, path);
|
|
23922
23924
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23923
23925
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23924
23926
|
}
|
|
@@ -23979,7 +23981,7 @@ function equals$r(existing, incoming) {
|
|
|
23979
23981
|
}
|
|
23980
23982
|
const ingest$1o = function RecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23981
23983
|
if (process.env.NODE_ENV !== 'production') {
|
|
23982
|
-
const validateError = validate$
|
|
23984
|
+
const validateError = validate$P(input);
|
|
23983
23985
|
if (validateError !== null) {
|
|
23984
23986
|
throw validateError;
|
|
23985
23987
|
}
|
|
@@ -24000,7 +24002,7 @@ function getTypeCacheKeys$1q(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
24000
24002
|
}
|
|
24001
24003
|
|
|
24002
24004
|
const VERSION$1u = "17c20b01167dba9a81452e60bb28b2f2";
|
|
24003
|
-
function validate$
|
|
24005
|
+
function validate$O(obj, path = 'ErrorSingleRecordAvatarRepresentation') {
|
|
24004
24006
|
const v_error = (() => {
|
|
24005
24007
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24006
24008
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24050,8 +24052,8 @@ function equals$q(existing, incoming) {
|
|
|
24050
24052
|
}
|
|
24051
24053
|
|
|
24052
24054
|
const VERSION$1t = "e7fac2bfb5cdacc5e0f15c350f9ab8fe";
|
|
24053
|
-
function validate$
|
|
24054
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
24055
|
+
function validate$N(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation') {
|
|
24056
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$L(obj, path);
|
|
24055
24057
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
24056
24058
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
24057
24059
|
}
|
|
@@ -24067,7 +24069,7 @@ function validate$M(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation'
|
|
|
24067
24069
|
for (let i = 0; i < obj_result.length; i++) {
|
|
24068
24070
|
const obj_result_item = obj_result[i];
|
|
24069
24071
|
const path_result_item = path_result + '[' + i + ']';
|
|
24070
|
-
const referencepath_result_itemValidationError = validate$
|
|
24072
|
+
const referencepath_result_itemValidationError = validate$O(obj_result_item, path_result_item);
|
|
24071
24073
|
if (referencepath_result_itemValidationError !== null) {
|
|
24072
24074
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
24073
24075
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24117,7 +24119,7 @@ function equals$p(existing, incoming) {
|
|
|
24117
24119
|
}
|
|
24118
24120
|
const ingest$1n = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24119
24121
|
if (process.env.NODE_ENV !== 'production') {
|
|
24120
|
-
const validateError = validate$
|
|
24122
|
+
const validateError = validate$N(input);
|
|
24121
24123
|
if (validateError !== null) {
|
|
24122
24124
|
throw validateError;
|
|
24123
24125
|
}
|
|
@@ -24138,8 +24140,8 @@ function getTypeCacheKeys$1p(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
24138
24140
|
}
|
|
24139
24141
|
|
|
24140
24142
|
const VERSION$1s = "cbd48fd50d0db463fdff7b1834c22bed";
|
|
24141
|
-
function validate$
|
|
24142
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
24143
|
+
function validate$M(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
24144
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$L(obj, path);
|
|
24143
24145
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
24144
24146
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
24145
24147
|
}
|
|
@@ -24155,7 +24157,7 @@ function validate$L(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
|
24155
24157
|
for (let i = 0; i < obj_result.length; i++) {
|
|
24156
24158
|
const obj_result_item = obj_result[i];
|
|
24157
24159
|
const path_result_item = path_result + '[' + i + ']';
|
|
24158
|
-
const referencepath_result_itemValidationError = validate$
|
|
24160
|
+
const referencepath_result_itemValidationError = validate$O(obj_result_item, path_result_item);
|
|
24159
24161
|
if (referencepath_result_itemValidationError !== null) {
|
|
24160
24162
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
24161
24163
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24205,7 +24207,7 @@ function equals$o(existing, incoming) {
|
|
|
24205
24207
|
}
|
|
24206
24208
|
const ingest$1m = function ErrorRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24207
24209
|
if (process.env.NODE_ENV !== 'production') {
|
|
24208
|
-
const validateError = validate$
|
|
24210
|
+
const validateError = validate$M(input);
|
|
24209
24211
|
if (validateError !== null) {
|
|
24210
24212
|
throw validateError;
|
|
24211
24213
|
}
|
|
@@ -24232,7 +24234,7 @@ const DiscriminatorValues$2 = {
|
|
|
24232
24234
|
};
|
|
24233
24235
|
const TTL$j = 300000;
|
|
24234
24236
|
const VERSION$1r = "8956293536e94d5ec63b274b61033d2c";
|
|
24235
|
-
function validate$
|
|
24237
|
+
function validate$L(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
24236
24238
|
const v_error = (() => {
|
|
24237
24239
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24238
24240
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24310,7 +24312,7 @@ function getTypeCacheKeys$1n(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
24310
24312
|
|
|
24311
24313
|
const TTL$i = 300000;
|
|
24312
24314
|
const VERSION$1q = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
24313
|
-
function validate$
|
|
24315
|
+
function validate$K(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
24314
24316
|
const v_error = (() => {
|
|
24315
24317
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24316
24318
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24389,7 +24391,7 @@ function merge(existing, incoming, _luvio, _path) {
|
|
|
24389
24391
|
|
|
24390
24392
|
const ingest$1l = function RecordAvatarBulkMapRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24391
24393
|
if (process.env.NODE_ENV !== 'production') {
|
|
24392
|
-
const validateError = validate$
|
|
24394
|
+
const validateError = validate$K(input);
|
|
24393
24395
|
if (validateError !== null) {
|
|
24394
24396
|
throw validateError;
|
|
24395
24397
|
}
|
|
@@ -24880,7 +24882,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
24880
24882
|
};
|
|
24881
24883
|
|
|
24882
24884
|
const VERSION$1p = "4d4bdab5d0aa61e365e766409c9b3a31";
|
|
24883
|
-
function validate$
|
|
24885
|
+
function validate$J(obj, path = 'RelatedListReferenceRepresentation') {
|
|
24884
24886
|
const v_error = (() => {
|
|
24885
24887
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24886
24888
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25119,7 +25121,7 @@ function equals$l(existing, incoming) {
|
|
|
25119
25121
|
}
|
|
25120
25122
|
|
|
25121
25123
|
const VERSION$1o = "836b875b519813e7499efc62f0f1d04b";
|
|
25122
|
-
function validate$
|
|
25124
|
+
function validate$I(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
25123
25125
|
const v_error = (() => {
|
|
25124
25126
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25125
25127
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25162,7 +25164,7 @@ function validate$H(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
|
25162
25164
|
}
|
|
25163
25165
|
const obj_listReference = obj.listReference;
|
|
25164
25166
|
const path_listReference = path + '.listReference';
|
|
25165
|
-
const referencepath_listReferenceValidationError = validate$
|
|
25167
|
+
const referencepath_listReferenceValidationError = validate$J(obj_listReference, path_listReference);
|
|
25166
25168
|
if (referencepath_listReferenceValidationError !== null) {
|
|
25167
25169
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
25168
25170
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25235,7 +25237,7 @@ function equals$k(existing, incoming) {
|
|
|
25235
25237
|
}
|
|
25236
25238
|
const ingest$1k = function RelatedListRecordCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
25237
25239
|
if (process.env.NODE_ENV !== 'production') {
|
|
25238
|
-
const validateError = validate$
|
|
25240
|
+
const validateError = validate$I(input);
|
|
25239
25241
|
if (validateError !== null) {
|
|
25240
25242
|
throw validateError;
|
|
25241
25243
|
}
|
|
@@ -25747,7 +25749,7 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
25747
25749
|
buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$j);
|
|
25748
25750
|
};
|
|
25749
25751
|
|
|
25750
|
-
function validate$
|
|
25752
|
+
function validate$H(obj, path = 'RelatedListColumnRepresentation') {
|
|
25751
25753
|
const v_error = (() => {
|
|
25752
25754
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25753
25755
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25898,7 +25900,7 @@ function validate$G(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
25898
25900
|
|
|
25899
25901
|
const TTL$h = 900000;
|
|
25900
25902
|
const VERSION$1n = "c977d65d153a2b4e888ddd45fb083248";
|
|
25901
|
-
function validate$
|
|
25903
|
+
function validate$G(obj, path = 'RelatedListInfoRepresentation') {
|
|
25902
25904
|
const v_error = (() => {
|
|
25903
25905
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25904
25906
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25926,7 +25928,7 @@ function validate$F(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25926
25928
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
25927
25929
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
25928
25930
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
25929
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
25931
|
+
const referencepath_displayColumns_itemValidationError = validate$H(obj_displayColumns_item, path_displayColumns_item);
|
|
25930
25932
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
25931
25933
|
let message = 'Object doesn\'t match RelatedListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
25932
25934
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25973,7 +25975,7 @@ function validate$F(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25973
25975
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
25974
25976
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
25975
25977
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
25976
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
25978
|
+
const referencepath_filteredByInfo_itemValidationError = validate$23(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
25977
25979
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
25978
25980
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
25979
25981
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25987,7 +25989,7 @@ function validate$F(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25987
25989
|
}
|
|
25988
25990
|
const obj_listReference = obj.listReference;
|
|
25989
25991
|
const path_listReference = path + '.listReference';
|
|
25990
|
-
const referencepath_listReferenceValidationError = validate$
|
|
25992
|
+
const referencepath_listReferenceValidationError = validate$J(obj_listReference, path_listReference);
|
|
25991
25993
|
if (referencepath_listReferenceValidationError !== null) {
|
|
25992
25994
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
25993
25995
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26025,7 +26027,7 @@ function validate$F(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
26025
26027
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
26026
26028
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
26027
26029
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
26028
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
26030
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1_(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
26029
26031
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
26030
26032
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
26031
26033
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26044,7 +26046,7 @@ function validate$F(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
26044
26046
|
}
|
|
26045
26047
|
const obj_userPreferences = obj.userPreferences;
|
|
26046
26048
|
const path_userPreferences = path + '.userPreferences';
|
|
26047
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
26049
|
+
const referencepath_userPreferencesValidationError = validate$1W(obj_userPreferences, path_userPreferences);
|
|
26048
26050
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
26049
26051
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
26050
26052
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26184,7 +26186,7 @@ function equals$j(existing, incoming) {
|
|
|
26184
26186
|
}
|
|
26185
26187
|
const ingest$1j = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26186
26188
|
if (process.env.NODE_ENV !== 'production') {
|
|
26187
|
-
const validateError = validate$
|
|
26189
|
+
const validateError = validate$G(input);
|
|
26188
26190
|
if (validateError !== null) {
|
|
26189
26191
|
throw validateError;
|
|
26190
26192
|
}
|
|
@@ -26622,7 +26624,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
26622
26624
|
buildCachedSnapshotCachePolicy$h, buildNetworkSnapshotCachePolicy$i);
|
|
26623
26625
|
};
|
|
26624
26626
|
|
|
26625
|
-
function validate$
|
|
26627
|
+
function validate$F(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
26626
26628
|
const v_error = (() => {
|
|
26627
26629
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26628
26630
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26718,7 +26720,7 @@ function validate$E(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
26718
26720
|
const path_themeInfo = path + '.themeInfo';
|
|
26719
26721
|
let obj_themeInfo_union0 = null;
|
|
26720
26722
|
const obj_themeInfo_union0_error = (() => {
|
|
26721
|
-
const referencepath_themeInfoValidationError = validate$
|
|
26723
|
+
const referencepath_themeInfoValidationError = validate$1F(obj_themeInfo, path_themeInfo);
|
|
26722
26724
|
if (referencepath_themeInfoValidationError !== null) {
|
|
26723
26725
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
26724
26726
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26753,7 +26755,7 @@ function validate$E(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
26753
26755
|
}
|
|
26754
26756
|
|
|
26755
26757
|
const VERSION$1m = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
26756
|
-
function validate$
|
|
26758
|
+
function validate$E(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
|
|
26757
26759
|
const v_error = (() => {
|
|
26758
26760
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26759
26761
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26802,7 +26804,7 @@ function validate$D(obj, path = 'RelatedListSummaryInfoCollectionRepresentation'
|
|
|
26802
26804
|
for (let i = 0; i < obj_relatedLists.length; i++) {
|
|
26803
26805
|
const obj_relatedLists_item = obj_relatedLists[i];
|
|
26804
26806
|
const path_relatedLists_item = path_relatedLists + '[' + i + ']';
|
|
26805
|
-
const referencepath_relatedLists_itemValidationError = validate$
|
|
26807
|
+
const referencepath_relatedLists_itemValidationError = validate$F(obj_relatedLists_item, path_relatedLists_item);
|
|
26806
26808
|
if (referencepath_relatedLists_itemValidationError !== null) {
|
|
26807
26809
|
let message = 'Object doesn\'t match RelatedListSummaryInfoRepresentation (at "' + path_relatedLists_item + '")\n';
|
|
26808
26810
|
message += referencepath_relatedLists_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26858,7 +26860,7 @@ function equals$i(existing, incoming) {
|
|
|
26858
26860
|
}
|
|
26859
26861
|
const ingest$1i = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26860
26862
|
if (process.env.NODE_ENV !== 'production') {
|
|
26861
|
-
const validateError = validate$
|
|
26863
|
+
const validateError = validate$E(input);
|
|
26862
26864
|
if (validateError !== null) {
|
|
26863
26865
|
throw validateError;
|
|
26864
26866
|
}
|
|
@@ -27107,7 +27109,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
27107
27109
|
buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$g);
|
|
27108
27110
|
};
|
|
27109
27111
|
|
|
27110
|
-
function validate$
|
|
27112
|
+
function validate$D(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
27111
27113
|
const v_error = (() => {
|
|
27112
27114
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27113
27115
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27189,7 +27191,7 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
27189
27191
|
const untrustedConfig_orderedByInfo_array = [];
|
|
27190
27192
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
27191
27193
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
27192
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
27194
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$11(untrustedConfig_orderedByInfo_item);
|
|
27193
27195
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
27194
27196
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
27195
27197
|
}
|
|
@@ -27197,7 +27199,7 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
27197
27199
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
27198
27200
|
}
|
|
27199
27201
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
27200
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
27202
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$D(untrustedConfig_userPreferences);
|
|
27201
27203
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
27202
27204
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
27203
27205
|
}
|
|
@@ -27262,7 +27264,7 @@ const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
|
27262
27264
|
|
|
27263
27265
|
const TTL$g = 900000;
|
|
27264
27266
|
const VERSION$1l = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
27265
|
-
function validate$
|
|
27267
|
+
function validate$C(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
27266
27268
|
const v_error = (() => {
|
|
27267
27269
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27268
27270
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27303,7 +27305,7 @@ function validate$B(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
27303
27305
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
27304
27306
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
27305
27307
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
27306
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
27308
|
+
const referencepath_orderedBy_itemValidationError = validate$1_(obj_orderedBy_item, path_orderedBy_item);
|
|
27307
27309
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
27308
27310
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
27309
27311
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -27347,7 +27349,7 @@ function equals$h(existing, incoming) {
|
|
|
27347
27349
|
}
|
|
27348
27350
|
const ingest$1h = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
27349
27351
|
if (process.env.NODE_ENV !== 'production') {
|
|
27350
|
-
const validateError = validate$
|
|
27352
|
+
const validateError = validate$C(input);
|
|
27351
27353
|
if (validateError !== null) {
|
|
27352
27354
|
throw validateError;
|
|
27353
27355
|
}
|
|
@@ -27943,7 +27945,7 @@ function typeCheckConfig$n(untrustedConfig) {
|
|
|
27943
27945
|
const untrustedConfig_orderedBy_array = [];
|
|
27944
27946
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
27945
27947
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
27946
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
27948
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$11(untrustedConfig_orderedBy_item);
|
|
27947
27949
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
27948
27950
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
27949
27951
|
}
|
|
@@ -27994,7 +27996,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
27994
27996
|
};
|
|
27995
27997
|
};
|
|
27996
27998
|
|
|
27997
|
-
function validate$
|
|
27999
|
+
function validate$B(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
27998
28000
|
const v_error = (() => {
|
|
27999
28001
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28000
28002
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28237,7 +28239,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
28237
28239
|
|
|
28238
28240
|
const TTL$f = 30000;
|
|
28239
28241
|
const VERSION$1k = "62467c27c19349b70c9db2a8d9d591d9";
|
|
28240
|
-
function validate$
|
|
28242
|
+
function validate$A(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
28241
28243
|
const v_error = (() => {
|
|
28242
28244
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28243
28245
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28318,7 +28320,7 @@ function validate$z(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
28318
28320
|
}
|
|
28319
28321
|
const obj_listReference = obj.listReference;
|
|
28320
28322
|
const path_listReference = path + '.listReference';
|
|
28321
|
-
const referencepath_listReferenceValidationError = validate$
|
|
28323
|
+
const referencepath_listReferenceValidationError = validate$J(obj_listReference, path_listReference);
|
|
28322
28324
|
if (referencepath_listReferenceValidationError !== null) {
|
|
28323
28325
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
28324
28326
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28739,7 +28741,7 @@ function equals$g(existing, incoming) {
|
|
|
28739
28741
|
}
|
|
28740
28742
|
const ingest$1g = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28741
28743
|
if (process.env.NODE_ENV !== 'production') {
|
|
28742
|
-
const validateError = validate$
|
|
28744
|
+
const validateError = validate$A(input);
|
|
28743
28745
|
if (validateError !== null) {
|
|
28744
28746
|
throw validateError;
|
|
28745
28747
|
}
|
|
@@ -29230,7 +29232,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
29230
29232
|
const untrustedConfig_relatedListParameters_array = [];
|
|
29231
29233
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
29232
29234
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
29233
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
29235
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$B(untrustedConfig_relatedListParameters_item);
|
|
29234
29236
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
29235
29237
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
29236
29238
|
}
|
|
@@ -29475,7 +29477,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
29475
29477
|
buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$c);
|
|
29476
29478
|
};
|
|
29477
29479
|
|
|
29478
|
-
function validate$
|
|
29480
|
+
function validate$z(obj, path = 'SearchFilterOptionRepresentation') {
|
|
29479
29481
|
const v_error = (() => {
|
|
29480
29482
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29481
29483
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29505,7 +29507,7 @@ var DiscriminatorValues;
|
|
|
29505
29507
|
DiscriminatorValues["Field"] = "Field";
|
|
29506
29508
|
DiscriminatorValues["DataCategory"] = "DataCategory";
|
|
29507
29509
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
29508
|
-
function validate$
|
|
29510
|
+
function validate$y(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
29509
29511
|
const v_error = (() => {
|
|
29510
29512
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29511
29513
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29566,7 +29568,7 @@ function validate$x(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
29566
29568
|
|
|
29567
29569
|
const TTL$e = 30000;
|
|
29568
29570
|
const VERSION$1j = "7d241c2ee7cc9b09d6bd434b33b0b5e4";
|
|
29569
|
-
function validate$
|
|
29571
|
+
function validate$x(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
29570
29572
|
const v_error = (() => {
|
|
29571
29573
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29572
29574
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29605,7 +29607,7 @@ function validate$w(obj, path = 'SearchFilterMetadataCollectionRepresentation')
|
|
|
29605
29607
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
29606
29608
|
const obj_filters_item = obj_filters[i];
|
|
29607
29609
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
29608
|
-
const referencepath_filters_itemValidationError = validate$
|
|
29610
|
+
const referencepath_filters_itemValidationError = validate$y(obj_filters_item, path_filters_item);
|
|
29609
29611
|
if (referencepath_filters_itemValidationError !== null) {
|
|
29610
29612
|
let message = 'Object doesn\'t match SearchFilterDefinitionRepresentation (at "' + path_filters_item + '")\n';
|
|
29611
29613
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29650,7 +29652,7 @@ function equals$f(existing, incoming) {
|
|
|
29650
29652
|
}
|
|
29651
29653
|
const ingest$1f = function SearchFilterMetadataCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29652
29654
|
if (process.env.NODE_ENV !== 'production') {
|
|
29653
|
-
const validateError = validate$
|
|
29655
|
+
const validateError = validate$x(input);
|
|
29654
29656
|
if (validateError !== null) {
|
|
29655
29657
|
throw validateError;
|
|
29656
29658
|
}
|
|
@@ -29814,7 +29816,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
29814
29816
|
|
|
29815
29817
|
const TTL$d = 30000;
|
|
29816
29818
|
const VERSION$1i = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
29817
|
-
function validate$
|
|
29819
|
+
function validate$w(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
29818
29820
|
const v_error = (() => {
|
|
29819
29821
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29820
29822
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29837,7 +29839,7 @@ function validate$v(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
|
29837
29839
|
for (let i = 0; i < obj_options.length; i++) {
|
|
29838
29840
|
const obj_options_item = obj_options[i];
|
|
29839
29841
|
const path_options_item = path_options + '[' + i + ']';
|
|
29840
|
-
const referencepath_options_itemValidationError = validate$
|
|
29842
|
+
const referencepath_options_itemValidationError = validate$z(obj_options_item, path_options_item);
|
|
29841
29843
|
if (referencepath_options_itemValidationError !== null) {
|
|
29842
29844
|
let message = 'Object doesn\'t match SearchFilterOptionRepresentation (at "' + path_options_item + '")\n';
|
|
29843
29845
|
message += referencepath_options_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29904,7 +29906,7 @@ function equals$e(existing, incoming) {
|
|
|
29904
29906
|
}
|
|
29905
29907
|
const ingest$1e = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29906
29908
|
if (process.env.NODE_ENV !== 'production') {
|
|
29907
|
-
const validateError = validate$
|
|
29909
|
+
const validateError = validate$w(input);
|
|
29908
29910
|
if (validateError !== null) {
|
|
29909
29911
|
throw validateError;
|
|
29910
29912
|
}
|
|
@@ -30068,7 +30070,7 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
|
|
|
30068
30070
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$a);
|
|
30069
30071
|
};
|
|
30070
30072
|
|
|
30071
|
-
function validate$
|
|
30073
|
+
function validate$v(obj, path = 'DisplayLayoutRepresentation') {
|
|
30072
30074
|
const v_error = (() => {
|
|
30073
30075
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30074
30076
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30089,7 +30091,7 @@ function validate$u(obj, path = 'DisplayLayoutRepresentation') {
|
|
|
30089
30091
|
return v_error === undefined ? null : v_error;
|
|
30090
30092
|
}
|
|
30091
30093
|
|
|
30092
|
-
function validate$
|
|
30094
|
+
function validate$u(obj, path = 'MatchingInfoRepresentation') {
|
|
30093
30095
|
const v_error = (() => {
|
|
30094
30096
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30095
30097
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30110,14 +30112,14 @@ function validate$t(obj, path = 'MatchingInfoRepresentation') {
|
|
|
30110
30112
|
return v_error === undefined ? null : v_error;
|
|
30111
30113
|
}
|
|
30112
30114
|
|
|
30113
|
-
function validate$
|
|
30115
|
+
function validate$t(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
30114
30116
|
const v_error = (() => {
|
|
30115
30117
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30116
30118
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30117
30119
|
}
|
|
30118
30120
|
const obj_displayLayout = obj.displayLayout;
|
|
30119
30121
|
const path_displayLayout = path + '.displayLayout';
|
|
30120
|
-
const referencepath_displayLayoutValidationError = validate$
|
|
30122
|
+
const referencepath_displayLayoutValidationError = validate$v(obj_displayLayout, path_displayLayout);
|
|
30121
30123
|
if (referencepath_displayLayoutValidationError !== null) {
|
|
30122
30124
|
let message = 'Object doesn\'t match DisplayLayoutRepresentation (at "' + path_displayLayout + '")\n';
|
|
30123
30125
|
message += referencepath_displayLayoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30125,7 +30127,7 @@ function validate$s(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
30125
30127
|
}
|
|
30126
30128
|
const obj_matchingInfo = obj.matchingInfo;
|
|
30127
30129
|
const path_matchingInfo = path + '.matchingInfo';
|
|
30128
|
-
const referencepath_matchingInfoValidationError = validate$
|
|
30130
|
+
const referencepath_matchingInfoValidationError = validate$u(obj_matchingInfo, path_matchingInfo);
|
|
30129
30131
|
if (referencepath_matchingInfoValidationError !== null) {
|
|
30130
30132
|
let message = 'Object doesn\'t match MatchingInfoRepresentation (at "' + path_matchingInfo + '")\n';
|
|
30131
30133
|
message += referencepath_matchingInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30135,14 +30137,14 @@ function validate$s(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
30135
30137
|
return v_error === undefined ? null : v_error;
|
|
30136
30138
|
}
|
|
30137
30139
|
|
|
30138
|
-
function validate$
|
|
30140
|
+
function validate$s(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
30139
30141
|
const v_error = (() => {
|
|
30140
30142
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30141
30143
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30142
30144
|
}
|
|
30143
30145
|
const obj_fullSearchInfo = obj.fullSearchInfo;
|
|
30144
30146
|
const path_fullSearchInfo = path + '.fullSearchInfo';
|
|
30145
|
-
const referencepath_fullSearchInfoValidationError = validate$
|
|
30147
|
+
const referencepath_fullSearchInfoValidationError = validate$t(obj_fullSearchInfo, path_fullSearchInfo);
|
|
30146
30148
|
if (referencepath_fullSearchInfoValidationError !== null) {
|
|
30147
30149
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_fullSearchInfo + '")\n';
|
|
30148
30150
|
message += referencepath_fullSearchInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30155,7 +30157,7 @@ function validate$r(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
30155
30157
|
}
|
|
30156
30158
|
const obj_suggestionsInfo = obj.suggestionsInfo;
|
|
30157
30159
|
const path_suggestionsInfo = path + '.suggestionsInfo';
|
|
30158
|
-
const referencepath_suggestionsInfoValidationError = validate$
|
|
30160
|
+
const referencepath_suggestionsInfoValidationError = validate$t(obj_suggestionsInfo, path_suggestionsInfo);
|
|
30159
30161
|
if (referencepath_suggestionsInfoValidationError !== null) {
|
|
30160
30162
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_suggestionsInfo + '")\n';
|
|
30161
30163
|
message += referencepath_suggestionsInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30167,7 +30169,7 @@ function validate$r(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
30167
30169
|
|
|
30168
30170
|
const TTL$c = 30000;
|
|
30169
30171
|
const VERSION$1h = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
30170
|
-
function validate$
|
|
30172
|
+
function validate$r(obj, path = 'LookupMetadataRepresentation') {
|
|
30171
30173
|
const v_error = (() => {
|
|
30172
30174
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30173
30175
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30218,7 +30220,7 @@ function validate$q(obj, path = 'LookupMetadataRepresentation') {
|
|
|
30218
30220
|
const key = obj_targetInfo_keys[i];
|
|
30219
30221
|
const obj_targetInfo_prop = obj_targetInfo[key];
|
|
30220
30222
|
const path_targetInfo_prop = path_targetInfo + '["' + key + '"]';
|
|
30221
|
-
const referencepath_targetInfo_propValidationError = validate$
|
|
30223
|
+
const referencepath_targetInfo_propValidationError = validate$s(obj_targetInfo_prop, path_targetInfo_prop);
|
|
30222
30224
|
if (referencepath_targetInfo_propValidationError !== null) {
|
|
30223
30225
|
let message = 'Object doesn\'t match LookupMetadataTargetInfoRepresentation (at "' + path_targetInfo_prop + '")\n';
|
|
30224
30226
|
message += referencepath_targetInfo_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30258,7 +30260,7 @@ function equals$d(existing, incoming) {
|
|
|
30258
30260
|
}
|
|
30259
30261
|
const ingest$1d = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30260
30262
|
if (process.env.NODE_ENV !== 'production') {
|
|
30261
|
-
const validateError = validate$
|
|
30263
|
+
const validateError = validate$r(input);
|
|
30262
30264
|
if (validateError !== null) {
|
|
30263
30265
|
throw validateError;
|
|
30264
30266
|
}
|
|
@@ -30420,7 +30422,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
30420
30422
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$9);
|
|
30421
30423
|
};
|
|
30422
30424
|
|
|
30423
|
-
function validate$
|
|
30425
|
+
function validate$q(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
30424
30426
|
const v_error = (() => {
|
|
30425
30427
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30426
30428
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30451,7 +30453,7 @@ function validate$p(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
|
30451
30453
|
return v_error === undefined ? null : v_error;
|
|
30452
30454
|
}
|
|
30453
30455
|
|
|
30454
|
-
function validate$
|
|
30456
|
+
function validate$p(obj, path = 'SearchFilterInputRepresentation') {
|
|
30455
30457
|
const v_error = (() => {
|
|
30456
30458
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30457
30459
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30520,7 +30522,7 @@ function validate$o(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
30520
30522
|
return v_error === undefined ? null : v_error;
|
|
30521
30523
|
}
|
|
30522
30524
|
|
|
30523
|
-
function validate$
|
|
30525
|
+
function validate$o(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
30524
30526
|
const v_error = (() => {
|
|
30525
30527
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30526
30528
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30533,7 +30535,7 @@ function validate$n(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
30533
30535
|
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
30534
30536
|
const obj_dataCategories_item = obj_dataCategories[i];
|
|
30535
30537
|
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
30536
|
-
const referencepath_dataCategories_itemValidationError = validate$
|
|
30538
|
+
const referencepath_dataCategories_itemValidationError = validate$q(obj_dataCategories_item, path_dataCategories_item);
|
|
30537
30539
|
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
30538
30540
|
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
30539
30541
|
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30548,7 +30550,7 @@ function validate$n(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
30548
30550
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
30549
30551
|
const obj_filters_item = obj_filters[i];
|
|
30550
30552
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
30551
|
-
const referencepath_filters_itemValidationError = validate$
|
|
30553
|
+
const referencepath_filters_itemValidationError = validate$p(obj_filters_item, path_filters_item);
|
|
30552
30554
|
if (referencepath_filters_itemValidationError !== null) {
|
|
30553
30555
|
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
30554
30556
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30559,7 +30561,7 @@ function validate$n(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
30559
30561
|
return v_error === undefined ? null : v_error;
|
|
30560
30562
|
}
|
|
30561
30563
|
|
|
30562
|
-
function validate$
|
|
30564
|
+
function validate$n(obj, path = 'ErrorMessageRepresentation') {
|
|
30563
30565
|
const v_error = (() => {
|
|
30564
30566
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30565
30567
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30599,7 +30601,7 @@ function validate$m(obj, path = 'ErrorMessageRepresentation') {
|
|
|
30599
30601
|
return v_error === undefined ? null : v_error;
|
|
30600
30602
|
}
|
|
30601
30603
|
|
|
30602
|
-
function validate$
|
|
30604
|
+
function validate$m(obj, path = 'SearchResultCollectionRepresentation') {
|
|
30603
30605
|
const v_error = (() => {
|
|
30604
30606
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30605
30607
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30613,7 +30615,7 @@ function validate$l(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30613
30615
|
const path_error = path + '.error';
|
|
30614
30616
|
let obj_error_union0 = null;
|
|
30615
30617
|
const obj_error_union0_error = (() => {
|
|
30616
|
-
const referencepath_errorValidationError = validate$
|
|
30618
|
+
const referencepath_errorValidationError = validate$n(obj_error, path_error);
|
|
30617
30619
|
if (referencepath_errorValidationError !== null) {
|
|
30618
30620
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
30619
30621
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30677,7 +30679,7 @@ function validate$l(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30677
30679
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
30678
30680
|
const obj_orderBy_item = obj_orderBy[i];
|
|
30679
30681
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
30680
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
30682
|
+
const referencepath_orderBy_itemValidationError = validate$1_(obj_orderBy_item, path_orderBy_item);
|
|
30681
30683
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
30682
30684
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
30683
30685
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30743,7 +30745,7 @@ function validate$l(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30743
30745
|
return v_error === undefined ? null : v_error;
|
|
30744
30746
|
}
|
|
30745
30747
|
|
|
30746
|
-
function validate$
|
|
30748
|
+
function validate$l(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
30747
30749
|
const v_error = (() => {
|
|
30748
30750
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30749
30751
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30764,6 +30766,42 @@ function validate$k(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
30764
30766
|
return v_error === undefined ? null : v_error;
|
|
30765
30767
|
}
|
|
30766
30768
|
|
|
30769
|
+
function validate$k(obj, path = 'AppliedSearchFilterOutputRepresentation') {
|
|
30770
|
+
const v_error = (() => {
|
|
30771
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30772
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30773
|
+
}
|
|
30774
|
+
const obj_fieldPath = obj.fieldPath;
|
|
30775
|
+
const path_fieldPath = path + '.fieldPath';
|
|
30776
|
+
if (typeof obj_fieldPath !== 'string') {
|
|
30777
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
30778
|
+
}
|
|
30779
|
+
const obj_label = obj.label;
|
|
30780
|
+
const path_label = path + '.label';
|
|
30781
|
+
if (typeof obj_label !== 'string') {
|
|
30782
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
30783
|
+
}
|
|
30784
|
+
const obj_operator = obj.operator;
|
|
30785
|
+
const path_operator = path + '.operator';
|
|
30786
|
+
if (typeof obj_operator !== 'string') {
|
|
30787
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
30788
|
+
}
|
|
30789
|
+
const obj_values = obj.values;
|
|
30790
|
+
const path_values = path + '.values';
|
|
30791
|
+
if (!ArrayIsArray(obj_values)) {
|
|
30792
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
30793
|
+
}
|
|
30794
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
30795
|
+
const obj_values_item = obj_values[i];
|
|
30796
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
30797
|
+
if (typeof obj_values_item !== 'string') {
|
|
30798
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30799
|
+
}
|
|
30800
|
+
}
|
|
30801
|
+
})();
|
|
30802
|
+
return v_error === undefined ? null : v_error;
|
|
30803
|
+
}
|
|
30804
|
+
|
|
30767
30805
|
function validate$j(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
30768
30806
|
const v_error = (() => {
|
|
30769
30807
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -30803,6 +30841,21 @@ function validate$i(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
30803
30841
|
if (typeof obj_answerType !== 'string') {
|
|
30804
30842
|
return new TypeError('Expected "string" but received "' + typeof obj_answerType + '" (at "' + path_answerType + '")');
|
|
30805
30843
|
}
|
|
30844
|
+
const obj_appliedFilters = obj.appliedFilters;
|
|
30845
|
+
const path_appliedFilters = path + '.appliedFilters';
|
|
30846
|
+
if (!ArrayIsArray(obj_appliedFilters)) {
|
|
30847
|
+
return new TypeError('Expected "array" but received "' + typeof obj_appliedFilters + '" (at "' + path_appliedFilters + '")');
|
|
30848
|
+
}
|
|
30849
|
+
for (let i = 0; i < obj_appliedFilters.length; i++) {
|
|
30850
|
+
const obj_appliedFilters_item = obj_appliedFilters[i];
|
|
30851
|
+
const path_appliedFilters_item = path_appliedFilters + '[' + i + ']';
|
|
30852
|
+
const referencepath_appliedFilters_itemValidationError = validate$k(obj_appliedFilters_item, path_appliedFilters_item);
|
|
30853
|
+
if (referencepath_appliedFilters_itemValidationError !== null) {
|
|
30854
|
+
let message = 'Object doesn\'t match AppliedSearchFilterOutputRepresentation (at "' + path_appliedFilters_item + '")\n';
|
|
30855
|
+
message += referencepath_appliedFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30856
|
+
return new TypeError(message);
|
|
30857
|
+
}
|
|
30858
|
+
}
|
|
30806
30859
|
const obj_passage = obj.passage;
|
|
30807
30860
|
const path_passage = path + '.passage';
|
|
30808
30861
|
if (typeof obj_passage !== 'string') {
|
|
@@ -30868,11 +30921,6 @@ function validate$g(obj, path = 'SearchFilterOutputRepresentation') {
|
|
|
30868
30921
|
if (typeof obj_fieldPath !== 'string') {
|
|
30869
30922
|
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
30870
30923
|
}
|
|
30871
|
-
const obj_label = obj.label;
|
|
30872
|
-
const path_label = path + '.label';
|
|
30873
|
-
if (typeof obj_label !== 'string') {
|
|
30874
|
-
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
30875
|
-
}
|
|
30876
30924
|
const obj_operator = obj.operator;
|
|
30877
30925
|
const path_operator = path + '.operator';
|
|
30878
30926
|
if (typeof obj_operator !== 'string') {
|
|
@@ -30970,7 +31018,7 @@ function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
30970
31018
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
30971
31019
|
let obj_keywordSearchResults_union0 = null;
|
|
30972
31020
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
30973
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
31021
|
+
const referencepath_keywordSearchResultsValidationError = validate$l(obj_keywordSearchResults, path_keywordSearchResults);
|
|
30974
31022
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
30975
31023
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' + path_keywordSearchResults + '")\n';
|
|
30976
31024
|
message += referencepath_keywordSearchResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31183,7 +31231,7 @@ function typeCheckConfig$h(untrustedConfig) {
|
|
|
31183
31231
|
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
31184
31232
|
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
31185
31233
|
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
31186
|
-
const referenceSearchObjectOptionsRepresentationValidationError = validate$
|
|
31234
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$o(untrustedConfig_searchObjectOptions_prop);
|
|
31187
31235
|
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
31188
31236
|
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
31189
31237
|
untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
|
|
@@ -31302,7 +31350,7 @@ function validate$d(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
31302
31350
|
}
|
|
31303
31351
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
31304
31352
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
31305
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
31353
|
+
const referencepath_keywordSearchResultValidationError = validate$m(obj_keywordSearchResult, path_keywordSearchResult);
|
|
31306
31354
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
31307
31355
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' + path_keywordSearchResult + '")\n';
|
|
31308
31356
|
message += referencepath_keywordSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31457,7 +31505,7 @@ function typeCheckConfig$g(untrustedConfig) {
|
|
|
31457
31505
|
const untrustedConfig_filters_array = [];
|
|
31458
31506
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
31459
31507
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
31460
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
31508
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$p(untrustedConfig_filters_item);
|
|
31461
31509
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
31462
31510
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
31463
31511
|
}
|
|
@@ -49798,7 +49846,7 @@ function validate$a(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
49798
49846
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
49799
49847
|
let obj_recordTypeInfo_union0 = null;
|
|
49800
49848
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
49801
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
49849
|
+
const referencepath_recordTypeInfoValidationError = validate$1R(obj_recordTypeInfo, path_recordTypeInfo);
|
|
49802
49850
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
49803
49851
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
49804
49852
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|