@salesforce/lds-adapters-uiapi 1.266.0-dev1 → 1.266.0-dev10
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/graphql/types/type-util.d.ts +1 -0
- 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 +539 -397
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +199 -133
- package/sfdc/index.js +342 -266
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +23 -3
package/sfdc/index.js
CHANGED
|
@@ -649,7 +649,7 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
649
649
|
}
|
|
650
650
|
|
|
651
651
|
const VERSION$1n = "623aa9ce3a11031e35faf5671a41746e";
|
|
652
|
-
function validate$
|
|
652
|
+
function validate$1$(obj, path = 'ListFilterByInfoRepresentation') {
|
|
653
653
|
const v_error = (() => {
|
|
654
654
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
655
655
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -712,7 +712,7 @@ const select$1Z = function ListFilterByInfoRepresentationSelect() {
|
|
|
712
712
|
};
|
|
713
713
|
|
|
714
714
|
const VERSION$1m = "f98dc7dec10408a9648ef8e5b37002a3";
|
|
715
|
-
function validate$
|
|
715
|
+
function validate$1_(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
716
716
|
const v_error = (() => {
|
|
717
717
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
718
718
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -791,7 +791,7 @@ const select$1Y = function ListInlineEditDetailsRepresentationSelect() {
|
|
|
791
791
|
};
|
|
792
792
|
|
|
793
793
|
const VERSION$1l = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
794
|
-
function validate$
|
|
794
|
+
function validate$1Z(obj, path = 'ListReferenceRepresentation') {
|
|
795
795
|
const v_error = (() => {
|
|
796
796
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
797
797
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -911,7 +911,7 @@ function equals$14(existing, incoming) {
|
|
|
911
911
|
}
|
|
912
912
|
|
|
913
913
|
const VERSION$1k = "f1519bef57e70ab7c5ef160dc5ff0c47";
|
|
914
|
-
function validate$
|
|
914
|
+
function validate$1Y(obj, path = 'ListInfoShareRepresentation') {
|
|
915
915
|
const v_error = (() => {
|
|
916
916
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
917
917
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -948,7 +948,7 @@ const select$1W = function ListInfoShareRepresentationSelect() {
|
|
|
948
948
|
};
|
|
949
949
|
|
|
950
950
|
const VERSION$1j = "561657f32721ec1dac1601575b029640";
|
|
951
|
-
function validate$
|
|
951
|
+
function validate$1X(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
952
952
|
const v_error = (() => {
|
|
953
953
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
954
954
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -966,7 +966,7 @@ function validate$1W(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
966
966
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
967
967
|
const obj_shares_item = obj_shares[i];
|
|
968
968
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
969
|
-
const referencepath_shares_itemValidationError = validate$
|
|
969
|
+
const referencepath_shares_itemValidationError = validate$1Y(obj_shares_item, path_shares_item);
|
|
970
970
|
if (referencepath_shares_itemValidationError !== null) {
|
|
971
971
|
let message = 'Object doesn\'t match ListInfoShareRepresentation (at "' + path_shares_item + '")\n';
|
|
972
972
|
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -998,7 +998,7 @@ const select$1V = function ListInfoShareCategoryRepresentationSelect() {
|
|
|
998
998
|
};
|
|
999
999
|
|
|
1000
1000
|
const VERSION$1i = "32def9b631252c12b91a8209c1f49f5a";
|
|
1001
|
-
function validate$
|
|
1001
|
+
function validate$1W(obj, path = 'ListOrderByInfoRepresentation') {
|
|
1002
1002
|
const v_error = (() => {
|
|
1003
1003
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1004
1004
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1083,7 +1083,7 @@ function equals$13(existing, incoming) {
|
|
|
1083
1083
|
}
|
|
1084
1084
|
|
|
1085
1085
|
const VERSION$1h = "2634258f216db34315c06d759a35676d";
|
|
1086
|
-
function validate$
|
|
1086
|
+
function validate$1V(obj, path = 'ListScopeEntityRepresentation') {
|
|
1087
1087
|
const v_error = (() => {
|
|
1088
1088
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1089
1089
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1120,7 +1120,7 @@ const select$1T = function ListScopeEntityRepresentationSelect() {
|
|
|
1120
1120
|
};
|
|
1121
1121
|
|
|
1122
1122
|
const VERSION$1g = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
1123
|
-
function validate$
|
|
1123
|
+
function validate$1U(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
1124
1124
|
const v_error = (() => {
|
|
1125
1125
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1126
1126
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1166,7 +1166,7 @@ const select$1S = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
1166
1166
|
};
|
|
1167
1167
|
|
|
1168
1168
|
const VERSION$1f = "2fe9814e7124b47f59da585483c1b3f9";
|
|
1169
|
-
function validate$
|
|
1169
|
+
function validate$1T(obj, path = 'ListScopeRepresentation') {
|
|
1170
1170
|
const v_error = (() => {
|
|
1171
1171
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1172
1172
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1180,7 +1180,7 @@ function validate$1S(obj, path = 'ListScopeRepresentation') {
|
|
|
1180
1180
|
const path_entity = path + '.entity';
|
|
1181
1181
|
let obj_entity_union0 = null;
|
|
1182
1182
|
const obj_entity_union0_error = (() => {
|
|
1183
|
-
const referencepath_entityValidationError = validate$
|
|
1183
|
+
const referencepath_entityValidationError = validate$1V(obj_entity, path_entity);
|
|
1184
1184
|
if (referencepath_entityValidationError !== null) {
|
|
1185
1185
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
1186
1186
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1235,7 +1235,7 @@ function validate$1S(obj, path = 'ListScopeRepresentation') {
|
|
|
1235
1235
|
const path_relatedEntity = path + '.relatedEntity';
|
|
1236
1236
|
let obj_relatedEntity_union0 = null;
|
|
1237
1237
|
const obj_relatedEntity_union0_error = (() => {
|
|
1238
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
1238
|
+
const referencepath_relatedEntityValidationError = validate$1U(obj_relatedEntity, path_relatedEntity);
|
|
1239
1239
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
1240
1240
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
1241
1241
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1296,7 +1296,7 @@ const select$1R = function ListScopeRepresentationSelect() {
|
|
|
1296
1296
|
};
|
|
1297
1297
|
|
|
1298
1298
|
const VERSION$1e = "6506134f4d72fdfa349fe60ef1af2413";
|
|
1299
|
-
function validate$
|
|
1299
|
+
function validate$1S(obj, path = 'ListUserPreferenceRepresentation') {
|
|
1300
1300
|
const v_error = (() => {
|
|
1301
1301
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1302
1302
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1352,7 +1352,7 @@ const select$1Q = function ListUserPreferenceRepresentationSelect() {
|
|
|
1352
1352
|
};
|
|
1353
1353
|
};
|
|
1354
1354
|
|
|
1355
|
-
function validate$
|
|
1355
|
+
function validate$1R(obj, path = 'ListColumnInlineEditAttributesRepresentation') {
|
|
1356
1356
|
const v_error = (() => {
|
|
1357
1357
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1358
1358
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1371,7 +1371,7 @@ function validate$1Q(obj, path = 'ListColumnInlineEditAttributesRepresentation')
|
|
|
1371
1371
|
return v_error === undefined ? null : v_error;
|
|
1372
1372
|
}
|
|
1373
1373
|
|
|
1374
|
-
function validate$
|
|
1374
|
+
function validate$1Q(obj, path = 'ListColumnInlineEditAttributesRepresentationWrapper') {
|
|
1375
1375
|
const v_error = (() => {
|
|
1376
1376
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1377
1377
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1381,7 +1381,7 @@ function validate$1P(obj, path = 'ListColumnInlineEditAttributesRepresentationWr
|
|
|
1381
1381
|
const key = obj_keys[i];
|
|
1382
1382
|
const obj_prop = obj[key];
|
|
1383
1383
|
const path_prop = path + '["' + key + '"]';
|
|
1384
|
-
const referencepath_propValidationError = validate$
|
|
1384
|
+
const referencepath_propValidationError = validate$1R(obj_prop, path_prop);
|
|
1385
1385
|
if (referencepath_propValidationError !== null) {
|
|
1386
1386
|
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentation (at "' + path_prop + '")\n';
|
|
1387
1387
|
message += referencepath_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1393,7 +1393,7 @@ function validate$1P(obj, path = 'ListColumnInlineEditAttributesRepresentationWr
|
|
|
1393
1393
|
}
|
|
1394
1394
|
|
|
1395
1395
|
const VERSION$1d = "8aff6b0baf2e60a237e860236c4e1b70";
|
|
1396
|
-
function validate$
|
|
1396
|
+
function validate$1P(obj, path = 'ListColumnRepresentation') {
|
|
1397
1397
|
const v_error = (() => {
|
|
1398
1398
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1399
1399
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1408,7 +1408,7 @@ function validate$1O(obj, path = 'ListColumnRepresentation') {
|
|
|
1408
1408
|
const path_inlineEditAttributes = path + '.inlineEditAttributes';
|
|
1409
1409
|
let obj_inlineEditAttributes_union0 = null;
|
|
1410
1410
|
const obj_inlineEditAttributes_union0_error = (() => {
|
|
1411
|
-
const referencepath_inlineEditAttributesValidationError = validate$
|
|
1411
|
+
const referencepath_inlineEditAttributesValidationError = validate$1Q(obj_inlineEditAttributes, path_inlineEditAttributes);
|
|
1412
1412
|
if (referencepath_inlineEditAttributesValidationError !== null) {
|
|
1413
1413
|
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentationWrapper (at "' + path_inlineEditAttributes + '")\n';
|
|
1414
1414
|
message += referencepath_inlineEditAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1500,7 +1500,7 @@ function equals$12(existing, incoming) {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
const ingest$P = function ListColumnRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1502
1502
|
if (process.env.NODE_ENV !== 'production') {
|
|
1503
|
-
const validateError = validate$
|
|
1503
|
+
const validateError = validate$1P(input);
|
|
1504
1504
|
if (validateError !== null) {
|
|
1505
1505
|
throw validateError;
|
|
1506
1506
|
}
|
|
@@ -1522,7 +1522,7 @@ function getTypeCacheKeys$X(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1522
1522
|
|
|
1523
1523
|
const TTL$A = 900000;
|
|
1524
1524
|
const VERSION$1c = "178c8b58f78e2720fe8846a667c7b294";
|
|
1525
|
-
function validate$
|
|
1525
|
+
function validate$1O(obj, path = 'ListInfoRepresentation') {
|
|
1526
1526
|
const v_error = (() => {
|
|
1527
1527
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1528
1528
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1593,7 +1593,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1593
1593
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
1594
1594
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
1595
1595
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
1596
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
1596
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1$(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
1597
1597
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
1598
1598
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
1599
1599
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1605,7 +1605,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1605
1605
|
const path_inlineEditDetails = path + '.inlineEditDetails';
|
|
1606
1606
|
let obj_inlineEditDetails_union0 = null;
|
|
1607
1607
|
const obj_inlineEditDetails_union0_error = (() => {
|
|
1608
|
-
const referencepath_inlineEditDetailsValidationError = validate$
|
|
1608
|
+
const referencepath_inlineEditDetailsValidationError = validate$1_(obj_inlineEditDetails, path_inlineEditDetails);
|
|
1609
1609
|
if (referencepath_inlineEditDetailsValidationError !== null) {
|
|
1610
1610
|
let message = 'Object doesn\'t match ListInlineEditDetailsRepresentation (at "' + path_inlineEditDetails + '")\n';
|
|
1611
1611
|
message += referencepath_inlineEditDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1659,7 +1659,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
const obj_listReference = obj.listReference;
|
|
1661
1661
|
const path_listReference = path + '.listReference';
|
|
1662
|
-
const referencepath_listReferenceValidationError = validate$
|
|
1662
|
+
const referencepath_listReferenceValidationError = validate$1Z(obj_listReference, path_listReference);
|
|
1663
1663
|
if (referencepath_listReferenceValidationError !== null) {
|
|
1664
1664
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
1665
1665
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1674,7 +1674,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1674
1674
|
for (let i = 0; i < obj_listShares.length; i++) {
|
|
1675
1675
|
const obj_listShares_item = obj_listShares[i];
|
|
1676
1676
|
const path_listShares_item = path_listShares + '[' + i + ']';
|
|
1677
|
-
const referencepath_listShares_itemValidationError = validate$
|
|
1677
|
+
const referencepath_listShares_itemValidationError = validate$1X(obj_listShares_item, path_listShares_item);
|
|
1678
1678
|
if (referencepath_listShares_itemValidationError !== null) {
|
|
1679
1679
|
let message = 'Object doesn\'t match ListInfoShareCategoryRepresentation (at "' + path_listShares_item + '")\n';
|
|
1680
1680
|
message += referencepath_listShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1704,7 +1704,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1704
1704
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
1705
1705
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
1706
1706
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
1707
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
1707
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1W(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
1708
1708
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
1709
1709
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
1710
1710
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1716,7 +1716,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1716
1716
|
const path_scope = path + '.scope';
|
|
1717
1717
|
let obj_scope_union0 = null;
|
|
1718
1718
|
const obj_scope_union0_error = (() => {
|
|
1719
|
-
const referencepath_scopeValidationError = validate$
|
|
1719
|
+
const referencepath_scopeValidationError = validate$1T(obj_scope, path_scope);
|
|
1720
1720
|
if (referencepath_scopeValidationError !== null) {
|
|
1721
1721
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
1722
1722
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1756,7 +1756,7 @@ function validate$1N(obj, path = 'ListInfoRepresentation') {
|
|
|
1756
1756
|
}
|
|
1757
1757
|
const obj_userPreferences = obj.userPreferences;
|
|
1758
1758
|
const path_userPreferences = path + '.userPreferences';
|
|
1759
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
1759
|
+
const referencepath_userPreferencesValidationError = validate$1S(obj_userPreferences, path_userPreferences);
|
|
1760
1760
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
1761
1761
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
1762
1762
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1924,7 +1924,7 @@ function equals$11(existing, incoming) {
|
|
|
1924
1924
|
}
|
|
1925
1925
|
const ingest$O = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1926
1926
|
if (process.env.NODE_ENV !== 'production') {
|
|
1927
|
-
const validateError = validate$
|
|
1927
|
+
const validateError = validate$1O(input);
|
|
1928
1928
|
if (validateError !== null) {
|
|
1929
1929
|
throw validateError;
|
|
1930
1930
|
}
|
|
@@ -2008,7 +2008,7 @@ function toSortedStringArray(value) {
|
|
|
2008
2008
|
}
|
|
2009
2009
|
|
|
2010
2010
|
const VERSION$1b = "d1e589a127fb1060c89070cdb6f500b2";
|
|
2011
|
-
function validate$
|
|
2011
|
+
function validate$1N(obj, path = 'RecordTypeInfoRepresentation') {
|
|
2012
2012
|
const v_error = (() => {
|
|
2013
2013
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2014
2014
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2100,7 +2100,7 @@ function equals$10(existing, incoming) {
|
|
|
2100
2100
|
}
|
|
2101
2101
|
|
|
2102
2102
|
const VERSION$1a = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
2103
|
-
function validate$
|
|
2103
|
+
function validate$1M(obj, path = 'FieldValueRepresentation') {
|
|
2104
2104
|
const v_error = (() => {
|
|
2105
2105
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2106
2106
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2247,7 +2247,7 @@ function equals$$(existing, incoming) {
|
|
|
2247
2247
|
}
|
|
2248
2248
|
const ingest$N = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2249
2249
|
if (process.env.NODE_ENV !== 'production') {
|
|
2250
|
-
const validateError = validate$
|
|
2250
|
+
const validateError = validate$1M(input);
|
|
2251
2251
|
if (validateError !== null) {
|
|
2252
2252
|
throw validateError;
|
|
2253
2253
|
}
|
|
@@ -2298,7 +2298,7 @@ const getTypeCacheKeys$U = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
2298
2298
|
|
|
2299
2299
|
const TTL$z = 120000;
|
|
2300
2300
|
const VERSION$19 = "79cb5ac9f44542f683d00245fdfe500d";
|
|
2301
|
-
function validate$
|
|
2301
|
+
function validate$1L(obj, path = 'RecordCollectionRepresentation') {
|
|
2302
2302
|
const v_error = (() => {
|
|
2303
2303
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2304
2304
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2571,7 +2571,7 @@ function equals$_(existing, incoming) {
|
|
|
2571
2571
|
}
|
|
2572
2572
|
const ingest$M = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2573
2573
|
if (process.env.NODE_ENV !== 'production') {
|
|
2574
|
-
const validateError = validate$
|
|
2574
|
+
const validateError = validate$1L(input);
|
|
2575
2575
|
if (validateError !== null) {
|
|
2576
2576
|
throw validateError;
|
|
2577
2577
|
}
|
|
@@ -2607,7 +2607,7 @@ const keyBuilderFromType$B = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
2607
2607
|
|
|
2608
2608
|
const TTL$y = 30000;
|
|
2609
2609
|
const VERSION$18 = "98c5b18512e48ca8d28727549507e4ba";
|
|
2610
|
-
function validate$
|
|
2610
|
+
function validate$1K(obj, path = 'RecordRepresentation') {
|
|
2611
2611
|
const v_error = (() => {
|
|
2612
2612
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2613
2613
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2737,7 +2737,7 @@ function validate$1J(obj, path = 'RecordRepresentation') {
|
|
|
2737
2737
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
2738
2738
|
let obj_recordTypeInfo_union0 = null;
|
|
2739
2739
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
2740
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
2740
|
+
const referencepath_recordTypeInfoValidationError = validate$1N(obj_recordTypeInfo, path_recordTypeInfo);
|
|
2741
2741
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
2742
2742
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
2743
2743
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5387,7 +5387,7 @@ function normalize$L(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
5387
5387
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
5388
5388
|
return (input, path, luvio, store, timestamp) => {
|
|
5389
5389
|
if (process.env.NODE_ENV !== 'production') {
|
|
5390
|
-
const validateError = validate$
|
|
5390
|
+
const validateError = validate$1M(input);
|
|
5391
5391
|
if (validateError !== null) {
|
|
5392
5392
|
throw validateError;
|
|
5393
5393
|
}
|
|
@@ -5480,7 +5480,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
5480
5480
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
5481
5481
|
return (input, path, luvio, store, timestamp) => {
|
|
5482
5482
|
if (process.env.NODE_ENV !== 'production') {
|
|
5483
|
-
const validateError = validate$
|
|
5483
|
+
const validateError = validate$1K(input);
|
|
5484
5484
|
if (validateError !== null) {
|
|
5485
5485
|
throw validateError;
|
|
5486
5486
|
}
|
|
@@ -5509,6 +5509,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
5509
5509
|
representationName: RepresentationType$S,
|
|
5510
5510
|
namespace: keyPrefix,
|
|
5511
5511
|
version: VERSION$18,
|
|
5512
|
+
ingestionTimestamp: timestamp,
|
|
5512
5513
|
});
|
|
5513
5514
|
return createLink(key);
|
|
5514
5515
|
};
|
|
@@ -5734,17 +5735,19 @@ function onResourceError(luvio, config, key, err) {
|
|
|
5734
5735
|
function buildNetworkSnapshot$13(luvio, config, serverRequestCount = 0, options) {
|
|
5735
5736
|
const { request, key, allTrackedFields, resourceParams } = prepareRequest$6(luvio, config);
|
|
5736
5737
|
return luvio.dispatchResourceRequest(request, options).then((response) => {
|
|
5738
|
+
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
5739
|
+
// Komaci - a batch record request with a single record followed by a single
|
|
5740
|
+
// record request. The fulfill logic sends the same network response, so
|
|
5741
|
+
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
5742
|
+
//
|
|
5743
|
+
// W-14381091 - Ensure hoisting the response body happens prior to
|
|
5744
|
+
// calling `luvio.handleSuccessResponse`, since both arguments capture
|
|
5745
|
+
// the response.
|
|
5746
|
+
if (isSingleBatchRecordResponse(response.body)) {
|
|
5747
|
+
response.body = response.body.results[0]
|
|
5748
|
+
.result;
|
|
5749
|
+
}
|
|
5737
5750
|
return luvio.handleSuccessResponse(() => {
|
|
5738
|
-
// W-11964675 - Condition to dedupe a very specific set of requests for
|
|
5739
|
-
// Komaci - a batch record request with a single record followed by a single
|
|
5740
|
-
// record request. The fulfill logic sends the same network response, so
|
|
5741
|
-
// there is some TypeScript massaging to extract the RecordRepresentation
|
|
5742
|
-
if (isSingleBatchRecordResponse(response.body)) {
|
|
5743
|
-
let recordResponse = response;
|
|
5744
|
-
recordResponse.body = response.body.results[0]
|
|
5745
|
-
.result;
|
|
5746
|
-
return onResourceSuccess(luvio, config, key, allTrackedFields, recordResponse, serverRequestCount + 1);
|
|
5747
|
-
}
|
|
5748
5751
|
return onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount + 1);
|
|
5749
5752
|
}, () => {
|
|
5750
5753
|
const cache = new StoreKeyMap();
|
|
@@ -6326,7 +6329,7 @@ function tokenForAtMost(paginationMetadata, maxOffset) {
|
|
|
6326
6329
|
|
|
6327
6330
|
const TTL$x = 30000;
|
|
6328
6331
|
const VERSION$16 = "b8270d0d7a5953587f98a9625cad85db";
|
|
6329
|
-
function validate$
|
|
6332
|
+
function validate$1J(obj, path = 'ListRecordCollectionRepresentation') {
|
|
6330
6333
|
const v_error = (() => {
|
|
6331
6334
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6332
6335
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6386,7 +6389,7 @@ function validate$1I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
6386
6389
|
}
|
|
6387
6390
|
const obj_listReference = obj.listReference;
|
|
6388
6391
|
const path_listReference = path + '.listReference';
|
|
6389
|
-
const referencepath_listReferenceValidationError = validate$
|
|
6392
|
+
const referencepath_listReferenceValidationError = validate$1Z(obj_listReference, path_listReference);
|
|
6390
6393
|
if (referencepath_listReferenceValidationError !== null) {
|
|
6391
6394
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
6392
6395
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6925,7 +6928,7 @@ function equals$Y(existing, incoming) {
|
|
|
6925
6928
|
}
|
|
6926
6929
|
const ingest$K = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6927
6930
|
if (process.env.NODE_ENV !== 'production') {
|
|
6928
|
-
const validateError = validate$
|
|
6931
|
+
const validateError = validate$1J(input);
|
|
6929
6932
|
if (validateError !== null) {
|
|
6930
6933
|
throw validateError;
|
|
6931
6934
|
}
|
|
@@ -6993,6 +6996,7 @@ const ingest$K = function ListRecordCollectionRepresentationIngest(input, path,
|
|
|
6993
6996
|
namespace: "UiApi",
|
|
6994
6997
|
version: VERSION$16,
|
|
6995
6998
|
representationName: RepresentationType$R,
|
|
6999
|
+
ingestionTimestamp: timestamp,
|
|
6996
7000
|
};
|
|
6997
7001
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
6998
7002
|
}
|
|
@@ -7018,7 +7022,7 @@ function getTypeCacheKeys$R(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7018
7022
|
}
|
|
7019
7023
|
|
|
7020
7024
|
const VERSION$15 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
7021
|
-
function validate$
|
|
7025
|
+
function validate$1I(obj, path = 'ListUiRepresentation') {
|
|
7022
7026
|
const v_error = (() => {
|
|
7023
7027
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7024
7028
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7124,7 +7128,7 @@ function equals$X(existing, incoming) {
|
|
|
7124
7128
|
}
|
|
7125
7129
|
const ingest$J = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7126
7130
|
if (process.env.NODE_ENV !== 'production') {
|
|
7127
|
-
const validateError = validate$
|
|
7131
|
+
const validateError = validate$1I(input);
|
|
7128
7132
|
if (validateError !== null) {
|
|
7129
7133
|
throw validateError;
|
|
7130
7134
|
}
|
|
@@ -7664,7 +7668,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
7664
7668
|
}
|
|
7665
7669
|
|
|
7666
7670
|
const VERSION$14 = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
7667
|
-
function validate$
|
|
7671
|
+
function validate$1H(obj, path = 'ListViewSummaryRepresentation') {
|
|
7668
7672
|
const v_error = (() => {
|
|
7669
7673
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7670
7674
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7776,7 +7780,7 @@ function equals$W(existing, incoming) {
|
|
|
7776
7780
|
}
|
|
7777
7781
|
const ingest$I = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7778
7782
|
if (process.env.NODE_ENV !== 'production') {
|
|
7779
|
-
const validateError = validate$
|
|
7783
|
+
const validateError = validate$1H(input);
|
|
7780
7784
|
if (validateError !== null) {
|
|
7781
7785
|
throw validateError;
|
|
7782
7786
|
}
|
|
@@ -7797,7 +7801,7 @@ function getTypeCacheKeys$P(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7797
7801
|
}
|
|
7798
7802
|
|
|
7799
7803
|
const VERSION$13 = "f4c79fe066da3558499d5ee88c72abcd";
|
|
7800
|
-
function validate$
|
|
7804
|
+
function validate$1G(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
7801
7805
|
const v_error = (() => {
|
|
7802
7806
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7803
7807
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8181,7 +8185,7 @@ function equals$V(existing, incoming) {
|
|
|
8181
8185
|
}
|
|
8182
8186
|
const ingest$H = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8183
8187
|
if (process.env.NODE_ENV !== 'production') {
|
|
8184
|
-
const validateError = validate$
|
|
8188
|
+
const validateError = validate$1G(input);
|
|
8185
8189
|
if (validateError !== null) {
|
|
8186
8190
|
throw validateError;
|
|
8187
8191
|
}
|
|
@@ -8249,6 +8253,7 @@ const ingest$H = function ListViewSummaryCollectionRepresentationIngest(input, p
|
|
|
8249
8253
|
namespace: "UiApi",
|
|
8250
8254
|
version: VERSION$13,
|
|
8251
8255
|
representationName: RepresentationType$O,
|
|
8256
|
+
ingestionTimestamp: timestamp,
|
|
8252
8257
|
};
|
|
8253
8258
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
8254
8259
|
}
|
|
@@ -9345,7 +9350,7 @@ const factory$h = (luvio) => {
|
|
|
9345
9350
|
}, { contextId: contextId$5 });
|
|
9346
9351
|
};
|
|
9347
9352
|
|
|
9348
|
-
function validate$
|
|
9353
|
+
function validate$1F(obj, path = 'ChildRelationshipRepresentation') {
|
|
9349
9354
|
const v_error = (() => {
|
|
9350
9355
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9351
9356
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9393,7 +9398,7 @@ function validate$1E(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
9393
9398
|
return v_error === undefined ? null : v_error;
|
|
9394
9399
|
}
|
|
9395
9400
|
|
|
9396
|
-
function validate$
|
|
9401
|
+
function validate$1E(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
9397
9402
|
const v_error = (() => {
|
|
9398
9403
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9399
9404
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9424,7 +9429,7 @@ function validate$1D(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
9424
9429
|
return v_error === undefined ? null : v_error;
|
|
9425
9430
|
}
|
|
9426
9431
|
|
|
9427
|
-
function validate$
|
|
9432
|
+
function validate$1D(obj, path = 'ReferenceToInfoRepresentation') {
|
|
9428
9433
|
const v_error = (() => {
|
|
9429
9434
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9430
9435
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9450,7 +9455,7 @@ function validate$1C(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
9450
9455
|
return v_error === undefined ? null : v_error;
|
|
9451
9456
|
}
|
|
9452
9457
|
|
|
9453
|
-
function validate$
|
|
9458
|
+
function validate$1C(obj, path = 'FieldRepresentation') {
|
|
9454
9459
|
const v_error = (() => {
|
|
9455
9460
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9456
9461
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9610,7 +9615,7 @@ function validate$1B(obj, path = 'FieldRepresentation') {
|
|
|
9610
9615
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
9611
9616
|
let obj_filteredLookupInfo_union0 = null;
|
|
9612
9617
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
9613
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
9618
|
+
const referencepath_filteredLookupInfoValidationError = validate$1E(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
9614
9619
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
9615
9620
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
9616
9621
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9735,7 +9740,7 @@ function validate$1B(obj, path = 'FieldRepresentation') {
|
|
|
9735
9740
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
9736
9741
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
9737
9742
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
9738
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
9743
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1D(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
9739
9744
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
9740
9745
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
9741
9746
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9802,7 +9807,7 @@ function validate$1B(obj, path = 'FieldRepresentation') {
|
|
|
9802
9807
|
return v_error === undefined ? null : v_error;
|
|
9803
9808
|
}
|
|
9804
9809
|
|
|
9805
|
-
function validate$
|
|
9810
|
+
function validate$1B(obj, path = 'ThemeInfoRepresentation') {
|
|
9806
9811
|
const v_error = (() => {
|
|
9807
9812
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9808
9813
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9844,7 +9849,7 @@ function validate$1A(obj, path = 'ThemeInfoRepresentation') {
|
|
|
9844
9849
|
|
|
9845
9850
|
const TTL$w = 900000;
|
|
9846
9851
|
const VERSION$12 = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
9847
|
-
function validate$
|
|
9852
|
+
function validate$1A(obj, path = 'ObjectInfoRepresentation') {
|
|
9848
9853
|
const v_error = (() => {
|
|
9849
9854
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9850
9855
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9914,7 +9919,7 @@ function validate$1z(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9914
9919
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
9915
9920
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
9916
9921
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
9917
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
9922
|
+
const referencepath_childRelationships_itemValidationError = validate$1F(obj_childRelationships_item, path_childRelationships_item);
|
|
9918
9923
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
9919
9924
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
9920
9925
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9996,7 +10001,7 @@ function validate$1z(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9996
10001
|
const key = obj_fields_keys[i];
|
|
9997
10002
|
const obj_fields_prop = obj_fields[key];
|
|
9998
10003
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
9999
|
-
const referencepath_fields_propValidationError = validate$
|
|
10004
|
+
const referencepath_fields_propValidationError = validate$1C(obj_fields_prop, path_fields_prop);
|
|
10000
10005
|
if (referencepath_fields_propValidationError !== null) {
|
|
10001
10006
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
10002
10007
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10076,7 +10081,7 @@ function validate$1z(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10076
10081
|
const key = obj_recordTypeInfos_keys[i];
|
|
10077
10082
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
10078
10083
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
10079
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
10084
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1N(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
10080
10085
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
10081
10086
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
10082
10087
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10092,7 +10097,7 @@ function validate$1z(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10092
10097
|
const path_themeInfo = path + '.themeInfo';
|
|
10093
10098
|
let obj_themeInfo_union0 = null;
|
|
10094
10099
|
const obj_themeInfo_union0_error = (() => {
|
|
10095
|
-
const referencepath_themeInfoValidationError = validate$
|
|
10100
|
+
const referencepath_themeInfoValidationError = validate$1B(obj_themeInfo, path_themeInfo);
|
|
10096
10101
|
if (referencepath_themeInfoValidationError !== null) {
|
|
10097
10102
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
10098
10103
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10251,7 +10256,7 @@ function equals$U(existing, incoming) {
|
|
|
10251
10256
|
}
|
|
10252
10257
|
const ingest$G = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10253
10258
|
if (process.env.NODE_ENV !== 'production') {
|
|
10254
|
-
const validateError = validate$
|
|
10259
|
+
const validateError = validate$1A(input);
|
|
10255
10260
|
if (validateError !== null) {
|
|
10256
10261
|
throw validateError;
|
|
10257
10262
|
}
|
|
@@ -10412,7 +10417,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
10412
10417
|
buildCachedSnapshotCachePolicy$L, buildNetworkSnapshotCachePolicy$M);
|
|
10413
10418
|
};
|
|
10414
10419
|
|
|
10415
|
-
function validate$
|
|
10420
|
+
function validate$1z(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
10416
10421
|
const v_error = (() => {
|
|
10417
10422
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10418
10423
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10460,7 +10465,7 @@ var DiscriminatorValues$5;
|
|
|
10460
10465
|
DiscriminatorValues["Field"] = "Field";
|
|
10461
10466
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
10462
10467
|
})(DiscriminatorValues$5 || (DiscriminatorValues$5 = {}));
|
|
10463
|
-
function validate$
|
|
10468
|
+
function validate$1y(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
10464
10469
|
const v_error = (() => {
|
|
10465
10470
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10466
10471
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10500,7 +10505,7 @@ function validate$1x(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
10500
10505
|
return v_error === undefined ? null : v_error;
|
|
10501
10506
|
}
|
|
10502
10507
|
|
|
10503
|
-
function validate$
|
|
10508
|
+
function validate$1x(obj, path = 'RecordLayoutItemRepresentation') {
|
|
10504
10509
|
const v_error = (() => {
|
|
10505
10510
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10506
10511
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10528,7 +10533,7 @@ function validate$1w(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10528
10533
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
10529
10534
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
10530
10535
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
10531
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
10536
|
+
const referencepath_layoutComponents_itemValidationError = validate$1y(obj_layoutComponents_item, path_layoutComponents_item);
|
|
10532
10537
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
10533
10538
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
10534
10539
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10575,7 +10580,7 @@ function validate$1w(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10575
10580
|
return v_error === undefined ? null : v_error;
|
|
10576
10581
|
}
|
|
10577
10582
|
|
|
10578
|
-
function validate$
|
|
10583
|
+
function validate$1w(obj, path = 'RecordLayoutRowRepresentation') {
|
|
10579
10584
|
const v_error = (() => {
|
|
10580
10585
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10581
10586
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10588,7 +10593,7 @@ function validate$1v(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10588
10593
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
10589
10594
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
10590
10595
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
10591
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
10596
|
+
const referencepath_layoutItems_itemValidationError = validate$1x(obj_layoutItems_item, path_layoutItems_item);
|
|
10592
10597
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
10593
10598
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
10594
10599
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10599,7 +10604,7 @@ function validate$1v(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10599
10604
|
return v_error === undefined ? null : v_error;
|
|
10600
10605
|
}
|
|
10601
10606
|
|
|
10602
|
-
function validate$
|
|
10607
|
+
function validate$1v(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
10603
10608
|
const v_error = (() => {
|
|
10604
10609
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10605
10610
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10674,7 +10679,7 @@ function validate$1u(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10674
10679
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
10675
10680
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
10676
10681
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
10677
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
10682
|
+
const referencepath_layoutRows_itemValidationError = validate$1w(obj_layoutRows_item, path_layoutRows_item);
|
|
10678
10683
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
10679
10684
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
10680
10685
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10697,7 +10702,7 @@ function validate$1u(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10697
10702
|
|
|
10698
10703
|
const TTL$v = 900000;
|
|
10699
10704
|
const VERSION$11 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
10700
|
-
function validate$
|
|
10705
|
+
function validate$1u(obj, path = 'RecordLayoutRepresentation') {
|
|
10701
10706
|
const v_error = (() => {
|
|
10702
10707
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10703
10708
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10803,7 +10808,7 @@ function validate$1t(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10803
10808
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
10804
10809
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
10805
10810
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
10806
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
10811
|
+
const referencepath_saveOptions_itemValidationError = validate$1z(obj_saveOptions_item, path_saveOptions_item);
|
|
10807
10812
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
10808
10813
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
10809
10814
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10818,7 +10823,7 @@ function validate$1t(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10818
10823
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
10819
10824
|
const obj_sections_item = obj_sections[i];
|
|
10820
10825
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
10821
|
-
const referencepath_sections_itemValidationError = validate$
|
|
10826
|
+
const referencepath_sections_itemValidationError = validate$1v(obj_sections_item, path_sections_item);
|
|
10822
10827
|
if (referencepath_sections_itemValidationError !== null) {
|
|
10823
10828
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
10824
10829
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10893,7 +10898,7 @@ function equals$T(existing, incoming) {
|
|
|
10893
10898
|
}
|
|
10894
10899
|
const ingest$F = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10895
10900
|
if (process.env.NODE_ENV !== 'production') {
|
|
10896
|
-
const validateError = validate$
|
|
10901
|
+
const validateError = validate$1u(input);
|
|
10897
10902
|
if (validateError !== null) {
|
|
10898
10903
|
throw validateError;
|
|
10899
10904
|
}
|
|
@@ -10935,7 +10940,7 @@ function getRecordId18Array(value) {
|
|
|
10935
10940
|
return dedupe(array).sort();
|
|
10936
10941
|
}
|
|
10937
10942
|
|
|
10938
|
-
function validate$
|
|
10943
|
+
function validate$1t(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
10939
10944
|
const v_error = (() => {
|
|
10940
10945
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10941
10946
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10956,7 +10961,7 @@ function validate$1s(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
10956
10961
|
|
|
10957
10962
|
const TTL$u = 900000;
|
|
10958
10963
|
const VERSION$10 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
10959
|
-
function validate$
|
|
10964
|
+
function validate$1s(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
10960
10965
|
const v_error = (() => {
|
|
10961
10966
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10962
10967
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10996,7 +11001,7 @@ function validate$1r(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
10996
11001
|
const key = obj_sectionUserStates_keys[i];
|
|
10997
11002
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
10998
11003
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
10999
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
11004
|
+
const referencepath_sectionUserStates_propValidationError = validate$1t(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
11000
11005
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
11001
11006
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
11002
11007
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11053,7 +11058,7 @@ function equals$S(existing, incoming) {
|
|
|
11053
11058
|
}
|
|
11054
11059
|
const ingest$E = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11055
11060
|
if (process.env.NODE_ENV !== 'production') {
|
|
11056
|
-
const validateError = validate$
|
|
11061
|
+
const validateError = validate$1s(input);
|
|
11057
11062
|
if (validateError !== null) {
|
|
11058
11063
|
throw validateError;
|
|
11059
11064
|
}
|
|
@@ -11075,7 +11080,7 @@ function getTypeCacheKeys$L(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
11075
11080
|
|
|
11076
11081
|
const TTL$t = 900000;
|
|
11077
11082
|
const VERSION$$ = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
11078
|
-
function validate$
|
|
11083
|
+
function validate$1r(obj, path = 'RecordUiRepresentation') {
|
|
11079
11084
|
const v_error = (() => {
|
|
11080
11085
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11081
11086
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11337,7 +11342,7 @@ function equals$R(existing, incoming) {
|
|
|
11337
11342
|
}
|
|
11338
11343
|
const ingest$D = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11339
11344
|
if (process.env.NODE_ENV !== 'production') {
|
|
11340
|
-
const validateError = validate$
|
|
11345
|
+
const validateError = validate$1r(input);
|
|
11341
11346
|
if (validateError !== null) {
|
|
11342
11347
|
throw validateError;
|
|
11343
11348
|
}
|
|
@@ -11978,7 +11983,7 @@ function getLayoutMapAndObjectInfo(recordId, data) {
|
|
|
11978
11983
|
// Temp fix until we can mimic the server behavior for non-layoutable entities.
|
|
11979
11984
|
let layoutMap = {};
|
|
11980
11985
|
if (hasOwnProperty.call(layouts, apiName)) {
|
|
11981
|
-
layoutMap = layouts[apiName][recordTypeId];
|
|
11986
|
+
layoutMap = layouts[apiName][recordTypeId] || {};
|
|
11982
11987
|
}
|
|
11983
11988
|
return {
|
|
11984
11989
|
layoutMap,
|
|
@@ -12469,7 +12474,7 @@ const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
|
12469
12474
|
};
|
|
12470
12475
|
|
|
12471
12476
|
const VERSION$_ = "4aa37812ee37c752a099b29026217c85";
|
|
12472
|
-
function validate$
|
|
12477
|
+
function validate$1q(obj, path = 'ObjectInfoDirectoryEntryRepresentation') {
|
|
12473
12478
|
const v_error = (() => {
|
|
12474
12479
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12475
12480
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12622,7 +12627,7 @@ function equals$Q(existing, incoming) {
|
|
|
12622
12627
|
}
|
|
12623
12628
|
const ingest$C = function ObjectInfoDirectoryEntryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12624
12629
|
if (process.env.NODE_ENV !== 'production') {
|
|
12625
|
-
const validateError = validate$
|
|
12630
|
+
const validateError = validate$1q(input);
|
|
12626
12631
|
if (validateError !== null) {
|
|
12627
12632
|
throw validateError;
|
|
12628
12633
|
}
|
|
@@ -12643,7 +12648,7 @@ function getTypeCacheKeys$K(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12643
12648
|
}
|
|
12644
12649
|
|
|
12645
12650
|
const VERSION$Z = "37fd8c0154ee743c9defbf03e9b4b067";
|
|
12646
|
-
function validate$
|
|
12651
|
+
function validate$1p(obj, path = 'ObjectInfoDirectoryRepresentation') {
|
|
12647
12652
|
const v_error = (() => {
|
|
12648
12653
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12649
12654
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12718,7 +12723,7 @@ function equals$P(existing, incoming) {
|
|
|
12718
12723
|
}
|
|
12719
12724
|
const ingest$B = function ObjectInfoDirectoryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12720
12725
|
if (process.env.NODE_ENV !== 'production') {
|
|
12721
|
-
const validateError = validate$
|
|
12726
|
+
const validateError = validate$1p(input);
|
|
12722
12727
|
if (validateError !== null) {
|
|
12723
12728
|
throw validateError;
|
|
12724
12729
|
}
|
|
@@ -12746,7 +12751,7 @@ function getTypeCacheKeys$J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12746
12751
|
}
|
|
12747
12752
|
|
|
12748
12753
|
const VERSION$Y = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
12749
|
-
function validate$
|
|
12754
|
+
function validate$1o(obj, path = 'QuickActionExecutionRepresentation') {
|
|
12750
12755
|
const v_error = (() => {
|
|
12751
12756
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12752
12757
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12919,7 +12924,7 @@ function equals$O(existing, incoming) {
|
|
|
12919
12924
|
}
|
|
12920
12925
|
const ingest$A = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12921
12926
|
if (process.env.NODE_ENV !== 'production') {
|
|
12922
|
-
const validateError = validate$
|
|
12927
|
+
const validateError = validate$1o(input);
|
|
12923
12928
|
if (validateError !== null) {
|
|
12924
12929
|
throw validateError;
|
|
12925
12930
|
}
|
|
@@ -12941,7 +12946,7 @@ function getTypeCacheKeys$I(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
12941
12946
|
|
|
12942
12947
|
const TTL$s = 900000;
|
|
12943
12948
|
const VERSION$X = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
12944
|
-
function validate$
|
|
12949
|
+
function validate$1n(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
12945
12950
|
const v_error = (() => {
|
|
12946
12951
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12947
12952
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13120,7 +13125,7 @@ function coerceFormFactor(form) {
|
|
|
13120
13125
|
}
|
|
13121
13126
|
|
|
13122
13127
|
const VERSION$W = "3f49d751896cf66e6e29788d8880e2cc";
|
|
13123
|
-
function validate$
|
|
13128
|
+
function validate$1m(obj, path = 'PlatformActionRepresentation') {
|
|
13124
13129
|
const v_error = (() => {
|
|
13125
13130
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13126
13131
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13652,7 +13657,7 @@ function equals$M(existing, incoming) {
|
|
|
13652
13657
|
}
|
|
13653
13658
|
const ingest$z = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13654
13659
|
if (process.env.NODE_ENV !== 'production') {
|
|
13655
|
-
const validateError = validate$
|
|
13660
|
+
const validateError = validate$1m(input);
|
|
13656
13661
|
if (validateError !== null) {
|
|
13657
13662
|
throw validateError;
|
|
13658
13663
|
}
|
|
@@ -13673,7 +13678,7 @@ function getTypeCacheKeys$G(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13673
13678
|
}
|
|
13674
13679
|
|
|
13675
13680
|
const VERSION$V = "378d506f563a4bd724b322d440df33d1";
|
|
13676
|
-
function validate$
|
|
13681
|
+
function validate$1l(obj, path = 'EntityActionRepresentation') {
|
|
13677
13682
|
const v_error = (() => {
|
|
13678
13683
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13679
13684
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13787,7 +13792,7 @@ function equals$L(existing, incoming) {
|
|
|
13787
13792
|
}
|
|
13788
13793
|
const ingest$y = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13789
13794
|
if (process.env.NODE_ENV !== 'production') {
|
|
13790
|
-
const validateError = validate$
|
|
13795
|
+
const validateError = validate$1l(input);
|
|
13791
13796
|
if (validateError !== null) {
|
|
13792
13797
|
throw validateError;
|
|
13793
13798
|
}
|
|
@@ -13813,7 +13818,7 @@ function getTypeCacheKeys$F(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13813
13818
|
|
|
13814
13819
|
const TTL$r = 300000;
|
|
13815
13820
|
const VERSION$U = "e485d96c1402a9ca2f56e56485af0216";
|
|
13816
|
-
function validate$
|
|
13821
|
+
function validate$1k(obj, path = 'ActionRepresentation') {
|
|
13817
13822
|
const v_error = (() => {
|
|
13818
13823
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13819
13824
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13911,7 +13916,7 @@ function equals$K(existing, incoming) {
|
|
|
13911
13916
|
}
|
|
13912
13917
|
const ingest$x = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13913
13918
|
if (process.env.NODE_ENV !== 'production') {
|
|
13914
|
-
const validateError = validate$
|
|
13919
|
+
const validateError = validate$1k(input);
|
|
13915
13920
|
if (validateError !== null) {
|
|
13916
13921
|
throw validateError;
|
|
13917
13922
|
}
|
|
@@ -14083,7 +14088,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
14083
14088
|
|
|
14084
14089
|
const TTL$q = 900000;
|
|
14085
14090
|
const VERSION$T = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
14086
|
-
function validate$
|
|
14091
|
+
function validate$1j(obj, path = 'QuickActionLayoutRepresentation') {
|
|
14087
14092
|
const v_error = (() => {
|
|
14088
14093
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14089
14094
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14100,7 +14105,7 @@ function validate$1i(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
14100
14105
|
}
|
|
14101
14106
|
const obj_layout = obj.layout;
|
|
14102
14107
|
const path_layout = path + '.layout';
|
|
14103
|
-
const referencepath_layoutValidationError = validate$
|
|
14108
|
+
const referencepath_layoutValidationError = validate$1u(obj_layout, path_layout);
|
|
14104
14109
|
if (referencepath_layoutValidationError !== null) {
|
|
14105
14110
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
14106
14111
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14150,7 +14155,7 @@ function equals$J(existing, incoming) {
|
|
|
14150
14155
|
}
|
|
14151
14156
|
const ingest$w = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14152
14157
|
if (process.env.NODE_ENV !== 'production') {
|
|
14153
|
-
const validateError = validate$
|
|
14158
|
+
const validateError = validate$1j(input);
|
|
14154
14159
|
if (validateError !== null) {
|
|
14155
14160
|
throw validateError;
|
|
14156
14161
|
}
|
|
@@ -14627,7 +14632,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
14627
14632
|
};
|
|
14628
14633
|
|
|
14629
14634
|
const VERSION$S = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
14630
|
-
function validate$
|
|
14635
|
+
function validate$1i(obj, path = 'ActionOverrideRepresentation') {
|
|
14631
14636
|
const v_error = (() => {
|
|
14632
14637
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14633
14638
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14660,7 +14665,7 @@ function equals$I(existing, incoming) {
|
|
|
14660
14665
|
}
|
|
14661
14666
|
const ingest$v = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14662
14667
|
if (process.env.NODE_ENV !== 'production') {
|
|
14663
|
-
const validateError = validate$
|
|
14668
|
+
const validateError = validate$1i(input);
|
|
14664
14669
|
if (validateError !== null) {
|
|
14665
14670
|
throw validateError;
|
|
14666
14671
|
}
|
|
@@ -14815,7 +14820,7 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
|
|
|
14815
14820
|
buildCachedSnapshotCachePolicy$G, buildNetworkSnapshotCachePolicy$H);
|
|
14816
14821
|
};
|
|
14817
14822
|
|
|
14818
|
-
function validate$
|
|
14823
|
+
function validate$1h(obj, path = 'FormulaOverridesInfoRepresentation') {
|
|
14819
14824
|
const v_error = (() => {
|
|
14820
14825
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14821
14826
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14853,7 +14858,7 @@ function validate$1g(obj, path = 'FormulaOverridesInfoRepresentation') {
|
|
|
14853
14858
|
|
|
14854
14859
|
const TTL$p = 300000;
|
|
14855
14860
|
const VERSION$R = "c57b66c259b23683db7b763e132e8633";
|
|
14856
|
-
function validate$
|
|
14861
|
+
function validate$1g(obj, path = 'FlexipageFormulaActivationRepresentation') {
|
|
14857
14862
|
const v_error = (() => {
|
|
14858
14863
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14859
14864
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14874,7 +14879,7 @@ function validate$1f(obj, path = 'FlexipageFormulaActivationRepresentation') {
|
|
|
14874
14879
|
for (let i = 0; i < obj_activations_prop.length; i++) {
|
|
14875
14880
|
const obj_activations_prop_item = obj_activations_prop[i];
|
|
14876
14881
|
const path_activations_prop_item = path_activations_prop + '[' + i + ']';
|
|
14877
|
-
const referencepath_activations_prop_itemValidationError = validate$
|
|
14882
|
+
const referencepath_activations_prop_itemValidationError = validate$1h(obj_activations_prop_item, path_activations_prop_item);
|
|
14878
14883
|
if (referencepath_activations_prop_itemValidationError !== null) {
|
|
14879
14884
|
let message = 'Object doesn\'t match FormulaOverridesInfoRepresentation (at "' + path_activations_prop_item + '")\n';
|
|
14880
14885
|
message += referencepath_activations_prop_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14918,7 +14923,7 @@ function equals$H(existing, incoming) {
|
|
|
14918
14923
|
}
|
|
14919
14924
|
const ingest$u = function FlexipageFormulaActivationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14920
14925
|
if (process.env.NODE_ENV !== 'production') {
|
|
14921
|
-
const validateError = validate$
|
|
14926
|
+
const validateError = validate$1g(input);
|
|
14922
14927
|
if (validateError !== null) {
|
|
14923
14928
|
throw validateError;
|
|
14924
14929
|
}
|
|
@@ -15101,7 +15106,7 @@ function merge$1(existing, incoming) {
|
|
|
15101
15106
|
const dynamicIngest$4 = (ingestParams) => {
|
|
15102
15107
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15103
15108
|
if (process.env.NODE_ENV !== 'production') {
|
|
15104
|
-
const validateError = validate$
|
|
15109
|
+
const validateError = validate$1n(input);
|
|
15105
15110
|
if (validateError !== null) {
|
|
15106
15111
|
throw validateError;
|
|
15107
15112
|
}
|
|
@@ -15117,7 +15122,10 @@ const dynamicIngest$4 = (ingestParams) => {
|
|
|
15117
15122
|
if (existingRecord === undefined || equals$N(existingRecord, incomingRecord) === false) {
|
|
15118
15123
|
luvio.storePublish(key, incomingRecord);
|
|
15119
15124
|
}
|
|
15120
|
-
luvio.publishStoreMetadata(key,
|
|
15125
|
+
luvio.publishStoreMetadata(key, {
|
|
15126
|
+
...QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS,
|
|
15127
|
+
ingestionTimestamp: timestamp,
|
|
15128
|
+
});
|
|
15121
15129
|
return createLink(key);
|
|
15122
15130
|
};
|
|
15123
15131
|
};
|
|
@@ -15610,7 +15618,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
15610
15618
|
buildCachedSnapshotCachePolicy$C, buildNetworkSnapshotCachePolicy$D);
|
|
15611
15619
|
};
|
|
15612
15620
|
|
|
15613
|
-
function validate$
|
|
15621
|
+
function validate$1f(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
15614
15622
|
const v_error = (() => {
|
|
15615
15623
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15616
15624
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16036,7 +16044,7 @@ function typeCheckConfig$R(untrustedConfig) {
|
|
|
16036
16044
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
16037
16045
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
16038
16046
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
16039
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
16047
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1f(untrustedConfig_relatedListsActionParameters_item);
|
|
16040
16048
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
16041
16049
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
16042
16050
|
}
|
|
@@ -16354,7 +16362,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
16354
16362
|
};
|
|
16355
16363
|
|
|
16356
16364
|
const VERSION$Q = "a316b3bba367f54adc67d7552ed7d36d";
|
|
16357
|
-
function validate$
|
|
16365
|
+
function validate$1e(obj, path = 'PageReferenceRepresentation') {
|
|
16358
16366
|
const v_error = (() => {
|
|
16359
16367
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16360
16368
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16415,7 +16423,7 @@ function equals$G(existing, incoming) {
|
|
|
16415
16423
|
}
|
|
16416
16424
|
const ingest$t = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16417
16425
|
if (process.env.NODE_ENV !== 'production') {
|
|
16418
|
-
const validateError = validate$
|
|
16426
|
+
const validateError = validate$1e(input);
|
|
16419
16427
|
if (validateError !== null) {
|
|
16420
16428
|
throw validateError;
|
|
16421
16429
|
}
|
|
@@ -16437,7 +16445,7 @@ function getTypeCacheKeys$A(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16437
16445
|
|
|
16438
16446
|
const TTL$o = 120000;
|
|
16439
16447
|
const VERSION$P = "09884ca5bf90ea4662092a4e48817081";
|
|
16440
|
-
function validate$
|
|
16448
|
+
function validate$1d(obj, path = 'NavItemRepresentation') {
|
|
16441
16449
|
const v_error = (() => {
|
|
16442
16450
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16443
16451
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16829,7 +16837,7 @@ function equals$F(existing, incoming) {
|
|
|
16829
16837
|
}
|
|
16830
16838
|
const ingest$s = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16831
16839
|
if (process.env.NODE_ENV !== 'production') {
|
|
16832
|
-
const validateError = validate$
|
|
16840
|
+
const validateError = validate$1d(input);
|
|
16833
16841
|
if (validateError !== null) {
|
|
16834
16842
|
throw validateError;
|
|
16835
16843
|
}
|
|
@@ -16854,7 +16862,7 @@ function getTypeCacheKeys$z(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16854
16862
|
|
|
16855
16863
|
const TTL$n = 300000;
|
|
16856
16864
|
const VERSION$O = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
16857
|
-
function validate$
|
|
16865
|
+
function validate$1c(obj, path = 'AppRepresentation') {
|
|
16858
16866
|
const v_error = (() => {
|
|
16859
16867
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16860
16868
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17296,7 +17304,7 @@ function equals$E(existing, incoming) {
|
|
|
17296
17304
|
}
|
|
17297
17305
|
const ingest$r = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17298
17306
|
if (process.env.NODE_ENV !== 'production') {
|
|
17299
|
-
const validateError = validate$
|
|
17307
|
+
const validateError = validate$1c(input);
|
|
17300
17308
|
if (validateError !== null) {
|
|
17301
17309
|
throw validateError;
|
|
17302
17310
|
}
|
|
@@ -17326,7 +17334,7 @@ function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17326
17334
|
|
|
17327
17335
|
const TTL$m = 300000;
|
|
17328
17336
|
const VERSION$N = "a254babf0b6414315db7808a157fd9fc";
|
|
17329
|
-
function validate$
|
|
17337
|
+
function validate$1b(obj, path = 'AppsRepresentation') {
|
|
17330
17338
|
const v_error = (() => {
|
|
17331
17339
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17332
17340
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17408,7 +17416,7 @@ function equals$D(existing, incoming) {
|
|
|
17408
17416
|
}
|
|
17409
17417
|
const ingest$q = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17410
17418
|
if (process.env.NODE_ENV !== 'production') {
|
|
17411
|
-
const validateError = validate$
|
|
17419
|
+
const validateError = validate$1b(input);
|
|
17412
17420
|
if (validateError !== null) {
|
|
17413
17421
|
throw validateError;
|
|
17414
17422
|
}
|
|
@@ -17716,7 +17724,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
17716
17724
|
};
|
|
17717
17725
|
|
|
17718
17726
|
const VERSION$M = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
17719
|
-
function validate$
|
|
17727
|
+
function validate$1a(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
17720
17728
|
const v_error = (() => {
|
|
17721
17729
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17722
17730
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17778,7 +17786,7 @@ const select$1a = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
17778
17786
|
};
|
|
17779
17787
|
|
|
17780
17788
|
const VERSION$L = "320d7f254687278f2763d4b490dab3fb";
|
|
17781
|
-
function validate$
|
|
17789
|
+
function validate$19(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
17782
17790
|
const v_error = (() => {
|
|
17783
17791
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17784
17792
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17801,7 +17809,7 @@ function validate$18(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
17801
17809
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
17802
17810
|
const obj_filterItems_item = obj_filterItems[i];
|
|
17803
17811
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
17804
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
17812
|
+
const referencepath_filterItems_itemValidationError = validate$1a(obj_filterItems_item, path_filterItems_item);
|
|
17805
17813
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
17806
17814
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
17807
17815
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17844,7 +17852,7 @@ const select$19 = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
17844
17852
|
};
|
|
17845
17853
|
|
|
17846
17854
|
const VERSION$K = "b47b44e260e5ce777beaf3da9088997c";
|
|
17847
|
-
function validate$
|
|
17855
|
+
function validate$18(obj, path = 'MatchRuleRepresentation') {
|
|
17848
17856
|
const v_error = (() => {
|
|
17849
17857
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17850
17858
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17914,7 +17922,7 @@ const select$18 = function MatchRuleRepresentationSelect() {
|
|
|
17914
17922
|
};
|
|
17915
17923
|
|
|
17916
17924
|
const VERSION$J = "bb83d7210bb1d7861b6188bc5f552617";
|
|
17917
|
-
function validate$
|
|
17925
|
+
function validate$17(obj, path = 'DuplicateRuleRepresentation') {
|
|
17918
17926
|
const v_error = (() => {
|
|
17919
17927
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17920
17928
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17942,7 +17950,7 @@ function validate$16(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
17942
17950
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
17943
17951
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
17944
17952
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
17945
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
17953
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$19(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
17946
17954
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
17947
17955
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
17948
17956
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17962,7 +17970,7 @@ function validate$16(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
17962
17970
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
17963
17971
|
const obj_matchRules_item = obj_matchRules[i];
|
|
17964
17972
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
17965
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
17973
|
+
const referencepath_matchRules_itemValidationError = validate$18(obj_matchRules_item, path_matchRules_item);
|
|
17966
17974
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
17967
17975
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
17968
17976
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18055,7 +18063,7 @@ const select$17 = function DuplicateRuleRepresentationSelect() {
|
|
|
18055
18063
|
|
|
18056
18064
|
const TTL$l = 900000;
|
|
18057
18065
|
const VERSION$I = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
18058
|
-
function validate$
|
|
18066
|
+
function validate$16(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
18059
18067
|
const v_error = (() => {
|
|
18060
18068
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18061
18069
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18090,7 +18098,7 @@ function validate$15(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
18090
18098
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
18091
18099
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
18092
18100
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
18093
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
18101
|
+
const referencepath_duplicateRules_itemValidationError = validate$17(obj_duplicateRules_item, path_duplicateRules_item);
|
|
18094
18102
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
18095
18103
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
18096
18104
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18157,7 +18165,7 @@ function equals$C(existing, incoming) {
|
|
|
18157
18165
|
}
|
|
18158
18166
|
const ingest$p = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18159
18167
|
if (process.env.NODE_ENV !== 'production') {
|
|
18160
|
-
const validateError = validate$
|
|
18168
|
+
const validateError = validate$16(input);
|
|
18161
18169
|
if (validateError !== null) {
|
|
18162
18170
|
throw validateError;
|
|
18163
18171
|
}
|
|
@@ -19098,7 +19106,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
|
|
|
19098
19106
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
19099
19107
|
};
|
|
19100
19108
|
|
|
19101
|
-
function validate$
|
|
19109
|
+
function validate$15(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
19102
19110
|
const v_error = (() => {
|
|
19103
19111
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19104
19112
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19129,7 +19137,7 @@ function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
|
19129
19137
|
return v_error === undefined ? null : v_error;
|
|
19130
19138
|
}
|
|
19131
19139
|
|
|
19132
|
-
function validate$
|
|
19140
|
+
function validate$14(obj, path = 'ListScopeInputRepresentation') {
|
|
19133
19141
|
const v_error = (() => {
|
|
19134
19142
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19135
19143
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19258,7 +19266,7 @@ function typeCheckConfig$I(untrustedConfig) {
|
|
|
19258
19266
|
const untrustedConfig_filteredByInfo_array = [];
|
|
19259
19267
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
19260
19268
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
19261
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
19269
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
19262
19270
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
19263
19271
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
19264
19272
|
}
|
|
@@ -19266,7 +19274,7 @@ function typeCheckConfig$I(untrustedConfig) {
|
|
|
19266
19274
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
19267
19275
|
}
|
|
19268
19276
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
19269
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
19277
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
19270
19278
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
19271
19279
|
config.scope = untrustedConfig_scope;
|
|
19272
19280
|
}
|
|
@@ -19548,7 +19556,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
19548
19556
|
const untrustedConfig_filteredByInfo_array = [];
|
|
19549
19557
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
19550
19558
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
19551
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
19559
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
|
|
19552
19560
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
19553
19561
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
19554
19562
|
}
|
|
@@ -19556,7 +19564,7 @@ function typeCheckConfig$F(untrustedConfig) {
|
|
|
19556
19564
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
19557
19565
|
}
|
|
19558
19566
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
19559
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
19567
|
+
const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
|
|
19560
19568
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
19561
19569
|
config.scope = untrustedConfig_scope;
|
|
19562
19570
|
}
|
|
@@ -19606,7 +19614,7 @@ const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
|
19606
19614
|
};
|
|
19607
19615
|
|
|
19608
19616
|
const VERSION$H = "d77026c4d63ef00cdd7e3d600687a40d";
|
|
19609
|
-
function validate$
|
|
19617
|
+
function validate$13(obj, path = 'ListObjectScopeAvailableEntityRepresentation') {
|
|
19610
19618
|
const v_error = (() => {
|
|
19611
19619
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19612
19620
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19656,7 +19664,7 @@ function equals$B(existing, incoming) {
|
|
|
19656
19664
|
}
|
|
19657
19665
|
|
|
19658
19666
|
const VERSION$G = "355933ff2970aa91a2848a94565e956a";
|
|
19659
|
-
function validate$
|
|
19667
|
+
function validate$12(obj, path = 'ListObjectScopeRepresentation') {
|
|
19660
19668
|
const v_error = (() => {
|
|
19661
19669
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19662
19670
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19674,7 +19682,7 @@ function validate$11(obj, path = 'ListObjectScopeRepresentation') {
|
|
|
19674
19682
|
for (let i = 0; i < obj_availableEntities.length; i++) {
|
|
19675
19683
|
const obj_availableEntities_item = obj_availableEntities[i];
|
|
19676
19684
|
const path_availableEntities_item = path_availableEntities + '[' + i + ']';
|
|
19677
|
-
const referencepath_availableEntities_itemValidationError = validate$
|
|
19685
|
+
const referencepath_availableEntities_itemValidationError = validate$13(obj_availableEntities_item, path_availableEntities_item);
|
|
19678
19686
|
if (referencepath_availableEntities_itemValidationError !== null) {
|
|
19679
19687
|
let message = 'Object doesn\'t match ListObjectScopeAvailableEntityRepresentation (at "' + path_availableEntities_item + '")\n';
|
|
19680
19688
|
message += referencepath_availableEntities_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19738,7 +19746,7 @@ function equals$A(existing, incoming) {
|
|
|
19738
19746
|
}
|
|
19739
19747
|
|
|
19740
19748
|
const VERSION$F = "c5c08ea834378670c9d6f235ff71c9f0";
|
|
19741
|
-
function validate$
|
|
19749
|
+
function validate$11(obj, path = 'ListObjectPicklistValueRepresentation') {
|
|
19742
19750
|
const v_error = (() => {
|
|
19743
19751
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19744
19752
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19788,7 +19796,7 @@ function equals$z(existing, incoming) {
|
|
|
19788
19796
|
}
|
|
19789
19797
|
|
|
19790
19798
|
const VERSION$E = "2c35f797fead79b5c45b521e77dd6ace";
|
|
19791
|
-
function validate
|
|
19799
|
+
function validate$10(obj, path = 'ListObjectColumnRepresentation') {
|
|
19792
19800
|
const v_error = (() => {
|
|
19793
19801
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19794
19802
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19857,7 +19865,7 @@ function validate$$(obj, path = 'ListObjectColumnRepresentation') {
|
|
|
19857
19865
|
for (let i = 0; i < obj_picklistValues.length; i++) {
|
|
19858
19866
|
const obj_picklistValues_item = obj_picklistValues[i];
|
|
19859
19867
|
const path_picklistValues_item = path_picklistValues + '[' + i + ']';
|
|
19860
|
-
const referencepath_picklistValues_itemValidationError = validate$
|
|
19868
|
+
const referencepath_picklistValues_itemValidationError = validate$11(obj_picklistValues_item, path_picklistValues_item);
|
|
19861
19869
|
if (referencepath_picklistValues_itemValidationError !== null) {
|
|
19862
19870
|
let message = 'Object doesn\'t match ListObjectPicklistValueRepresentation (at "' + path_picklistValues_item + '")\n';
|
|
19863
19871
|
message += referencepath_picklistValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20003,7 +20011,7 @@ function equals$y(existing, incoming) {
|
|
|
20003
20011
|
|
|
20004
20012
|
const TTL$k = 900000;
|
|
20005
20013
|
const VERSION$D = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
20006
|
-
function validate
|
|
20014
|
+
function validate$$(obj, path = 'ListObjectInfoRepresentation') {
|
|
20007
20015
|
const v_error = (() => {
|
|
20008
20016
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20009
20017
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20016,7 +20024,7 @@ function validate$_(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
20016
20024
|
for (let i = 0; i < obj_availableScopes.length; i++) {
|
|
20017
20025
|
const obj_availableScopes_item = obj_availableScopes[i];
|
|
20018
20026
|
const path_availableScopes_item = path_availableScopes + '[' + i + ']';
|
|
20019
|
-
const referencepath_availableScopes_itemValidationError = validate$
|
|
20027
|
+
const referencepath_availableScopes_itemValidationError = validate$12(obj_availableScopes_item, path_availableScopes_item);
|
|
20020
20028
|
if (referencepath_availableScopes_itemValidationError !== null) {
|
|
20021
20029
|
let message = 'Object doesn\'t match ListObjectScopeRepresentation (at "' + path_availableScopes_item + '")\n';
|
|
20022
20030
|
message += referencepath_availableScopes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20031,7 +20039,7 @@ function validate$_(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
20031
20039
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
20032
20040
|
const obj_columns_item = obj_columns[i];
|
|
20033
20041
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
20034
|
-
const referencepath_columns_itemValidationError = validate
|
|
20042
|
+
const referencepath_columns_itemValidationError = validate$10(obj_columns_item, path_columns_item);
|
|
20035
20043
|
if (referencepath_columns_itemValidationError !== null) {
|
|
20036
20044
|
let message = 'Object doesn\'t match ListObjectColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
20037
20045
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20165,7 +20173,7 @@ function equals$x(existing, incoming) {
|
|
|
20165
20173
|
}
|
|
20166
20174
|
const ingest$o = function ListObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20167
20175
|
if (process.env.NODE_ENV !== 'production') {
|
|
20168
|
-
const validateError = validate
|
|
20176
|
+
const validateError = validate$$(input);
|
|
20169
20177
|
if (validateError !== null) {
|
|
20170
20178
|
throw validateError;
|
|
20171
20179
|
}
|
|
@@ -20328,7 +20336,7 @@ const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObject
|
|
|
20328
20336
|
|
|
20329
20337
|
const TTL$j = 900000;
|
|
20330
20338
|
const VERSION$C = "458d4a6a30201e422e8daec5fcb03845";
|
|
20331
|
-
function validate$
|
|
20339
|
+
function validate$_(obj, path = 'ListPreferencesRepresentation') {
|
|
20332
20340
|
const v_error = (() => {
|
|
20333
20341
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20334
20342
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20363,7 +20371,7 @@ function validate$Z(obj, path = 'ListPreferencesRepresentation') {
|
|
|
20363
20371
|
}
|
|
20364
20372
|
const obj_listReference = obj.listReference;
|
|
20365
20373
|
const path_listReference = path + '.listReference';
|
|
20366
|
-
const referencepath_listReferenceValidationError = validate$
|
|
20374
|
+
const referencepath_listReferenceValidationError = validate$1Z(obj_listReference, path_listReference);
|
|
20367
20375
|
if (referencepath_listReferenceValidationError !== null) {
|
|
20368
20376
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
20369
20377
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20377,7 +20385,7 @@ function validate$Z(obj, path = 'ListPreferencesRepresentation') {
|
|
|
20377
20385
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
20378
20386
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
20379
20387
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
20380
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
20388
|
+
const referencepath_orderedBy_itemValidationError = validate$1W(obj_orderedBy_item, path_orderedBy_item);
|
|
20381
20389
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
20382
20390
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
20383
20391
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20473,7 +20481,7 @@ function equals$w(existing, incoming) {
|
|
|
20473
20481
|
}
|
|
20474
20482
|
const ingest$n = function ListPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20475
20483
|
if (process.env.NODE_ENV !== 'production') {
|
|
20476
|
-
const validateError = validate$
|
|
20484
|
+
const validateError = validate$_(input);
|
|
20477
20485
|
if (validateError !== null) {
|
|
20478
20486
|
throw validateError;
|
|
20479
20487
|
}
|
|
@@ -20636,7 +20644,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
|
|
|
20636
20644
|
buildCachedSnapshotCachePolicy$q, buildNetworkSnapshotCachePolicy$r);
|
|
20637
20645
|
};
|
|
20638
20646
|
|
|
20639
|
-
function validate$
|
|
20647
|
+
function validate$Z(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
20640
20648
|
const v_error = (() => {
|
|
20641
20649
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20642
20650
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20744,7 +20752,7 @@ function typeCheckConfig$C(untrustedConfig) {
|
|
|
20744
20752
|
const untrustedConfig_orderedBy_array = [];
|
|
20745
20753
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
20746
20754
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
20747
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
20755
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
20748
20756
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
20749
20757
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
20750
20758
|
}
|
|
@@ -20798,7 +20806,7 @@ const updateListPreferencesAdapterFactory = (luvio) => {
|
|
|
20798
20806
|
|
|
20799
20807
|
const TTL$i = 120000;
|
|
20800
20808
|
const VERSION$B = "756779d0d7e137dd72c743544afbad82";
|
|
20801
|
-
function validate$
|
|
20809
|
+
function validate$Y(obj, path = 'NavItemsRepresentation') {
|
|
20802
20810
|
const v_error = (() => {
|
|
20803
20811
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20804
20812
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20926,7 +20934,7 @@ function equals$v(existing, incoming) {
|
|
|
20926
20934
|
}
|
|
20927
20935
|
const ingest$m = function NavItemsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20928
20936
|
if (process.env.NODE_ENV !== 'production') {
|
|
20929
|
-
const validateError = validate$
|
|
20937
|
+
const validateError = validate$Y(input);
|
|
20930
20938
|
if (validateError !== null) {
|
|
20931
20939
|
throw validateError;
|
|
20932
20940
|
}
|
|
@@ -21662,7 +21670,7 @@ var DiscriminatorValues$4;
|
|
|
21662
21670
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
21663
21671
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
21664
21672
|
const VERSION$w = "bd523b2343366edfc25a2dbee2c4e986";
|
|
21665
|
-
function validate$
|
|
21673
|
+
function validate$X(obj, path = 'AbstractPicklistValueAttributesRepresentation') {
|
|
21666
21674
|
const v_error = (() => {
|
|
21667
21675
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21668
21676
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21707,7 +21715,7 @@ const select$L = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
21707
21715
|
};
|
|
21708
21716
|
|
|
21709
21717
|
const VERSION$v = "9e2a16a80378487f557124c771201cf9";
|
|
21710
|
-
function validate$
|
|
21718
|
+
function validate$W(obj, path = 'PicklistValueRepresentation') {
|
|
21711
21719
|
const v_error = (() => {
|
|
21712
21720
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21713
21721
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21716,7 +21724,7 @@ function validate$V(obj, path = 'PicklistValueRepresentation') {
|
|
|
21716
21724
|
const path_attributes = path + '.attributes';
|
|
21717
21725
|
let obj_attributes_union0 = null;
|
|
21718
21726
|
const obj_attributes_union0_error = (() => {
|
|
21719
|
-
const referencepath_attributesValidationError = validate$
|
|
21727
|
+
const referencepath_attributesValidationError = validate$X(obj_attributes, path_attributes);
|
|
21720
21728
|
if (referencepath_attributesValidationError !== null) {
|
|
21721
21729
|
let message = 'Object doesn\'t match AbstractPicklistValueAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
21722
21730
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21811,7 +21819,7 @@ function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
|
21811
21819
|
|
|
21812
21820
|
const TTL$h = 900000;
|
|
21813
21821
|
const VERSION$u = "0a361a49370acb4c6a31721a2057649a";
|
|
21814
|
-
function validate$
|
|
21822
|
+
function validate$V(obj, path = 'PicklistValuesRepresentation') {
|
|
21815
21823
|
const v_error = (() => {
|
|
21816
21824
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21817
21825
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21834,7 +21842,7 @@ function validate$U(obj, path = 'PicklistValuesRepresentation') {
|
|
|
21834
21842
|
const path_defaultValue = path + '.defaultValue';
|
|
21835
21843
|
let obj_defaultValue_union0 = null;
|
|
21836
21844
|
const obj_defaultValue_union0_error = (() => {
|
|
21837
|
-
const referencepath_defaultValueValidationError = validate$
|
|
21845
|
+
const referencepath_defaultValueValidationError = validate$W(obj_defaultValue, path_defaultValue);
|
|
21838
21846
|
if (referencepath_defaultValueValidationError !== null) {
|
|
21839
21847
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_defaultValue + '")\n';
|
|
21840
21848
|
message += referencepath_defaultValueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21877,7 +21885,7 @@ function validate$U(obj, path = 'PicklistValuesRepresentation') {
|
|
|
21877
21885
|
for (let i = 0; i < obj_values.length; i++) {
|
|
21878
21886
|
const obj_values_item = obj_values[i];
|
|
21879
21887
|
const path_values_item = path_values + '[' + i + ']';
|
|
21880
|
-
const referencepath_values_itemValidationError = validate$
|
|
21888
|
+
const referencepath_values_itemValidationError = validate$W(obj_values_item, path_values_item);
|
|
21881
21889
|
if (referencepath_values_itemValidationError !== null) {
|
|
21882
21890
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_values_item + '")\n';
|
|
21883
21891
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21935,7 +21943,7 @@ function equals$u(existing, incoming) {
|
|
|
21935
21943
|
}
|
|
21936
21944
|
const ingest$l = function PicklistValuesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21937
21945
|
if (process.env.NODE_ENV !== 'production') {
|
|
21938
|
-
const validateError = validate$
|
|
21946
|
+
const validateError = validate$V(input);
|
|
21939
21947
|
if (validateError !== null) {
|
|
21940
21948
|
throw validateError;
|
|
21941
21949
|
}
|
|
@@ -21957,7 +21965,7 @@ function getTypeCacheKeys$s(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
21957
21965
|
|
|
21958
21966
|
const TTL$g = 300000;
|
|
21959
21967
|
const VERSION$t = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
21960
|
-
function validate$
|
|
21968
|
+
function validate$U(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
21961
21969
|
const v_error = (() => {
|
|
21962
21970
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21963
21971
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22044,7 +22052,7 @@ function equals$t(existing, incoming) {
|
|
|
22044
22052
|
}
|
|
22045
22053
|
const ingest$k = function PicklistValuesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22046
22054
|
if (process.env.NODE_ENV !== 'production') {
|
|
22047
|
-
const validateError = validate$
|
|
22055
|
+
const validateError = validate$U(input);
|
|
22048
22056
|
if (validateError !== null) {
|
|
22049
22057
|
throw validateError;
|
|
22050
22058
|
}
|
|
@@ -22382,7 +22390,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
22382
22390
|
buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$m);
|
|
22383
22391
|
};
|
|
22384
22392
|
|
|
22385
|
-
function validate$
|
|
22393
|
+
function validate$T(obj, path = 'MatchResultInfoRepresentation') {
|
|
22386
22394
|
const v_error = (() => {
|
|
22387
22395
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22388
22396
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22408,7 +22416,7 @@ function validate$S(obj, path = 'MatchResultInfoRepresentation') {
|
|
|
22408
22416
|
return v_error === undefined ? null : v_error;
|
|
22409
22417
|
}
|
|
22410
22418
|
|
|
22411
|
-
function validate$
|
|
22419
|
+
function validate$S(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
22412
22420
|
const v_error = (() => {
|
|
22413
22421
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22414
22422
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22420,7 +22428,7 @@ function validate$R(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
22420
22428
|
}
|
|
22421
22429
|
const obj_matchResultInfo = obj.matchResultInfo;
|
|
22422
22430
|
const path_matchResultInfo = path + '.matchResultInfo';
|
|
22423
|
-
const referencepath_matchResultInfoValidationError = validate$
|
|
22431
|
+
const referencepath_matchResultInfoValidationError = validate$T(obj_matchResultInfo, path_matchResultInfo);
|
|
22424
22432
|
if (referencepath_matchResultInfoValidationError !== null) {
|
|
22425
22433
|
let message = 'Object doesn\'t match MatchResultInfoRepresentation (at "' + path_matchResultInfo + '")\n';
|
|
22426
22434
|
message += referencepath_matchResultInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22435,7 +22443,7 @@ function validate$R(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
22435
22443
|
return v_error === undefined ? null : v_error;
|
|
22436
22444
|
}
|
|
22437
22445
|
|
|
22438
|
-
function validate$
|
|
22446
|
+
function validate$R(obj, path = 'MatchRepresentation') {
|
|
22439
22447
|
const v_error = (() => {
|
|
22440
22448
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22441
22449
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22450,7 +22458,7 @@ function validate$Q(obj, path = 'MatchRepresentation') {
|
|
|
22450
22458
|
const key = obj_duplicateResultInfos_keys[i];
|
|
22451
22459
|
const obj_duplicateResultInfos_prop = obj_duplicateResultInfos[key];
|
|
22452
22460
|
const path_duplicateResultInfos_prop = path_duplicateResultInfos + '["' + key + '"]';
|
|
22453
|
-
const referencepath_duplicateResultInfos_propValidationError = validate$
|
|
22461
|
+
const referencepath_duplicateResultInfos_propValidationError = validate$S(obj_duplicateResultInfos_prop, path_duplicateResultInfos_prop);
|
|
22454
22462
|
if (referencepath_duplicateResultInfos_propValidationError !== null) {
|
|
22455
22463
|
let message = 'Object doesn\'t match DuplicateResultInfoRepresentation (at "' + path_duplicateResultInfos_prop + '")\n';
|
|
22456
22464
|
message += referencepath_duplicateResultInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22480,7 +22488,7 @@ function validate$Q(obj, path = 'MatchRepresentation') {
|
|
|
22480
22488
|
|
|
22481
22489
|
const TTL$f = 30000;
|
|
22482
22490
|
const VERSION$s = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
22483
|
-
function validate$
|
|
22491
|
+
function validate$Q(obj, path = 'DuplicatesRepresentation') {
|
|
22484
22492
|
const v_error = (() => {
|
|
22485
22493
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22486
22494
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22515,7 +22523,7 @@ function validate$P(obj, path = 'DuplicatesRepresentation') {
|
|
|
22515
22523
|
for (let i = 0; i < obj_matches.length; i++) {
|
|
22516
22524
|
const obj_matches_item = obj_matches[i];
|
|
22517
22525
|
const path_matches_item = path_matches + '[' + i + ']';
|
|
22518
|
-
const referencepath_matches_itemValidationError = validate$
|
|
22526
|
+
const referencepath_matches_itemValidationError = validate$R(obj_matches_item, path_matches_item);
|
|
22519
22527
|
if (referencepath_matches_itemValidationError !== null) {
|
|
22520
22528
|
let message = 'Object doesn\'t match MatchRepresentation (at "' + path_matches_item + '")\n';
|
|
22521
22529
|
message += referencepath_matches_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22545,7 +22553,7 @@ function equals$s(existing, incoming) {
|
|
|
22545
22553
|
}
|
|
22546
22554
|
const ingest$j = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22547
22555
|
if (process.env.NODE_ENV !== 'production') {
|
|
22548
|
-
const validateError = validate$
|
|
22556
|
+
const validateError = validate$Q(input);
|
|
22549
22557
|
if (validateError !== null) {
|
|
22550
22558
|
throw validateError;
|
|
22551
22559
|
}
|
|
@@ -22738,7 +22746,7 @@ const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(unt
|
|
|
22738
22746
|
};
|
|
22739
22747
|
|
|
22740
22748
|
const VERSION$r = "e84b9ffdeff97c411bd111f2a55cf6b6";
|
|
22741
|
-
function validate$
|
|
22749
|
+
function validate$P(obj, path = 'PhotoMetadataRepresentation') {
|
|
22742
22750
|
const v_error = (() => {
|
|
22743
22751
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22744
22752
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22830,8 +22838,8 @@ function equals$r(existing, incoming) {
|
|
|
22830
22838
|
}
|
|
22831
22839
|
|
|
22832
22840
|
const VERSION$q = "34ffbf4219dfebb707bff609c2d5bf89";
|
|
22833
|
-
function validate$
|
|
22834
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
22841
|
+
function validate$O(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
22842
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$M(obj, path);
|
|
22835
22843
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
22836
22844
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
22837
22845
|
}
|
|
@@ -22898,7 +22906,7 @@ function validate$N(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
|
22898
22906
|
}
|
|
22899
22907
|
const obj_photoMetadata = obj.photoMetadata;
|
|
22900
22908
|
const path_photoMetadata = path + '.photoMetadata';
|
|
22901
|
-
const referencepath_photoMetadataValidationError = validate$
|
|
22909
|
+
const referencepath_photoMetadataValidationError = validate$P(obj_photoMetadata, path_photoMetadata);
|
|
22902
22910
|
if (referencepath_photoMetadataValidationError !== null) {
|
|
22903
22911
|
let message = 'Object doesn\'t match PhotoMetadataRepresentation (at "' + path_photoMetadata + '")\n';
|
|
22904
22912
|
message += referencepath_photoMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23053,7 +23061,7 @@ function equals$q(existing, incoming) {
|
|
|
23053
23061
|
}
|
|
23054
23062
|
const ingest$i = function PhotoRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23055
23063
|
if (process.env.NODE_ENV !== 'production') {
|
|
23056
|
-
const validateError = validate$
|
|
23064
|
+
const validateError = validate$O(input);
|
|
23057
23065
|
if (validateError !== null) {
|
|
23058
23066
|
throw validateError;
|
|
23059
23067
|
}
|
|
@@ -23074,8 +23082,8 @@ function getTypeCacheKeys$p(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23074
23082
|
}
|
|
23075
23083
|
|
|
23076
23084
|
const VERSION$p = "cbdcf69a6568d41ccf155b2b95ec70e7";
|
|
23077
|
-
function validate$
|
|
23078
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
23085
|
+
function validate$N(obj, path = 'ThemeRecordAvatarRepresentation') {
|
|
23086
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$M(obj, path);
|
|
23079
23087
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
23080
23088
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
23081
23089
|
}
|
|
@@ -23194,7 +23202,7 @@ function equals$p(existing, incoming) {
|
|
|
23194
23202
|
}
|
|
23195
23203
|
const ingest$h = function ThemeRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23196
23204
|
if (process.env.NODE_ENV !== 'production') {
|
|
23197
|
-
const validateError = validate$
|
|
23205
|
+
const validateError = validate$N(input);
|
|
23198
23206
|
if (validateError !== null) {
|
|
23199
23207
|
throw validateError;
|
|
23200
23208
|
}
|
|
@@ -23220,7 +23228,7 @@ var DiscriminatorValues$3;
|
|
|
23220
23228
|
DiscriminatorValues["Theme"] = "Theme";
|
|
23221
23229
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
23222
23230
|
const VERSION$o = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
23223
|
-
function validate$
|
|
23231
|
+
function validate$M(obj, path = 'AbstractRecordAvatarRepresentation') {
|
|
23224
23232
|
const v_error = (() => {
|
|
23225
23233
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23226
23234
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23313,8 +23321,8 @@ function getTypeCacheKeys$n(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23313
23321
|
}
|
|
23314
23322
|
|
|
23315
23323
|
const VERSION$n = "f531b44760afecfce89990fe5a5c5c29";
|
|
23316
|
-
function validate$
|
|
23317
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23324
|
+
function validate$L(obj, path = 'RecordAvatarBatchRepresentation') {
|
|
23325
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$H(obj, path);
|
|
23318
23326
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23319
23327
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23320
23328
|
}
|
|
@@ -23375,7 +23383,7 @@ function equals$n(existing, incoming) {
|
|
|
23375
23383
|
}
|
|
23376
23384
|
const ingest$g = function RecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23377
23385
|
if (process.env.NODE_ENV !== 'production') {
|
|
23378
|
-
const validateError = validate$
|
|
23386
|
+
const validateError = validate$L(input);
|
|
23379
23387
|
if (validateError !== null) {
|
|
23380
23388
|
throw validateError;
|
|
23381
23389
|
}
|
|
@@ -23396,7 +23404,7 @@ function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23396
23404
|
}
|
|
23397
23405
|
|
|
23398
23406
|
const VERSION$m = "17c20b01167dba9a81452e60bb28b2f2";
|
|
23399
|
-
function validate$
|
|
23407
|
+
function validate$K(obj, path = 'ErrorSingleRecordAvatarRepresentation') {
|
|
23400
23408
|
const v_error = (() => {
|
|
23401
23409
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23402
23410
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23446,8 +23454,8 @@ function equals$m(existing, incoming) {
|
|
|
23446
23454
|
}
|
|
23447
23455
|
|
|
23448
23456
|
const VERSION$l = "e7fac2bfb5cdacc5e0f15c350f9ab8fe";
|
|
23449
|
-
function validate$
|
|
23450
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23457
|
+
function validate$J(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation') {
|
|
23458
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$H(obj, path);
|
|
23451
23459
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23452
23460
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23453
23461
|
}
|
|
@@ -23463,7 +23471,7 @@ function validate$I(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation'
|
|
|
23463
23471
|
for (let i = 0; i < obj_result.length; i++) {
|
|
23464
23472
|
const obj_result_item = obj_result[i];
|
|
23465
23473
|
const path_result_item = path_result + '[' + i + ']';
|
|
23466
|
-
const referencepath_result_itemValidationError = validate$
|
|
23474
|
+
const referencepath_result_itemValidationError = validate$K(obj_result_item, path_result_item);
|
|
23467
23475
|
if (referencepath_result_itemValidationError !== null) {
|
|
23468
23476
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
23469
23477
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23513,7 +23521,7 @@ function equals$l(existing, incoming) {
|
|
|
23513
23521
|
}
|
|
23514
23522
|
const ingest$f = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23515
23523
|
if (process.env.NODE_ENV !== 'production') {
|
|
23516
|
-
const validateError = validate$
|
|
23524
|
+
const validateError = validate$J(input);
|
|
23517
23525
|
if (validateError !== null) {
|
|
23518
23526
|
throw validateError;
|
|
23519
23527
|
}
|
|
@@ -23534,8 +23542,8 @@ function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23534
23542
|
}
|
|
23535
23543
|
|
|
23536
23544
|
const VERSION$k = "cbd48fd50d0db463fdff7b1834c22bed";
|
|
23537
|
-
function validate$
|
|
23538
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23545
|
+
function validate$I(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
23546
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$H(obj, path);
|
|
23539
23547
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23540
23548
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23541
23549
|
}
|
|
@@ -23551,7 +23559,7 @@ function validate$H(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
|
23551
23559
|
for (let i = 0; i < obj_result.length; i++) {
|
|
23552
23560
|
const obj_result_item = obj_result[i];
|
|
23553
23561
|
const path_result_item = path_result + '[' + i + ']';
|
|
23554
|
-
const referencepath_result_itemValidationError = validate$
|
|
23562
|
+
const referencepath_result_itemValidationError = validate$K(obj_result_item, path_result_item);
|
|
23555
23563
|
if (referencepath_result_itemValidationError !== null) {
|
|
23556
23564
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
23557
23565
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23601,7 +23609,7 @@ function equals$k(existing, incoming) {
|
|
|
23601
23609
|
}
|
|
23602
23610
|
const ingest$e = function ErrorRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23603
23611
|
if (process.env.NODE_ENV !== 'production') {
|
|
23604
|
-
const validateError = validate$
|
|
23612
|
+
const validateError = validate$I(input);
|
|
23605
23613
|
if (validateError !== null) {
|
|
23606
23614
|
throw validateError;
|
|
23607
23615
|
}
|
|
@@ -23628,7 +23636,7 @@ const DiscriminatorValues$2 = {
|
|
|
23628
23636
|
};
|
|
23629
23637
|
const TTL$e = 300000;
|
|
23630
23638
|
const VERSION$j = "8956293536e94d5ec63b274b61033d2c";
|
|
23631
|
-
function validate$
|
|
23639
|
+
function validate$H(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
23632
23640
|
const v_error = (() => {
|
|
23633
23641
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23634
23642
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23706,7 +23714,7 @@ function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23706
23714
|
|
|
23707
23715
|
const TTL$d = 300000;
|
|
23708
23716
|
const VERSION$i = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
23709
|
-
function validate$
|
|
23717
|
+
function validate$G(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
23710
23718
|
const v_error = (() => {
|
|
23711
23719
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23712
23720
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23785,7 +23793,7 @@ function merge(existing, incoming, _luvio, _path) {
|
|
|
23785
23793
|
|
|
23786
23794
|
const ingest$d = function RecordAvatarBulkMapRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23787
23795
|
if (process.env.NODE_ENV !== 'production') {
|
|
23788
|
-
const validateError = validate$
|
|
23796
|
+
const validateError = validate$G(input);
|
|
23789
23797
|
if (validateError !== null) {
|
|
23790
23798
|
throw validateError;
|
|
23791
23799
|
}
|
|
@@ -24277,7 +24285,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
24277
24285
|
};
|
|
24278
24286
|
|
|
24279
24287
|
const VERSION$h = "4d4bdab5d0aa61e365e766409c9b3a31";
|
|
24280
|
-
function validate$
|
|
24288
|
+
function validate$F(obj, path = 'RelatedListReferenceRepresentation') {
|
|
24281
24289
|
const v_error = (() => {
|
|
24282
24290
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24283
24291
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24516,7 +24524,7 @@ function equals$h(existing, incoming) {
|
|
|
24516
24524
|
}
|
|
24517
24525
|
|
|
24518
24526
|
const VERSION$g = "836b875b519813e7499efc62f0f1d04b";
|
|
24519
|
-
function validate$
|
|
24527
|
+
function validate$E(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
24520
24528
|
const v_error = (() => {
|
|
24521
24529
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24522
24530
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24559,7 +24567,7 @@ function validate$D(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
|
24559
24567
|
}
|
|
24560
24568
|
const obj_listReference = obj.listReference;
|
|
24561
24569
|
const path_listReference = path + '.listReference';
|
|
24562
|
-
const referencepath_listReferenceValidationError = validate$
|
|
24570
|
+
const referencepath_listReferenceValidationError = validate$F(obj_listReference, path_listReference);
|
|
24563
24571
|
if (referencepath_listReferenceValidationError !== null) {
|
|
24564
24572
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
24565
24573
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24632,7 +24640,7 @@ function equals$g(existing, incoming) {
|
|
|
24632
24640
|
}
|
|
24633
24641
|
const ingest$c = function RelatedListRecordCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24634
24642
|
if (process.env.NODE_ENV !== 'production') {
|
|
24635
|
-
const validateError = validate$
|
|
24643
|
+
const validateError = validate$E(input);
|
|
24636
24644
|
if (validateError !== null) {
|
|
24637
24645
|
throw validateError;
|
|
24638
24646
|
}
|
|
@@ -25144,7 +25152,7 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
25144
25152
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$h);
|
|
25145
25153
|
};
|
|
25146
25154
|
|
|
25147
|
-
function validate$
|
|
25155
|
+
function validate$D(obj, path = 'RelatedListColumnRepresentation') {
|
|
25148
25156
|
const v_error = (() => {
|
|
25149
25157
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25150
25158
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25295,7 +25303,7 @@ function validate$C(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
25295
25303
|
|
|
25296
25304
|
const TTL$c = 900000;
|
|
25297
25305
|
const VERSION$f = "c977d65d153a2b4e888ddd45fb083248";
|
|
25298
|
-
function validate$
|
|
25306
|
+
function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
25299
25307
|
const v_error = (() => {
|
|
25300
25308
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25301
25309
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25323,7 +25331,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25323
25331
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
25324
25332
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
25325
25333
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
25326
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
25334
|
+
const referencepath_displayColumns_itemValidationError = validate$D(obj_displayColumns_item, path_displayColumns_item);
|
|
25327
25335
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
25328
25336
|
let message = 'Object doesn\'t match RelatedListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
25329
25337
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25370,7 +25378,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25370
25378
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
25371
25379
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
25372
25380
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
25373
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
25381
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1$(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
25374
25382
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
25375
25383
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
25376
25384
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25384,7 +25392,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25384
25392
|
}
|
|
25385
25393
|
const obj_listReference = obj.listReference;
|
|
25386
25394
|
const path_listReference = path + '.listReference';
|
|
25387
|
-
const referencepath_listReferenceValidationError = validate$
|
|
25395
|
+
const referencepath_listReferenceValidationError = validate$F(obj_listReference, path_listReference);
|
|
25388
25396
|
if (referencepath_listReferenceValidationError !== null) {
|
|
25389
25397
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
25390
25398
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25422,7 +25430,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25422
25430
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
25423
25431
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
25424
25432
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
25425
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
25433
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1W(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
25426
25434
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
25427
25435
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
25428
25436
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25441,7 +25449,7 @@ function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25441
25449
|
}
|
|
25442
25450
|
const obj_userPreferences = obj.userPreferences;
|
|
25443
25451
|
const path_userPreferences = path + '.userPreferences';
|
|
25444
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
25452
|
+
const referencepath_userPreferencesValidationError = validate$1S(obj_userPreferences, path_userPreferences);
|
|
25445
25453
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
25446
25454
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
25447
25455
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25581,7 +25589,7 @@ function equals$f(existing, incoming) {
|
|
|
25581
25589
|
}
|
|
25582
25590
|
const ingest$b = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
25583
25591
|
if (process.env.NODE_ENV !== 'production') {
|
|
25584
|
-
const validateError = validate$
|
|
25592
|
+
const validateError = validate$C(input);
|
|
25585
25593
|
if (validateError !== null) {
|
|
25586
25594
|
throw validateError;
|
|
25587
25595
|
}
|
|
@@ -26019,7 +26027,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
26019
26027
|
buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$g);
|
|
26020
26028
|
};
|
|
26021
26029
|
|
|
26022
|
-
function validate$
|
|
26030
|
+
function validate$B(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
26023
26031
|
const v_error = (() => {
|
|
26024
26032
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26025
26033
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26115,7 +26123,7 @@ function validate$A(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
26115
26123
|
const path_themeInfo = path + '.themeInfo';
|
|
26116
26124
|
let obj_themeInfo_union0 = null;
|
|
26117
26125
|
const obj_themeInfo_union0_error = (() => {
|
|
26118
|
-
const referencepath_themeInfoValidationError = validate$
|
|
26126
|
+
const referencepath_themeInfoValidationError = validate$1B(obj_themeInfo, path_themeInfo);
|
|
26119
26127
|
if (referencepath_themeInfoValidationError !== null) {
|
|
26120
26128
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
26121
26129
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26150,7 +26158,7 @@ function validate$A(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
26150
26158
|
}
|
|
26151
26159
|
|
|
26152
26160
|
const VERSION$e = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
26153
|
-
function validate$
|
|
26161
|
+
function validate$A(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
|
|
26154
26162
|
const v_error = (() => {
|
|
26155
26163
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26156
26164
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26199,7 +26207,7 @@ function validate$z(obj, path = 'RelatedListSummaryInfoCollectionRepresentation'
|
|
|
26199
26207
|
for (let i = 0; i < obj_relatedLists.length; i++) {
|
|
26200
26208
|
const obj_relatedLists_item = obj_relatedLists[i];
|
|
26201
26209
|
const path_relatedLists_item = path_relatedLists + '[' + i + ']';
|
|
26202
|
-
const referencepath_relatedLists_itemValidationError = validate$
|
|
26210
|
+
const referencepath_relatedLists_itemValidationError = validate$B(obj_relatedLists_item, path_relatedLists_item);
|
|
26203
26211
|
if (referencepath_relatedLists_itemValidationError !== null) {
|
|
26204
26212
|
let message = 'Object doesn\'t match RelatedListSummaryInfoRepresentation (at "' + path_relatedLists_item + '")\n';
|
|
26205
26213
|
message += referencepath_relatedLists_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26255,7 +26263,7 @@ function equals$e(existing, incoming) {
|
|
|
26255
26263
|
}
|
|
26256
26264
|
const ingest$a = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26257
26265
|
if (process.env.NODE_ENV !== 'production') {
|
|
26258
|
-
const validateError = validate$
|
|
26266
|
+
const validateError = validate$A(input);
|
|
26259
26267
|
if (validateError !== null) {
|
|
26260
26268
|
throw validateError;
|
|
26261
26269
|
}
|
|
@@ -26504,7 +26512,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
26504
26512
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
|
|
26505
26513
|
};
|
|
26506
26514
|
|
|
26507
|
-
function validate$
|
|
26515
|
+
function validate$z(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
26508
26516
|
const v_error = (() => {
|
|
26509
26517
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26510
26518
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26586,7 +26594,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
26586
26594
|
const untrustedConfig_orderedByInfo_array = [];
|
|
26587
26595
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
26588
26596
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
26589
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
26597
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedByInfo_item);
|
|
26590
26598
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
26591
26599
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
26592
26600
|
}
|
|
@@ -26594,7 +26602,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
26594
26602
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
26595
26603
|
}
|
|
26596
26604
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
26597
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
26605
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$z(untrustedConfig_userPreferences);
|
|
26598
26606
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
26599
26607
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
26600
26608
|
}
|
|
@@ -26659,7 +26667,7 @@ const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
|
26659
26667
|
|
|
26660
26668
|
const TTL$b = 900000;
|
|
26661
26669
|
const VERSION$d = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
26662
|
-
function validate$
|
|
26670
|
+
function validate$y(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
26663
26671
|
const v_error = (() => {
|
|
26664
26672
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26665
26673
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26700,7 +26708,7 @@ function validate$x(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
26700
26708
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
26701
26709
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
26702
26710
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
26703
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
26711
|
+
const referencepath_orderedBy_itemValidationError = validate$1W(obj_orderedBy_item, path_orderedBy_item);
|
|
26704
26712
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
26705
26713
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
26706
26714
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26744,7 +26752,7 @@ function equals$d(existing, incoming) {
|
|
|
26744
26752
|
}
|
|
26745
26753
|
const ingest$9 = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26746
26754
|
if (process.env.NODE_ENV !== 'production') {
|
|
26747
|
-
const validateError = validate$
|
|
26755
|
+
const validateError = validate$y(input);
|
|
26748
26756
|
if (validateError !== null) {
|
|
26749
26757
|
throw validateError;
|
|
26750
26758
|
}
|
|
@@ -27340,7 +27348,7 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
27340
27348
|
const untrustedConfig_orderedBy_array = [];
|
|
27341
27349
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
27342
27350
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
27343
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
27351
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
|
|
27344
27352
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
27345
27353
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
27346
27354
|
}
|
|
@@ -27391,7 +27399,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
27391
27399
|
};
|
|
27392
27400
|
};
|
|
27393
27401
|
|
|
27394
|
-
function validate$
|
|
27402
|
+
function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
27395
27403
|
const v_error = (() => {
|
|
27396
27404
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27397
27405
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27634,7 +27642,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
27634
27642
|
|
|
27635
27643
|
const TTL$a = 30000;
|
|
27636
27644
|
const VERSION$c = "62467c27c19349b70c9db2a8d9d591d9";
|
|
27637
|
-
function validate$
|
|
27645
|
+
function validate$w(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
27638
27646
|
const v_error = (() => {
|
|
27639
27647
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27640
27648
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27715,7 +27723,7 @@ function validate$v(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
27715
27723
|
}
|
|
27716
27724
|
const obj_listReference = obj.listReference;
|
|
27717
27725
|
const path_listReference = path + '.listReference';
|
|
27718
|
-
const referencepath_listReferenceValidationError = validate$
|
|
27726
|
+
const referencepath_listReferenceValidationError = validate$F(obj_listReference, path_listReference);
|
|
27719
27727
|
if (referencepath_listReferenceValidationError !== null) {
|
|
27720
27728
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
27721
27729
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28136,7 +28144,7 @@ function equals$c(existing, incoming) {
|
|
|
28136
28144
|
}
|
|
28137
28145
|
const ingest$8 = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28138
28146
|
if (process.env.NODE_ENV !== 'production') {
|
|
28139
|
-
const validateError = validate$
|
|
28147
|
+
const validateError = validate$w(input);
|
|
28140
28148
|
if (validateError !== null) {
|
|
28141
28149
|
throw validateError;
|
|
28142
28150
|
}
|
|
@@ -28212,6 +28220,7 @@ const ingest$8 = function RelatedListRecordCollectionRepresentationIngest(input,
|
|
|
28212
28220
|
namespace: "UiApi",
|
|
28213
28221
|
version: VERSION$c,
|
|
28214
28222
|
representationName: RepresentationType$d,
|
|
28223
|
+
ingestionTimestamp: timestamp,
|
|
28215
28224
|
};
|
|
28216
28225
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
28217
28226
|
}
|
|
@@ -28627,7 +28636,7 @@ function typeCheckConfig$k(untrustedConfig) {
|
|
|
28627
28636
|
const untrustedConfig_relatedListParameters_array = [];
|
|
28628
28637
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
28629
28638
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
28630
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
28639
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
|
|
28631
28640
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
28632
28641
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
28633
28642
|
}
|
|
@@ -28872,7 +28881,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
28872
28881
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$a);
|
|
28873
28882
|
};
|
|
28874
28883
|
|
|
28875
|
-
function validate$
|
|
28884
|
+
function validate$v(obj, path = 'SearchFilterOptionRepresentation') {
|
|
28876
28885
|
const v_error = (() => {
|
|
28877
28886
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28878
28887
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28902,7 +28911,7 @@ var DiscriminatorValues;
|
|
|
28902
28911
|
DiscriminatorValues["Field"] = "Field";
|
|
28903
28912
|
DiscriminatorValues["DataCategory"] = "DataCategory";
|
|
28904
28913
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
28905
|
-
function validate$
|
|
28914
|
+
function validate$u(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
28906
28915
|
const v_error = (() => {
|
|
28907
28916
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28908
28917
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28963,7 +28972,7 @@ function validate$t(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
28963
28972
|
|
|
28964
28973
|
const TTL$9 = 30000;
|
|
28965
28974
|
const VERSION$b = "7d241c2ee7cc9b09d6bd434b33b0b5e4";
|
|
28966
|
-
function validate$
|
|
28975
|
+
function validate$t(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
28967
28976
|
const v_error = (() => {
|
|
28968
28977
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28969
28978
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29002,7 +29011,7 @@ function validate$s(obj, path = 'SearchFilterMetadataCollectionRepresentation')
|
|
|
29002
29011
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
29003
29012
|
const obj_filters_item = obj_filters[i];
|
|
29004
29013
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
29005
|
-
const referencepath_filters_itemValidationError = validate$
|
|
29014
|
+
const referencepath_filters_itemValidationError = validate$u(obj_filters_item, path_filters_item);
|
|
29006
29015
|
if (referencepath_filters_itemValidationError !== null) {
|
|
29007
29016
|
let message = 'Object doesn\'t match SearchFilterDefinitionRepresentation (at "' + path_filters_item + '")\n';
|
|
29008
29017
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29047,7 +29056,7 @@ function equals$b(existing, incoming) {
|
|
|
29047
29056
|
}
|
|
29048
29057
|
const ingest$7 = function SearchFilterMetadataCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29049
29058
|
if (process.env.NODE_ENV !== 'production') {
|
|
29050
|
-
const validateError = validate$
|
|
29059
|
+
const validateError = validate$t(input);
|
|
29051
29060
|
if (validateError !== null) {
|
|
29052
29061
|
throw validateError;
|
|
29053
29062
|
}
|
|
@@ -29211,7 +29220,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
29211
29220
|
|
|
29212
29221
|
const TTL$8 = 30000;
|
|
29213
29222
|
const VERSION$a = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
29214
|
-
function validate$
|
|
29223
|
+
function validate$s(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
29215
29224
|
const v_error = (() => {
|
|
29216
29225
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29217
29226
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29234,7 +29243,7 @@ function validate$r(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
|
29234
29243
|
for (let i = 0; i < obj_options.length; i++) {
|
|
29235
29244
|
const obj_options_item = obj_options[i];
|
|
29236
29245
|
const path_options_item = path_options + '[' + i + ']';
|
|
29237
|
-
const referencepath_options_itemValidationError = validate$
|
|
29246
|
+
const referencepath_options_itemValidationError = validate$v(obj_options_item, path_options_item);
|
|
29238
29247
|
if (referencepath_options_itemValidationError !== null) {
|
|
29239
29248
|
let message = 'Object doesn\'t match SearchFilterOptionRepresentation (at "' + path_options_item + '")\n';
|
|
29240
29249
|
message += referencepath_options_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29301,7 +29310,7 @@ function equals$a(existing, incoming) {
|
|
|
29301
29310
|
}
|
|
29302
29311
|
const ingest$6 = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29303
29312
|
if (process.env.NODE_ENV !== 'production') {
|
|
29304
|
-
const validateError = validate$
|
|
29313
|
+
const validateError = validate$s(input);
|
|
29305
29314
|
if (validateError !== null) {
|
|
29306
29315
|
throw validateError;
|
|
29307
29316
|
}
|
|
@@ -29465,7 +29474,7 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
|
|
|
29465
29474
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$8);
|
|
29466
29475
|
};
|
|
29467
29476
|
|
|
29468
|
-
function validate$
|
|
29477
|
+
function validate$r(obj, path = 'DisplayLayoutRepresentation') {
|
|
29469
29478
|
const v_error = (() => {
|
|
29470
29479
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29471
29480
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29486,7 +29495,7 @@ function validate$q(obj, path = 'DisplayLayoutRepresentation') {
|
|
|
29486
29495
|
return v_error === undefined ? null : v_error;
|
|
29487
29496
|
}
|
|
29488
29497
|
|
|
29489
|
-
function validate$
|
|
29498
|
+
function validate$q(obj, path = 'MatchingInfoRepresentation') {
|
|
29490
29499
|
const v_error = (() => {
|
|
29491
29500
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29492
29501
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29507,14 +29516,14 @@ function validate$p(obj, path = 'MatchingInfoRepresentation') {
|
|
|
29507
29516
|
return v_error === undefined ? null : v_error;
|
|
29508
29517
|
}
|
|
29509
29518
|
|
|
29510
|
-
function validate$
|
|
29519
|
+
function validate$p(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
29511
29520
|
const v_error = (() => {
|
|
29512
29521
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29513
29522
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29514
29523
|
}
|
|
29515
29524
|
const obj_displayLayout = obj.displayLayout;
|
|
29516
29525
|
const path_displayLayout = path + '.displayLayout';
|
|
29517
|
-
const referencepath_displayLayoutValidationError = validate$
|
|
29526
|
+
const referencepath_displayLayoutValidationError = validate$r(obj_displayLayout, path_displayLayout);
|
|
29518
29527
|
if (referencepath_displayLayoutValidationError !== null) {
|
|
29519
29528
|
let message = 'Object doesn\'t match DisplayLayoutRepresentation (at "' + path_displayLayout + '")\n';
|
|
29520
29529
|
message += referencepath_displayLayoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29522,7 +29531,7 @@ function validate$o(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
29522
29531
|
}
|
|
29523
29532
|
const obj_matchingInfo = obj.matchingInfo;
|
|
29524
29533
|
const path_matchingInfo = path + '.matchingInfo';
|
|
29525
|
-
const referencepath_matchingInfoValidationError = validate$
|
|
29534
|
+
const referencepath_matchingInfoValidationError = validate$q(obj_matchingInfo, path_matchingInfo);
|
|
29526
29535
|
if (referencepath_matchingInfoValidationError !== null) {
|
|
29527
29536
|
let message = 'Object doesn\'t match MatchingInfoRepresentation (at "' + path_matchingInfo + '")\n';
|
|
29528
29537
|
message += referencepath_matchingInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29532,14 +29541,14 @@ function validate$o(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
29532
29541
|
return v_error === undefined ? null : v_error;
|
|
29533
29542
|
}
|
|
29534
29543
|
|
|
29535
|
-
function validate$
|
|
29544
|
+
function validate$o(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
29536
29545
|
const v_error = (() => {
|
|
29537
29546
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29538
29547
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29539
29548
|
}
|
|
29540
29549
|
const obj_fullSearchInfo = obj.fullSearchInfo;
|
|
29541
29550
|
const path_fullSearchInfo = path + '.fullSearchInfo';
|
|
29542
|
-
const referencepath_fullSearchInfoValidationError = validate$
|
|
29551
|
+
const referencepath_fullSearchInfoValidationError = validate$p(obj_fullSearchInfo, path_fullSearchInfo);
|
|
29543
29552
|
if (referencepath_fullSearchInfoValidationError !== null) {
|
|
29544
29553
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_fullSearchInfo + '")\n';
|
|
29545
29554
|
message += referencepath_fullSearchInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29552,7 +29561,7 @@ function validate$n(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
29552
29561
|
}
|
|
29553
29562
|
const obj_suggestionsInfo = obj.suggestionsInfo;
|
|
29554
29563
|
const path_suggestionsInfo = path + '.suggestionsInfo';
|
|
29555
|
-
const referencepath_suggestionsInfoValidationError = validate$
|
|
29564
|
+
const referencepath_suggestionsInfoValidationError = validate$p(obj_suggestionsInfo, path_suggestionsInfo);
|
|
29556
29565
|
if (referencepath_suggestionsInfoValidationError !== null) {
|
|
29557
29566
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_suggestionsInfo + '")\n';
|
|
29558
29567
|
message += referencepath_suggestionsInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29564,7 +29573,7 @@ function validate$n(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
29564
29573
|
|
|
29565
29574
|
const TTL$7 = 30000;
|
|
29566
29575
|
const VERSION$9 = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
29567
|
-
function validate$
|
|
29576
|
+
function validate$n(obj, path = 'LookupMetadataRepresentation') {
|
|
29568
29577
|
const v_error = (() => {
|
|
29569
29578
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29570
29579
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29615,7 +29624,7 @@ function validate$m(obj, path = 'LookupMetadataRepresentation') {
|
|
|
29615
29624
|
const key = obj_targetInfo_keys[i];
|
|
29616
29625
|
const obj_targetInfo_prop = obj_targetInfo[key];
|
|
29617
29626
|
const path_targetInfo_prop = path_targetInfo + '["' + key + '"]';
|
|
29618
|
-
const referencepath_targetInfo_propValidationError = validate$
|
|
29627
|
+
const referencepath_targetInfo_propValidationError = validate$o(obj_targetInfo_prop, path_targetInfo_prop);
|
|
29619
29628
|
if (referencepath_targetInfo_propValidationError !== null) {
|
|
29620
29629
|
let message = 'Object doesn\'t match LookupMetadataTargetInfoRepresentation (at "' + path_targetInfo_prop + '")\n';
|
|
29621
29630
|
message += referencepath_targetInfo_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29655,7 +29664,7 @@ function equals$9(existing, incoming) {
|
|
|
29655
29664
|
}
|
|
29656
29665
|
const ingest$5 = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29657
29666
|
if (process.env.NODE_ENV !== 'production') {
|
|
29658
|
-
const validateError = validate$
|
|
29667
|
+
const validateError = validate$n(input);
|
|
29659
29668
|
if (validateError !== null) {
|
|
29660
29669
|
throw validateError;
|
|
29661
29670
|
}
|
|
@@ -29817,7 +29826,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
29817
29826
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$7);
|
|
29818
29827
|
};
|
|
29819
29828
|
|
|
29820
|
-
function validate$
|
|
29829
|
+
function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
29821
29830
|
const v_error = (() => {
|
|
29822
29831
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29823
29832
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29848,7 +29857,7 @@ function validate$l(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
|
29848
29857
|
return v_error === undefined ? null : v_error;
|
|
29849
29858
|
}
|
|
29850
29859
|
|
|
29851
|
-
function validate$
|
|
29860
|
+
function validate$l(obj, path = 'SearchFilterInputRepresentation') {
|
|
29852
29861
|
const v_error = (() => {
|
|
29853
29862
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29854
29863
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29917,7 +29926,7 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
29917
29926
|
return v_error === undefined ? null : v_error;
|
|
29918
29927
|
}
|
|
29919
29928
|
|
|
29920
|
-
function validate$
|
|
29929
|
+
function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
29921
29930
|
const v_error = (() => {
|
|
29922
29931
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29923
29932
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29930,7 +29939,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
29930
29939
|
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
29931
29940
|
const obj_dataCategories_item = obj_dataCategories[i];
|
|
29932
29941
|
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
29933
|
-
const referencepath_dataCategories_itemValidationError = validate$
|
|
29942
|
+
const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
|
|
29934
29943
|
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
29935
29944
|
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
29936
29945
|
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29945,7 +29954,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
29945
29954
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
29946
29955
|
const obj_filters_item = obj_filters[i];
|
|
29947
29956
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
29948
|
-
const referencepath_filters_itemValidationError = validate$
|
|
29957
|
+
const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
|
|
29949
29958
|
if (referencepath_filters_itemValidationError !== null) {
|
|
29950
29959
|
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
29951
29960
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29956,7 +29965,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
29956
29965
|
return v_error === undefined ? null : v_error;
|
|
29957
29966
|
}
|
|
29958
29967
|
|
|
29959
|
-
function validate$
|
|
29968
|
+
function validate$j(obj, path = 'ErrorMessageRepresentation') {
|
|
29960
29969
|
const v_error = (() => {
|
|
29961
29970
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29962
29971
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29996,7 +30005,7 @@ function validate$i(obj, path = 'ErrorMessageRepresentation') {
|
|
|
29996
30005
|
return v_error === undefined ? null : v_error;
|
|
29997
30006
|
}
|
|
29998
30007
|
|
|
29999
|
-
function validate$
|
|
30008
|
+
function validate$i(obj, path = 'SearchResultCollectionRepresentation') {
|
|
30000
30009
|
const v_error = (() => {
|
|
30001
30010
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30002
30011
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30010,7 +30019,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30010
30019
|
const path_error = path + '.error';
|
|
30011
30020
|
let obj_error_union0 = null;
|
|
30012
30021
|
const obj_error_union0_error = (() => {
|
|
30013
|
-
const referencepath_errorValidationError = validate$
|
|
30022
|
+
const referencepath_errorValidationError = validate$j(obj_error, path_error);
|
|
30014
30023
|
if (referencepath_errorValidationError !== null) {
|
|
30015
30024
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
30016
30025
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30074,7 +30083,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30074
30083
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
30075
30084
|
const obj_orderBy_item = obj_orderBy[i];
|
|
30076
30085
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
30077
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
30086
|
+
const referencepath_orderBy_itemValidationError = validate$1W(obj_orderBy_item, path_orderBy_item);
|
|
30078
30087
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
30079
30088
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
30080
30089
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30140,7 +30149,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30140
30149
|
return v_error === undefined ? null : v_error;
|
|
30141
30150
|
}
|
|
30142
30151
|
|
|
30143
|
-
function validate$
|
|
30152
|
+
function validate$h(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
30144
30153
|
const v_error = (() => {
|
|
30145
30154
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30146
30155
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30161,6 +30170,63 @@ function validate$g(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
30161
30170
|
return v_error === undefined ? null : v_error;
|
|
30162
30171
|
}
|
|
30163
30172
|
|
|
30173
|
+
function validate$g(obj, path = 'AppliedSearchFilterOutputRepresentation') {
|
|
30174
|
+
const v_error = (() => {
|
|
30175
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30176
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30177
|
+
}
|
|
30178
|
+
const obj_fieldPath = obj.fieldPath;
|
|
30179
|
+
const path_fieldPath = path + '.fieldPath';
|
|
30180
|
+
if (typeof obj_fieldPath !== 'string') {
|
|
30181
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
30182
|
+
}
|
|
30183
|
+
const obj_label = obj.label;
|
|
30184
|
+
const path_label = path + '.label';
|
|
30185
|
+
let obj_label_union0 = null;
|
|
30186
|
+
const obj_label_union0_error = (() => {
|
|
30187
|
+
if (typeof obj_label !== 'string') {
|
|
30188
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
30189
|
+
}
|
|
30190
|
+
})();
|
|
30191
|
+
if (obj_label_union0_error != null) {
|
|
30192
|
+
obj_label_union0 = obj_label_union0_error.message;
|
|
30193
|
+
}
|
|
30194
|
+
let obj_label_union1 = null;
|
|
30195
|
+
const obj_label_union1_error = (() => {
|
|
30196
|
+
if (obj_label !== null) {
|
|
30197
|
+
return new TypeError('Expected "null" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
30198
|
+
}
|
|
30199
|
+
})();
|
|
30200
|
+
if (obj_label_union1_error != null) {
|
|
30201
|
+
obj_label_union1 = obj_label_union1_error.message;
|
|
30202
|
+
}
|
|
30203
|
+
if (obj_label_union0 && obj_label_union1) {
|
|
30204
|
+
let message = 'Object doesn\'t match union (at "' + path_label + '")';
|
|
30205
|
+
message += '\n' + obj_label_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
30206
|
+
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
30207
|
+
return new TypeError(message);
|
|
30208
|
+
}
|
|
30209
|
+
const obj_operator = obj.operator;
|
|
30210
|
+
const path_operator = path + '.operator';
|
|
30211
|
+
if (typeof obj_operator !== 'string') {
|
|
30212
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
30213
|
+
}
|
|
30214
|
+
const obj_values = obj.values;
|
|
30215
|
+
const path_values = path + '.values';
|
|
30216
|
+
if (!ArrayIsArray(obj_values)) {
|
|
30217
|
+
return new TypeError('Expected "array" but received "' + typeof obj_values + '" (at "' + path_values + '")');
|
|
30218
|
+
}
|
|
30219
|
+
for (let i = 0; i < obj_values.length; i++) {
|
|
30220
|
+
const obj_values_item = obj_values[i];
|
|
30221
|
+
const path_values_item = path_values + '[' + i + ']';
|
|
30222
|
+
if (typeof obj_values_item !== 'string') {
|
|
30223
|
+
return new TypeError('Expected "string" but received "' + typeof obj_values_item + '" (at "' + path_values_item + '")');
|
|
30224
|
+
}
|
|
30225
|
+
}
|
|
30226
|
+
})();
|
|
30227
|
+
return v_error === undefined ? null : v_error;
|
|
30228
|
+
}
|
|
30229
|
+
|
|
30164
30230
|
function validate$f(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
30165
30231
|
const v_error = (() => {
|
|
30166
30232
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -30200,6 +30266,21 @@ function validate$e(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
30200
30266
|
if (typeof obj_answerType !== 'string') {
|
|
30201
30267
|
return new TypeError('Expected "string" but received "' + typeof obj_answerType + '" (at "' + path_answerType + '")');
|
|
30202
30268
|
}
|
|
30269
|
+
const obj_appliedFilters = obj.appliedFilters;
|
|
30270
|
+
const path_appliedFilters = path + '.appliedFilters';
|
|
30271
|
+
if (!ArrayIsArray(obj_appliedFilters)) {
|
|
30272
|
+
return new TypeError('Expected "array" but received "' + typeof obj_appliedFilters + '" (at "' + path_appliedFilters + '")');
|
|
30273
|
+
}
|
|
30274
|
+
for (let i = 0; i < obj_appliedFilters.length; i++) {
|
|
30275
|
+
const obj_appliedFilters_item = obj_appliedFilters[i];
|
|
30276
|
+
const path_appliedFilters_item = path_appliedFilters + '[' + i + ']';
|
|
30277
|
+
const referencepath_appliedFilters_itemValidationError = validate$g(obj_appliedFilters_item, path_appliedFilters_item);
|
|
30278
|
+
if (referencepath_appliedFilters_itemValidationError !== null) {
|
|
30279
|
+
let message = 'Object doesn\'t match AppliedSearchFilterOutputRepresentation (at "' + path_appliedFilters_item + '")\n';
|
|
30280
|
+
message += referencepath_appliedFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30281
|
+
return new TypeError(message);
|
|
30282
|
+
}
|
|
30283
|
+
}
|
|
30203
30284
|
const obj_passage = obj.passage;
|
|
30204
30285
|
const path_passage = path + '.passage';
|
|
30205
30286
|
if (typeof obj_passage !== 'string') {
|
|
@@ -30265,11 +30346,6 @@ function validate$c(obj, path = 'SearchFilterOutputRepresentation') {
|
|
|
30265
30346
|
if (typeof obj_fieldPath !== 'string') {
|
|
30266
30347
|
return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
|
|
30267
30348
|
}
|
|
30268
|
-
const obj_label = obj.label;
|
|
30269
|
-
const path_label = path + '.label';
|
|
30270
|
-
if (typeof obj_label !== 'string') {
|
|
30271
|
-
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
30272
|
-
}
|
|
30273
30349
|
const obj_operator = obj.operator;
|
|
30274
30350
|
const path_operator = path + '.operator';
|
|
30275
30351
|
if (typeof obj_operator !== 'string') {
|
|
@@ -30367,7 +30443,7 @@ function validate$a(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
30367
30443
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
30368
30444
|
let obj_keywordSearchResults_union0 = null;
|
|
30369
30445
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
30370
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
30446
|
+
const referencepath_keywordSearchResultsValidationError = validate$h(obj_keywordSearchResults, path_keywordSearchResults);
|
|
30371
30447
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
30372
30448
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' + path_keywordSearchResults + '")\n';
|
|
30373
30449
|
message += referencepath_keywordSearchResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30580,7 +30656,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
30580
30656
|
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
30581
30657
|
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
30582
30658
|
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
30583
|
-
const referenceSearchObjectOptionsRepresentationValidationError = validate$
|
|
30659
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
|
|
30584
30660
|
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
30585
30661
|
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
30586
30662
|
untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
|
|
@@ -30699,7 +30775,7 @@ function validate$9(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
30699
30775
|
}
|
|
30700
30776
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
30701
30777
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
30702
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
30778
|
+
const referencepath_keywordSearchResultValidationError = validate$i(obj_keywordSearchResult, path_keywordSearchResult);
|
|
30703
30779
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
30704
30780
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' + path_keywordSearchResult + '")\n';
|
|
30705
30781
|
message += referencepath_keywordSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30854,7 +30930,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
30854
30930
|
const untrustedConfig_filters_array = [];
|
|
30855
30931
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
30856
30932
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
30857
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
30933
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
|
|
30858
30934
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
30859
30935
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
30860
30936
|
}
|
|
@@ -32353,7 +32429,7 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
32353
32429
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
32354
32430
|
let obj_recordTypeInfo_union0 = null;
|
|
32355
32431
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
32356
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
32432
|
+
const referencepath_recordTypeInfoValidationError = validate$1N(obj_recordTypeInfo, path_recordTypeInfo);
|
|
32357
32433
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
32358
32434
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
32359
32435
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35590,4 +35666,4 @@ withDefaultLuvio((luvio) => {
|
|
|
35590
35666
|
});
|
|
35591
35667
|
|
|
35592
35668
|
export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$N as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$S as RecordRepresentationRepresentationType, TTL$y as RecordRepresentationTTL, RepresentationType$S as RecordRepresentationType, VERSION$18 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$U as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$G as ingestObjectInfo, ingest$A as ingestQuickActionExecutionRepresentation, ingest$L as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$A as keyBuilderFromTypeRecordRepresentation, keyBuilder$1R as keyBuilderObjectInfo, keyBuilder$1K as keyBuilderQuickActionExecutionRepresentation, keyBuilder$20 as keyBuilderRecord, notifyListInfoUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
35593
|
-
// version: 1.266.0-
|
|
35669
|
+
// version: 1.266.0-dev10-3275d4bf8
|