@salesforce/lds-adapters-uiapi 1.130.10 → 1.131.0-dev9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/types/src/generated/types/ListInfoRepresentation.d.ts +1 -4
- package/dist/es/es2018/types/src/generated/types/SearchAnswersRecordRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SearchAnswersResultRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/SearchResultsSummaryRepresentation.d.ts +4 -4
- package/dist/es/es2018/types/src/main.d.ts +1 -0
- package/dist/es/es2018/types/src/sfdc_rest.d.ts +1 -1
- package/dist/es/es2018/uiapi-records-service.js +27690 -27669
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +404 -340
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +34 -9
package/sfdc/index.js
CHANGED
|
@@ -417,20 +417,20 @@ function equalsObject(a, b, equalsProp) {
|
|
|
417
417
|
}
|
|
418
418
|
return true;
|
|
419
419
|
}
|
|
420
|
-
function deepFreeze$
|
|
420
|
+
function deepFreeze$Q(value) {
|
|
421
421
|
// No need to freeze primitives
|
|
422
422
|
if (typeof value !== 'object' || value === null) {
|
|
423
423
|
return;
|
|
424
424
|
}
|
|
425
425
|
if (ArrayIsArray(value)) {
|
|
426
426
|
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
427
|
-
deepFreeze$
|
|
427
|
+
deepFreeze$Q(value[i]);
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
430
|
else {
|
|
431
431
|
const keys = ObjectKeys(value);
|
|
432
432
|
for (let i = 0, len = keys.length; i < len; i += 1) {
|
|
433
|
-
deepFreeze$
|
|
433
|
+
deepFreeze$Q(value[keys[i]]);
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
ObjectFreeze(value);
|
|
@@ -445,7 +445,7 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
const VERSION$1d = "275ae22194003d1e53f548b81219c5cb";
|
|
448
|
-
function validate$
|
|
448
|
+
function validate$1B(obj, path = 'ListColumnRepresentation') {
|
|
449
449
|
const v_error = (() => {
|
|
450
450
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
451
451
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -521,7 +521,7 @@ const select$1H = function ListColumnRepresentationSelect() {
|
|
|
521
521
|
};
|
|
522
522
|
|
|
523
523
|
const VERSION$1c = "623aa9ce3a11031e35faf5671a41746e";
|
|
524
|
-
function validate$
|
|
524
|
+
function validate$1A(obj, path = 'ListFilterByInfoRepresentation') {
|
|
525
525
|
const v_error = (() => {
|
|
526
526
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
527
527
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -582,14 +582,14 @@ const select$1G = function ListFilterByInfoRepresentationSelect() {
|
|
|
582
582
|
]
|
|
583
583
|
};
|
|
584
584
|
};
|
|
585
|
-
function deepFreeze$
|
|
585
|
+
function deepFreeze$P(input) {
|
|
586
586
|
const input_operandLabels = input.operandLabels;
|
|
587
587
|
ObjectFreeze(input_operandLabels);
|
|
588
588
|
ObjectFreeze(input);
|
|
589
589
|
}
|
|
590
590
|
|
|
591
591
|
const VERSION$1b = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
592
|
-
function validate$
|
|
592
|
+
function validate$1z(obj, path = 'ListReferenceRepresentation') {
|
|
593
593
|
const v_error = (() => {
|
|
594
594
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
595
595
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -709,7 +709,7 @@ function equals$X(existing, incoming) {
|
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
const VERSION$1a = "32def9b631252c12b91a8209c1f49f5a";
|
|
712
|
-
function validate$
|
|
712
|
+
function validate$1y(obj, path = 'ListOrderByInfoRepresentation') {
|
|
713
713
|
const v_error = (() => {
|
|
714
714
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
715
715
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -774,12 +774,12 @@ const select$1E = function ListOrderByInfoRepresentationSelect() {
|
|
|
774
774
|
]
|
|
775
775
|
};
|
|
776
776
|
};
|
|
777
|
-
function deepFreeze$
|
|
777
|
+
function deepFreeze$O(input) {
|
|
778
778
|
ObjectFreeze(input);
|
|
779
779
|
}
|
|
780
780
|
|
|
781
781
|
const VERSION$19 = "6506134f4d72fdfa349fe60ef1af2413";
|
|
782
|
-
function validate$
|
|
782
|
+
function validate$1x(obj, path = 'ListUserPreferenceRepresentation') {
|
|
783
783
|
const v_error = (() => {
|
|
784
784
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
785
785
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -834,7 +834,7 @@ const select$1D = function ListUserPreferenceRepresentationSelect() {
|
|
|
834
834
|
]
|
|
835
835
|
};
|
|
836
836
|
};
|
|
837
|
-
function deepFreeze$
|
|
837
|
+
function deepFreeze$N(input) {
|
|
838
838
|
const input_columnWidths = input.columnWidths;
|
|
839
839
|
const input_columnWidths_keys = Object.keys(input_columnWidths);
|
|
840
840
|
const input_columnWidths_length = input_columnWidths_keys.length;
|
|
@@ -853,8 +853,8 @@ function deepFreeze$M(input) {
|
|
|
853
853
|
}
|
|
854
854
|
|
|
855
855
|
const TTL$x = 900000;
|
|
856
|
-
const VERSION$18 = "
|
|
857
|
-
function validate$
|
|
856
|
+
const VERSION$18 = "69101560544e3433c988f3a2b202744b";
|
|
857
|
+
function validate$1w(obj, path = 'ListInfoRepresentation') {
|
|
858
858
|
const v_error = (() => {
|
|
859
859
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
860
860
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -882,7 +882,7 @@ function validate$1v(obj, path = 'ListInfoRepresentation') {
|
|
|
882
882
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
883
883
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
884
884
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
885
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
885
|
+
const referencepath_displayColumns_itemValidationError = validate$1B(obj_displayColumns_item, path_displayColumns_item);
|
|
886
886
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
887
887
|
let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
888
888
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -928,7 +928,7 @@ function validate$1v(obj, path = 'ListInfoRepresentation') {
|
|
|
928
928
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
929
929
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
930
930
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
931
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
931
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1A(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
932
932
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
933
933
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
934
934
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -963,24 +963,12 @@ function validate$1v(obj, path = 'ListInfoRepresentation') {
|
|
|
963
963
|
}
|
|
964
964
|
const obj_listReference = obj.listReference;
|
|
965
965
|
const path_listReference = path + '.listReference';
|
|
966
|
-
const referencepath_listReferenceValidationError = validate$
|
|
966
|
+
const referencepath_listReferenceValidationError = validate$1z(obj_listReference, path_listReference);
|
|
967
967
|
if (referencepath_listReferenceValidationError !== null) {
|
|
968
968
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
969
969
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
970
970
|
return new TypeError(message);
|
|
971
971
|
}
|
|
972
|
-
const obj_objectApiNames = obj.objectApiNames;
|
|
973
|
-
const path_objectApiNames = path + '.objectApiNames';
|
|
974
|
-
if (!ArrayIsArray(obj_objectApiNames)) {
|
|
975
|
-
return new TypeError('Expected "array" but received "' + typeof obj_objectApiNames + '" (at "' + path_objectApiNames + '")');
|
|
976
|
-
}
|
|
977
|
-
for (let i = 0; i < obj_objectApiNames.length; i++) {
|
|
978
|
-
const obj_objectApiNames_item = obj_objectApiNames[i];
|
|
979
|
-
const path_objectApiNames_item = path_objectApiNames + '[' + i + ']';
|
|
980
|
-
if (typeof obj_objectApiNames_item !== 'string') {
|
|
981
|
-
return new TypeError('Expected "string" but received "' + typeof obj_objectApiNames_item + '" (at "' + path_objectApiNames_item + '")');
|
|
982
|
-
}
|
|
983
|
-
}
|
|
984
972
|
const obj_orderedByInfo = obj.orderedByInfo;
|
|
985
973
|
const path_orderedByInfo = path + '.orderedByInfo';
|
|
986
974
|
if (!ArrayIsArray(obj_orderedByInfo)) {
|
|
@@ -989,7 +977,7 @@ function validate$1v(obj, path = 'ListInfoRepresentation') {
|
|
|
989
977
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
990
978
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
991
979
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
992
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
980
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1y(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
993
981
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
994
982
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
995
983
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1003,7 +991,7 @@ function validate$1v(obj, path = 'ListInfoRepresentation') {
|
|
|
1003
991
|
}
|
|
1004
992
|
const obj_userPreferences = obj.userPreferences;
|
|
1005
993
|
const path_userPreferences = path + '.userPreferences';
|
|
1006
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
994
|
+
const referencepath_userPreferencesValidationError = validate$1x(obj_userPreferences, path_userPreferences);
|
|
1007
995
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
1008
996
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
1009
997
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1087,11 +1075,6 @@ const select$1C = function ListInfoRepresentationSelect() {
|
|
|
1087
1075
|
kind: 'Object',
|
|
1088
1076
|
selections: ListReferenceRepresentation__selections
|
|
1089
1077
|
},
|
|
1090
|
-
{
|
|
1091
|
-
name: 'objectApiNames',
|
|
1092
|
-
kind: 'Scalar',
|
|
1093
|
-
plural: true
|
|
1094
|
-
},
|
|
1095
1078
|
{
|
|
1096
1079
|
name: 'orderedByInfo',
|
|
1097
1080
|
kind: 'Object',
|
|
@@ -1126,7 +1109,7 @@ function equals$W(existing, incoming) {
|
|
|
1126
1109
|
}
|
|
1127
1110
|
const ingest$J = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1128
1111
|
if (process.env.NODE_ENV !== 'production') {
|
|
1129
|
-
const validateError = validate$
|
|
1112
|
+
const validateError = validate$1w(input);
|
|
1130
1113
|
if (validateError !== null) {
|
|
1131
1114
|
throw validateError;
|
|
1132
1115
|
}
|
|
@@ -1167,7 +1150,7 @@ function getTypeCacheKeys$R(luvio, input, fullPathFactory) {
|
|
|
1167
1150
|
}
|
|
1168
1151
|
|
|
1169
1152
|
const VERSION$17 = "d1e589a127fb1060c89070cdb6f500b2";
|
|
1170
|
-
function validate$
|
|
1153
|
+
function validate$1v(obj, path = 'RecordTypeInfoRepresentation') {
|
|
1171
1154
|
const v_error = (() => {
|
|
1172
1155
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1173
1156
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1257,12 +1240,12 @@ function equals$V(existing, incoming) {
|
|
|
1257
1240
|
}
|
|
1258
1241
|
return true;
|
|
1259
1242
|
}
|
|
1260
|
-
function deepFreeze$
|
|
1243
|
+
function deepFreeze$M(input) {
|
|
1261
1244
|
ObjectFreeze(input);
|
|
1262
1245
|
}
|
|
1263
1246
|
|
|
1264
1247
|
const VERSION$16 = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
1265
|
-
function validate$
|
|
1248
|
+
function validate$1u(obj, path = 'FieldValueRepresentation') {
|
|
1266
1249
|
const v_error = (() => {
|
|
1267
1250
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1268
1251
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1407,16 +1390,16 @@ function equals$U(existing, incoming) {
|
|
|
1407
1390
|
}
|
|
1408
1391
|
return true;
|
|
1409
1392
|
}
|
|
1410
|
-
function deepFreeze$
|
|
1393
|
+
function deepFreeze$L(input) {
|
|
1411
1394
|
const input_value = input.value;
|
|
1412
1395
|
if (input_value !== null && typeof input_value === 'object') {
|
|
1413
|
-
deepFreeze$
|
|
1396
|
+
deepFreeze$J(input_value);
|
|
1414
1397
|
}
|
|
1415
1398
|
ObjectFreeze(input);
|
|
1416
1399
|
}
|
|
1417
1400
|
const ingest$I = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1418
1401
|
if (process.env.NODE_ENV !== 'production') {
|
|
1419
|
-
const validateError = validate$
|
|
1402
|
+
const validateError = validate$1u(input);
|
|
1420
1403
|
if (validateError !== null) {
|
|
1421
1404
|
throw validateError;
|
|
1422
1405
|
}
|
|
@@ -1498,7 +1481,7 @@ const getTypeCacheKeys$P = (luvio, input, _fullPathFactory) => {
|
|
|
1498
1481
|
|
|
1499
1482
|
const TTL$w = 120000;
|
|
1500
1483
|
const VERSION$15 = "79cb5ac9f44542f683d00245fdfe500d";
|
|
1501
|
-
function validate$
|
|
1484
|
+
function validate$1t(obj, path = 'RecordCollectionRepresentation') {
|
|
1502
1485
|
const v_error = (() => {
|
|
1503
1486
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1504
1487
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1769,18 +1752,18 @@ function equals$T(existing, incoming) {
|
|
|
1769
1752
|
}
|
|
1770
1753
|
return true;
|
|
1771
1754
|
}
|
|
1772
|
-
function deepFreeze$
|
|
1755
|
+
function deepFreeze$K(input) {
|
|
1773
1756
|
const input_records = input.records;
|
|
1774
1757
|
for (let i = 0; i < input_records.length; i++) {
|
|
1775
1758
|
const input_records_item = input_records[i];
|
|
1776
|
-
deepFreeze$
|
|
1759
|
+
deepFreeze$J(input_records_item);
|
|
1777
1760
|
}
|
|
1778
1761
|
ObjectFreeze(input_records);
|
|
1779
1762
|
ObjectFreeze(input);
|
|
1780
1763
|
}
|
|
1781
1764
|
const ingest$H = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1782
1765
|
if (process.env.NODE_ENV !== 'production') {
|
|
1783
|
-
const validateError = validate$
|
|
1766
|
+
const validateError = validate$1t(input);
|
|
1784
1767
|
if (validateError !== null) {
|
|
1785
1768
|
throw validateError;
|
|
1786
1769
|
}
|
|
@@ -1836,7 +1819,7 @@ const keyBuilderFromType$y = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
1836
1819
|
|
|
1837
1820
|
const TTL$v = 30000;
|
|
1838
1821
|
const VERSION$14 = "98c5b18512e48ca8d28727549507e4ba";
|
|
1839
|
-
function validate$
|
|
1822
|
+
function validate$1s(obj, path = 'RecordRepresentation') {
|
|
1840
1823
|
const v_error = (() => {
|
|
1841
1824
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1842
1825
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1966,7 +1949,7 @@ function validate$1r(obj, path = 'RecordRepresentation') {
|
|
|
1966
1949
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
1967
1950
|
let obj_recordTypeInfo_union0 = null;
|
|
1968
1951
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
1969
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
1952
|
+
const referencepath_recordTypeInfoValidationError = validate$1v(obj_recordTypeInfo, path_recordTypeInfo);
|
|
1970
1953
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
1971
1954
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
1972
1955
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2261,14 +2244,14 @@ function equals$S(existing, incoming) {
|
|
|
2261
2244
|
}
|
|
2262
2245
|
return true;
|
|
2263
2246
|
}
|
|
2264
|
-
function deepFreeze$
|
|
2247
|
+
function deepFreeze$J(input) {
|
|
2265
2248
|
const input_childRelationships = input.childRelationships;
|
|
2266
2249
|
const input_childRelationships_keys = Object.keys(input_childRelationships);
|
|
2267
2250
|
const input_childRelationships_length = input_childRelationships_keys.length;
|
|
2268
2251
|
for (let i = 0; i < input_childRelationships_length; i++) {
|
|
2269
2252
|
const key = input_childRelationships_keys[i];
|
|
2270
2253
|
const input_childRelationships_prop = input_childRelationships[key];
|
|
2271
|
-
deepFreeze$
|
|
2254
|
+
deepFreeze$K(input_childRelationships_prop);
|
|
2272
2255
|
}
|
|
2273
2256
|
ObjectFreeze(input_childRelationships);
|
|
2274
2257
|
const input_fields = input.fields;
|
|
@@ -2277,12 +2260,12 @@ function deepFreeze$I(input) {
|
|
|
2277
2260
|
for (let i = 0; i < input_fields_length; i++) {
|
|
2278
2261
|
const key = input_fields_keys[i];
|
|
2279
2262
|
const input_fields_prop = input_fields[key];
|
|
2280
|
-
deepFreeze$
|
|
2263
|
+
deepFreeze$L(input_fields_prop);
|
|
2281
2264
|
}
|
|
2282
2265
|
ObjectFreeze(input_fields);
|
|
2283
2266
|
const input_recordTypeInfo = input.recordTypeInfo;
|
|
2284
2267
|
if (input_recordTypeInfo !== null && typeof input_recordTypeInfo === 'object') {
|
|
2285
|
-
deepFreeze$
|
|
2268
|
+
deepFreeze$M(input_recordTypeInfo);
|
|
2286
2269
|
}
|
|
2287
2270
|
ObjectFreeze(input);
|
|
2288
2271
|
}
|
|
@@ -4595,7 +4578,7 @@ function normalize$G(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
4595
4578
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
4596
4579
|
return (input, path, luvio, store, timestamp) => {
|
|
4597
4580
|
if (process.env.NODE_ENV !== 'production') {
|
|
4598
|
-
const validateError = validate$
|
|
4581
|
+
const validateError = validate$1u(input);
|
|
4599
4582
|
if (validateError !== null) {
|
|
4600
4583
|
throw validateError;
|
|
4601
4584
|
}
|
|
@@ -4688,7 +4671,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
4688
4671
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
4689
4672
|
return (input, path, luvio, store, timestamp) => {
|
|
4690
4673
|
if (process.env.NODE_ENV !== 'production') {
|
|
4691
|
-
const validateError = validate$
|
|
4674
|
+
const validateError = validate$1s(input);
|
|
4692
4675
|
if (validateError !== null) {
|
|
4693
4676
|
throw validateError;
|
|
4694
4677
|
}
|
|
@@ -5698,7 +5681,7 @@ function tokenForAtMost(paginationMetadata, maxOffset) {
|
|
|
5698
5681
|
|
|
5699
5682
|
const TTL$u = 30000;
|
|
5700
5683
|
const VERSION$12 = "614ef19823027c07fa6deb9a149619d2";
|
|
5701
|
-
function validate$
|
|
5684
|
+
function validate$1r(obj, path = 'ListRecordCollectionRepresentation') {
|
|
5702
5685
|
const v_error = (() => {
|
|
5703
5686
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5704
5687
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5758,7 +5741,7 @@ function validate$1q(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
5758
5741
|
}
|
|
5759
5742
|
const obj_listReference = obj.listReference;
|
|
5760
5743
|
const path_listReference = path + '.listReference';
|
|
5761
|
-
const referencepath_listReferenceValidationError = validate$
|
|
5744
|
+
const referencepath_listReferenceValidationError = validate$1z(obj_listReference, path_listReference);
|
|
5762
5745
|
if (referencepath_listReferenceValidationError !== null) {
|
|
5763
5746
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
5764
5747
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6261,7 +6244,7 @@ function equals$R(existing, incoming) {
|
|
|
6261
6244
|
}
|
|
6262
6245
|
const ingest$F = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6263
6246
|
if (process.env.NODE_ENV !== 'production') {
|
|
6264
|
-
const validateError = validate$
|
|
6247
|
+
const validateError = validate$1r(input);
|
|
6265
6248
|
if (validateError !== null) {
|
|
6266
6249
|
throw validateError;
|
|
6267
6250
|
}
|
|
@@ -6356,7 +6339,7 @@ function getTypeCacheKeys$M(luvio, input, fullPathFactory) {
|
|
|
6356
6339
|
}
|
|
6357
6340
|
|
|
6358
6341
|
const VERSION$11 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
6359
|
-
function validate$
|
|
6342
|
+
function validate$1q(obj, path = 'ListUiRepresentation') {
|
|
6360
6343
|
const v_error = (() => {
|
|
6361
6344
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6362
6345
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6462,7 +6445,7 @@ function equals$Q(existing, incoming) {
|
|
|
6462
6445
|
}
|
|
6463
6446
|
const ingest$E = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6464
6447
|
if (process.env.NODE_ENV !== 'production') {
|
|
6465
|
-
const validateError = validate$
|
|
6448
|
+
const validateError = validate$1q(input);
|
|
6466
6449
|
if (validateError !== null) {
|
|
6467
6450
|
throw validateError;
|
|
6468
6451
|
}
|
|
@@ -7211,7 +7194,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
7211
7194
|
}
|
|
7212
7195
|
|
|
7213
7196
|
const VERSION$10 = "c6347b2701bb8ffb0b6ca6c027011c57";
|
|
7214
|
-
function validate$
|
|
7197
|
+
function validate$1p(obj, path = 'ListViewSummaryRepresentation') {
|
|
7215
7198
|
const v_error = (() => {
|
|
7216
7199
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7217
7200
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7302,7 +7285,7 @@ function equals$P(existing, incoming) {
|
|
|
7302
7285
|
}
|
|
7303
7286
|
const ingest$D = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7304
7287
|
if (process.env.NODE_ENV !== 'production') {
|
|
7305
|
-
const validateError = validate$
|
|
7288
|
+
const validateError = validate$1p(input);
|
|
7306
7289
|
if (validateError !== null) {
|
|
7307
7290
|
throw validateError;
|
|
7308
7291
|
}
|
|
@@ -7343,7 +7326,7 @@ function getTypeCacheKeys$K(luvio, input, fullPathFactory) {
|
|
|
7343
7326
|
}
|
|
7344
7327
|
|
|
7345
7328
|
const VERSION$$ = "f4c79fe066da3558499d5ee88c72abcd";
|
|
7346
|
-
function validate$
|
|
7329
|
+
function validate$1o(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
7347
7330
|
const v_error = (() => {
|
|
7348
7331
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7349
7332
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7728,7 +7711,7 @@ function equals$O(existing, incoming) {
|
|
|
7728
7711
|
}
|
|
7729
7712
|
const ingest$C = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7730
7713
|
if (process.env.NODE_ENV !== 'production') {
|
|
7731
|
-
const validateError = validate$
|
|
7714
|
+
const validateError = validate$1o(input);
|
|
7732
7715
|
if (validateError !== null) {
|
|
7733
7716
|
throw validateError;
|
|
7734
7717
|
}
|
|
@@ -8984,7 +8967,7 @@ const factory$g = (luvio) => {
|
|
|
8984
8967
|
}, { contextId: contextId$4 });
|
|
8985
8968
|
};
|
|
8986
8969
|
|
|
8987
|
-
function validate$
|
|
8970
|
+
function validate$1n(obj, path = 'ChildRelationshipRepresentation') {
|
|
8988
8971
|
const v_error = (() => {
|
|
8989
8972
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8990
8973
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9031,7 +9014,7 @@ function validate$1m(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
9031
9014
|
})();
|
|
9032
9015
|
return v_error === undefined ? null : v_error;
|
|
9033
9016
|
}
|
|
9034
|
-
function deepFreeze$
|
|
9017
|
+
function deepFreeze$I(input) {
|
|
9035
9018
|
const input_junctionIdListNames = input.junctionIdListNames;
|
|
9036
9019
|
ObjectFreeze(input_junctionIdListNames);
|
|
9037
9020
|
const input_junctionReferenceTo = input.junctionReferenceTo;
|
|
@@ -9039,7 +9022,7 @@ function deepFreeze$H(input) {
|
|
|
9039
9022
|
ObjectFreeze(input);
|
|
9040
9023
|
}
|
|
9041
9024
|
|
|
9042
|
-
function validate$
|
|
9025
|
+
function validate$1m(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
9043
9026
|
const v_error = (() => {
|
|
9044
9027
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9045
9028
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9069,13 +9052,13 @@ function validate$1l(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
9069
9052
|
})();
|
|
9070
9053
|
return v_error === undefined ? null : v_error;
|
|
9071
9054
|
}
|
|
9072
|
-
function deepFreeze$
|
|
9055
|
+
function deepFreeze$H(input) {
|
|
9073
9056
|
const input_controllingFields = input.controllingFields;
|
|
9074
9057
|
ObjectFreeze(input_controllingFields);
|
|
9075
9058
|
ObjectFreeze(input);
|
|
9076
9059
|
}
|
|
9077
9060
|
|
|
9078
|
-
function validate$
|
|
9061
|
+
function validate$1l(obj, path = 'ReferenceToInfoRepresentation') {
|
|
9079
9062
|
const v_error = (() => {
|
|
9080
9063
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9081
9064
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9100,13 +9083,13 @@ function validate$1k(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
9100
9083
|
})();
|
|
9101
9084
|
return v_error === undefined ? null : v_error;
|
|
9102
9085
|
}
|
|
9103
|
-
function deepFreeze$
|
|
9086
|
+
function deepFreeze$G(input) {
|
|
9104
9087
|
const input_nameFields = input.nameFields;
|
|
9105
9088
|
ObjectFreeze(input_nameFields);
|
|
9106
9089
|
ObjectFreeze(input);
|
|
9107
9090
|
}
|
|
9108
9091
|
|
|
9109
|
-
function validate$
|
|
9092
|
+
function validate$1k(obj, path = 'FieldRepresentation') {
|
|
9110
9093
|
const v_error = (() => {
|
|
9111
9094
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9112
9095
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9266,7 +9249,7 @@ function validate$1j(obj, path = 'FieldRepresentation') {
|
|
|
9266
9249
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
9267
9250
|
let obj_filteredLookupInfo_union0 = null;
|
|
9268
9251
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
9269
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
9252
|
+
const referencepath_filteredLookupInfoValidationError = validate$1m(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
9270
9253
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
9271
9254
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
9272
9255
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9391,7 +9374,7 @@ function validate$1j(obj, path = 'FieldRepresentation') {
|
|
|
9391
9374
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
9392
9375
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
9393
9376
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
9394
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
9377
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1l(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
9395
9378
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
9396
9379
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
9397
9380
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9457,23 +9440,23 @@ function validate$1j(obj, path = 'FieldRepresentation') {
|
|
|
9457
9440
|
})();
|
|
9458
9441
|
return v_error === undefined ? null : v_error;
|
|
9459
9442
|
}
|
|
9460
|
-
function deepFreeze$
|
|
9443
|
+
function deepFreeze$F(input) {
|
|
9461
9444
|
const input_controllingFields = input.controllingFields;
|
|
9462
9445
|
ObjectFreeze(input_controllingFields);
|
|
9463
9446
|
const input_filteredLookupInfo = input.filteredLookupInfo;
|
|
9464
9447
|
if (input_filteredLookupInfo !== null && typeof input_filteredLookupInfo === 'object') {
|
|
9465
|
-
deepFreeze$
|
|
9448
|
+
deepFreeze$H(input_filteredLookupInfo);
|
|
9466
9449
|
}
|
|
9467
9450
|
const input_referenceToInfos = input.referenceToInfos;
|
|
9468
9451
|
for (let i = 0; i < input_referenceToInfos.length; i++) {
|
|
9469
9452
|
const input_referenceToInfos_item = input_referenceToInfos[i];
|
|
9470
|
-
deepFreeze$
|
|
9453
|
+
deepFreeze$G(input_referenceToInfos_item);
|
|
9471
9454
|
}
|
|
9472
9455
|
ObjectFreeze(input_referenceToInfos);
|
|
9473
9456
|
ObjectFreeze(input);
|
|
9474
9457
|
}
|
|
9475
9458
|
|
|
9476
|
-
function validate$
|
|
9459
|
+
function validate$1j(obj, path = 'ThemeInfoRepresentation') {
|
|
9477
9460
|
const v_error = (() => {
|
|
9478
9461
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9479
9462
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9512,13 +9495,13 @@ function validate$1i(obj, path = 'ThemeInfoRepresentation') {
|
|
|
9512
9495
|
})();
|
|
9513
9496
|
return v_error === undefined ? null : v_error;
|
|
9514
9497
|
}
|
|
9515
|
-
function deepFreeze$
|
|
9498
|
+
function deepFreeze$E(input) {
|
|
9516
9499
|
ObjectFreeze(input);
|
|
9517
9500
|
}
|
|
9518
9501
|
|
|
9519
9502
|
const TTL$t = 900000;
|
|
9520
9503
|
const VERSION$_ = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
9521
|
-
function validate$
|
|
9504
|
+
function validate$1i(obj, path = 'ObjectInfoRepresentation') {
|
|
9522
9505
|
const v_error = (() => {
|
|
9523
9506
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9524
9507
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9588,7 +9571,7 @@ function validate$1h(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9588
9571
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
9589
9572
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
9590
9573
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
9591
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
9574
|
+
const referencepath_childRelationships_itemValidationError = validate$1n(obj_childRelationships_item, path_childRelationships_item);
|
|
9592
9575
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
9593
9576
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
9594
9577
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9670,7 +9653,7 @@ function validate$1h(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9670
9653
|
const key = obj_fields_keys[i];
|
|
9671
9654
|
const obj_fields_prop = obj_fields[key];
|
|
9672
9655
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
9673
|
-
const referencepath_fields_propValidationError = validate$
|
|
9656
|
+
const referencepath_fields_propValidationError = validate$1k(obj_fields_prop, path_fields_prop);
|
|
9674
9657
|
if (referencepath_fields_propValidationError !== null) {
|
|
9675
9658
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
9676
9659
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9750,7 +9733,7 @@ function validate$1h(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9750
9733
|
const key = obj_recordTypeInfos_keys[i];
|
|
9751
9734
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
9752
9735
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
9753
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
9736
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1v(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
9754
9737
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
9755
9738
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
9756
9739
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9766,7 +9749,7 @@ function validate$1h(obj, path = 'ObjectInfoRepresentation') {
|
|
|
9766
9749
|
const path_themeInfo = path + '.themeInfo';
|
|
9767
9750
|
let obj_themeInfo_union0 = null;
|
|
9768
9751
|
const obj_themeInfo_union0_error = (() => {
|
|
9769
|
-
const referencepath_themeInfoValidationError = validate$
|
|
9752
|
+
const referencepath_themeInfoValidationError = validate$1j(obj_themeInfo, path_themeInfo);
|
|
9770
9753
|
if (referencepath_themeInfoValidationError !== null) {
|
|
9771
9754
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
9772
9755
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9923,11 +9906,11 @@ function equals$N(existing, incoming) {
|
|
|
9923
9906
|
}
|
|
9924
9907
|
return true;
|
|
9925
9908
|
}
|
|
9926
|
-
function deepFreeze$
|
|
9909
|
+
function deepFreeze$D(input) {
|
|
9927
9910
|
const input_childRelationships = input.childRelationships;
|
|
9928
9911
|
for (let i = 0; i < input_childRelationships.length; i++) {
|
|
9929
9912
|
const input_childRelationships_item = input_childRelationships[i];
|
|
9930
|
-
deepFreeze$
|
|
9913
|
+
deepFreeze$I(input_childRelationships_item);
|
|
9931
9914
|
}
|
|
9932
9915
|
ObjectFreeze(input_childRelationships);
|
|
9933
9916
|
const input_dependentFields = input.dependentFields;
|
|
@@ -9945,7 +9928,7 @@ function deepFreeze$C(input) {
|
|
|
9945
9928
|
for (let i = 0; i < input_fields_length; i++) {
|
|
9946
9929
|
const key = input_fields_keys[i];
|
|
9947
9930
|
const input_fields_prop = input_fields[key];
|
|
9948
|
-
deepFreeze$
|
|
9931
|
+
deepFreeze$F(input_fields_prop);
|
|
9949
9932
|
}
|
|
9950
9933
|
ObjectFreeze(input_fields);
|
|
9951
9934
|
const input_nameFields = input.nameFields;
|
|
@@ -9956,18 +9939,18 @@ function deepFreeze$C(input) {
|
|
|
9956
9939
|
for (let i = 0; i < input_recordTypeInfos_length; i++) {
|
|
9957
9940
|
const key = input_recordTypeInfos_keys[i];
|
|
9958
9941
|
const input_recordTypeInfos_prop = input_recordTypeInfos[key];
|
|
9959
|
-
deepFreeze$
|
|
9942
|
+
deepFreeze$M(input_recordTypeInfos_prop);
|
|
9960
9943
|
}
|
|
9961
9944
|
ObjectFreeze(input_recordTypeInfos);
|
|
9962
9945
|
const input_themeInfo = input.themeInfo;
|
|
9963
9946
|
if (input_themeInfo !== null && typeof input_themeInfo === 'object') {
|
|
9964
|
-
deepFreeze$
|
|
9947
|
+
deepFreeze$E(input_themeInfo);
|
|
9965
9948
|
}
|
|
9966
9949
|
ObjectFreeze(input);
|
|
9967
9950
|
}
|
|
9968
9951
|
const ingest$B = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9969
9952
|
if (process.env.NODE_ENV !== 'production') {
|
|
9970
|
-
const validateError = validate$
|
|
9953
|
+
const validateError = validate$1i(input);
|
|
9971
9954
|
if (validateError !== null) {
|
|
9972
9955
|
throw validateError;
|
|
9973
9956
|
}
|
|
@@ -9981,7 +9964,7 @@ const ingest$B = function ObjectInfoRepresentationIngest(input, path, luvio, sto
|
|
|
9981
9964
|
propertyName: path.propertyName,
|
|
9982
9965
|
ttl: ttlToUse
|
|
9983
9966
|
});
|
|
9984
|
-
deepFreeze$
|
|
9967
|
+
deepFreeze$D(input);
|
|
9985
9968
|
if (existingRecord === undefined || equals$N(existingRecord, incomingRecord) === false) {
|
|
9986
9969
|
luvio.storePublish(key, incomingRecord);
|
|
9987
9970
|
}
|
|
@@ -10179,7 +10162,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
10179
10162
|
buildCachedSnapshotCachePolicy$H, buildNetworkSnapshotCachePolicy$I);
|
|
10180
10163
|
};
|
|
10181
10164
|
|
|
10182
|
-
function validate$
|
|
10165
|
+
function validate$1h(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
10183
10166
|
const v_error = (() => {
|
|
10184
10167
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10185
10168
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10217,7 +10200,7 @@ function validate$1g(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
|
10217
10200
|
})();
|
|
10218
10201
|
return v_error === undefined ? null : v_error;
|
|
10219
10202
|
}
|
|
10220
|
-
function deepFreeze$
|
|
10203
|
+
function deepFreeze$C(input) {
|
|
10221
10204
|
ObjectFreeze(input);
|
|
10222
10205
|
}
|
|
10223
10206
|
|
|
@@ -10230,7 +10213,7 @@ var DiscriminatorValues$4;
|
|
|
10230
10213
|
DiscriminatorValues["Field"] = "Field";
|
|
10231
10214
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
10232
10215
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
10233
|
-
function validate$
|
|
10216
|
+
function validate$1g(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
10234
10217
|
const v_error = (() => {
|
|
10235
10218
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10236
10219
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10269,11 +10252,11 @@ function validate$1f(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
10269
10252
|
})();
|
|
10270
10253
|
return v_error === undefined ? null : v_error;
|
|
10271
10254
|
}
|
|
10272
|
-
function deepFreeze$
|
|
10255
|
+
function deepFreeze$B(input) {
|
|
10273
10256
|
ObjectFreeze(input);
|
|
10274
10257
|
}
|
|
10275
10258
|
|
|
10276
|
-
function validate$
|
|
10259
|
+
function validate$1f(obj, path = 'RecordLayoutItemRepresentation') {
|
|
10277
10260
|
const v_error = (() => {
|
|
10278
10261
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10279
10262
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10301,7 +10284,7 @@ function validate$1e(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10301
10284
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
10302
10285
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
10303
10286
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
10304
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
10287
|
+
const referencepath_layoutComponents_itemValidationError = validate$1g(obj_layoutComponents_item, path_layoutComponents_item);
|
|
10305
10288
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
10306
10289
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
10307
10290
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10347,17 +10330,17 @@ function validate$1e(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10347
10330
|
})();
|
|
10348
10331
|
return v_error === undefined ? null : v_error;
|
|
10349
10332
|
}
|
|
10350
|
-
function deepFreeze$
|
|
10333
|
+
function deepFreeze$A(input) {
|
|
10351
10334
|
const input_layoutComponents = input.layoutComponents;
|
|
10352
10335
|
for (let i = 0; i < input_layoutComponents.length; i++) {
|
|
10353
10336
|
const input_layoutComponents_item = input_layoutComponents[i];
|
|
10354
|
-
deepFreeze$
|
|
10337
|
+
deepFreeze$B(input_layoutComponents_item);
|
|
10355
10338
|
}
|
|
10356
10339
|
ObjectFreeze(input_layoutComponents);
|
|
10357
10340
|
ObjectFreeze(input);
|
|
10358
10341
|
}
|
|
10359
10342
|
|
|
10360
|
-
function validate$
|
|
10343
|
+
function validate$1e(obj, path = 'RecordLayoutRowRepresentation') {
|
|
10361
10344
|
const v_error = (() => {
|
|
10362
10345
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10363
10346
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10370,7 +10353,7 @@ function validate$1d(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10370
10353
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
10371
10354
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
10372
10355
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
10373
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
10356
|
+
const referencepath_layoutItems_itemValidationError = validate$1f(obj_layoutItems_item, path_layoutItems_item);
|
|
10374
10357
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
10375
10358
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
10376
10359
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10380,17 +10363,17 @@ function validate$1d(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10380
10363
|
})();
|
|
10381
10364
|
return v_error === undefined ? null : v_error;
|
|
10382
10365
|
}
|
|
10383
|
-
function deepFreeze$
|
|
10366
|
+
function deepFreeze$z(input) {
|
|
10384
10367
|
const input_layoutItems = input.layoutItems;
|
|
10385
10368
|
for (let i = 0; i < input_layoutItems.length; i++) {
|
|
10386
10369
|
const input_layoutItems_item = input_layoutItems[i];
|
|
10387
|
-
deepFreeze$
|
|
10370
|
+
deepFreeze$A(input_layoutItems_item);
|
|
10388
10371
|
}
|
|
10389
10372
|
ObjectFreeze(input_layoutItems);
|
|
10390
10373
|
ObjectFreeze(input);
|
|
10391
10374
|
}
|
|
10392
10375
|
|
|
10393
|
-
function validate$
|
|
10376
|
+
function validate$1d(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
10394
10377
|
const v_error = (() => {
|
|
10395
10378
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10396
10379
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10465,7 +10448,7 @@ function validate$1c(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10465
10448
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
10466
10449
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
10467
10450
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
10468
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
10451
|
+
const referencepath_layoutRows_itemValidationError = validate$1e(obj_layoutRows_item, path_layoutRows_item);
|
|
10469
10452
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
10470
10453
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
10471
10454
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10485,11 +10468,11 @@ function validate$1c(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10485
10468
|
})();
|
|
10486
10469
|
return v_error === undefined ? null : v_error;
|
|
10487
10470
|
}
|
|
10488
|
-
function deepFreeze$
|
|
10471
|
+
function deepFreeze$y(input) {
|
|
10489
10472
|
const input_layoutRows = input.layoutRows;
|
|
10490
10473
|
for (let i = 0; i < input_layoutRows.length; i++) {
|
|
10491
10474
|
const input_layoutRows_item = input_layoutRows[i];
|
|
10492
|
-
deepFreeze$
|
|
10475
|
+
deepFreeze$z(input_layoutRows_item);
|
|
10493
10476
|
}
|
|
10494
10477
|
ObjectFreeze(input_layoutRows);
|
|
10495
10478
|
ObjectFreeze(input);
|
|
@@ -10497,7 +10480,7 @@ function deepFreeze$x(input) {
|
|
|
10497
10480
|
|
|
10498
10481
|
const TTL$s = 900000;
|
|
10499
10482
|
const VERSION$Z = "fb515e25a89ca1ec154dc865e72b913a";
|
|
10500
|
-
function validate$
|
|
10483
|
+
function validate$1c(obj, path = 'RecordLayoutRepresentation') {
|
|
10501
10484
|
const v_error = (() => {
|
|
10502
10485
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10503
10486
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10603,7 +10586,7 @@ function validate$1b(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10603
10586
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
10604
10587
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
10605
10588
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
10606
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
10589
|
+
const referencepath_saveOptions_itemValidationError = validate$1h(obj_saveOptions_item, path_saveOptions_item);
|
|
10607
10590
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
10608
10591
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
10609
10592
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10618,7 +10601,7 @@ function validate$1b(obj, path = 'RecordLayoutRepresentation') {
|
|
|
10618
10601
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
10619
10602
|
const obj_sections_item = obj_sections[i];
|
|
10620
10603
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
10621
|
-
const referencepath_sections_itemValidationError = validate$
|
|
10604
|
+
const referencepath_sections_itemValidationError = validate$1d(obj_sections_item, path_sections_item);
|
|
10622
10605
|
if (referencepath_sections_itemValidationError !== null) {
|
|
10623
10606
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
10624
10607
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10691,24 +10674,24 @@ function equals$M(existing, incoming) {
|
|
|
10691
10674
|
}
|
|
10692
10675
|
return true;
|
|
10693
10676
|
}
|
|
10694
|
-
function deepFreeze$
|
|
10677
|
+
function deepFreeze$x(input) {
|
|
10695
10678
|
const input_saveOptions = input.saveOptions;
|
|
10696
10679
|
for (let i = 0; i < input_saveOptions.length; i++) {
|
|
10697
10680
|
const input_saveOptions_item = input_saveOptions[i];
|
|
10698
|
-
deepFreeze$
|
|
10681
|
+
deepFreeze$C(input_saveOptions_item);
|
|
10699
10682
|
}
|
|
10700
10683
|
ObjectFreeze(input_saveOptions);
|
|
10701
10684
|
const input_sections = input.sections;
|
|
10702
10685
|
for (let i = 0; i < input_sections.length; i++) {
|
|
10703
10686
|
const input_sections_item = input_sections[i];
|
|
10704
|
-
deepFreeze$
|
|
10687
|
+
deepFreeze$y(input_sections_item);
|
|
10705
10688
|
}
|
|
10706
10689
|
ObjectFreeze(input_sections);
|
|
10707
10690
|
ObjectFreeze(input);
|
|
10708
10691
|
}
|
|
10709
10692
|
const ingest$A = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10710
10693
|
if (process.env.NODE_ENV !== 'production') {
|
|
10711
|
-
const validateError = validate$
|
|
10694
|
+
const validateError = validate$1c(input);
|
|
10712
10695
|
if (validateError !== null) {
|
|
10713
10696
|
throw validateError;
|
|
10714
10697
|
}
|
|
@@ -10722,7 +10705,7 @@ const ingest$A = function RecordLayoutRepresentationIngest(input, path, luvio, s
|
|
|
10722
10705
|
propertyName: path.propertyName,
|
|
10723
10706
|
ttl: ttlToUse
|
|
10724
10707
|
});
|
|
10725
|
-
deepFreeze$
|
|
10708
|
+
deepFreeze$x(input);
|
|
10726
10709
|
if (existingRecord === undefined || equals$M(existingRecord, incomingRecord) === false) {
|
|
10727
10710
|
luvio.storePublish(key, incomingRecord);
|
|
10728
10711
|
}
|
|
@@ -10749,7 +10732,7 @@ function getTypeCacheKeys$H(luvio, input, fullPathFactory) {
|
|
|
10749
10732
|
return rootKeySet;
|
|
10750
10733
|
}
|
|
10751
10734
|
|
|
10752
|
-
function validate$
|
|
10735
|
+
function validate$1b(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
10753
10736
|
const v_error = (() => {
|
|
10754
10737
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10755
10738
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10767,13 +10750,13 @@ function validate$1a(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
10767
10750
|
})();
|
|
10768
10751
|
return v_error === undefined ? null : v_error;
|
|
10769
10752
|
}
|
|
10770
|
-
function deepFreeze$
|
|
10753
|
+
function deepFreeze$w(input) {
|
|
10771
10754
|
ObjectFreeze(input);
|
|
10772
10755
|
}
|
|
10773
10756
|
|
|
10774
10757
|
const TTL$r = 900000;
|
|
10775
10758
|
const VERSION$Y = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
10776
|
-
function validate$
|
|
10759
|
+
function validate$1a(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
10777
10760
|
const v_error = (() => {
|
|
10778
10761
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10779
10762
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10813,7 +10796,7 @@ function validate$19(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
10813
10796
|
const key = obj_sectionUserStates_keys[i];
|
|
10814
10797
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
10815
10798
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
10816
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
10799
|
+
const referencepath_sectionUserStates_propValidationError = validate$1b(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
10817
10800
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
10818
10801
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
10819
10802
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10868,21 +10851,21 @@ function equals$L(existing, incoming) {
|
|
|
10868
10851
|
}
|
|
10869
10852
|
return true;
|
|
10870
10853
|
}
|
|
10871
|
-
function deepFreeze$
|
|
10854
|
+
function deepFreeze$v(input) {
|
|
10872
10855
|
const input_sectionUserStates = input.sectionUserStates;
|
|
10873
10856
|
const input_sectionUserStates_keys = Object.keys(input_sectionUserStates);
|
|
10874
10857
|
const input_sectionUserStates_length = input_sectionUserStates_keys.length;
|
|
10875
10858
|
for (let i = 0; i < input_sectionUserStates_length; i++) {
|
|
10876
10859
|
const key = input_sectionUserStates_keys[i];
|
|
10877
10860
|
const input_sectionUserStates_prop = input_sectionUserStates[key];
|
|
10878
|
-
deepFreeze$
|
|
10861
|
+
deepFreeze$w(input_sectionUserStates_prop);
|
|
10879
10862
|
}
|
|
10880
10863
|
ObjectFreeze(input_sectionUserStates);
|
|
10881
10864
|
ObjectFreeze(input);
|
|
10882
10865
|
}
|
|
10883
10866
|
const ingest$z = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10884
10867
|
if (process.env.NODE_ENV !== 'production') {
|
|
10885
|
-
const validateError = validate$
|
|
10868
|
+
const validateError = validate$1a(input);
|
|
10886
10869
|
if (validateError !== null) {
|
|
10887
10870
|
throw validateError;
|
|
10888
10871
|
}
|
|
@@ -10896,7 +10879,7 @@ const ingest$z = function RecordLayoutUserStateRepresentationIngest(input, path,
|
|
|
10896
10879
|
propertyName: path.propertyName,
|
|
10897
10880
|
ttl: ttlToUse
|
|
10898
10881
|
});
|
|
10899
|
-
deepFreeze$
|
|
10882
|
+
deepFreeze$v(input);
|
|
10900
10883
|
if (existingRecord === undefined || equals$L(existingRecord, incomingRecord) === false) {
|
|
10901
10884
|
luvio.storePublish(key, incomingRecord);
|
|
10902
10885
|
}
|
|
@@ -10925,7 +10908,7 @@ function getTypeCacheKeys$G(luvio, input, fullPathFactory) {
|
|
|
10925
10908
|
|
|
10926
10909
|
const TTL$q = 900000;
|
|
10927
10910
|
const VERSION$X = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
10928
|
-
function validate$
|
|
10911
|
+
function validate$19(obj, path = 'RecordUiRepresentation') {
|
|
10929
10912
|
const v_error = (() => {
|
|
10930
10913
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10931
10914
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11187,7 +11170,7 @@ function equals$K(existing, incoming) {
|
|
|
11187
11170
|
}
|
|
11188
11171
|
const ingest$y = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11189
11172
|
if (process.env.NODE_ENV !== 'production') {
|
|
11190
|
-
const validateError = validate$
|
|
11173
|
+
const validateError = validate$19(input);
|
|
11191
11174
|
if (validateError !== null) {
|
|
11192
11175
|
throw validateError;
|
|
11193
11176
|
}
|
|
@@ -12363,7 +12346,7 @@ const factory$e = (luvio) => function getRecord(untrustedConfig, requestContext)
|
|
|
12363
12346
|
};
|
|
12364
12347
|
|
|
12365
12348
|
const VERSION$W = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
12366
|
-
function validate$
|
|
12349
|
+
function validate$18(obj, path = 'QuickActionExecutionRepresentation') {
|
|
12367
12350
|
const v_error = (() => {
|
|
12368
12351
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12369
12352
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12536,7 +12519,7 @@ function equals$J(existing, incoming) {
|
|
|
12536
12519
|
}
|
|
12537
12520
|
const ingest$x = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12538
12521
|
if (process.env.NODE_ENV !== 'production') {
|
|
12539
|
-
const validateError = validate$
|
|
12522
|
+
const validateError = validate$18(input);
|
|
12540
12523
|
if (validateError !== null) {
|
|
12541
12524
|
throw validateError;
|
|
12542
12525
|
}
|
|
@@ -12576,8 +12559,51 @@ function getTypeCacheKeys$F(luvio, input, fullPathFactory) {
|
|
|
12576
12559
|
return rootKeySet;
|
|
12577
12560
|
}
|
|
12578
12561
|
|
|
12562
|
+
function serializeFieldArguments(argumentNodes, variables) {
|
|
12563
|
+
const mutableArgumentNodes = Object.assign([], argumentNodes);
|
|
12564
|
+
return `args__(${mutableArgumentNodes.sort((a, b) => {
|
|
12565
|
+
const aName = a.name.value.toUpperCase();
|
|
12566
|
+
const bName = b.name.value.toUpperCase();
|
|
12567
|
+
return aName < bName ? -1 : (aName > bName) ? 1 : 0;
|
|
12568
|
+
}).map(node => serializeArgNode(node, variables)).join("::")})`;
|
|
12569
|
+
}
|
|
12570
|
+
function serializeArgNode(argumentNode, variables) {
|
|
12571
|
+
const argName = argumentNode.name.value;
|
|
12572
|
+
return `${argName}:${serializeValueNode(argumentNode.value, variables)}`;
|
|
12573
|
+
}
|
|
12574
|
+
function serializeValueNode(valueNode, variables) {
|
|
12575
|
+
switch (valueNode.kind) {
|
|
12576
|
+
case ("BooleanValue"):
|
|
12577
|
+
return valueNode.value + '';
|
|
12578
|
+
case ("IntValue"):
|
|
12579
|
+
case ("FloatValue"):
|
|
12580
|
+
case ("EnumValue"):
|
|
12581
|
+
case ("StringValue"):
|
|
12582
|
+
return valueNode.value;
|
|
12583
|
+
case ("ListValue"):
|
|
12584
|
+
const mutableValueNodeList = Object.assign([], valueNode.values);
|
|
12585
|
+
return mutableValueNodeList.sort((a, b) => {
|
|
12586
|
+
const aVal = serializeValueNode(a, variables).toUpperCase();
|
|
12587
|
+
const bVal = serializeValueNode(b, variables).toUpperCase();
|
|
12588
|
+
return aVal < bVal ? -1 : (aVal > bVal) ? 1 : 0;
|
|
12589
|
+
}).map((val, i) => serializeValueNode(val, variables) + `[${i}]`).join(',');
|
|
12590
|
+
case ("Variable"):
|
|
12591
|
+
const variableValue = variables[valueNode.name.value];
|
|
12592
|
+
return typeof variableValue === "string" ? variableValue : JSON.stringify(variableValue);
|
|
12593
|
+
case ("NullValue"):
|
|
12594
|
+
return "null";
|
|
12595
|
+
case ("ObjectValue"):
|
|
12596
|
+
const mutableFieldNodeList = Object.assign([], valueNode.fields);
|
|
12597
|
+
return mutableFieldNodeList.sort((a, b) => {
|
|
12598
|
+
const aName = a.name.value.toUpperCase();
|
|
12599
|
+
const bName = b.name.value.toUpperCase();
|
|
12600
|
+
return aName < bName ? -1 : (aName > bName) ? 1 : 0;
|
|
12601
|
+
}).map(field => field.name.value + ":" + serializeValueNode(field.value, variables)).join(',');
|
|
12602
|
+
}
|
|
12603
|
+
}
|
|
12604
|
+
|
|
12579
12605
|
const VERSION$V = "3f49d751896cf66e6e29788d8880e2cc";
|
|
12580
|
-
function validate$
|
|
12606
|
+
function validate$17(obj, path = 'PlatformActionRepresentation') {
|
|
12581
12607
|
const v_error = (() => {
|
|
12582
12608
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12583
12609
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13109,7 +13135,7 @@ function equals$I(existing, incoming) {
|
|
|
13109
13135
|
}
|
|
13110
13136
|
const ingest$w = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13111
13137
|
if (process.env.NODE_ENV !== 'production') {
|
|
13112
|
-
const validateError = validate$
|
|
13138
|
+
const validateError = validate$17(input);
|
|
13113
13139
|
if (validateError !== null) {
|
|
13114
13140
|
throw validateError;
|
|
13115
13141
|
}
|
|
@@ -13150,7 +13176,7 @@ function getTypeCacheKeys$E(luvio, input, fullPathFactory) {
|
|
|
13150
13176
|
}
|
|
13151
13177
|
|
|
13152
13178
|
const VERSION$U = "378d506f563a4bd724b322d440df33d1";
|
|
13153
|
-
function validate$
|
|
13179
|
+
function validate$16(obj, path = 'EntityActionRepresentation') {
|
|
13154
13180
|
const v_error = (() => {
|
|
13155
13181
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13156
13182
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13264,7 +13290,7 @@ function equals$H(existing, incoming) {
|
|
|
13264
13290
|
}
|
|
13265
13291
|
const ingest$v = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13266
13292
|
if (process.env.NODE_ENV !== 'production') {
|
|
13267
|
-
const validateError = validate$
|
|
13293
|
+
const validateError = validate$16(input);
|
|
13268
13294
|
if (validateError !== null) {
|
|
13269
13295
|
throw validateError;
|
|
13270
13296
|
}
|
|
@@ -13310,7 +13336,7 @@ function getTypeCacheKeys$D(luvio, input, fullPathFactory) {
|
|
|
13310
13336
|
|
|
13311
13337
|
const TTL$p = 300000;
|
|
13312
13338
|
const VERSION$T = "e485d96c1402a9ca2f56e56485af0216";
|
|
13313
|
-
function validate$
|
|
13339
|
+
function validate$15(obj, path = 'ActionRepresentation') {
|
|
13314
13340
|
const v_error = (() => {
|
|
13315
13341
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13316
13342
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13408,7 +13434,7 @@ function equals$G(existing, incoming) {
|
|
|
13408
13434
|
}
|
|
13409
13435
|
const ingest$u = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13410
13436
|
if (process.env.NODE_ENV !== 'production') {
|
|
13411
|
-
const validateError = validate$
|
|
13437
|
+
const validateError = validate$15(input);
|
|
13412
13438
|
if (validateError !== null) {
|
|
13413
13439
|
throw validateError;
|
|
13414
13440
|
}
|
|
@@ -13702,7 +13728,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
13702
13728
|
|
|
13703
13729
|
const TTL$o = 900000;
|
|
13704
13730
|
const VERSION$S = "3c5af9dc4086169091e3c5df2414c495";
|
|
13705
|
-
function validate$
|
|
13731
|
+
function validate$14(obj, path = 'QuickActionLayoutRepresentation') {
|
|
13706
13732
|
const v_error = (() => {
|
|
13707
13733
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13708
13734
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13719,7 +13745,7 @@ function validate$13(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
13719
13745
|
}
|
|
13720
13746
|
const obj_layout = obj.layout;
|
|
13721
13747
|
const path_layout = path + '.layout';
|
|
13722
|
-
const referencepath_layoutValidationError = validate$
|
|
13748
|
+
const referencepath_layoutValidationError = validate$1c(obj_layout, path_layout);
|
|
13723
13749
|
if (referencepath_layoutValidationError !== null) {
|
|
13724
13750
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
13725
13751
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13767,14 +13793,14 @@ function equals$F(existing, incoming) {
|
|
|
13767
13793
|
}
|
|
13768
13794
|
return true;
|
|
13769
13795
|
}
|
|
13770
|
-
function deepFreeze$
|
|
13796
|
+
function deepFreeze$u(input) {
|
|
13771
13797
|
const input_layout = input.layout;
|
|
13772
|
-
deepFreeze$
|
|
13798
|
+
deepFreeze$x(input_layout);
|
|
13773
13799
|
ObjectFreeze(input);
|
|
13774
13800
|
}
|
|
13775
13801
|
const ingest$t = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13776
13802
|
if (process.env.NODE_ENV !== 'production') {
|
|
13777
|
-
const validateError = validate$
|
|
13803
|
+
const validateError = validate$14(input);
|
|
13778
13804
|
if (validateError !== null) {
|
|
13779
13805
|
throw validateError;
|
|
13780
13806
|
}
|
|
@@ -13788,7 +13814,7 @@ const ingest$t = function QuickActionLayoutRepresentationIngest(input, path, luv
|
|
|
13788
13814
|
propertyName: path.propertyName,
|
|
13789
13815
|
ttl: ttlToUse
|
|
13790
13816
|
});
|
|
13791
|
-
deepFreeze$
|
|
13817
|
+
deepFreeze$u(input);
|
|
13792
13818
|
if (existingRecord === undefined || equals$F(existingRecord, incomingRecord) === false) {
|
|
13793
13819
|
luvio.storePublish(key, incomingRecord);
|
|
13794
13820
|
}
|
|
@@ -14437,7 +14463,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
14437
14463
|
};
|
|
14438
14464
|
|
|
14439
14465
|
const VERSION$R = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
14440
|
-
function validate$
|
|
14466
|
+
function validate$13(obj, path = 'ActionOverrideRepresentation') {
|
|
14441
14467
|
const v_error = (() => {
|
|
14442
14468
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14443
14469
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14468,14 +14494,14 @@ function equals$E(existing, incoming) {
|
|
|
14468
14494
|
}
|
|
14469
14495
|
return true;
|
|
14470
14496
|
}
|
|
14471
|
-
function deepFreeze$
|
|
14497
|
+
function deepFreeze$t(input) {
|
|
14472
14498
|
const input_records = input.records;
|
|
14473
14499
|
ObjectFreeze(input_records);
|
|
14474
14500
|
ObjectFreeze(input);
|
|
14475
14501
|
}
|
|
14476
14502
|
const ingest$s = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14477
14503
|
if (process.env.NODE_ENV !== 'production') {
|
|
14478
|
-
const validateError = validate$
|
|
14504
|
+
const validateError = validate$13(input);
|
|
14479
14505
|
if (validateError !== null) {
|
|
14480
14506
|
throw validateError;
|
|
14481
14507
|
}
|
|
@@ -14489,7 +14515,7 @@ const ingest$s = function ActionOverrideRepresentationIngest(input, path, luvio,
|
|
|
14489
14515
|
propertyName: path.propertyName,
|
|
14490
14516
|
ttl: ttlToUse
|
|
14491
14517
|
});
|
|
14492
|
-
deepFreeze$
|
|
14518
|
+
deepFreeze$t(input);
|
|
14493
14519
|
if (existingRecord === undefined || equals$E(existingRecord, incomingRecord) === false) {
|
|
14494
14520
|
luvio.storePublish(key, incomingRecord);
|
|
14495
14521
|
}
|
|
@@ -14692,7 +14718,7 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
|
|
|
14692
14718
|
|
|
14693
14719
|
const TTL$n = 900000;
|
|
14694
14720
|
const VERSION$Q = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
14695
|
-
function validate$
|
|
14721
|
+
function validate$12(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
14696
14722
|
const v_error = (() => {
|
|
14697
14723
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14698
14724
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14859,7 +14885,7 @@ function merge$1(existing, incoming) {
|
|
|
14859
14885
|
const dynamicIngest$4 = (ingestParams) => {
|
|
14860
14886
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14861
14887
|
if (process.env.NODE_ENV !== 'production') {
|
|
14862
|
-
const validateError = validate$
|
|
14888
|
+
const validateError = validate$12(input);
|
|
14863
14889
|
if (validateError !== null) {
|
|
14864
14890
|
throw validateError;
|
|
14865
14891
|
}
|
|
@@ -15594,7 +15620,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
15594
15620
|
buildCachedSnapshotCachePolicy$z, buildNetworkSnapshotCachePolicy$A);
|
|
15595
15621
|
};
|
|
15596
15622
|
|
|
15597
|
-
function validate$
|
|
15623
|
+
function validate$11(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
15598
15624
|
const v_error = (() => {
|
|
15599
15625
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15600
15626
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16006,7 +16032,7 @@ function typeCheckConfig$K(untrustedConfig) {
|
|
|
16006
16032
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
16007
16033
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
16008
16034
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
16009
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
16035
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$11(untrustedConfig_relatedListsActionParameters_item);
|
|
16010
16036
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
16011
16037
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
16012
16038
|
}
|
|
@@ -16537,7 +16563,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
16537
16563
|
};
|
|
16538
16564
|
|
|
16539
16565
|
const VERSION$P = "a316b3bba367f54adc67d7552ed7d36d";
|
|
16540
|
-
function validate
|
|
16566
|
+
function validate$10(obj, path = 'PageReferenceRepresentation') {
|
|
16541
16567
|
const v_error = (() => {
|
|
16542
16568
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16543
16569
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16596,14 +16622,14 @@ function equals$C(existing, incoming) {
|
|
|
16596
16622
|
}
|
|
16597
16623
|
return true;
|
|
16598
16624
|
}
|
|
16599
|
-
function deepFreeze$
|
|
16625
|
+
function deepFreeze$s(input) {
|
|
16600
16626
|
const input_attributes = input.attributes;
|
|
16601
16627
|
const input_attributes_keys = Object.keys(input_attributes);
|
|
16602
16628
|
const input_attributes_length = input_attributes_keys.length;
|
|
16603
16629
|
for (let i = 0; i < input_attributes_length; i++) {
|
|
16604
16630
|
const key = input_attributes_keys[i];
|
|
16605
16631
|
const input_attributes_prop = input_attributes[key];
|
|
16606
|
-
deepFreeze$
|
|
16632
|
+
deepFreeze$Q(input_attributes_prop);
|
|
16607
16633
|
}
|
|
16608
16634
|
ObjectFreeze(input_attributes);
|
|
16609
16635
|
const input_state = input.state;
|
|
@@ -16619,7 +16645,7 @@ function deepFreeze$r(input) {
|
|
|
16619
16645
|
}
|
|
16620
16646
|
const ingest$r = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16621
16647
|
if (process.env.NODE_ENV !== 'production') {
|
|
16622
|
-
const validateError = validate
|
|
16648
|
+
const validateError = validate$10(input);
|
|
16623
16649
|
if (validateError !== null) {
|
|
16624
16650
|
throw validateError;
|
|
16625
16651
|
}
|
|
@@ -16633,7 +16659,7 @@ const ingest$r = function PageReferenceRepresentationIngest(input, path, luvio,
|
|
|
16633
16659
|
propertyName: path.propertyName,
|
|
16634
16660
|
ttl: ttlToUse
|
|
16635
16661
|
});
|
|
16636
|
-
deepFreeze$
|
|
16662
|
+
deepFreeze$s(input);
|
|
16637
16663
|
if (existingRecord === undefined || equals$C(existingRecord, incomingRecord) === false) {
|
|
16638
16664
|
luvio.storePublish(key, incomingRecord);
|
|
16639
16665
|
}
|
|
@@ -16662,7 +16688,7 @@ function getTypeCacheKeys$y(luvio, input, fullPathFactory) {
|
|
|
16662
16688
|
|
|
16663
16689
|
const TTL$m = 120000;
|
|
16664
16690
|
const VERSION$O = "09884ca5bf90ea4662092a4e48817081";
|
|
16665
|
-
function validate
|
|
16691
|
+
function validate$$(obj, path = 'NavItemRepresentation') {
|
|
16666
16692
|
const v_error = (() => {
|
|
16667
16693
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16668
16694
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17054,7 +17080,7 @@ function equals$B(existing, incoming) {
|
|
|
17054
17080
|
}
|
|
17055
17081
|
const ingest$q = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17056
17082
|
if (process.env.NODE_ENV !== 'production') {
|
|
17057
|
-
const validateError = validate
|
|
17083
|
+
const validateError = validate$$(input);
|
|
17058
17084
|
if (validateError !== null) {
|
|
17059
17085
|
throw validateError;
|
|
17060
17086
|
}
|
|
@@ -17100,7 +17126,7 @@ function getTypeCacheKeys$x(luvio, input, fullPathFactory) {
|
|
|
17100
17126
|
|
|
17101
17127
|
const TTL$l = 300000;
|
|
17102
17128
|
const VERSION$N = "f0c7134ce18a20d9eb4ae8e4e8ebb0fe";
|
|
17103
|
-
function validate$
|
|
17129
|
+
function validate$_(obj, path = 'AppRepresentation') {
|
|
17104
17130
|
const v_error = (() => {
|
|
17105
17131
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17106
17132
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17500,7 +17526,7 @@ function equals$A(existing, incoming) {
|
|
|
17500
17526
|
}
|
|
17501
17527
|
const ingest$p = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17502
17528
|
if (process.env.NODE_ENV !== 'production') {
|
|
17503
|
-
const validateError = validate$
|
|
17529
|
+
const validateError = validate$_(input);
|
|
17504
17530
|
if (validateError !== null) {
|
|
17505
17531
|
throw validateError;
|
|
17506
17532
|
}
|
|
@@ -17550,7 +17576,7 @@ function getTypeCacheKeys$w(luvio, input, fullPathFactory) {
|
|
|
17550
17576
|
|
|
17551
17577
|
const TTL$k = 300000;
|
|
17552
17578
|
const VERSION$M = "a254babf0b6414315db7808a157fd9fc";
|
|
17553
|
-
function validate$
|
|
17579
|
+
function validate$Z(obj, path = 'AppsRepresentation') {
|
|
17554
17580
|
const v_error = (() => {
|
|
17555
17581
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17556
17582
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17632,7 +17658,7 @@ function equals$z(existing, incoming) {
|
|
|
17632
17658
|
}
|
|
17633
17659
|
const ingest$o = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17634
17660
|
if (process.env.NODE_ENV !== 'production') {
|
|
17635
|
-
const validateError = validate$
|
|
17661
|
+
const validateError = validate$Z(input);
|
|
17636
17662
|
if (validateError !== null) {
|
|
17637
17663
|
throw validateError;
|
|
17638
17664
|
}
|
|
@@ -18044,7 +18070,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
18044
18070
|
};
|
|
18045
18071
|
|
|
18046
18072
|
const VERSION$L = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
18047
|
-
function validate$
|
|
18073
|
+
function validate$Y(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
18048
18074
|
const v_error = (() => {
|
|
18049
18075
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18050
18076
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18106,7 +18132,7 @@ const select$12 = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
18106
18132
|
};
|
|
18107
18133
|
|
|
18108
18134
|
const VERSION$K = "320d7f254687278f2763d4b490dab3fb";
|
|
18109
|
-
function validate$
|
|
18135
|
+
function validate$X(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
18110
18136
|
const v_error = (() => {
|
|
18111
18137
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18112
18138
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18129,7 +18155,7 @@ function validate$W(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
18129
18155
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
18130
18156
|
const obj_filterItems_item = obj_filterItems[i];
|
|
18131
18157
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
18132
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
18158
|
+
const referencepath_filterItems_itemValidationError = validate$Y(obj_filterItems_item, path_filterItems_item);
|
|
18133
18159
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
18134
18160
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
18135
18161
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18172,7 +18198,7 @@ const select$11 = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
18172
18198
|
};
|
|
18173
18199
|
|
|
18174
18200
|
const VERSION$J = "b47b44e260e5ce777beaf3da9088997c";
|
|
18175
|
-
function validate$
|
|
18201
|
+
function validate$W(obj, path = 'MatchRuleRepresentation') {
|
|
18176
18202
|
const v_error = (() => {
|
|
18177
18203
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18178
18204
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18242,7 +18268,7 @@ const select$10 = function MatchRuleRepresentationSelect() {
|
|
|
18242
18268
|
};
|
|
18243
18269
|
|
|
18244
18270
|
const VERSION$I = "bb83d7210bb1d7861b6188bc5f552617";
|
|
18245
|
-
function validate$
|
|
18271
|
+
function validate$V(obj, path = 'DuplicateRuleRepresentation') {
|
|
18246
18272
|
const v_error = (() => {
|
|
18247
18273
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18248
18274
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18270,7 +18296,7 @@ function validate$U(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
18270
18296
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
18271
18297
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
18272
18298
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
18273
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
18299
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$X(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
18274
18300
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
18275
18301
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
18276
18302
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18290,7 +18316,7 @@ function validate$U(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
18290
18316
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
18291
18317
|
const obj_matchRules_item = obj_matchRules[i];
|
|
18292
18318
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
18293
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
18319
|
+
const referencepath_matchRules_itemValidationError = validate$W(obj_matchRules_item, path_matchRules_item);
|
|
18294
18320
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
18295
18321
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
18296
18322
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18383,7 +18409,7 @@ const select$$ = function DuplicateRuleRepresentationSelect() {
|
|
|
18383
18409
|
|
|
18384
18410
|
const TTL$j = 900000;
|
|
18385
18411
|
const VERSION$H = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
18386
|
-
function validate$
|
|
18412
|
+
function validate$U(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
18387
18413
|
const v_error = (() => {
|
|
18388
18414
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18389
18415
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18418,7 +18444,7 @@ function validate$T(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
18418
18444
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
18419
18445
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
18420
18446
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
18421
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
18447
|
+
const referencepath_duplicateRules_itemValidationError = validate$V(obj_duplicateRules_item, path_duplicateRules_item);
|
|
18422
18448
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
18423
18449
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
18424
18450
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18485,7 +18511,7 @@ function equals$y(existing, incoming) {
|
|
|
18485
18511
|
}
|
|
18486
18512
|
const ingest$n = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18487
18513
|
if (process.env.NODE_ENV !== 'production') {
|
|
18488
|
-
const validateError = validate$
|
|
18514
|
+
const validateError = validate$U(input);
|
|
18489
18515
|
if (validateError !== null) {
|
|
18490
18516
|
throw validateError;
|
|
18491
18517
|
}
|
|
@@ -19763,7 +19789,7 @@ const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoBy
|
|
|
19763
19789
|
|
|
19764
19790
|
const TTL$i = 120000;
|
|
19765
19791
|
const VERSION$F = "756779d0d7e137dd72c743544afbad82";
|
|
19766
|
-
function validate$
|
|
19792
|
+
function validate$T(obj, path = 'NavItemsRepresentation') {
|
|
19767
19793
|
const v_error = (() => {
|
|
19768
19794
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19769
19795
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19891,7 +19917,7 @@ function equals$x(existing, incoming) {
|
|
|
19891
19917
|
}
|
|
19892
19918
|
const ingest$m = function NavItemsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19893
19919
|
if (process.env.NODE_ENV !== 'production') {
|
|
19894
|
-
const validateError = validate$
|
|
19920
|
+
const validateError = validate$T(input);
|
|
19895
19921
|
if (validateError !== null) {
|
|
19896
19922
|
throw validateError;
|
|
19897
19923
|
}
|
|
@@ -20597,7 +20623,7 @@ var DiscriminatorValues$3;
|
|
|
20597
20623
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
20598
20624
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
20599
20625
|
const VERSION$B = "bd523b2343366edfc25a2dbee2c4e986";
|
|
20600
|
-
function validate$
|
|
20626
|
+
function validate$S(obj, path = 'AbstractPicklistValueAttributesRepresentation') {
|
|
20601
20627
|
const v_error = (() => {
|
|
20602
20628
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20603
20629
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20640,7 +20666,7 @@ const select$Q = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
20640
20666
|
};
|
|
20641
20667
|
|
|
20642
20668
|
const VERSION$A = "9e2a16a80378487f557124c771201cf9";
|
|
20643
|
-
function validate$
|
|
20669
|
+
function validate$R(obj, path = 'PicklistValueRepresentation') {
|
|
20644
20670
|
const v_error = (() => {
|
|
20645
20671
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20646
20672
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20649,7 +20675,7 @@ function validate$Q(obj, path = 'PicklistValueRepresentation') {
|
|
|
20649
20675
|
const path_attributes = path + '.attributes';
|
|
20650
20676
|
let obj_attributes_union0 = null;
|
|
20651
20677
|
const obj_attributes_union0_error = (() => {
|
|
20652
|
-
const referencepath_attributesValidationError = validate$
|
|
20678
|
+
const referencepath_attributesValidationError = validate$S(obj_attributes, path_attributes);
|
|
20653
20679
|
if (referencepath_attributesValidationError !== null) {
|
|
20654
20680
|
let message = 'Object doesn\'t match AbstractPicklistValueAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
20655
20681
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20733,7 +20759,7 @@ const select$P = function PicklistValueRepresentationSelect() {
|
|
|
20733
20759
|
|
|
20734
20760
|
const TTL$h = 300000;
|
|
20735
20761
|
const VERSION$z = "0a361a49370acb4c6a31721a2057649a";
|
|
20736
|
-
function validate$
|
|
20762
|
+
function validate$Q(obj, path = 'PicklistValuesRepresentation') {
|
|
20737
20763
|
const v_error = (() => {
|
|
20738
20764
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20739
20765
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20756,7 +20782,7 @@ function validate$P(obj, path = 'PicklistValuesRepresentation') {
|
|
|
20756
20782
|
const path_defaultValue = path + '.defaultValue';
|
|
20757
20783
|
let obj_defaultValue_union0 = null;
|
|
20758
20784
|
const obj_defaultValue_union0_error = (() => {
|
|
20759
|
-
const referencepath_defaultValueValidationError = validate$
|
|
20785
|
+
const referencepath_defaultValueValidationError = validate$R(obj_defaultValue, path_defaultValue);
|
|
20760
20786
|
if (referencepath_defaultValueValidationError !== null) {
|
|
20761
20787
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_defaultValue + '")\n';
|
|
20762
20788
|
message += referencepath_defaultValueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20799,7 +20825,7 @@ function validate$P(obj, path = 'PicklistValuesRepresentation') {
|
|
|
20799
20825
|
for (let i = 0; i < obj_values.length; i++) {
|
|
20800
20826
|
const obj_values_item = obj_values[i];
|
|
20801
20827
|
const path_values_item = path_values + '[' + i + ']';
|
|
20802
|
-
const referencepath_values_itemValidationError = validate$
|
|
20828
|
+
const referencepath_values_itemValidationError = validate$R(obj_values_item, path_values_item);
|
|
20803
20829
|
if (referencepath_values_itemValidationError !== null) {
|
|
20804
20830
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_values_item + '")\n';
|
|
20805
20831
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20863,7 +20889,7 @@ function equals$w(existing, incoming) {
|
|
|
20863
20889
|
}
|
|
20864
20890
|
const ingest$l = function PicklistValuesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20865
20891
|
if (process.env.NODE_ENV !== 'production') {
|
|
20866
|
-
const validateError = validate$
|
|
20892
|
+
const validateError = validate$Q(input);
|
|
20867
20893
|
if (validateError !== null) {
|
|
20868
20894
|
throw validateError;
|
|
20869
20895
|
}
|
|
@@ -20905,7 +20931,7 @@ function getTypeCacheKeys$s(luvio, input, fullPathFactory) {
|
|
|
20905
20931
|
|
|
20906
20932
|
const TTL$g = 300000;
|
|
20907
20933
|
const VERSION$y = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
20908
|
-
function validate$
|
|
20934
|
+
function validate$P(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
20909
20935
|
const v_error = (() => {
|
|
20910
20936
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20911
20937
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20992,7 +21018,7 @@ function equals$v(existing, incoming) {
|
|
|
20992
21018
|
}
|
|
20993
21019
|
const ingest$k = function PicklistValuesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20994
21020
|
if (process.env.NODE_ENV !== 'production') {
|
|
20995
|
-
const validateError = validate$
|
|
21021
|
+
const validateError = validate$P(input);
|
|
20996
21022
|
if (validateError !== null) {
|
|
20997
21023
|
throw validateError;
|
|
20998
21024
|
}
|
|
@@ -21407,7 +21433,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
21407
21433
|
buildCachedSnapshotCachePolicy$l, buildNetworkSnapshotCachePolicy$m);
|
|
21408
21434
|
};
|
|
21409
21435
|
|
|
21410
|
-
function validate$
|
|
21436
|
+
function validate$O(obj, path = 'MatchResultInfoRepresentation') {
|
|
21411
21437
|
const v_error = (() => {
|
|
21412
21438
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21413
21439
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21432,13 +21458,13 @@ function validate$N(obj, path = 'MatchResultInfoRepresentation') {
|
|
|
21432
21458
|
})();
|
|
21433
21459
|
return v_error === undefined ? null : v_error;
|
|
21434
21460
|
}
|
|
21435
|
-
function deepFreeze$
|
|
21461
|
+
function deepFreeze$r(input) {
|
|
21436
21462
|
const input_recordIds = input.recordIds;
|
|
21437
21463
|
ObjectFreeze(input_recordIds);
|
|
21438
21464
|
ObjectFreeze(input);
|
|
21439
21465
|
}
|
|
21440
21466
|
|
|
21441
|
-
function validate$
|
|
21467
|
+
function validate$N(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
21442
21468
|
const v_error = (() => {
|
|
21443
21469
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21444
21470
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21450,7 +21476,7 @@ function validate$M(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
21450
21476
|
}
|
|
21451
21477
|
const obj_matchResultInfo = obj.matchResultInfo;
|
|
21452
21478
|
const path_matchResultInfo = path + '.matchResultInfo';
|
|
21453
|
-
const referencepath_matchResultInfoValidationError = validate$
|
|
21479
|
+
const referencepath_matchResultInfoValidationError = validate$O(obj_matchResultInfo, path_matchResultInfo);
|
|
21454
21480
|
if (referencepath_matchResultInfoValidationError !== null) {
|
|
21455
21481
|
let message = 'Object doesn\'t match MatchResultInfoRepresentation (at "' + path_matchResultInfo + '")\n';
|
|
21456
21482
|
message += referencepath_matchResultInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21464,13 +21490,13 @@ function validate$M(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
21464
21490
|
})();
|
|
21465
21491
|
return v_error === undefined ? null : v_error;
|
|
21466
21492
|
}
|
|
21467
|
-
function deepFreeze$
|
|
21493
|
+
function deepFreeze$q(input) {
|
|
21468
21494
|
const input_matchResultInfo = input.matchResultInfo;
|
|
21469
|
-
deepFreeze$
|
|
21495
|
+
deepFreeze$r(input_matchResultInfo);
|
|
21470
21496
|
ObjectFreeze(input);
|
|
21471
21497
|
}
|
|
21472
21498
|
|
|
21473
|
-
function validate$
|
|
21499
|
+
function validate$M(obj, path = 'MatchRepresentation') {
|
|
21474
21500
|
const v_error = (() => {
|
|
21475
21501
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21476
21502
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21485,7 +21511,7 @@ function validate$L(obj, path = 'MatchRepresentation') {
|
|
|
21485
21511
|
const key = obj_duplicateResultInfos_keys[i];
|
|
21486
21512
|
const obj_duplicateResultInfos_prop = obj_duplicateResultInfos[key];
|
|
21487
21513
|
const path_duplicateResultInfos_prop = path_duplicateResultInfos + '["' + key + '"]';
|
|
21488
|
-
const referencepath_duplicateResultInfos_propValidationError = validate$
|
|
21514
|
+
const referencepath_duplicateResultInfos_propValidationError = validate$N(obj_duplicateResultInfos_prop, path_duplicateResultInfos_prop);
|
|
21489
21515
|
if (referencepath_duplicateResultInfos_propValidationError !== null) {
|
|
21490
21516
|
let message = 'Object doesn\'t match DuplicateResultInfoRepresentation (at "' + path_duplicateResultInfos_prop + '")\n';
|
|
21491
21517
|
message += referencepath_duplicateResultInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21512,14 +21538,14 @@ function validate$L(obj, path = 'MatchRepresentation') {
|
|
|
21512
21538
|
})();
|
|
21513
21539
|
return v_error === undefined ? null : v_error;
|
|
21514
21540
|
}
|
|
21515
|
-
function deepFreeze$
|
|
21541
|
+
function deepFreeze$p(input) {
|
|
21516
21542
|
const input_duplicateResultInfos = input.duplicateResultInfos;
|
|
21517
21543
|
const input_duplicateResultInfos_keys = Object.keys(input_duplicateResultInfos);
|
|
21518
21544
|
const input_duplicateResultInfos_length = input_duplicateResultInfos_keys.length;
|
|
21519
21545
|
for (let i = 0; i < input_duplicateResultInfos_length; i++) {
|
|
21520
21546
|
const key = input_duplicateResultInfos_keys[i];
|
|
21521
21547
|
const input_duplicateResultInfos_prop = input_duplicateResultInfos[key];
|
|
21522
|
-
deepFreeze$
|
|
21548
|
+
deepFreeze$q(input_duplicateResultInfos_prop);
|
|
21523
21549
|
}
|
|
21524
21550
|
ObjectFreeze(input_duplicateResultInfos);
|
|
21525
21551
|
const input_recordIds = input.recordIds;
|
|
@@ -21529,7 +21555,7 @@ function deepFreeze$o(input) {
|
|
|
21529
21555
|
|
|
21530
21556
|
const TTL$f = 30000;
|
|
21531
21557
|
const VERSION$x = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
21532
|
-
function validate$
|
|
21558
|
+
function validate$L(obj, path = 'DuplicatesRepresentation') {
|
|
21533
21559
|
const v_error = (() => {
|
|
21534
21560
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21535
21561
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21564,7 +21590,7 @@ function validate$K(obj, path = 'DuplicatesRepresentation') {
|
|
|
21564
21590
|
for (let i = 0; i < obj_matches.length; i++) {
|
|
21565
21591
|
const obj_matches_item = obj_matches[i];
|
|
21566
21592
|
const path_matches_item = path_matches + '[' + i + ']';
|
|
21567
|
-
const referencepath_matches_itemValidationError = validate$
|
|
21593
|
+
const referencepath_matches_itemValidationError = validate$M(obj_matches_item, path_matches_item);
|
|
21568
21594
|
if (referencepath_matches_itemValidationError !== null) {
|
|
21569
21595
|
let message = 'Object doesn\'t match MatchRepresentation (at "' + path_matches_item + '")\n';
|
|
21570
21596
|
message += referencepath_matches_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21592,20 +21618,20 @@ function equals$u(existing, incoming) {
|
|
|
21592
21618
|
}
|
|
21593
21619
|
return true;
|
|
21594
21620
|
}
|
|
21595
|
-
function deepFreeze$
|
|
21621
|
+
function deepFreeze$o(input) {
|
|
21596
21622
|
const input_duplicateRules = input.duplicateRules;
|
|
21597
21623
|
ObjectFreeze(input_duplicateRules);
|
|
21598
21624
|
const input_matches = input.matches;
|
|
21599
21625
|
for (let i = 0; i < input_matches.length; i++) {
|
|
21600
21626
|
const input_matches_item = input_matches[i];
|
|
21601
|
-
deepFreeze$
|
|
21627
|
+
deepFreeze$p(input_matches_item);
|
|
21602
21628
|
}
|
|
21603
21629
|
ObjectFreeze(input_matches);
|
|
21604
21630
|
ObjectFreeze(input);
|
|
21605
21631
|
}
|
|
21606
21632
|
const ingest$j = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21607
21633
|
if (process.env.NODE_ENV !== 'production') {
|
|
21608
|
-
const validateError = validate$
|
|
21634
|
+
const validateError = validate$L(input);
|
|
21609
21635
|
if (validateError !== null) {
|
|
21610
21636
|
throw validateError;
|
|
21611
21637
|
}
|
|
@@ -21619,7 +21645,7 @@ const ingest$j = function DuplicatesRepresentationIngest(input, path, luvio, sto
|
|
|
21619
21645
|
propertyName: path.propertyName,
|
|
21620
21646
|
ttl: ttlToUse
|
|
21621
21647
|
});
|
|
21622
|
-
deepFreeze$
|
|
21648
|
+
deepFreeze$o(input);
|
|
21623
21649
|
if (existingRecord === undefined || equals$u(existingRecord, incomingRecord) === false) {
|
|
21624
21650
|
luvio.storePublish(key, incomingRecord);
|
|
21625
21651
|
}
|
|
@@ -21849,7 +21875,7 @@ const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(unt
|
|
|
21849
21875
|
};
|
|
21850
21876
|
|
|
21851
21877
|
const VERSION$w = "e84b9ffdeff97c411bd111f2a55cf6b6";
|
|
21852
|
-
function validate$
|
|
21878
|
+
function validate$K(obj, path = 'PhotoMetadataRepresentation') {
|
|
21853
21879
|
const v_error = (() => {
|
|
21854
21880
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21855
21881
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21941,8 +21967,8 @@ function equals$t(existing, incoming) {
|
|
|
21941
21967
|
}
|
|
21942
21968
|
|
|
21943
21969
|
const VERSION$v = "34ffbf4219dfebb707bff609c2d5bf89";
|
|
21944
|
-
function validate$
|
|
21945
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
21970
|
+
function validate$J(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
21971
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$H(obj, path);
|
|
21946
21972
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
21947
21973
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
21948
21974
|
}
|
|
@@ -22009,7 +22035,7 @@ function validate$I(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
|
22009
22035
|
}
|
|
22010
22036
|
const obj_photoMetadata = obj.photoMetadata;
|
|
22011
22037
|
const path_photoMetadata = path + '.photoMetadata';
|
|
22012
|
-
const referencepath_photoMetadataValidationError = validate$
|
|
22038
|
+
const referencepath_photoMetadataValidationError = validate$K(obj_photoMetadata, path_photoMetadata);
|
|
22013
22039
|
if (referencepath_photoMetadataValidationError !== null) {
|
|
22014
22040
|
let message = 'Object doesn\'t match PhotoMetadataRepresentation (at "' + path_photoMetadata + '")\n';
|
|
22015
22041
|
message += referencepath_photoMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22164,7 +22190,7 @@ function equals$s(existing, incoming) {
|
|
|
22164
22190
|
}
|
|
22165
22191
|
const ingest$i = function PhotoRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22166
22192
|
if (process.env.NODE_ENV !== 'production') {
|
|
22167
|
-
const validateError = validate$
|
|
22193
|
+
const validateError = validate$J(input);
|
|
22168
22194
|
if (validateError !== null) {
|
|
22169
22195
|
throw validateError;
|
|
22170
22196
|
}
|
|
@@ -22205,8 +22231,8 @@ function getTypeCacheKeys$p(luvio, input, fullPathFactory) {
|
|
|
22205
22231
|
}
|
|
22206
22232
|
|
|
22207
22233
|
const VERSION$u = "cbdcf69a6568d41ccf155b2b95ec70e7";
|
|
22208
|
-
function validate$
|
|
22209
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
22234
|
+
function validate$I(obj, path = 'ThemeRecordAvatarRepresentation') {
|
|
22235
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$H(obj, path);
|
|
22210
22236
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
22211
22237
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
22212
22238
|
}
|
|
@@ -22325,7 +22351,7 @@ function equals$r(existing, incoming) {
|
|
|
22325
22351
|
}
|
|
22326
22352
|
const ingest$h = function ThemeRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22327
22353
|
if (process.env.NODE_ENV !== 'production') {
|
|
22328
|
-
const validateError = validate$
|
|
22354
|
+
const validateError = validate$I(input);
|
|
22329
22355
|
if (validateError !== null) {
|
|
22330
22356
|
throw validateError;
|
|
22331
22357
|
}
|
|
@@ -22371,7 +22397,7 @@ var DiscriminatorValues$2;
|
|
|
22371
22397
|
DiscriminatorValues["Theme"] = "Theme";
|
|
22372
22398
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
22373
22399
|
const VERSION$t = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
22374
|
-
function validate$
|
|
22400
|
+
function validate$H(obj, path = 'AbstractRecordAvatarRepresentation') {
|
|
22375
22401
|
const v_error = (() => {
|
|
22376
22402
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22377
22403
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22464,8 +22490,8 @@ function getTypeCacheKeys$n(luvio, input, fullPathFactory) {
|
|
|
22464
22490
|
}
|
|
22465
22491
|
|
|
22466
22492
|
const VERSION$s = "f531b44760afecfce89990fe5a5c5c29";
|
|
22467
|
-
function validate$
|
|
22468
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
22493
|
+
function validate$G(obj, path = 'RecordAvatarBatchRepresentation') {
|
|
22494
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$C(obj, path);
|
|
22469
22495
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
22470
22496
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
22471
22497
|
}
|
|
@@ -22526,7 +22552,7 @@ function equals$p(existing, incoming) {
|
|
|
22526
22552
|
}
|
|
22527
22553
|
const ingest$g = function RecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22528
22554
|
if (process.env.NODE_ENV !== 'production') {
|
|
22529
|
-
const validateError = validate$
|
|
22555
|
+
const validateError = validate$G(input);
|
|
22530
22556
|
if (validateError !== null) {
|
|
22531
22557
|
throw validateError;
|
|
22532
22558
|
}
|
|
@@ -22567,7 +22593,7 @@ function getTypeCacheKeys$m(luvio, input, fullPathFactory) {
|
|
|
22567
22593
|
}
|
|
22568
22594
|
|
|
22569
22595
|
const VERSION$r = "17c20b01167dba9a81452e60bb28b2f2";
|
|
22570
|
-
function validate$
|
|
22596
|
+
function validate$F(obj, path = 'ErrorSingleRecordAvatarRepresentation') {
|
|
22571
22597
|
const v_error = (() => {
|
|
22572
22598
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22573
22599
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22617,8 +22643,8 @@ function equals$o(existing, incoming) {
|
|
|
22617
22643
|
}
|
|
22618
22644
|
|
|
22619
22645
|
const VERSION$q = "e7fac2bfb5cdacc5e0f15c350f9ab8fe";
|
|
22620
|
-
function validate$
|
|
22621
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
22646
|
+
function validate$E(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation') {
|
|
22647
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$C(obj, path);
|
|
22622
22648
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
22623
22649
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
22624
22650
|
}
|
|
@@ -22634,7 +22660,7 @@ function validate$D(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation'
|
|
|
22634
22660
|
for (let i = 0; i < obj_result.length; i++) {
|
|
22635
22661
|
const obj_result_item = obj_result[i];
|
|
22636
22662
|
const path_result_item = path_result + '[' + i + ']';
|
|
22637
|
-
const referencepath_result_itemValidationError = validate$
|
|
22663
|
+
const referencepath_result_itemValidationError = validate$F(obj_result_item, path_result_item);
|
|
22638
22664
|
if (referencepath_result_itemValidationError !== null) {
|
|
22639
22665
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
22640
22666
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22684,7 +22710,7 @@ function equals$n(existing, incoming) {
|
|
|
22684
22710
|
}
|
|
22685
22711
|
const ingest$f = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22686
22712
|
if (process.env.NODE_ENV !== 'production') {
|
|
22687
|
-
const validateError = validate$
|
|
22713
|
+
const validateError = validate$E(input);
|
|
22688
22714
|
if (validateError !== null) {
|
|
22689
22715
|
throw validateError;
|
|
22690
22716
|
}
|
|
@@ -22725,8 +22751,8 @@ function getTypeCacheKeys$l(luvio, input, fullPathFactory) {
|
|
|
22725
22751
|
}
|
|
22726
22752
|
|
|
22727
22753
|
const VERSION$p = "cbd48fd50d0db463fdff7b1834c22bed";
|
|
22728
|
-
function validate$
|
|
22729
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
22754
|
+
function validate$D(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
22755
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$C(obj, path);
|
|
22730
22756
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
22731
22757
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
22732
22758
|
}
|
|
@@ -22742,7 +22768,7 @@ function validate$C(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
|
22742
22768
|
for (let i = 0; i < obj_result.length; i++) {
|
|
22743
22769
|
const obj_result_item = obj_result[i];
|
|
22744
22770
|
const path_result_item = path_result + '[' + i + ']';
|
|
22745
|
-
const referencepath_result_itemValidationError = validate$
|
|
22771
|
+
const referencepath_result_itemValidationError = validate$F(obj_result_item, path_result_item);
|
|
22746
22772
|
if (referencepath_result_itemValidationError !== null) {
|
|
22747
22773
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
22748
22774
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22792,7 +22818,7 @@ function equals$m(existing, incoming) {
|
|
|
22792
22818
|
}
|
|
22793
22819
|
const ingest$e = function ErrorRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22794
22820
|
if (process.env.NODE_ENV !== 'production') {
|
|
22795
|
-
const validateError = validate$
|
|
22821
|
+
const validateError = validate$D(input);
|
|
22796
22822
|
if (validateError !== null) {
|
|
22797
22823
|
throw validateError;
|
|
22798
22824
|
}
|
|
@@ -22839,7 +22865,7 @@ const DiscriminatorValues$1 = {
|
|
|
22839
22865
|
};
|
|
22840
22866
|
const TTL$e = 300000;
|
|
22841
22867
|
const VERSION$o = "8956293536e94d5ec63b274b61033d2c";
|
|
22842
|
-
function validate$
|
|
22868
|
+
function validate$C(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
22843
22869
|
const v_error = (() => {
|
|
22844
22870
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22845
22871
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22917,7 +22943,7 @@ function getTypeCacheKeys$j(luvio, input, fullPathFactory) {
|
|
|
22917
22943
|
|
|
22918
22944
|
const TTL$d = 300000;
|
|
22919
22945
|
const VERSION$n = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
22920
|
-
function validate$
|
|
22946
|
+
function validate$B(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
22921
22947
|
const v_error = (() => {
|
|
22922
22948
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22923
22949
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22999,7 +23025,7 @@ function merge(existing, incoming, _luvio, _path) {
|
|
|
22999
23025
|
|
|
23000
23026
|
const ingest$d = function RecordAvatarBulkMapRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23001
23027
|
if (process.env.NODE_ENV !== 'production') {
|
|
23002
|
-
const validateError = validate$
|
|
23028
|
+
const validateError = validate$B(input);
|
|
23003
23029
|
if (validateError !== null) {
|
|
23004
23030
|
throw validateError;
|
|
23005
23031
|
}
|
|
@@ -23534,7 +23560,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
23534
23560
|
};
|
|
23535
23561
|
|
|
23536
23562
|
const VERSION$m = "4d4bdab5d0aa61e365e766409c9b3a31";
|
|
23537
|
-
function validate$
|
|
23563
|
+
function validate$A(obj, path = 'RelatedListReferenceRepresentation') {
|
|
23538
23564
|
const v_error = (() => {
|
|
23539
23565
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23540
23566
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23771,12 +23797,12 @@ function equals$j(existing, incoming) {
|
|
|
23771
23797
|
}
|
|
23772
23798
|
return true;
|
|
23773
23799
|
}
|
|
23774
|
-
function deepFreeze$
|
|
23800
|
+
function deepFreeze$n(input) {
|
|
23775
23801
|
ObjectFreeze(input);
|
|
23776
23802
|
}
|
|
23777
23803
|
|
|
23778
23804
|
const VERSION$l = "836b875b519813e7499efc62f0f1d04b";
|
|
23779
|
-
function validate$
|
|
23805
|
+
function validate$z(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
23780
23806
|
const v_error = (() => {
|
|
23781
23807
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23782
23808
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23819,7 +23845,7 @@ function validate$y(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
|
23819
23845
|
}
|
|
23820
23846
|
const obj_listReference = obj.listReference;
|
|
23821
23847
|
const path_listReference = path + '.listReference';
|
|
23822
|
-
const referencepath_listReferenceValidationError = validate$
|
|
23848
|
+
const referencepath_listReferenceValidationError = validate$A(obj_listReference, path_listReference);
|
|
23823
23849
|
if (referencepath_listReferenceValidationError !== null) {
|
|
23824
23850
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
23825
23851
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23892,7 +23918,7 @@ function equals$i(existing, incoming) {
|
|
|
23892
23918
|
}
|
|
23893
23919
|
const ingest$c = function RelatedListRecordCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23894
23920
|
if (process.env.NODE_ENV !== 'production') {
|
|
23895
|
-
const validateError = validate$
|
|
23921
|
+
const validateError = validate$z(input);
|
|
23896
23922
|
if (validateError !== null) {
|
|
23897
23923
|
throw validateError;
|
|
23898
23924
|
}
|
|
@@ -24514,7 +24540,7 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
24514
24540
|
buildCachedSnapshotCachePolicy$g, buildNetworkSnapshotCachePolicy$h);
|
|
24515
24541
|
};
|
|
24516
24542
|
|
|
24517
|
-
function validate$
|
|
24543
|
+
function validate$y(obj, path = 'RelatedListColumnRepresentation') {
|
|
24518
24544
|
const v_error = (() => {
|
|
24519
24545
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24520
24546
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24662,7 +24688,7 @@ function validate$x(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
24662
24688
|
})();
|
|
24663
24689
|
return v_error === undefined ? null : v_error;
|
|
24664
24690
|
}
|
|
24665
|
-
function deepFreeze$
|
|
24691
|
+
function deepFreeze$m(input) {
|
|
24666
24692
|
const input_picklistValues = input.picklistValues;
|
|
24667
24693
|
for (let i = 0; i < input_picklistValues.length; i++) {
|
|
24668
24694
|
const input_picklistValues_item = input_picklistValues[i];
|
|
@@ -24679,7 +24705,7 @@ function deepFreeze$l(input) {
|
|
|
24679
24705
|
|
|
24680
24706
|
const TTL$c = 900000;
|
|
24681
24707
|
const VERSION$k = "c977d65d153a2b4e888ddd45fb083248";
|
|
24682
|
-
function validate$
|
|
24708
|
+
function validate$x(obj, path = 'RelatedListInfoRepresentation') {
|
|
24683
24709
|
const v_error = (() => {
|
|
24684
24710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24685
24711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24707,7 +24733,7 @@ function validate$w(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24707
24733
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
24708
24734
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
24709
24735
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
24710
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
24736
|
+
const referencepath_displayColumns_itemValidationError = validate$y(obj_displayColumns_item, path_displayColumns_item);
|
|
24711
24737
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
24712
24738
|
let message = 'Object doesn\'t match RelatedListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
24713
24739
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24754,7 +24780,7 @@ function validate$w(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24754
24780
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
24755
24781
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
24756
24782
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
24757
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
24783
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1A(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
24758
24784
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
24759
24785
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
24760
24786
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24768,7 +24794,7 @@ function validate$w(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24768
24794
|
}
|
|
24769
24795
|
const obj_listReference = obj.listReference;
|
|
24770
24796
|
const path_listReference = path + '.listReference';
|
|
24771
|
-
const referencepath_listReferenceValidationError = validate$
|
|
24797
|
+
const referencepath_listReferenceValidationError = validate$A(obj_listReference, path_listReference);
|
|
24772
24798
|
if (referencepath_listReferenceValidationError !== null) {
|
|
24773
24799
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
24774
24800
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24806,7 +24832,7 @@ function validate$w(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24806
24832
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
24807
24833
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
24808
24834
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
24809
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
24835
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1y(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
24810
24836
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
24811
24837
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
24812
24838
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24825,7 +24851,7 @@ function validate$w(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
24825
24851
|
}
|
|
24826
24852
|
const obj_userPreferences = obj.userPreferences;
|
|
24827
24853
|
const path_userPreferences = path + '.userPreferences';
|
|
24828
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
24854
|
+
const referencepath_userPreferencesValidationError = validate$1x(obj_userPreferences, path_userPreferences);
|
|
24829
24855
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
24830
24856
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
24831
24857
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24963,11 +24989,11 @@ function equals$h(existing, incoming) {
|
|
|
24963
24989
|
}
|
|
24964
24990
|
return true;
|
|
24965
24991
|
}
|
|
24966
|
-
function deepFreeze$
|
|
24992
|
+
function deepFreeze$l(input) {
|
|
24967
24993
|
const input_displayColumns = input.displayColumns;
|
|
24968
24994
|
for (let i = 0; i < input_displayColumns.length; i++) {
|
|
24969
24995
|
const input_displayColumns_item = input_displayColumns[i];
|
|
24970
|
-
deepFreeze$
|
|
24996
|
+
deepFreeze$m(input_displayColumns_item);
|
|
24971
24997
|
}
|
|
24972
24998
|
ObjectFreeze(input_displayColumns);
|
|
24973
24999
|
const input_fields = input.fields;
|
|
@@ -24975,11 +25001,11 @@ function deepFreeze$k(input) {
|
|
|
24975
25001
|
const input_filteredByInfo = input.filteredByInfo;
|
|
24976
25002
|
for (let i = 0; i < input_filteredByInfo.length; i++) {
|
|
24977
25003
|
const input_filteredByInfo_item = input_filteredByInfo[i];
|
|
24978
|
-
deepFreeze$
|
|
25004
|
+
deepFreeze$P(input_filteredByInfo_item);
|
|
24979
25005
|
}
|
|
24980
25006
|
ObjectFreeze(input_filteredByInfo);
|
|
24981
25007
|
const input_listReference = input.listReference;
|
|
24982
|
-
deepFreeze$
|
|
25008
|
+
deepFreeze$n(input_listReference);
|
|
24983
25009
|
const input_objectApiNames = input.objectApiNames;
|
|
24984
25010
|
ObjectFreeze(input_objectApiNames);
|
|
24985
25011
|
const input_optionalFields = input.optionalFields;
|
|
@@ -24987,16 +25013,16 @@ function deepFreeze$k(input) {
|
|
|
24987
25013
|
const input_orderedByInfo = input.orderedByInfo;
|
|
24988
25014
|
for (let i = 0; i < input_orderedByInfo.length; i++) {
|
|
24989
25015
|
const input_orderedByInfo_item = input_orderedByInfo[i];
|
|
24990
|
-
deepFreeze$
|
|
25016
|
+
deepFreeze$O(input_orderedByInfo_item);
|
|
24991
25017
|
}
|
|
24992
25018
|
ObjectFreeze(input_orderedByInfo);
|
|
24993
25019
|
const input_userPreferences = input.userPreferences;
|
|
24994
|
-
deepFreeze$
|
|
25020
|
+
deepFreeze$N(input_userPreferences);
|
|
24995
25021
|
ObjectFreeze(input);
|
|
24996
25022
|
}
|
|
24997
25023
|
const ingest$b = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24998
25024
|
if (process.env.NODE_ENV !== 'production') {
|
|
24999
|
-
const validateError = validate$
|
|
25025
|
+
const validateError = validate$x(input);
|
|
25000
25026
|
if (validateError !== null) {
|
|
25001
25027
|
throw validateError;
|
|
25002
25028
|
}
|
|
@@ -25010,7 +25036,7 @@ const ingest$b = function RelatedListInfoRepresentationIngest(input, path, luvio
|
|
|
25010
25036
|
propertyName: path.propertyName,
|
|
25011
25037
|
ttl: ttlToUse
|
|
25012
25038
|
});
|
|
25013
|
-
deepFreeze$
|
|
25039
|
+
deepFreeze$l(input);
|
|
25014
25040
|
if (existingRecord === undefined || equals$h(existingRecord, incomingRecord) === false) {
|
|
25015
25041
|
luvio.storePublish(key, incomingRecord);
|
|
25016
25042
|
}
|
|
@@ -25514,7 +25540,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
25514
25540
|
buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$g);
|
|
25515
25541
|
};
|
|
25516
25542
|
|
|
25517
|
-
function validate$
|
|
25543
|
+
function validate$w(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
25518
25544
|
const v_error = (() => {
|
|
25519
25545
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25520
25546
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25610,7 +25636,7 @@ function validate$v(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
25610
25636
|
const path_themeInfo = path + '.themeInfo';
|
|
25611
25637
|
let obj_themeInfo_union0 = null;
|
|
25612
25638
|
const obj_themeInfo_union0_error = (() => {
|
|
25613
|
-
const referencepath_themeInfoValidationError = validate$
|
|
25639
|
+
const referencepath_themeInfoValidationError = validate$1j(obj_themeInfo, path_themeInfo);
|
|
25614
25640
|
if (referencepath_themeInfoValidationError !== null) {
|
|
25615
25641
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
25616
25642
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25643,16 +25669,16 @@ function validate$v(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
25643
25669
|
})();
|
|
25644
25670
|
return v_error === undefined ? null : v_error;
|
|
25645
25671
|
}
|
|
25646
|
-
function deepFreeze$
|
|
25672
|
+
function deepFreeze$k(input) {
|
|
25647
25673
|
const input_themeInfo = input.themeInfo;
|
|
25648
25674
|
if (input_themeInfo !== null && typeof input_themeInfo === 'object') {
|
|
25649
|
-
deepFreeze$
|
|
25675
|
+
deepFreeze$E(input_themeInfo);
|
|
25650
25676
|
}
|
|
25651
25677
|
ObjectFreeze(input);
|
|
25652
25678
|
}
|
|
25653
25679
|
|
|
25654
25680
|
const VERSION$j = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
25655
|
-
function validate$
|
|
25681
|
+
function validate$v(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
|
|
25656
25682
|
const v_error = (() => {
|
|
25657
25683
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25658
25684
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25701,7 +25727,7 @@ function validate$u(obj, path = 'RelatedListSummaryInfoCollectionRepresentation'
|
|
|
25701
25727
|
for (let i = 0; i < obj_relatedLists.length; i++) {
|
|
25702
25728
|
const obj_relatedLists_item = obj_relatedLists[i];
|
|
25703
25729
|
const path_relatedLists_item = path_relatedLists + '[' + i + ']';
|
|
25704
|
-
const referencepath_relatedLists_itemValidationError = validate$
|
|
25730
|
+
const referencepath_relatedLists_itemValidationError = validate$w(obj_relatedLists_item, path_relatedLists_item);
|
|
25705
25731
|
if (referencepath_relatedLists_itemValidationError !== null) {
|
|
25706
25732
|
let message = 'Object doesn\'t match RelatedListSummaryInfoRepresentation (at "' + path_relatedLists_item + '")\n';
|
|
25707
25733
|
message += referencepath_relatedLists_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25755,18 +25781,18 @@ function equals$g(existing, incoming) {
|
|
|
25755
25781
|
}
|
|
25756
25782
|
return true;
|
|
25757
25783
|
}
|
|
25758
|
-
function deepFreeze$
|
|
25784
|
+
function deepFreeze$j(input) {
|
|
25759
25785
|
const input_relatedLists = input.relatedLists;
|
|
25760
25786
|
for (let i = 0; i < input_relatedLists.length; i++) {
|
|
25761
25787
|
const input_relatedLists_item = input_relatedLists[i];
|
|
25762
|
-
deepFreeze$
|
|
25788
|
+
deepFreeze$k(input_relatedLists_item);
|
|
25763
25789
|
}
|
|
25764
25790
|
ObjectFreeze(input_relatedLists);
|
|
25765
25791
|
ObjectFreeze(input);
|
|
25766
25792
|
}
|
|
25767
25793
|
const ingest$a = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
25768
25794
|
if (process.env.NODE_ENV !== 'production') {
|
|
25769
|
-
const validateError = validate$
|
|
25795
|
+
const validateError = validate$v(input);
|
|
25770
25796
|
if (validateError !== null) {
|
|
25771
25797
|
throw validateError;
|
|
25772
25798
|
}
|
|
@@ -25780,7 +25806,7 @@ const ingest$a = function RelatedListSummaryInfoCollectionRepresentationIngest(i
|
|
|
25780
25806
|
propertyName: path.propertyName,
|
|
25781
25807
|
ttl: ttlToUse
|
|
25782
25808
|
});
|
|
25783
|
-
deepFreeze$
|
|
25809
|
+
deepFreeze$j(input);
|
|
25784
25810
|
if (existingRecord === undefined || equals$g(existingRecord, incomingRecord) === false) {
|
|
25785
25811
|
luvio.storePublish(key, incomingRecord);
|
|
25786
25812
|
}
|
|
@@ -26159,7 +26185,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
26159
26185
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
|
|
26160
26186
|
};
|
|
26161
26187
|
|
|
26162
|
-
function validate$
|
|
26188
|
+
function validate$u(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
26163
26189
|
const v_error = (() => {
|
|
26164
26190
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26165
26191
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26178,7 +26204,7 @@ function validate$t(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
|
26178
26204
|
return v_error === undefined ? null : v_error;
|
|
26179
26205
|
}
|
|
26180
26206
|
|
|
26181
|
-
function validate$
|
|
26207
|
+
function validate$t(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
26182
26208
|
const v_error = (() => {
|
|
26183
26209
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26184
26210
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26315,7 +26341,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
26315
26341
|
const untrustedConfig_orderedByInfo_array = [];
|
|
26316
26342
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
26317
26343
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
26318
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
26344
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$u(untrustedConfig_orderedByInfo_item);
|
|
26319
26345
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
26320
26346
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
26321
26347
|
}
|
|
@@ -26323,7 +26349,7 @@ function typeCheckConfig$o(untrustedConfig) {
|
|
|
26323
26349
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
26324
26350
|
}
|
|
26325
26351
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
26326
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
26352
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$t(untrustedConfig_userPreferences);
|
|
26327
26353
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
26328
26354
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
26329
26355
|
}
|
|
@@ -26353,7 +26379,7 @@ function buildNetworkSnapshot$m(luvio, config, options) {
|
|
|
26353
26379
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
26354
26380
|
}, () => getResponseCacheKeys$k(luvio, resourceParams, response.body));
|
|
26355
26381
|
}, (response) => {
|
|
26356
|
-
deepFreeze$
|
|
26382
|
+
deepFreeze$Q(response);
|
|
26357
26383
|
throw response;
|
|
26358
26384
|
});
|
|
26359
26385
|
}
|
|
@@ -26370,7 +26396,7 @@ const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
|
26370
26396
|
|
|
26371
26397
|
const TTL$b = 900000;
|
|
26372
26398
|
const VERSION$i = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
26373
|
-
function validate$
|
|
26399
|
+
function validate$s(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
26374
26400
|
const v_error = (() => {
|
|
26375
26401
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26376
26402
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26411,7 +26437,7 @@ function validate$r(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
26411
26437
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
26412
26438
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
26413
26439
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
26414
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
26440
|
+
const referencepath_orderedBy_itemValidationError = validate$1y(obj_orderedBy_item, path_orderedBy_item);
|
|
26415
26441
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
26416
26442
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
26417
26443
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26453,7 +26479,7 @@ function equals$f(existing, incoming) {
|
|
|
26453
26479
|
}
|
|
26454
26480
|
return true;
|
|
26455
26481
|
}
|
|
26456
|
-
function deepFreeze$
|
|
26482
|
+
function deepFreeze$i(input) {
|
|
26457
26483
|
const input_columnWidths = input.columnWidths;
|
|
26458
26484
|
const input_columnWidths_keys = Object.keys(input_columnWidths);
|
|
26459
26485
|
const input_columnWidths_length = input_columnWidths_keys.length;
|
|
@@ -26471,14 +26497,14 @@ function deepFreeze$h(input) {
|
|
|
26471
26497
|
const input_orderedBy = input.orderedBy;
|
|
26472
26498
|
for (let i = 0; i < input_orderedBy.length; i++) {
|
|
26473
26499
|
const input_orderedBy_item = input_orderedBy[i];
|
|
26474
|
-
deepFreeze$
|
|
26500
|
+
deepFreeze$O(input_orderedBy_item);
|
|
26475
26501
|
}
|
|
26476
26502
|
ObjectFreeze(input_orderedBy);
|
|
26477
26503
|
ObjectFreeze(input);
|
|
26478
26504
|
}
|
|
26479
26505
|
const ingest$9 = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26480
26506
|
if (process.env.NODE_ENV !== 'production') {
|
|
26481
|
-
const validateError = validate$
|
|
26507
|
+
const validateError = validate$s(input);
|
|
26482
26508
|
if (validateError !== null) {
|
|
26483
26509
|
throw validateError;
|
|
26484
26510
|
}
|
|
@@ -26492,7 +26518,7 @@ const ingest$9 = function RelatedListUserPreferencesRepresentationIngest(input,
|
|
|
26492
26518
|
propertyName: path.propertyName,
|
|
26493
26519
|
ttl: ttlToUse
|
|
26494
26520
|
});
|
|
26495
|
-
deepFreeze$
|
|
26521
|
+
deepFreeze$i(input);
|
|
26496
26522
|
if (existingRecord === undefined || equals$f(existingRecord, incomingRecord) === false) {
|
|
26497
26523
|
luvio.storePublish(key, incomingRecord);
|
|
26498
26524
|
}
|
|
@@ -27170,7 +27196,7 @@ function typeCheckConfig$l(untrustedConfig) {
|
|
|
27170
27196
|
const untrustedConfig_orderedBy_array = [];
|
|
27171
27197
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
27172
27198
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
27173
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
27199
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$u(untrustedConfig_orderedBy_item);
|
|
27174
27200
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
27175
27201
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
27176
27202
|
}
|
|
@@ -27202,7 +27228,7 @@ function buildNetworkSnapshot$j(luvio, config, options) {
|
|
|
27202
27228
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
27203
27229
|
}, () => getResponseCacheKeys$h(luvio, resourceParams, response.body));
|
|
27204
27230
|
}, (response) => {
|
|
27205
|
-
deepFreeze$
|
|
27231
|
+
deepFreeze$Q(response);
|
|
27206
27232
|
throw response;
|
|
27207
27233
|
});
|
|
27208
27234
|
}
|
|
@@ -27217,7 +27243,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
27217
27243
|
};
|
|
27218
27244
|
};
|
|
27219
27245
|
|
|
27220
|
-
function validate$
|
|
27246
|
+
function validate$r(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
27221
27247
|
const v_error = (() => {
|
|
27222
27248
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27223
27249
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27460,7 +27486,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
27460
27486
|
|
|
27461
27487
|
const TTL$a = 30000;
|
|
27462
27488
|
const VERSION$h = "62467c27c19349b70c9db2a8d9d591d9";
|
|
27463
|
-
function validate$
|
|
27489
|
+
function validate$q(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
27464
27490
|
const v_error = (() => {
|
|
27465
27491
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27466
27492
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27541,7 +27567,7 @@ function validate$p(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
27541
27567
|
}
|
|
27542
27568
|
const obj_listReference = obj.listReference;
|
|
27543
27569
|
const path_listReference = path + '.listReference';
|
|
27544
|
-
const referencepath_listReferenceValidationError = validate$
|
|
27570
|
+
const referencepath_listReferenceValidationError = validate$A(obj_listReference, path_listReference);
|
|
27545
27571
|
if (referencepath_listReferenceValidationError !== null) {
|
|
27546
27572
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
27547
27573
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -27963,7 +27989,7 @@ function equals$e(existing, incoming) {
|
|
|
27963
27989
|
}
|
|
27964
27990
|
const ingest$8 = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
27965
27991
|
if (process.env.NODE_ENV !== 'production') {
|
|
27966
|
-
const validateError = validate$
|
|
27992
|
+
const validateError = validate$q(input);
|
|
27967
27993
|
if (validateError !== null) {
|
|
27968
27994
|
throw validateError;
|
|
27969
27995
|
}
|
|
@@ -28480,7 +28506,7 @@ function typeCheckConfig$k(untrustedConfig) {
|
|
|
28480
28506
|
const untrustedConfig_relatedListParameters_array = [];
|
|
28481
28507
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
28482
28508
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
28483
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
28509
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$r(untrustedConfig_relatedListParameters_item);
|
|
28484
28510
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
28485
28511
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
28486
28512
|
}
|
|
@@ -28815,7 +28841,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
28815
28841
|
};
|
|
28816
28842
|
|
|
28817
28843
|
const VERSION$g = "d4e38b1f08aca427c57c06b571d54993";
|
|
28818
|
-
function validate$
|
|
28844
|
+
function validate$p(obj, path = 'SearchFilterOptionRepresentation') {
|
|
28819
28845
|
const v_error = (() => {
|
|
28820
28846
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28821
28847
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28850,7 +28876,7 @@ const select$k = function SearchFilterOptionRepresentationSelect() {
|
|
|
28850
28876
|
]
|
|
28851
28877
|
};
|
|
28852
28878
|
};
|
|
28853
|
-
function deepFreeze$
|
|
28879
|
+
function deepFreeze$h(input) {
|
|
28854
28880
|
ObjectFreeze(input);
|
|
28855
28881
|
}
|
|
28856
28882
|
|
|
@@ -28905,7 +28931,7 @@ var DiscriminatorValues;
|
|
|
28905
28931
|
DiscriminatorValues["Text"] = "Text";
|
|
28906
28932
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
28907
28933
|
const VERSION$d = "ce65f5507177936e5b70ecf2a75b446f";
|
|
28908
|
-
function validate$
|
|
28934
|
+
function validate$o(obj, path = 'SearchFilterAttributesRepresentation') {
|
|
28909
28935
|
const v_error = (() => {
|
|
28910
28936
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28911
28937
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28954,7 +28980,7 @@ function equals$d(existing, incoming) {
|
|
|
28954
28980
|
}
|
|
28955
28981
|
|
|
28956
28982
|
const VERSION$c = "8bccbceb2d8850c1388ea82df95ba2d8";
|
|
28957
|
-
function validate$
|
|
28983
|
+
function validate$n(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
28958
28984
|
const v_error = (() => {
|
|
28959
28985
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28960
28986
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28966,7 +28992,7 @@ function validate$m(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
28966
28992
|
}
|
|
28967
28993
|
const obj_attributes = obj.attributes;
|
|
28968
28994
|
const path_attributes = path + '.attributes';
|
|
28969
|
-
const referencepath_attributesValidationError = validate$
|
|
28995
|
+
const referencepath_attributesValidationError = validate$o(obj_attributes, path_attributes);
|
|
28970
28996
|
if (referencepath_attributesValidationError !== null) {
|
|
28971
28997
|
let message = 'Object doesn\'t match SearchFilterAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
28972
28998
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29087,7 +29113,7 @@ function equals$c(existing, incoming) {
|
|
|
29087
29113
|
|
|
29088
29114
|
const TTL$9 = 30000;
|
|
29089
29115
|
const VERSION$b = "4c15d70367f2a3acd1e1c627b4946679";
|
|
29090
|
-
function validate$
|
|
29116
|
+
function validate$m(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
29091
29117
|
const v_error = (() => {
|
|
29092
29118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29093
29119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29100,7 +29126,7 @@ function validate$l(obj, path = 'SearchFilterMetadataCollectionRepresentation')
|
|
|
29100
29126
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
29101
29127
|
const obj_filters_item = obj_filters[i];
|
|
29102
29128
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
29103
|
-
const referencepath_filters_itemValidationError = validate$
|
|
29129
|
+
const referencepath_filters_itemValidationError = validate$n(obj_filters_item, path_filters_item);
|
|
29104
29130
|
if (referencepath_filters_itemValidationError !== null) {
|
|
29105
29131
|
let message = 'Object doesn\'t match SearchFilterDefinitionRepresentation (at "' + path_filters_item + '")\n';
|
|
29106
29132
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29168,7 +29194,7 @@ function equals$b(existing, incoming) {
|
|
|
29168
29194
|
}
|
|
29169
29195
|
const ingest$7 = function SearchFilterMetadataCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29170
29196
|
if (process.env.NODE_ENV !== 'production') {
|
|
29171
|
-
const validateError = validate$
|
|
29197
|
+
const validateError = validate$m(input);
|
|
29172
29198
|
if (validateError !== null) {
|
|
29173
29199
|
throw validateError;
|
|
29174
29200
|
}
|
|
@@ -29372,7 +29398,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
29372
29398
|
|
|
29373
29399
|
const TTL$8 = 30000;
|
|
29374
29400
|
const VERSION$a = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
29375
|
-
function validate$
|
|
29401
|
+
function validate$l(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
29376
29402
|
const v_error = (() => {
|
|
29377
29403
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29378
29404
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29395,7 +29421,7 @@ function validate$k(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
|
29395
29421
|
for (let i = 0; i < obj_options.length; i++) {
|
|
29396
29422
|
const obj_options_item = obj_options[i];
|
|
29397
29423
|
const path_options_item = path_options + '[' + i + ']';
|
|
29398
|
-
const referencepath_options_itemValidationError = validate$
|
|
29424
|
+
const referencepath_options_itemValidationError = validate$p(obj_options_item, path_options_item);
|
|
29399
29425
|
if (referencepath_options_itemValidationError !== null) {
|
|
29400
29426
|
let message = 'Object doesn\'t match SearchFilterOptionRepresentation (at "' + path_options_item + '")\n';
|
|
29401
29427
|
message += referencepath_options_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29460,18 +29486,18 @@ function equals$a(existing, incoming) {
|
|
|
29460
29486
|
}
|
|
29461
29487
|
return true;
|
|
29462
29488
|
}
|
|
29463
|
-
function deepFreeze$
|
|
29489
|
+
function deepFreeze$g(input) {
|
|
29464
29490
|
const input_options = input.options;
|
|
29465
29491
|
for (let i = 0; i < input_options.length; i++) {
|
|
29466
29492
|
const input_options_item = input_options[i];
|
|
29467
|
-
deepFreeze$
|
|
29493
|
+
deepFreeze$h(input_options_item);
|
|
29468
29494
|
}
|
|
29469
29495
|
ObjectFreeze(input_options);
|
|
29470
29496
|
ObjectFreeze(input);
|
|
29471
29497
|
}
|
|
29472
29498
|
const ingest$6 = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29473
29499
|
if (process.env.NODE_ENV !== 'production') {
|
|
29474
|
-
const validateError = validate$
|
|
29500
|
+
const validateError = validate$l(input);
|
|
29475
29501
|
if (validateError !== null) {
|
|
29476
29502
|
throw validateError;
|
|
29477
29503
|
}
|
|
@@ -29485,7 +29511,7 @@ const ingest$6 = function SearchFilterOptionCollectionRepresentationIngest(input
|
|
|
29485
29511
|
propertyName: path.propertyName,
|
|
29486
29512
|
ttl: ttlToUse
|
|
29487
29513
|
});
|
|
29488
|
-
deepFreeze$
|
|
29514
|
+
deepFreeze$g(input);
|
|
29489
29515
|
if (existingRecord === undefined || equals$a(existingRecord, incomingRecord) === false) {
|
|
29490
29516
|
luvio.storePublish(key, incomingRecord);
|
|
29491
29517
|
}
|
|
@@ -29687,7 +29713,7 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
|
|
|
29687
29713
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$8);
|
|
29688
29714
|
};
|
|
29689
29715
|
|
|
29690
|
-
function validate$
|
|
29716
|
+
function validate$k(obj, path = 'DisplayLayoutRepresentation') {
|
|
29691
29717
|
const v_error = (() => {
|
|
29692
29718
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29693
29719
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29707,13 +29733,13 @@ function validate$j(obj, path = 'DisplayLayoutRepresentation') {
|
|
|
29707
29733
|
})();
|
|
29708
29734
|
return v_error === undefined ? null : v_error;
|
|
29709
29735
|
}
|
|
29710
|
-
function deepFreeze$
|
|
29736
|
+
function deepFreeze$f(input) {
|
|
29711
29737
|
const input_displayFields = input.displayFields;
|
|
29712
29738
|
ObjectFreeze(input_displayFields);
|
|
29713
29739
|
ObjectFreeze(input);
|
|
29714
29740
|
}
|
|
29715
29741
|
|
|
29716
|
-
function validate$
|
|
29742
|
+
function validate$j(obj, path = 'MatchingInfoRepresentation') {
|
|
29717
29743
|
const v_error = (() => {
|
|
29718
29744
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29719
29745
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29733,20 +29759,20 @@ function validate$i(obj, path = 'MatchingInfoRepresentation') {
|
|
|
29733
29759
|
})();
|
|
29734
29760
|
return v_error === undefined ? null : v_error;
|
|
29735
29761
|
}
|
|
29736
|
-
function deepFreeze$
|
|
29762
|
+
function deepFreeze$e(input) {
|
|
29737
29763
|
const input_matchingFields = input.matchingFields;
|
|
29738
29764
|
ObjectFreeze(input_matchingFields);
|
|
29739
29765
|
ObjectFreeze(input);
|
|
29740
29766
|
}
|
|
29741
29767
|
|
|
29742
|
-
function validate$
|
|
29768
|
+
function validate$i(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
29743
29769
|
const v_error = (() => {
|
|
29744
29770
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29745
29771
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29746
29772
|
}
|
|
29747
29773
|
const obj_displayLayout = obj.displayLayout;
|
|
29748
29774
|
const path_displayLayout = path + '.displayLayout';
|
|
29749
|
-
const referencepath_displayLayoutValidationError = validate$
|
|
29775
|
+
const referencepath_displayLayoutValidationError = validate$k(obj_displayLayout, path_displayLayout);
|
|
29750
29776
|
if (referencepath_displayLayoutValidationError !== null) {
|
|
29751
29777
|
let message = 'Object doesn\'t match DisplayLayoutRepresentation (at "' + path_displayLayout + '")\n';
|
|
29752
29778
|
message += referencepath_displayLayoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29754,7 +29780,7 @@ function validate$h(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
29754
29780
|
}
|
|
29755
29781
|
const obj_matchingInfo = obj.matchingInfo;
|
|
29756
29782
|
const path_matchingInfo = path + '.matchingInfo';
|
|
29757
|
-
const referencepath_matchingInfoValidationError = validate$
|
|
29783
|
+
const referencepath_matchingInfoValidationError = validate$j(obj_matchingInfo, path_matchingInfo);
|
|
29758
29784
|
if (referencepath_matchingInfoValidationError !== null) {
|
|
29759
29785
|
let message = 'Object doesn\'t match MatchingInfoRepresentation (at "' + path_matchingInfo + '")\n';
|
|
29760
29786
|
message += referencepath_matchingInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29763,22 +29789,22 @@ function validate$h(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
29763
29789
|
})();
|
|
29764
29790
|
return v_error === undefined ? null : v_error;
|
|
29765
29791
|
}
|
|
29766
|
-
function deepFreeze$
|
|
29792
|
+
function deepFreeze$d(input) {
|
|
29767
29793
|
const input_displayLayout = input.displayLayout;
|
|
29768
|
-
deepFreeze$
|
|
29794
|
+
deepFreeze$f(input_displayLayout);
|
|
29769
29795
|
const input_matchingInfo = input.matchingInfo;
|
|
29770
|
-
deepFreeze$
|
|
29796
|
+
deepFreeze$e(input_matchingInfo);
|
|
29771
29797
|
ObjectFreeze(input);
|
|
29772
29798
|
}
|
|
29773
29799
|
|
|
29774
|
-
function validate$
|
|
29800
|
+
function validate$h(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
29775
29801
|
const v_error = (() => {
|
|
29776
29802
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29777
29803
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
29778
29804
|
}
|
|
29779
29805
|
const obj_fullSearchInfo = obj.fullSearchInfo;
|
|
29780
29806
|
const path_fullSearchInfo = path + '.fullSearchInfo';
|
|
29781
|
-
const referencepath_fullSearchInfoValidationError = validate$
|
|
29807
|
+
const referencepath_fullSearchInfoValidationError = validate$i(obj_fullSearchInfo, path_fullSearchInfo);
|
|
29782
29808
|
if (referencepath_fullSearchInfoValidationError !== null) {
|
|
29783
29809
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_fullSearchInfo + '")\n';
|
|
29784
29810
|
message += referencepath_fullSearchInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29791,7 +29817,7 @@ function validate$g(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
29791
29817
|
}
|
|
29792
29818
|
const obj_suggestionsInfo = obj.suggestionsInfo;
|
|
29793
29819
|
const path_suggestionsInfo = path + '.suggestionsInfo';
|
|
29794
|
-
const referencepath_suggestionsInfoValidationError = validate$
|
|
29820
|
+
const referencepath_suggestionsInfoValidationError = validate$i(obj_suggestionsInfo, path_suggestionsInfo);
|
|
29795
29821
|
if (referencepath_suggestionsInfoValidationError !== null) {
|
|
29796
29822
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_suggestionsInfo + '")\n';
|
|
29797
29823
|
message += referencepath_suggestionsInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29800,17 +29826,17 @@ function validate$g(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
29800
29826
|
})();
|
|
29801
29827
|
return v_error === undefined ? null : v_error;
|
|
29802
29828
|
}
|
|
29803
|
-
function deepFreeze$
|
|
29829
|
+
function deepFreeze$c(input) {
|
|
29804
29830
|
const input_fullSearchInfo = input.fullSearchInfo;
|
|
29805
|
-
deepFreeze$
|
|
29831
|
+
deepFreeze$d(input_fullSearchInfo);
|
|
29806
29832
|
const input_suggestionsInfo = input.suggestionsInfo;
|
|
29807
|
-
deepFreeze$
|
|
29833
|
+
deepFreeze$d(input_suggestionsInfo);
|
|
29808
29834
|
ObjectFreeze(input);
|
|
29809
29835
|
}
|
|
29810
29836
|
|
|
29811
29837
|
const TTL$7 = 30000;
|
|
29812
29838
|
const VERSION$9 = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
29813
|
-
function validate$
|
|
29839
|
+
function validate$g(obj, path = 'LookupMetadataRepresentation') {
|
|
29814
29840
|
const v_error = (() => {
|
|
29815
29841
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29816
29842
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29861,7 +29887,7 @@ function validate$f(obj, path = 'LookupMetadataRepresentation') {
|
|
|
29861
29887
|
const key = obj_targetInfo_keys[i];
|
|
29862
29888
|
const obj_targetInfo_prop = obj_targetInfo[key];
|
|
29863
29889
|
const path_targetInfo_prop = path_targetInfo + '["' + key + '"]';
|
|
29864
|
-
const referencepath_targetInfo_propValidationError = validate$
|
|
29890
|
+
const referencepath_targetInfo_propValidationError = validate$h(obj_targetInfo_prop, path_targetInfo_prop);
|
|
29865
29891
|
if (referencepath_targetInfo_propValidationError !== null) {
|
|
29866
29892
|
let message = 'Object doesn\'t match LookupMetadataTargetInfoRepresentation (at "' + path_targetInfo_prop + '")\n';
|
|
29867
29893
|
message += referencepath_targetInfo_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29899,21 +29925,21 @@ function equals$9(existing, incoming) {
|
|
|
29899
29925
|
}
|
|
29900
29926
|
return true;
|
|
29901
29927
|
}
|
|
29902
|
-
function deepFreeze$
|
|
29928
|
+
function deepFreeze$b(input) {
|
|
29903
29929
|
const input_targetInfo = input.targetInfo;
|
|
29904
29930
|
const input_targetInfo_keys = Object.keys(input_targetInfo);
|
|
29905
29931
|
const input_targetInfo_length = input_targetInfo_keys.length;
|
|
29906
29932
|
for (let i = 0; i < input_targetInfo_length; i++) {
|
|
29907
29933
|
const key = input_targetInfo_keys[i];
|
|
29908
29934
|
const input_targetInfo_prop = input_targetInfo[key];
|
|
29909
|
-
deepFreeze$
|
|
29935
|
+
deepFreeze$c(input_targetInfo_prop);
|
|
29910
29936
|
}
|
|
29911
29937
|
ObjectFreeze(input_targetInfo);
|
|
29912
29938
|
ObjectFreeze(input);
|
|
29913
29939
|
}
|
|
29914
29940
|
const ingest$5 = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29915
29941
|
if (process.env.NODE_ENV !== 'production') {
|
|
29916
|
-
const validateError = validate$
|
|
29942
|
+
const validateError = validate$g(input);
|
|
29917
29943
|
if (validateError !== null) {
|
|
29918
29944
|
throw validateError;
|
|
29919
29945
|
}
|
|
@@ -29927,7 +29953,7 @@ const ingest$5 = function LookupMetadataRepresentationIngest(input, path, luvio,
|
|
|
29927
29953
|
propertyName: path.propertyName,
|
|
29928
29954
|
ttl: ttlToUse
|
|
29929
29955
|
});
|
|
29930
|
-
deepFreeze$
|
|
29956
|
+
deepFreeze$b(input);
|
|
29931
29957
|
if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
|
|
29932
29958
|
luvio.storePublish(key, incomingRecord);
|
|
29933
29959
|
}
|
|
@@ -30121,7 +30147,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
30121
30147
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$7);
|
|
30122
30148
|
};
|
|
30123
30149
|
|
|
30124
|
-
function validate$
|
|
30150
|
+
function validate$f(obj, path = 'ErrorMessageRepresentation') {
|
|
30125
30151
|
const v_error = (() => {
|
|
30126
30152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30127
30153
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30160,11 +30186,11 @@ function validate$e(obj, path = 'ErrorMessageRepresentation') {
|
|
|
30160
30186
|
})();
|
|
30161
30187
|
return v_error === undefined ? null : v_error;
|
|
30162
30188
|
}
|
|
30163
|
-
function deepFreeze$
|
|
30189
|
+
function deepFreeze$a(input) {
|
|
30164
30190
|
ObjectFreeze(input);
|
|
30165
30191
|
}
|
|
30166
30192
|
|
|
30167
|
-
function deepFreeze$
|
|
30193
|
+
function deepFreeze$9(input) {
|
|
30168
30194
|
const input_fields = input.fields;
|
|
30169
30195
|
const input_fields_keys = Object.keys(input_fields);
|
|
30170
30196
|
const input_fields_length = input_fields_keys.length;
|
|
@@ -30175,23 +30201,23 @@ function deepFreeze$8(input) {
|
|
|
30175
30201
|
ObjectFreeze(input);
|
|
30176
30202
|
}
|
|
30177
30203
|
|
|
30178
|
-
function deepFreeze$
|
|
30204
|
+
function deepFreeze$8(input) {
|
|
30179
30205
|
ObjectFreeze(input);
|
|
30180
30206
|
}
|
|
30181
30207
|
|
|
30182
|
-
function deepFreeze$
|
|
30208
|
+
function deepFreeze$7(input) {
|
|
30183
30209
|
const input_highlightInfo = input.highlightInfo;
|
|
30184
30210
|
if (input_highlightInfo !== undefined) {
|
|
30185
|
-
deepFreeze$
|
|
30211
|
+
deepFreeze$9(input_highlightInfo);
|
|
30186
30212
|
}
|
|
30187
30213
|
const input_record = input.record;
|
|
30188
|
-
deepFreeze$
|
|
30214
|
+
deepFreeze$J(input_record);
|
|
30189
30215
|
const input_searchInfo = input.searchInfo;
|
|
30190
|
-
deepFreeze$
|
|
30216
|
+
deepFreeze$8(input_searchInfo);
|
|
30191
30217
|
ObjectFreeze(input);
|
|
30192
30218
|
}
|
|
30193
30219
|
|
|
30194
|
-
function validate$
|
|
30220
|
+
function validate$e(obj, path = 'SearchResultCollectionRepresentation') {
|
|
30195
30221
|
const v_error = (() => {
|
|
30196
30222
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30197
30223
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30205,7 +30231,7 @@ function validate$d(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30205
30231
|
const path_error = path + '.error';
|
|
30206
30232
|
let obj_error_union0 = null;
|
|
30207
30233
|
const obj_error_union0_error = (() => {
|
|
30208
|
-
const referencepath_errorValidationError = validate$
|
|
30234
|
+
const referencepath_errorValidationError = validate$f(obj_error, path_error);
|
|
30209
30235
|
if (referencepath_errorValidationError !== null) {
|
|
30210
30236
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
30211
30237
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30269,7 +30295,7 @@ function validate$d(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30269
30295
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
30270
30296
|
const obj_orderBy_item = obj_orderBy[i];
|
|
30271
30297
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
30272
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
30298
|
+
const referencepath_orderBy_itemValidationError = validate$1y(obj_orderBy_item, path_orderBy_item);
|
|
30273
30299
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
30274
30300
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
30275
30301
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30334,21 +30360,21 @@ function validate$d(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30334
30360
|
})();
|
|
30335
30361
|
return v_error === undefined ? null : v_error;
|
|
30336
30362
|
}
|
|
30337
|
-
function deepFreeze$
|
|
30363
|
+
function deepFreeze$6(input) {
|
|
30338
30364
|
const input_error = input.error;
|
|
30339
30365
|
if (input_error !== null && typeof input_error === 'object') {
|
|
30340
|
-
deepFreeze$
|
|
30366
|
+
deepFreeze$a(input_error);
|
|
30341
30367
|
}
|
|
30342
30368
|
const input_orderBy = input.orderBy;
|
|
30343
30369
|
for (let i = 0; i < input_orderBy.length; i++) {
|
|
30344
30370
|
const input_orderBy_item = input_orderBy[i];
|
|
30345
|
-
deepFreeze$
|
|
30371
|
+
deepFreeze$O(input_orderBy_item);
|
|
30346
30372
|
}
|
|
30347
30373
|
ObjectFreeze(input_orderBy);
|
|
30348
30374
|
const input_records = input.records;
|
|
30349
30375
|
for (let i = 0; i < input_records.length; i++) {
|
|
30350
30376
|
const input_records_item = input_records[i];
|
|
30351
|
-
deepFreeze$
|
|
30377
|
+
deepFreeze$7(input_records_item);
|
|
30352
30378
|
}
|
|
30353
30379
|
ObjectFreeze(input_records);
|
|
30354
30380
|
const input_relatedObjectApiNames = input.relatedObjectApiNames;
|
|
@@ -30356,7 +30382,7 @@ function deepFreeze$5(input) {
|
|
|
30356
30382
|
ObjectFreeze(input);
|
|
30357
30383
|
}
|
|
30358
30384
|
|
|
30359
|
-
function validate$
|
|
30385
|
+
function validate$d(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
30360
30386
|
const v_error = (() => {
|
|
30361
30387
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30362
30388
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30376,17 +30402,17 @@ function validate$c(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
30376
30402
|
})();
|
|
30377
30403
|
return v_error === undefined ? null : v_error;
|
|
30378
30404
|
}
|
|
30379
|
-
function deepFreeze$
|
|
30405
|
+
function deepFreeze$5(input) {
|
|
30380
30406
|
const input_results = input.results;
|
|
30381
30407
|
for (let i = 0; i < input_results.length; i++) {
|
|
30382
30408
|
const input_results_item = input_results[i];
|
|
30383
|
-
deepFreeze$
|
|
30409
|
+
deepFreeze$6(input_results_item);
|
|
30384
30410
|
}
|
|
30385
30411
|
ObjectFreeze(input_results);
|
|
30386
30412
|
ObjectFreeze(input);
|
|
30387
30413
|
}
|
|
30388
30414
|
|
|
30389
|
-
function validate$
|
|
30415
|
+
function validate$c(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
30390
30416
|
const v_error = (() => {
|
|
30391
30417
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30392
30418
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30401,11 +30427,6 @@ function validate$b(obj, path = 'QnASearchResultRepresentation') {
|
|
|
30401
30427
|
if (typeof obj_objectApiName !== 'string') {
|
|
30402
30428
|
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
30403
30429
|
}
|
|
30404
|
-
const obj_passage = obj.passage;
|
|
30405
|
-
const path_passage = path + '.passage';
|
|
30406
|
-
if (typeof obj_passage !== 'string') {
|
|
30407
|
-
return new TypeError('Expected "string" but received "' + typeof obj_passage + '" (at "' + path_passage + '")');
|
|
30408
|
-
}
|
|
30409
30430
|
const obj_recordId = obj.recordId;
|
|
30410
30431
|
const path_recordId = path + '.recordId';
|
|
30411
30432
|
if (typeof obj_recordId !== 'string') {
|
|
@@ -30419,12 +30440,55 @@ function validate$b(obj, path = 'QnASearchResultRepresentation') {
|
|
|
30419
30440
|
})();
|
|
30420
30441
|
return v_error === undefined ? null : v_error;
|
|
30421
30442
|
}
|
|
30443
|
+
function deepFreeze$4(input) {
|
|
30444
|
+
ObjectFreeze(input);
|
|
30445
|
+
}
|
|
30446
|
+
|
|
30447
|
+
function validate$b(obj, path = 'SearchAnswersResultRepresentation') {
|
|
30448
|
+
const v_error = (() => {
|
|
30449
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30450
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30451
|
+
}
|
|
30452
|
+
const obj_answerType = obj.answerType;
|
|
30453
|
+
const path_answerType = path + '.answerType';
|
|
30454
|
+
if (typeof obj_answerType !== 'string') {
|
|
30455
|
+
return new TypeError('Expected "string" but received "' + typeof obj_answerType + '" (at "' + path_answerType + '")');
|
|
30456
|
+
}
|
|
30457
|
+
const obj_passage = obj.passage;
|
|
30458
|
+
const path_passage = path + '.passage';
|
|
30459
|
+
if (typeof obj_passage !== 'string') {
|
|
30460
|
+
return new TypeError('Expected "string" but received "' + typeof obj_passage + '" (at "' + path_passage + '")');
|
|
30461
|
+
}
|
|
30462
|
+
const obj_records = obj.records;
|
|
30463
|
+
const path_records = path + '.records';
|
|
30464
|
+
if (!ArrayIsArray(obj_records)) {
|
|
30465
|
+
return new TypeError('Expected "array" but received "' + typeof obj_records + '" (at "' + path_records + '")');
|
|
30466
|
+
}
|
|
30467
|
+
for (let i = 0; i < obj_records.length; i++) {
|
|
30468
|
+
const obj_records_item = obj_records[i];
|
|
30469
|
+
const path_records_item = path_records + '[' + i + ']';
|
|
30470
|
+
const referencepath_records_itemValidationError = validate$c(obj_records_item, path_records_item);
|
|
30471
|
+
if (referencepath_records_itemValidationError !== null) {
|
|
30472
|
+
let message = 'Object doesn\'t match SearchAnswersRecordRepresentation (at "' + path_records_item + '")\n';
|
|
30473
|
+
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30474
|
+
return new TypeError(message);
|
|
30475
|
+
}
|
|
30476
|
+
}
|
|
30477
|
+
})();
|
|
30478
|
+
return v_error === undefined ? null : v_error;
|
|
30479
|
+
}
|
|
30422
30480
|
function deepFreeze$3(input) {
|
|
30481
|
+
const input_records = input.records;
|
|
30482
|
+
for (let i = 0; i < input_records.length; i++) {
|
|
30483
|
+
const input_records_item = input_records[i];
|
|
30484
|
+
deepFreeze$4(input_records_item);
|
|
30485
|
+
}
|
|
30486
|
+
ObjectFreeze(input_records);
|
|
30423
30487
|
ObjectFreeze(input);
|
|
30424
30488
|
}
|
|
30425
30489
|
|
|
30426
30490
|
const TTL$6 = 200;
|
|
30427
|
-
const VERSION$8 = "
|
|
30491
|
+
const VERSION$8 = "da21e889922062e90012ba48c4a733e2";
|
|
30428
30492
|
function validate$a(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
30429
30493
|
const v_error = (() => {
|
|
30430
30494
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -30434,7 +30498,7 @@ function validate$a(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
30434
30498
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
30435
30499
|
let obj_keywordSearchResults_union0 = null;
|
|
30436
30500
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
30437
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
30501
|
+
const referencepath_keywordSearchResultsValidationError = validate$d(obj_keywordSearchResults, path_keywordSearchResults);
|
|
30438
30502
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
30439
30503
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' + path_keywordSearchResults + '")\n';
|
|
30440
30504
|
message += referencepath_keywordSearchResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30465,7 +30529,7 @@ function validate$a(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
30465
30529
|
const obj_qnaResult_union0_error = (() => {
|
|
30466
30530
|
const referencepath_qnaResultValidationError = validate$b(obj_qnaResult, path_qnaResult);
|
|
30467
30531
|
if (referencepath_qnaResultValidationError !== null) {
|
|
30468
|
-
let message = 'Object doesn\'t match
|
|
30532
|
+
let message = 'Object doesn\'t match SearchAnswersResultRepresentation (at "' + path_qnaResult + '")\n';
|
|
30469
30533
|
message += referencepath_qnaResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30470
30534
|
return new TypeError(message);
|
|
30471
30535
|
}
|
|
@@ -30531,7 +30595,7 @@ function equals$8(existing, incoming) {
|
|
|
30531
30595
|
function deepFreeze$2(input) {
|
|
30532
30596
|
const input_keywordSearchResults = input.keywordSearchResults;
|
|
30533
30597
|
if (input_keywordSearchResults !== null && typeof input_keywordSearchResults === 'object') {
|
|
30534
|
-
deepFreeze$
|
|
30598
|
+
deepFreeze$5(input_keywordSearchResults);
|
|
30535
30599
|
}
|
|
30536
30600
|
const input_qnaResult = input.qnaResult;
|
|
30537
30601
|
if (input_qnaResult !== null && typeof input_qnaResult === 'object') {
|
|
@@ -30851,7 +30915,7 @@ function validate$8(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
30851
30915
|
}
|
|
30852
30916
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
30853
30917
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
30854
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
30918
|
+
const referencepath_keywordSearchResultValidationError = validate$e(obj_keywordSearchResult, path_keywordSearchResult);
|
|
30855
30919
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
30856
30920
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' + path_keywordSearchResult + '")\n';
|
|
30857
30921
|
message += referencepath_keywordSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30905,7 +30969,7 @@ function equals$7(existing, incoming) {
|
|
|
30905
30969
|
}
|
|
30906
30970
|
function deepFreeze$1(input) {
|
|
30907
30971
|
const input_keywordSearchResult = input.keywordSearchResult;
|
|
30908
|
-
deepFreeze$
|
|
30972
|
+
deepFreeze$6(input_keywordSearchResult);
|
|
30909
30973
|
ObjectFreeze(input);
|
|
30910
30974
|
}
|
|
30911
30975
|
const ingest$3 = function KeywordSearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
@@ -31293,7 +31357,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
|
|
|
31293
31357
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31294
31358
|
}, () => getResponseCacheKeys$9(luvio, resourceParams, response.body));
|
|
31295
31359
|
}, (response) => {
|
|
31296
|
-
deepFreeze$
|
|
31360
|
+
deepFreeze$Q(response);
|
|
31297
31361
|
throw response;
|
|
31298
31362
|
});
|
|
31299
31363
|
}
|
|
@@ -31445,7 +31509,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
31445
31509
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
31446
31510
|
}, () => getResponseCacheKeys$8(luvio, resourceParams, response.body));
|
|
31447
31511
|
}, (response) => {
|
|
31448
|
-
deepFreeze$
|
|
31512
|
+
deepFreeze$Q(response);
|
|
31449
31513
|
throw response;
|
|
31450
31514
|
});
|
|
31451
31515
|
}
|
|
@@ -32458,7 +32522,7 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
32458
32522
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
32459
32523
|
let obj_recordTypeInfo_union0 = null;
|
|
32460
32524
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
32461
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
32525
|
+
const referencepath_recordTypeInfoValidationError = validate$1v(obj_recordTypeInfo, path_recordTypeInfo);
|
|
32462
32526
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
32463
32527
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
32464
32528
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -34745,7 +34809,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
|
|
|
34745
34809
|
return luvio.storeBroadcast();
|
|
34746
34810
|
}, () => getResponseCacheKeys$2(luvio, resourceParams));
|
|
34747
34811
|
}, (response) => {
|
|
34748
|
-
deepFreeze$
|
|
34812
|
+
deepFreeze$Q(response);
|
|
34749
34813
|
throw response;
|
|
34750
34814
|
});
|
|
34751
34815
|
}
|
|
@@ -35279,7 +35343,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
35279
35343
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
35280
35344
|
}, () => getResponseCacheKeys(luvio, {}, response.body));
|
|
35281
35345
|
}, (response) => {
|
|
35282
|
-
deepFreeze$
|
|
35346
|
+
deepFreeze$Q(response);
|
|
35283
35347
|
throw response;
|
|
35284
35348
|
});
|
|
35285
35349
|
}
|
|
@@ -35351,7 +35415,7 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
35351
35415
|
return luvio.storeBroadcast().then(() => snapshot);
|
|
35352
35416
|
}, () => getResponseCacheKeys(luvio, resourceParams, response.body));
|
|
35353
35417
|
}, (response) => {
|
|
35354
|
-
deepFreeze$
|
|
35418
|
+
deepFreeze$Q(response);
|
|
35355
35419
|
throw response;
|
|
35356
35420
|
});
|
|
35357
35421
|
}
|
|
@@ -36049,5 +36113,5 @@ withDefaultLuvio((luvio) => {
|
|
|
36049
36113
|
});
|
|
36050
36114
|
});
|
|
36051
36115
|
|
|
36052
|
-
export { InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoRepresentationType, RepresentationType$N as RecordRepresentationRepresentationType, TTL$v as RecordRepresentationTTL, RepresentationType$N as RecordRepresentationType, VERSION$14 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createRecord, deleteRecord, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActions_imperative, factory$e as getRecordAdapterFactory, getRecordAvatars, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, 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$N as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$B as ingestObjectInfo, ingest$x as ingestQuickActionExecutionRepresentation, ingest$G as ingestRecord, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$x as keyBuilderFromTypeRecordRepresentation, keyBuilder$1F as keyBuilderObjectInfo, keyBuilder$1z as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1Q as keyBuilderRecord, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateLayoutUserState, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
36053
|
-
// version: 1.
|
|
36116
|
+
export { InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoRepresentationType, RepresentationType$N as RecordRepresentationRepresentationType, TTL$v as RecordRepresentationTTL, RepresentationType$N as RecordRepresentationType, VERSION$14 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createRecord, deleteRecord, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActions_imperative, factory$e as getRecordAdapterFactory, getRecordAvatars, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, 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$N as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$B as ingestObjectInfo, ingest$x as ingestQuickActionExecutionRepresentation, ingest$G as ingestRecord, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$x as keyBuilderFromTypeRecordRepresentation, keyBuilder$1F as keyBuilderObjectInfo, keyBuilder$1z as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1Q as keyBuilderRecord, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, serializeFieldArguments, updateLayoutUserState, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
36117
|
+
// version: 1.131.0-dev9-9940b321d
|