@salesforce/lds-adapters-uiapi 1.157.2 → 1.158.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/types/src/generated/graphql/types/type-util.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SearchAnswersRecordRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SearchAnswersResultRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/SearchResultsSummaryRepresentation.d.ts +4 -4
- package/dist/es/es2018/uiapi-records-service.js +411 -1540
- package/package.json +1 -1
- package/sfdc/graphqlAdapters.js +175 -1333
- package/sfdc/index.js +242 -213
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +34 -3
|
@@ -379,7 +379,7 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
const VERSION$2o = "275ae22194003d1e53f548b81219c5cb";
|
|
382
|
-
function validate$
|
|
382
|
+
function validate$1I(obj, path = 'ListColumnRepresentation') {
|
|
383
383
|
const v_error = (() => {
|
|
384
384
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
385
385
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -455,7 +455,7 @@ const select$2U = function ListColumnRepresentationSelect() {
|
|
|
455
455
|
};
|
|
456
456
|
|
|
457
457
|
const VERSION$2n = "623aa9ce3a11031e35faf5671a41746e";
|
|
458
|
-
function validate$
|
|
458
|
+
function validate$1H(obj, path = 'ListFilterByInfoRepresentation') {
|
|
459
459
|
const v_error = (() => {
|
|
460
460
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
461
461
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -518,7 +518,7 @@ const select$2T = function ListFilterByInfoRepresentationSelect() {
|
|
|
518
518
|
};
|
|
519
519
|
|
|
520
520
|
const VERSION$2m = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
521
|
-
function validate$
|
|
521
|
+
function validate$1G(obj, path = 'ListReferenceRepresentation') {
|
|
522
522
|
const v_error = (() => {
|
|
523
523
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
524
524
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -638,7 +638,7 @@ function equals$$(existing, incoming) {
|
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
const VERSION$2l = "32def9b631252c12b91a8209c1f49f5a";
|
|
641
|
-
function validate$
|
|
641
|
+
function validate$1F(obj, path = 'ListOrderByInfoRepresentation') {
|
|
642
642
|
const v_error = (() => {
|
|
643
643
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
644
644
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -705,7 +705,7 @@ const select$2R = function ListOrderByInfoRepresentationSelect() {
|
|
|
705
705
|
};
|
|
706
706
|
|
|
707
707
|
const VERSION$2k = "2634258f216db34315c06d759a35676d";
|
|
708
|
-
function validate$
|
|
708
|
+
function validate$1E(obj, path = 'ListScopeEntityRepresentation') {
|
|
709
709
|
const v_error = (() => {
|
|
710
710
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
711
711
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -742,7 +742,7 @@ const select$2Q = function ListScopeEntityRepresentationSelect() {
|
|
|
742
742
|
};
|
|
743
743
|
|
|
744
744
|
const VERSION$2j = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
745
|
-
function validate$
|
|
745
|
+
function validate$1D(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
746
746
|
const v_error = (() => {
|
|
747
747
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
748
748
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -788,7 +788,7 @@ const select$2P = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
788
788
|
};
|
|
789
789
|
|
|
790
790
|
const VERSION$2i = "a51de242c746e5500a833e84dfaa2170";
|
|
791
|
-
function validate$
|
|
791
|
+
function validate$1C(obj, path = 'ListScopeRepresentation') {
|
|
792
792
|
const v_error = (() => {
|
|
793
793
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
794
794
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -802,7 +802,7 @@ function validate$1B(obj, path = 'ListScopeRepresentation') {
|
|
|
802
802
|
const path_entity = path + '.entity';
|
|
803
803
|
let obj_entity_union0 = null;
|
|
804
804
|
const obj_entity_union0_error = (() => {
|
|
805
|
-
const referencepath_entityValidationError = validate$
|
|
805
|
+
const referencepath_entityValidationError = validate$1E(obj_entity, path_entity);
|
|
806
806
|
if (referencepath_entityValidationError !== null) {
|
|
807
807
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
808
808
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -836,7 +836,7 @@ function validate$1B(obj, path = 'ListScopeRepresentation') {
|
|
|
836
836
|
const path_relatedEntity = path + '.relatedEntity';
|
|
837
837
|
let obj_relatedEntity_union0 = null;
|
|
838
838
|
const obj_relatedEntity_union0_error = (() => {
|
|
839
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
839
|
+
const referencepath_relatedEntityValidationError = validate$1D(obj_relatedEntity, path_relatedEntity);
|
|
840
840
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
841
841
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
842
842
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -897,7 +897,7 @@ const select$2O = function ListScopeRepresentationSelect() {
|
|
|
897
897
|
};
|
|
898
898
|
|
|
899
899
|
const VERSION$2h = "6506134f4d72fdfa349fe60ef1af2413";
|
|
900
|
-
function validate$
|
|
900
|
+
function validate$1B(obj, path = 'ListUserPreferenceRepresentation') {
|
|
901
901
|
const v_error = (() => {
|
|
902
902
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
903
903
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -955,7 +955,7 @@ const select$2N = function ListUserPreferenceRepresentationSelect() {
|
|
|
955
955
|
|
|
956
956
|
const TTL$C = 900000;
|
|
957
957
|
const VERSION$2g = "8b55d621d80c84ec2e331abc4e12fc56";
|
|
958
|
-
function validate$
|
|
958
|
+
function validate$1A(obj, path = 'ListInfoRepresentation') {
|
|
959
959
|
const v_error = (() => {
|
|
960
960
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
961
961
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -983,7 +983,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
983
983
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
984
984
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
985
985
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
986
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
986
|
+
const referencepath_displayColumns_itemValidationError = validate$1I(obj_displayColumns_item, path_displayColumns_item);
|
|
987
987
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
988
988
|
let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
989
989
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1029,7 +1029,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
1029
1029
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
1030
1030
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
1031
1031
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
1032
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
1032
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1H(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
1033
1033
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
1034
1034
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
1035
1035
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1064,7 +1064,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
const obj_listReference = obj.listReference;
|
|
1066
1066
|
const path_listReference = path + '.listReference';
|
|
1067
|
-
const referencepath_listReferenceValidationError = validate$
|
|
1067
|
+
const referencepath_listReferenceValidationError = validate$1G(obj_listReference, path_listReference);
|
|
1068
1068
|
if (referencepath_listReferenceValidationError !== null) {
|
|
1069
1069
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
1070
1070
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1092,7 +1092,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
1092
1092
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
1093
1093
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
1094
1094
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
1095
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
1095
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1F(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
1096
1096
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
1097
1097
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
1098
1098
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1104,7 +1104,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
1104
1104
|
const path_scope = path + '.scope';
|
|
1105
1105
|
let obj_scope_union0 = null;
|
|
1106
1106
|
const obj_scope_union0_error = (() => {
|
|
1107
|
-
const referencepath_scopeValidationError = validate$
|
|
1107
|
+
const referencepath_scopeValidationError = validate$1C(obj_scope, path_scope);
|
|
1108
1108
|
if (referencepath_scopeValidationError !== null) {
|
|
1109
1109
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
1110
1110
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1137,7 +1137,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
1137
1137
|
}
|
|
1138
1138
|
const obj_userPreferences = obj.userPreferences;
|
|
1139
1139
|
const path_userPreferences = path + '.userPreferences';
|
|
1140
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
1140
|
+
const referencepath_userPreferencesValidationError = validate$1B(obj_userPreferences, path_userPreferences);
|
|
1141
1141
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
1142
1142
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
1143
1143
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1269,7 +1269,7 @@ function equals$_(existing, incoming) {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
const ingest$1R = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1271
1271
|
if (process.env.NODE_ENV !== 'production') {
|
|
1272
|
-
const validateError = validate$
|
|
1272
|
+
const validateError = validate$1A(input);
|
|
1273
1273
|
if (validateError !== null) {
|
|
1274
1274
|
throw validateError;
|
|
1275
1275
|
}
|
|
@@ -1310,7 +1310,7 @@ function getTypeCacheKeys$1V(luvio, input, fullPathFactory) {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
1312
|
const VERSION$2f = "d1e589a127fb1060c89070cdb6f500b2";
|
|
1313
|
-
function validate$
|
|
1313
|
+
function validate$1z(obj, path = 'RecordTypeInfoRepresentation') {
|
|
1314
1314
|
const v_error = (() => {
|
|
1315
1315
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1316
1316
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1402,7 +1402,7 @@ function equals$Z(existing, incoming) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
|
|
1404
1404
|
const VERSION$2e = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
1405
|
-
function validate$
|
|
1405
|
+
function validate$1y(obj, path = 'FieldValueRepresentation') {
|
|
1406
1406
|
const v_error = (() => {
|
|
1407
1407
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1408
1408
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1549,7 +1549,7 @@ function equals$Y(existing, incoming) {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
const ingest$1Q = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1551
1551
|
if (process.env.NODE_ENV !== 'production') {
|
|
1552
|
-
const validateError = validate$
|
|
1552
|
+
const validateError = validate$1y(input);
|
|
1553
1553
|
if (validateError !== null) {
|
|
1554
1554
|
throw validateError;
|
|
1555
1555
|
}
|
|
@@ -1631,7 +1631,7 @@ const getTypeCacheKeys$1T = (luvio, input, _fullPathFactory) => {
|
|
|
1631
1631
|
|
|
1632
1632
|
const TTL$B = 120000;
|
|
1633
1633
|
const VERSION$2d = "79cb5ac9f44542f683d00245fdfe500d";
|
|
1634
|
-
function validate$
|
|
1634
|
+
function validate$1x(obj, path = 'RecordCollectionRepresentation') {
|
|
1635
1635
|
const v_error = (() => {
|
|
1636
1636
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1637
1637
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1904,7 +1904,7 @@ function equals$X(existing, incoming) {
|
|
|
1904
1904
|
}
|
|
1905
1905
|
const ingest$1P = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1906
1906
|
if (process.env.NODE_ENV !== 'production') {
|
|
1907
|
-
const validateError = validate$
|
|
1907
|
+
const validateError = validate$1x(input);
|
|
1908
1908
|
if (validateError !== null) {
|
|
1909
1909
|
throw validateError;
|
|
1910
1910
|
}
|
|
@@ -1960,7 +1960,7 @@ const keyBuilderFromType$y = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
1960
1960
|
|
|
1961
1961
|
const TTL$A = 30000;
|
|
1962
1962
|
const VERSION$2c = "98c5b18512e48ca8d28727549507e4ba";
|
|
1963
|
-
function validate$
|
|
1963
|
+
function validate$1w(obj, path = 'RecordRepresentation') {
|
|
1964
1964
|
const v_error = (() => {
|
|
1965
1965
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1966
1966
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2090,7 +2090,7 @@ function validate$1v(obj, path = 'RecordRepresentation') {
|
|
|
2090
2090
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
2091
2091
|
let obj_recordTypeInfo_union0 = null;
|
|
2092
2092
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
2093
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
2093
|
+
const referencepath_recordTypeInfoValidationError = validate$1z(obj_recordTypeInfo, path_recordTypeInfo);
|
|
2094
2094
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
2095
2095
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
2096
2096
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4876,7 +4876,7 @@ function normalize$K(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
4876
4876
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
4877
4877
|
return (input, path, luvio, store, timestamp) => {
|
|
4878
4878
|
if (process.env.NODE_ENV !== 'production') {
|
|
4879
|
-
const validateError = validate$
|
|
4879
|
+
const validateError = validate$1y(input);
|
|
4880
4880
|
if (validateError !== null) {
|
|
4881
4881
|
throw validateError;
|
|
4882
4882
|
}
|
|
@@ -4969,7 +4969,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
4969
4969
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
4970
4970
|
return (input, path, luvio, store, timestamp) => {
|
|
4971
4971
|
if (process.env.NODE_ENV !== 'production') {
|
|
4972
|
-
const validateError = validate$
|
|
4972
|
+
const validateError = validate$1w(input);
|
|
4973
4973
|
if (validateError !== null) {
|
|
4974
4974
|
throw validateError;
|
|
4975
4975
|
}
|
|
@@ -6090,7 +6090,7 @@ function revertPaginationOptimization(variables) {
|
|
|
6090
6090
|
|
|
6091
6091
|
const TTL$z = 30000;
|
|
6092
6092
|
const VERSION$2a = "614ef19823027c07fa6deb9a149619d2";
|
|
6093
|
-
function validate$
|
|
6093
|
+
function validate$1v(obj, path = 'ListRecordCollectionRepresentation') {
|
|
6094
6094
|
const v_error = (() => {
|
|
6095
6095
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6096
6096
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6150,7 +6150,7 @@ function validate$1u(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
6150
6150
|
}
|
|
6151
6151
|
const obj_listReference = obj.listReference;
|
|
6152
6152
|
const path_listReference = path + '.listReference';
|
|
6153
|
-
const referencepath_listReferenceValidationError = validate$
|
|
6153
|
+
const referencepath_listReferenceValidationError = validate$1G(obj_listReference, path_listReference);
|
|
6154
6154
|
if (referencepath_listReferenceValidationError !== null) {
|
|
6155
6155
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
6156
6156
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6651,7 +6651,7 @@ function equals$V(existing, incoming) {
|
|
|
6651
6651
|
}
|
|
6652
6652
|
const ingest$1N = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6653
6653
|
if (process.env.NODE_ENV !== 'production') {
|
|
6654
|
-
const validateError = validate$
|
|
6654
|
+
const validateError = validate$1v(input);
|
|
6655
6655
|
if (validateError !== null) {
|
|
6656
6656
|
throw validateError;
|
|
6657
6657
|
}
|
|
@@ -6746,7 +6746,7 @@ function getTypeCacheKeys$1Q(luvio, input, fullPathFactory) {
|
|
|
6746
6746
|
}
|
|
6747
6747
|
|
|
6748
6748
|
const VERSION$29 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
6749
|
-
function validate$
|
|
6749
|
+
function validate$1u(obj, path = 'ListUiRepresentation') {
|
|
6750
6750
|
const v_error = (() => {
|
|
6751
6751
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6752
6752
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6873,7 +6873,7 @@ function equals$U(existing, incoming) {
|
|
|
6873
6873
|
}
|
|
6874
6874
|
const ingest$1M = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
6875
6875
|
if (process.env.NODE_ENV !== 'production') {
|
|
6876
|
-
const validateError = validate$
|
|
6876
|
+
const validateError = validate$1u(input);
|
|
6877
6877
|
if (validateError !== null) {
|
|
6878
6878
|
throw validateError;
|
|
6879
6879
|
}
|
|
@@ -7841,7 +7841,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
7841
7841
|
}
|
|
7842
7842
|
|
|
7843
7843
|
const VERSION$28 = "c6347b2701bb8ffb0b6ca6c027011c57";
|
|
7844
|
-
function validate$
|
|
7844
|
+
function validate$1t(obj, path = 'ListViewSummaryRepresentation') {
|
|
7845
7845
|
const v_error = (() => {
|
|
7846
7846
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7847
7847
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7932,7 +7932,7 @@ function equals$T(existing, incoming) {
|
|
|
7932
7932
|
}
|
|
7933
7933
|
const ingest$1L = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
7934
7934
|
if (process.env.NODE_ENV !== 'production') {
|
|
7935
|
-
const validateError = validate$
|
|
7935
|
+
const validateError = validate$1t(input);
|
|
7936
7936
|
if (validateError !== null) {
|
|
7937
7937
|
throw validateError;
|
|
7938
7938
|
}
|
|
@@ -7973,7 +7973,7 @@ function getTypeCacheKeys$1O(luvio, input, fullPathFactory) {
|
|
|
7973
7973
|
}
|
|
7974
7974
|
|
|
7975
7975
|
const VERSION$27 = "f4c79fe066da3558499d5ee88c72abcd";
|
|
7976
|
-
function validate$
|
|
7976
|
+
function validate$1s(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
7977
7977
|
const v_error = (() => {
|
|
7978
7978
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7979
7979
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8357,7 +8357,7 @@ function equals$S(existing, incoming) {
|
|
|
8357
8357
|
}
|
|
8358
8358
|
const ingest$1K = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8359
8359
|
if (process.env.NODE_ENV !== 'production') {
|
|
8360
|
-
const validateError = validate$
|
|
8360
|
+
const validateError = validate$1s(input);
|
|
8361
8361
|
if (validateError !== null) {
|
|
8362
8362
|
throw validateError;
|
|
8363
8363
|
}
|
|
@@ -9614,7 +9614,7 @@ const factory$i = (luvio) => {
|
|
|
9614
9614
|
}, { contextId: contextId$4 });
|
|
9615
9615
|
};
|
|
9616
9616
|
|
|
9617
|
-
function validate$
|
|
9617
|
+
function validate$1r(obj, path = 'ChildRelationshipRepresentation') {
|
|
9618
9618
|
const v_error = (() => {
|
|
9619
9619
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9620
9620
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9662,7 +9662,7 @@ function validate$1q(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
9662
9662
|
return v_error === undefined ? null : v_error;
|
|
9663
9663
|
}
|
|
9664
9664
|
|
|
9665
|
-
function validate$
|
|
9665
|
+
function validate$1q(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
9666
9666
|
const v_error = (() => {
|
|
9667
9667
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9668
9668
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9693,7 +9693,7 @@ function validate$1p(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
9693
9693
|
return v_error === undefined ? null : v_error;
|
|
9694
9694
|
}
|
|
9695
9695
|
|
|
9696
|
-
function validate$
|
|
9696
|
+
function validate$1p(obj, path = 'ReferenceToInfoRepresentation') {
|
|
9697
9697
|
const v_error = (() => {
|
|
9698
9698
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9699
9699
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9719,7 +9719,7 @@ function validate$1o(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
9719
9719
|
return v_error === undefined ? null : v_error;
|
|
9720
9720
|
}
|
|
9721
9721
|
|
|
9722
|
-
function validate$
|
|
9722
|
+
function validate$1o(obj, path = 'FieldRepresentation') {
|
|
9723
9723
|
const v_error = (() => {
|
|
9724
9724
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9725
9725
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9879,7 +9879,7 @@ function validate$1n(obj, path = 'FieldRepresentation') {
|
|
|
9879
9879
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
9880
9880
|
let obj_filteredLookupInfo_union0 = null;
|
|
9881
9881
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
9882
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
9882
|
+
const referencepath_filteredLookupInfoValidationError = validate$1q(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
9883
9883
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
9884
9884
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
9885
9885
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10004,7 +10004,7 @@ function validate$1n(obj, path = 'FieldRepresentation') {
|
|
|
10004
10004
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
10005
10005
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
10006
10006
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
10007
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
10007
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1p(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
10008
10008
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
10009
10009
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
10010
10010
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10071,7 +10071,7 @@ function validate$1n(obj, path = 'FieldRepresentation') {
|
|
|
10071
10071
|
return v_error === undefined ? null : v_error;
|
|
10072
10072
|
}
|
|
10073
10073
|
|
|
10074
|
-
function validate$
|
|
10074
|
+
function validate$1n(obj, path = 'ThemeInfoRepresentation') {
|
|
10075
10075
|
const v_error = (() => {
|
|
10076
10076
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10077
10077
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10113,7 +10113,7 @@ function validate$1m(obj, path = 'ThemeInfoRepresentation') {
|
|
|
10113
10113
|
|
|
10114
10114
|
const TTL$y = 900000;
|
|
10115
10115
|
const VERSION$26 = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
10116
|
-
function validate$
|
|
10116
|
+
function validate$1m(obj, path = 'ObjectInfoRepresentation') {
|
|
10117
10117
|
const v_error = (() => {
|
|
10118
10118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10119
10119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10183,7 +10183,7 @@ function validate$1l(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10183
10183
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
10184
10184
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
10185
10185
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
10186
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
10186
|
+
const referencepath_childRelationships_itemValidationError = validate$1r(obj_childRelationships_item, path_childRelationships_item);
|
|
10187
10187
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
10188
10188
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
10189
10189
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10265,7 +10265,7 @@ function validate$1l(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10265
10265
|
const key = obj_fields_keys[i];
|
|
10266
10266
|
const obj_fields_prop = obj_fields[key];
|
|
10267
10267
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
10268
|
-
const referencepath_fields_propValidationError = validate$
|
|
10268
|
+
const referencepath_fields_propValidationError = validate$1o(obj_fields_prop, path_fields_prop);
|
|
10269
10269
|
if (referencepath_fields_propValidationError !== null) {
|
|
10270
10270
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
10271
10271
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10345,7 +10345,7 @@ function validate$1l(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10345
10345
|
const key = obj_recordTypeInfos_keys[i];
|
|
10346
10346
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
10347
10347
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
10348
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
10348
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1z(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
10349
10349
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
10350
10350
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
10351
10351
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10361,7 +10361,7 @@ function validate$1l(obj, path = 'ObjectInfoRepresentation') {
|
|
|
10361
10361
|
const path_themeInfo = path + '.themeInfo';
|
|
10362
10362
|
let obj_themeInfo_union0 = null;
|
|
10363
10363
|
const obj_themeInfo_union0_error = (() => {
|
|
10364
|
-
const referencepath_themeInfoValidationError = validate$
|
|
10364
|
+
const referencepath_themeInfoValidationError = validate$1n(obj_themeInfo, path_themeInfo);
|
|
10365
10365
|
if (referencepath_themeInfoValidationError !== null) {
|
|
10366
10366
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
10367
10367
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10520,7 +10520,7 @@ function equals$R(existing, incoming) {
|
|
|
10520
10520
|
}
|
|
10521
10521
|
const ingest$1J = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10522
10522
|
if (process.env.NODE_ENV !== 'production') {
|
|
10523
|
-
const validateError = validate$
|
|
10523
|
+
const validateError = validate$1m(input);
|
|
10524
10524
|
if (validateError !== null) {
|
|
10525
10525
|
throw validateError;
|
|
10526
10526
|
}
|
|
@@ -10731,7 +10731,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
10731
10731
|
buildCachedSnapshotCachePolicy$K, buildNetworkSnapshotCachePolicy$L);
|
|
10732
10732
|
};
|
|
10733
10733
|
|
|
10734
|
-
function validate$
|
|
10734
|
+
function validate$1l(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
10735
10735
|
const v_error = (() => {
|
|
10736
10736
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10737
10737
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10779,7 +10779,7 @@ var DiscriminatorValues$4;
|
|
|
10779
10779
|
DiscriminatorValues["Field"] = "Field";
|
|
10780
10780
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
10781
10781
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
10782
|
-
function validate$
|
|
10782
|
+
function validate$1k(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
10783
10783
|
const v_error = (() => {
|
|
10784
10784
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10785
10785
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10819,7 +10819,7 @@ function validate$1j(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
10819
10819
|
return v_error === undefined ? null : v_error;
|
|
10820
10820
|
}
|
|
10821
10821
|
|
|
10822
|
-
function validate$
|
|
10822
|
+
function validate$1j(obj, path = 'RecordLayoutItemRepresentation') {
|
|
10823
10823
|
const v_error = (() => {
|
|
10824
10824
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10825
10825
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10847,7 +10847,7 @@ function validate$1i(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10847
10847
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
10848
10848
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
10849
10849
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
10850
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
10850
|
+
const referencepath_layoutComponents_itemValidationError = validate$1k(obj_layoutComponents_item, path_layoutComponents_item);
|
|
10851
10851
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
10852
10852
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
10853
10853
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10894,7 +10894,7 @@ function validate$1i(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
10894
10894
|
return v_error === undefined ? null : v_error;
|
|
10895
10895
|
}
|
|
10896
10896
|
|
|
10897
|
-
function validate$
|
|
10897
|
+
function validate$1i(obj, path = 'RecordLayoutRowRepresentation') {
|
|
10898
10898
|
const v_error = (() => {
|
|
10899
10899
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10900
10900
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10907,7 +10907,7 @@ function validate$1h(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10907
10907
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
10908
10908
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
10909
10909
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
10910
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
10910
|
+
const referencepath_layoutItems_itemValidationError = validate$1j(obj_layoutItems_item, path_layoutItems_item);
|
|
10911
10911
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
10912
10912
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
10913
10913
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10918,7 +10918,7 @@ function validate$1h(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
10918
10918
|
return v_error === undefined ? null : v_error;
|
|
10919
10919
|
}
|
|
10920
10920
|
|
|
10921
|
-
function validate$
|
|
10921
|
+
function validate$1h(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
10922
10922
|
const v_error = (() => {
|
|
10923
10923
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
10924
10924
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10993,7 +10993,7 @@ function validate$1g(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
10993
10993
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
10994
10994
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
10995
10995
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
10996
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
10996
|
+
const referencepath_layoutRows_itemValidationError = validate$1i(obj_layoutRows_item, path_layoutRows_item);
|
|
10997
10997
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
10998
10998
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
10999
10999
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11016,7 +11016,7 @@ function validate$1g(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
11016
11016
|
|
|
11017
11017
|
const TTL$x = 900000;
|
|
11018
11018
|
const VERSION$25 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
11019
|
-
function validate$
|
|
11019
|
+
function validate$1g(obj, path = 'RecordLayoutRepresentation') {
|
|
11020
11020
|
const v_error = (() => {
|
|
11021
11021
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11022
11022
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11122,7 +11122,7 @@ function validate$1f(obj, path = 'RecordLayoutRepresentation') {
|
|
|
11122
11122
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
11123
11123
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
11124
11124
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
11125
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
11125
|
+
const referencepath_saveOptions_itemValidationError = validate$1l(obj_saveOptions_item, path_saveOptions_item);
|
|
11126
11126
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
11127
11127
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
11128
11128
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11137,7 +11137,7 @@ function validate$1f(obj, path = 'RecordLayoutRepresentation') {
|
|
|
11137
11137
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
11138
11138
|
const obj_sections_item = obj_sections[i];
|
|
11139
11139
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
11140
|
-
const referencepath_sections_itemValidationError = validate$
|
|
11140
|
+
const referencepath_sections_itemValidationError = validate$1h(obj_sections_item, path_sections_item);
|
|
11141
11141
|
if (referencepath_sections_itemValidationError !== null) {
|
|
11142
11142
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
11143
11143
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11212,7 +11212,7 @@ function equals$Q(existing, incoming) {
|
|
|
11212
11212
|
}
|
|
11213
11213
|
const ingest$1I = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11214
11214
|
if (process.env.NODE_ENV !== 'production') {
|
|
11215
|
-
const validateError = validate$
|
|
11215
|
+
const validateError = validate$1g(input);
|
|
11216
11216
|
if (validateError !== null) {
|
|
11217
11217
|
throw validateError;
|
|
11218
11218
|
}
|
|
@@ -11252,7 +11252,7 @@ function getTypeCacheKeys$1L(luvio, input, fullPathFactory) {
|
|
|
11252
11252
|
return rootKeySet;
|
|
11253
11253
|
}
|
|
11254
11254
|
|
|
11255
|
-
function validate$
|
|
11255
|
+
function validate$1f(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
11256
11256
|
const v_error = (() => {
|
|
11257
11257
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11258
11258
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11273,7 +11273,7 @@ function validate$1e(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
11273
11273
|
|
|
11274
11274
|
const TTL$w = 900000;
|
|
11275
11275
|
const VERSION$24 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
11276
|
-
function validate$
|
|
11276
|
+
function validate$1e(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
11277
11277
|
const v_error = (() => {
|
|
11278
11278
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11279
11279
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11313,7 +11313,7 @@ function validate$1d(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
11313
11313
|
const key = obj_sectionUserStates_keys[i];
|
|
11314
11314
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
11315
11315
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
11316
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
11316
|
+
const referencepath_sectionUserStates_propValidationError = validate$1f(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
11317
11317
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
11318
11318
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
11319
11319
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11370,7 +11370,7 @@ function equals$P(existing, incoming) {
|
|
|
11370
11370
|
}
|
|
11371
11371
|
const ingest$1H = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11372
11372
|
if (process.env.NODE_ENV !== 'production') {
|
|
11373
|
-
const validateError = validate$
|
|
11373
|
+
const validateError = validate$1e(input);
|
|
11374
11374
|
if (validateError !== null) {
|
|
11375
11375
|
throw validateError;
|
|
11376
11376
|
}
|
|
@@ -11412,7 +11412,7 @@ function getTypeCacheKeys$1K(luvio, input, fullPathFactory) {
|
|
|
11412
11412
|
|
|
11413
11413
|
const TTL$v = 900000;
|
|
11414
11414
|
const VERSION$23 = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
11415
|
-
function validate$
|
|
11415
|
+
function validate$1d(obj, path = 'RecordUiRepresentation') {
|
|
11416
11416
|
const v_error = (() => {
|
|
11417
11417
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11418
11418
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11674,7 +11674,7 @@ function equals$O(existing, incoming) {
|
|
|
11674
11674
|
}
|
|
11675
11675
|
const ingest$1G = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
11676
11676
|
if (process.env.NODE_ENV !== 'production') {
|
|
11677
|
-
const validateError = validate$
|
|
11677
|
+
const validateError = validate$1d(input);
|
|
11678
11678
|
if (validateError !== null) {
|
|
11679
11679
|
throw validateError;
|
|
11680
11680
|
}
|
|
@@ -12850,7 +12850,7 @@ const factory$g = (luvio) => function getRecord(untrustedConfig, requestContext)
|
|
|
12850
12850
|
};
|
|
12851
12851
|
|
|
12852
12852
|
const VERSION$22 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
12853
|
-
function validate$
|
|
12853
|
+
function validate$1c(obj, path = 'QuickActionExecutionRepresentation') {
|
|
12854
12854
|
const v_error = (() => {
|
|
12855
12855
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12856
12856
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13023,7 +13023,7 @@ function equals$N(existing, incoming) {
|
|
|
13023
13023
|
}
|
|
13024
13024
|
const ingest$1F = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13025
13025
|
if (process.env.NODE_ENV !== 'production') {
|
|
13026
|
-
const validateError = validate$
|
|
13026
|
+
const validateError = validate$1c(input);
|
|
13027
13027
|
if (validateError !== null) {
|
|
13028
13028
|
throw validateError;
|
|
13029
13029
|
}
|
|
@@ -13064,7 +13064,7 @@ function getTypeCacheKeys$1J(luvio, input, fullPathFactory) {
|
|
|
13064
13064
|
}
|
|
13065
13065
|
|
|
13066
13066
|
const VERSION$21 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
13067
|
-
function validate$
|
|
13067
|
+
function validate$1b(obj, path = 'PlatformActionRepresentation') {
|
|
13068
13068
|
const v_error = (() => {
|
|
13069
13069
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13070
13070
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13596,7 +13596,7 @@ function equals$M(existing, incoming) {
|
|
|
13596
13596
|
}
|
|
13597
13597
|
const ingest$1E = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13598
13598
|
if (process.env.NODE_ENV !== 'production') {
|
|
13599
|
-
const validateError = validate$
|
|
13599
|
+
const validateError = validate$1b(input);
|
|
13600
13600
|
if (validateError !== null) {
|
|
13601
13601
|
throw validateError;
|
|
13602
13602
|
}
|
|
@@ -13637,7 +13637,7 @@ function getTypeCacheKeys$1I(luvio, input, fullPathFactory) {
|
|
|
13637
13637
|
}
|
|
13638
13638
|
|
|
13639
13639
|
const VERSION$20 = "378d506f563a4bd724b322d440df33d1";
|
|
13640
|
-
function validate$
|
|
13640
|
+
function validate$1a(obj, path = 'EntityActionRepresentation') {
|
|
13641
13641
|
const v_error = (() => {
|
|
13642
13642
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13643
13643
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13751,7 +13751,7 @@ function equals$L(existing, incoming) {
|
|
|
13751
13751
|
}
|
|
13752
13752
|
const ingest$1D = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13753
13753
|
if (process.env.NODE_ENV !== 'production') {
|
|
13754
|
-
const validateError = validate$
|
|
13754
|
+
const validateError = validate$1a(input);
|
|
13755
13755
|
if (validateError !== null) {
|
|
13756
13756
|
throw validateError;
|
|
13757
13757
|
}
|
|
@@ -13797,7 +13797,7 @@ function getTypeCacheKeys$1H(luvio, input, fullPathFactory) {
|
|
|
13797
13797
|
|
|
13798
13798
|
const TTL$u = 300000;
|
|
13799
13799
|
const VERSION$1$ = "e485d96c1402a9ca2f56e56485af0216";
|
|
13800
|
-
function validate$
|
|
13800
|
+
function validate$19(obj, path = 'ActionRepresentation') {
|
|
13801
13801
|
const v_error = (() => {
|
|
13802
13802
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13803
13803
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13895,7 +13895,7 @@ function equals$K(existing, incoming) {
|
|
|
13895
13895
|
}
|
|
13896
13896
|
const ingest$1C = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13897
13897
|
if (process.env.NODE_ENV !== 'production') {
|
|
13898
|
-
const validateError = validate$
|
|
13898
|
+
const validateError = validate$19(input);
|
|
13899
13899
|
if (validateError !== null) {
|
|
13900
13900
|
throw validateError;
|
|
13901
13901
|
}
|
|
@@ -14189,7 +14189,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
14189
14189
|
|
|
14190
14190
|
const TTL$t = 900000;
|
|
14191
14191
|
const VERSION$1_ = "3c5af9dc4086169091e3c5df2414c495";
|
|
14192
|
-
function validate$
|
|
14192
|
+
function validate$18(obj, path = 'QuickActionLayoutRepresentation') {
|
|
14193
14193
|
const v_error = (() => {
|
|
14194
14194
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14195
14195
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14206,7 +14206,7 @@ function validate$17(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
14206
14206
|
}
|
|
14207
14207
|
const obj_layout = obj.layout;
|
|
14208
14208
|
const path_layout = path + '.layout';
|
|
14209
|
-
const referencepath_layoutValidationError = validate$
|
|
14209
|
+
const referencepath_layoutValidationError = validate$1g(obj_layout, path_layout);
|
|
14210
14210
|
if (referencepath_layoutValidationError !== null) {
|
|
14211
14211
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
14212
14212
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14256,7 +14256,7 @@ function equals$J(existing, incoming) {
|
|
|
14256
14256
|
}
|
|
14257
14257
|
const ingest$1B = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14258
14258
|
if (process.env.NODE_ENV !== 'production') {
|
|
14259
|
-
const validateError = validate$
|
|
14259
|
+
const validateError = validate$18(input);
|
|
14260
14260
|
if (validateError !== null) {
|
|
14261
14261
|
throw validateError;
|
|
14262
14262
|
}
|
|
@@ -14918,7 +14918,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
14918
14918
|
};
|
|
14919
14919
|
|
|
14920
14920
|
const VERSION$1Z = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
14921
|
-
function validate$
|
|
14921
|
+
function validate$17(obj, path = 'ActionOverrideRepresentation') {
|
|
14922
14922
|
const v_error = (() => {
|
|
14923
14923
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14924
14924
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14951,7 +14951,7 @@ function equals$I(existing, incoming) {
|
|
|
14951
14951
|
}
|
|
14952
14952
|
const ingest$1A = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14953
14953
|
if (process.env.NODE_ENV !== 'production') {
|
|
14954
|
-
const validateError = validate$
|
|
14954
|
+
const validateError = validate$17(input);
|
|
14955
14955
|
if (validateError !== null) {
|
|
14956
14956
|
throw validateError;
|
|
14957
14957
|
}
|
|
@@ -15167,7 +15167,7 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
|
|
|
15167
15167
|
|
|
15168
15168
|
const TTL$s = 900000;
|
|
15169
15169
|
const VERSION$1Y = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
15170
|
-
function validate$
|
|
15170
|
+
function validate$16(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
15171
15171
|
const v_error = (() => {
|
|
15172
15172
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15173
15173
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15334,7 +15334,7 @@ function merge$1(existing, incoming) {
|
|
|
15334
15334
|
const dynamicIngest$4 = (ingestParams) => {
|
|
15335
15335
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15336
15336
|
if (process.env.NODE_ENV !== 'production') {
|
|
15337
|
-
const validateError = validate$
|
|
15337
|
+
const validateError = validate$16(input);
|
|
15338
15338
|
if (validateError !== null) {
|
|
15339
15339
|
throw validateError;
|
|
15340
15340
|
}
|
|
@@ -16068,7 +16068,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
16068
16068
|
buildCachedSnapshotCachePolicy$C, buildNetworkSnapshotCachePolicy$D);
|
|
16069
16069
|
};
|
|
16070
16070
|
|
|
16071
|
-
function validate$
|
|
16071
|
+
function validate$15(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
16072
16072
|
const v_error = (() => {
|
|
16073
16073
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16074
16074
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16476,7 +16476,7 @@ function typeCheckConfig$N(untrustedConfig) {
|
|
|
16476
16476
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
16477
16477
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
16478
16478
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
16479
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
16479
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$15(untrustedConfig_relatedListsActionParameters_item);
|
|
16480
16480
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
16481
16481
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
16482
16482
|
}
|
|
@@ -17006,7 +17006,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
17006
17006
|
};
|
|
17007
17007
|
|
|
17008
17008
|
const VERSION$1X = "a316b3bba367f54adc67d7552ed7d36d";
|
|
17009
|
-
function validate$
|
|
17009
|
+
function validate$14(obj, path = 'PageReferenceRepresentation') {
|
|
17010
17010
|
const v_error = (() => {
|
|
17011
17011
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17012
17012
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17067,7 +17067,7 @@ function equals$G(existing, incoming) {
|
|
|
17067
17067
|
}
|
|
17068
17068
|
const ingest$1z = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17069
17069
|
if (process.env.NODE_ENV !== 'production') {
|
|
17070
|
-
const validateError = validate$
|
|
17070
|
+
const validateError = validate$14(input);
|
|
17071
17071
|
if (validateError !== null) {
|
|
17072
17072
|
throw validateError;
|
|
17073
17073
|
}
|
|
@@ -17109,7 +17109,7 @@ function getTypeCacheKeys$1C(luvio, input, fullPathFactory) {
|
|
|
17109
17109
|
|
|
17110
17110
|
const TTL$r = 120000;
|
|
17111
17111
|
const VERSION$1W = "09884ca5bf90ea4662092a4e48817081";
|
|
17112
|
-
function validate$
|
|
17112
|
+
function validate$13(obj, path = 'NavItemRepresentation') {
|
|
17113
17113
|
const v_error = (() => {
|
|
17114
17114
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17115
17115
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17501,7 +17501,7 @@ function equals$F(existing, incoming) {
|
|
|
17501
17501
|
}
|
|
17502
17502
|
const ingest$1y = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17503
17503
|
if (process.env.NODE_ENV !== 'production') {
|
|
17504
|
-
const validateError = validate$
|
|
17504
|
+
const validateError = validate$13(input);
|
|
17505
17505
|
if (validateError !== null) {
|
|
17506
17506
|
throw validateError;
|
|
17507
17507
|
}
|
|
@@ -17547,7 +17547,7 @@ function getTypeCacheKeys$1B(luvio, input, fullPathFactory) {
|
|
|
17547
17547
|
|
|
17548
17548
|
const TTL$q = 300000;
|
|
17549
17549
|
const VERSION$1V = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
17550
|
-
function validate$
|
|
17550
|
+
function validate$12(obj, path = 'AppRepresentation') {
|
|
17551
17551
|
const v_error = (() => {
|
|
17552
17552
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17553
17553
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17989,7 +17989,7 @@ function equals$E(existing, incoming) {
|
|
|
17989
17989
|
}
|
|
17990
17990
|
const ingest$1x = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17991
17991
|
if (process.env.NODE_ENV !== 'production') {
|
|
17992
|
-
const validateError = validate$
|
|
17992
|
+
const validateError = validate$12(input);
|
|
17993
17993
|
if (validateError !== null) {
|
|
17994
17994
|
throw validateError;
|
|
17995
17995
|
}
|
|
@@ -18039,7 +18039,7 @@ function getTypeCacheKeys$1A(luvio, input, fullPathFactory) {
|
|
|
18039
18039
|
|
|
18040
18040
|
const TTL$p = 300000;
|
|
18041
18041
|
const VERSION$1U = "a254babf0b6414315db7808a157fd9fc";
|
|
18042
|
-
function validate$
|
|
18042
|
+
function validate$11(obj, path = 'AppsRepresentation') {
|
|
18043
18043
|
const v_error = (() => {
|
|
18044
18044
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18045
18045
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18121,7 +18121,7 @@ function equals$D(existing, incoming) {
|
|
|
18121
18121
|
}
|
|
18122
18122
|
const ingest$1w = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18123
18123
|
if (process.env.NODE_ENV !== 'production') {
|
|
18124
|
-
const validateError = validate$
|
|
18124
|
+
const validateError = validate$11(input);
|
|
18125
18125
|
if (validateError !== null) {
|
|
18126
18126
|
throw validateError;
|
|
18127
18127
|
}
|
|
@@ -18697,7 +18697,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
18697
18697
|
};
|
|
18698
18698
|
|
|
18699
18699
|
const VERSION$1T = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
18700
|
-
function validate
|
|
18700
|
+
function validate$10(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
18701
18701
|
const v_error = (() => {
|
|
18702
18702
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18703
18703
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18759,7 +18759,7 @@ const select$28 = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
18759
18759
|
};
|
|
18760
18760
|
|
|
18761
18761
|
const VERSION$1S = "320d7f254687278f2763d4b490dab3fb";
|
|
18762
|
-
function validate
|
|
18762
|
+
function validate$$(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
18763
18763
|
const v_error = (() => {
|
|
18764
18764
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18765
18765
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18782,7 +18782,7 @@ function validate$_(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
18782
18782
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
18783
18783
|
const obj_filterItems_item = obj_filterItems[i];
|
|
18784
18784
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
18785
|
-
const referencepath_filterItems_itemValidationError = validate
|
|
18785
|
+
const referencepath_filterItems_itemValidationError = validate$10(obj_filterItems_item, path_filterItems_item);
|
|
18786
18786
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
18787
18787
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
18788
18788
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18825,7 +18825,7 @@ const select$27 = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
18825
18825
|
};
|
|
18826
18826
|
|
|
18827
18827
|
const VERSION$1R = "b47b44e260e5ce777beaf3da9088997c";
|
|
18828
|
-
function validate$
|
|
18828
|
+
function validate$_(obj, path = 'MatchRuleRepresentation') {
|
|
18829
18829
|
const v_error = (() => {
|
|
18830
18830
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18831
18831
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18895,7 +18895,7 @@ const select$26 = function MatchRuleRepresentationSelect() {
|
|
|
18895
18895
|
};
|
|
18896
18896
|
|
|
18897
18897
|
const VERSION$1Q = "bb83d7210bb1d7861b6188bc5f552617";
|
|
18898
|
-
function validate$
|
|
18898
|
+
function validate$Z(obj, path = 'DuplicateRuleRepresentation') {
|
|
18899
18899
|
const v_error = (() => {
|
|
18900
18900
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18901
18901
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18923,7 +18923,7 @@ function validate$Y(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
18923
18923
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
18924
18924
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
18925
18925
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
18926
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate
|
|
18926
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$$(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
18927
18927
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
18928
18928
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
18929
18929
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18943,7 +18943,7 @@ function validate$Y(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
18943
18943
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
18944
18944
|
const obj_matchRules_item = obj_matchRules[i];
|
|
18945
18945
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
18946
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
18946
|
+
const referencepath_matchRules_itemValidationError = validate$_(obj_matchRules_item, path_matchRules_item);
|
|
18947
18947
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
18948
18948
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
18949
18949
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19036,7 +19036,7 @@ const select$25 = function DuplicateRuleRepresentationSelect() {
|
|
|
19036
19036
|
|
|
19037
19037
|
const TTL$o = 900000;
|
|
19038
19038
|
const VERSION$1P = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
19039
|
-
function validate$
|
|
19039
|
+
function validate$Y(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
19040
19040
|
const v_error = (() => {
|
|
19041
19041
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19042
19042
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19071,7 +19071,7 @@ function validate$X(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
19071
19071
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
19072
19072
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
19073
19073
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
19074
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
19074
|
+
const referencepath_duplicateRules_itemValidationError = validate$Z(obj_duplicateRules_item, path_duplicateRules_item);
|
|
19075
19075
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
19076
19076
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
19077
19077
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19138,7 +19138,7 @@ function equals$C(existing, incoming) {
|
|
|
19138
19138
|
}
|
|
19139
19139
|
const ingest$1v = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19140
19140
|
if (process.env.NODE_ENV !== 'production') {
|
|
19141
|
-
const validateError = validate$
|
|
19141
|
+
const validateError = validate$Y(input);
|
|
19142
19142
|
if (validateError !== null) {
|
|
19143
19143
|
throw validateError;
|
|
19144
19144
|
}
|
|
@@ -20418,7 +20418,7 @@ const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoBy
|
|
|
20418
20418
|
|
|
20419
20419
|
const TTL$n = 120000;
|
|
20420
20420
|
const VERSION$1N = "756779d0d7e137dd72c743544afbad82";
|
|
20421
|
-
function validate$
|
|
20421
|
+
function validate$X(obj, path = 'NavItemsRepresentation') {
|
|
20422
20422
|
const v_error = (() => {
|
|
20423
20423
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20424
20424
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20546,7 +20546,7 @@ function equals$B(existing, incoming) {
|
|
|
20546
20546
|
}
|
|
20547
20547
|
const ingest$1u = function NavItemsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20548
20548
|
if (process.env.NODE_ENV !== 'production') {
|
|
20549
|
-
const validateError = validate$
|
|
20549
|
+
const validateError = validate$X(input);
|
|
20550
20550
|
if (validateError !== null) {
|
|
20551
20551
|
throw validateError;
|
|
20552
20552
|
}
|
|
@@ -21249,7 +21249,7 @@ var DiscriminatorValues$3;
|
|
|
21249
21249
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
21250
21250
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
21251
21251
|
const VERSION$1J = "bd523b2343366edfc25a2dbee2c4e986";
|
|
21252
|
-
function validate$
|
|
21252
|
+
function validate$W(obj, path = 'AbstractPicklistValueAttributesRepresentation') {
|
|
21253
21253
|
const v_error = (() => {
|
|
21254
21254
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21255
21255
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21292,7 +21292,7 @@ const select$1W = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
21292
21292
|
};
|
|
21293
21293
|
|
|
21294
21294
|
const VERSION$1I = "9e2a16a80378487f557124c771201cf9";
|
|
21295
|
-
function validate$
|
|
21295
|
+
function validate$V(obj, path = 'PicklistValueRepresentation') {
|
|
21296
21296
|
const v_error = (() => {
|
|
21297
21297
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21298
21298
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21301,7 +21301,7 @@ function validate$U(obj, path = 'PicklistValueRepresentation') {
|
|
|
21301
21301
|
const path_attributes = path + '.attributes';
|
|
21302
21302
|
let obj_attributes_union0 = null;
|
|
21303
21303
|
const obj_attributes_union0_error = (() => {
|
|
21304
|
-
const referencepath_attributesValidationError = validate$
|
|
21304
|
+
const referencepath_attributesValidationError = validate$W(obj_attributes, path_attributes);
|
|
21305
21305
|
if (referencepath_attributesValidationError !== null) {
|
|
21306
21306
|
let message = 'Object doesn\'t match AbstractPicklistValueAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
21307
21307
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21385,7 +21385,7 @@ const select$1V = function PicklistValueRepresentationSelect() {
|
|
|
21385
21385
|
|
|
21386
21386
|
const TTL$m = 300000;
|
|
21387
21387
|
const VERSION$1H = "0a361a49370acb4c6a31721a2057649a";
|
|
21388
|
-
function validate$
|
|
21388
|
+
function validate$U(obj, path = 'PicklistValuesRepresentation') {
|
|
21389
21389
|
const v_error = (() => {
|
|
21390
21390
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21391
21391
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21408,7 +21408,7 @@ function validate$T(obj, path = 'PicklistValuesRepresentation') {
|
|
|
21408
21408
|
const path_defaultValue = path + '.defaultValue';
|
|
21409
21409
|
let obj_defaultValue_union0 = null;
|
|
21410
21410
|
const obj_defaultValue_union0_error = (() => {
|
|
21411
|
-
const referencepath_defaultValueValidationError = validate$
|
|
21411
|
+
const referencepath_defaultValueValidationError = validate$V(obj_defaultValue, path_defaultValue);
|
|
21412
21412
|
if (referencepath_defaultValueValidationError !== null) {
|
|
21413
21413
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_defaultValue + '")\n';
|
|
21414
21414
|
message += referencepath_defaultValueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21451,7 +21451,7 @@ function validate$T(obj, path = 'PicklistValuesRepresentation') {
|
|
|
21451
21451
|
for (let i = 0; i < obj_values.length; i++) {
|
|
21452
21452
|
const obj_values_item = obj_values[i];
|
|
21453
21453
|
const path_values_item = path_values + '[' + i + ']';
|
|
21454
|
-
const referencepath_values_itemValidationError = validate$
|
|
21454
|
+
const referencepath_values_itemValidationError = validate$V(obj_values_item, path_values_item);
|
|
21455
21455
|
if (referencepath_values_itemValidationError !== null) {
|
|
21456
21456
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_values_item + '")\n';
|
|
21457
21457
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21515,7 +21515,7 @@ function equals$A(existing, incoming) {
|
|
|
21515
21515
|
}
|
|
21516
21516
|
const ingest$1t = function PicklistValuesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21517
21517
|
if (process.env.NODE_ENV !== 'production') {
|
|
21518
|
-
const validateError = validate$
|
|
21518
|
+
const validateError = validate$U(input);
|
|
21519
21519
|
if (validateError !== null) {
|
|
21520
21520
|
throw validateError;
|
|
21521
21521
|
}
|
|
@@ -21557,7 +21557,7 @@ function getTypeCacheKeys$1w(luvio, input, fullPathFactory) {
|
|
|
21557
21557
|
|
|
21558
21558
|
const TTL$l = 300000;
|
|
21559
21559
|
const VERSION$1G = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
21560
|
-
function validate$
|
|
21560
|
+
function validate$T(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
21561
21561
|
const v_error = (() => {
|
|
21562
21562
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21563
21563
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21644,7 +21644,7 @@ function equals$z(existing, incoming) {
|
|
|
21644
21644
|
}
|
|
21645
21645
|
const ingest$1s = function PicklistValuesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21646
21646
|
if (process.env.NODE_ENV !== 'production') {
|
|
21647
|
-
const validateError = validate$
|
|
21647
|
+
const validateError = validate$T(input);
|
|
21648
21648
|
if (validateError !== null) {
|
|
21649
21649
|
throw validateError;
|
|
21650
21650
|
}
|
|
@@ -22058,7 +22058,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
22058
22058
|
buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$o);
|
|
22059
22059
|
};
|
|
22060
22060
|
|
|
22061
|
-
function validate$
|
|
22061
|
+
function validate$S(obj, path = 'MatchResultInfoRepresentation') {
|
|
22062
22062
|
const v_error = (() => {
|
|
22063
22063
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22064
22064
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22084,7 +22084,7 @@ function validate$R(obj, path = 'MatchResultInfoRepresentation') {
|
|
|
22084
22084
|
return v_error === undefined ? null : v_error;
|
|
22085
22085
|
}
|
|
22086
22086
|
|
|
22087
|
-
function validate$
|
|
22087
|
+
function validate$R(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
22088
22088
|
const v_error = (() => {
|
|
22089
22089
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22090
22090
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22096,7 +22096,7 @@ function validate$Q(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
22096
22096
|
}
|
|
22097
22097
|
const obj_matchResultInfo = obj.matchResultInfo;
|
|
22098
22098
|
const path_matchResultInfo = path + '.matchResultInfo';
|
|
22099
|
-
const referencepath_matchResultInfoValidationError = validate$
|
|
22099
|
+
const referencepath_matchResultInfoValidationError = validate$S(obj_matchResultInfo, path_matchResultInfo);
|
|
22100
22100
|
if (referencepath_matchResultInfoValidationError !== null) {
|
|
22101
22101
|
let message = 'Object doesn\'t match MatchResultInfoRepresentation (at "' + path_matchResultInfo + '")\n';
|
|
22102
22102
|
message += referencepath_matchResultInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22111,7 +22111,7 @@ function validate$Q(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
22111
22111
|
return v_error === undefined ? null : v_error;
|
|
22112
22112
|
}
|
|
22113
22113
|
|
|
22114
|
-
function validate$
|
|
22114
|
+
function validate$Q(obj, path = 'MatchRepresentation') {
|
|
22115
22115
|
const v_error = (() => {
|
|
22116
22116
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22117
22117
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22126,7 +22126,7 @@ function validate$P(obj, path = 'MatchRepresentation') {
|
|
|
22126
22126
|
const key = obj_duplicateResultInfos_keys[i];
|
|
22127
22127
|
const obj_duplicateResultInfos_prop = obj_duplicateResultInfos[key];
|
|
22128
22128
|
const path_duplicateResultInfos_prop = path_duplicateResultInfos + '["' + key + '"]';
|
|
22129
|
-
const referencepath_duplicateResultInfos_propValidationError = validate$
|
|
22129
|
+
const referencepath_duplicateResultInfos_propValidationError = validate$R(obj_duplicateResultInfos_prop, path_duplicateResultInfos_prop);
|
|
22130
22130
|
if (referencepath_duplicateResultInfos_propValidationError !== null) {
|
|
22131
22131
|
let message = 'Object doesn\'t match DuplicateResultInfoRepresentation (at "' + path_duplicateResultInfos_prop + '")\n';
|
|
22132
22132
|
message += referencepath_duplicateResultInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22156,7 +22156,7 @@ function validate$P(obj, path = 'MatchRepresentation') {
|
|
|
22156
22156
|
|
|
22157
22157
|
const TTL$k = 30000;
|
|
22158
22158
|
const VERSION$1F = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
22159
|
-
function validate$
|
|
22159
|
+
function validate$P(obj, path = 'DuplicatesRepresentation') {
|
|
22160
22160
|
const v_error = (() => {
|
|
22161
22161
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22162
22162
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22191,7 +22191,7 @@ function validate$O(obj, path = 'DuplicatesRepresentation') {
|
|
|
22191
22191
|
for (let i = 0; i < obj_matches.length; i++) {
|
|
22192
22192
|
const obj_matches_item = obj_matches[i];
|
|
22193
22193
|
const path_matches_item = path_matches + '[' + i + ']';
|
|
22194
|
-
const referencepath_matches_itemValidationError = validate$
|
|
22194
|
+
const referencepath_matches_itemValidationError = validate$Q(obj_matches_item, path_matches_item);
|
|
22195
22195
|
if (referencepath_matches_itemValidationError !== null) {
|
|
22196
22196
|
let message = 'Object doesn\'t match MatchRepresentation (at "' + path_matches_item + '")\n';
|
|
22197
22197
|
message += referencepath_matches_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22221,7 +22221,7 @@ function equals$y(existing, incoming) {
|
|
|
22221
22221
|
}
|
|
22222
22222
|
const ingest$1r = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22223
22223
|
if (process.env.NODE_ENV !== 'production') {
|
|
22224
|
-
const validateError = validate$
|
|
22224
|
+
const validateError = validate$P(input);
|
|
22225
22225
|
if (validateError !== null) {
|
|
22226
22226
|
throw validateError;
|
|
22227
22227
|
}
|
|
@@ -22464,7 +22464,7 @@ const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(unt
|
|
|
22464
22464
|
};
|
|
22465
22465
|
|
|
22466
22466
|
const VERSION$1E = "e84b9ffdeff97c411bd111f2a55cf6b6";
|
|
22467
|
-
function validate$
|
|
22467
|
+
function validate$O(obj, path = 'PhotoMetadataRepresentation') {
|
|
22468
22468
|
const v_error = (() => {
|
|
22469
22469
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22470
22470
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22556,8 +22556,8 @@ function equals$x(existing, incoming) {
|
|
|
22556
22556
|
}
|
|
22557
22557
|
|
|
22558
22558
|
const VERSION$1D = "34ffbf4219dfebb707bff609c2d5bf89";
|
|
22559
|
-
function validate$
|
|
22560
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
22559
|
+
function validate$N(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
22560
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$L(obj, path);
|
|
22561
22561
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
22562
22562
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
22563
22563
|
}
|
|
@@ -22624,7 +22624,7 @@ function validate$M(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
|
22624
22624
|
}
|
|
22625
22625
|
const obj_photoMetadata = obj.photoMetadata;
|
|
22626
22626
|
const path_photoMetadata = path + '.photoMetadata';
|
|
22627
|
-
const referencepath_photoMetadataValidationError = validate$
|
|
22627
|
+
const referencepath_photoMetadataValidationError = validate$O(obj_photoMetadata, path_photoMetadata);
|
|
22628
22628
|
if (referencepath_photoMetadataValidationError !== null) {
|
|
22629
22629
|
let message = 'Object doesn\'t match PhotoMetadataRepresentation (at "' + path_photoMetadata + '")\n';
|
|
22630
22630
|
message += referencepath_photoMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22779,7 +22779,7 @@ function equals$w(existing, incoming) {
|
|
|
22779
22779
|
}
|
|
22780
22780
|
const ingest$1q = function PhotoRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22781
22781
|
if (process.env.NODE_ENV !== 'production') {
|
|
22782
|
-
const validateError = validate$
|
|
22782
|
+
const validateError = validate$N(input);
|
|
22783
22783
|
if (validateError !== null) {
|
|
22784
22784
|
throw validateError;
|
|
22785
22785
|
}
|
|
@@ -22820,8 +22820,8 @@ function getTypeCacheKeys$1t(luvio, input, fullPathFactory) {
|
|
|
22820
22820
|
}
|
|
22821
22821
|
|
|
22822
22822
|
const VERSION$1C = "cbdcf69a6568d41ccf155b2b95ec70e7";
|
|
22823
|
-
function validate$
|
|
22824
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
22823
|
+
function validate$M(obj, path = 'ThemeRecordAvatarRepresentation') {
|
|
22824
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$L(obj, path);
|
|
22825
22825
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
22826
22826
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
22827
22827
|
}
|
|
@@ -22940,7 +22940,7 @@ function equals$v(existing, incoming) {
|
|
|
22940
22940
|
}
|
|
22941
22941
|
const ingest$1p = function ThemeRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22942
22942
|
if (process.env.NODE_ENV !== 'production') {
|
|
22943
|
-
const validateError = validate$
|
|
22943
|
+
const validateError = validate$M(input);
|
|
22944
22944
|
if (validateError !== null) {
|
|
22945
22945
|
throw validateError;
|
|
22946
22946
|
}
|
|
@@ -22986,7 +22986,7 @@ var DiscriminatorValues$2;
|
|
|
22986
22986
|
DiscriminatorValues["Theme"] = "Theme";
|
|
22987
22987
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
22988
22988
|
const VERSION$1B = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
22989
|
-
function validate$
|
|
22989
|
+
function validate$L(obj, path = 'AbstractRecordAvatarRepresentation') {
|
|
22990
22990
|
const v_error = (() => {
|
|
22991
22991
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22992
22992
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23079,8 +23079,8 @@ function getTypeCacheKeys$1r(luvio, input, fullPathFactory) {
|
|
|
23079
23079
|
}
|
|
23080
23080
|
|
|
23081
23081
|
const VERSION$1A = "f531b44760afecfce89990fe5a5c5c29";
|
|
23082
|
-
function validate$
|
|
23083
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23082
|
+
function validate$K(obj, path = 'RecordAvatarBatchRepresentation') {
|
|
23083
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$G(obj, path);
|
|
23084
23084
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23085
23085
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23086
23086
|
}
|
|
@@ -23141,7 +23141,7 @@ function equals$t(existing, incoming) {
|
|
|
23141
23141
|
}
|
|
23142
23142
|
const ingest$1o = function RecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23143
23143
|
if (process.env.NODE_ENV !== 'production') {
|
|
23144
|
-
const validateError = validate$
|
|
23144
|
+
const validateError = validate$K(input);
|
|
23145
23145
|
if (validateError !== null) {
|
|
23146
23146
|
throw validateError;
|
|
23147
23147
|
}
|
|
@@ -23182,7 +23182,7 @@ function getTypeCacheKeys$1q(luvio, input, fullPathFactory) {
|
|
|
23182
23182
|
}
|
|
23183
23183
|
|
|
23184
23184
|
const VERSION$1z = "17c20b01167dba9a81452e60bb28b2f2";
|
|
23185
|
-
function validate$
|
|
23185
|
+
function validate$J(obj, path = 'ErrorSingleRecordAvatarRepresentation') {
|
|
23186
23186
|
const v_error = (() => {
|
|
23187
23187
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23188
23188
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23232,8 +23232,8 @@ function equals$s(existing, incoming) {
|
|
|
23232
23232
|
}
|
|
23233
23233
|
|
|
23234
23234
|
const VERSION$1y = "e7fac2bfb5cdacc5e0f15c350f9ab8fe";
|
|
23235
|
-
function validate$
|
|
23236
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23235
|
+
function validate$I(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation') {
|
|
23236
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$G(obj, path);
|
|
23237
23237
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23238
23238
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23239
23239
|
}
|
|
@@ -23249,7 +23249,7 @@ function validate$H(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation'
|
|
|
23249
23249
|
for (let i = 0; i < obj_result.length; i++) {
|
|
23250
23250
|
const obj_result_item = obj_result[i];
|
|
23251
23251
|
const path_result_item = path_result + '[' + i + ']';
|
|
23252
|
-
const referencepath_result_itemValidationError = validate$
|
|
23252
|
+
const referencepath_result_itemValidationError = validate$J(obj_result_item, path_result_item);
|
|
23253
23253
|
if (referencepath_result_itemValidationError !== null) {
|
|
23254
23254
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
23255
23255
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23299,7 +23299,7 @@ function equals$r(existing, incoming) {
|
|
|
23299
23299
|
}
|
|
23300
23300
|
const ingest$1n = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23301
23301
|
if (process.env.NODE_ENV !== 'production') {
|
|
23302
|
-
const validateError = validate$
|
|
23302
|
+
const validateError = validate$I(input);
|
|
23303
23303
|
if (validateError !== null) {
|
|
23304
23304
|
throw validateError;
|
|
23305
23305
|
}
|
|
@@ -23340,8 +23340,8 @@ function getTypeCacheKeys$1p(luvio, input, fullPathFactory) {
|
|
|
23340
23340
|
}
|
|
23341
23341
|
|
|
23342
23342
|
const VERSION$1x = "cbd48fd50d0db463fdff7b1834c22bed";
|
|
23343
|
-
function validate$
|
|
23344
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
23343
|
+
function validate$H(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
23344
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$G(obj, path);
|
|
23345
23345
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
23346
23346
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
23347
23347
|
}
|
|
@@ -23357,7 +23357,7 @@ function validate$G(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
|
23357
23357
|
for (let i = 0; i < obj_result.length; i++) {
|
|
23358
23358
|
const obj_result_item = obj_result[i];
|
|
23359
23359
|
const path_result_item = path_result + '[' + i + ']';
|
|
23360
|
-
const referencepath_result_itemValidationError = validate$
|
|
23360
|
+
const referencepath_result_itemValidationError = validate$J(obj_result_item, path_result_item);
|
|
23361
23361
|
if (referencepath_result_itemValidationError !== null) {
|
|
23362
23362
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
23363
23363
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23407,7 +23407,7 @@ function equals$q(existing, incoming) {
|
|
|
23407
23407
|
}
|
|
23408
23408
|
const ingest$1m = function ErrorRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23409
23409
|
if (process.env.NODE_ENV !== 'production') {
|
|
23410
|
-
const validateError = validate$
|
|
23410
|
+
const validateError = validate$H(input);
|
|
23411
23411
|
if (validateError !== null) {
|
|
23412
23412
|
throw validateError;
|
|
23413
23413
|
}
|
|
@@ -23454,7 +23454,7 @@ const DiscriminatorValues$1 = {
|
|
|
23454
23454
|
};
|
|
23455
23455
|
const TTL$j = 300000;
|
|
23456
23456
|
const VERSION$1w = "8956293536e94d5ec63b274b61033d2c";
|
|
23457
|
-
function validate$
|
|
23457
|
+
function validate$G(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
23458
23458
|
const v_error = (() => {
|
|
23459
23459
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23460
23460
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23532,7 +23532,7 @@ function getTypeCacheKeys$1n(luvio, input, fullPathFactory) {
|
|
|
23532
23532
|
|
|
23533
23533
|
const TTL$i = 300000;
|
|
23534
23534
|
const VERSION$1v = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
23535
|
-
function validate$
|
|
23535
|
+
function validate$F(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
23536
23536
|
const v_error = (() => {
|
|
23537
23537
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23538
23538
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23614,7 +23614,7 @@ function merge(existing, incoming, _luvio, _path) {
|
|
|
23614
23614
|
|
|
23615
23615
|
const ingest$1l = function RecordAvatarBulkMapRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23616
23616
|
if (process.env.NODE_ENV !== 'production') {
|
|
23617
|
-
const validateError = validate$
|
|
23617
|
+
const validateError = validate$F(input);
|
|
23618
23618
|
if (validateError !== null) {
|
|
23619
23619
|
throw validateError;
|
|
23620
23620
|
}
|
|
@@ -24147,7 +24147,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
24147
24147
|
};
|
|
24148
24148
|
|
|
24149
24149
|
const VERSION$1u = "4d4bdab5d0aa61e365e766409c9b3a31";
|
|
24150
|
-
function validate$
|
|
24150
|
+
function validate$E(obj, path = 'RelatedListReferenceRepresentation') {
|
|
24151
24151
|
const v_error = (() => {
|
|
24152
24152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24153
24153
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24386,7 +24386,7 @@ function equals$n(existing, incoming) {
|
|
|
24386
24386
|
}
|
|
24387
24387
|
|
|
24388
24388
|
const VERSION$1t = "836b875b519813e7499efc62f0f1d04b";
|
|
24389
|
-
function validate$
|
|
24389
|
+
function validate$D(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
24390
24390
|
const v_error = (() => {
|
|
24391
24391
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24392
24392
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24429,7 +24429,7 @@ function validate$C(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
|
24429
24429
|
}
|
|
24430
24430
|
const obj_listReference = obj.listReference;
|
|
24431
24431
|
const path_listReference = path + '.listReference';
|
|
24432
|
-
const referencepath_listReferenceValidationError = validate$
|
|
24432
|
+
const referencepath_listReferenceValidationError = validate$E(obj_listReference, path_listReference);
|
|
24433
24433
|
if (referencepath_listReferenceValidationError !== null) {
|
|
24434
24434
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
24435
24435
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24502,7 +24502,7 @@ function equals$m(existing, incoming) {
|
|
|
24502
24502
|
}
|
|
24503
24503
|
const ingest$1k = function RelatedListRecordCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24504
24504
|
if (process.env.NODE_ENV !== 'production') {
|
|
24505
|
-
const validateError = validate$
|
|
24505
|
+
const validateError = validate$D(input);
|
|
24506
24506
|
if (validateError !== null) {
|
|
24507
24507
|
throw validateError;
|
|
24508
24508
|
}
|
|
@@ -25121,7 +25121,7 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
25121
25121
|
buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$j);
|
|
25122
25122
|
};
|
|
25123
25123
|
|
|
25124
|
-
function validate$
|
|
25124
|
+
function validate$C(obj, path = 'RelatedListColumnRepresentation') {
|
|
25125
25125
|
const v_error = (() => {
|
|
25126
25126
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25127
25127
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25272,7 +25272,7 @@ function validate$B(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
25272
25272
|
|
|
25273
25273
|
const TTL$h = 900000;
|
|
25274
25274
|
const VERSION$1s = "c977d65d153a2b4e888ddd45fb083248";
|
|
25275
|
-
function validate$
|
|
25275
|
+
function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
25276
25276
|
const v_error = (() => {
|
|
25277
25277
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25278
25278
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25300,7 +25300,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25300
25300
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
25301
25301
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
25302
25302
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
25303
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
25303
|
+
const referencepath_displayColumns_itemValidationError = validate$C(obj_displayColumns_item, path_displayColumns_item);
|
|
25304
25304
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
25305
25305
|
let message = 'Object doesn\'t match RelatedListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
25306
25306
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25347,7 +25347,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25347
25347
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
25348
25348
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
25349
25349
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
25350
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
25350
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1H(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
25351
25351
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
25352
25352
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
25353
25353
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25361,7 +25361,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25361
25361
|
}
|
|
25362
25362
|
const obj_listReference = obj.listReference;
|
|
25363
25363
|
const path_listReference = path + '.listReference';
|
|
25364
|
-
const referencepath_listReferenceValidationError = validate$
|
|
25364
|
+
const referencepath_listReferenceValidationError = validate$E(obj_listReference, path_listReference);
|
|
25365
25365
|
if (referencepath_listReferenceValidationError !== null) {
|
|
25366
25366
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
25367
25367
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25399,7 +25399,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25399
25399
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
25400
25400
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
25401
25401
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
25402
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
25402
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1F(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
25403
25403
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
25404
25404
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
25405
25405
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25418,7 +25418,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
25418
25418
|
}
|
|
25419
25419
|
const obj_userPreferences = obj.userPreferences;
|
|
25420
25420
|
const path_userPreferences = path + '.userPreferences';
|
|
25421
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
25421
|
+
const referencepath_userPreferencesValidationError = validate$1B(obj_userPreferences, path_userPreferences);
|
|
25422
25422
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
25423
25423
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
25424
25424
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -25558,7 +25558,7 @@ function equals$l(existing, incoming) {
|
|
|
25558
25558
|
}
|
|
25559
25559
|
const ingest$1j = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
25560
25560
|
if (process.env.NODE_ENV !== 'production') {
|
|
25561
|
-
const validateError = validate$
|
|
25561
|
+
const validateError = validate$B(input);
|
|
25562
25562
|
if (validateError !== null) {
|
|
25563
25563
|
throw validateError;
|
|
25564
25564
|
}
|
|
@@ -26073,7 +26073,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
26073
26073
|
buildCachedSnapshotCachePolicy$h, buildNetworkSnapshotCachePolicy$i);
|
|
26074
26074
|
};
|
|
26075
26075
|
|
|
26076
|
-
function validate$
|
|
26076
|
+
function validate$A(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
26077
26077
|
const v_error = (() => {
|
|
26078
26078
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26079
26079
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26169,7 +26169,7 @@ function validate$z(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
26169
26169
|
const path_themeInfo = path + '.themeInfo';
|
|
26170
26170
|
let obj_themeInfo_union0 = null;
|
|
26171
26171
|
const obj_themeInfo_union0_error = (() => {
|
|
26172
|
-
const referencepath_themeInfoValidationError = validate$
|
|
26172
|
+
const referencepath_themeInfoValidationError = validate$1n(obj_themeInfo, path_themeInfo);
|
|
26173
26173
|
if (referencepath_themeInfoValidationError !== null) {
|
|
26174
26174
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
26175
26175
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26204,7 +26204,7 @@ function validate$z(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
26204
26204
|
}
|
|
26205
26205
|
|
|
26206
26206
|
const VERSION$1r = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
26207
|
-
function validate$
|
|
26207
|
+
function validate$z(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
|
|
26208
26208
|
const v_error = (() => {
|
|
26209
26209
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26210
26210
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26253,7 +26253,7 @@ function validate$y(obj, path = 'RelatedListSummaryInfoCollectionRepresentation'
|
|
|
26253
26253
|
for (let i = 0; i < obj_relatedLists.length; i++) {
|
|
26254
26254
|
const obj_relatedLists_item = obj_relatedLists[i];
|
|
26255
26255
|
const path_relatedLists_item = path_relatedLists + '[' + i + ']';
|
|
26256
|
-
const referencepath_relatedLists_itemValidationError = validate$
|
|
26256
|
+
const referencepath_relatedLists_itemValidationError = validate$A(obj_relatedLists_item, path_relatedLists_item);
|
|
26257
26257
|
if (referencepath_relatedLists_itemValidationError !== null) {
|
|
26258
26258
|
let message = 'Object doesn\'t match RelatedListSummaryInfoRepresentation (at "' + path_relatedLists_item + '")\n';
|
|
26259
26259
|
message += referencepath_relatedLists_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26309,7 +26309,7 @@ function equals$k(existing, incoming) {
|
|
|
26309
26309
|
}
|
|
26310
26310
|
const ingest$1i = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26311
26311
|
if (process.env.NODE_ENV !== 'production') {
|
|
26312
|
-
const validateError = validate$
|
|
26312
|
+
const validateError = validate$z(input);
|
|
26313
26313
|
if (validateError !== null) {
|
|
26314
26314
|
throw validateError;
|
|
26315
26315
|
}
|
|
@@ -26700,7 +26700,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
26700
26700
|
buildCachedSnapshotCachePolicy$f, buildNetworkSnapshotCachePolicy$g);
|
|
26701
26701
|
};
|
|
26702
26702
|
|
|
26703
|
-
function validate$
|
|
26703
|
+
function validate$y(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
26704
26704
|
const v_error = (() => {
|
|
26705
26705
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26706
26706
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26719,7 +26719,7 @@ function validate$x(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
|
26719
26719
|
return v_error === undefined ? null : v_error;
|
|
26720
26720
|
}
|
|
26721
26721
|
|
|
26722
|
-
function validate$
|
|
26722
|
+
function validate$x(obj, path = 'ListUserPreferenceInputRepresentation') {
|
|
26723
26723
|
const v_error = (() => {
|
|
26724
26724
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26725
26725
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26857,7 +26857,7 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
26857
26857
|
const untrustedConfig_orderedByInfo_array = [];
|
|
26858
26858
|
for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
|
|
26859
26859
|
const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
|
|
26860
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
26860
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$y(untrustedConfig_orderedByInfo_item);
|
|
26861
26861
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
26862
26862
|
untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
|
|
26863
26863
|
}
|
|
@@ -26865,7 +26865,7 @@ function typeCheckConfig$q(untrustedConfig) {
|
|
|
26865
26865
|
config.orderedByInfo = untrustedConfig_orderedByInfo_array;
|
|
26866
26866
|
}
|
|
26867
26867
|
const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
|
|
26868
|
-
const referenceListUserPreferenceInputRepresentationValidationError = validate$
|
|
26868
|
+
const referenceListUserPreferenceInputRepresentationValidationError = validate$x(untrustedConfig_userPreferences);
|
|
26869
26869
|
if (referenceListUserPreferenceInputRepresentationValidationError === null) {
|
|
26870
26870
|
config.userPreferences = untrustedConfig_userPreferences;
|
|
26871
26871
|
}
|
|
@@ -26912,7 +26912,7 @@ const updateRelatedListInfoAdapterFactory = (luvio) => {
|
|
|
26912
26912
|
|
|
26913
26913
|
const TTL$g = 900000;
|
|
26914
26914
|
const VERSION$1q = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
26915
|
-
function validate$
|
|
26915
|
+
function validate$w(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
26916
26916
|
const v_error = (() => {
|
|
26917
26917
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26918
26918
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26953,7 +26953,7 @@ function validate$v(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
26953
26953
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
26954
26954
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
26955
26955
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
26956
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
26956
|
+
const referencepath_orderedBy_itemValidationError = validate$1F(obj_orderedBy_item, path_orderedBy_item);
|
|
26957
26957
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
26958
26958
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
26959
26959
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26997,7 +26997,7 @@ function equals$j(existing, incoming) {
|
|
|
26997
26997
|
}
|
|
26998
26998
|
const ingest$1h = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26999
26999
|
if (process.env.NODE_ENV !== 'production') {
|
|
27000
|
-
const validateError = validate$
|
|
27000
|
+
const validateError = validate$w(input);
|
|
27001
27001
|
if (validateError !== null) {
|
|
27002
27002
|
throw validateError;
|
|
27003
27003
|
}
|
|
@@ -27686,7 +27686,7 @@ function typeCheckConfig$n(untrustedConfig) {
|
|
|
27686
27686
|
const untrustedConfig_orderedBy_array = [];
|
|
27687
27687
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
27688
27688
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
27689
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
27689
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$y(untrustedConfig_orderedBy_item);
|
|
27690
27690
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
27691
27691
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
27692
27692
|
}
|
|
@@ -27733,7 +27733,7 @@ const updateRelatedListPreferencesAdapterFactory = (luvio) => {
|
|
|
27733
27733
|
};
|
|
27734
27734
|
};
|
|
27735
27735
|
|
|
27736
|
-
function validate$
|
|
27736
|
+
function validate$v(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
27737
27737
|
const v_error = (() => {
|
|
27738
27738
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27739
27739
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27976,7 +27976,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
27976
27976
|
|
|
27977
27977
|
const TTL$f = 30000;
|
|
27978
27978
|
const VERSION$1p = "62467c27c19349b70c9db2a8d9d591d9";
|
|
27979
|
-
function validate$
|
|
27979
|
+
function validate$u(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
27980
27980
|
const v_error = (() => {
|
|
27981
27981
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27982
27982
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28057,7 +28057,7 @@ function validate$t(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
28057
28057
|
}
|
|
28058
28058
|
const obj_listReference = obj.listReference;
|
|
28059
28059
|
const path_listReference = path + '.listReference';
|
|
28060
|
-
const referencepath_listReferenceValidationError = validate$
|
|
28060
|
+
const referencepath_listReferenceValidationError = validate$E(obj_listReference, path_listReference);
|
|
28061
28061
|
if (referencepath_listReferenceValidationError !== null) {
|
|
28062
28062
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
28063
28063
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28478,7 +28478,7 @@ function equals$i(existing, incoming) {
|
|
|
28478
28478
|
}
|
|
28479
28479
|
const ingest$1g = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28480
28480
|
if (process.env.NODE_ENV !== 'production') {
|
|
28481
|
-
const validateError = validate$
|
|
28481
|
+
const validateError = validate$u(input);
|
|
28482
28482
|
if (validateError !== null) {
|
|
28483
28483
|
throw validateError;
|
|
28484
28484
|
}
|
|
@@ -28990,7 +28990,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
28990
28990
|
const untrustedConfig_relatedListParameters_array = [];
|
|
28991
28991
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
28992
28992
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
28993
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
28993
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$v(untrustedConfig_relatedListParameters_item);
|
|
28994
28994
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
28995
28995
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
28996
28996
|
}
|
|
@@ -29324,7 +29324,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
29324
29324
|
};
|
|
29325
29325
|
|
|
29326
29326
|
const VERSION$1o = "d4e38b1f08aca427c57c06b571d54993";
|
|
29327
|
-
function validate$
|
|
29327
|
+
function validate$t(obj, path = 'SearchFilterOptionRepresentation') {
|
|
29328
29328
|
const v_error = (() => {
|
|
29329
29329
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29330
29330
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29411,7 +29411,7 @@ var DiscriminatorValues;
|
|
|
29411
29411
|
DiscriminatorValues["Text"] = "Text";
|
|
29412
29412
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
29413
29413
|
const VERSION$1l = "ce65f5507177936e5b70ecf2a75b446f";
|
|
29414
|
-
function validate$
|
|
29414
|
+
function validate$s(obj, path = 'SearchFilterAttributesRepresentation') {
|
|
29415
29415
|
const v_error = (() => {
|
|
29416
29416
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29417
29417
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29460,7 +29460,7 @@ function equals$h(existing, incoming) {
|
|
|
29460
29460
|
}
|
|
29461
29461
|
|
|
29462
29462
|
const VERSION$1k = "8bccbceb2d8850c1388ea82df95ba2d8";
|
|
29463
|
-
function validate$
|
|
29463
|
+
function validate$r(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
29464
29464
|
const v_error = (() => {
|
|
29465
29465
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29466
29466
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29472,7 +29472,7 @@ function validate$q(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
29472
29472
|
}
|
|
29473
29473
|
const obj_attributes = obj.attributes;
|
|
29474
29474
|
const path_attributes = path + '.attributes';
|
|
29475
|
-
const referencepath_attributesValidationError = validate$
|
|
29475
|
+
const referencepath_attributesValidationError = validate$s(obj_attributes, path_attributes);
|
|
29476
29476
|
if (referencepath_attributesValidationError !== null) {
|
|
29477
29477
|
let message = 'Object doesn\'t match SearchFilterAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
29478
29478
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29593,7 +29593,7 @@ function equals$g(existing, incoming) {
|
|
|
29593
29593
|
|
|
29594
29594
|
const TTL$e = 30000;
|
|
29595
29595
|
const VERSION$1j = "4c15d70367f2a3acd1e1c627b4946679";
|
|
29596
|
-
function validate$
|
|
29596
|
+
function validate$q(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
29597
29597
|
const v_error = (() => {
|
|
29598
29598
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29599
29599
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29606,7 +29606,7 @@ function validate$p(obj, path = 'SearchFilterMetadataCollectionRepresentation')
|
|
|
29606
29606
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
29607
29607
|
const obj_filters_item = obj_filters[i];
|
|
29608
29608
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
29609
|
-
const referencepath_filters_itemValidationError = validate$
|
|
29609
|
+
const referencepath_filters_itemValidationError = validate$r(obj_filters_item, path_filters_item);
|
|
29610
29610
|
if (referencepath_filters_itemValidationError !== null) {
|
|
29611
29611
|
let message = 'Object doesn\'t match SearchFilterDefinitionRepresentation (at "' + path_filters_item + '")\n';
|
|
29612
29612
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29674,7 +29674,7 @@ function equals$f(existing, incoming) {
|
|
|
29674
29674
|
}
|
|
29675
29675
|
const ingest$1f = function SearchFilterMetadataCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29676
29676
|
if (process.env.NODE_ENV !== 'production') {
|
|
29677
|
-
const validateError = validate$
|
|
29677
|
+
const validateError = validate$q(input);
|
|
29678
29678
|
if (validateError !== null) {
|
|
29679
29679
|
throw validateError;
|
|
29680
29680
|
}
|
|
@@ -29878,7 +29878,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
29878
29878
|
|
|
29879
29879
|
const TTL$d = 30000;
|
|
29880
29880
|
const VERSION$1i = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
29881
|
-
function validate$
|
|
29881
|
+
function validate$p(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
29882
29882
|
const v_error = (() => {
|
|
29883
29883
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29884
29884
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29901,7 +29901,7 @@ function validate$o(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
|
29901
29901
|
for (let i = 0; i < obj_options.length; i++) {
|
|
29902
29902
|
const obj_options_item = obj_options[i];
|
|
29903
29903
|
const path_options_item = path_options + '[' + i + ']';
|
|
29904
|
-
const referencepath_options_itemValidationError = validate$
|
|
29904
|
+
const referencepath_options_itemValidationError = validate$t(obj_options_item, path_options_item);
|
|
29905
29905
|
if (referencepath_options_itemValidationError !== null) {
|
|
29906
29906
|
let message = 'Object doesn\'t match SearchFilterOptionRepresentation (at "' + path_options_item + '")\n';
|
|
29907
29907
|
message += referencepath_options_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29968,7 +29968,7 @@ function equals$e(existing, incoming) {
|
|
|
29968
29968
|
}
|
|
29969
29969
|
const ingest$1e = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29970
29970
|
if (process.env.NODE_ENV !== 'production') {
|
|
29971
|
-
const validateError = validate$
|
|
29971
|
+
const validateError = validate$p(input);
|
|
29972
29972
|
if (validateError !== null) {
|
|
29973
29973
|
throw validateError;
|
|
29974
29974
|
}
|
|
@@ -30183,7 +30183,7 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
|
|
|
30183
30183
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$a);
|
|
30184
30184
|
};
|
|
30185
30185
|
|
|
30186
|
-
function validate$
|
|
30186
|
+
function validate$o(obj, path = 'DisplayLayoutRepresentation') {
|
|
30187
30187
|
const v_error = (() => {
|
|
30188
30188
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30189
30189
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30204,7 +30204,7 @@ function validate$n(obj, path = 'DisplayLayoutRepresentation') {
|
|
|
30204
30204
|
return v_error === undefined ? null : v_error;
|
|
30205
30205
|
}
|
|
30206
30206
|
|
|
30207
|
-
function validate$
|
|
30207
|
+
function validate$n(obj, path = 'MatchingInfoRepresentation') {
|
|
30208
30208
|
const v_error = (() => {
|
|
30209
30209
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30210
30210
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30225,14 +30225,14 @@ function validate$m(obj, path = 'MatchingInfoRepresentation') {
|
|
|
30225
30225
|
return v_error === undefined ? null : v_error;
|
|
30226
30226
|
}
|
|
30227
30227
|
|
|
30228
|
-
function validate$
|
|
30228
|
+
function validate$m(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
30229
30229
|
const v_error = (() => {
|
|
30230
30230
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30231
30231
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30232
30232
|
}
|
|
30233
30233
|
const obj_displayLayout = obj.displayLayout;
|
|
30234
30234
|
const path_displayLayout = path + '.displayLayout';
|
|
30235
|
-
const referencepath_displayLayoutValidationError = validate$
|
|
30235
|
+
const referencepath_displayLayoutValidationError = validate$o(obj_displayLayout, path_displayLayout);
|
|
30236
30236
|
if (referencepath_displayLayoutValidationError !== null) {
|
|
30237
30237
|
let message = 'Object doesn\'t match DisplayLayoutRepresentation (at "' + path_displayLayout + '")\n';
|
|
30238
30238
|
message += referencepath_displayLayoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30240,7 +30240,7 @@ function validate$l(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
30240
30240
|
}
|
|
30241
30241
|
const obj_matchingInfo = obj.matchingInfo;
|
|
30242
30242
|
const path_matchingInfo = path + '.matchingInfo';
|
|
30243
|
-
const referencepath_matchingInfoValidationError = validate$
|
|
30243
|
+
const referencepath_matchingInfoValidationError = validate$n(obj_matchingInfo, path_matchingInfo);
|
|
30244
30244
|
if (referencepath_matchingInfoValidationError !== null) {
|
|
30245
30245
|
let message = 'Object doesn\'t match MatchingInfoRepresentation (at "' + path_matchingInfo + '")\n';
|
|
30246
30246
|
message += referencepath_matchingInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30250,14 +30250,14 @@ function validate$l(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
30250
30250
|
return v_error === undefined ? null : v_error;
|
|
30251
30251
|
}
|
|
30252
30252
|
|
|
30253
|
-
function validate$
|
|
30253
|
+
function validate$l(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
30254
30254
|
const v_error = (() => {
|
|
30255
30255
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30256
30256
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30257
30257
|
}
|
|
30258
30258
|
const obj_fullSearchInfo = obj.fullSearchInfo;
|
|
30259
30259
|
const path_fullSearchInfo = path + '.fullSearchInfo';
|
|
30260
|
-
const referencepath_fullSearchInfoValidationError = validate$
|
|
30260
|
+
const referencepath_fullSearchInfoValidationError = validate$m(obj_fullSearchInfo, path_fullSearchInfo);
|
|
30261
30261
|
if (referencepath_fullSearchInfoValidationError !== null) {
|
|
30262
30262
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_fullSearchInfo + '")\n';
|
|
30263
30263
|
message += referencepath_fullSearchInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30270,7 +30270,7 @@ function validate$k(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
30270
30270
|
}
|
|
30271
30271
|
const obj_suggestionsInfo = obj.suggestionsInfo;
|
|
30272
30272
|
const path_suggestionsInfo = path + '.suggestionsInfo';
|
|
30273
|
-
const referencepath_suggestionsInfoValidationError = validate$
|
|
30273
|
+
const referencepath_suggestionsInfoValidationError = validate$m(obj_suggestionsInfo, path_suggestionsInfo);
|
|
30274
30274
|
if (referencepath_suggestionsInfoValidationError !== null) {
|
|
30275
30275
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_suggestionsInfo + '")\n';
|
|
30276
30276
|
message += referencepath_suggestionsInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30282,7 +30282,7 @@ function validate$k(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
30282
30282
|
|
|
30283
30283
|
const TTL$c = 30000;
|
|
30284
30284
|
const VERSION$1h = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
30285
|
-
function validate$
|
|
30285
|
+
function validate$k(obj, path = 'LookupMetadataRepresentation') {
|
|
30286
30286
|
const v_error = (() => {
|
|
30287
30287
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30288
30288
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30333,7 +30333,7 @@ function validate$j(obj, path = 'LookupMetadataRepresentation') {
|
|
|
30333
30333
|
const key = obj_targetInfo_keys[i];
|
|
30334
30334
|
const obj_targetInfo_prop = obj_targetInfo[key];
|
|
30335
30335
|
const path_targetInfo_prop = path_targetInfo + '["' + key + '"]';
|
|
30336
|
-
const referencepath_targetInfo_propValidationError = validate$
|
|
30336
|
+
const referencepath_targetInfo_propValidationError = validate$l(obj_targetInfo_prop, path_targetInfo_prop);
|
|
30337
30337
|
if (referencepath_targetInfo_propValidationError !== null) {
|
|
30338
30338
|
let message = 'Object doesn\'t match LookupMetadataTargetInfoRepresentation (at "' + path_targetInfo_prop + '")\n';
|
|
30339
30339
|
message += referencepath_targetInfo_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30373,7 +30373,7 @@ function equals$d(existing, incoming) {
|
|
|
30373
30373
|
}
|
|
30374
30374
|
const ingest$1d = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30375
30375
|
if (process.env.NODE_ENV !== 'production') {
|
|
30376
|
-
const validateError = validate$
|
|
30376
|
+
const validateError = validate$k(input);
|
|
30377
30377
|
if (validateError !== null) {
|
|
30378
30378
|
throw validateError;
|
|
30379
30379
|
}
|
|
@@ -30580,7 +30580,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
30580
30580
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$9);
|
|
30581
30581
|
};
|
|
30582
30582
|
|
|
30583
|
-
function validate$
|
|
30583
|
+
function validate$j(obj, path = 'ErrorMessageRepresentation') {
|
|
30584
30584
|
const v_error = (() => {
|
|
30585
30585
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30586
30586
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30620,7 +30620,7 @@ function validate$i(obj, path = 'ErrorMessageRepresentation') {
|
|
|
30620
30620
|
return v_error === undefined ? null : v_error;
|
|
30621
30621
|
}
|
|
30622
30622
|
|
|
30623
|
-
function validate$
|
|
30623
|
+
function validate$i(obj, path = 'SearchResultCollectionRepresentation') {
|
|
30624
30624
|
const v_error = (() => {
|
|
30625
30625
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30626
30626
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30634,7 +30634,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30634
30634
|
const path_error = path + '.error';
|
|
30635
30635
|
let obj_error_union0 = null;
|
|
30636
30636
|
const obj_error_union0_error = (() => {
|
|
30637
|
-
const referencepath_errorValidationError = validate$
|
|
30637
|
+
const referencepath_errorValidationError = validate$j(obj_error, path_error);
|
|
30638
30638
|
if (referencepath_errorValidationError !== null) {
|
|
30639
30639
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
30640
30640
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30698,7 +30698,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30698
30698
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
30699
30699
|
const obj_orderBy_item = obj_orderBy[i];
|
|
30700
30700
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
30701
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
30701
|
+
const referencepath_orderBy_itemValidationError = validate$1F(obj_orderBy_item, path_orderBy_item);
|
|
30702
30702
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
30703
30703
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
30704
30704
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30764,7 +30764,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
30764
30764
|
return v_error === undefined ? null : v_error;
|
|
30765
30765
|
}
|
|
30766
30766
|
|
|
30767
|
-
function validate$
|
|
30767
|
+
function validate$h(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
30768
30768
|
const v_error = (() => {
|
|
30769
30769
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30770
30770
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30785,7 +30785,7 @@ function validate$g(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
30785
30785
|
return v_error === undefined ? null : v_error;
|
|
30786
30786
|
}
|
|
30787
30787
|
|
|
30788
|
-
function validate$
|
|
30788
|
+
function validate$g(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
30789
30789
|
const v_error = (() => {
|
|
30790
30790
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30791
30791
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30800,11 +30800,6 @@ function validate$f(obj, path = 'QnASearchResultRepresentation') {
|
|
|
30800
30800
|
if (typeof obj_objectApiName !== 'string') {
|
|
30801
30801
|
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
30802
30802
|
}
|
|
30803
|
-
const obj_passage = obj.passage;
|
|
30804
|
-
const path_passage = path + '.passage';
|
|
30805
|
-
if (typeof obj_passage !== 'string') {
|
|
30806
|
-
return new TypeError('Expected "string" but received "' + typeof obj_passage + '" (at "' + path_passage + '")');
|
|
30807
|
-
}
|
|
30808
30803
|
const obj_recordId = obj.recordId;
|
|
30809
30804
|
const path_recordId = path + '.recordId';
|
|
30810
30805
|
if (typeof obj_recordId !== 'string') {
|
|
@@ -30819,8 +30814,42 @@ function validate$f(obj, path = 'QnASearchResultRepresentation') {
|
|
|
30819
30814
|
return v_error === undefined ? null : v_error;
|
|
30820
30815
|
}
|
|
30821
30816
|
|
|
30817
|
+
function validate$f(obj, path = 'SearchAnswersResultRepresentation') {
|
|
30818
|
+
const v_error = (() => {
|
|
30819
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30820
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
30821
|
+
}
|
|
30822
|
+
const obj_answerType = obj.answerType;
|
|
30823
|
+
const path_answerType = path + '.answerType';
|
|
30824
|
+
if (typeof obj_answerType !== 'string') {
|
|
30825
|
+
return new TypeError('Expected "string" but received "' + typeof obj_answerType + '" (at "' + path_answerType + '")');
|
|
30826
|
+
}
|
|
30827
|
+
const obj_passage = obj.passage;
|
|
30828
|
+
const path_passage = path + '.passage';
|
|
30829
|
+
if (typeof obj_passage !== 'string') {
|
|
30830
|
+
return new TypeError('Expected "string" but received "' + typeof obj_passage + '" (at "' + path_passage + '")');
|
|
30831
|
+
}
|
|
30832
|
+
const obj_records = obj.records;
|
|
30833
|
+
const path_records = path + '.records';
|
|
30834
|
+
if (!ArrayIsArray(obj_records)) {
|
|
30835
|
+
return new TypeError('Expected "array" but received "' + typeof obj_records + '" (at "' + path_records + '")');
|
|
30836
|
+
}
|
|
30837
|
+
for (let i = 0; i < obj_records.length; i++) {
|
|
30838
|
+
const obj_records_item = obj_records[i];
|
|
30839
|
+
const path_records_item = path_records + '[' + i + ']';
|
|
30840
|
+
const referencepath_records_itemValidationError = validate$g(obj_records_item, path_records_item);
|
|
30841
|
+
if (referencepath_records_itemValidationError !== null) {
|
|
30842
|
+
let message = 'Object doesn\'t match SearchAnswersRecordRepresentation (at "' + path_records_item + '")\n';
|
|
30843
|
+
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30844
|
+
return new TypeError(message);
|
|
30845
|
+
}
|
|
30846
|
+
}
|
|
30847
|
+
})();
|
|
30848
|
+
return v_error === undefined ? null : v_error;
|
|
30849
|
+
}
|
|
30850
|
+
|
|
30822
30851
|
const TTL$b = 200;
|
|
30823
|
-
const VERSION$1g = "
|
|
30852
|
+
const VERSION$1g = "da21e889922062e90012ba48c4a733e2";
|
|
30824
30853
|
function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
30825
30854
|
const v_error = (() => {
|
|
30826
30855
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -30830,7 +30859,7 @@ function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
30830
30859
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
30831
30860
|
let obj_keywordSearchResults_union0 = null;
|
|
30832
30861
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
30833
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
30862
|
+
const referencepath_keywordSearchResultsValidationError = validate$h(obj_keywordSearchResults, path_keywordSearchResults);
|
|
30834
30863
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
30835
30864
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' + path_keywordSearchResults + '")\n';
|
|
30836
30865
|
message += referencepath_keywordSearchResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30861,7 +30890,7 @@ function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
30861
30890
|
const obj_qnaResult_union0_error = (() => {
|
|
30862
30891
|
const referencepath_qnaResultValidationError = validate$f(obj_qnaResult, path_qnaResult);
|
|
30863
30892
|
if (referencepath_qnaResultValidationError !== null) {
|
|
30864
|
-
let message = 'Object doesn\'t match
|
|
30893
|
+
let message = 'Object doesn\'t match SearchAnswersResultRepresentation (at "' + path_qnaResult + '")\n';
|
|
30865
30894
|
message += referencepath_qnaResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
30866
30895
|
return new TypeError(message);
|
|
30867
30896
|
}
|
|
@@ -31235,7 +31264,7 @@ function validate$c(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
31235
31264
|
}
|
|
31236
31265
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
31237
31266
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
31238
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
31267
|
+
const referencepath_keywordSearchResultValidationError = validate$i(obj_keywordSearchResult, path_keywordSearchResult);
|
|
31239
31268
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
31240
31269
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' + path_keywordSearchResult + '")\n';
|
|
31241
31270
|
message += referencepath_keywordSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31603,26 +31632,8 @@ function buildSelectionForNode$12(source, reader, parentNode, selectionNode, var
|
|
|
31603
31632
|
}
|
|
31604
31633
|
function select$1b(field, variables, fragments) {
|
|
31605
31634
|
return (source, reader, parentRecordId) => {
|
|
31606
|
-
var _a;
|
|
31607
31635
|
const sink = {};
|
|
31608
|
-
(
|
|
31609
|
-
const builtSelection = buildSelectionForNode$12(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
31610
|
-
if (builtSelection !== undefined) {
|
|
31611
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
31612
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
31613
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
31614
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
31615
|
-
if (sink[key] === undefined) {
|
|
31616
|
-
sink[key] = builtSelection[key];
|
|
31617
|
-
}
|
|
31618
|
-
});
|
|
31619
|
-
}
|
|
31620
|
-
else {
|
|
31621
|
-
Object.assign(sink, builtSelection);
|
|
31622
|
-
}
|
|
31623
|
-
}
|
|
31624
|
-
});
|
|
31625
|
-
return sink;
|
|
31636
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$12, source, reader, variables, fragments, parentRecordId);
|
|
31626
31637
|
};
|
|
31627
31638
|
}
|
|
31628
31639
|
function getTypeCacheKeys$1b(astNode, state) {
|
|
@@ -31765,26 +31776,8 @@ function buildSelectionForNode$11(source, reader, parentNode, selectionNode, var
|
|
|
31765
31776
|
}
|
|
31766
31777
|
function select$1a(field, variables, fragments) {
|
|
31767
31778
|
return (source, reader, parentRecordId) => {
|
|
31768
|
-
var _a;
|
|
31769
31779
|
const sink = {};
|
|
31770
|
-
(
|
|
31771
|
-
const builtSelection = buildSelectionForNode$11(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
31772
|
-
if (builtSelection !== undefined) {
|
|
31773
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
31774
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
31775
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
31776
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
31777
|
-
if (sink[key] === undefined) {
|
|
31778
|
-
sink[key] = builtSelection[key];
|
|
31779
|
-
}
|
|
31780
|
-
});
|
|
31781
|
-
}
|
|
31782
|
-
else {
|
|
31783
|
-
Object.assign(sink, builtSelection);
|
|
31784
|
-
}
|
|
31785
|
-
}
|
|
31786
|
-
});
|
|
31787
|
-
return sink;
|
|
31780
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$11, source, reader, variables, fragments, parentRecordId);
|
|
31788
31781
|
};
|
|
31789
31782
|
}
|
|
31790
31783
|
function getTypeCacheKeys$1a(astNode, state) {
|
|
@@ -31927,26 +31920,8 @@ function buildSelectionForNode$10(source, reader, parentNode, selectionNode, var
|
|
|
31927
31920
|
}
|
|
31928
31921
|
function select$19(field, variables, fragments) {
|
|
31929
31922
|
return (source, reader, parentRecordId) => {
|
|
31930
|
-
var _a;
|
|
31931
31923
|
const sink = {};
|
|
31932
|
-
(
|
|
31933
|
-
const builtSelection = buildSelectionForNode$10(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
31934
|
-
if (builtSelection !== undefined) {
|
|
31935
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
31936
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
31937
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
31938
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
31939
|
-
if (sink[key] === undefined) {
|
|
31940
|
-
sink[key] = builtSelection[key];
|
|
31941
|
-
}
|
|
31942
|
-
});
|
|
31943
|
-
}
|
|
31944
|
-
else {
|
|
31945
|
-
Object.assign(sink, builtSelection);
|
|
31946
|
-
}
|
|
31947
|
-
}
|
|
31948
|
-
});
|
|
31949
|
-
return sink;
|
|
31924
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$10, source, reader, variables, fragments, parentRecordId);
|
|
31950
31925
|
};
|
|
31951
31926
|
}
|
|
31952
31927
|
function getTypeCacheKeys$19(astNode, state) {
|
|
@@ -32101,26 +32076,8 @@ function buildSelectionForNode$$(source, reader, parentNode, selectionNode, vari
|
|
|
32101
32076
|
}
|
|
32102
32077
|
function select$18(field, variables, fragments) {
|
|
32103
32078
|
return (source, reader, parentRecordId) => {
|
|
32104
|
-
var _a;
|
|
32105
32079
|
const sink = {};
|
|
32106
|
-
(
|
|
32107
|
-
const builtSelection = buildSelectionForNode$$(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
32108
|
-
if (builtSelection !== undefined) {
|
|
32109
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
32110
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
32111
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
32112
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
32113
|
-
if (sink[key] === undefined) {
|
|
32114
|
-
sink[key] = builtSelection[key];
|
|
32115
|
-
}
|
|
32116
|
-
});
|
|
32117
|
-
}
|
|
32118
|
-
else {
|
|
32119
|
-
Object.assign(sink, builtSelection);
|
|
32120
|
-
}
|
|
32121
|
-
}
|
|
32122
|
-
});
|
|
32123
|
-
return sink;
|
|
32080
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$$, source, reader, variables, fragments, parentRecordId);
|
|
32124
32081
|
};
|
|
32125
32082
|
}
|
|
32126
32083
|
function getMinimumSelections$L() {
|
|
@@ -32145,10 +32102,10 @@ function getTypeCacheKeys$18(astNode, state) {
|
|
|
32145
32102
|
representationName: name$_
|
|
32146
32103
|
});
|
|
32147
32104
|
// get all cache keys from normalizable fields
|
|
32148
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$$) :
|
|
32105
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$$) : new Map();
|
|
32149
32106
|
for (const fieldDataKey of Object.keys(data)) {
|
|
32150
32107
|
const fieldData = data[fieldDataKey];
|
|
32151
|
-
const requestedField =
|
|
32108
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
32152
32109
|
if (requestedField === undefined) {
|
|
32153
32110
|
continue; // Skip unknown field.
|
|
32154
32111
|
}
|
|
@@ -32443,26 +32400,8 @@ function buildSelectionForNode$_(source, reader, parentNode, selectionNode, vari
|
|
|
32443
32400
|
}
|
|
32444
32401
|
function select$17(field, variables, fragments) {
|
|
32445
32402
|
return (source, reader, parentRecordId) => {
|
|
32446
|
-
var _a;
|
|
32447
32403
|
const sink = {};
|
|
32448
|
-
(
|
|
32449
|
-
const builtSelection = buildSelectionForNode$_(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
32450
|
-
if (builtSelection !== undefined) {
|
|
32451
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
32452
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
32453
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
32454
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
32455
|
-
if (sink[key] === undefined) {
|
|
32456
|
-
sink[key] = builtSelection[key];
|
|
32457
|
-
}
|
|
32458
|
-
});
|
|
32459
|
-
}
|
|
32460
|
-
else {
|
|
32461
|
-
Object.assign(sink, builtSelection);
|
|
32462
|
-
}
|
|
32463
|
-
}
|
|
32464
|
-
});
|
|
32465
|
-
return sink;
|
|
32404
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$_, source, reader, variables, fragments, parentRecordId);
|
|
32466
32405
|
};
|
|
32467
32406
|
}
|
|
32468
32407
|
function getTypeCacheKeys$17(astNode, state) {
|
|
@@ -32600,26 +32539,8 @@ function buildSelectionForNode$Z(source, reader, parentNode, selectionNode, vari
|
|
|
32600
32539
|
}
|
|
32601
32540
|
function select$16(field, variables, fragments) {
|
|
32602
32541
|
return (source, reader, parentRecordId) => {
|
|
32603
|
-
var _a;
|
|
32604
32542
|
const sink = {};
|
|
32605
|
-
(
|
|
32606
|
-
const builtSelection = buildSelectionForNode$Z(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
32607
|
-
if (builtSelection !== undefined) {
|
|
32608
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
32609
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
32610
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
32611
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
32612
|
-
if (sink[key] === undefined) {
|
|
32613
|
-
sink[key] = builtSelection[key];
|
|
32614
|
-
}
|
|
32615
|
-
});
|
|
32616
|
-
}
|
|
32617
|
-
else {
|
|
32618
|
-
Object.assign(sink, builtSelection);
|
|
32619
|
-
}
|
|
32620
|
-
}
|
|
32621
|
-
});
|
|
32622
|
-
return sink;
|
|
32543
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$Z, source, reader, variables, fragments, parentRecordId);
|
|
32623
32544
|
};
|
|
32624
32545
|
}
|
|
32625
32546
|
function getTypeCacheKeys$16(astNode, state) {
|
|
@@ -32765,26 +32686,8 @@ function buildSelectionForNode$Y(source, reader, parentNode, selectionNode, vari
|
|
|
32765
32686
|
}
|
|
32766
32687
|
function select$15(field, variables, fragments) {
|
|
32767
32688
|
return (source, reader, parentRecordId) => {
|
|
32768
|
-
var _a;
|
|
32769
32689
|
const sink = {};
|
|
32770
|
-
(
|
|
32771
|
-
const builtSelection = buildSelectionForNode$Y(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
32772
|
-
if (builtSelection !== undefined) {
|
|
32773
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
32774
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
32775
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
32776
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
32777
|
-
if (sink[key] === undefined) {
|
|
32778
|
-
sink[key] = builtSelection[key];
|
|
32779
|
-
}
|
|
32780
|
-
});
|
|
32781
|
-
}
|
|
32782
|
-
else {
|
|
32783
|
-
Object.assign(sink, builtSelection);
|
|
32784
|
-
}
|
|
32785
|
-
}
|
|
32786
|
-
});
|
|
32787
|
-
return sink;
|
|
32690
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$Y, source, reader, variables, fragments, parentRecordId);
|
|
32788
32691
|
};
|
|
32789
32692
|
}
|
|
32790
32693
|
function getMinimumSelections$K() {
|
|
@@ -32809,10 +32712,10 @@ function getTypeCacheKeys$15(astNode, state) {
|
|
|
32809
32712
|
representationName: name$X
|
|
32810
32713
|
});
|
|
32811
32714
|
// get all cache keys from normalizable fields
|
|
32812
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$Y) :
|
|
32715
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$Y) : new Map();
|
|
32813
32716
|
for (const fieldDataKey of Object.keys(data)) {
|
|
32814
32717
|
const fieldData = data[fieldDataKey];
|
|
32815
|
-
const requestedField =
|
|
32718
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
32816
32719
|
if (requestedField === undefined) {
|
|
32817
32720
|
continue; // Skip unknown field.
|
|
32818
32721
|
}
|
|
@@ -33124,26 +33027,8 @@ function buildSelectionForNode$X(source, reader, parentNode, selectionNode, vari
|
|
|
33124
33027
|
}
|
|
33125
33028
|
function select$14(field, variables, fragments) {
|
|
33126
33029
|
return (source, reader, parentRecordId) => {
|
|
33127
|
-
var _a;
|
|
33128
33030
|
const sink = {};
|
|
33129
|
-
(
|
|
33130
|
-
const builtSelection = buildSelectionForNode$X(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
33131
|
-
if (builtSelection !== undefined) {
|
|
33132
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
33133
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
33134
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
33135
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
33136
|
-
if (sink[key] === undefined) {
|
|
33137
|
-
sink[key] = builtSelection[key];
|
|
33138
|
-
}
|
|
33139
|
-
});
|
|
33140
|
-
}
|
|
33141
|
-
else {
|
|
33142
|
-
Object.assign(sink, builtSelection);
|
|
33143
|
-
}
|
|
33144
|
-
}
|
|
33145
|
-
});
|
|
33146
|
-
return sink;
|
|
33031
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$X, source, reader, variables, fragments, parentRecordId);
|
|
33147
33032
|
};
|
|
33148
33033
|
}
|
|
33149
33034
|
function getMinimumSelections$I() {
|
|
@@ -33292,26 +33177,8 @@ function buildSelectionForNode$W(source, reader, parentNode, selectionNode, vari
|
|
|
33292
33177
|
}
|
|
33293
33178
|
function select$13(field, variables, fragments) {
|
|
33294
33179
|
return (source, reader, parentRecordId) => {
|
|
33295
|
-
var _a;
|
|
33296
33180
|
const sink = {};
|
|
33297
|
-
(
|
|
33298
|
-
const builtSelection = buildSelectionForNode$W(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
33299
|
-
if (builtSelection !== undefined) {
|
|
33300
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
33301
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
33302
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
33303
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
33304
|
-
if (sink[key] === undefined) {
|
|
33305
|
-
sink[key] = builtSelection[key];
|
|
33306
|
-
}
|
|
33307
|
-
});
|
|
33308
|
-
}
|
|
33309
|
-
else {
|
|
33310
|
-
Object.assign(sink, builtSelection);
|
|
33311
|
-
}
|
|
33312
|
-
}
|
|
33313
|
-
});
|
|
33314
|
-
return sink;
|
|
33181
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$W, source, reader, variables, fragments, parentRecordId);
|
|
33315
33182
|
};
|
|
33316
33183
|
}
|
|
33317
33184
|
function getTypeCacheKeys$13(astNode, state) {
|
|
@@ -33470,26 +33337,8 @@ function buildSelectionForNode$V(source, reader, parentNode, selectionNode, vari
|
|
|
33470
33337
|
}
|
|
33471
33338
|
function select$12(field, variables, fragments) {
|
|
33472
33339
|
return (source, reader, parentRecordId) => {
|
|
33473
|
-
var _a;
|
|
33474
33340
|
const sink = {};
|
|
33475
|
-
(
|
|
33476
|
-
const builtSelection = buildSelectionForNode$V(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
33477
|
-
if (builtSelection !== undefined) {
|
|
33478
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
33479
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
33480
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
33481
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
33482
|
-
if (sink[key] === undefined) {
|
|
33483
|
-
sink[key] = builtSelection[key];
|
|
33484
|
-
}
|
|
33485
|
-
});
|
|
33486
|
-
}
|
|
33487
|
-
else {
|
|
33488
|
-
Object.assign(sink, builtSelection);
|
|
33489
|
-
}
|
|
33490
|
-
}
|
|
33491
|
-
});
|
|
33492
|
-
return sink;
|
|
33341
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$V, source, reader, variables, fragments, parentRecordId);
|
|
33493
33342
|
};
|
|
33494
33343
|
}
|
|
33495
33344
|
function getMinimumSelections$H() {
|
|
@@ -33514,10 +33363,10 @@ function getTypeCacheKeys$12(astNode, state) {
|
|
|
33514
33363
|
representationName: name$U
|
|
33515
33364
|
});
|
|
33516
33365
|
// get all cache keys from normalizable fields
|
|
33517
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$V) :
|
|
33366
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$V) : new Map();
|
|
33518
33367
|
for (const fieldDataKey of Object.keys(data)) {
|
|
33519
33368
|
const fieldData = data[fieldDataKey];
|
|
33520
|
-
const requestedField =
|
|
33369
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
33521
33370
|
if (requestedField === undefined) {
|
|
33522
33371
|
continue; // Skip unknown field.
|
|
33523
33372
|
}
|
|
@@ -34020,26 +33869,8 @@ function buildSelectionForNode$U(source, reader, parentNode, selectionNode, vari
|
|
|
34020
33869
|
}
|
|
34021
33870
|
function select$11(field, variables, fragments) {
|
|
34022
33871
|
return (source, reader, parentRecordId) => {
|
|
34023
|
-
var _a;
|
|
34024
33872
|
const sink = {};
|
|
34025
|
-
(
|
|
34026
|
-
const builtSelection = buildSelectionForNode$U(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
34027
|
-
if (builtSelection !== undefined) {
|
|
34028
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
34029
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
34030
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
34031
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
34032
|
-
if (sink[key] === undefined) {
|
|
34033
|
-
sink[key] = builtSelection[key];
|
|
34034
|
-
}
|
|
34035
|
-
});
|
|
34036
|
-
}
|
|
34037
|
-
else {
|
|
34038
|
-
Object.assign(sink, builtSelection);
|
|
34039
|
-
}
|
|
34040
|
-
}
|
|
34041
|
-
});
|
|
34042
|
-
return sink;
|
|
33873
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$U, source, reader, variables, fragments, parentRecordId);
|
|
34043
33874
|
};
|
|
34044
33875
|
}
|
|
34045
33876
|
function getMinimumSelections$G() {
|
|
@@ -34238,26 +34069,8 @@ function buildSelectionForNode$T(source, reader, parentNode, selectionNode, vari
|
|
|
34238
34069
|
}
|
|
34239
34070
|
function select$10(field, variables, fragments) {
|
|
34240
34071
|
return (source, reader, parentRecordId) => {
|
|
34241
|
-
var _a;
|
|
34242
34072
|
const sink = {};
|
|
34243
|
-
(
|
|
34244
|
-
const builtSelection = buildSelectionForNode$T(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
34245
|
-
if (builtSelection !== undefined) {
|
|
34246
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
34247
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
34248
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
34249
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
34250
|
-
if (sink[key] === undefined) {
|
|
34251
|
-
sink[key] = builtSelection[key];
|
|
34252
|
-
}
|
|
34253
|
-
});
|
|
34254
|
-
}
|
|
34255
|
-
else {
|
|
34256
|
-
Object.assign(sink, builtSelection);
|
|
34257
|
-
}
|
|
34258
|
-
}
|
|
34259
|
-
});
|
|
34260
|
-
return sink;
|
|
34073
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$T, source, reader, variables, fragments, parentRecordId);
|
|
34261
34074
|
};
|
|
34262
34075
|
}
|
|
34263
34076
|
function getTypeCacheKeys$10(astNode, state) {
|
|
@@ -34393,26 +34206,8 @@ function buildSelectionForNode$S(source, reader, parentNode, selectionNode, vari
|
|
|
34393
34206
|
}
|
|
34394
34207
|
function select$$(field, variables, fragments) {
|
|
34395
34208
|
return (source, reader, parentRecordId) => {
|
|
34396
|
-
var _a;
|
|
34397
34209
|
const sink = {};
|
|
34398
|
-
(
|
|
34399
|
-
const builtSelection = buildSelectionForNode$S(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
34400
|
-
if (builtSelection !== undefined) {
|
|
34401
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
34402
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
34403
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
34404
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
34405
|
-
if (sink[key] === undefined) {
|
|
34406
|
-
sink[key] = builtSelection[key];
|
|
34407
|
-
}
|
|
34408
|
-
});
|
|
34409
|
-
}
|
|
34410
|
-
else {
|
|
34411
|
-
Object.assign(sink, builtSelection);
|
|
34412
|
-
}
|
|
34413
|
-
}
|
|
34414
|
-
});
|
|
34415
|
-
return sink;
|
|
34210
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$S, source, reader, variables, fragments, parentRecordId);
|
|
34416
34211
|
};
|
|
34417
34212
|
}
|
|
34418
34213
|
function getMinimumSelections$E() {
|
|
@@ -34437,10 +34232,10 @@ function getTypeCacheKeys$$(astNode, state) {
|
|
|
34437
34232
|
representationName: name$R
|
|
34438
34233
|
});
|
|
34439
34234
|
// get all cache keys from normalizable fields
|
|
34440
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$S) :
|
|
34235
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$S) : new Map();
|
|
34441
34236
|
for (const fieldDataKey of Object.keys(data)) {
|
|
34442
34237
|
const fieldData = data[fieldDataKey];
|
|
34443
|
-
const requestedField =
|
|
34238
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
34444
34239
|
if (requestedField === undefined) {
|
|
34445
34240
|
continue; // Skip unknown field.
|
|
34446
34241
|
}
|
|
@@ -34617,26 +34412,8 @@ function buildSelectionForNode$R(source, reader, parentNode, selectionNode, vari
|
|
|
34617
34412
|
}
|
|
34618
34413
|
function select$_(field, variables, fragments) {
|
|
34619
34414
|
return (source, reader, parentRecordId) => {
|
|
34620
|
-
var _a;
|
|
34621
34415
|
const sink = {};
|
|
34622
|
-
(
|
|
34623
|
-
const builtSelection = buildSelectionForNode$R(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
34624
|
-
if (builtSelection !== undefined) {
|
|
34625
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
34626
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
34627
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
34628
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
34629
|
-
if (sink[key] === undefined) {
|
|
34630
|
-
sink[key] = builtSelection[key];
|
|
34631
|
-
}
|
|
34632
|
-
});
|
|
34633
|
-
}
|
|
34634
|
-
else {
|
|
34635
|
-
Object.assign(sink, builtSelection);
|
|
34636
|
-
}
|
|
34637
|
-
}
|
|
34638
|
-
});
|
|
34639
|
-
return sink;
|
|
34416
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$R, source, reader, variables, fragments, parentRecordId);
|
|
34640
34417
|
};
|
|
34641
34418
|
}
|
|
34642
34419
|
function getMinimumSelections$D() {
|
|
@@ -34781,26 +34558,8 @@ function buildSelectionForNode$Q(source, reader, parentNode, selectionNode, vari
|
|
|
34781
34558
|
}
|
|
34782
34559
|
function select$Z(field, variables, fragments) {
|
|
34783
34560
|
return (source, reader, parentRecordId) => {
|
|
34784
|
-
var _a;
|
|
34785
34561
|
const sink = {};
|
|
34786
|
-
(
|
|
34787
|
-
const builtSelection = buildSelectionForNode$Q(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
34788
|
-
if (builtSelection !== undefined) {
|
|
34789
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
34790
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
34791
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
34792
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
34793
|
-
if (sink[key] === undefined) {
|
|
34794
|
-
sink[key] = builtSelection[key];
|
|
34795
|
-
}
|
|
34796
|
-
});
|
|
34797
|
-
}
|
|
34798
|
-
else {
|
|
34799
|
-
Object.assign(sink, builtSelection);
|
|
34800
|
-
}
|
|
34801
|
-
}
|
|
34802
|
-
});
|
|
34803
|
-
return sink;
|
|
34562
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$Q, source, reader, variables, fragments, parentRecordId);
|
|
34804
34563
|
};
|
|
34805
34564
|
}
|
|
34806
34565
|
function getMinimumSelections$C() {
|
|
@@ -34978,26 +34737,8 @@ function buildSelectionForNode$P(source, reader, parentNode, selectionNode, vari
|
|
|
34978
34737
|
}
|
|
34979
34738
|
function select$Y(field, variables, fragments) {
|
|
34980
34739
|
return (source, reader, parentRecordId) => {
|
|
34981
|
-
var _a;
|
|
34982
34740
|
const sink = {};
|
|
34983
|
-
(
|
|
34984
|
-
const builtSelection = buildSelectionForNode$P(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
34985
|
-
if (builtSelection !== undefined) {
|
|
34986
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
34987
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
34988
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
34989
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
34990
|
-
if (sink[key] === undefined) {
|
|
34991
|
-
sink[key] = builtSelection[key];
|
|
34992
|
-
}
|
|
34993
|
-
});
|
|
34994
|
-
}
|
|
34995
|
-
else {
|
|
34996
|
-
Object.assign(sink, builtSelection);
|
|
34997
|
-
}
|
|
34998
|
-
}
|
|
34999
|
-
});
|
|
35000
|
-
return sink;
|
|
34741
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$P, source, reader, variables, fragments, parentRecordId);
|
|
35001
34742
|
};
|
|
35002
34743
|
}
|
|
35003
34744
|
function getMinimumSelections$B() {
|
|
@@ -35022,10 +34763,10 @@ function getTypeCacheKeys$Y(astNode, state) {
|
|
|
35022
34763
|
representationName: name$O
|
|
35023
34764
|
});
|
|
35024
34765
|
// get all cache keys from normalizable fields
|
|
35025
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$P) :
|
|
34766
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$P) : new Map();
|
|
35026
34767
|
for (const fieldDataKey of Object.keys(data)) {
|
|
35027
34768
|
const fieldData = data[fieldDataKey];
|
|
35028
|
-
const requestedField =
|
|
34769
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
35029
34770
|
if (requestedField === undefined) {
|
|
35030
34771
|
continue; // Skip unknown field.
|
|
35031
34772
|
}
|
|
@@ -35386,26 +35127,8 @@ function buildSelectionForNode$O(source, reader, parentNode, selectionNode, vari
|
|
|
35386
35127
|
}
|
|
35387
35128
|
function select$X(field, variables, fragments) {
|
|
35388
35129
|
return (source, reader, parentRecordId) => {
|
|
35389
|
-
var _a;
|
|
35390
35130
|
const sink = {};
|
|
35391
|
-
(
|
|
35392
|
-
const builtSelection = buildSelectionForNode$O(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
35393
|
-
if (builtSelection !== undefined) {
|
|
35394
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
35395
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
35396
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
35397
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
35398
|
-
if (sink[key] === undefined) {
|
|
35399
|
-
sink[key] = builtSelection[key];
|
|
35400
|
-
}
|
|
35401
|
-
});
|
|
35402
|
-
}
|
|
35403
|
-
else {
|
|
35404
|
-
Object.assign(sink, builtSelection);
|
|
35405
|
-
}
|
|
35406
|
-
}
|
|
35407
|
-
});
|
|
35408
|
-
return sink;
|
|
35131
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$O, source, reader, variables, fragments, parentRecordId);
|
|
35409
35132
|
};
|
|
35410
35133
|
}
|
|
35411
35134
|
function getMinimumSelections$A() {
|
|
@@ -35576,26 +35299,8 @@ function buildSelectionForNode$N(source, reader, parentNode, selectionNode, vari
|
|
|
35576
35299
|
}
|
|
35577
35300
|
function select$W(field, variables, fragments) {
|
|
35578
35301
|
return (source, reader, parentRecordId) => {
|
|
35579
|
-
var _a;
|
|
35580
35302
|
const sink = {};
|
|
35581
|
-
(
|
|
35582
|
-
const builtSelection = buildSelectionForNode$N(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
35583
|
-
if (builtSelection !== undefined) {
|
|
35584
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
35585
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
35586
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
35587
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
35588
|
-
if (sink[key] === undefined) {
|
|
35589
|
-
sink[key] = builtSelection[key];
|
|
35590
|
-
}
|
|
35591
|
-
});
|
|
35592
|
-
}
|
|
35593
|
-
else {
|
|
35594
|
-
Object.assign(sink, builtSelection);
|
|
35595
|
-
}
|
|
35596
|
-
}
|
|
35597
|
-
});
|
|
35598
|
-
return sink;
|
|
35303
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$N, source, reader, variables, fragments, parentRecordId);
|
|
35599
35304
|
};
|
|
35600
35305
|
}
|
|
35601
35306
|
function getMinimumSelections$z() {
|
|
@@ -35620,10 +35325,10 @@ function getTypeCacheKeys$W(astNode, state) {
|
|
|
35620
35325
|
representationName: name$M
|
|
35621
35326
|
});
|
|
35622
35327
|
// get all cache keys from normalizable fields
|
|
35623
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$N) :
|
|
35328
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$N) : new Map();
|
|
35624
35329
|
for (const fieldDataKey of Object.keys(data)) {
|
|
35625
35330
|
const fieldData = data[fieldDataKey];
|
|
35626
|
-
const requestedField =
|
|
35331
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
35627
35332
|
if (requestedField === undefined) {
|
|
35628
35333
|
continue; // Skip unknown field.
|
|
35629
35334
|
}
|
|
@@ -36016,26 +35721,8 @@ function buildSelectionForNode$M(source, reader, parentNode, selectionNode, vari
|
|
|
36016
35721
|
}
|
|
36017
35722
|
function select$V(field, variables, fragments) {
|
|
36018
35723
|
return (source, reader, parentRecordId) => {
|
|
36019
|
-
var _a;
|
|
36020
35724
|
const sink = {};
|
|
36021
|
-
(
|
|
36022
|
-
const builtSelection = buildSelectionForNode$M(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
36023
|
-
if (builtSelection !== undefined) {
|
|
36024
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
36025
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
36026
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
36027
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
36028
|
-
if (sink[key] === undefined) {
|
|
36029
|
-
sink[key] = builtSelection[key];
|
|
36030
|
-
}
|
|
36031
|
-
});
|
|
36032
|
-
}
|
|
36033
|
-
else {
|
|
36034
|
-
Object.assign(sink, builtSelection);
|
|
36035
|
-
}
|
|
36036
|
-
}
|
|
36037
|
-
});
|
|
36038
|
-
return sink;
|
|
35725
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$M, source, reader, variables, fragments, parentRecordId);
|
|
36039
35726
|
};
|
|
36040
35727
|
}
|
|
36041
35728
|
function getMinimumSelections$y() {
|
|
@@ -36060,10 +35747,10 @@ function getTypeCacheKeys$V(astNode, state) {
|
|
|
36060
35747
|
representationName: name$L
|
|
36061
35748
|
});
|
|
36062
35749
|
// get all cache keys from normalizable fields
|
|
36063
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$M) :
|
|
35750
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$M) : new Map();
|
|
36064
35751
|
for (const fieldDataKey of Object.keys(data)) {
|
|
36065
35752
|
const fieldData = data[fieldDataKey];
|
|
36066
|
-
const requestedField =
|
|
35753
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
36067
35754
|
if (requestedField === undefined) {
|
|
36068
35755
|
continue; // Skip unknown field.
|
|
36069
35756
|
}
|
|
@@ -36227,26 +35914,8 @@ function buildSelectionForNode$L(source, reader, parentNode, selectionNode, vari
|
|
|
36227
35914
|
}
|
|
36228
35915
|
function select$U(field, variables, fragments) {
|
|
36229
35916
|
return (source, reader, parentRecordId) => {
|
|
36230
|
-
var _a;
|
|
36231
35917
|
const sink = {};
|
|
36232
|
-
(
|
|
36233
|
-
const builtSelection = buildSelectionForNode$L(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
36234
|
-
if (builtSelection !== undefined) {
|
|
36235
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
36236
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
36237
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
36238
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
36239
|
-
if (sink[key] === undefined) {
|
|
36240
|
-
sink[key] = builtSelection[key];
|
|
36241
|
-
}
|
|
36242
|
-
});
|
|
36243
|
-
}
|
|
36244
|
-
else {
|
|
36245
|
-
Object.assign(sink, builtSelection);
|
|
36246
|
-
}
|
|
36247
|
-
}
|
|
36248
|
-
});
|
|
36249
|
-
return sink;
|
|
35918
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$L, source, reader, variables, fragments, parentRecordId);
|
|
36250
35919
|
};
|
|
36251
35920
|
}
|
|
36252
35921
|
function getTypeCacheKeys$U(astNode, state) {
|
|
@@ -36383,26 +36052,8 @@ function buildSelectionForNode$K(source, reader, parentNode, selectionNode, vari
|
|
|
36383
36052
|
}
|
|
36384
36053
|
function select$T(field, variables, fragments) {
|
|
36385
36054
|
return (source, reader, parentRecordId) => {
|
|
36386
|
-
var _a;
|
|
36387
36055
|
const sink = {};
|
|
36388
|
-
(
|
|
36389
|
-
const builtSelection = buildSelectionForNode$K(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
36390
|
-
if (builtSelection !== undefined) {
|
|
36391
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
36392
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
36393
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
36394
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
36395
|
-
if (sink[key] === undefined) {
|
|
36396
|
-
sink[key] = builtSelection[key];
|
|
36397
|
-
}
|
|
36398
|
-
});
|
|
36399
|
-
}
|
|
36400
|
-
else {
|
|
36401
|
-
Object.assign(sink, builtSelection);
|
|
36402
|
-
}
|
|
36403
|
-
}
|
|
36404
|
-
});
|
|
36405
|
-
return sink;
|
|
36056
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$K, source, reader, variables, fragments, parentRecordId);
|
|
36406
36057
|
};
|
|
36407
36058
|
}
|
|
36408
36059
|
function getTypeCacheKeys$T(astNode, state) {
|
|
@@ -36551,26 +36202,8 @@ function buildSelectionForNode$J(source, reader, parentNode, selectionNode, vari
|
|
|
36551
36202
|
}
|
|
36552
36203
|
function select$S(field, variables, fragments) {
|
|
36553
36204
|
return (source, reader, parentRecordId) => {
|
|
36554
|
-
var _a;
|
|
36555
36205
|
const sink = {};
|
|
36556
|
-
(
|
|
36557
|
-
const builtSelection = buildSelectionForNode$J(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
36558
|
-
if (builtSelection !== undefined) {
|
|
36559
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
36560
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
36561
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
36562
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
36563
|
-
if (sink[key] === undefined) {
|
|
36564
|
-
sink[key] = builtSelection[key];
|
|
36565
|
-
}
|
|
36566
|
-
});
|
|
36567
|
-
}
|
|
36568
|
-
else {
|
|
36569
|
-
Object.assign(sink, builtSelection);
|
|
36570
|
-
}
|
|
36571
|
-
}
|
|
36572
|
-
});
|
|
36573
|
-
return sink;
|
|
36206
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$J, source, reader, variables, fragments, parentRecordId);
|
|
36574
36207
|
};
|
|
36575
36208
|
}
|
|
36576
36209
|
function getMinimumSelections$x() {
|
|
@@ -36595,10 +36228,10 @@ function getTypeCacheKeys$S(astNode, state) {
|
|
|
36595
36228
|
representationName: name$I
|
|
36596
36229
|
});
|
|
36597
36230
|
// get all cache keys from normalizable fields
|
|
36598
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$J) :
|
|
36231
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$J) : new Map();
|
|
36599
36232
|
for (const fieldDataKey of Object.keys(data)) {
|
|
36600
36233
|
const fieldData = data[fieldDataKey];
|
|
36601
|
-
const requestedField =
|
|
36234
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
36602
36235
|
if (requestedField === undefined) {
|
|
36603
36236
|
continue; // Skip unknown field.
|
|
36604
36237
|
}
|
|
@@ -36912,26 +36545,8 @@ function buildSelectionForNode$I(source, reader, parentNode, selectionNode, vari
|
|
|
36912
36545
|
}
|
|
36913
36546
|
function select$R(field, variables, fragments) {
|
|
36914
36547
|
return (source, reader, parentRecordId) => {
|
|
36915
|
-
var _a;
|
|
36916
36548
|
const sink = {};
|
|
36917
|
-
(
|
|
36918
|
-
const builtSelection = buildSelectionForNode$I(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
36919
|
-
if (builtSelection !== undefined) {
|
|
36920
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
36921
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
36922
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
36923
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
36924
|
-
if (sink[key] === undefined) {
|
|
36925
|
-
sink[key] = builtSelection[key];
|
|
36926
|
-
}
|
|
36927
|
-
});
|
|
36928
|
-
}
|
|
36929
|
-
else {
|
|
36930
|
-
Object.assign(sink, builtSelection);
|
|
36931
|
-
}
|
|
36932
|
-
}
|
|
36933
|
-
});
|
|
36934
|
-
return sink;
|
|
36549
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$I, source, reader, variables, fragments, parentRecordId);
|
|
36935
36550
|
};
|
|
36936
36551
|
}
|
|
36937
36552
|
function getTypeCacheKeys$R(astNode, state) {
|
|
@@ -37080,26 +36695,8 @@ function buildSelectionForNode$H(source, reader, parentNode, selectionNode, vari
|
|
|
37080
36695
|
}
|
|
37081
36696
|
function select$Q(field, variables, fragments) {
|
|
37082
36697
|
return (source, reader, parentRecordId) => {
|
|
37083
|
-
var _a;
|
|
37084
36698
|
const sink = {};
|
|
37085
|
-
(
|
|
37086
|
-
const builtSelection = buildSelectionForNode$H(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
37087
|
-
if (builtSelection !== undefined) {
|
|
37088
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
37089
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
37090
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
37091
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
37092
|
-
if (sink[key] === undefined) {
|
|
37093
|
-
sink[key] = builtSelection[key];
|
|
37094
|
-
}
|
|
37095
|
-
});
|
|
37096
|
-
}
|
|
37097
|
-
else {
|
|
37098
|
-
Object.assign(sink, builtSelection);
|
|
37099
|
-
}
|
|
37100
|
-
}
|
|
37101
|
-
});
|
|
37102
|
-
return sink;
|
|
36699
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$H, source, reader, variables, fragments, parentRecordId);
|
|
37103
36700
|
};
|
|
37104
36701
|
}
|
|
37105
36702
|
function getMinimumSelections$w() {
|
|
@@ -37124,10 +36721,10 @@ function getTypeCacheKeys$Q(astNode, state) {
|
|
|
37124
36721
|
representationName: name$G
|
|
37125
36722
|
});
|
|
37126
36723
|
// get all cache keys from normalizable fields
|
|
37127
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$H) :
|
|
36724
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$H) : new Map();
|
|
37128
36725
|
for (const fieldDataKey of Object.keys(data)) {
|
|
37129
36726
|
const fieldData = data[fieldDataKey];
|
|
37130
|
-
const requestedField =
|
|
36727
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
37131
36728
|
if (requestedField === undefined) {
|
|
37132
36729
|
continue; // Skip unknown field.
|
|
37133
36730
|
}
|
|
@@ -37397,26 +36994,8 @@ function buildSelectionForNode$G(source, reader, parentNode, selectionNode, vari
|
|
|
37397
36994
|
}
|
|
37398
36995
|
function select$P(field, variables, fragments) {
|
|
37399
36996
|
return (source, reader, parentRecordId) => {
|
|
37400
|
-
var _a;
|
|
37401
36997
|
const sink = {};
|
|
37402
|
-
(
|
|
37403
|
-
const builtSelection = buildSelectionForNode$G(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
37404
|
-
if (builtSelection !== undefined) {
|
|
37405
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
37406
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
37407
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
37408
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
37409
|
-
if (sink[key] === undefined) {
|
|
37410
|
-
sink[key] = builtSelection[key];
|
|
37411
|
-
}
|
|
37412
|
-
});
|
|
37413
|
-
}
|
|
37414
|
-
else {
|
|
37415
|
-
Object.assign(sink, builtSelection);
|
|
37416
|
-
}
|
|
37417
|
-
}
|
|
37418
|
-
});
|
|
37419
|
-
return sink;
|
|
36998
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$G, source, reader, variables, fragments, parentRecordId);
|
|
37420
36999
|
};
|
|
37421
37000
|
}
|
|
37422
37001
|
function getTypeCacheKeys$P(astNode, state) {
|
|
@@ -37559,26 +37138,8 @@ function buildSelectionForNode$F(source, reader, parentNode, selectionNode, vari
|
|
|
37559
37138
|
}
|
|
37560
37139
|
function select$O(field, variables, fragments) {
|
|
37561
37140
|
return (source, reader, parentRecordId) => {
|
|
37562
|
-
var _a;
|
|
37563
37141
|
const sink = {};
|
|
37564
|
-
(
|
|
37565
|
-
const builtSelection = buildSelectionForNode$F(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
37566
|
-
if (builtSelection !== undefined) {
|
|
37567
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
37568
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
37569
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
37570
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
37571
|
-
if (sink[key] === undefined) {
|
|
37572
|
-
sink[key] = builtSelection[key];
|
|
37573
|
-
}
|
|
37574
|
-
});
|
|
37575
|
-
}
|
|
37576
|
-
else {
|
|
37577
|
-
Object.assign(sink, builtSelection);
|
|
37578
|
-
}
|
|
37579
|
-
}
|
|
37580
|
-
});
|
|
37581
|
-
return sink;
|
|
37142
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$F, source, reader, variables, fragments, parentRecordId);
|
|
37582
37143
|
};
|
|
37583
37144
|
}
|
|
37584
37145
|
function getTypeCacheKeys$O(astNode, state) {
|
|
@@ -37733,26 +37294,8 @@ function buildSelectionForNode$E(source, reader, parentNode, selectionNode, vari
|
|
|
37733
37294
|
}
|
|
37734
37295
|
function select$N(field, variables, fragments) {
|
|
37735
37296
|
return (source, reader, parentRecordId) => {
|
|
37736
|
-
var _a;
|
|
37737
37297
|
const sink = {};
|
|
37738
|
-
(
|
|
37739
|
-
const builtSelection = buildSelectionForNode$E(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
37740
|
-
if (builtSelection !== undefined) {
|
|
37741
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
37742
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
37743
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
37744
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
37745
|
-
if (sink[key] === undefined) {
|
|
37746
|
-
sink[key] = builtSelection[key];
|
|
37747
|
-
}
|
|
37748
|
-
});
|
|
37749
|
-
}
|
|
37750
|
-
else {
|
|
37751
|
-
Object.assign(sink, builtSelection);
|
|
37752
|
-
}
|
|
37753
|
-
}
|
|
37754
|
-
});
|
|
37755
|
-
return sink;
|
|
37298
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$E, source, reader, variables, fragments, parentRecordId);
|
|
37756
37299
|
};
|
|
37757
37300
|
}
|
|
37758
37301
|
function getMinimumSelections$v() {
|
|
@@ -37777,10 +37320,10 @@ function getTypeCacheKeys$N(astNode, state) {
|
|
|
37777
37320
|
representationName: name$D
|
|
37778
37321
|
});
|
|
37779
37322
|
// get all cache keys from normalizable fields
|
|
37780
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$E) :
|
|
37323
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$E) : new Map();
|
|
37781
37324
|
for (const fieldDataKey of Object.keys(data)) {
|
|
37782
37325
|
const fieldData = data[fieldDataKey];
|
|
37783
|
-
const requestedField =
|
|
37326
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
37784
37327
|
if (requestedField === undefined) {
|
|
37785
37328
|
continue; // Skip unknown field.
|
|
37786
37329
|
}
|
|
@@ -38075,26 +37618,8 @@ function buildSelectionForNode$D(source, reader, parentNode, selectionNode, vari
|
|
|
38075
37618
|
}
|
|
38076
37619
|
function select$M(field, variables, fragments) {
|
|
38077
37620
|
return (source, reader, parentRecordId) => {
|
|
38078
|
-
var _a;
|
|
38079
37621
|
const sink = {};
|
|
38080
|
-
(
|
|
38081
|
-
const builtSelection = buildSelectionForNode$D(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
38082
|
-
if (builtSelection !== undefined) {
|
|
38083
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
38084
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
38085
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
38086
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
38087
|
-
if (sink[key] === undefined) {
|
|
38088
|
-
sink[key] = builtSelection[key];
|
|
38089
|
-
}
|
|
38090
|
-
});
|
|
38091
|
-
}
|
|
38092
|
-
else {
|
|
38093
|
-
Object.assign(sink, builtSelection);
|
|
38094
|
-
}
|
|
38095
|
-
}
|
|
38096
|
-
});
|
|
38097
|
-
return sink;
|
|
37622
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$D, source, reader, variables, fragments, parentRecordId);
|
|
38098
37623
|
};
|
|
38099
37624
|
}
|
|
38100
37625
|
function getTypeCacheKeys$M(astNode, state) {
|
|
@@ -38385,26 +37910,8 @@ function buildSelectionForNode$C(source, reader, parentNode, selectionNode, vari
|
|
|
38385
37910
|
}
|
|
38386
37911
|
function select$L(field, variables, fragments) {
|
|
38387
37912
|
return (source, reader, parentRecordId) => {
|
|
38388
|
-
var _a;
|
|
38389
37913
|
const sink = {};
|
|
38390
|
-
(
|
|
38391
|
-
const builtSelection = buildSelectionForNode$C(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
38392
|
-
if (builtSelection !== undefined) {
|
|
38393
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
38394
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
38395
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
38396
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
38397
|
-
if (sink[key] === undefined) {
|
|
38398
|
-
sink[key] = builtSelection[key];
|
|
38399
|
-
}
|
|
38400
|
-
});
|
|
38401
|
-
}
|
|
38402
|
-
else {
|
|
38403
|
-
Object.assign(sink, builtSelection);
|
|
38404
|
-
}
|
|
38405
|
-
}
|
|
38406
|
-
});
|
|
38407
|
-
return sink;
|
|
37914
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$C, source, reader, variables, fragments, parentRecordId);
|
|
38408
37915
|
};
|
|
38409
37916
|
}
|
|
38410
37917
|
function getTypeCacheKeys$L(astNode, state) {
|
|
@@ -38553,26 +38060,8 @@ function buildSelectionForNode$B(source, reader, parentNode, selectionNode, vari
|
|
|
38553
38060
|
}
|
|
38554
38061
|
function select$K(field, variables, fragments) {
|
|
38555
38062
|
return (source, reader, parentRecordId) => {
|
|
38556
|
-
var _a;
|
|
38557
38063
|
const sink = {};
|
|
38558
|
-
(
|
|
38559
|
-
const builtSelection = buildSelectionForNode$B(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
38560
|
-
if (builtSelection !== undefined) {
|
|
38561
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
38562
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
38563
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
38564
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
38565
|
-
if (sink[key] === undefined) {
|
|
38566
|
-
sink[key] = builtSelection[key];
|
|
38567
|
-
}
|
|
38568
|
-
});
|
|
38569
|
-
}
|
|
38570
|
-
else {
|
|
38571
|
-
Object.assign(sink, builtSelection);
|
|
38572
|
-
}
|
|
38573
|
-
}
|
|
38574
|
-
});
|
|
38575
|
-
return sink;
|
|
38064
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$B, source, reader, variables, fragments, parentRecordId);
|
|
38576
38065
|
};
|
|
38577
38066
|
}
|
|
38578
38067
|
function getMinimumSelections$t() {
|
|
@@ -38597,10 +38086,10 @@ function getTypeCacheKeys$K(astNode, state) {
|
|
|
38597
38086
|
representationName: name$A
|
|
38598
38087
|
});
|
|
38599
38088
|
// get all cache keys from normalizable fields
|
|
38600
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$B) :
|
|
38089
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$B) : new Map();
|
|
38601
38090
|
for (const fieldDataKey of Object.keys(data)) {
|
|
38602
38091
|
const fieldData = data[fieldDataKey];
|
|
38603
|
-
const requestedField =
|
|
38092
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
38604
38093
|
if (requestedField === undefined) {
|
|
38605
38094
|
continue; // Skip unknown field.
|
|
38606
38095
|
}
|
|
@@ -38870,26 +38359,8 @@ function buildSelectionForNode$A(source, reader, parentNode, selectionNode, vari
|
|
|
38870
38359
|
}
|
|
38871
38360
|
function select$J(field, variables, fragments) {
|
|
38872
38361
|
return (source, reader, parentRecordId) => {
|
|
38873
|
-
var _a;
|
|
38874
38362
|
const sink = {};
|
|
38875
|
-
(
|
|
38876
|
-
const builtSelection = buildSelectionForNode$A(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
38877
|
-
if (builtSelection !== undefined) {
|
|
38878
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
38879
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
38880
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
38881
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
38882
|
-
if (sink[key] === undefined) {
|
|
38883
|
-
sink[key] = builtSelection[key];
|
|
38884
|
-
}
|
|
38885
|
-
});
|
|
38886
|
-
}
|
|
38887
|
-
else {
|
|
38888
|
-
Object.assign(sink, builtSelection);
|
|
38889
|
-
}
|
|
38890
|
-
}
|
|
38891
|
-
});
|
|
38892
|
-
return sink;
|
|
38363
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$A, source, reader, variables, fragments, parentRecordId);
|
|
38893
38364
|
};
|
|
38894
38365
|
}
|
|
38895
38366
|
function getTypeCacheKeys$J(astNode, state) {
|
|
@@ -39026,26 +38497,8 @@ function buildSelectionForNode$z(source, reader, parentNode, selectionNode, vari
|
|
|
39026
38497
|
}
|
|
39027
38498
|
function select$I(field, variables, fragments) {
|
|
39028
38499
|
return (source, reader, parentRecordId) => {
|
|
39029
|
-
var _a;
|
|
39030
38500
|
const sink = {};
|
|
39031
|
-
(
|
|
39032
|
-
const builtSelection = buildSelectionForNode$z(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
39033
|
-
if (builtSelection !== undefined) {
|
|
39034
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
39035
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
39036
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
39037
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
39038
|
-
if (sink[key] === undefined) {
|
|
39039
|
-
sink[key] = builtSelection[key];
|
|
39040
|
-
}
|
|
39041
|
-
});
|
|
39042
|
-
}
|
|
39043
|
-
else {
|
|
39044
|
-
Object.assign(sink, builtSelection);
|
|
39045
|
-
}
|
|
39046
|
-
}
|
|
39047
|
-
});
|
|
39048
|
-
return sink;
|
|
38501
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$z, source, reader, variables, fragments, parentRecordId);
|
|
39049
38502
|
};
|
|
39050
38503
|
}
|
|
39051
38504
|
function getTypeCacheKeys$I(astNode, state) {
|
|
@@ -39192,26 +38645,8 @@ function buildSelectionForNode$y(source, reader, parentNode, selectionNode, vari
|
|
|
39192
38645
|
}
|
|
39193
38646
|
function select$H(field, variables, fragments) {
|
|
39194
38647
|
return (source, reader, parentRecordId) => {
|
|
39195
|
-
var _a;
|
|
39196
38648
|
const sink = {};
|
|
39197
|
-
(
|
|
39198
|
-
const builtSelection = buildSelectionForNode$y(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
39199
|
-
if (builtSelection !== undefined) {
|
|
39200
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
39201
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
39202
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
39203
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
39204
|
-
if (sink[key] === undefined) {
|
|
39205
|
-
sink[key] = builtSelection[key];
|
|
39206
|
-
}
|
|
39207
|
-
});
|
|
39208
|
-
}
|
|
39209
|
-
else {
|
|
39210
|
-
Object.assign(sink, builtSelection);
|
|
39211
|
-
}
|
|
39212
|
-
}
|
|
39213
|
-
});
|
|
39214
|
-
return sink;
|
|
38649
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$y, source, reader, variables, fragments, parentRecordId);
|
|
39215
38650
|
};
|
|
39216
38651
|
}
|
|
39217
38652
|
function getMinimumSelections$s() {
|
|
@@ -39236,10 +38671,10 @@ function getTypeCacheKeys$H(astNode, state) {
|
|
|
39236
38671
|
representationName: name$x
|
|
39237
38672
|
});
|
|
39238
38673
|
// get all cache keys from normalizable fields
|
|
39239
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$y) :
|
|
38674
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$y) : new Map();
|
|
39240
38675
|
for (const fieldDataKey of Object.keys(data)) {
|
|
39241
38676
|
const fieldData = data[fieldDataKey];
|
|
39242
|
-
const requestedField =
|
|
38677
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
39243
38678
|
if (requestedField === undefined) {
|
|
39244
38679
|
continue; // Skip unknown field.
|
|
39245
38680
|
}
|
|
@@ -39413,26 +38848,8 @@ function buildSelectionForNode$x(source, reader, parentNode, selectionNode, vari
|
|
|
39413
38848
|
}
|
|
39414
38849
|
function select$G(field, variables, fragments) {
|
|
39415
38850
|
return (source, reader, parentRecordId) => {
|
|
39416
|
-
var _a;
|
|
39417
38851
|
const sink = {};
|
|
39418
|
-
(
|
|
39419
|
-
const builtSelection = buildSelectionForNode$x(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
39420
|
-
if (builtSelection !== undefined) {
|
|
39421
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
39422
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
39423
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
39424
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
39425
|
-
if (sink[key] === undefined) {
|
|
39426
|
-
sink[key] = builtSelection[key];
|
|
39427
|
-
}
|
|
39428
|
-
});
|
|
39429
|
-
}
|
|
39430
|
-
else {
|
|
39431
|
-
Object.assign(sink, builtSelection);
|
|
39432
|
-
}
|
|
39433
|
-
}
|
|
39434
|
-
});
|
|
39435
|
-
return sink;
|
|
38852
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$x, source, reader, variables, fragments, parentRecordId);
|
|
39436
38853
|
};
|
|
39437
38854
|
}
|
|
39438
38855
|
function getTypeCacheKeys$G(astNode, state) {
|
|
@@ -39581,26 +38998,8 @@ function buildSelectionForNode$w(source, reader, parentNode, selectionNode, vari
|
|
|
39581
38998
|
}
|
|
39582
38999
|
function select$F(field, variables, fragments) {
|
|
39583
39000
|
return (source, reader, parentRecordId) => {
|
|
39584
|
-
var _a;
|
|
39585
39001
|
const sink = {};
|
|
39586
|
-
(
|
|
39587
|
-
const builtSelection = buildSelectionForNode$w(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
39588
|
-
if (builtSelection !== undefined) {
|
|
39589
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
39590
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
39591
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
39592
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
39593
|
-
if (sink[key] === undefined) {
|
|
39594
|
-
sink[key] = builtSelection[key];
|
|
39595
|
-
}
|
|
39596
|
-
});
|
|
39597
|
-
}
|
|
39598
|
-
else {
|
|
39599
|
-
Object.assign(sink, builtSelection);
|
|
39600
|
-
}
|
|
39601
|
-
}
|
|
39602
|
-
});
|
|
39603
|
-
return sink;
|
|
39002
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$w, source, reader, variables, fragments, parentRecordId);
|
|
39604
39003
|
};
|
|
39605
39004
|
}
|
|
39606
39005
|
function getMinimumSelections$r() {
|
|
@@ -39625,10 +39024,10 @@ function getTypeCacheKeys$F(astNode, state) {
|
|
|
39625
39024
|
representationName: name$v
|
|
39626
39025
|
});
|
|
39627
39026
|
// get all cache keys from normalizable fields
|
|
39628
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$w) :
|
|
39027
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$w) : new Map();
|
|
39629
39028
|
for (const fieldDataKey of Object.keys(data)) {
|
|
39630
39029
|
const fieldData = data[fieldDataKey];
|
|
39631
|
-
const requestedField =
|
|
39030
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
39632
39031
|
if (requestedField === undefined) {
|
|
39633
39032
|
continue; // Skip unknown field.
|
|
39634
39033
|
}
|
|
@@ -39917,26 +39316,8 @@ function buildSelectionForNode$v(source, reader, parentNode, selectionNode, vari
|
|
|
39917
39316
|
}
|
|
39918
39317
|
function select$E(field, variables, fragments) {
|
|
39919
39318
|
return (source, reader, parentRecordId) => {
|
|
39920
|
-
var _a;
|
|
39921
39319
|
const sink = {};
|
|
39922
|
-
(
|
|
39923
|
-
const builtSelection = buildSelectionForNode$v(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
39924
|
-
if (builtSelection !== undefined) {
|
|
39925
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
39926
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
39927
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
39928
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
39929
|
-
if (sink[key] === undefined) {
|
|
39930
|
-
sink[key] = builtSelection[key];
|
|
39931
|
-
}
|
|
39932
|
-
});
|
|
39933
|
-
}
|
|
39934
|
-
else {
|
|
39935
|
-
Object.assign(sink, builtSelection);
|
|
39936
|
-
}
|
|
39937
|
-
}
|
|
39938
|
-
});
|
|
39939
|
-
return sink;
|
|
39320
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$v, source, reader, variables, fragments, parentRecordId);
|
|
39940
39321
|
};
|
|
39941
39322
|
}
|
|
39942
39323
|
function getTypeCacheKeys$E(astNode, state) {
|
|
@@ -40085,26 +39466,8 @@ function buildSelectionForNode$u(source, reader, parentNode, selectionNode, vari
|
|
|
40085
39466
|
}
|
|
40086
39467
|
function select$D(field, variables, fragments) {
|
|
40087
39468
|
return (source, reader, parentRecordId) => {
|
|
40088
|
-
var _a;
|
|
40089
39469
|
const sink = {};
|
|
40090
|
-
(
|
|
40091
|
-
const builtSelection = buildSelectionForNode$u(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
40092
|
-
if (builtSelection !== undefined) {
|
|
40093
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
40094
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
40095
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
40096
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
40097
|
-
if (sink[key] === undefined) {
|
|
40098
|
-
sink[key] = builtSelection[key];
|
|
40099
|
-
}
|
|
40100
|
-
});
|
|
40101
|
-
}
|
|
40102
|
-
else {
|
|
40103
|
-
Object.assign(sink, builtSelection);
|
|
40104
|
-
}
|
|
40105
|
-
}
|
|
40106
|
-
});
|
|
40107
|
-
return sink;
|
|
39470
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$u, source, reader, variables, fragments, parentRecordId);
|
|
40108
39471
|
};
|
|
40109
39472
|
}
|
|
40110
39473
|
function getMinimumSelections$q() {
|
|
@@ -40129,10 +39492,10 @@ function getTypeCacheKeys$D(astNode, state) {
|
|
|
40129
39492
|
representationName: name$t
|
|
40130
39493
|
});
|
|
40131
39494
|
// get all cache keys from normalizable fields
|
|
40132
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$u) :
|
|
39495
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$u) : new Map();
|
|
40133
39496
|
for (const fieldDataKey of Object.keys(data)) {
|
|
40134
39497
|
const fieldData = data[fieldDataKey];
|
|
40135
|
-
const requestedField =
|
|
39498
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
40136
39499
|
if (requestedField === undefined) {
|
|
40137
39500
|
continue; // Skip unknown field.
|
|
40138
39501
|
}
|
|
@@ -40429,26 +39792,8 @@ function buildSelectionForNode$t(source, reader, parentNode, selectionNode, vari
|
|
|
40429
39792
|
}
|
|
40430
39793
|
function select$C(field, variables, fragments) {
|
|
40431
39794
|
return (source, reader, parentRecordId) => {
|
|
40432
|
-
var _a;
|
|
40433
39795
|
const sink = {};
|
|
40434
|
-
(
|
|
40435
|
-
const builtSelection = buildSelectionForNode$t(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
40436
|
-
if (builtSelection !== undefined) {
|
|
40437
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
40438
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
40439
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
40440
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
40441
|
-
if (sink[key] === undefined) {
|
|
40442
|
-
sink[key] = builtSelection[key];
|
|
40443
|
-
}
|
|
40444
|
-
});
|
|
40445
|
-
}
|
|
40446
|
-
else {
|
|
40447
|
-
Object.assign(sink, builtSelection);
|
|
40448
|
-
}
|
|
40449
|
-
}
|
|
40450
|
-
});
|
|
40451
|
-
return sink;
|
|
39796
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$t, source, reader, variables, fragments, parentRecordId);
|
|
40452
39797
|
};
|
|
40453
39798
|
}
|
|
40454
39799
|
function getMinimumSelections$p() {
|
|
@@ -40473,10 +39818,10 @@ function getTypeCacheKeys$C(astNode, state) {
|
|
|
40473
39818
|
representationName: name$s
|
|
40474
39819
|
});
|
|
40475
39820
|
// get all cache keys from normalizable fields
|
|
40476
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$t) :
|
|
39821
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$t) : new Map();
|
|
40477
39822
|
for (const fieldDataKey of Object.keys(data)) {
|
|
40478
39823
|
const fieldData = data[fieldDataKey];
|
|
40479
|
-
const requestedField =
|
|
39824
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
40480
39825
|
if (requestedField === undefined) {
|
|
40481
39826
|
continue; // Skip unknown field.
|
|
40482
39827
|
}
|
|
@@ -40758,26 +40103,8 @@ function buildSelectionForNode$s(source, reader, parentNode, selectionNode, vari
|
|
|
40758
40103
|
}
|
|
40759
40104
|
function select$B(field, variables, fragments) {
|
|
40760
40105
|
return (source, reader, parentRecordId) => {
|
|
40761
|
-
var _a;
|
|
40762
40106
|
const sink = {};
|
|
40763
|
-
(
|
|
40764
|
-
const builtSelection = buildSelectionForNode$s(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
40765
|
-
if (builtSelection !== undefined) {
|
|
40766
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
40767
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
40768
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
40769
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
40770
|
-
if (sink[key] === undefined) {
|
|
40771
|
-
sink[key] = builtSelection[key];
|
|
40772
|
-
}
|
|
40773
|
-
});
|
|
40774
|
-
}
|
|
40775
|
-
else {
|
|
40776
|
-
Object.assign(sink, builtSelection);
|
|
40777
|
-
}
|
|
40778
|
-
}
|
|
40779
|
-
});
|
|
40780
|
-
return sink;
|
|
40107
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$s, source, reader, variables, fragments, parentRecordId);
|
|
40781
40108
|
};
|
|
40782
40109
|
}
|
|
40783
40110
|
function getTypeCacheKeys$B(astNode, state) {
|
|
@@ -40926,26 +40253,8 @@ function buildSelectionForNode$r(source, reader, parentNode, selectionNode, vari
|
|
|
40926
40253
|
}
|
|
40927
40254
|
function select$A(field, variables, fragments) {
|
|
40928
40255
|
return (source, reader, parentRecordId) => {
|
|
40929
|
-
var _a;
|
|
40930
40256
|
const sink = {};
|
|
40931
|
-
(
|
|
40932
|
-
const builtSelection = buildSelectionForNode$r(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
40933
|
-
if (builtSelection !== undefined) {
|
|
40934
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
40935
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
40936
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
40937
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
40938
|
-
if (sink[key] === undefined) {
|
|
40939
|
-
sink[key] = builtSelection[key];
|
|
40940
|
-
}
|
|
40941
|
-
});
|
|
40942
|
-
}
|
|
40943
|
-
else {
|
|
40944
|
-
Object.assign(sink, builtSelection);
|
|
40945
|
-
}
|
|
40946
|
-
}
|
|
40947
|
-
});
|
|
40948
|
-
return sink;
|
|
40257
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$r, source, reader, variables, fragments, parentRecordId);
|
|
40949
40258
|
};
|
|
40950
40259
|
}
|
|
40951
40260
|
function getMinimumSelections$o() {
|
|
@@ -40970,10 +40279,10 @@ function getTypeCacheKeys$A(astNode, state) {
|
|
|
40970
40279
|
representationName: name$q
|
|
40971
40280
|
});
|
|
40972
40281
|
// get all cache keys from normalizable fields
|
|
40973
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$r) :
|
|
40282
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$r) : new Map();
|
|
40974
40283
|
for (const fieldDataKey of Object.keys(data)) {
|
|
40975
40284
|
const fieldData = data[fieldDataKey];
|
|
40976
|
-
const requestedField =
|
|
40285
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
40977
40286
|
if (requestedField === undefined) {
|
|
40978
40287
|
continue; // Skip unknown field.
|
|
40979
40288
|
}
|
|
@@ -41255,26 +40564,8 @@ function buildSelectionForNode$q(source, reader, parentNode, selectionNode, vari
|
|
|
41255
40564
|
}
|
|
41256
40565
|
function select$z(field, variables, fragments) {
|
|
41257
40566
|
return (source, reader, parentRecordId) => {
|
|
41258
|
-
var _a;
|
|
41259
40567
|
const sink = {};
|
|
41260
|
-
(
|
|
41261
|
-
const builtSelection = buildSelectionForNode$q(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
41262
|
-
if (builtSelection !== undefined) {
|
|
41263
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
41264
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
41265
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
41266
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
41267
|
-
if (sink[key] === undefined) {
|
|
41268
|
-
sink[key] = builtSelection[key];
|
|
41269
|
-
}
|
|
41270
|
-
});
|
|
41271
|
-
}
|
|
41272
|
-
else {
|
|
41273
|
-
Object.assign(sink, builtSelection);
|
|
41274
|
-
}
|
|
41275
|
-
}
|
|
41276
|
-
});
|
|
41277
|
-
return sink;
|
|
40568
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$q, source, reader, variables, fragments, parentRecordId);
|
|
41278
40569
|
};
|
|
41279
40570
|
}
|
|
41280
40571
|
function getMinimumSelections$n() {
|
|
@@ -41299,10 +40590,10 @@ function getTypeCacheKeys$z(astNode, state) {
|
|
|
41299
40590
|
representationName: name$p
|
|
41300
40591
|
});
|
|
41301
40592
|
// get all cache keys from normalizable fields
|
|
41302
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$q) :
|
|
40593
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$q) : new Map();
|
|
41303
40594
|
for (const fieldDataKey of Object.keys(data)) {
|
|
41304
40595
|
const fieldData = data[fieldDataKey];
|
|
41305
|
-
const requestedField =
|
|
40596
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
41306
40597
|
if (requestedField === undefined) {
|
|
41307
40598
|
continue; // Skip unknown field.
|
|
41308
40599
|
}
|
|
@@ -41584,26 +40875,8 @@ function buildSelectionForNode$p(source, reader, parentNode, selectionNode, vari
|
|
|
41584
40875
|
}
|
|
41585
40876
|
function select$y(field, variables, fragments) {
|
|
41586
40877
|
return (source, reader, parentRecordId) => {
|
|
41587
|
-
var _a;
|
|
41588
40878
|
const sink = {};
|
|
41589
|
-
(
|
|
41590
|
-
const builtSelection = buildSelectionForNode$p(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
41591
|
-
if (builtSelection !== undefined) {
|
|
41592
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
41593
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
41594
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
41595
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
41596
|
-
if (sink[key] === undefined) {
|
|
41597
|
-
sink[key] = builtSelection[key];
|
|
41598
|
-
}
|
|
41599
|
-
});
|
|
41600
|
-
}
|
|
41601
|
-
else {
|
|
41602
|
-
Object.assign(sink, builtSelection);
|
|
41603
|
-
}
|
|
41604
|
-
}
|
|
41605
|
-
});
|
|
41606
|
-
return sink;
|
|
40879
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$p, source, reader, variables, fragments, parentRecordId);
|
|
41607
40880
|
};
|
|
41608
40881
|
}
|
|
41609
40882
|
function getMinimumSelections$m() {
|
|
@@ -41628,10 +40901,10 @@ function getTypeCacheKeys$y(astNode, state) {
|
|
|
41628
40901
|
representationName: name$o
|
|
41629
40902
|
});
|
|
41630
40903
|
// get all cache keys from normalizable fields
|
|
41631
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$p) :
|
|
40904
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$p) : new Map();
|
|
41632
40905
|
for (const fieldDataKey of Object.keys(data)) {
|
|
41633
40906
|
const fieldData = data[fieldDataKey];
|
|
41634
|
-
const requestedField =
|
|
40907
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
41635
40908
|
if (requestedField === undefined) {
|
|
41636
40909
|
continue; // Skip unknown field.
|
|
41637
40910
|
}
|
|
@@ -41901,26 +41174,8 @@ function buildSelectionForNode$o(source, reader, parentNode, selectionNode, vari
|
|
|
41901
41174
|
}
|
|
41902
41175
|
function select$x(field, variables, fragments) {
|
|
41903
41176
|
return (source, reader, parentRecordId) => {
|
|
41904
|
-
var _a;
|
|
41905
41177
|
const sink = {};
|
|
41906
|
-
(
|
|
41907
|
-
const builtSelection = buildSelectionForNode$o(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
41908
|
-
if (builtSelection !== undefined) {
|
|
41909
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
41910
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
41911
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
41912
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
41913
|
-
if (sink[key] === undefined) {
|
|
41914
|
-
sink[key] = builtSelection[key];
|
|
41915
|
-
}
|
|
41916
|
-
});
|
|
41917
|
-
}
|
|
41918
|
-
else {
|
|
41919
|
-
Object.assign(sink, builtSelection);
|
|
41920
|
-
}
|
|
41921
|
-
}
|
|
41922
|
-
});
|
|
41923
|
-
return sink;
|
|
41178
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$o, source, reader, variables, fragments, parentRecordId);
|
|
41924
41179
|
};
|
|
41925
41180
|
}
|
|
41926
41181
|
function getTypeCacheKeys$x(astNode, state) {
|
|
@@ -42075,26 +41330,8 @@ function buildSelectionForNode$n(source, reader, parentNode, selectionNode, vari
|
|
|
42075
41330
|
}
|
|
42076
41331
|
function select$w(field, variables, fragments) {
|
|
42077
41332
|
return (source, reader, parentRecordId) => {
|
|
42078
|
-
var _a;
|
|
42079
41333
|
const sink = {};
|
|
42080
|
-
(
|
|
42081
|
-
const builtSelection = buildSelectionForNode$n(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
42082
|
-
if (builtSelection !== undefined) {
|
|
42083
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
42084
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
42085
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
42086
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
42087
|
-
if (sink[key] === undefined) {
|
|
42088
|
-
sink[key] = builtSelection[key];
|
|
42089
|
-
}
|
|
42090
|
-
});
|
|
42091
|
-
}
|
|
42092
|
-
else {
|
|
42093
|
-
Object.assign(sink, builtSelection);
|
|
42094
|
-
}
|
|
42095
|
-
}
|
|
42096
|
-
});
|
|
42097
|
-
return sink;
|
|
41334
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$n, source, reader, variables, fragments, parentRecordId);
|
|
42098
41335
|
};
|
|
42099
41336
|
}
|
|
42100
41337
|
function getMinimumSelections$l() {
|
|
@@ -42119,10 +41356,10 @@ function getTypeCacheKeys$w(astNode, state) {
|
|
|
42119
41356
|
representationName: name$m
|
|
42120
41357
|
});
|
|
42121
41358
|
// get all cache keys from normalizable fields
|
|
42122
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$n) :
|
|
41359
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$n) : new Map();
|
|
42123
41360
|
for (const fieldDataKey of Object.keys(data)) {
|
|
42124
41361
|
const fieldData = data[fieldDataKey];
|
|
42125
|
-
const requestedField =
|
|
41362
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
42126
41363
|
if (requestedField === undefined) {
|
|
42127
41364
|
continue; // Skip unknown field.
|
|
42128
41365
|
}
|
|
@@ -42410,26 +41647,8 @@ function buildSelectionForNode$m(source, reader, parentNode, selectionNode, vari
|
|
|
42410
41647
|
}
|
|
42411
41648
|
function select$v(field, variables, fragments) {
|
|
42412
41649
|
return (source, reader, parentRecordId) => {
|
|
42413
|
-
var _a;
|
|
42414
41650
|
const sink = {};
|
|
42415
|
-
(
|
|
42416
|
-
const builtSelection = buildSelectionForNode$m(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
42417
|
-
if (builtSelection !== undefined) {
|
|
42418
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
42419
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
42420
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
42421
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
42422
|
-
if (sink[key] === undefined) {
|
|
42423
|
-
sink[key] = builtSelection[key];
|
|
42424
|
-
}
|
|
42425
|
-
});
|
|
42426
|
-
}
|
|
42427
|
-
else {
|
|
42428
|
-
Object.assign(sink, builtSelection);
|
|
42429
|
-
}
|
|
42430
|
-
}
|
|
42431
|
-
});
|
|
42432
|
-
return sink;
|
|
41651
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$m, source, reader, variables, fragments, parentRecordId);
|
|
42433
41652
|
};
|
|
42434
41653
|
}
|
|
42435
41654
|
function getMinimumSelections$k() {
|
|
@@ -42454,10 +41673,10 @@ function getTypeCacheKeys$v(astNode, state) {
|
|
|
42454
41673
|
representationName: name$l
|
|
42455
41674
|
});
|
|
42456
41675
|
// get all cache keys from normalizable fields
|
|
42457
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$m) :
|
|
41676
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$m) : new Map();
|
|
42458
41677
|
for (const fieldDataKey of Object.keys(data)) {
|
|
42459
41678
|
const fieldData = data[fieldDataKey];
|
|
42460
|
-
const requestedField =
|
|
41679
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
42461
41680
|
if (requestedField === undefined) {
|
|
42462
41681
|
continue; // Skip unknown field.
|
|
42463
41682
|
}
|
|
@@ -42771,26 +41990,8 @@ function buildSelectionForNode$l(source, reader, parentNode, selectionNode, vari
|
|
|
42771
41990
|
}
|
|
42772
41991
|
function select$u(field, variables, fragments) {
|
|
42773
41992
|
return (source, reader, parentRecordId) => {
|
|
42774
|
-
var _a;
|
|
42775
41993
|
const sink = {};
|
|
42776
|
-
(
|
|
42777
|
-
const builtSelection = buildSelectionForNode$l(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
42778
|
-
if (builtSelection !== undefined) {
|
|
42779
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
42780
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
42781
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
42782
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
42783
|
-
if (sink[key] === undefined) {
|
|
42784
|
-
sink[key] = builtSelection[key];
|
|
42785
|
-
}
|
|
42786
|
-
});
|
|
42787
|
-
}
|
|
42788
|
-
else {
|
|
42789
|
-
Object.assign(sink, builtSelection);
|
|
42790
|
-
}
|
|
42791
|
-
}
|
|
42792
|
-
});
|
|
42793
|
-
return sink;
|
|
41994
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$l, source, reader, variables, fragments, parentRecordId);
|
|
42794
41995
|
};
|
|
42795
41996
|
}
|
|
42796
41997
|
function getTypeCacheKeys$u(astNode, state) {
|
|
@@ -42931,26 +42132,8 @@ function buildSelectionForNode$k(source, reader, parentNode, selectionNode, vari
|
|
|
42931
42132
|
}
|
|
42932
42133
|
function select$t(field, variables, fragments) {
|
|
42933
42134
|
return (source, reader, parentRecordId) => {
|
|
42934
|
-
var _a;
|
|
42935
42135
|
const sink = {};
|
|
42936
|
-
(
|
|
42937
|
-
const builtSelection = buildSelectionForNode$k(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
42938
|
-
if (builtSelection !== undefined) {
|
|
42939
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
42940
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
42941
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
42942
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
42943
|
-
if (sink[key] === undefined) {
|
|
42944
|
-
sink[key] = builtSelection[key];
|
|
42945
|
-
}
|
|
42946
|
-
});
|
|
42947
|
-
}
|
|
42948
|
-
else {
|
|
42949
|
-
Object.assign(sink, builtSelection);
|
|
42950
|
-
}
|
|
42951
|
-
}
|
|
42952
|
-
});
|
|
42953
|
-
return sink;
|
|
42136
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$k, source, reader, variables, fragments, parentRecordId);
|
|
42954
42137
|
};
|
|
42955
42138
|
}
|
|
42956
42139
|
function getMinimumSelections$j() {
|
|
@@ -42975,10 +42158,10 @@ function getTypeCacheKeys$t(astNode, state) {
|
|
|
42975
42158
|
representationName: name$j
|
|
42976
42159
|
});
|
|
42977
42160
|
// get all cache keys from normalizable fields
|
|
42978
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$k) :
|
|
42161
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$k) : new Map();
|
|
42979
42162
|
for (const fieldDataKey of Object.keys(data)) {
|
|
42980
42163
|
const fieldData = data[fieldDataKey];
|
|
42981
|
-
const requestedField =
|
|
42164
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
42982
42165
|
if (requestedField === undefined) {
|
|
42983
42166
|
continue; // Skip unknown field.
|
|
42984
42167
|
}
|
|
@@ -43146,26 +42329,8 @@ function buildSelectionForNode$j(source, reader, parentNode, selectionNode, vari
|
|
|
43146
42329
|
}
|
|
43147
42330
|
function select$s(field, variables, fragments) {
|
|
43148
42331
|
return (source, reader, parentRecordId) => {
|
|
43149
|
-
var _a;
|
|
43150
42332
|
const sink = {};
|
|
43151
|
-
(
|
|
43152
|
-
const builtSelection = buildSelectionForNode$j(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
43153
|
-
if (builtSelection !== undefined) {
|
|
43154
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
43155
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
43156
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
43157
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
43158
|
-
if (sink[key] === undefined) {
|
|
43159
|
-
sink[key] = builtSelection[key];
|
|
43160
|
-
}
|
|
43161
|
-
});
|
|
43162
|
-
}
|
|
43163
|
-
else {
|
|
43164
|
-
Object.assign(sink, builtSelection);
|
|
43165
|
-
}
|
|
43166
|
-
}
|
|
43167
|
-
});
|
|
43168
|
-
return sink;
|
|
42333
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$j, source, reader, variables, fragments, parentRecordId);
|
|
43169
42334
|
};
|
|
43170
42335
|
}
|
|
43171
42336
|
function getTypeCacheKeys$s(astNode, state) {
|
|
@@ -43302,26 +42467,8 @@ function buildSelectionForNode$i(source, reader, parentNode, selectionNode, vari
|
|
|
43302
42467
|
}
|
|
43303
42468
|
function select$r(field, variables, fragments) {
|
|
43304
42469
|
return (source, reader, parentRecordId) => {
|
|
43305
|
-
var _a;
|
|
43306
42470
|
const sink = {};
|
|
43307
|
-
(
|
|
43308
|
-
const builtSelection = buildSelectionForNode$i(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
43309
|
-
if (builtSelection !== undefined) {
|
|
43310
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
43311
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
43312
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
43313
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
43314
|
-
if (sink[key] === undefined) {
|
|
43315
|
-
sink[key] = builtSelection[key];
|
|
43316
|
-
}
|
|
43317
|
-
});
|
|
43318
|
-
}
|
|
43319
|
-
else {
|
|
43320
|
-
Object.assign(sink, builtSelection);
|
|
43321
|
-
}
|
|
43322
|
-
}
|
|
43323
|
-
});
|
|
43324
|
-
return sink;
|
|
42471
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$i, source, reader, variables, fragments, parentRecordId);
|
|
43325
42472
|
};
|
|
43326
42473
|
}
|
|
43327
42474
|
function getTypeCacheKeys$r(astNode, state) {
|
|
@@ -43492,26 +42639,8 @@ function buildSelectionForNode$h(source, reader, parentNode, selectionNode, vari
|
|
|
43492
42639
|
}
|
|
43493
42640
|
function select$q(field, variables, fragments) {
|
|
43494
42641
|
return (source, reader, parentRecordId) => {
|
|
43495
|
-
var _a;
|
|
43496
42642
|
const sink = {};
|
|
43497
|
-
(
|
|
43498
|
-
const builtSelection = buildSelectionForNode$h(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
43499
|
-
if (builtSelection !== undefined) {
|
|
43500
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
43501
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
43502
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
43503
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
43504
|
-
if (sink[key] === undefined) {
|
|
43505
|
-
sink[key] = builtSelection[key];
|
|
43506
|
-
}
|
|
43507
|
-
});
|
|
43508
|
-
}
|
|
43509
|
-
else {
|
|
43510
|
-
Object.assign(sink, builtSelection);
|
|
43511
|
-
}
|
|
43512
|
-
}
|
|
43513
|
-
});
|
|
43514
|
-
return sink;
|
|
42643
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$h, source, reader, variables, fragments, parentRecordId);
|
|
43515
42644
|
};
|
|
43516
42645
|
}
|
|
43517
42646
|
function getMinimumSelections$h() {
|
|
@@ -43672,26 +42801,8 @@ function buildSelectionForNode$g(source, reader, parentNode, selectionNode, vari
|
|
|
43672
42801
|
}
|
|
43673
42802
|
function select$p(field, variables, fragments) {
|
|
43674
42803
|
return (source, reader, parentRecordId) => {
|
|
43675
|
-
var _a;
|
|
43676
42804
|
const sink = {};
|
|
43677
|
-
(
|
|
43678
|
-
const builtSelection = buildSelectionForNode$g(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
43679
|
-
if (builtSelection !== undefined) {
|
|
43680
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
43681
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
43682
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
43683
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
43684
|
-
if (sink[key] === undefined) {
|
|
43685
|
-
sink[key] = builtSelection[key];
|
|
43686
|
-
}
|
|
43687
|
-
});
|
|
43688
|
-
}
|
|
43689
|
-
else {
|
|
43690
|
-
Object.assign(sink, builtSelection);
|
|
43691
|
-
}
|
|
43692
|
-
}
|
|
43693
|
-
});
|
|
43694
|
-
return sink;
|
|
42805
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$g, source, reader, variables, fragments, parentRecordId);
|
|
43695
42806
|
};
|
|
43696
42807
|
}
|
|
43697
42808
|
function getMinimumSelections$g() {
|
|
@@ -43844,26 +42955,8 @@ function buildSelectionForNode$f(source, reader, parentNode, selectionNode, vari
|
|
|
43844
42955
|
}
|
|
43845
42956
|
function select$o(field, variables, fragments) {
|
|
43846
42957
|
return (source, reader, parentRecordId) => {
|
|
43847
|
-
var _a;
|
|
43848
42958
|
const sink = {};
|
|
43849
|
-
(
|
|
43850
|
-
const builtSelection = buildSelectionForNode$f(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
43851
|
-
if (builtSelection !== undefined) {
|
|
43852
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
43853
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
43854
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
43855
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
43856
|
-
if (sink[key] === undefined) {
|
|
43857
|
-
sink[key] = builtSelection[key];
|
|
43858
|
-
}
|
|
43859
|
-
});
|
|
43860
|
-
}
|
|
43861
|
-
else {
|
|
43862
|
-
Object.assign(sink, builtSelection);
|
|
43863
|
-
}
|
|
43864
|
-
}
|
|
43865
|
-
});
|
|
43866
|
-
return sink;
|
|
42959
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$f, source, reader, variables, fragments, parentRecordId);
|
|
43867
42960
|
};
|
|
43868
42961
|
}
|
|
43869
42962
|
function getMinimumSelections$f() {
|
|
@@ -43888,10 +42981,10 @@ function getTypeCacheKeys$o(astNode, state) {
|
|
|
43888
42981
|
representationName: name$e
|
|
43889
42982
|
});
|
|
43890
42983
|
// get all cache keys from normalizable fields
|
|
43891
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$f) :
|
|
42984
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$f) : new Map();
|
|
43892
42985
|
for (const fieldDataKey of Object.keys(data)) {
|
|
43893
42986
|
const fieldData = data[fieldDataKey];
|
|
43894
|
-
const requestedField =
|
|
42987
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
43895
42988
|
if (requestedField === undefined) {
|
|
43896
42989
|
continue; // Skip unknown field.
|
|
43897
42990
|
}
|
|
@@ -44376,26 +43469,8 @@ function buildSelectionForNode$e(source, reader, parentNode, selectionNode, vari
|
|
|
44376
43469
|
}
|
|
44377
43470
|
function select$m(field, variables, fragments) {
|
|
44378
43471
|
return (source, reader, parentRecordId) => {
|
|
44379
|
-
var _a;
|
|
44380
43472
|
const sink = {};
|
|
44381
|
-
(
|
|
44382
|
-
const builtSelection = buildSelectionForNode$e(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
44383
|
-
if (builtSelection !== undefined) {
|
|
44384
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
44385
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
44386
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
44387
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
44388
|
-
if (sink[key] === undefined) {
|
|
44389
|
-
sink[key] = builtSelection[key];
|
|
44390
|
-
}
|
|
44391
|
-
});
|
|
44392
|
-
}
|
|
44393
|
-
else {
|
|
44394
|
-
Object.assign(sink, builtSelection);
|
|
44395
|
-
}
|
|
44396
|
-
}
|
|
44397
|
-
});
|
|
44398
|
-
return sink;
|
|
43473
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$e, source, reader, variables, fragments, parentRecordId);
|
|
44399
43474
|
};
|
|
44400
43475
|
}
|
|
44401
43476
|
function getMinimumSelections$d() {
|
|
@@ -44420,10 +43495,10 @@ function getTypeCacheKeys$m(astNode, state) {
|
|
|
44420
43495
|
representationName: name$d
|
|
44421
43496
|
});
|
|
44422
43497
|
// get all cache keys from normalizable fields
|
|
44423
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$e) :
|
|
43498
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$e) : new Map();
|
|
44424
43499
|
for (const fieldDataKey of Object.keys(data)) {
|
|
44425
43500
|
const fieldData = data[fieldDataKey];
|
|
44426
|
-
const requestedField =
|
|
43501
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
44427
43502
|
if (requestedField === undefined) {
|
|
44428
43503
|
continue; // Skip unknown field.
|
|
44429
43504
|
}
|
|
@@ -44972,26 +44047,8 @@ function buildSelectionForNode$d(source, reader, parentNode, selectionNode, vari
|
|
|
44972
44047
|
}
|
|
44973
44048
|
function select$l(field, variables, fragments) {
|
|
44974
44049
|
return (source, reader, parentRecordId) => {
|
|
44975
|
-
var _a;
|
|
44976
44050
|
const sink = {};
|
|
44977
|
-
(
|
|
44978
|
-
const builtSelection = buildSelectionForNode$d(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
44979
|
-
if (builtSelection !== undefined) {
|
|
44980
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
44981
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
44982
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
44983
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
44984
|
-
if (sink[key] === undefined) {
|
|
44985
|
-
sink[key] = builtSelection[key];
|
|
44986
|
-
}
|
|
44987
|
-
});
|
|
44988
|
-
}
|
|
44989
|
-
else {
|
|
44990
|
-
Object.assign(sink, builtSelection);
|
|
44991
|
-
}
|
|
44992
|
-
}
|
|
44993
|
-
});
|
|
44994
|
-
return sink;
|
|
44051
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$d, source, reader, variables, fragments, parentRecordId);
|
|
44995
44052
|
};
|
|
44996
44053
|
}
|
|
44997
44054
|
function getMinimumSelections$c() {
|
|
@@ -45016,10 +44073,10 @@ function getTypeCacheKeys$l(astNode, state) {
|
|
|
45016
44073
|
representationName: name$c
|
|
45017
44074
|
});
|
|
45018
44075
|
// get all cache keys from normalizable fields
|
|
45019
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$d) :
|
|
44076
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$d) : new Map();
|
|
45020
44077
|
for (const fieldDataKey of Object.keys(data)) {
|
|
45021
44078
|
const fieldData = data[fieldDataKey];
|
|
45022
|
-
const requestedField =
|
|
44079
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
45023
44080
|
if (requestedField === undefined) {
|
|
45024
44081
|
continue; // Skip unknown field.
|
|
45025
44082
|
}
|
|
@@ -45170,26 +44227,8 @@ function buildSelectionForNode$c(source, reader, parentNode, selectionNode, vari
|
|
|
45170
44227
|
}
|
|
45171
44228
|
function select$k(field, variables, fragments) {
|
|
45172
44229
|
return (source, reader, parentRecordId) => {
|
|
45173
|
-
var _a;
|
|
45174
44230
|
const sink = {};
|
|
45175
|
-
(
|
|
45176
|
-
const builtSelection = buildSelectionForNode$c(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
45177
|
-
if (builtSelection !== undefined) {
|
|
45178
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
45179
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
45180
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
45181
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
45182
|
-
if (sink[key] === undefined) {
|
|
45183
|
-
sink[key] = builtSelection[key];
|
|
45184
|
-
}
|
|
45185
|
-
});
|
|
45186
|
-
}
|
|
45187
|
-
else {
|
|
45188
|
-
Object.assign(sink, builtSelection);
|
|
45189
|
-
}
|
|
45190
|
-
}
|
|
45191
|
-
});
|
|
45192
|
-
return sink;
|
|
44231
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$c, source, reader, variables, fragments, parentRecordId);
|
|
45193
44232
|
};
|
|
45194
44233
|
}
|
|
45195
44234
|
function getMinimumSelections$b() {
|
|
@@ -45214,10 +44253,10 @@ function getTypeCacheKeys$k(astNode, state) {
|
|
|
45214
44253
|
representationName: name$b
|
|
45215
44254
|
});
|
|
45216
44255
|
// get all cache keys from normalizable fields
|
|
45217
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$c) :
|
|
44256
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$c) : new Map();
|
|
45218
44257
|
for (const fieldDataKey of Object.keys(data)) {
|
|
45219
44258
|
const fieldData = data[fieldDataKey];
|
|
45220
|
-
const requestedField =
|
|
44259
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
45221
44260
|
if (requestedField === undefined) {
|
|
45222
44261
|
continue; // Skip unknown field.
|
|
45223
44262
|
}
|
|
@@ -45375,26 +44414,8 @@ function buildSelectionForNode$b(source, reader, parentNode, selectionNode, vari
|
|
|
45375
44414
|
}
|
|
45376
44415
|
function select$j(field, variables, fragments) {
|
|
45377
44416
|
return (source, reader, parentRecordId) => {
|
|
45378
|
-
var _a;
|
|
45379
44417
|
const sink = {};
|
|
45380
|
-
(
|
|
45381
|
-
const builtSelection = buildSelectionForNode$b(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
45382
|
-
if (builtSelection !== undefined) {
|
|
45383
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
45384
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
45385
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
45386
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
45387
|
-
if (sink[key] === undefined) {
|
|
45388
|
-
sink[key] = builtSelection[key];
|
|
45389
|
-
}
|
|
45390
|
-
});
|
|
45391
|
-
}
|
|
45392
|
-
else {
|
|
45393
|
-
Object.assign(sink, builtSelection);
|
|
45394
|
-
}
|
|
45395
|
-
}
|
|
45396
|
-
});
|
|
45397
|
-
return sink;
|
|
44418
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$b, source, reader, variables, fragments, parentRecordId);
|
|
45398
44419
|
};
|
|
45399
44420
|
}
|
|
45400
44421
|
function getMinimumSelections$a() {
|
|
@@ -45620,26 +44641,8 @@ function buildSelectionForNode$a(source, reader, parentNode, selectionNode, vari
|
|
|
45620
44641
|
}
|
|
45621
44642
|
function select$i(field, variables, fragments) {
|
|
45622
44643
|
return (source, reader, parentRecordId) => {
|
|
45623
|
-
var _a;
|
|
45624
44644
|
const sink = {};
|
|
45625
|
-
(
|
|
45626
|
-
const builtSelection = buildSelectionForNode$a(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
45627
|
-
if (builtSelection !== undefined) {
|
|
45628
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
45629
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
45630
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
45631
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
45632
|
-
if (sink[key] === undefined) {
|
|
45633
|
-
sink[key] = builtSelection[key];
|
|
45634
|
-
}
|
|
45635
|
-
});
|
|
45636
|
-
}
|
|
45637
|
-
else {
|
|
45638
|
-
Object.assign(sink, builtSelection);
|
|
45639
|
-
}
|
|
45640
|
-
}
|
|
45641
|
-
});
|
|
45642
|
-
return sink;
|
|
44645
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$a, source, reader, variables, fragments, parentRecordId);
|
|
45643
44646
|
};
|
|
45644
44647
|
}
|
|
45645
44648
|
function getMinimumSelections$9() {
|
|
@@ -45665,10 +44668,10 @@ function getTypeCacheKeys$i(astNode, state) {
|
|
|
45665
44668
|
representationName: name$9
|
|
45666
44669
|
});
|
|
45667
44670
|
// get all cache keys from normalizable fields
|
|
45668
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$a) :
|
|
44671
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$a) : new Map();
|
|
45669
44672
|
for (const fieldDataKey of Object.keys(data)) {
|
|
45670
44673
|
const fieldData = data[fieldDataKey];
|
|
45671
|
-
const requestedField =
|
|
44674
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
45672
44675
|
if (requestedField === undefined) {
|
|
45673
44676
|
continue; // Skip unknown field.
|
|
45674
44677
|
}
|
|
@@ -46202,26 +45205,8 @@ function buildSelectionForNode$9(source, reader, parentNode, selectionNode, vari
|
|
|
46202
45205
|
}
|
|
46203
45206
|
function select$h(field, variables, fragments) {
|
|
46204
45207
|
return (source, reader, parentRecordId) => {
|
|
46205
|
-
var _a;
|
|
46206
45208
|
const sink = {};
|
|
46207
|
-
(
|
|
46208
|
-
const builtSelection = buildSelectionForNode$9(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
46209
|
-
if (builtSelection !== undefined) {
|
|
46210
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
46211
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
46212
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
46213
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
46214
|
-
if (sink[key] === undefined) {
|
|
46215
|
-
sink[key] = builtSelection[key];
|
|
46216
|
-
}
|
|
46217
|
-
});
|
|
46218
|
-
}
|
|
46219
|
-
else {
|
|
46220
|
-
Object.assign(sink, builtSelection);
|
|
46221
|
-
}
|
|
46222
|
-
}
|
|
46223
|
-
});
|
|
46224
|
-
return sink;
|
|
45209
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$9, source, reader, variables, fragments, parentRecordId);
|
|
46225
45210
|
};
|
|
46226
45211
|
}
|
|
46227
45212
|
function getMinimumSelections$7() {
|
|
@@ -46246,10 +45231,10 @@ function getTypeCacheKeys$h(astNode, state) {
|
|
|
46246
45231
|
representationName: name$8
|
|
46247
45232
|
});
|
|
46248
45233
|
// get all cache keys from normalizable fields
|
|
46249
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$9) :
|
|
45234
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$9) : new Map();
|
|
46250
45235
|
for (const fieldDataKey of Object.keys(data)) {
|
|
46251
45236
|
const fieldData = data[fieldDataKey];
|
|
46252
|
-
const requestedField =
|
|
45237
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
46253
45238
|
if (requestedField === undefined) {
|
|
46254
45239
|
continue; // Skip unknown field.
|
|
46255
45240
|
}
|
|
@@ -46388,26 +45373,8 @@ function buildSelectionForNode$8(source, reader, parentNode, selectionNode, vari
|
|
|
46388
45373
|
}
|
|
46389
45374
|
function select$g(field, variables, fragments) {
|
|
46390
45375
|
return (source, reader, parentRecordId) => {
|
|
46391
|
-
var _a;
|
|
46392
45376
|
const sink = {};
|
|
46393
|
-
(
|
|
46394
|
-
const builtSelection = buildSelectionForNode$8(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
46395
|
-
if (builtSelection !== undefined) {
|
|
46396
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
46397
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
46398
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
46399
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
46400
|
-
if (sink[key] === undefined) {
|
|
46401
|
-
sink[key] = builtSelection[key];
|
|
46402
|
-
}
|
|
46403
|
-
});
|
|
46404
|
-
}
|
|
46405
|
-
else {
|
|
46406
|
-
Object.assign(sink, builtSelection);
|
|
46407
|
-
}
|
|
46408
|
-
}
|
|
46409
|
-
});
|
|
46410
|
-
return sink;
|
|
45377
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$8, source, reader, variables, fragments, parentRecordId);
|
|
46411
45378
|
};
|
|
46412
45379
|
}
|
|
46413
45380
|
function getMinimumSelections$6() {
|
|
@@ -46726,10 +45693,10 @@ function ingestNonCursorConnectionType(astNode, state, specifics) {
|
|
|
46726
45693
|
function ingestTypeWithStrategy(astNode, state, isCursorConnectionType, { key, isFragmentApplicable, isMappedFieldImport, getFieldType, ramlIngestBlock, ingestPaginatedMetadata, mergeData, storeMetadataParams, createLink, }, strategy) {
|
|
46727
45694
|
const { data, variables, luvio, store } = state;
|
|
46728
45695
|
const sink = {};
|
|
46729
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable) :
|
|
45696
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable) : new Map();
|
|
46730
45697
|
for (const fieldDataKey of Object.keys(data)) {
|
|
46731
45698
|
const fieldData = data[fieldDataKey];
|
|
46732
|
-
const requestedField =
|
|
45699
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
46733
45700
|
if (requestedField === undefined) {
|
|
46734
45701
|
continue; // TODO: (W-11132802) We got a field back we didn't ask for. Call handleUnknownField.
|
|
46735
45702
|
}
|
|
@@ -46946,18 +45913,28 @@ function calculateRequestedFieldsForType(typename, selectionSet, namedFragmentsM
|
|
|
46946
45913
|
selections.push(selection);
|
|
46947
45914
|
}
|
|
46948
45915
|
if (selection.kind === "InlineFragment" && isFragmentApplicable(selection, typename)) {
|
|
45916
|
+
// loops over the map to get the values.
|
|
46949
45917
|
getRequestedFieldsForType(typename, selection.selectionSet, namedFragmentsMap, isFragmentApplicable)
|
|
46950
45918
|
.forEach(fragmentFieldSelection => { mergeFragmentWithExistingSelections(fragmentFieldSelection, selections); });
|
|
46951
45919
|
}
|
|
46952
45920
|
if (selection.kind === "FragmentSpread") {
|
|
46953
45921
|
const namedFragment = namedFragmentsMap[selection.name.value];
|
|
46954
45922
|
if (namedFragment && isFragmentApplicable(namedFragment, typename)) {
|
|
45923
|
+
// loops over the map to get the values.
|
|
46955
45924
|
getRequestedFieldsForType(typename, namedFragment.selectionSet, namedFragmentsMap, isFragmentApplicable)
|
|
46956
45925
|
.forEach(fragmentFieldSelection => { mergeFragmentWithExistingSelections(fragmentFieldSelection, selections); });
|
|
46957
45926
|
}
|
|
46958
45927
|
}
|
|
46959
45928
|
});
|
|
46960
|
-
|
|
45929
|
+
// Needs to happen after the selections are merged.
|
|
45930
|
+
return selections.reduce((acc, fieldNode) => {
|
|
45931
|
+
const fieldName = fieldNode.alias ? fieldNode.alias.value : fieldNode.name.value;
|
|
45932
|
+
// TODO: W-13485835. Some fields are not being merged, and this logic reproduces the current behavior in which the first field with name is being used.
|
|
45933
|
+
if (!acc.has(fieldName)) {
|
|
45934
|
+
acc.set(fieldName, fieldNode);
|
|
45935
|
+
}
|
|
45936
|
+
return acc;
|
|
45937
|
+
}, new Map());
|
|
46961
45938
|
}
|
|
46962
45939
|
let selectionSetRequestedFieldsWeakMap = new WeakMap();
|
|
46963
45940
|
function getRequestedFieldsForType(typename, selectionSet, namedFragmentsMap, isFragmentApplicable) {
|
|
@@ -47562,6 +46539,27 @@ function augmentDefaultVariableValues(variableDefinitions, variables) {
|
|
|
47562
46539
|
}
|
|
47563
46540
|
});
|
|
47564
46541
|
}
|
|
46542
|
+
function selectCalculateSink(sink, field, buildSelectionForNodeFn, source, reader, variables, fragments, parentRecordId) {
|
|
46543
|
+
var _a;
|
|
46544
|
+
(_a = field.selectionSet) === null || _a === void 0 ? void 0 : _a.selections.forEach((sel) => {
|
|
46545
|
+
const builtSelection = buildSelectionForNodeFn(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
46546
|
+
if (builtSelection !== undefined) {
|
|
46547
|
+
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
46548
|
+
Object.keys(builtSelection).forEach((key, value) => {
|
|
46549
|
+
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
46550
|
+
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
46551
|
+
if (sink[key] === undefined) {
|
|
46552
|
+
sink[key] = builtSelection[key];
|
|
46553
|
+
}
|
|
46554
|
+
});
|
|
46555
|
+
}
|
|
46556
|
+
else {
|
|
46557
|
+
Object.assign(sink, builtSelection);
|
|
46558
|
+
}
|
|
46559
|
+
}
|
|
46560
|
+
});
|
|
46561
|
+
return sink;
|
|
46562
|
+
}
|
|
47565
46563
|
function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key, sink, variables, fragments, selectFn) {
|
|
47566
46564
|
var _a, _b, _c, _d, _e;
|
|
47567
46565
|
const source = resolvedLink.data.data;
|
|
@@ -47755,26 +46753,8 @@ function buildSelectionForNode$6(source, reader, parentNode, selectionNode, vari
|
|
|
47755
46753
|
}
|
|
47756
46754
|
function select$f(field, variables, fragments) {
|
|
47757
46755
|
return (source, reader, parentRecordId) => {
|
|
47758
|
-
var _a;
|
|
47759
46756
|
const sink = {};
|
|
47760
|
-
(
|
|
47761
|
-
const builtSelection = buildSelectionForNode$6(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
47762
|
-
if (builtSelection !== undefined) {
|
|
47763
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
47764
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
47765
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
47766
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
47767
|
-
if (sink[key] === undefined) {
|
|
47768
|
-
sink[key] = builtSelection[key];
|
|
47769
|
-
}
|
|
47770
|
-
});
|
|
47771
|
-
}
|
|
47772
|
-
else {
|
|
47773
|
-
Object.assign(sink, builtSelection);
|
|
47774
|
-
}
|
|
47775
|
-
}
|
|
47776
|
-
});
|
|
47777
|
-
return sink;
|
|
46757
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$6, source, reader, variables, fragments, parentRecordId);
|
|
47778
46758
|
};
|
|
47779
46759
|
}
|
|
47780
46760
|
function getTypeCacheKeys$f(astNode, state) {
|
|
@@ -47855,7 +46835,7 @@ function convertGraphQLToRaml(astNode, state) {
|
|
|
47855
46835
|
const { data } = state;
|
|
47856
46836
|
const requestedFields = astNode.selectionSet
|
|
47857
46837
|
? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$5)
|
|
47858
|
-
:
|
|
46838
|
+
: new Map();
|
|
47859
46839
|
const { fieldsBag, trie } = createFieldsBagAndTrie(data, requestedFields, state);
|
|
47860
46840
|
const recordRepresentation = {
|
|
47861
46841
|
apiName: data.ApiName,
|
|
@@ -47884,7 +46864,7 @@ function createFieldsBagAndTrie(data, requestedFields, parentState) {
|
|
|
47884
46864
|
};
|
|
47885
46865
|
for (const fieldDataKey of Object.keys(data)) {
|
|
47886
46866
|
const fieldData = data[fieldDataKey];
|
|
47887
|
-
const requestedField =
|
|
46867
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
47888
46868
|
if (requestedField === undefined) {
|
|
47889
46869
|
continue; // We got a field back we didn't ask for. Skip.
|
|
47890
46870
|
}
|
|
@@ -47974,9 +46954,8 @@ function convertAstToTrie(astNode, fragments) {
|
|
|
47974
46954
|
const requestedFields = astNode.selectionSet
|
|
47975
46955
|
? getRequestedFieldsForType('', // data is null here
|
|
47976
46956
|
astNode.selectionSet, fragments, isFragmentApplicable$5)
|
|
47977
|
-
:
|
|
47978
|
-
for (
|
|
47979
|
-
const field = requestedFields[i];
|
|
46957
|
+
: new Map();
|
|
46958
|
+
for (const [, field] of requestedFields) {
|
|
47980
46959
|
const fieldType = getFieldType$9(field);
|
|
47981
46960
|
const fieldName = field.name.value;
|
|
47982
46961
|
//Untyped field - Adapter forwarded request?
|
|
@@ -48323,10 +47302,10 @@ function getTypeCacheKeys$e(astNode, state) {
|
|
|
48323
47302
|
// get all cache keys from normalizable fields
|
|
48324
47303
|
const requestedFields = astNode.selectionSet
|
|
48325
47304
|
? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$3)
|
|
48326
|
-
:
|
|
47305
|
+
: new Map();
|
|
48327
47306
|
for (const fieldDataKey of ObjectKeys(data)) {
|
|
48328
47307
|
const fieldData = data[fieldDataKey];
|
|
48329
|
-
const requestedField =
|
|
47308
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
48330
47309
|
if (requestedField === undefined) {
|
|
48331
47310
|
continue; // Skip unknown field.
|
|
48332
47311
|
}
|
|
@@ -48548,28 +47527,10 @@ function buildSelectionForNode$5(source, reader, parentNode, selectionNode, vari
|
|
|
48548
47527
|
}
|
|
48549
47528
|
function select$e(field, variables, fragments) {
|
|
48550
47529
|
return (source, reader, parentRecordId) => {
|
|
48551
|
-
var _a;
|
|
48552
47530
|
const sink = {};
|
|
48553
47531
|
source = attachMappedData(source, reader);
|
|
48554
47532
|
reader.markSeenId(parentRecordId); // Always mark identifiable types as seen
|
|
48555
|
-
(
|
|
48556
|
-
const builtSelection = buildSelectionForNode$5(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
48557
|
-
if (builtSelection !== undefined) {
|
|
48558
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
48559
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
48560
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
48561
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
48562
|
-
if (sink[key] === undefined) {
|
|
48563
|
-
sink[key] = builtSelection[key];
|
|
48564
|
-
}
|
|
48565
|
-
});
|
|
48566
|
-
}
|
|
48567
|
-
else {
|
|
48568
|
-
Object.assign(sink, builtSelection);
|
|
48569
|
-
}
|
|
48570
|
-
}
|
|
48571
|
-
});
|
|
48572
|
-
return sink;
|
|
47533
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$5, source, reader, variables, fragments, parentRecordId);
|
|
48573
47534
|
};
|
|
48574
47535
|
}
|
|
48575
47536
|
function getTypeCacheKeys$d(astNode, state) {
|
|
@@ -48582,10 +47543,10 @@ function getTypeCacheKeys$d(astNode, state) {
|
|
|
48582
47543
|
representationName: name$5
|
|
48583
47544
|
});
|
|
48584
47545
|
// get all cache keys from normalizable fields
|
|
48585
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$5) :
|
|
47546
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$5) : new Map();
|
|
48586
47547
|
for (const fieldDataKey of Object.keys(data)) {
|
|
48587
47548
|
const fieldData = data[fieldDataKey];
|
|
48588
|
-
const requestedField =
|
|
47549
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
48589
47550
|
if (requestedField === undefined) {
|
|
48590
47551
|
continue; // Skip unknown field.
|
|
48591
47552
|
}
|
|
@@ -49449,26 +48410,8 @@ function buildSelectionForNode$4(source, reader, parentNode, selectionNode, vari
|
|
|
49449
48410
|
}
|
|
49450
48411
|
function select$d(field, variables, fragments) {
|
|
49451
48412
|
return (source, reader, parentRecordId) => {
|
|
49452
|
-
var _a;
|
|
49453
48413
|
const sink = {};
|
|
49454
|
-
(
|
|
49455
|
-
const builtSelection = buildSelectionForNode$4(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
49456
|
-
if (builtSelection !== undefined) {
|
|
49457
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
49458
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
49459
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
49460
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
49461
|
-
if (sink[key] === undefined) {
|
|
49462
|
-
sink[key] = builtSelection[key];
|
|
49463
|
-
}
|
|
49464
|
-
});
|
|
49465
|
-
}
|
|
49466
|
-
else {
|
|
49467
|
-
Object.assign(sink, builtSelection);
|
|
49468
|
-
}
|
|
49469
|
-
}
|
|
49470
|
-
});
|
|
49471
|
-
return sink;
|
|
48414
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$4, source, reader, variables, fragments, parentRecordId);
|
|
49472
48415
|
};
|
|
49473
48416
|
}
|
|
49474
48417
|
function getMinimumSelections$4() {
|
|
@@ -49493,10 +48436,10 @@ function getTypeCacheKeys$c(astNode, state) {
|
|
|
49493
48436
|
representationName: name$4
|
|
49494
48437
|
});
|
|
49495
48438
|
// get all cache keys from normalizable fields
|
|
49496
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$4) :
|
|
48439
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$4) : new Map();
|
|
49497
48440
|
for (const fieldDataKey of Object.keys(data)) {
|
|
49498
48441
|
const fieldData = data[fieldDataKey];
|
|
49499
|
-
const requestedField =
|
|
48442
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
49500
48443
|
if (requestedField === undefined) {
|
|
49501
48444
|
continue; // Skip unknown field.
|
|
49502
48445
|
}
|
|
@@ -49720,26 +48663,8 @@ function buildSelectionForNode$3(source, reader, parentNode, selectionNode, vari
|
|
|
49720
48663
|
}
|
|
49721
48664
|
function select$c(field, variables, fragments) {
|
|
49722
48665
|
return (source, reader, parentRecordId) => {
|
|
49723
|
-
var _a;
|
|
49724
48666
|
const sink = {};
|
|
49725
|
-
(
|
|
49726
|
-
const builtSelection = buildSelectionForNode$3(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
49727
|
-
if (builtSelection !== undefined) {
|
|
49728
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
49729
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
49730
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
49731
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
49732
|
-
if (sink[key] === undefined) {
|
|
49733
|
-
sink[key] = builtSelection[key];
|
|
49734
|
-
}
|
|
49735
|
-
});
|
|
49736
|
-
}
|
|
49737
|
-
else {
|
|
49738
|
-
Object.assign(sink, builtSelection);
|
|
49739
|
-
}
|
|
49740
|
-
}
|
|
49741
|
-
});
|
|
49742
|
-
return sink;
|
|
48667
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$3, source, reader, variables, fragments, parentRecordId);
|
|
49743
48668
|
};
|
|
49744
48669
|
}
|
|
49745
48670
|
function getMinimumSelections$3() {
|
|
@@ -49907,26 +48832,8 @@ function buildSelectionForNode$2(source, reader, parentNode, selectionNode, vari
|
|
|
49907
48832
|
}
|
|
49908
48833
|
function select$b(field, variables, fragments) {
|
|
49909
48834
|
return (source, reader, parentRecordId) => {
|
|
49910
|
-
var _a;
|
|
49911
48835
|
const sink = {};
|
|
49912
|
-
(
|
|
49913
|
-
const builtSelection = buildSelectionForNode$2(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
49914
|
-
if (builtSelection !== undefined) {
|
|
49915
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
49916
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
49917
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
49918
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
49919
|
-
if (sink[key] === undefined) {
|
|
49920
|
-
sink[key] = builtSelection[key];
|
|
49921
|
-
}
|
|
49922
|
-
});
|
|
49923
|
-
}
|
|
49924
|
-
else {
|
|
49925
|
-
Object.assign(sink, builtSelection);
|
|
49926
|
-
}
|
|
49927
|
-
}
|
|
49928
|
-
});
|
|
49929
|
-
return sink;
|
|
48836
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$2, source, reader, variables, fragments, parentRecordId);
|
|
49930
48837
|
};
|
|
49931
48838
|
}
|
|
49932
48839
|
function getMinimumSelections$2() {
|
|
@@ -49951,10 +48858,10 @@ function getTypeCacheKeys$b(astNode, state) {
|
|
|
49951
48858
|
representationName: name$2
|
|
49952
48859
|
});
|
|
49953
48860
|
// get all cache keys from normalizable fields
|
|
49954
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$2) :
|
|
48861
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$2) : new Map();
|
|
49955
48862
|
for (const fieldDataKey of Object.keys(data)) {
|
|
49956
48863
|
const fieldData = data[fieldDataKey];
|
|
49957
|
-
const requestedField =
|
|
48864
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
49958
48865
|
if (requestedField === undefined) {
|
|
49959
48866
|
continue; // Skip unknown field.
|
|
49960
48867
|
}
|
|
@@ -50099,26 +49006,8 @@ function buildSelectionForNode$1(source, reader, parentNode, selectionNode, vari
|
|
|
50099
49006
|
}
|
|
50100
49007
|
function select$a(field, variables, fragments) {
|
|
50101
49008
|
return (source, reader, parentRecordId) => {
|
|
50102
|
-
var _a;
|
|
50103
49009
|
const sink = {};
|
|
50104
|
-
(
|
|
50105
|
-
const builtSelection = buildSelectionForNode$1(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
50106
|
-
if (builtSelection !== undefined) {
|
|
50107
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
50108
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
50109
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
50110
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
50111
|
-
if (sink[key] === undefined) {
|
|
50112
|
-
sink[key] = builtSelection[key];
|
|
50113
|
-
}
|
|
50114
|
-
});
|
|
50115
|
-
}
|
|
50116
|
-
else {
|
|
50117
|
-
Object.assign(sink, builtSelection);
|
|
50118
|
-
}
|
|
50119
|
-
}
|
|
50120
|
-
});
|
|
50121
|
-
return sink;
|
|
49010
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$1, source, reader, variables, fragments, parentRecordId);
|
|
50122
49011
|
};
|
|
50123
49012
|
}
|
|
50124
49013
|
function getMinimumSelections$1() {
|
|
@@ -50143,10 +49032,10 @@ function getTypeCacheKeys$a(astNode, state) {
|
|
|
50143
49032
|
representationName: name$1
|
|
50144
49033
|
});
|
|
50145
49034
|
// get all cache keys from normalizable fields
|
|
50146
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$1) :
|
|
49035
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$1) : new Map();
|
|
50147
49036
|
for (const fieldDataKey of Object.keys(data)) {
|
|
50148
49037
|
const fieldData = data[fieldDataKey];
|
|
50149
|
-
const requestedField =
|
|
49038
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
50150
49039
|
if (requestedField === undefined) {
|
|
50151
49040
|
continue; // Skip unknown field.
|
|
50152
49041
|
}
|
|
@@ -50405,26 +49294,8 @@ function buildSelectionForNode(source, reader, parentNode, selectionNode, variab
|
|
|
50405
49294
|
}
|
|
50406
49295
|
function select$9(field, variables, fragments) {
|
|
50407
49296
|
return (source, reader, parentRecordId) => {
|
|
50408
|
-
var _a;
|
|
50409
49297
|
const sink = {};
|
|
50410
|
-
(
|
|
50411
|
-
const builtSelection = buildSelectionForNode(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
50412
|
-
if (builtSelection !== undefined) {
|
|
50413
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
50414
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
50415
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
50416
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
50417
|
-
if (sink[key] === undefined) {
|
|
50418
|
-
sink[key] = builtSelection[key];
|
|
50419
|
-
}
|
|
50420
|
-
});
|
|
50421
|
-
}
|
|
50422
|
-
else {
|
|
50423
|
-
Object.assign(sink, builtSelection);
|
|
50424
|
-
}
|
|
50425
|
-
}
|
|
50426
|
-
});
|
|
50427
|
-
return sink;
|
|
49298
|
+
return selectCalculateSink(sink, field, buildSelectionForNode, source, reader, variables, fragments, parentRecordId);
|
|
50428
49299
|
};
|
|
50429
49300
|
}
|
|
50430
49301
|
function getMinimumSelections() {
|
|
@@ -50441,10 +49312,10 @@ function getTypeCacheKeys$9(astNode, state) {
|
|
|
50441
49312
|
representationName: name
|
|
50442
49313
|
});
|
|
50443
49314
|
// get all cache keys from normalizable fields
|
|
50444
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable) :
|
|
49315
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable) : new Map();
|
|
50445
49316
|
for (const fieldDataKey of Object.keys(data)) {
|
|
50446
49317
|
const fieldData = data[fieldDataKey];
|
|
50447
|
-
const requestedField =
|
|
49318
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
50448
49319
|
if (requestedField === undefined) {
|
|
50449
49320
|
continue; // Skip unknown field.
|
|
50450
49321
|
}
|
|
@@ -52654,7 +51525,7 @@ function validate$a(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
52654
51525
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
52655
51526
|
let obj_recordTypeInfo_union0 = null;
|
|
52656
51527
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
52657
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
51528
|
+
const referencepath_recordTypeInfoValidationError = validate$1z(obj_recordTypeInfo, path_recordTypeInfo);
|
|
52658
51529
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
52659
51530
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
52660
51531
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|