@salesforce/lwc-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/main.js +407 -1536
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -364,7 +364,7 @@ var FragmentReadResultState;
|
|
|
364
364
|
({
|
|
365
365
|
state: FragmentReadResultState.Missing,
|
|
366
366
|
});
|
|
367
|
-
// engine version: 0.143.
|
|
367
|
+
// engine version: 0.143.4-64dccb30
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
370
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -7966,7 +7966,7 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
7966
7966
|
}
|
|
7967
7967
|
|
|
7968
7968
|
const VERSION$2o = "275ae22194003d1e53f548b81219c5cb";
|
|
7969
|
-
function validate$
|
|
7969
|
+
function validate$1I(obj, path = 'ListColumnRepresentation') {
|
|
7970
7970
|
const v_error = (() => {
|
|
7971
7971
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7972
7972
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8042,7 +8042,7 @@ const select$2U = function ListColumnRepresentationSelect() {
|
|
|
8042
8042
|
};
|
|
8043
8043
|
|
|
8044
8044
|
const VERSION$2n = "623aa9ce3a11031e35faf5671a41746e";
|
|
8045
|
-
function validate$
|
|
8045
|
+
function validate$1H(obj, path = 'ListFilterByInfoRepresentation') {
|
|
8046
8046
|
const v_error = (() => {
|
|
8047
8047
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8048
8048
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8105,7 +8105,7 @@ const select$2T = function ListFilterByInfoRepresentationSelect() {
|
|
|
8105
8105
|
};
|
|
8106
8106
|
|
|
8107
8107
|
const VERSION$2m = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
8108
|
-
function validate$
|
|
8108
|
+
function validate$1G(obj, path = 'ListReferenceRepresentation') {
|
|
8109
8109
|
const v_error = (() => {
|
|
8110
8110
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8111
8111
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8225,7 +8225,7 @@ function equals$$(existing, incoming) {
|
|
|
8225
8225
|
}
|
|
8226
8226
|
|
|
8227
8227
|
const VERSION$2l = "32def9b631252c12b91a8209c1f49f5a";
|
|
8228
|
-
function validate$
|
|
8228
|
+
function validate$1F(obj, path = 'ListOrderByInfoRepresentation') {
|
|
8229
8229
|
const v_error = (() => {
|
|
8230
8230
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8231
8231
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8292,7 +8292,7 @@ const select$2R = function ListOrderByInfoRepresentationSelect() {
|
|
|
8292
8292
|
};
|
|
8293
8293
|
|
|
8294
8294
|
const VERSION$2k = "2634258f216db34315c06d759a35676d";
|
|
8295
|
-
function validate$
|
|
8295
|
+
function validate$1E(obj, path = 'ListScopeEntityRepresentation') {
|
|
8296
8296
|
const v_error = (() => {
|
|
8297
8297
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8298
8298
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8329,7 +8329,7 @@ const select$2Q = function ListScopeEntityRepresentationSelect() {
|
|
|
8329
8329
|
};
|
|
8330
8330
|
|
|
8331
8331
|
const VERSION$2j = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
8332
|
-
function validate$
|
|
8332
|
+
function validate$1D(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
8333
8333
|
const v_error = (() => {
|
|
8334
8334
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8335
8335
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8375,7 +8375,7 @@ const select$2P = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
8375
8375
|
};
|
|
8376
8376
|
|
|
8377
8377
|
const VERSION$2i = "a51de242c746e5500a833e84dfaa2170";
|
|
8378
|
-
function validate$
|
|
8378
|
+
function validate$1C(obj, path = 'ListScopeRepresentation') {
|
|
8379
8379
|
const v_error = (() => {
|
|
8380
8380
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8381
8381
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8389,7 +8389,7 @@ function validate$1B(obj, path = 'ListScopeRepresentation') {
|
|
|
8389
8389
|
const path_entity = path + '.entity';
|
|
8390
8390
|
let obj_entity_union0 = null;
|
|
8391
8391
|
const obj_entity_union0_error = (() => {
|
|
8392
|
-
const referencepath_entityValidationError = validate$
|
|
8392
|
+
const referencepath_entityValidationError = validate$1E(obj_entity, path_entity);
|
|
8393
8393
|
if (referencepath_entityValidationError !== null) {
|
|
8394
8394
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
8395
8395
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8423,7 +8423,7 @@ function validate$1B(obj, path = 'ListScopeRepresentation') {
|
|
|
8423
8423
|
const path_relatedEntity = path + '.relatedEntity';
|
|
8424
8424
|
let obj_relatedEntity_union0 = null;
|
|
8425
8425
|
const obj_relatedEntity_union0_error = (() => {
|
|
8426
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
8426
|
+
const referencepath_relatedEntityValidationError = validate$1D(obj_relatedEntity, path_relatedEntity);
|
|
8427
8427
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
8428
8428
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
8429
8429
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8484,7 +8484,7 @@ const select$2O = function ListScopeRepresentationSelect() {
|
|
|
8484
8484
|
};
|
|
8485
8485
|
|
|
8486
8486
|
const VERSION$2h = "6506134f4d72fdfa349fe60ef1af2413";
|
|
8487
|
-
function validate$
|
|
8487
|
+
function validate$1B(obj, path = 'ListUserPreferenceRepresentation') {
|
|
8488
8488
|
const v_error = (() => {
|
|
8489
8489
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8490
8490
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8542,7 +8542,7 @@ const select$2N = function ListUserPreferenceRepresentationSelect() {
|
|
|
8542
8542
|
|
|
8543
8543
|
const TTL$C = 900000;
|
|
8544
8544
|
const VERSION$2g = "8b55d621d80c84ec2e331abc4e12fc56";
|
|
8545
|
-
function validate$
|
|
8545
|
+
function validate$1A(obj, path = 'ListInfoRepresentation') {
|
|
8546
8546
|
const v_error = (() => {
|
|
8547
8547
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8548
8548
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8570,7 +8570,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
8570
8570
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
8571
8571
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
8572
8572
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
8573
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
8573
|
+
const referencepath_displayColumns_itemValidationError = validate$1I(obj_displayColumns_item, path_displayColumns_item);
|
|
8574
8574
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
8575
8575
|
let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
8576
8576
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8616,7 +8616,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
8616
8616
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
8617
8617
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
8618
8618
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
8619
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
8619
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1H(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
8620
8620
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
8621
8621
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
8622
8622
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8651,7 +8651,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
8651
8651
|
}
|
|
8652
8652
|
const obj_listReference = obj.listReference;
|
|
8653
8653
|
const path_listReference = path + '.listReference';
|
|
8654
|
-
const referencepath_listReferenceValidationError = validate$
|
|
8654
|
+
const referencepath_listReferenceValidationError = validate$1G(obj_listReference, path_listReference);
|
|
8655
8655
|
if (referencepath_listReferenceValidationError !== null) {
|
|
8656
8656
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
8657
8657
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8679,7 +8679,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
8679
8679
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
8680
8680
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
8681
8681
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
8682
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
8682
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1F(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
8683
8683
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
8684
8684
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
8685
8685
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8691,7 +8691,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
8691
8691
|
const path_scope = path + '.scope';
|
|
8692
8692
|
let obj_scope_union0 = null;
|
|
8693
8693
|
const obj_scope_union0_error = (() => {
|
|
8694
|
-
const referencepath_scopeValidationError = validate$
|
|
8694
|
+
const referencepath_scopeValidationError = validate$1C(obj_scope, path_scope);
|
|
8695
8695
|
if (referencepath_scopeValidationError !== null) {
|
|
8696
8696
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
8697
8697
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8724,7 +8724,7 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
8724
8724
|
}
|
|
8725
8725
|
const obj_userPreferences = obj.userPreferences;
|
|
8726
8726
|
const path_userPreferences = path + '.userPreferences';
|
|
8727
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
8727
|
+
const referencepath_userPreferencesValidationError = validate$1B(obj_userPreferences, path_userPreferences);
|
|
8728
8728
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
8729
8729
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
8730
8730
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8856,7 +8856,7 @@ function equals$_(existing, incoming) {
|
|
|
8856
8856
|
}
|
|
8857
8857
|
const ingest$1R = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8858
8858
|
if (process.env.NODE_ENV !== 'production') {
|
|
8859
|
-
const validateError = validate$
|
|
8859
|
+
const validateError = validate$1A(input);
|
|
8860
8860
|
if (validateError !== null) {
|
|
8861
8861
|
throw validateError;
|
|
8862
8862
|
}
|
|
@@ -8897,7 +8897,7 @@ function getTypeCacheKeys$1V(luvio, input, fullPathFactory) {
|
|
|
8897
8897
|
}
|
|
8898
8898
|
|
|
8899
8899
|
const VERSION$2f = "d1e589a127fb1060c89070cdb6f500b2";
|
|
8900
|
-
function validate$
|
|
8900
|
+
function validate$1z(obj, path = 'RecordTypeInfoRepresentation') {
|
|
8901
8901
|
const v_error = (() => {
|
|
8902
8902
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8903
8903
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8989,7 +8989,7 @@ function equals$Z(existing, incoming) {
|
|
|
8989
8989
|
}
|
|
8990
8990
|
|
|
8991
8991
|
const VERSION$2e = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
8992
|
-
function validate$
|
|
8992
|
+
function validate$1y(obj, path = 'FieldValueRepresentation') {
|
|
8993
8993
|
const v_error = (() => {
|
|
8994
8994
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8995
8995
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9136,7 +9136,7 @@ function equals$Y(existing, incoming) {
|
|
|
9136
9136
|
}
|
|
9137
9137
|
const ingest$1Q = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9138
9138
|
if (process.env.NODE_ENV !== 'production') {
|
|
9139
|
-
const validateError = validate$
|
|
9139
|
+
const validateError = validate$1y(input);
|
|
9140
9140
|
if (validateError !== null) {
|
|
9141
9141
|
throw validateError;
|
|
9142
9142
|
}
|
|
@@ -9218,7 +9218,7 @@ const getTypeCacheKeys$1T = (luvio, input, _fullPathFactory) => {
|
|
|
9218
9218
|
|
|
9219
9219
|
const TTL$B = 120000;
|
|
9220
9220
|
const VERSION$2d = "79cb5ac9f44542f683d00245fdfe500d";
|
|
9221
|
-
function validate$
|
|
9221
|
+
function validate$1x(obj, path = 'RecordCollectionRepresentation') {
|
|
9222
9222
|
const v_error = (() => {
|
|
9223
9223
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9224
9224
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9491,7 +9491,7 @@ function equals$X(existing, incoming) {
|
|
|
9491
9491
|
}
|
|
9492
9492
|
const ingest$1P = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9493
9493
|
if (process.env.NODE_ENV !== 'production') {
|
|
9494
|
-
const validateError = validate$
|
|
9494
|
+
const validateError = validate$1x(input);
|
|
9495
9495
|
if (validateError !== null) {
|
|
9496
9496
|
throw validateError;
|
|
9497
9497
|
}
|
|
@@ -9547,7 +9547,7 @@ const keyBuilderFromType$y = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
9547
9547
|
|
|
9548
9548
|
const TTL$A = 30000;
|
|
9549
9549
|
const VERSION$2c = "98c5b18512e48ca8d28727549507e4ba";
|
|
9550
|
-
function validate$
|
|
9550
|
+
function validate$1w(obj, path = 'RecordRepresentation') {
|
|
9551
9551
|
const v_error = (() => {
|
|
9552
9552
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9553
9553
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9677,7 +9677,7 @@ function validate$1v(obj, path = 'RecordRepresentation') {
|
|
|
9677
9677
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
9678
9678
|
let obj_recordTypeInfo_union0 = null;
|
|
9679
9679
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
9680
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
9680
|
+
const referencepath_recordTypeInfoValidationError = validate$1z(obj_recordTypeInfo, path_recordTypeInfo);
|
|
9681
9681
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
9682
9682
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
9683
9683
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12463,7 +12463,7 @@ function normalize$K(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
12463
12463
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
12464
12464
|
return (input, path, luvio, store, timestamp) => {
|
|
12465
12465
|
if (process.env.NODE_ENV !== 'production') {
|
|
12466
|
-
const validateError = validate$
|
|
12466
|
+
const validateError = validate$1y(input);
|
|
12467
12467
|
if (validateError !== null) {
|
|
12468
12468
|
throw validateError;
|
|
12469
12469
|
}
|
|
@@ -12556,7 +12556,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
12556
12556
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
12557
12557
|
return (input, path, luvio, store, timestamp) => {
|
|
12558
12558
|
if (process.env.NODE_ENV !== 'production') {
|
|
12559
|
-
const validateError = validate$
|
|
12559
|
+
const validateError = validate$1w(input);
|
|
12560
12560
|
if (validateError !== null) {
|
|
12561
12561
|
throw validateError;
|
|
12562
12562
|
}
|
|
@@ -13677,7 +13677,7 @@ function revertPaginationOptimization(variables) {
|
|
|
13677
13677
|
|
|
13678
13678
|
const TTL$z = 30000;
|
|
13679
13679
|
const VERSION$2a = "614ef19823027c07fa6deb9a149619d2";
|
|
13680
|
-
function validate$
|
|
13680
|
+
function validate$1v(obj, path = 'ListRecordCollectionRepresentation') {
|
|
13681
13681
|
const v_error = (() => {
|
|
13682
13682
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13683
13683
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13737,7 +13737,7 @@ function validate$1u(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
13737
13737
|
}
|
|
13738
13738
|
const obj_listReference = obj.listReference;
|
|
13739
13739
|
const path_listReference = path + '.listReference';
|
|
13740
|
-
const referencepath_listReferenceValidationError = validate$
|
|
13740
|
+
const referencepath_listReferenceValidationError = validate$1G(obj_listReference, path_listReference);
|
|
13741
13741
|
if (referencepath_listReferenceValidationError !== null) {
|
|
13742
13742
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
13743
13743
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14238,7 +14238,7 @@ function equals$V(existing, incoming) {
|
|
|
14238
14238
|
}
|
|
14239
14239
|
const ingest$1N = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14240
14240
|
if (process.env.NODE_ENV !== 'production') {
|
|
14241
|
-
const validateError = validate$
|
|
14241
|
+
const validateError = validate$1v(input);
|
|
14242
14242
|
if (validateError !== null) {
|
|
14243
14243
|
throw validateError;
|
|
14244
14244
|
}
|
|
@@ -14333,7 +14333,7 @@ function getTypeCacheKeys$1Q(luvio, input, fullPathFactory) {
|
|
|
14333
14333
|
}
|
|
14334
14334
|
|
|
14335
14335
|
const VERSION$29 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
14336
|
-
function validate$
|
|
14336
|
+
function validate$1u(obj, path = 'ListUiRepresentation') {
|
|
14337
14337
|
const v_error = (() => {
|
|
14338
14338
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14339
14339
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14439,7 +14439,7 @@ function equals$U(existing, incoming) {
|
|
|
14439
14439
|
}
|
|
14440
14440
|
const ingest$1M = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14441
14441
|
if (process.env.NODE_ENV !== 'production') {
|
|
14442
|
-
const validateError = validate$
|
|
14442
|
+
const validateError = validate$1u(input);
|
|
14443
14443
|
if (validateError !== null) {
|
|
14444
14444
|
throw validateError;
|
|
14445
14445
|
}
|
|
@@ -15188,7 +15188,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
15188
15188
|
}
|
|
15189
15189
|
|
|
15190
15190
|
const VERSION$28 = "c6347b2701bb8ffb0b6ca6c027011c57";
|
|
15191
|
-
function validate$
|
|
15191
|
+
function validate$1t(obj, path = 'ListViewSummaryRepresentation') {
|
|
15192
15192
|
const v_error = (() => {
|
|
15193
15193
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15194
15194
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15279,7 +15279,7 @@ function equals$T(existing, incoming) {
|
|
|
15279
15279
|
}
|
|
15280
15280
|
const ingest$1L = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15281
15281
|
if (process.env.NODE_ENV !== 'production') {
|
|
15282
|
-
const validateError = validate$
|
|
15282
|
+
const validateError = validate$1t(input);
|
|
15283
15283
|
if (validateError !== null) {
|
|
15284
15284
|
throw validateError;
|
|
15285
15285
|
}
|
|
@@ -15320,7 +15320,7 @@ function getTypeCacheKeys$1O(luvio, input, fullPathFactory) {
|
|
|
15320
15320
|
}
|
|
15321
15321
|
|
|
15322
15322
|
const VERSION$27 = "f4c79fe066da3558499d5ee88c72abcd";
|
|
15323
|
-
function validate$
|
|
15323
|
+
function validate$1s(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
15324
15324
|
const v_error = (() => {
|
|
15325
15325
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15326
15326
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15704,7 +15704,7 @@ function equals$S(existing, incoming) {
|
|
|
15704
15704
|
}
|
|
15705
15705
|
const ingest$1K = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15706
15706
|
if (process.env.NODE_ENV !== 'production') {
|
|
15707
|
-
const validateError = validate$
|
|
15707
|
+
const validateError = validate$1s(input);
|
|
15708
15708
|
if (validateError !== null) {
|
|
15709
15709
|
throw validateError;
|
|
15710
15710
|
}
|
|
@@ -16961,7 +16961,7 @@ const factory$i = (luvio) => {
|
|
|
16961
16961
|
}, { contextId: contextId$4 });
|
|
16962
16962
|
};
|
|
16963
16963
|
|
|
16964
|
-
function validate$
|
|
16964
|
+
function validate$1r(obj, path = 'ChildRelationshipRepresentation') {
|
|
16965
16965
|
const v_error = (() => {
|
|
16966
16966
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16967
16967
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17009,7 +17009,7 @@ function validate$1q(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
17009
17009
|
return v_error === undefined ? null : v_error;
|
|
17010
17010
|
}
|
|
17011
17011
|
|
|
17012
|
-
function validate$
|
|
17012
|
+
function validate$1q(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
17013
17013
|
const v_error = (() => {
|
|
17014
17014
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17015
17015
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17040,7 +17040,7 @@ function validate$1p(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
17040
17040
|
return v_error === undefined ? null : v_error;
|
|
17041
17041
|
}
|
|
17042
17042
|
|
|
17043
|
-
function validate$
|
|
17043
|
+
function validate$1p(obj, path = 'ReferenceToInfoRepresentation') {
|
|
17044
17044
|
const v_error = (() => {
|
|
17045
17045
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17046
17046
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17066,7 +17066,7 @@ function validate$1o(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
17066
17066
|
return v_error === undefined ? null : v_error;
|
|
17067
17067
|
}
|
|
17068
17068
|
|
|
17069
|
-
function validate$
|
|
17069
|
+
function validate$1o(obj, path = 'FieldRepresentation') {
|
|
17070
17070
|
const v_error = (() => {
|
|
17071
17071
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17072
17072
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17226,7 +17226,7 @@ function validate$1n(obj, path = 'FieldRepresentation') {
|
|
|
17226
17226
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
17227
17227
|
let obj_filteredLookupInfo_union0 = null;
|
|
17228
17228
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
17229
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
17229
|
+
const referencepath_filteredLookupInfoValidationError = validate$1q(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
17230
17230
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
17231
17231
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
17232
17232
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17351,7 +17351,7 @@ function validate$1n(obj, path = 'FieldRepresentation') {
|
|
|
17351
17351
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
17352
17352
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
17353
17353
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
17354
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
17354
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1p(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
17355
17355
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
17356
17356
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
17357
17357
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17418,7 +17418,7 @@ function validate$1n(obj, path = 'FieldRepresentation') {
|
|
|
17418
17418
|
return v_error === undefined ? null : v_error;
|
|
17419
17419
|
}
|
|
17420
17420
|
|
|
17421
|
-
function validate$
|
|
17421
|
+
function validate$1n(obj, path = 'ThemeInfoRepresentation') {
|
|
17422
17422
|
const v_error = (() => {
|
|
17423
17423
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17424
17424
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17460,7 +17460,7 @@ function validate$1m(obj, path = 'ThemeInfoRepresentation') {
|
|
|
17460
17460
|
|
|
17461
17461
|
const TTL$y = 900000;
|
|
17462
17462
|
const VERSION$26 = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
17463
|
-
function validate$
|
|
17463
|
+
function validate$1m(obj, path = 'ObjectInfoRepresentation') {
|
|
17464
17464
|
const v_error = (() => {
|
|
17465
17465
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17466
17466
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17530,7 +17530,7 @@ function validate$1l(obj, path = 'ObjectInfoRepresentation') {
|
|
|
17530
17530
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
17531
17531
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
17532
17532
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
17533
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
17533
|
+
const referencepath_childRelationships_itemValidationError = validate$1r(obj_childRelationships_item, path_childRelationships_item);
|
|
17534
17534
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
17535
17535
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
17536
17536
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17612,7 +17612,7 @@ function validate$1l(obj, path = 'ObjectInfoRepresentation') {
|
|
|
17612
17612
|
const key = obj_fields_keys[i];
|
|
17613
17613
|
const obj_fields_prop = obj_fields[key];
|
|
17614
17614
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
17615
|
-
const referencepath_fields_propValidationError = validate$
|
|
17615
|
+
const referencepath_fields_propValidationError = validate$1o(obj_fields_prop, path_fields_prop);
|
|
17616
17616
|
if (referencepath_fields_propValidationError !== null) {
|
|
17617
17617
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
17618
17618
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17692,7 +17692,7 @@ function validate$1l(obj, path = 'ObjectInfoRepresentation') {
|
|
|
17692
17692
|
const key = obj_recordTypeInfos_keys[i];
|
|
17693
17693
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
17694
17694
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
17695
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
17695
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1z(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
17696
17696
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
17697
17697
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
17698
17698
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17708,7 +17708,7 @@ function validate$1l(obj, path = 'ObjectInfoRepresentation') {
|
|
|
17708
17708
|
const path_themeInfo = path + '.themeInfo';
|
|
17709
17709
|
let obj_themeInfo_union0 = null;
|
|
17710
17710
|
const obj_themeInfo_union0_error = (() => {
|
|
17711
|
-
const referencepath_themeInfoValidationError = validate$
|
|
17711
|
+
const referencepath_themeInfoValidationError = validate$1n(obj_themeInfo, path_themeInfo);
|
|
17712
17712
|
if (referencepath_themeInfoValidationError !== null) {
|
|
17713
17713
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
17714
17714
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17867,7 +17867,7 @@ function equals$R(existing, incoming) {
|
|
|
17867
17867
|
}
|
|
17868
17868
|
const ingest$1J = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17869
17869
|
if (process.env.NODE_ENV !== 'production') {
|
|
17870
|
-
const validateError = validate$
|
|
17870
|
+
const validateError = validate$1m(input);
|
|
17871
17871
|
if (validateError !== null) {
|
|
17872
17872
|
throw validateError;
|
|
17873
17873
|
}
|
|
@@ -18078,7 +18078,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
18078
18078
|
buildCachedSnapshotCachePolicy$K, buildNetworkSnapshotCachePolicy$L);
|
|
18079
18079
|
};
|
|
18080
18080
|
|
|
18081
|
-
function validate$
|
|
18081
|
+
function validate$1l(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
18082
18082
|
const v_error = (() => {
|
|
18083
18083
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18084
18084
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18126,7 +18126,7 @@ var DiscriminatorValues$4;
|
|
|
18126
18126
|
DiscriminatorValues["Field"] = "Field";
|
|
18127
18127
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
18128
18128
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
18129
|
-
function validate$
|
|
18129
|
+
function validate$1k(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
18130
18130
|
const v_error = (() => {
|
|
18131
18131
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18132
18132
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18166,7 +18166,7 @@ function validate$1j(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
18166
18166
|
return v_error === undefined ? null : v_error;
|
|
18167
18167
|
}
|
|
18168
18168
|
|
|
18169
|
-
function validate$
|
|
18169
|
+
function validate$1j(obj, path = 'RecordLayoutItemRepresentation') {
|
|
18170
18170
|
const v_error = (() => {
|
|
18171
18171
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18172
18172
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18194,7 +18194,7 @@ function validate$1i(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
18194
18194
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
18195
18195
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
18196
18196
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
18197
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
18197
|
+
const referencepath_layoutComponents_itemValidationError = validate$1k(obj_layoutComponents_item, path_layoutComponents_item);
|
|
18198
18198
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
18199
18199
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
18200
18200
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18241,7 +18241,7 @@ function validate$1i(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
18241
18241
|
return v_error === undefined ? null : v_error;
|
|
18242
18242
|
}
|
|
18243
18243
|
|
|
18244
|
-
function validate$
|
|
18244
|
+
function validate$1i(obj, path = 'RecordLayoutRowRepresentation') {
|
|
18245
18245
|
const v_error = (() => {
|
|
18246
18246
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18247
18247
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18254,7 +18254,7 @@ function validate$1h(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
18254
18254
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
18255
18255
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
18256
18256
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
18257
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
18257
|
+
const referencepath_layoutItems_itemValidationError = validate$1j(obj_layoutItems_item, path_layoutItems_item);
|
|
18258
18258
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
18259
18259
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
18260
18260
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18265,7 +18265,7 @@ function validate$1h(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
18265
18265
|
return v_error === undefined ? null : v_error;
|
|
18266
18266
|
}
|
|
18267
18267
|
|
|
18268
|
-
function validate$
|
|
18268
|
+
function validate$1h(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
18269
18269
|
const v_error = (() => {
|
|
18270
18270
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18271
18271
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18340,7 +18340,7 @@ function validate$1g(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
18340
18340
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
18341
18341
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
18342
18342
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
18343
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
18343
|
+
const referencepath_layoutRows_itemValidationError = validate$1i(obj_layoutRows_item, path_layoutRows_item);
|
|
18344
18344
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
18345
18345
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
18346
18346
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18363,7 +18363,7 @@ function validate$1g(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
18363
18363
|
|
|
18364
18364
|
const TTL$x = 900000;
|
|
18365
18365
|
const VERSION$25 = "fb515e25a89ca1ec154dc865e72b913a";
|
|
18366
|
-
function validate$
|
|
18366
|
+
function validate$1g(obj, path = 'RecordLayoutRepresentation') {
|
|
18367
18367
|
const v_error = (() => {
|
|
18368
18368
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18369
18369
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18469,7 +18469,7 @@ function validate$1f(obj, path = 'RecordLayoutRepresentation') {
|
|
|
18469
18469
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
18470
18470
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
18471
18471
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
18472
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
18472
|
+
const referencepath_saveOptions_itemValidationError = validate$1l(obj_saveOptions_item, path_saveOptions_item);
|
|
18473
18473
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
18474
18474
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
18475
18475
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18484,7 +18484,7 @@ function validate$1f(obj, path = 'RecordLayoutRepresentation') {
|
|
|
18484
18484
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
18485
18485
|
const obj_sections_item = obj_sections[i];
|
|
18486
18486
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
18487
|
-
const referencepath_sections_itemValidationError = validate$
|
|
18487
|
+
const referencepath_sections_itemValidationError = validate$1h(obj_sections_item, path_sections_item);
|
|
18488
18488
|
if (referencepath_sections_itemValidationError !== null) {
|
|
18489
18489
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
18490
18490
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18559,7 +18559,7 @@ function equals$Q(existing, incoming) {
|
|
|
18559
18559
|
}
|
|
18560
18560
|
const ingest$1I = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18561
18561
|
if (process.env.NODE_ENV !== 'production') {
|
|
18562
|
-
const validateError = validate$
|
|
18562
|
+
const validateError = validate$1g(input);
|
|
18563
18563
|
if (validateError !== null) {
|
|
18564
18564
|
throw validateError;
|
|
18565
18565
|
}
|
|
@@ -18599,7 +18599,7 @@ function getTypeCacheKeys$1L(luvio, input, fullPathFactory) {
|
|
|
18599
18599
|
return rootKeySet;
|
|
18600
18600
|
}
|
|
18601
18601
|
|
|
18602
|
-
function validate$
|
|
18602
|
+
function validate$1f(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
18603
18603
|
const v_error = (() => {
|
|
18604
18604
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18605
18605
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18620,7 +18620,7 @@ function validate$1e(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
18620
18620
|
|
|
18621
18621
|
const TTL$w = 900000;
|
|
18622
18622
|
const VERSION$24 = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
18623
|
-
function validate$
|
|
18623
|
+
function validate$1e(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
18624
18624
|
const v_error = (() => {
|
|
18625
18625
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18626
18626
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18660,7 +18660,7 @@ function validate$1d(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
18660
18660
|
const key = obj_sectionUserStates_keys[i];
|
|
18661
18661
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
18662
18662
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
18663
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
18663
|
+
const referencepath_sectionUserStates_propValidationError = validate$1f(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
18664
18664
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
18665
18665
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
18666
18666
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18717,7 +18717,7 @@ function equals$P(existing, incoming) {
|
|
|
18717
18717
|
}
|
|
18718
18718
|
const ingest$1H = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18719
18719
|
if (process.env.NODE_ENV !== 'production') {
|
|
18720
|
-
const validateError = validate$
|
|
18720
|
+
const validateError = validate$1e(input);
|
|
18721
18721
|
if (validateError !== null) {
|
|
18722
18722
|
throw validateError;
|
|
18723
18723
|
}
|
|
@@ -18759,7 +18759,7 @@ function getTypeCacheKeys$1K(luvio, input, fullPathFactory) {
|
|
|
18759
18759
|
|
|
18760
18760
|
const TTL$v = 900000;
|
|
18761
18761
|
const VERSION$23 = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
18762
|
-
function validate$
|
|
18762
|
+
function validate$1d(obj, path = 'RecordUiRepresentation') {
|
|
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 + '")');
|
|
@@ -19021,7 +19021,7 @@ function equals$O(existing, incoming) {
|
|
|
19021
19021
|
}
|
|
19022
19022
|
const ingest$1G = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19023
19023
|
if (process.env.NODE_ENV !== 'production') {
|
|
19024
|
-
const validateError = validate$
|
|
19024
|
+
const validateError = validate$1d(input);
|
|
19025
19025
|
if (validateError !== null) {
|
|
19026
19026
|
throw validateError;
|
|
19027
19027
|
}
|
|
@@ -20197,7 +20197,7 @@ const factory$g = (luvio) => function getRecord(untrustedConfig, requestContext)
|
|
|
20197
20197
|
};
|
|
20198
20198
|
|
|
20199
20199
|
const VERSION$22 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
20200
|
-
function validate$
|
|
20200
|
+
function validate$1c(obj, path = 'QuickActionExecutionRepresentation') {
|
|
20201
20201
|
const v_error = (() => {
|
|
20202
20202
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20203
20203
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20370,7 +20370,7 @@ function equals$N(existing, incoming) {
|
|
|
20370
20370
|
}
|
|
20371
20371
|
const ingest$1F = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20372
20372
|
if (process.env.NODE_ENV !== 'production') {
|
|
20373
|
-
const validateError = validate$
|
|
20373
|
+
const validateError = validate$1c(input);
|
|
20374
20374
|
if (validateError !== null) {
|
|
20375
20375
|
throw validateError;
|
|
20376
20376
|
}
|
|
@@ -20411,7 +20411,7 @@ function getTypeCacheKeys$1J(luvio, input, fullPathFactory) {
|
|
|
20411
20411
|
}
|
|
20412
20412
|
|
|
20413
20413
|
const VERSION$21 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
20414
|
-
function validate$
|
|
20414
|
+
function validate$1b(obj, path = 'PlatformActionRepresentation') {
|
|
20415
20415
|
const v_error = (() => {
|
|
20416
20416
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20417
20417
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20943,7 +20943,7 @@ function equals$M(existing, incoming) {
|
|
|
20943
20943
|
}
|
|
20944
20944
|
const ingest$1E = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20945
20945
|
if (process.env.NODE_ENV !== 'production') {
|
|
20946
|
-
const validateError = validate$
|
|
20946
|
+
const validateError = validate$1b(input);
|
|
20947
20947
|
if (validateError !== null) {
|
|
20948
20948
|
throw validateError;
|
|
20949
20949
|
}
|
|
@@ -20984,7 +20984,7 @@ function getTypeCacheKeys$1I(luvio, input, fullPathFactory) {
|
|
|
20984
20984
|
}
|
|
20985
20985
|
|
|
20986
20986
|
const VERSION$20 = "378d506f563a4bd724b322d440df33d1";
|
|
20987
|
-
function validate$
|
|
20987
|
+
function validate$1a(obj, path = 'EntityActionRepresentation') {
|
|
20988
20988
|
const v_error = (() => {
|
|
20989
20989
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20990
20990
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21098,7 +21098,7 @@ function equals$L(existing, incoming) {
|
|
|
21098
21098
|
}
|
|
21099
21099
|
const ingest$1D = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21100
21100
|
if (process.env.NODE_ENV !== 'production') {
|
|
21101
|
-
const validateError = validate$
|
|
21101
|
+
const validateError = validate$1a(input);
|
|
21102
21102
|
if (validateError !== null) {
|
|
21103
21103
|
throw validateError;
|
|
21104
21104
|
}
|
|
@@ -21144,7 +21144,7 @@ function getTypeCacheKeys$1H(luvio, input, fullPathFactory) {
|
|
|
21144
21144
|
|
|
21145
21145
|
const TTL$u = 300000;
|
|
21146
21146
|
const VERSION$1$ = "e485d96c1402a9ca2f56e56485af0216";
|
|
21147
|
-
function validate$
|
|
21147
|
+
function validate$19(obj, path = 'ActionRepresentation') {
|
|
21148
21148
|
const v_error = (() => {
|
|
21149
21149
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21150
21150
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21242,7 +21242,7 @@ function equals$K(existing, incoming) {
|
|
|
21242
21242
|
}
|
|
21243
21243
|
const ingest$1C = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21244
21244
|
if (process.env.NODE_ENV !== 'production') {
|
|
21245
|
-
const validateError = validate$
|
|
21245
|
+
const validateError = validate$19(input);
|
|
21246
21246
|
if (validateError !== null) {
|
|
21247
21247
|
throw validateError;
|
|
21248
21248
|
}
|
|
@@ -21536,7 +21536,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
21536
21536
|
|
|
21537
21537
|
const TTL$t = 900000;
|
|
21538
21538
|
const VERSION$1_ = "3c5af9dc4086169091e3c5df2414c495";
|
|
21539
|
-
function validate$
|
|
21539
|
+
function validate$18(obj, path = 'QuickActionLayoutRepresentation') {
|
|
21540
21540
|
const v_error = (() => {
|
|
21541
21541
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21542
21542
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21553,7 +21553,7 @@ function validate$17(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
21553
21553
|
}
|
|
21554
21554
|
const obj_layout = obj.layout;
|
|
21555
21555
|
const path_layout = path + '.layout';
|
|
21556
|
-
const referencepath_layoutValidationError = validate$
|
|
21556
|
+
const referencepath_layoutValidationError = validate$1g(obj_layout, path_layout);
|
|
21557
21557
|
if (referencepath_layoutValidationError !== null) {
|
|
21558
21558
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
21559
21559
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -21603,7 +21603,7 @@ function equals$J(existing, incoming) {
|
|
|
21603
21603
|
}
|
|
21604
21604
|
const ingest$1B = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21605
21605
|
if (process.env.NODE_ENV !== 'production') {
|
|
21606
|
-
const validateError = validate$
|
|
21606
|
+
const validateError = validate$18(input);
|
|
21607
21607
|
if (validateError !== null) {
|
|
21608
21608
|
throw validateError;
|
|
21609
21609
|
}
|
|
@@ -22265,7 +22265,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
22265
22265
|
};
|
|
22266
22266
|
|
|
22267
22267
|
const VERSION$1Z = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
22268
|
-
function validate$
|
|
22268
|
+
function validate$17(obj, path = 'ActionOverrideRepresentation') {
|
|
22269
22269
|
const v_error = (() => {
|
|
22270
22270
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22271
22271
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22298,7 +22298,7 @@ function equals$I(existing, incoming) {
|
|
|
22298
22298
|
}
|
|
22299
22299
|
const ingest$1A = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22300
22300
|
if (process.env.NODE_ENV !== 'production') {
|
|
22301
|
-
const validateError = validate$
|
|
22301
|
+
const validateError = validate$17(input);
|
|
22302
22302
|
if (validateError !== null) {
|
|
22303
22303
|
throw validateError;
|
|
22304
22304
|
}
|
|
@@ -22514,7 +22514,7 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
|
|
|
22514
22514
|
|
|
22515
22515
|
const TTL$s = 900000;
|
|
22516
22516
|
const VERSION$1Y = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
22517
|
-
function validate$
|
|
22517
|
+
function validate$16(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
22518
22518
|
const v_error = (() => {
|
|
22519
22519
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22520
22520
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22681,7 +22681,7 @@ function merge$1(existing, incoming) {
|
|
|
22681
22681
|
const dynamicIngest$4 = (ingestParams) => {
|
|
22682
22682
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22683
22683
|
if (process.env.NODE_ENV !== 'production') {
|
|
22684
|
-
const validateError = validate$
|
|
22684
|
+
const validateError = validate$16(input);
|
|
22685
22685
|
if (validateError !== null) {
|
|
22686
22686
|
throw validateError;
|
|
22687
22687
|
}
|
|
@@ -23415,7 +23415,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
23415
23415
|
buildCachedSnapshotCachePolicy$C, buildNetworkSnapshotCachePolicy$D);
|
|
23416
23416
|
};
|
|
23417
23417
|
|
|
23418
|
-
function validate$
|
|
23418
|
+
function validate$15(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
23419
23419
|
const v_error = (() => {
|
|
23420
23420
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23421
23421
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23823,7 +23823,7 @@ function typeCheckConfig$N(untrustedConfig) {
|
|
|
23823
23823
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
23824
23824
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
23825
23825
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
23826
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
23826
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$15(untrustedConfig_relatedListsActionParameters_item);
|
|
23827
23827
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
23828
23828
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
23829
23829
|
}
|
|
@@ -24353,7 +24353,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
24353
24353
|
};
|
|
24354
24354
|
|
|
24355
24355
|
const VERSION$1X = "a316b3bba367f54adc67d7552ed7d36d";
|
|
24356
|
-
function validate$
|
|
24356
|
+
function validate$14(obj, path = 'PageReferenceRepresentation') {
|
|
24357
24357
|
const v_error = (() => {
|
|
24358
24358
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24359
24359
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24414,7 +24414,7 @@ function equals$G(existing, incoming) {
|
|
|
24414
24414
|
}
|
|
24415
24415
|
const ingest$1z = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24416
24416
|
if (process.env.NODE_ENV !== 'production') {
|
|
24417
|
-
const validateError = validate$
|
|
24417
|
+
const validateError = validate$14(input);
|
|
24418
24418
|
if (validateError !== null) {
|
|
24419
24419
|
throw validateError;
|
|
24420
24420
|
}
|
|
@@ -24456,7 +24456,7 @@ function getTypeCacheKeys$1C(luvio, input, fullPathFactory) {
|
|
|
24456
24456
|
|
|
24457
24457
|
const TTL$r = 120000;
|
|
24458
24458
|
const VERSION$1W = "09884ca5bf90ea4662092a4e48817081";
|
|
24459
|
-
function validate$
|
|
24459
|
+
function validate$13(obj, path = 'NavItemRepresentation') {
|
|
24460
24460
|
const v_error = (() => {
|
|
24461
24461
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24462
24462
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24848,7 +24848,7 @@ function equals$F(existing, incoming) {
|
|
|
24848
24848
|
}
|
|
24849
24849
|
const ingest$1y = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24850
24850
|
if (process.env.NODE_ENV !== 'production') {
|
|
24851
|
-
const validateError = validate$
|
|
24851
|
+
const validateError = validate$13(input);
|
|
24852
24852
|
if (validateError !== null) {
|
|
24853
24853
|
throw validateError;
|
|
24854
24854
|
}
|
|
@@ -24894,7 +24894,7 @@ function getTypeCacheKeys$1B(luvio, input, fullPathFactory) {
|
|
|
24894
24894
|
|
|
24895
24895
|
const TTL$q = 300000;
|
|
24896
24896
|
const VERSION$1V = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
24897
|
-
function validate$
|
|
24897
|
+
function validate$12(obj, path = 'AppRepresentation') {
|
|
24898
24898
|
const v_error = (() => {
|
|
24899
24899
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24900
24900
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25336,7 +25336,7 @@ function equals$E(existing, incoming) {
|
|
|
25336
25336
|
}
|
|
25337
25337
|
const ingest$1x = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
25338
25338
|
if (process.env.NODE_ENV !== 'production') {
|
|
25339
|
-
const validateError = validate$
|
|
25339
|
+
const validateError = validate$12(input);
|
|
25340
25340
|
if (validateError !== null) {
|
|
25341
25341
|
throw validateError;
|
|
25342
25342
|
}
|
|
@@ -25386,7 +25386,7 @@ function getTypeCacheKeys$1A(luvio, input, fullPathFactory) {
|
|
|
25386
25386
|
|
|
25387
25387
|
const TTL$p = 300000;
|
|
25388
25388
|
const VERSION$1U = "a254babf0b6414315db7808a157fd9fc";
|
|
25389
|
-
function validate$
|
|
25389
|
+
function validate$11(obj, path = 'AppsRepresentation') {
|
|
25390
25390
|
const v_error = (() => {
|
|
25391
25391
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25392
25392
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25468,7 +25468,7 @@ function equals$D(existing, incoming) {
|
|
|
25468
25468
|
}
|
|
25469
25469
|
const ingest$1w = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
25470
25470
|
if (process.env.NODE_ENV !== 'production') {
|
|
25471
|
-
const validateError = validate$
|
|
25471
|
+
const validateError = validate$11(input);
|
|
25472
25472
|
if (validateError !== null) {
|
|
25473
25473
|
throw validateError;
|
|
25474
25474
|
}
|
|
@@ -25880,7 +25880,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
25880
25880
|
};
|
|
25881
25881
|
|
|
25882
25882
|
const VERSION$1T = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
25883
|
-
function validate
|
|
25883
|
+
function validate$10(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
25884
25884
|
const v_error = (() => {
|
|
25885
25885
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25886
25886
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25942,7 +25942,7 @@ const select$28 = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
25942
25942
|
};
|
|
25943
25943
|
|
|
25944
25944
|
const VERSION$1S = "320d7f254687278f2763d4b490dab3fb";
|
|
25945
|
-
function validate
|
|
25945
|
+
function validate$$(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
25946
25946
|
const v_error = (() => {
|
|
25947
25947
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25948
25948
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25965,7 +25965,7 @@ function validate$_(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
25965
25965
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
25966
25966
|
const obj_filterItems_item = obj_filterItems[i];
|
|
25967
25967
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
25968
|
-
const referencepath_filterItems_itemValidationError = validate
|
|
25968
|
+
const referencepath_filterItems_itemValidationError = validate$10(obj_filterItems_item, path_filterItems_item);
|
|
25969
25969
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
25970
25970
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
25971
25971
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26008,7 +26008,7 @@ const select$27 = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
26008
26008
|
};
|
|
26009
26009
|
|
|
26010
26010
|
const VERSION$1R = "b47b44e260e5ce777beaf3da9088997c";
|
|
26011
|
-
function validate$
|
|
26011
|
+
function validate$_(obj, path = 'MatchRuleRepresentation') {
|
|
26012
26012
|
const v_error = (() => {
|
|
26013
26013
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26014
26014
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26078,7 +26078,7 @@ const select$26 = function MatchRuleRepresentationSelect() {
|
|
|
26078
26078
|
};
|
|
26079
26079
|
|
|
26080
26080
|
const VERSION$1Q = "bb83d7210bb1d7861b6188bc5f552617";
|
|
26081
|
-
function validate$
|
|
26081
|
+
function validate$Z(obj, path = 'DuplicateRuleRepresentation') {
|
|
26082
26082
|
const v_error = (() => {
|
|
26083
26083
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26084
26084
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26106,7 +26106,7 @@ function validate$Y(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
26106
26106
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
26107
26107
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
26108
26108
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
26109
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate
|
|
26109
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$$(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
26110
26110
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
26111
26111
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
26112
26112
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26126,7 +26126,7 @@ function validate$Y(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
26126
26126
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
26127
26127
|
const obj_matchRules_item = obj_matchRules[i];
|
|
26128
26128
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
26129
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
26129
|
+
const referencepath_matchRules_itemValidationError = validate$_(obj_matchRules_item, path_matchRules_item);
|
|
26130
26130
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
26131
26131
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
26132
26132
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26219,7 +26219,7 @@ const select$25 = function DuplicateRuleRepresentationSelect() {
|
|
|
26219
26219
|
|
|
26220
26220
|
const TTL$o = 900000;
|
|
26221
26221
|
const VERSION$1P = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
26222
|
-
function validate$
|
|
26222
|
+
function validate$Y(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
26223
26223
|
const v_error = (() => {
|
|
26224
26224
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26225
26225
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26254,7 +26254,7 @@ function validate$X(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
26254
26254
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
26255
26255
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
26256
26256
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
26257
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
26257
|
+
const referencepath_duplicateRules_itemValidationError = validate$Z(obj_duplicateRules_item, path_duplicateRules_item);
|
|
26258
26258
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
26259
26259
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
26260
26260
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26321,7 +26321,7 @@ function equals$C(existing, incoming) {
|
|
|
26321
26321
|
}
|
|
26322
26322
|
const ingest$1v = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26323
26323
|
if (process.env.NODE_ENV !== 'production') {
|
|
26324
|
-
const validateError = validate$
|
|
26324
|
+
const validateError = validate$Y(input);
|
|
26325
26325
|
if (validateError !== null) {
|
|
26326
26326
|
throw validateError;
|
|
26327
26327
|
}
|
|
@@ -27601,7 +27601,7 @@ const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoBy
|
|
|
27601
27601
|
|
|
27602
27602
|
const TTL$n = 120000;
|
|
27603
27603
|
const VERSION$1N = "756779d0d7e137dd72c743544afbad82";
|
|
27604
|
-
function validate$
|
|
27604
|
+
function validate$X(obj, path = 'NavItemsRepresentation') {
|
|
27605
27605
|
const v_error = (() => {
|
|
27606
27606
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27607
27607
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27729,7 +27729,7 @@ function equals$B(existing, incoming) {
|
|
|
27729
27729
|
}
|
|
27730
27730
|
const ingest$1u = function NavItemsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
27731
27731
|
if (process.env.NODE_ENV !== 'production') {
|
|
27732
|
-
const validateError = validate$
|
|
27732
|
+
const validateError = validate$X(input);
|
|
27733
27733
|
if (validateError !== null) {
|
|
27734
27734
|
throw validateError;
|
|
27735
27735
|
}
|
|
@@ -28432,7 +28432,7 @@ var DiscriminatorValues$3;
|
|
|
28432
28432
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
28433
28433
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
28434
28434
|
const VERSION$1J = "bd523b2343366edfc25a2dbee2c4e986";
|
|
28435
|
-
function validate$
|
|
28435
|
+
function validate$W(obj, path = 'AbstractPicklistValueAttributesRepresentation') {
|
|
28436
28436
|
const v_error = (() => {
|
|
28437
28437
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28438
28438
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28475,7 +28475,7 @@ const select$1W = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
28475
28475
|
};
|
|
28476
28476
|
|
|
28477
28477
|
const VERSION$1I = "9e2a16a80378487f557124c771201cf9";
|
|
28478
|
-
function validate$
|
|
28478
|
+
function validate$V(obj, path = 'PicklistValueRepresentation') {
|
|
28479
28479
|
const v_error = (() => {
|
|
28480
28480
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28481
28481
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28484,7 +28484,7 @@ function validate$U(obj, path = 'PicklistValueRepresentation') {
|
|
|
28484
28484
|
const path_attributes = path + '.attributes';
|
|
28485
28485
|
let obj_attributes_union0 = null;
|
|
28486
28486
|
const obj_attributes_union0_error = (() => {
|
|
28487
|
-
const referencepath_attributesValidationError = validate$
|
|
28487
|
+
const referencepath_attributesValidationError = validate$W(obj_attributes, path_attributes);
|
|
28488
28488
|
if (referencepath_attributesValidationError !== null) {
|
|
28489
28489
|
let message = 'Object doesn\'t match AbstractPicklistValueAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
28490
28490
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28568,7 +28568,7 @@ const select$1V = function PicklistValueRepresentationSelect() {
|
|
|
28568
28568
|
|
|
28569
28569
|
const TTL$m = 300000;
|
|
28570
28570
|
const VERSION$1H = "0a361a49370acb4c6a31721a2057649a";
|
|
28571
|
-
function validate$
|
|
28571
|
+
function validate$U(obj, path = 'PicklistValuesRepresentation') {
|
|
28572
28572
|
const v_error = (() => {
|
|
28573
28573
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28574
28574
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28591,7 +28591,7 @@ function validate$T(obj, path = 'PicklistValuesRepresentation') {
|
|
|
28591
28591
|
const path_defaultValue = path + '.defaultValue';
|
|
28592
28592
|
let obj_defaultValue_union0 = null;
|
|
28593
28593
|
const obj_defaultValue_union0_error = (() => {
|
|
28594
|
-
const referencepath_defaultValueValidationError = validate$
|
|
28594
|
+
const referencepath_defaultValueValidationError = validate$V(obj_defaultValue, path_defaultValue);
|
|
28595
28595
|
if (referencepath_defaultValueValidationError !== null) {
|
|
28596
28596
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_defaultValue + '")\n';
|
|
28597
28597
|
message += referencepath_defaultValueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28634,7 +28634,7 @@ function validate$T(obj, path = 'PicklistValuesRepresentation') {
|
|
|
28634
28634
|
for (let i = 0; i < obj_values.length; i++) {
|
|
28635
28635
|
const obj_values_item = obj_values[i];
|
|
28636
28636
|
const path_values_item = path_values + '[' + i + ']';
|
|
28637
|
-
const referencepath_values_itemValidationError = validate$
|
|
28637
|
+
const referencepath_values_itemValidationError = validate$V(obj_values_item, path_values_item);
|
|
28638
28638
|
if (referencepath_values_itemValidationError !== null) {
|
|
28639
28639
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_values_item + '")\n';
|
|
28640
28640
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28698,7 +28698,7 @@ function equals$A(existing, incoming) {
|
|
|
28698
28698
|
}
|
|
28699
28699
|
const ingest$1t = function PicklistValuesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28700
28700
|
if (process.env.NODE_ENV !== 'production') {
|
|
28701
|
-
const validateError = validate$
|
|
28701
|
+
const validateError = validate$U(input);
|
|
28702
28702
|
if (validateError !== null) {
|
|
28703
28703
|
throw validateError;
|
|
28704
28704
|
}
|
|
@@ -28740,7 +28740,7 @@ function getTypeCacheKeys$1w(luvio, input, fullPathFactory) {
|
|
|
28740
28740
|
|
|
28741
28741
|
const TTL$l = 300000;
|
|
28742
28742
|
const VERSION$1G = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
28743
|
-
function validate$
|
|
28743
|
+
function validate$T(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
28744
28744
|
const v_error = (() => {
|
|
28745
28745
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28746
28746
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28827,7 +28827,7 @@ function equals$z(existing, incoming) {
|
|
|
28827
28827
|
}
|
|
28828
28828
|
const ingest$1s = function PicklistValuesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28829
28829
|
if (process.env.NODE_ENV !== 'production') {
|
|
28830
|
-
const validateError = validate$
|
|
28830
|
+
const validateError = validate$T(input);
|
|
28831
28831
|
if (validateError !== null) {
|
|
28832
28832
|
throw validateError;
|
|
28833
28833
|
}
|
|
@@ -29241,7 +29241,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
29241
29241
|
buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$o);
|
|
29242
29242
|
};
|
|
29243
29243
|
|
|
29244
|
-
function validate$
|
|
29244
|
+
function validate$S(obj, path = 'MatchResultInfoRepresentation') {
|
|
29245
29245
|
const v_error = (() => {
|
|
29246
29246
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29247
29247
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29267,7 +29267,7 @@ function validate$R(obj, path = 'MatchResultInfoRepresentation') {
|
|
|
29267
29267
|
return v_error === undefined ? null : v_error;
|
|
29268
29268
|
}
|
|
29269
29269
|
|
|
29270
|
-
function validate$
|
|
29270
|
+
function validate$R(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
29271
29271
|
const v_error = (() => {
|
|
29272
29272
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29273
29273
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29279,7 +29279,7 @@ function validate$Q(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
29279
29279
|
}
|
|
29280
29280
|
const obj_matchResultInfo = obj.matchResultInfo;
|
|
29281
29281
|
const path_matchResultInfo = path + '.matchResultInfo';
|
|
29282
|
-
const referencepath_matchResultInfoValidationError = validate$
|
|
29282
|
+
const referencepath_matchResultInfoValidationError = validate$S(obj_matchResultInfo, path_matchResultInfo);
|
|
29283
29283
|
if (referencepath_matchResultInfoValidationError !== null) {
|
|
29284
29284
|
let message = 'Object doesn\'t match MatchResultInfoRepresentation (at "' + path_matchResultInfo + '")\n';
|
|
29285
29285
|
message += referencepath_matchResultInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29294,7 +29294,7 @@ function validate$Q(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
29294
29294
|
return v_error === undefined ? null : v_error;
|
|
29295
29295
|
}
|
|
29296
29296
|
|
|
29297
|
-
function validate$
|
|
29297
|
+
function validate$Q(obj, path = 'MatchRepresentation') {
|
|
29298
29298
|
const v_error = (() => {
|
|
29299
29299
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29300
29300
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29309,7 +29309,7 @@ function validate$P(obj, path = 'MatchRepresentation') {
|
|
|
29309
29309
|
const key = obj_duplicateResultInfos_keys[i];
|
|
29310
29310
|
const obj_duplicateResultInfos_prop = obj_duplicateResultInfos[key];
|
|
29311
29311
|
const path_duplicateResultInfos_prop = path_duplicateResultInfos + '["' + key + '"]';
|
|
29312
|
-
const referencepath_duplicateResultInfos_propValidationError = validate$
|
|
29312
|
+
const referencepath_duplicateResultInfos_propValidationError = validate$R(obj_duplicateResultInfos_prop, path_duplicateResultInfos_prop);
|
|
29313
29313
|
if (referencepath_duplicateResultInfos_propValidationError !== null) {
|
|
29314
29314
|
let message = 'Object doesn\'t match DuplicateResultInfoRepresentation (at "' + path_duplicateResultInfos_prop + '")\n';
|
|
29315
29315
|
message += referencepath_duplicateResultInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29339,7 +29339,7 @@ function validate$P(obj, path = 'MatchRepresentation') {
|
|
|
29339
29339
|
|
|
29340
29340
|
const TTL$k = 30000;
|
|
29341
29341
|
const VERSION$1F = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
29342
|
-
function validate$
|
|
29342
|
+
function validate$P(obj, path = 'DuplicatesRepresentation') {
|
|
29343
29343
|
const v_error = (() => {
|
|
29344
29344
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29345
29345
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29374,7 +29374,7 @@ function validate$O(obj, path = 'DuplicatesRepresentation') {
|
|
|
29374
29374
|
for (let i = 0; i < obj_matches.length; i++) {
|
|
29375
29375
|
const obj_matches_item = obj_matches[i];
|
|
29376
29376
|
const path_matches_item = path_matches + '[' + i + ']';
|
|
29377
|
-
const referencepath_matches_itemValidationError = validate$
|
|
29377
|
+
const referencepath_matches_itemValidationError = validate$Q(obj_matches_item, path_matches_item);
|
|
29378
29378
|
if (referencepath_matches_itemValidationError !== null) {
|
|
29379
29379
|
let message = 'Object doesn\'t match MatchRepresentation (at "' + path_matches_item + '")\n';
|
|
29380
29380
|
message += referencepath_matches_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29404,7 +29404,7 @@ function equals$y(existing, incoming) {
|
|
|
29404
29404
|
}
|
|
29405
29405
|
const ingest$1r = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29406
29406
|
if (process.env.NODE_ENV !== 'production') {
|
|
29407
|
-
const validateError = validate$
|
|
29407
|
+
const validateError = validate$P(input);
|
|
29408
29408
|
if (validateError !== null) {
|
|
29409
29409
|
throw validateError;
|
|
29410
29410
|
}
|
|
@@ -29647,7 +29647,7 @@ const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(unt
|
|
|
29647
29647
|
};
|
|
29648
29648
|
|
|
29649
29649
|
const VERSION$1E = "e84b9ffdeff97c411bd111f2a55cf6b6";
|
|
29650
|
-
function validate$
|
|
29650
|
+
function validate$O(obj, path = 'PhotoMetadataRepresentation') {
|
|
29651
29651
|
const v_error = (() => {
|
|
29652
29652
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29653
29653
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29739,8 +29739,8 @@ function equals$x(existing, incoming) {
|
|
|
29739
29739
|
}
|
|
29740
29740
|
|
|
29741
29741
|
const VERSION$1D = "34ffbf4219dfebb707bff609c2d5bf89";
|
|
29742
|
-
function validate$
|
|
29743
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
29742
|
+
function validate$N(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
29743
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$L(obj, path);
|
|
29744
29744
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
29745
29745
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
29746
29746
|
}
|
|
@@ -29807,7 +29807,7 @@ function validate$M(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
|
29807
29807
|
}
|
|
29808
29808
|
const obj_photoMetadata = obj.photoMetadata;
|
|
29809
29809
|
const path_photoMetadata = path + '.photoMetadata';
|
|
29810
|
-
const referencepath_photoMetadataValidationError = validate$
|
|
29810
|
+
const referencepath_photoMetadataValidationError = validate$O(obj_photoMetadata, path_photoMetadata);
|
|
29811
29811
|
if (referencepath_photoMetadataValidationError !== null) {
|
|
29812
29812
|
let message = 'Object doesn\'t match PhotoMetadataRepresentation (at "' + path_photoMetadata + '")\n';
|
|
29813
29813
|
message += referencepath_photoMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29962,7 +29962,7 @@ function equals$w(existing, incoming) {
|
|
|
29962
29962
|
}
|
|
29963
29963
|
const ingest$1q = function PhotoRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29964
29964
|
if (process.env.NODE_ENV !== 'production') {
|
|
29965
|
-
const validateError = validate$
|
|
29965
|
+
const validateError = validate$N(input);
|
|
29966
29966
|
if (validateError !== null) {
|
|
29967
29967
|
throw validateError;
|
|
29968
29968
|
}
|
|
@@ -30003,8 +30003,8 @@ function getTypeCacheKeys$1t(luvio, input, fullPathFactory) {
|
|
|
30003
30003
|
}
|
|
30004
30004
|
|
|
30005
30005
|
const VERSION$1C = "cbdcf69a6568d41ccf155b2b95ec70e7";
|
|
30006
|
-
function validate$
|
|
30007
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
30006
|
+
function validate$M(obj, path = 'ThemeRecordAvatarRepresentation') {
|
|
30007
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$L(obj, path);
|
|
30008
30008
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
30009
30009
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
30010
30010
|
}
|
|
@@ -30123,7 +30123,7 @@ function equals$v(existing, incoming) {
|
|
|
30123
30123
|
}
|
|
30124
30124
|
const ingest$1p = function ThemeRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30125
30125
|
if (process.env.NODE_ENV !== 'production') {
|
|
30126
|
-
const validateError = validate$
|
|
30126
|
+
const validateError = validate$M(input);
|
|
30127
30127
|
if (validateError !== null) {
|
|
30128
30128
|
throw validateError;
|
|
30129
30129
|
}
|
|
@@ -30169,7 +30169,7 @@ var DiscriminatorValues$2;
|
|
|
30169
30169
|
DiscriminatorValues["Theme"] = "Theme";
|
|
30170
30170
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
30171
30171
|
const VERSION$1B = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
30172
|
-
function validate$
|
|
30172
|
+
function validate$L(obj, path = 'AbstractRecordAvatarRepresentation') {
|
|
30173
30173
|
const v_error = (() => {
|
|
30174
30174
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30175
30175
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30262,8 +30262,8 @@ function getTypeCacheKeys$1r(luvio, input, fullPathFactory) {
|
|
|
30262
30262
|
}
|
|
30263
30263
|
|
|
30264
30264
|
const VERSION$1A = "f531b44760afecfce89990fe5a5c5c29";
|
|
30265
|
-
function validate$
|
|
30266
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
30265
|
+
function validate$K(obj, path = 'RecordAvatarBatchRepresentation') {
|
|
30266
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$G(obj, path);
|
|
30267
30267
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
30268
30268
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
30269
30269
|
}
|
|
@@ -30324,7 +30324,7 @@ function equals$t(existing, incoming) {
|
|
|
30324
30324
|
}
|
|
30325
30325
|
const ingest$1o = function RecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30326
30326
|
if (process.env.NODE_ENV !== 'production') {
|
|
30327
|
-
const validateError = validate$
|
|
30327
|
+
const validateError = validate$K(input);
|
|
30328
30328
|
if (validateError !== null) {
|
|
30329
30329
|
throw validateError;
|
|
30330
30330
|
}
|
|
@@ -30365,7 +30365,7 @@ function getTypeCacheKeys$1q(luvio, input, fullPathFactory) {
|
|
|
30365
30365
|
}
|
|
30366
30366
|
|
|
30367
30367
|
const VERSION$1z = "17c20b01167dba9a81452e60bb28b2f2";
|
|
30368
|
-
function validate$
|
|
30368
|
+
function validate$J(obj, path = 'ErrorSingleRecordAvatarRepresentation') {
|
|
30369
30369
|
const v_error = (() => {
|
|
30370
30370
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30371
30371
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30415,8 +30415,8 @@ function equals$s(existing, incoming) {
|
|
|
30415
30415
|
}
|
|
30416
30416
|
|
|
30417
30417
|
const VERSION$1y = "e7fac2bfb5cdacc5e0f15c350f9ab8fe";
|
|
30418
|
-
function validate$
|
|
30419
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
30418
|
+
function validate$I(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation') {
|
|
30419
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$G(obj, path);
|
|
30420
30420
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
30421
30421
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
30422
30422
|
}
|
|
@@ -30432,7 +30432,7 @@ function validate$H(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation'
|
|
|
30432
30432
|
for (let i = 0; i < obj_result.length; i++) {
|
|
30433
30433
|
const obj_result_item = obj_result[i];
|
|
30434
30434
|
const path_result_item = path_result + '[' + i + ']';
|
|
30435
|
-
const referencepath_result_itemValidationError = validate$
|
|
30435
|
+
const referencepath_result_itemValidationError = validate$J(obj_result_item, path_result_item);
|
|
30436
30436
|
if (referencepath_result_itemValidationError !== null) {
|
|
30437
30437
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
30438
30438
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30482,7 +30482,7 @@ function equals$r(existing, incoming) {
|
|
|
30482
30482
|
}
|
|
30483
30483
|
const ingest$1n = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30484
30484
|
if (process.env.NODE_ENV !== 'production') {
|
|
30485
|
-
const validateError = validate$
|
|
30485
|
+
const validateError = validate$I(input);
|
|
30486
30486
|
if (validateError !== null) {
|
|
30487
30487
|
throw validateError;
|
|
30488
30488
|
}
|
|
@@ -30523,8 +30523,8 @@ function getTypeCacheKeys$1p(luvio, input, fullPathFactory) {
|
|
|
30523
30523
|
}
|
|
30524
30524
|
|
|
30525
30525
|
const VERSION$1x = "cbd48fd50d0db463fdff7b1834c22bed";
|
|
30526
|
-
function validate$
|
|
30527
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
30526
|
+
function validate$H(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
30527
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$G(obj, path);
|
|
30528
30528
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
30529
30529
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
30530
30530
|
}
|
|
@@ -30540,7 +30540,7 @@ function validate$G(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
|
30540
30540
|
for (let i = 0; i < obj_result.length; i++) {
|
|
30541
30541
|
const obj_result_item = obj_result[i];
|
|
30542
30542
|
const path_result_item = path_result + '[' + i + ']';
|
|
30543
|
-
const referencepath_result_itemValidationError = validate$
|
|
30543
|
+
const referencepath_result_itemValidationError = validate$J(obj_result_item, path_result_item);
|
|
30544
30544
|
if (referencepath_result_itemValidationError !== null) {
|
|
30545
30545
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
30546
30546
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30590,7 +30590,7 @@ function equals$q(existing, incoming) {
|
|
|
30590
30590
|
}
|
|
30591
30591
|
const ingest$1m = function ErrorRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30592
30592
|
if (process.env.NODE_ENV !== 'production') {
|
|
30593
|
-
const validateError = validate$
|
|
30593
|
+
const validateError = validate$H(input);
|
|
30594
30594
|
if (validateError !== null) {
|
|
30595
30595
|
throw validateError;
|
|
30596
30596
|
}
|
|
@@ -30637,7 +30637,7 @@ const DiscriminatorValues$1 = {
|
|
|
30637
30637
|
};
|
|
30638
30638
|
const TTL$j = 300000;
|
|
30639
30639
|
const VERSION$1w = "8956293536e94d5ec63b274b61033d2c";
|
|
30640
|
-
function validate$
|
|
30640
|
+
function validate$G(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
30641
30641
|
const v_error = (() => {
|
|
30642
30642
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30643
30643
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30715,7 +30715,7 @@ function getTypeCacheKeys$1n(luvio, input, fullPathFactory) {
|
|
|
30715
30715
|
|
|
30716
30716
|
const TTL$i = 300000;
|
|
30717
30717
|
const VERSION$1v = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
30718
|
-
function validate$
|
|
30718
|
+
function validate$F(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
30719
30719
|
const v_error = (() => {
|
|
30720
30720
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30721
30721
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30797,7 +30797,7 @@ function merge(existing, incoming, _luvio, _path) {
|
|
|
30797
30797
|
|
|
30798
30798
|
const ingest$1l = function RecordAvatarBulkMapRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30799
30799
|
if (process.env.NODE_ENV !== 'production') {
|
|
30800
|
-
const validateError = validate$
|
|
30800
|
+
const validateError = validate$F(input);
|
|
30801
30801
|
if (validateError !== null) {
|
|
30802
30802
|
throw validateError;
|
|
30803
30803
|
}
|
|
@@ -31330,7 +31330,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
31330
31330
|
};
|
|
31331
31331
|
|
|
31332
31332
|
const VERSION$1u = "4d4bdab5d0aa61e365e766409c9b3a31";
|
|
31333
|
-
function validate$
|
|
31333
|
+
function validate$E(obj, path = 'RelatedListReferenceRepresentation') {
|
|
31334
31334
|
const v_error = (() => {
|
|
31335
31335
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
31336
31336
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31569,7 +31569,7 @@ function equals$n(existing, incoming) {
|
|
|
31569
31569
|
}
|
|
31570
31570
|
|
|
31571
31571
|
const VERSION$1t = "836b875b519813e7499efc62f0f1d04b";
|
|
31572
|
-
function validate$
|
|
31572
|
+
function validate$D(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
31573
31573
|
const v_error = (() => {
|
|
31574
31574
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
31575
31575
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31612,7 +31612,7 @@ function validate$C(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
|
31612
31612
|
}
|
|
31613
31613
|
const obj_listReference = obj.listReference;
|
|
31614
31614
|
const path_listReference = path + '.listReference';
|
|
31615
|
-
const referencepath_listReferenceValidationError = validate$
|
|
31615
|
+
const referencepath_listReferenceValidationError = validate$E(obj_listReference, path_listReference);
|
|
31616
31616
|
if (referencepath_listReferenceValidationError !== null) {
|
|
31617
31617
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
31618
31618
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31685,7 +31685,7 @@ function equals$m(existing, incoming) {
|
|
|
31685
31685
|
}
|
|
31686
31686
|
const ingest$1k = function RelatedListRecordCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
31687
31687
|
if (process.env.NODE_ENV !== 'production') {
|
|
31688
|
-
const validateError = validate$
|
|
31688
|
+
const validateError = validate$D(input);
|
|
31689
31689
|
if (validateError !== null) {
|
|
31690
31690
|
throw validateError;
|
|
31691
31691
|
}
|
|
@@ -32304,7 +32304,7 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
32304
32304
|
buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$j);
|
|
32305
32305
|
};
|
|
32306
32306
|
|
|
32307
|
-
function validate$
|
|
32307
|
+
function validate$C(obj, path = 'RelatedListColumnRepresentation') {
|
|
32308
32308
|
const v_error = (() => {
|
|
32309
32309
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32310
32310
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32455,7 +32455,7 @@ function validate$B(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
32455
32455
|
|
|
32456
32456
|
const TTL$h = 900000;
|
|
32457
32457
|
const VERSION$1s = "c977d65d153a2b4e888ddd45fb083248";
|
|
32458
|
-
function validate$
|
|
32458
|
+
function validate$B(obj, path = 'RelatedListInfoRepresentation') {
|
|
32459
32459
|
const v_error = (() => {
|
|
32460
32460
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32461
32461
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32483,7 +32483,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
32483
32483
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
32484
32484
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
32485
32485
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
32486
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
32486
|
+
const referencepath_displayColumns_itemValidationError = validate$C(obj_displayColumns_item, path_displayColumns_item);
|
|
32487
32487
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
32488
32488
|
let message = 'Object doesn\'t match RelatedListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
32489
32489
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32530,7 +32530,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
32530
32530
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
32531
32531
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
32532
32532
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
32533
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
32533
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1H(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
32534
32534
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
32535
32535
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
32536
32536
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32544,7 +32544,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
32544
32544
|
}
|
|
32545
32545
|
const obj_listReference = obj.listReference;
|
|
32546
32546
|
const path_listReference = path + '.listReference';
|
|
32547
|
-
const referencepath_listReferenceValidationError = validate$
|
|
32547
|
+
const referencepath_listReferenceValidationError = validate$E(obj_listReference, path_listReference);
|
|
32548
32548
|
if (referencepath_listReferenceValidationError !== null) {
|
|
32549
32549
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
32550
32550
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32582,7 +32582,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
32582
32582
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
32583
32583
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
32584
32584
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
32585
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
32585
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1F(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
32586
32586
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
32587
32587
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
32588
32588
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32601,7 +32601,7 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
32601
32601
|
}
|
|
32602
32602
|
const obj_userPreferences = obj.userPreferences;
|
|
32603
32603
|
const path_userPreferences = path + '.userPreferences';
|
|
32604
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
32604
|
+
const referencepath_userPreferencesValidationError = validate$1B(obj_userPreferences, path_userPreferences);
|
|
32605
32605
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
32606
32606
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
32607
32607
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32741,7 +32741,7 @@ function equals$l(existing, incoming) {
|
|
|
32741
32741
|
}
|
|
32742
32742
|
const ingest$1j = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
32743
32743
|
if (process.env.NODE_ENV !== 'production') {
|
|
32744
|
-
const validateError = validate$
|
|
32744
|
+
const validateError = validate$B(input);
|
|
32745
32745
|
if (validateError !== null) {
|
|
32746
32746
|
throw validateError;
|
|
32747
32747
|
}
|
|
@@ -33256,7 +33256,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
33256
33256
|
buildCachedSnapshotCachePolicy$h, buildNetworkSnapshotCachePolicy$i);
|
|
33257
33257
|
};
|
|
33258
33258
|
|
|
33259
|
-
function validate$
|
|
33259
|
+
function validate$A(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
33260
33260
|
const v_error = (() => {
|
|
33261
33261
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
33262
33262
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -33352,7 +33352,7 @@ function validate$z(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
33352
33352
|
const path_themeInfo = path + '.themeInfo';
|
|
33353
33353
|
let obj_themeInfo_union0 = null;
|
|
33354
33354
|
const obj_themeInfo_union0_error = (() => {
|
|
33355
|
-
const referencepath_themeInfoValidationError = validate$
|
|
33355
|
+
const referencepath_themeInfoValidationError = validate$1n(obj_themeInfo, path_themeInfo);
|
|
33356
33356
|
if (referencepath_themeInfoValidationError !== null) {
|
|
33357
33357
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
33358
33358
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -33387,7 +33387,7 @@ function validate$z(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
33387
33387
|
}
|
|
33388
33388
|
|
|
33389
33389
|
const VERSION$1r = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
33390
|
-
function validate$
|
|
33390
|
+
function validate$z(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
|
|
33391
33391
|
const v_error = (() => {
|
|
33392
33392
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
33393
33393
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -33436,7 +33436,7 @@ function validate$y(obj, path = 'RelatedListSummaryInfoCollectionRepresentation'
|
|
|
33436
33436
|
for (let i = 0; i < obj_relatedLists.length; i++) {
|
|
33437
33437
|
const obj_relatedLists_item = obj_relatedLists[i];
|
|
33438
33438
|
const path_relatedLists_item = path_relatedLists + '[' + i + ']';
|
|
33439
|
-
const referencepath_relatedLists_itemValidationError = validate$
|
|
33439
|
+
const referencepath_relatedLists_itemValidationError = validate$A(obj_relatedLists_item, path_relatedLists_item);
|
|
33440
33440
|
if (referencepath_relatedLists_itemValidationError !== null) {
|
|
33441
33441
|
let message = 'Object doesn\'t match RelatedListSummaryInfoRepresentation (at "' + path_relatedLists_item + '")\n';
|
|
33442
33442
|
message += referencepath_relatedLists_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -33492,7 +33492,7 @@ function equals$k(existing, incoming) {
|
|
|
33492
33492
|
}
|
|
33493
33493
|
const ingest$1i = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
33494
33494
|
if (process.env.NODE_ENV !== 'production') {
|
|
33495
|
-
const validateError = validate$
|
|
33495
|
+
const validateError = validate$z(input);
|
|
33496
33496
|
if (validateError !== null) {
|
|
33497
33497
|
throw validateError;
|
|
33498
33498
|
}
|
|
@@ -33885,7 +33885,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
33885
33885
|
|
|
33886
33886
|
const TTL$g = 900000;
|
|
33887
33887
|
const VERSION$1q = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
33888
|
-
function validate$
|
|
33888
|
+
function validate$w(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
33889
33889
|
const v_error = (() => {
|
|
33890
33890
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
33891
33891
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -33926,7 +33926,7 @@ function validate$v(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
33926
33926
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
33927
33927
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
33928
33928
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
33929
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
33929
|
+
const referencepath_orderedBy_itemValidationError = validate$1F(obj_orderedBy_item, path_orderedBy_item);
|
|
33930
33930
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
33931
33931
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
33932
33932
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -33970,7 +33970,7 @@ function equals$j(existing, incoming) {
|
|
|
33970
33970
|
}
|
|
33971
33971
|
const ingest$1h = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
33972
33972
|
if (process.env.NODE_ENV !== 'production') {
|
|
33973
|
-
const validateError = validate$
|
|
33973
|
+
const validateError = validate$w(input);
|
|
33974
33974
|
if (validateError !== null) {
|
|
33975
33975
|
throw validateError;
|
|
33976
33976
|
}
|
|
@@ -34552,7 +34552,7 @@ const getRelatedListPreferencesAdapterFactory = (luvio) => function UiApi__getRe
|
|
|
34552
34552
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
|
|
34553
34553
|
};
|
|
34554
34554
|
|
|
34555
|
-
function validate$
|
|
34555
|
+
function validate$v(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
34556
34556
|
const v_error = (() => {
|
|
34557
34557
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
34558
34558
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34795,7 +34795,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
34795
34795
|
|
|
34796
34796
|
const TTL$f = 30000;
|
|
34797
34797
|
const VERSION$1p = "62467c27c19349b70c9db2a8d9d591d9";
|
|
34798
|
-
function validate$
|
|
34798
|
+
function validate$u(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
34799
34799
|
const v_error = (() => {
|
|
34800
34800
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
34801
34801
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34876,7 +34876,7 @@ function validate$t(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
34876
34876
|
}
|
|
34877
34877
|
const obj_listReference = obj.listReference;
|
|
34878
34878
|
const path_listReference = path + '.listReference';
|
|
34879
|
-
const referencepath_listReferenceValidationError = validate$
|
|
34879
|
+
const referencepath_listReferenceValidationError = validate$E(obj_listReference, path_listReference);
|
|
34880
34880
|
if (referencepath_listReferenceValidationError !== null) {
|
|
34881
34881
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
34882
34882
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35297,7 +35297,7 @@ function equals$i(existing, incoming) {
|
|
|
35297
35297
|
}
|
|
35298
35298
|
const ingest$1g = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
35299
35299
|
if (process.env.NODE_ENV !== 'production') {
|
|
35300
|
-
const validateError = validate$
|
|
35300
|
+
const validateError = validate$u(input);
|
|
35301
35301
|
if (validateError !== null) {
|
|
35302
35302
|
throw validateError;
|
|
35303
35303
|
}
|
|
@@ -35809,7 +35809,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
35809
35809
|
const untrustedConfig_relatedListParameters_array = [];
|
|
35810
35810
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
35811
35811
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
35812
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
35812
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$v(untrustedConfig_relatedListParameters_item);
|
|
35813
35813
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
35814
35814
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
35815
35815
|
}
|
|
@@ -36143,7 +36143,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
36143
36143
|
};
|
|
36144
36144
|
|
|
36145
36145
|
const VERSION$1o = "d4e38b1f08aca427c57c06b571d54993";
|
|
36146
|
-
function validate$
|
|
36146
|
+
function validate$t(obj, path = 'SearchFilterOptionRepresentation') {
|
|
36147
36147
|
const v_error = (() => {
|
|
36148
36148
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36149
36149
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36230,7 +36230,7 @@ var DiscriminatorValues;
|
|
|
36230
36230
|
DiscriminatorValues["Text"] = "Text";
|
|
36231
36231
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
36232
36232
|
const VERSION$1l = "ce65f5507177936e5b70ecf2a75b446f";
|
|
36233
|
-
function validate$
|
|
36233
|
+
function validate$s(obj, path = 'SearchFilterAttributesRepresentation') {
|
|
36234
36234
|
const v_error = (() => {
|
|
36235
36235
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36236
36236
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36279,7 +36279,7 @@ function equals$h(existing, incoming) {
|
|
|
36279
36279
|
}
|
|
36280
36280
|
|
|
36281
36281
|
const VERSION$1k = "8bccbceb2d8850c1388ea82df95ba2d8";
|
|
36282
|
-
function validate$
|
|
36282
|
+
function validate$r(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
36283
36283
|
const v_error = (() => {
|
|
36284
36284
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36285
36285
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36291,7 +36291,7 @@ function validate$q(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
36291
36291
|
}
|
|
36292
36292
|
const obj_attributes = obj.attributes;
|
|
36293
36293
|
const path_attributes = path + '.attributes';
|
|
36294
|
-
const referencepath_attributesValidationError = validate$
|
|
36294
|
+
const referencepath_attributesValidationError = validate$s(obj_attributes, path_attributes);
|
|
36295
36295
|
if (referencepath_attributesValidationError !== null) {
|
|
36296
36296
|
let message = 'Object doesn\'t match SearchFilterAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
36297
36297
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -36412,7 +36412,7 @@ function equals$g(existing, incoming) {
|
|
|
36412
36412
|
|
|
36413
36413
|
const TTL$e = 30000;
|
|
36414
36414
|
const VERSION$1j = "4c15d70367f2a3acd1e1c627b4946679";
|
|
36415
|
-
function validate$
|
|
36415
|
+
function validate$q(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
36416
36416
|
const v_error = (() => {
|
|
36417
36417
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36418
36418
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36425,7 +36425,7 @@ function validate$p(obj, path = 'SearchFilterMetadataCollectionRepresentation')
|
|
|
36425
36425
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
36426
36426
|
const obj_filters_item = obj_filters[i];
|
|
36427
36427
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
36428
|
-
const referencepath_filters_itemValidationError = validate$
|
|
36428
|
+
const referencepath_filters_itemValidationError = validate$r(obj_filters_item, path_filters_item);
|
|
36429
36429
|
if (referencepath_filters_itemValidationError !== null) {
|
|
36430
36430
|
let message = 'Object doesn\'t match SearchFilterDefinitionRepresentation (at "' + path_filters_item + '")\n';
|
|
36431
36431
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -36493,7 +36493,7 @@ function equals$f(existing, incoming) {
|
|
|
36493
36493
|
}
|
|
36494
36494
|
const ingest$1f = function SearchFilterMetadataCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
36495
36495
|
if (process.env.NODE_ENV !== 'production') {
|
|
36496
|
-
const validateError = validate$
|
|
36496
|
+
const validateError = validate$q(input);
|
|
36497
36497
|
if (validateError !== null) {
|
|
36498
36498
|
throw validateError;
|
|
36499
36499
|
}
|
|
@@ -36697,7 +36697,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
36697
36697
|
|
|
36698
36698
|
const TTL$d = 30000;
|
|
36699
36699
|
const VERSION$1i = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
36700
|
-
function validate$
|
|
36700
|
+
function validate$p(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
36701
36701
|
const v_error = (() => {
|
|
36702
36702
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36703
36703
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36720,7 +36720,7 @@ function validate$o(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
|
36720
36720
|
for (let i = 0; i < obj_options.length; i++) {
|
|
36721
36721
|
const obj_options_item = obj_options[i];
|
|
36722
36722
|
const path_options_item = path_options + '[' + i + ']';
|
|
36723
|
-
const referencepath_options_itemValidationError = validate$
|
|
36723
|
+
const referencepath_options_itemValidationError = validate$t(obj_options_item, path_options_item);
|
|
36724
36724
|
if (referencepath_options_itemValidationError !== null) {
|
|
36725
36725
|
let message = 'Object doesn\'t match SearchFilterOptionRepresentation (at "' + path_options_item + '")\n';
|
|
36726
36726
|
message += referencepath_options_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -36787,7 +36787,7 @@ function equals$e(existing, incoming) {
|
|
|
36787
36787
|
}
|
|
36788
36788
|
const ingest$1e = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
36789
36789
|
if (process.env.NODE_ENV !== 'production') {
|
|
36790
|
-
const validateError = validate$
|
|
36790
|
+
const validateError = validate$p(input);
|
|
36791
36791
|
if (validateError !== null) {
|
|
36792
36792
|
throw validateError;
|
|
36793
36793
|
}
|
|
@@ -37002,7 +37002,7 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
|
|
|
37002
37002
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$a);
|
|
37003
37003
|
};
|
|
37004
37004
|
|
|
37005
|
-
function validate$
|
|
37005
|
+
function validate$o(obj, path = 'DisplayLayoutRepresentation') {
|
|
37006
37006
|
const v_error = (() => {
|
|
37007
37007
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
37008
37008
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37023,7 +37023,7 @@ function validate$n(obj, path = 'DisplayLayoutRepresentation') {
|
|
|
37023
37023
|
return v_error === undefined ? null : v_error;
|
|
37024
37024
|
}
|
|
37025
37025
|
|
|
37026
|
-
function validate$
|
|
37026
|
+
function validate$n(obj, path = 'MatchingInfoRepresentation') {
|
|
37027
37027
|
const v_error = (() => {
|
|
37028
37028
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
37029
37029
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37044,14 +37044,14 @@ function validate$m(obj, path = 'MatchingInfoRepresentation') {
|
|
|
37044
37044
|
return v_error === undefined ? null : v_error;
|
|
37045
37045
|
}
|
|
37046
37046
|
|
|
37047
|
-
function validate$
|
|
37047
|
+
function validate$m(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
37048
37048
|
const v_error = (() => {
|
|
37049
37049
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
37050
37050
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
37051
37051
|
}
|
|
37052
37052
|
const obj_displayLayout = obj.displayLayout;
|
|
37053
37053
|
const path_displayLayout = path + '.displayLayout';
|
|
37054
|
-
const referencepath_displayLayoutValidationError = validate$
|
|
37054
|
+
const referencepath_displayLayoutValidationError = validate$o(obj_displayLayout, path_displayLayout);
|
|
37055
37055
|
if (referencepath_displayLayoutValidationError !== null) {
|
|
37056
37056
|
let message = 'Object doesn\'t match DisplayLayoutRepresentation (at "' + path_displayLayout + '")\n';
|
|
37057
37057
|
message += referencepath_displayLayoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -37059,7 +37059,7 @@ function validate$l(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
37059
37059
|
}
|
|
37060
37060
|
const obj_matchingInfo = obj.matchingInfo;
|
|
37061
37061
|
const path_matchingInfo = path + '.matchingInfo';
|
|
37062
|
-
const referencepath_matchingInfoValidationError = validate$
|
|
37062
|
+
const referencepath_matchingInfoValidationError = validate$n(obj_matchingInfo, path_matchingInfo);
|
|
37063
37063
|
if (referencepath_matchingInfoValidationError !== null) {
|
|
37064
37064
|
let message = 'Object doesn\'t match MatchingInfoRepresentation (at "' + path_matchingInfo + '")\n';
|
|
37065
37065
|
message += referencepath_matchingInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -37069,14 +37069,14 @@ function validate$l(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
37069
37069
|
return v_error === undefined ? null : v_error;
|
|
37070
37070
|
}
|
|
37071
37071
|
|
|
37072
|
-
function validate$
|
|
37072
|
+
function validate$l(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
37073
37073
|
const v_error = (() => {
|
|
37074
37074
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
37075
37075
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
37076
37076
|
}
|
|
37077
37077
|
const obj_fullSearchInfo = obj.fullSearchInfo;
|
|
37078
37078
|
const path_fullSearchInfo = path + '.fullSearchInfo';
|
|
37079
|
-
const referencepath_fullSearchInfoValidationError = validate$
|
|
37079
|
+
const referencepath_fullSearchInfoValidationError = validate$m(obj_fullSearchInfo, path_fullSearchInfo);
|
|
37080
37080
|
if (referencepath_fullSearchInfoValidationError !== null) {
|
|
37081
37081
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_fullSearchInfo + '")\n';
|
|
37082
37082
|
message += referencepath_fullSearchInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -37089,7 +37089,7 @@ function validate$k(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
37089
37089
|
}
|
|
37090
37090
|
const obj_suggestionsInfo = obj.suggestionsInfo;
|
|
37091
37091
|
const path_suggestionsInfo = path + '.suggestionsInfo';
|
|
37092
|
-
const referencepath_suggestionsInfoValidationError = validate$
|
|
37092
|
+
const referencepath_suggestionsInfoValidationError = validate$m(obj_suggestionsInfo, path_suggestionsInfo);
|
|
37093
37093
|
if (referencepath_suggestionsInfoValidationError !== null) {
|
|
37094
37094
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_suggestionsInfo + '")\n';
|
|
37095
37095
|
message += referencepath_suggestionsInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -37101,7 +37101,7 @@ function validate$k(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
37101
37101
|
|
|
37102
37102
|
const TTL$c = 30000;
|
|
37103
37103
|
const VERSION$1h = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
37104
|
-
function validate$
|
|
37104
|
+
function validate$k(obj, path = 'LookupMetadataRepresentation') {
|
|
37105
37105
|
const v_error = (() => {
|
|
37106
37106
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
37107
37107
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37152,7 +37152,7 @@ function validate$j(obj, path = 'LookupMetadataRepresentation') {
|
|
|
37152
37152
|
const key = obj_targetInfo_keys[i];
|
|
37153
37153
|
const obj_targetInfo_prop = obj_targetInfo[key];
|
|
37154
37154
|
const path_targetInfo_prop = path_targetInfo + '["' + key + '"]';
|
|
37155
|
-
const referencepath_targetInfo_propValidationError = validate$
|
|
37155
|
+
const referencepath_targetInfo_propValidationError = validate$l(obj_targetInfo_prop, path_targetInfo_prop);
|
|
37156
37156
|
if (referencepath_targetInfo_propValidationError !== null) {
|
|
37157
37157
|
let message = 'Object doesn\'t match LookupMetadataTargetInfoRepresentation (at "' + path_targetInfo_prop + '")\n';
|
|
37158
37158
|
message += referencepath_targetInfo_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -37192,7 +37192,7 @@ function equals$d(existing, incoming) {
|
|
|
37192
37192
|
}
|
|
37193
37193
|
const ingest$1d = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
37194
37194
|
if (process.env.NODE_ENV !== 'production') {
|
|
37195
|
-
const validateError = validate$
|
|
37195
|
+
const validateError = validate$k(input);
|
|
37196
37196
|
if (validateError !== null) {
|
|
37197
37197
|
throw validateError;
|
|
37198
37198
|
}
|
|
@@ -37399,7 +37399,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
37399
37399
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$9);
|
|
37400
37400
|
};
|
|
37401
37401
|
|
|
37402
|
-
function validate$
|
|
37402
|
+
function validate$j(obj, path = 'ErrorMessageRepresentation') {
|
|
37403
37403
|
const v_error = (() => {
|
|
37404
37404
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
37405
37405
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37439,7 +37439,7 @@ function validate$i(obj, path = 'ErrorMessageRepresentation') {
|
|
|
37439
37439
|
return v_error === undefined ? null : v_error;
|
|
37440
37440
|
}
|
|
37441
37441
|
|
|
37442
|
-
function validate$
|
|
37442
|
+
function validate$i(obj, path = 'SearchResultCollectionRepresentation') {
|
|
37443
37443
|
const v_error = (() => {
|
|
37444
37444
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
37445
37445
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37453,7 +37453,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
37453
37453
|
const path_error = path + '.error';
|
|
37454
37454
|
let obj_error_union0 = null;
|
|
37455
37455
|
const obj_error_union0_error = (() => {
|
|
37456
|
-
const referencepath_errorValidationError = validate$
|
|
37456
|
+
const referencepath_errorValidationError = validate$j(obj_error, path_error);
|
|
37457
37457
|
if (referencepath_errorValidationError !== null) {
|
|
37458
37458
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
37459
37459
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -37517,7 +37517,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
37517
37517
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
37518
37518
|
const obj_orderBy_item = obj_orderBy[i];
|
|
37519
37519
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
37520
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
37520
|
+
const referencepath_orderBy_itemValidationError = validate$1F(obj_orderBy_item, path_orderBy_item);
|
|
37521
37521
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
37522
37522
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
37523
37523
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -37583,7 +37583,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
37583
37583
|
return v_error === undefined ? null : v_error;
|
|
37584
37584
|
}
|
|
37585
37585
|
|
|
37586
|
-
function validate$
|
|
37586
|
+
function validate$h(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
37587
37587
|
const v_error = (() => {
|
|
37588
37588
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
37589
37589
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37604,7 +37604,7 @@ function validate$g(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
37604
37604
|
return v_error === undefined ? null : v_error;
|
|
37605
37605
|
}
|
|
37606
37606
|
|
|
37607
|
-
function validate$
|
|
37607
|
+
function validate$g(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
37608
37608
|
const v_error = (() => {
|
|
37609
37609
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
37610
37610
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37619,11 +37619,6 @@ function validate$f(obj, path = 'QnASearchResultRepresentation') {
|
|
|
37619
37619
|
if (typeof obj_objectApiName !== 'string') {
|
|
37620
37620
|
return new TypeError('Expected "string" but received "' + typeof obj_objectApiName + '" (at "' + path_objectApiName + '")');
|
|
37621
37621
|
}
|
|
37622
|
-
const obj_passage = obj.passage;
|
|
37623
|
-
const path_passage = path + '.passage';
|
|
37624
|
-
if (typeof obj_passage !== 'string') {
|
|
37625
|
-
return new TypeError('Expected "string" but received "' + typeof obj_passage + '" (at "' + path_passage + '")');
|
|
37626
|
-
}
|
|
37627
37622
|
const obj_recordId = obj.recordId;
|
|
37628
37623
|
const path_recordId = path + '.recordId';
|
|
37629
37624
|
if (typeof obj_recordId !== 'string') {
|
|
@@ -37638,8 +37633,42 @@ function validate$f(obj, path = 'QnASearchResultRepresentation') {
|
|
|
37638
37633
|
return v_error === undefined ? null : v_error;
|
|
37639
37634
|
}
|
|
37640
37635
|
|
|
37636
|
+
function validate$f(obj, path = 'SearchAnswersResultRepresentation') {
|
|
37637
|
+
const v_error = (() => {
|
|
37638
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
37639
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
37640
|
+
}
|
|
37641
|
+
const obj_answerType = obj.answerType;
|
|
37642
|
+
const path_answerType = path + '.answerType';
|
|
37643
|
+
if (typeof obj_answerType !== 'string') {
|
|
37644
|
+
return new TypeError('Expected "string" but received "' + typeof obj_answerType + '" (at "' + path_answerType + '")');
|
|
37645
|
+
}
|
|
37646
|
+
const obj_passage = obj.passage;
|
|
37647
|
+
const path_passage = path + '.passage';
|
|
37648
|
+
if (typeof obj_passage !== 'string') {
|
|
37649
|
+
return new TypeError('Expected "string" but received "' + typeof obj_passage + '" (at "' + path_passage + '")');
|
|
37650
|
+
}
|
|
37651
|
+
const obj_records = obj.records;
|
|
37652
|
+
const path_records = path + '.records';
|
|
37653
|
+
if (!ArrayIsArray(obj_records)) {
|
|
37654
|
+
return new TypeError('Expected "array" but received "' + typeof obj_records + '" (at "' + path_records + '")');
|
|
37655
|
+
}
|
|
37656
|
+
for (let i = 0; i < obj_records.length; i++) {
|
|
37657
|
+
const obj_records_item = obj_records[i];
|
|
37658
|
+
const path_records_item = path_records + '[' + i + ']';
|
|
37659
|
+
const referencepath_records_itemValidationError = validate$g(obj_records_item, path_records_item);
|
|
37660
|
+
if (referencepath_records_itemValidationError !== null) {
|
|
37661
|
+
let message = 'Object doesn\'t match SearchAnswersRecordRepresentation (at "' + path_records_item + '")\n';
|
|
37662
|
+
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
37663
|
+
return new TypeError(message);
|
|
37664
|
+
}
|
|
37665
|
+
}
|
|
37666
|
+
})();
|
|
37667
|
+
return v_error === undefined ? null : v_error;
|
|
37668
|
+
}
|
|
37669
|
+
|
|
37641
37670
|
const TTL$b = 200;
|
|
37642
|
-
const VERSION$1g = "
|
|
37671
|
+
const VERSION$1g = "da21e889922062e90012ba48c4a733e2";
|
|
37643
37672
|
function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
37644
37673
|
const v_error = (() => {
|
|
37645
37674
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -37649,7 +37678,7 @@ function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
37649
37678
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
37650
37679
|
let obj_keywordSearchResults_union0 = null;
|
|
37651
37680
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
37652
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
37681
|
+
const referencepath_keywordSearchResultsValidationError = validate$h(obj_keywordSearchResults, path_keywordSearchResults);
|
|
37653
37682
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
37654
37683
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' + path_keywordSearchResults + '")\n';
|
|
37655
37684
|
message += referencepath_keywordSearchResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -37680,7 +37709,7 @@ function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
37680
37709
|
const obj_qnaResult_union0_error = (() => {
|
|
37681
37710
|
const referencepath_qnaResultValidationError = validate$f(obj_qnaResult, path_qnaResult);
|
|
37682
37711
|
if (referencepath_qnaResultValidationError !== null) {
|
|
37683
|
-
let message = 'Object doesn\'t match
|
|
37712
|
+
let message = 'Object doesn\'t match SearchAnswersResultRepresentation (at "' + path_qnaResult + '")\n';
|
|
37684
37713
|
message += referencepath_qnaResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
37685
37714
|
return new TypeError(message);
|
|
37686
37715
|
}
|
|
@@ -38054,7 +38083,7 @@ function validate$c(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
38054
38083
|
}
|
|
38055
38084
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
38056
38085
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
38057
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
38086
|
+
const referencepath_keywordSearchResultValidationError = validate$i(obj_keywordSearchResult, path_keywordSearchResult);
|
|
38058
38087
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
38059
38088
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' + path_keywordSearchResult + '")\n';
|
|
38060
38089
|
message += referencepath_keywordSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38422,26 +38451,8 @@ function buildSelectionForNode$12(source, reader, parentNode, selectionNode, var
|
|
|
38422
38451
|
}
|
|
38423
38452
|
function select$1b(field, variables, fragments) {
|
|
38424
38453
|
return (source, reader, parentRecordId) => {
|
|
38425
|
-
var _a;
|
|
38426
38454
|
const sink = {};
|
|
38427
|
-
(
|
|
38428
|
-
const builtSelection = buildSelectionForNode$12(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
38429
|
-
if (builtSelection !== undefined) {
|
|
38430
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
38431
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
38432
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
38433
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
38434
|
-
if (sink[key] === undefined) {
|
|
38435
|
-
sink[key] = builtSelection[key];
|
|
38436
|
-
}
|
|
38437
|
-
});
|
|
38438
|
-
}
|
|
38439
|
-
else {
|
|
38440
|
-
Object.assign(sink, builtSelection);
|
|
38441
|
-
}
|
|
38442
|
-
}
|
|
38443
|
-
});
|
|
38444
|
-
return sink;
|
|
38455
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$12, source, reader, variables, fragments, parentRecordId);
|
|
38445
38456
|
};
|
|
38446
38457
|
}
|
|
38447
38458
|
function getTypeCacheKeys$1b(astNode, state) {
|
|
@@ -38584,26 +38595,8 @@ function buildSelectionForNode$11(source, reader, parentNode, selectionNode, var
|
|
|
38584
38595
|
}
|
|
38585
38596
|
function select$1a(field, variables, fragments) {
|
|
38586
38597
|
return (source, reader, parentRecordId) => {
|
|
38587
|
-
var _a;
|
|
38588
38598
|
const sink = {};
|
|
38589
|
-
(
|
|
38590
|
-
const builtSelection = buildSelectionForNode$11(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
38591
|
-
if (builtSelection !== undefined) {
|
|
38592
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
38593
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
38594
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
38595
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
38596
|
-
if (sink[key] === undefined) {
|
|
38597
|
-
sink[key] = builtSelection[key];
|
|
38598
|
-
}
|
|
38599
|
-
});
|
|
38600
|
-
}
|
|
38601
|
-
else {
|
|
38602
|
-
Object.assign(sink, builtSelection);
|
|
38603
|
-
}
|
|
38604
|
-
}
|
|
38605
|
-
});
|
|
38606
|
-
return sink;
|
|
38599
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$11, source, reader, variables, fragments, parentRecordId);
|
|
38607
38600
|
};
|
|
38608
38601
|
}
|
|
38609
38602
|
function getTypeCacheKeys$1a(astNode, state) {
|
|
@@ -38746,26 +38739,8 @@ function buildSelectionForNode$10(source, reader, parentNode, selectionNode, var
|
|
|
38746
38739
|
}
|
|
38747
38740
|
function select$19(field, variables, fragments) {
|
|
38748
38741
|
return (source, reader, parentRecordId) => {
|
|
38749
|
-
var _a;
|
|
38750
38742
|
const sink = {};
|
|
38751
|
-
(
|
|
38752
|
-
const builtSelection = buildSelectionForNode$10(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
38753
|
-
if (builtSelection !== undefined) {
|
|
38754
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
38755
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
38756
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
38757
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
38758
|
-
if (sink[key] === undefined) {
|
|
38759
|
-
sink[key] = builtSelection[key];
|
|
38760
|
-
}
|
|
38761
|
-
});
|
|
38762
|
-
}
|
|
38763
|
-
else {
|
|
38764
|
-
Object.assign(sink, builtSelection);
|
|
38765
|
-
}
|
|
38766
|
-
}
|
|
38767
|
-
});
|
|
38768
|
-
return sink;
|
|
38743
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$10, source, reader, variables, fragments, parentRecordId);
|
|
38769
38744
|
};
|
|
38770
38745
|
}
|
|
38771
38746
|
function getTypeCacheKeys$19(astNode, state) {
|
|
@@ -38920,26 +38895,8 @@ function buildSelectionForNode$$(source, reader, parentNode, selectionNode, vari
|
|
|
38920
38895
|
}
|
|
38921
38896
|
function select$18(field, variables, fragments) {
|
|
38922
38897
|
return (source, reader, parentRecordId) => {
|
|
38923
|
-
var _a;
|
|
38924
38898
|
const sink = {};
|
|
38925
|
-
(
|
|
38926
|
-
const builtSelection = buildSelectionForNode$$(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
38927
|
-
if (builtSelection !== undefined) {
|
|
38928
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
38929
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
38930
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
38931
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
38932
|
-
if (sink[key] === undefined) {
|
|
38933
|
-
sink[key] = builtSelection[key];
|
|
38934
|
-
}
|
|
38935
|
-
});
|
|
38936
|
-
}
|
|
38937
|
-
else {
|
|
38938
|
-
Object.assign(sink, builtSelection);
|
|
38939
|
-
}
|
|
38940
|
-
}
|
|
38941
|
-
});
|
|
38942
|
-
return sink;
|
|
38899
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$$, source, reader, variables, fragments, parentRecordId);
|
|
38943
38900
|
};
|
|
38944
38901
|
}
|
|
38945
38902
|
function getMinimumSelections$L() {
|
|
@@ -38964,10 +38921,10 @@ function getTypeCacheKeys$18(astNode, state) {
|
|
|
38964
38921
|
representationName: name$_
|
|
38965
38922
|
});
|
|
38966
38923
|
// get all cache keys from normalizable fields
|
|
38967
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$$) :
|
|
38924
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$$) : new Map();
|
|
38968
38925
|
for (const fieldDataKey of Object.keys(data)) {
|
|
38969
38926
|
const fieldData = data[fieldDataKey];
|
|
38970
|
-
const requestedField =
|
|
38927
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
38971
38928
|
if (requestedField === undefined) {
|
|
38972
38929
|
continue; // Skip unknown field.
|
|
38973
38930
|
}
|
|
@@ -39262,26 +39219,8 @@ function buildSelectionForNode$_(source, reader, parentNode, selectionNode, vari
|
|
|
39262
39219
|
}
|
|
39263
39220
|
function select$17(field, variables, fragments) {
|
|
39264
39221
|
return (source, reader, parentRecordId) => {
|
|
39265
|
-
var _a;
|
|
39266
39222
|
const sink = {};
|
|
39267
|
-
(
|
|
39268
|
-
const builtSelection = buildSelectionForNode$_(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
39269
|
-
if (builtSelection !== undefined) {
|
|
39270
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
39271
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
39272
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
39273
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
39274
|
-
if (sink[key] === undefined) {
|
|
39275
|
-
sink[key] = builtSelection[key];
|
|
39276
|
-
}
|
|
39277
|
-
});
|
|
39278
|
-
}
|
|
39279
|
-
else {
|
|
39280
|
-
Object.assign(sink, builtSelection);
|
|
39281
|
-
}
|
|
39282
|
-
}
|
|
39283
|
-
});
|
|
39284
|
-
return sink;
|
|
39223
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$_, source, reader, variables, fragments, parentRecordId);
|
|
39285
39224
|
};
|
|
39286
39225
|
}
|
|
39287
39226
|
function getTypeCacheKeys$17(astNode, state) {
|
|
@@ -39419,26 +39358,8 @@ function buildSelectionForNode$Z(source, reader, parentNode, selectionNode, vari
|
|
|
39419
39358
|
}
|
|
39420
39359
|
function select$16(field, variables, fragments) {
|
|
39421
39360
|
return (source, reader, parentRecordId) => {
|
|
39422
|
-
var _a;
|
|
39423
39361
|
const sink = {};
|
|
39424
|
-
(
|
|
39425
|
-
const builtSelection = buildSelectionForNode$Z(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
39426
|
-
if (builtSelection !== undefined) {
|
|
39427
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
39428
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
39429
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
39430
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
39431
|
-
if (sink[key] === undefined) {
|
|
39432
|
-
sink[key] = builtSelection[key];
|
|
39433
|
-
}
|
|
39434
|
-
});
|
|
39435
|
-
}
|
|
39436
|
-
else {
|
|
39437
|
-
Object.assign(sink, builtSelection);
|
|
39438
|
-
}
|
|
39439
|
-
}
|
|
39440
|
-
});
|
|
39441
|
-
return sink;
|
|
39362
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$Z, source, reader, variables, fragments, parentRecordId);
|
|
39442
39363
|
};
|
|
39443
39364
|
}
|
|
39444
39365
|
function getTypeCacheKeys$16(astNode, state) {
|
|
@@ -39584,26 +39505,8 @@ function buildSelectionForNode$Y(source, reader, parentNode, selectionNode, vari
|
|
|
39584
39505
|
}
|
|
39585
39506
|
function select$15(field, variables, fragments) {
|
|
39586
39507
|
return (source, reader, parentRecordId) => {
|
|
39587
|
-
var _a;
|
|
39588
39508
|
const sink = {};
|
|
39589
|
-
(
|
|
39590
|
-
const builtSelection = buildSelectionForNode$Y(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
39591
|
-
if (builtSelection !== undefined) {
|
|
39592
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
39593
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
39594
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
39595
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
39596
|
-
if (sink[key] === undefined) {
|
|
39597
|
-
sink[key] = builtSelection[key];
|
|
39598
|
-
}
|
|
39599
|
-
});
|
|
39600
|
-
}
|
|
39601
|
-
else {
|
|
39602
|
-
Object.assign(sink, builtSelection);
|
|
39603
|
-
}
|
|
39604
|
-
}
|
|
39605
|
-
});
|
|
39606
|
-
return sink;
|
|
39509
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$Y, source, reader, variables, fragments, parentRecordId);
|
|
39607
39510
|
};
|
|
39608
39511
|
}
|
|
39609
39512
|
function getMinimumSelections$K() {
|
|
@@ -39628,10 +39531,10 @@ function getTypeCacheKeys$15(astNode, state) {
|
|
|
39628
39531
|
representationName: name$X
|
|
39629
39532
|
});
|
|
39630
39533
|
// get all cache keys from normalizable fields
|
|
39631
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$Y) :
|
|
39534
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$Y) : new Map();
|
|
39632
39535
|
for (const fieldDataKey of Object.keys(data)) {
|
|
39633
39536
|
const fieldData = data[fieldDataKey];
|
|
39634
|
-
const requestedField =
|
|
39537
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
39635
39538
|
if (requestedField === undefined) {
|
|
39636
39539
|
continue; // Skip unknown field.
|
|
39637
39540
|
}
|
|
@@ -39943,26 +39846,8 @@ function buildSelectionForNode$X(source, reader, parentNode, selectionNode, vari
|
|
|
39943
39846
|
}
|
|
39944
39847
|
function select$14(field, variables, fragments) {
|
|
39945
39848
|
return (source, reader, parentRecordId) => {
|
|
39946
|
-
var _a;
|
|
39947
39849
|
const sink = {};
|
|
39948
|
-
(
|
|
39949
|
-
const builtSelection = buildSelectionForNode$X(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
39950
|
-
if (builtSelection !== undefined) {
|
|
39951
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
39952
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
39953
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
39954
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
39955
|
-
if (sink[key] === undefined) {
|
|
39956
|
-
sink[key] = builtSelection[key];
|
|
39957
|
-
}
|
|
39958
|
-
});
|
|
39959
|
-
}
|
|
39960
|
-
else {
|
|
39961
|
-
Object.assign(sink, builtSelection);
|
|
39962
|
-
}
|
|
39963
|
-
}
|
|
39964
|
-
});
|
|
39965
|
-
return sink;
|
|
39850
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$X, source, reader, variables, fragments, parentRecordId);
|
|
39966
39851
|
};
|
|
39967
39852
|
}
|
|
39968
39853
|
function getMinimumSelections$I() {
|
|
@@ -40111,26 +39996,8 @@ function buildSelectionForNode$W(source, reader, parentNode, selectionNode, vari
|
|
|
40111
39996
|
}
|
|
40112
39997
|
function select$13(field, variables, fragments) {
|
|
40113
39998
|
return (source, reader, parentRecordId) => {
|
|
40114
|
-
var _a;
|
|
40115
39999
|
const sink = {};
|
|
40116
|
-
(
|
|
40117
|
-
const builtSelection = buildSelectionForNode$W(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
40118
|
-
if (builtSelection !== undefined) {
|
|
40119
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
40120
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
40121
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
40122
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
40123
|
-
if (sink[key] === undefined) {
|
|
40124
|
-
sink[key] = builtSelection[key];
|
|
40125
|
-
}
|
|
40126
|
-
});
|
|
40127
|
-
}
|
|
40128
|
-
else {
|
|
40129
|
-
Object.assign(sink, builtSelection);
|
|
40130
|
-
}
|
|
40131
|
-
}
|
|
40132
|
-
});
|
|
40133
|
-
return sink;
|
|
40000
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$W, source, reader, variables, fragments, parentRecordId);
|
|
40134
40001
|
};
|
|
40135
40002
|
}
|
|
40136
40003
|
function getTypeCacheKeys$13(astNode, state) {
|
|
@@ -40289,26 +40156,8 @@ function buildSelectionForNode$V(source, reader, parentNode, selectionNode, vari
|
|
|
40289
40156
|
}
|
|
40290
40157
|
function select$12(field, variables, fragments) {
|
|
40291
40158
|
return (source, reader, parentRecordId) => {
|
|
40292
|
-
var _a;
|
|
40293
40159
|
const sink = {};
|
|
40294
|
-
(
|
|
40295
|
-
const builtSelection = buildSelectionForNode$V(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
40296
|
-
if (builtSelection !== undefined) {
|
|
40297
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
40298
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
40299
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
40300
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
40301
|
-
if (sink[key] === undefined) {
|
|
40302
|
-
sink[key] = builtSelection[key];
|
|
40303
|
-
}
|
|
40304
|
-
});
|
|
40305
|
-
}
|
|
40306
|
-
else {
|
|
40307
|
-
Object.assign(sink, builtSelection);
|
|
40308
|
-
}
|
|
40309
|
-
}
|
|
40310
|
-
});
|
|
40311
|
-
return sink;
|
|
40160
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$V, source, reader, variables, fragments, parentRecordId);
|
|
40312
40161
|
};
|
|
40313
40162
|
}
|
|
40314
40163
|
function getMinimumSelections$H() {
|
|
@@ -40333,10 +40182,10 @@ function getTypeCacheKeys$12(astNode, state) {
|
|
|
40333
40182
|
representationName: name$U
|
|
40334
40183
|
});
|
|
40335
40184
|
// get all cache keys from normalizable fields
|
|
40336
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$V) :
|
|
40185
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$V) : new Map();
|
|
40337
40186
|
for (const fieldDataKey of Object.keys(data)) {
|
|
40338
40187
|
const fieldData = data[fieldDataKey];
|
|
40339
|
-
const requestedField =
|
|
40188
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
40340
40189
|
if (requestedField === undefined) {
|
|
40341
40190
|
continue; // Skip unknown field.
|
|
40342
40191
|
}
|
|
@@ -40839,26 +40688,8 @@ function buildSelectionForNode$U(source, reader, parentNode, selectionNode, vari
|
|
|
40839
40688
|
}
|
|
40840
40689
|
function select$11(field, variables, fragments) {
|
|
40841
40690
|
return (source, reader, parentRecordId) => {
|
|
40842
|
-
var _a;
|
|
40843
40691
|
const sink = {};
|
|
40844
|
-
(
|
|
40845
|
-
const builtSelection = buildSelectionForNode$U(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
40846
|
-
if (builtSelection !== undefined) {
|
|
40847
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
40848
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
40849
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
40850
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
40851
|
-
if (sink[key] === undefined) {
|
|
40852
|
-
sink[key] = builtSelection[key];
|
|
40853
|
-
}
|
|
40854
|
-
});
|
|
40855
|
-
}
|
|
40856
|
-
else {
|
|
40857
|
-
Object.assign(sink, builtSelection);
|
|
40858
|
-
}
|
|
40859
|
-
}
|
|
40860
|
-
});
|
|
40861
|
-
return sink;
|
|
40692
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$U, source, reader, variables, fragments, parentRecordId);
|
|
40862
40693
|
};
|
|
40863
40694
|
}
|
|
40864
40695
|
function getMinimumSelections$G() {
|
|
@@ -41057,26 +40888,8 @@ function buildSelectionForNode$T(source, reader, parentNode, selectionNode, vari
|
|
|
41057
40888
|
}
|
|
41058
40889
|
function select$10(field, variables, fragments) {
|
|
41059
40890
|
return (source, reader, parentRecordId) => {
|
|
41060
|
-
var _a;
|
|
41061
40891
|
const sink = {};
|
|
41062
|
-
(
|
|
41063
|
-
const builtSelection = buildSelectionForNode$T(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
41064
|
-
if (builtSelection !== undefined) {
|
|
41065
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
41066
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
41067
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
41068
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
41069
|
-
if (sink[key] === undefined) {
|
|
41070
|
-
sink[key] = builtSelection[key];
|
|
41071
|
-
}
|
|
41072
|
-
});
|
|
41073
|
-
}
|
|
41074
|
-
else {
|
|
41075
|
-
Object.assign(sink, builtSelection);
|
|
41076
|
-
}
|
|
41077
|
-
}
|
|
41078
|
-
});
|
|
41079
|
-
return sink;
|
|
40892
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$T, source, reader, variables, fragments, parentRecordId);
|
|
41080
40893
|
};
|
|
41081
40894
|
}
|
|
41082
40895
|
function getTypeCacheKeys$10(astNode, state) {
|
|
@@ -41212,26 +41025,8 @@ function buildSelectionForNode$S(source, reader, parentNode, selectionNode, vari
|
|
|
41212
41025
|
}
|
|
41213
41026
|
function select$$(field, variables, fragments) {
|
|
41214
41027
|
return (source, reader, parentRecordId) => {
|
|
41215
|
-
var _a;
|
|
41216
41028
|
const sink = {};
|
|
41217
|
-
(
|
|
41218
|
-
const builtSelection = buildSelectionForNode$S(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
41219
|
-
if (builtSelection !== undefined) {
|
|
41220
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
41221
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
41222
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
41223
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
41224
|
-
if (sink[key] === undefined) {
|
|
41225
|
-
sink[key] = builtSelection[key];
|
|
41226
|
-
}
|
|
41227
|
-
});
|
|
41228
|
-
}
|
|
41229
|
-
else {
|
|
41230
|
-
Object.assign(sink, builtSelection);
|
|
41231
|
-
}
|
|
41232
|
-
}
|
|
41233
|
-
});
|
|
41234
|
-
return sink;
|
|
41029
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$S, source, reader, variables, fragments, parentRecordId);
|
|
41235
41030
|
};
|
|
41236
41031
|
}
|
|
41237
41032
|
function getMinimumSelections$E() {
|
|
@@ -41256,10 +41051,10 @@ function getTypeCacheKeys$$(astNode, state) {
|
|
|
41256
41051
|
representationName: name$R
|
|
41257
41052
|
});
|
|
41258
41053
|
// get all cache keys from normalizable fields
|
|
41259
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$S) :
|
|
41054
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$S) : new Map();
|
|
41260
41055
|
for (const fieldDataKey of Object.keys(data)) {
|
|
41261
41056
|
const fieldData = data[fieldDataKey];
|
|
41262
|
-
const requestedField =
|
|
41057
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
41263
41058
|
if (requestedField === undefined) {
|
|
41264
41059
|
continue; // Skip unknown field.
|
|
41265
41060
|
}
|
|
@@ -41436,26 +41231,8 @@ function buildSelectionForNode$R(source, reader, parentNode, selectionNode, vari
|
|
|
41436
41231
|
}
|
|
41437
41232
|
function select$_(field, variables, fragments) {
|
|
41438
41233
|
return (source, reader, parentRecordId) => {
|
|
41439
|
-
var _a;
|
|
41440
41234
|
const sink = {};
|
|
41441
|
-
(
|
|
41442
|
-
const builtSelection = buildSelectionForNode$R(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
41443
|
-
if (builtSelection !== undefined) {
|
|
41444
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
41445
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
41446
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
41447
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
41448
|
-
if (sink[key] === undefined) {
|
|
41449
|
-
sink[key] = builtSelection[key];
|
|
41450
|
-
}
|
|
41451
|
-
});
|
|
41452
|
-
}
|
|
41453
|
-
else {
|
|
41454
|
-
Object.assign(sink, builtSelection);
|
|
41455
|
-
}
|
|
41456
|
-
}
|
|
41457
|
-
});
|
|
41458
|
-
return sink;
|
|
41235
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$R, source, reader, variables, fragments, parentRecordId);
|
|
41459
41236
|
};
|
|
41460
41237
|
}
|
|
41461
41238
|
function getMinimumSelections$D() {
|
|
@@ -41600,26 +41377,8 @@ function buildSelectionForNode$Q(source, reader, parentNode, selectionNode, vari
|
|
|
41600
41377
|
}
|
|
41601
41378
|
function select$Z(field, variables, fragments) {
|
|
41602
41379
|
return (source, reader, parentRecordId) => {
|
|
41603
|
-
var _a;
|
|
41604
41380
|
const sink = {};
|
|
41605
|
-
(
|
|
41606
|
-
const builtSelection = buildSelectionForNode$Q(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
41607
|
-
if (builtSelection !== undefined) {
|
|
41608
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
41609
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
41610
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
41611
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
41612
|
-
if (sink[key] === undefined) {
|
|
41613
|
-
sink[key] = builtSelection[key];
|
|
41614
|
-
}
|
|
41615
|
-
});
|
|
41616
|
-
}
|
|
41617
|
-
else {
|
|
41618
|
-
Object.assign(sink, builtSelection);
|
|
41619
|
-
}
|
|
41620
|
-
}
|
|
41621
|
-
});
|
|
41622
|
-
return sink;
|
|
41381
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$Q, source, reader, variables, fragments, parentRecordId);
|
|
41623
41382
|
};
|
|
41624
41383
|
}
|
|
41625
41384
|
function getMinimumSelections$C() {
|
|
@@ -41797,26 +41556,8 @@ function buildSelectionForNode$P(source, reader, parentNode, selectionNode, vari
|
|
|
41797
41556
|
}
|
|
41798
41557
|
function select$Y(field, variables, fragments) {
|
|
41799
41558
|
return (source, reader, parentRecordId) => {
|
|
41800
|
-
var _a;
|
|
41801
41559
|
const sink = {};
|
|
41802
|
-
(
|
|
41803
|
-
const builtSelection = buildSelectionForNode$P(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
41804
|
-
if (builtSelection !== undefined) {
|
|
41805
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
41806
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
41807
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
41808
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
41809
|
-
if (sink[key] === undefined) {
|
|
41810
|
-
sink[key] = builtSelection[key];
|
|
41811
|
-
}
|
|
41812
|
-
});
|
|
41813
|
-
}
|
|
41814
|
-
else {
|
|
41815
|
-
Object.assign(sink, builtSelection);
|
|
41816
|
-
}
|
|
41817
|
-
}
|
|
41818
|
-
});
|
|
41819
|
-
return sink;
|
|
41560
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$P, source, reader, variables, fragments, parentRecordId);
|
|
41820
41561
|
};
|
|
41821
41562
|
}
|
|
41822
41563
|
function getMinimumSelections$B() {
|
|
@@ -41841,10 +41582,10 @@ function getTypeCacheKeys$Y(astNode, state) {
|
|
|
41841
41582
|
representationName: name$O
|
|
41842
41583
|
});
|
|
41843
41584
|
// get all cache keys from normalizable fields
|
|
41844
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$P) :
|
|
41585
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$P) : new Map();
|
|
41845
41586
|
for (const fieldDataKey of Object.keys(data)) {
|
|
41846
41587
|
const fieldData = data[fieldDataKey];
|
|
41847
|
-
const requestedField =
|
|
41588
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
41848
41589
|
if (requestedField === undefined) {
|
|
41849
41590
|
continue; // Skip unknown field.
|
|
41850
41591
|
}
|
|
@@ -42205,26 +41946,8 @@ function buildSelectionForNode$O(source, reader, parentNode, selectionNode, vari
|
|
|
42205
41946
|
}
|
|
42206
41947
|
function select$X(field, variables, fragments) {
|
|
42207
41948
|
return (source, reader, parentRecordId) => {
|
|
42208
|
-
var _a;
|
|
42209
41949
|
const sink = {};
|
|
42210
|
-
(
|
|
42211
|
-
const builtSelection = buildSelectionForNode$O(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
42212
|
-
if (builtSelection !== undefined) {
|
|
42213
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
42214
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
42215
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
42216
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
42217
|
-
if (sink[key] === undefined) {
|
|
42218
|
-
sink[key] = builtSelection[key];
|
|
42219
|
-
}
|
|
42220
|
-
});
|
|
42221
|
-
}
|
|
42222
|
-
else {
|
|
42223
|
-
Object.assign(sink, builtSelection);
|
|
42224
|
-
}
|
|
42225
|
-
}
|
|
42226
|
-
});
|
|
42227
|
-
return sink;
|
|
41950
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$O, source, reader, variables, fragments, parentRecordId);
|
|
42228
41951
|
};
|
|
42229
41952
|
}
|
|
42230
41953
|
function getMinimumSelections$A() {
|
|
@@ -42395,26 +42118,8 @@ function buildSelectionForNode$N(source, reader, parentNode, selectionNode, vari
|
|
|
42395
42118
|
}
|
|
42396
42119
|
function select$W(field, variables, fragments) {
|
|
42397
42120
|
return (source, reader, parentRecordId) => {
|
|
42398
|
-
var _a;
|
|
42399
42121
|
const sink = {};
|
|
42400
|
-
(
|
|
42401
|
-
const builtSelection = buildSelectionForNode$N(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
42402
|
-
if (builtSelection !== undefined) {
|
|
42403
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
42404
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
42405
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
42406
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
42407
|
-
if (sink[key] === undefined) {
|
|
42408
|
-
sink[key] = builtSelection[key];
|
|
42409
|
-
}
|
|
42410
|
-
});
|
|
42411
|
-
}
|
|
42412
|
-
else {
|
|
42413
|
-
Object.assign(sink, builtSelection);
|
|
42414
|
-
}
|
|
42415
|
-
}
|
|
42416
|
-
});
|
|
42417
|
-
return sink;
|
|
42122
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$N, source, reader, variables, fragments, parentRecordId);
|
|
42418
42123
|
};
|
|
42419
42124
|
}
|
|
42420
42125
|
function getMinimumSelections$z() {
|
|
@@ -42439,10 +42144,10 @@ function getTypeCacheKeys$W(astNode, state) {
|
|
|
42439
42144
|
representationName: name$M
|
|
42440
42145
|
});
|
|
42441
42146
|
// get all cache keys from normalizable fields
|
|
42442
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$N) :
|
|
42147
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$N) : new Map();
|
|
42443
42148
|
for (const fieldDataKey of Object.keys(data)) {
|
|
42444
42149
|
const fieldData = data[fieldDataKey];
|
|
42445
|
-
const requestedField =
|
|
42150
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
42446
42151
|
if (requestedField === undefined) {
|
|
42447
42152
|
continue; // Skip unknown field.
|
|
42448
42153
|
}
|
|
@@ -42835,26 +42540,8 @@ function buildSelectionForNode$M(source, reader, parentNode, selectionNode, vari
|
|
|
42835
42540
|
}
|
|
42836
42541
|
function select$V(field, variables, fragments) {
|
|
42837
42542
|
return (source, reader, parentRecordId) => {
|
|
42838
|
-
var _a;
|
|
42839
42543
|
const sink = {};
|
|
42840
|
-
(
|
|
42841
|
-
const builtSelection = buildSelectionForNode$M(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
42842
|
-
if (builtSelection !== undefined) {
|
|
42843
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
42844
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
42845
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
42846
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
42847
|
-
if (sink[key] === undefined) {
|
|
42848
|
-
sink[key] = builtSelection[key];
|
|
42849
|
-
}
|
|
42850
|
-
});
|
|
42851
|
-
}
|
|
42852
|
-
else {
|
|
42853
|
-
Object.assign(sink, builtSelection);
|
|
42854
|
-
}
|
|
42855
|
-
}
|
|
42856
|
-
});
|
|
42857
|
-
return sink;
|
|
42544
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$M, source, reader, variables, fragments, parentRecordId);
|
|
42858
42545
|
};
|
|
42859
42546
|
}
|
|
42860
42547
|
function getMinimumSelections$y() {
|
|
@@ -42879,10 +42566,10 @@ function getTypeCacheKeys$V(astNode, state) {
|
|
|
42879
42566
|
representationName: name$L
|
|
42880
42567
|
});
|
|
42881
42568
|
// get all cache keys from normalizable fields
|
|
42882
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$M) :
|
|
42569
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$M) : new Map();
|
|
42883
42570
|
for (const fieldDataKey of Object.keys(data)) {
|
|
42884
42571
|
const fieldData = data[fieldDataKey];
|
|
42885
|
-
const requestedField =
|
|
42572
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
42886
42573
|
if (requestedField === undefined) {
|
|
42887
42574
|
continue; // Skip unknown field.
|
|
42888
42575
|
}
|
|
@@ -43046,26 +42733,8 @@ function buildSelectionForNode$L(source, reader, parentNode, selectionNode, vari
|
|
|
43046
42733
|
}
|
|
43047
42734
|
function select$U(field, variables, fragments) {
|
|
43048
42735
|
return (source, reader, parentRecordId) => {
|
|
43049
|
-
var _a;
|
|
43050
42736
|
const sink = {};
|
|
43051
|
-
(
|
|
43052
|
-
const builtSelection = buildSelectionForNode$L(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
43053
|
-
if (builtSelection !== undefined) {
|
|
43054
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
43055
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
43056
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
43057
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
43058
|
-
if (sink[key] === undefined) {
|
|
43059
|
-
sink[key] = builtSelection[key];
|
|
43060
|
-
}
|
|
43061
|
-
});
|
|
43062
|
-
}
|
|
43063
|
-
else {
|
|
43064
|
-
Object.assign(sink, builtSelection);
|
|
43065
|
-
}
|
|
43066
|
-
}
|
|
43067
|
-
});
|
|
43068
|
-
return sink;
|
|
42737
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$L, source, reader, variables, fragments, parentRecordId);
|
|
43069
42738
|
};
|
|
43070
42739
|
}
|
|
43071
42740
|
function getTypeCacheKeys$U(astNode, state) {
|
|
@@ -43202,26 +42871,8 @@ function buildSelectionForNode$K(source, reader, parentNode, selectionNode, vari
|
|
|
43202
42871
|
}
|
|
43203
42872
|
function select$T(field, variables, fragments) {
|
|
43204
42873
|
return (source, reader, parentRecordId) => {
|
|
43205
|
-
var _a;
|
|
43206
42874
|
const sink = {};
|
|
43207
|
-
(
|
|
43208
|
-
const builtSelection = buildSelectionForNode$K(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
43209
|
-
if (builtSelection !== undefined) {
|
|
43210
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
43211
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
43212
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
43213
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
43214
|
-
if (sink[key] === undefined) {
|
|
43215
|
-
sink[key] = builtSelection[key];
|
|
43216
|
-
}
|
|
43217
|
-
});
|
|
43218
|
-
}
|
|
43219
|
-
else {
|
|
43220
|
-
Object.assign(sink, builtSelection);
|
|
43221
|
-
}
|
|
43222
|
-
}
|
|
43223
|
-
});
|
|
43224
|
-
return sink;
|
|
42875
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$K, source, reader, variables, fragments, parentRecordId);
|
|
43225
42876
|
};
|
|
43226
42877
|
}
|
|
43227
42878
|
function getTypeCacheKeys$T(astNode, state) {
|
|
@@ -43370,26 +43021,8 @@ function buildSelectionForNode$J(source, reader, parentNode, selectionNode, vari
|
|
|
43370
43021
|
}
|
|
43371
43022
|
function select$S(field, variables, fragments) {
|
|
43372
43023
|
return (source, reader, parentRecordId) => {
|
|
43373
|
-
var _a;
|
|
43374
43024
|
const sink = {};
|
|
43375
|
-
(
|
|
43376
|
-
const builtSelection = buildSelectionForNode$J(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
43377
|
-
if (builtSelection !== undefined) {
|
|
43378
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
43379
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
43380
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
43381
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
43382
|
-
if (sink[key] === undefined) {
|
|
43383
|
-
sink[key] = builtSelection[key];
|
|
43384
|
-
}
|
|
43385
|
-
});
|
|
43386
|
-
}
|
|
43387
|
-
else {
|
|
43388
|
-
Object.assign(sink, builtSelection);
|
|
43389
|
-
}
|
|
43390
|
-
}
|
|
43391
|
-
});
|
|
43392
|
-
return sink;
|
|
43025
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$J, source, reader, variables, fragments, parentRecordId);
|
|
43393
43026
|
};
|
|
43394
43027
|
}
|
|
43395
43028
|
function getMinimumSelections$x() {
|
|
@@ -43414,10 +43047,10 @@ function getTypeCacheKeys$S(astNode, state) {
|
|
|
43414
43047
|
representationName: name$I
|
|
43415
43048
|
});
|
|
43416
43049
|
// get all cache keys from normalizable fields
|
|
43417
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$J) :
|
|
43050
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$J) : new Map();
|
|
43418
43051
|
for (const fieldDataKey of Object.keys(data)) {
|
|
43419
43052
|
const fieldData = data[fieldDataKey];
|
|
43420
|
-
const requestedField =
|
|
43053
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
43421
43054
|
if (requestedField === undefined) {
|
|
43422
43055
|
continue; // Skip unknown field.
|
|
43423
43056
|
}
|
|
@@ -43731,26 +43364,8 @@ function buildSelectionForNode$I(source, reader, parentNode, selectionNode, vari
|
|
|
43731
43364
|
}
|
|
43732
43365
|
function select$R(field, variables, fragments) {
|
|
43733
43366
|
return (source, reader, parentRecordId) => {
|
|
43734
|
-
var _a;
|
|
43735
43367
|
const sink = {};
|
|
43736
|
-
(
|
|
43737
|
-
const builtSelection = buildSelectionForNode$I(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
43738
|
-
if (builtSelection !== undefined) {
|
|
43739
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
43740
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
43741
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
43742
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
43743
|
-
if (sink[key] === undefined) {
|
|
43744
|
-
sink[key] = builtSelection[key];
|
|
43745
|
-
}
|
|
43746
|
-
});
|
|
43747
|
-
}
|
|
43748
|
-
else {
|
|
43749
|
-
Object.assign(sink, builtSelection);
|
|
43750
|
-
}
|
|
43751
|
-
}
|
|
43752
|
-
});
|
|
43753
|
-
return sink;
|
|
43368
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$I, source, reader, variables, fragments, parentRecordId);
|
|
43754
43369
|
};
|
|
43755
43370
|
}
|
|
43756
43371
|
function getTypeCacheKeys$R(astNode, state) {
|
|
@@ -43899,26 +43514,8 @@ function buildSelectionForNode$H(source, reader, parentNode, selectionNode, vari
|
|
|
43899
43514
|
}
|
|
43900
43515
|
function select$Q(field, variables, fragments) {
|
|
43901
43516
|
return (source, reader, parentRecordId) => {
|
|
43902
|
-
var _a;
|
|
43903
43517
|
const sink = {};
|
|
43904
|
-
(
|
|
43905
|
-
const builtSelection = buildSelectionForNode$H(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
43906
|
-
if (builtSelection !== undefined) {
|
|
43907
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
43908
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
43909
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
43910
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
43911
|
-
if (sink[key] === undefined) {
|
|
43912
|
-
sink[key] = builtSelection[key];
|
|
43913
|
-
}
|
|
43914
|
-
});
|
|
43915
|
-
}
|
|
43916
|
-
else {
|
|
43917
|
-
Object.assign(sink, builtSelection);
|
|
43918
|
-
}
|
|
43919
|
-
}
|
|
43920
|
-
});
|
|
43921
|
-
return sink;
|
|
43518
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$H, source, reader, variables, fragments, parentRecordId);
|
|
43922
43519
|
};
|
|
43923
43520
|
}
|
|
43924
43521
|
function getMinimumSelections$w() {
|
|
@@ -43943,10 +43540,10 @@ function getTypeCacheKeys$Q(astNode, state) {
|
|
|
43943
43540
|
representationName: name$G
|
|
43944
43541
|
});
|
|
43945
43542
|
// get all cache keys from normalizable fields
|
|
43946
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$H) :
|
|
43543
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$H) : new Map();
|
|
43947
43544
|
for (const fieldDataKey of Object.keys(data)) {
|
|
43948
43545
|
const fieldData = data[fieldDataKey];
|
|
43949
|
-
const requestedField =
|
|
43546
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
43950
43547
|
if (requestedField === undefined) {
|
|
43951
43548
|
continue; // Skip unknown field.
|
|
43952
43549
|
}
|
|
@@ -44216,26 +43813,8 @@ function buildSelectionForNode$G(source, reader, parentNode, selectionNode, vari
|
|
|
44216
43813
|
}
|
|
44217
43814
|
function select$P(field, variables, fragments) {
|
|
44218
43815
|
return (source, reader, parentRecordId) => {
|
|
44219
|
-
var _a;
|
|
44220
43816
|
const sink = {};
|
|
44221
|
-
(
|
|
44222
|
-
const builtSelection = buildSelectionForNode$G(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
44223
|
-
if (builtSelection !== undefined) {
|
|
44224
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
44225
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
44226
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
44227
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
44228
|
-
if (sink[key] === undefined) {
|
|
44229
|
-
sink[key] = builtSelection[key];
|
|
44230
|
-
}
|
|
44231
|
-
});
|
|
44232
|
-
}
|
|
44233
|
-
else {
|
|
44234
|
-
Object.assign(sink, builtSelection);
|
|
44235
|
-
}
|
|
44236
|
-
}
|
|
44237
|
-
});
|
|
44238
|
-
return sink;
|
|
43817
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$G, source, reader, variables, fragments, parentRecordId);
|
|
44239
43818
|
};
|
|
44240
43819
|
}
|
|
44241
43820
|
function getTypeCacheKeys$P(astNode, state) {
|
|
@@ -44378,26 +43957,8 @@ function buildSelectionForNode$F(source, reader, parentNode, selectionNode, vari
|
|
|
44378
43957
|
}
|
|
44379
43958
|
function select$O(field, variables, fragments) {
|
|
44380
43959
|
return (source, reader, parentRecordId) => {
|
|
44381
|
-
var _a;
|
|
44382
43960
|
const sink = {};
|
|
44383
|
-
(
|
|
44384
|
-
const builtSelection = buildSelectionForNode$F(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
44385
|
-
if (builtSelection !== undefined) {
|
|
44386
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
44387
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
44388
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
44389
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
44390
|
-
if (sink[key] === undefined) {
|
|
44391
|
-
sink[key] = builtSelection[key];
|
|
44392
|
-
}
|
|
44393
|
-
});
|
|
44394
|
-
}
|
|
44395
|
-
else {
|
|
44396
|
-
Object.assign(sink, builtSelection);
|
|
44397
|
-
}
|
|
44398
|
-
}
|
|
44399
|
-
});
|
|
44400
|
-
return sink;
|
|
43961
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$F, source, reader, variables, fragments, parentRecordId);
|
|
44401
43962
|
};
|
|
44402
43963
|
}
|
|
44403
43964
|
function getTypeCacheKeys$O(astNode, state) {
|
|
@@ -44552,26 +44113,8 @@ function buildSelectionForNode$E(source, reader, parentNode, selectionNode, vari
|
|
|
44552
44113
|
}
|
|
44553
44114
|
function select$N(field, variables, fragments) {
|
|
44554
44115
|
return (source, reader, parentRecordId) => {
|
|
44555
|
-
var _a;
|
|
44556
44116
|
const sink = {};
|
|
44557
|
-
(
|
|
44558
|
-
const builtSelection = buildSelectionForNode$E(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
44559
|
-
if (builtSelection !== undefined) {
|
|
44560
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
44561
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
44562
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
44563
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
44564
|
-
if (sink[key] === undefined) {
|
|
44565
|
-
sink[key] = builtSelection[key];
|
|
44566
|
-
}
|
|
44567
|
-
});
|
|
44568
|
-
}
|
|
44569
|
-
else {
|
|
44570
|
-
Object.assign(sink, builtSelection);
|
|
44571
|
-
}
|
|
44572
|
-
}
|
|
44573
|
-
});
|
|
44574
|
-
return sink;
|
|
44117
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$E, source, reader, variables, fragments, parentRecordId);
|
|
44575
44118
|
};
|
|
44576
44119
|
}
|
|
44577
44120
|
function getMinimumSelections$v() {
|
|
@@ -44596,10 +44139,10 @@ function getTypeCacheKeys$N(astNode, state) {
|
|
|
44596
44139
|
representationName: name$D
|
|
44597
44140
|
});
|
|
44598
44141
|
// get all cache keys from normalizable fields
|
|
44599
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$E) :
|
|
44142
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$E) : new Map();
|
|
44600
44143
|
for (const fieldDataKey of Object.keys(data)) {
|
|
44601
44144
|
const fieldData = data[fieldDataKey];
|
|
44602
|
-
const requestedField =
|
|
44145
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
44603
44146
|
if (requestedField === undefined) {
|
|
44604
44147
|
continue; // Skip unknown field.
|
|
44605
44148
|
}
|
|
@@ -44894,26 +44437,8 @@ function buildSelectionForNode$D(source, reader, parentNode, selectionNode, vari
|
|
|
44894
44437
|
}
|
|
44895
44438
|
function select$M(field, variables, fragments) {
|
|
44896
44439
|
return (source, reader, parentRecordId) => {
|
|
44897
|
-
var _a;
|
|
44898
44440
|
const sink = {};
|
|
44899
|
-
(
|
|
44900
|
-
const builtSelection = buildSelectionForNode$D(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
44901
|
-
if (builtSelection !== undefined) {
|
|
44902
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
44903
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
44904
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
44905
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
44906
|
-
if (sink[key] === undefined) {
|
|
44907
|
-
sink[key] = builtSelection[key];
|
|
44908
|
-
}
|
|
44909
|
-
});
|
|
44910
|
-
}
|
|
44911
|
-
else {
|
|
44912
|
-
Object.assign(sink, builtSelection);
|
|
44913
|
-
}
|
|
44914
|
-
}
|
|
44915
|
-
});
|
|
44916
|
-
return sink;
|
|
44441
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$D, source, reader, variables, fragments, parentRecordId);
|
|
44917
44442
|
};
|
|
44918
44443
|
}
|
|
44919
44444
|
function getTypeCacheKeys$M(astNode, state) {
|
|
@@ -45204,26 +44729,8 @@ function buildSelectionForNode$C(source, reader, parentNode, selectionNode, vari
|
|
|
45204
44729
|
}
|
|
45205
44730
|
function select$L(field, variables, fragments) {
|
|
45206
44731
|
return (source, reader, parentRecordId) => {
|
|
45207
|
-
var _a;
|
|
45208
44732
|
const sink = {};
|
|
45209
|
-
(
|
|
45210
|
-
const builtSelection = buildSelectionForNode$C(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
45211
|
-
if (builtSelection !== undefined) {
|
|
45212
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
45213
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
45214
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
45215
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
45216
|
-
if (sink[key] === undefined) {
|
|
45217
|
-
sink[key] = builtSelection[key];
|
|
45218
|
-
}
|
|
45219
|
-
});
|
|
45220
|
-
}
|
|
45221
|
-
else {
|
|
45222
|
-
Object.assign(sink, builtSelection);
|
|
45223
|
-
}
|
|
45224
|
-
}
|
|
45225
|
-
});
|
|
45226
|
-
return sink;
|
|
44733
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$C, source, reader, variables, fragments, parentRecordId);
|
|
45227
44734
|
};
|
|
45228
44735
|
}
|
|
45229
44736
|
function getTypeCacheKeys$L(astNode, state) {
|
|
@@ -45372,26 +44879,8 @@ function buildSelectionForNode$B(source, reader, parentNode, selectionNode, vari
|
|
|
45372
44879
|
}
|
|
45373
44880
|
function select$K(field, variables, fragments) {
|
|
45374
44881
|
return (source, reader, parentRecordId) => {
|
|
45375
|
-
var _a;
|
|
45376
44882
|
const sink = {};
|
|
45377
|
-
(
|
|
45378
|
-
const builtSelection = buildSelectionForNode$B(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
45379
|
-
if (builtSelection !== undefined) {
|
|
45380
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
45381
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
45382
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
45383
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
45384
|
-
if (sink[key] === undefined) {
|
|
45385
|
-
sink[key] = builtSelection[key];
|
|
45386
|
-
}
|
|
45387
|
-
});
|
|
45388
|
-
}
|
|
45389
|
-
else {
|
|
45390
|
-
Object.assign(sink, builtSelection);
|
|
45391
|
-
}
|
|
45392
|
-
}
|
|
45393
|
-
});
|
|
45394
|
-
return sink;
|
|
44883
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$B, source, reader, variables, fragments, parentRecordId);
|
|
45395
44884
|
};
|
|
45396
44885
|
}
|
|
45397
44886
|
function getMinimumSelections$t() {
|
|
@@ -45416,10 +44905,10 @@ function getTypeCacheKeys$K(astNode, state) {
|
|
|
45416
44905
|
representationName: name$A
|
|
45417
44906
|
});
|
|
45418
44907
|
// get all cache keys from normalizable fields
|
|
45419
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$B) :
|
|
44908
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$B) : new Map();
|
|
45420
44909
|
for (const fieldDataKey of Object.keys(data)) {
|
|
45421
44910
|
const fieldData = data[fieldDataKey];
|
|
45422
|
-
const requestedField =
|
|
44911
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
45423
44912
|
if (requestedField === undefined) {
|
|
45424
44913
|
continue; // Skip unknown field.
|
|
45425
44914
|
}
|
|
@@ -45689,26 +45178,8 @@ function buildSelectionForNode$A(source, reader, parentNode, selectionNode, vari
|
|
|
45689
45178
|
}
|
|
45690
45179
|
function select$J(field, variables, fragments) {
|
|
45691
45180
|
return (source, reader, parentRecordId) => {
|
|
45692
|
-
var _a;
|
|
45693
45181
|
const sink = {};
|
|
45694
|
-
(
|
|
45695
|
-
const builtSelection = buildSelectionForNode$A(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
45696
|
-
if (builtSelection !== undefined) {
|
|
45697
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
45698
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
45699
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
45700
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
45701
|
-
if (sink[key] === undefined) {
|
|
45702
|
-
sink[key] = builtSelection[key];
|
|
45703
|
-
}
|
|
45704
|
-
});
|
|
45705
|
-
}
|
|
45706
|
-
else {
|
|
45707
|
-
Object.assign(sink, builtSelection);
|
|
45708
|
-
}
|
|
45709
|
-
}
|
|
45710
|
-
});
|
|
45711
|
-
return sink;
|
|
45182
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$A, source, reader, variables, fragments, parentRecordId);
|
|
45712
45183
|
};
|
|
45713
45184
|
}
|
|
45714
45185
|
function getTypeCacheKeys$J(astNode, state) {
|
|
@@ -45845,26 +45316,8 @@ function buildSelectionForNode$z(source, reader, parentNode, selectionNode, vari
|
|
|
45845
45316
|
}
|
|
45846
45317
|
function select$I(field, variables, fragments) {
|
|
45847
45318
|
return (source, reader, parentRecordId) => {
|
|
45848
|
-
var _a;
|
|
45849
45319
|
const sink = {};
|
|
45850
|
-
(
|
|
45851
|
-
const builtSelection = buildSelectionForNode$z(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
45852
|
-
if (builtSelection !== undefined) {
|
|
45853
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
45854
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
45855
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
45856
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
45857
|
-
if (sink[key] === undefined) {
|
|
45858
|
-
sink[key] = builtSelection[key];
|
|
45859
|
-
}
|
|
45860
|
-
});
|
|
45861
|
-
}
|
|
45862
|
-
else {
|
|
45863
|
-
Object.assign(sink, builtSelection);
|
|
45864
|
-
}
|
|
45865
|
-
}
|
|
45866
|
-
});
|
|
45867
|
-
return sink;
|
|
45320
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$z, source, reader, variables, fragments, parentRecordId);
|
|
45868
45321
|
};
|
|
45869
45322
|
}
|
|
45870
45323
|
function getTypeCacheKeys$I(astNode, state) {
|
|
@@ -46011,26 +45464,8 @@ function buildSelectionForNode$y(source, reader, parentNode, selectionNode, vari
|
|
|
46011
45464
|
}
|
|
46012
45465
|
function select$H(field, variables, fragments) {
|
|
46013
45466
|
return (source, reader, parentRecordId) => {
|
|
46014
|
-
var _a;
|
|
46015
45467
|
const sink = {};
|
|
46016
|
-
(
|
|
46017
|
-
const builtSelection = buildSelectionForNode$y(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
46018
|
-
if (builtSelection !== undefined) {
|
|
46019
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
46020
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
46021
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
46022
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
46023
|
-
if (sink[key] === undefined) {
|
|
46024
|
-
sink[key] = builtSelection[key];
|
|
46025
|
-
}
|
|
46026
|
-
});
|
|
46027
|
-
}
|
|
46028
|
-
else {
|
|
46029
|
-
Object.assign(sink, builtSelection);
|
|
46030
|
-
}
|
|
46031
|
-
}
|
|
46032
|
-
});
|
|
46033
|
-
return sink;
|
|
45468
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$y, source, reader, variables, fragments, parentRecordId);
|
|
46034
45469
|
};
|
|
46035
45470
|
}
|
|
46036
45471
|
function getMinimumSelections$s() {
|
|
@@ -46055,10 +45490,10 @@ function getTypeCacheKeys$H(astNode, state) {
|
|
|
46055
45490
|
representationName: name$x
|
|
46056
45491
|
});
|
|
46057
45492
|
// get all cache keys from normalizable fields
|
|
46058
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$y) :
|
|
45493
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$y) : new Map();
|
|
46059
45494
|
for (const fieldDataKey of Object.keys(data)) {
|
|
46060
45495
|
const fieldData = data[fieldDataKey];
|
|
46061
|
-
const requestedField =
|
|
45496
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
46062
45497
|
if (requestedField === undefined) {
|
|
46063
45498
|
continue; // Skip unknown field.
|
|
46064
45499
|
}
|
|
@@ -46232,26 +45667,8 @@ function buildSelectionForNode$x(source, reader, parentNode, selectionNode, vari
|
|
|
46232
45667
|
}
|
|
46233
45668
|
function select$G(field, variables, fragments) {
|
|
46234
45669
|
return (source, reader, parentRecordId) => {
|
|
46235
|
-
var _a;
|
|
46236
45670
|
const sink = {};
|
|
46237
|
-
(
|
|
46238
|
-
const builtSelection = buildSelectionForNode$x(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
46239
|
-
if (builtSelection !== undefined) {
|
|
46240
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
46241
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
46242
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
46243
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
46244
|
-
if (sink[key] === undefined) {
|
|
46245
|
-
sink[key] = builtSelection[key];
|
|
46246
|
-
}
|
|
46247
|
-
});
|
|
46248
|
-
}
|
|
46249
|
-
else {
|
|
46250
|
-
Object.assign(sink, builtSelection);
|
|
46251
|
-
}
|
|
46252
|
-
}
|
|
46253
|
-
});
|
|
46254
|
-
return sink;
|
|
45671
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$x, source, reader, variables, fragments, parentRecordId);
|
|
46255
45672
|
};
|
|
46256
45673
|
}
|
|
46257
45674
|
function getTypeCacheKeys$G(astNode, state) {
|
|
@@ -46400,26 +45817,8 @@ function buildSelectionForNode$w(source, reader, parentNode, selectionNode, vari
|
|
|
46400
45817
|
}
|
|
46401
45818
|
function select$F(field, variables, fragments) {
|
|
46402
45819
|
return (source, reader, parentRecordId) => {
|
|
46403
|
-
var _a;
|
|
46404
45820
|
const sink = {};
|
|
46405
|
-
(
|
|
46406
|
-
const builtSelection = buildSelectionForNode$w(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
46407
|
-
if (builtSelection !== undefined) {
|
|
46408
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
46409
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
46410
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
46411
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
46412
|
-
if (sink[key] === undefined) {
|
|
46413
|
-
sink[key] = builtSelection[key];
|
|
46414
|
-
}
|
|
46415
|
-
});
|
|
46416
|
-
}
|
|
46417
|
-
else {
|
|
46418
|
-
Object.assign(sink, builtSelection);
|
|
46419
|
-
}
|
|
46420
|
-
}
|
|
46421
|
-
});
|
|
46422
|
-
return sink;
|
|
45821
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$w, source, reader, variables, fragments, parentRecordId);
|
|
46423
45822
|
};
|
|
46424
45823
|
}
|
|
46425
45824
|
function getMinimumSelections$r() {
|
|
@@ -46444,10 +45843,10 @@ function getTypeCacheKeys$F(astNode, state) {
|
|
|
46444
45843
|
representationName: name$v
|
|
46445
45844
|
});
|
|
46446
45845
|
// get all cache keys from normalizable fields
|
|
46447
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$w) :
|
|
45846
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$w) : new Map();
|
|
46448
45847
|
for (const fieldDataKey of Object.keys(data)) {
|
|
46449
45848
|
const fieldData = data[fieldDataKey];
|
|
46450
|
-
const requestedField =
|
|
45849
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
46451
45850
|
if (requestedField === undefined) {
|
|
46452
45851
|
continue; // Skip unknown field.
|
|
46453
45852
|
}
|
|
@@ -46736,26 +46135,8 @@ function buildSelectionForNode$v(source, reader, parentNode, selectionNode, vari
|
|
|
46736
46135
|
}
|
|
46737
46136
|
function select$E(field, variables, fragments) {
|
|
46738
46137
|
return (source, reader, parentRecordId) => {
|
|
46739
|
-
var _a;
|
|
46740
46138
|
const sink = {};
|
|
46741
|
-
(
|
|
46742
|
-
const builtSelection = buildSelectionForNode$v(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
46743
|
-
if (builtSelection !== undefined) {
|
|
46744
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
46745
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
46746
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
46747
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
46748
|
-
if (sink[key] === undefined) {
|
|
46749
|
-
sink[key] = builtSelection[key];
|
|
46750
|
-
}
|
|
46751
|
-
});
|
|
46752
|
-
}
|
|
46753
|
-
else {
|
|
46754
|
-
Object.assign(sink, builtSelection);
|
|
46755
|
-
}
|
|
46756
|
-
}
|
|
46757
|
-
});
|
|
46758
|
-
return sink;
|
|
46139
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$v, source, reader, variables, fragments, parentRecordId);
|
|
46759
46140
|
};
|
|
46760
46141
|
}
|
|
46761
46142
|
function getTypeCacheKeys$E(astNode, state) {
|
|
@@ -46904,26 +46285,8 @@ function buildSelectionForNode$u(source, reader, parentNode, selectionNode, vari
|
|
|
46904
46285
|
}
|
|
46905
46286
|
function select$D(field, variables, fragments) {
|
|
46906
46287
|
return (source, reader, parentRecordId) => {
|
|
46907
|
-
var _a;
|
|
46908
46288
|
const sink = {};
|
|
46909
|
-
(
|
|
46910
|
-
const builtSelection = buildSelectionForNode$u(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
46911
|
-
if (builtSelection !== undefined) {
|
|
46912
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
46913
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
46914
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
46915
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
46916
|
-
if (sink[key] === undefined) {
|
|
46917
|
-
sink[key] = builtSelection[key];
|
|
46918
|
-
}
|
|
46919
|
-
});
|
|
46920
|
-
}
|
|
46921
|
-
else {
|
|
46922
|
-
Object.assign(sink, builtSelection);
|
|
46923
|
-
}
|
|
46924
|
-
}
|
|
46925
|
-
});
|
|
46926
|
-
return sink;
|
|
46289
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$u, source, reader, variables, fragments, parentRecordId);
|
|
46927
46290
|
};
|
|
46928
46291
|
}
|
|
46929
46292
|
function getMinimumSelections$q() {
|
|
@@ -46948,10 +46311,10 @@ function getTypeCacheKeys$D(astNode, state) {
|
|
|
46948
46311
|
representationName: name$t
|
|
46949
46312
|
});
|
|
46950
46313
|
// get all cache keys from normalizable fields
|
|
46951
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$u) :
|
|
46314
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$u) : new Map();
|
|
46952
46315
|
for (const fieldDataKey of Object.keys(data)) {
|
|
46953
46316
|
const fieldData = data[fieldDataKey];
|
|
46954
|
-
const requestedField =
|
|
46317
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
46955
46318
|
if (requestedField === undefined) {
|
|
46956
46319
|
continue; // Skip unknown field.
|
|
46957
46320
|
}
|
|
@@ -47248,26 +46611,8 @@ function buildSelectionForNode$t(source, reader, parentNode, selectionNode, vari
|
|
|
47248
46611
|
}
|
|
47249
46612
|
function select$C(field, variables, fragments) {
|
|
47250
46613
|
return (source, reader, parentRecordId) => {
|
|
47251
|
-
var _a;
|
|
47252
46614
|
const sink = {};
|
|
47253
|
-
(
|
|
47254
|
-
const builtSelection = buildSelectionForNode$t(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
47255
|
-
if (builtSelection !== undefined) {
|
|
47256
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
47257
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
47258
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
47259
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
47260
|
-
if (sink[key] === undefined) {
|
|
47261
|
-
sink[key] = builtSelection[key];
|
|
47262
|
-
}
|
|
47263
|
-
});
|
|
47264
|
-
}
|
|
47265
|
-
else {
|
|
47266
|
-
Object.assign(sink, builtSelection);
|
|
47267
|
-
}
|
|
47268
|
-
}
|
|
47269
|
-
});
|
|
47270
|
-
return sink;
|
|
46615
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$t, source, reader, variables, fragments, parentRecordId);
|
|
47271
46616
|
};
|
|
47272
46617
|
}
|
|
47273
46618
|
function getMinimumSelections$p() {
|
|
@@ -47292,10 +46637,10 @@ function getTypeCacheKeys$C(astNode, state) {
|
|
|
47292
46637
|
representationName: name$s
|
|
47293
46638
|
});
|
|
47294
46639
|
// get all cache keys from normalizable fields
|
|
47295
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$t) :
|
|
46640
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$t) : new Map();
|
|
47296
46641
|
for (const fieldDataKey of Object.keys(data)) {
|
|
47297
46642
|
const fieldData = data[fieldDataKey];
|
|
47298
|
-
const requestedField =
|
|
46643
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
47299
46644
|
if (requestedField === undefined) {
|
|
47300
46645
|
continue; // Skip unknown field.
|
|
47301
46646
|
}
|
|
@@ -47577,26 +46922,8 @@ function buildSelectionForNode$s(source, reader, parentNode, selectionNode, vari
|
|
|
47577
46922
|
}
|
|
47578
46923
|
function select$B(field, variables, fragments) {
|
|
47579
46924
|
return (source, reader, parentRecordId) => {
|
|
47580
|
-
var _a;
|
|
47581
46925
|
const sink = {};
|
|
47582
|
-
(
|
|
47583
|
-
const builtSelection = buildSelectionForNode$s(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
47584
|
-
if (builtSelection !== undefined) {
|
|
47585
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
47586
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
47587
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
47588
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
47589
|
-
if (sink[key] === undefined) {
|
|
47590
|
-
sink[key] = builtSelection[key];
|
|
47591
|
-
}
|
|
47592
|
-
});
|
|
47593
|
-
}
|
|
47594
|
-
else {
|
|
47595
|
-
Object.assign(sink, builtSelection);
|
|
47596
|
-
}
|
|
47597
|
-
}
|
|
47598
|
-
});
|
|
47599
|
-
return sink;
|
|
46926
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$s, source, reader, variables, fragments, parentRecordId);
|
|
47600
46927
|
};
|
|
47601
46928
|
}
|
|
47602
46929
|
function getTypeCacheKeys$B(astNode, state) {
|
|
@@ -47745,26 +47072,8 @@ function buildSelectionForNode$r(source, reader, parentNode, selectionNode, vari
|
|
|
47745
47072
|
}
|
|
47746
47073
|
function select$A(field, variables, fragments) {
|
|
47747
47074
|
return (source, reader, parentRecordId) => {
|
|
47748
|
-
var _a;
|
|
47749
47075
|
const sink = {};
|
|
47750
|
-
(
|
|
47751
|
-
const builtSelection = buildSelectionForNode$r(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
47752
|
-
if (builtSelection !== undefined) {
|
|
47753
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
47754
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
47755
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
47756
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
47757
|
-
if (sink[key] === undefined) {
|
|
47758
|
-
sink[key] = builtSelection[key];
|
|
47759
|
-
}
|
|
47760
|
-
});
|
|
47761
|
-
}
|
|
47762
|
-
else {
|
|
47763
|
-
Object.assign(sink, builtSelection);
|
|
47764
|
-
}
|
|
47765
|
-
}
|
|
47766
|
-
});
|
|
47767
|
-
return sink;
|
|
47076
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$r, source, reader, variables, fragments, parentRecordId);
|
|
47768
47077
|
};
|
|
47769
47078
|
}
|
|
47770
47079
|
function getMinimumSelections$o() {
|
|
@@ -47789,10 +47098,10 @@ function getTypeCacheKeys$A(astNode, state) {
|
|
|
47789
47098
|
representationName: name$q
|
|
47790
47099
|
});
|
|
47791
47100
|
// get all cache keys from normalizable fields
|
|
47792
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$r) :
|
|
47101
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$r) : new Map();
|
|
47793
47102
|
for (const fieldDataKey of Object.keys(data)) {
|
|
47794
47103
|
const fieldData = data[fieldDataKey];
|
|
47795
|
-
const requestedField =
|
|
47104
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
47796
47105
|
if (requestedField === undefined) {
|
|
47797
47106
|
continue; // Skip unknown field.
|
|
47798
47107
|
}
|
|
@@ -48074,26 +47383,8 @@ function buildSelectionForNode$q(source, reader, parentNode, selectionNode, vari
|
|
|
48074
47383
|
}
|
|
48075
47384
|
function select$z(field, variables, fragments) {
|
|
48076
47385
|
return (source, reader, parentRecordId) => {
|
|
48077
|
-
var _a;
|
|
48078
47386
|
const sink = {};
|
|
48079
|
-
(
|
|
48080
|
-
const builtSelection = buildSelectionForNode$q(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
48081
|
-
if (builtSelection !== undefined) {
|
|
48082
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
48083
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
48084
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
48085
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
48086
|
-
if (sink[key] === undefined) {
|
|
48087
|
-
sink[key] = builtSelection[key];
|
|
48088
|
-
}
|
|
48089
|
-
});
|
|
48090
|
-
}
|
|
48091
|
-
else {
|
|
48092
|
-
Object.assign(sink, builtSelection);
|
|
48093
|
-
}
|
|
48094
|
-
}
|
|
48095
|
-
});
|
|
48096
|
-
return sink;
|
|
47387
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$q, source, reader, variables, fragments, parentRecordId);
|
|
48097
47388
|
};
|
|
48098
47389
|
}
|
|
48099
47390
|
function getMinimumSelections$n() {
|
|
@@ -48118,10 +47409,10 @@ function getTypeCacheKeys$z(astNode, state) {
|
|
|
48118
47409
|
representationName: name$p
|
|
48119
47410
|
});
|
|
48120
47411
|
// get all cache keys from normalizable fields
|
|
48121
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$q) :
|
|
47412
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$q) : new Map();
|
|
48122
47413
|
for (const fieldDataKey of Object.keys(data)) {
|
|
48123
47414
|
const fieldData = data[fieldDataKey];
|
|
48124
|
-
const requestedField =
|
|
47415
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
48125
47416
|
if (requestedField === undefined) {
|
|
48126
47417
|
continue; // Skip unknown field.
|
|
48127
47418
|
}
|
|
@@ -48403,26 +47694,8 @@ function buildSelectionForNode$p(source, reader, parentNode, selectionNode, vari
|
|
|
48403
47694
|
}
|
|
48404
47695
|
function select$y(field, variables, fragments) {
|
|
48405
47696
|
return (source, reader, parentRecordId) => {
|
|
48406
|
-
var _a;
|
|
48407
47697
|
const sink = {};
|
|
48408
|
-
(
|
|
48409
|
-
const builtSelection = buildSelectionForNode$p(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
48410
|
-
if (builtSelection !== undefined) {
|
|
48411
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
48412
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
48413
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
48414
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
48415
|
-
if (sink[key] === undefined) {
|
|
48416
|
-
sink[key] = builtSelection[key];
|
|
48417
|
-
}
|
|
48418
|
-
});
|
|
48419
|
-
}
|
|
48420
|
-
else {
|
|
48421
|
-
Object.assign(sink, builtSelection);
|
|
48422
|
-
}
|
|
48423
|
-
}
|
|
48424
|
-
});
|
|
48425
|
-
return sink;
|
|
47698
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$p, source, reader, variables, fragments, parentRecordId);
|
|
48426
47699
|
};
|
|
48427
47700
|
}
|
|
48428
47701
|
function getMinimumSelections$m() {
|
|
@@ -48447,10 +47720,10 @@ function getTypeCacheKeys$y(astNode, state) {
|
|
|
48447
47720
|
representationName: name$o
|
|
48448
47721
|
});
|
|
48449
47722
|
// get all cache keys from normalizable fields
|
|
48450
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$p) :
|
|
47723
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$p) : new Map();
|
|
48451
47724
|
for (const fieldDataKey of Object.keys(data)) {
|
|
48452
47725
|
const fieldData = data[fieldDataKey];
|
|
48453
|
-
const requestedField =
|
|
47726
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
48454
47727
|
if (requestedField === undefined) {
|
|
48455
47728
|
continue; // Skip unknown field.
|
|
48456
47729
|
}
|
|
@@ -48720,26 +47993,8 @@ function buildSelectionForNode$o(source, reader, parentNode, selectionNode, vari
|
|
|
48720
47993
|
}
|
|
48721
47994
|
function select$x(field, variables, fragments) {
|
|
48722
47995
|
return (source, reader, parentRecordId) => {
|
|
48723
|
-
var _a;
|
|
48724
47996
|
const sink = {};
|
|
48725
|
-
(
|
|
48726
|
-
const builtSelection = buildSelectionForNode$o(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
48727
|
-
if (builtSelection !== undefined) {
|
|
48728
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
48729
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
48730
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
48731
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
48732
|
-
if (sink[key] === undefined) {
|
|
48733
|
-
sink[key] = builtSelection[key];
|
|
48734
|
-
}
|
|
48735
|
-
});
|
|
48736
|
-
}
|
|
48737
|
-
else {
|
|
48738
|
-
Object.assign(sink, builtSelection);
|
|
48739
|
-
}
|
|
48740
|
-
}
|
|
48741
|
-
});
|
|
48742
|
-
return sink;
|
|
47997
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$o, source, reader, variables, fragments, parentRecordId);
|
|
48743
47998
|
};
|
|
48744
47999
|
}
|
|
48745
48000
|
function getTypeCacheKeys$x(astNode, state) {
|
|
@@ -48894,26 +48149,8 @@ function buildSelectionForNode$n(source, reader, parentNode, selectionNode, vari
|
|
|
48894
48149
|
}
|
|
48895
48150
|
function select$w(field, variables, fragments) {
|
|
48896
48151
|
return (source, reader, parentRecordId) => {
|
|
48897
|
-
var _a;
|
|
48898
48152
|
const sink = {};
|
|
48899
|
-
(
|
|
48900
|
-
const builtSelection = buildSelectionForNode$n(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
48901
|
-
if (builtSelection !== undefined) {
|
|
48902
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
48903
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
48904
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
48905
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
48906
|
-
if (sink[key] === undefined) {
|
|
48907
|
-
sink[key] = builtSelection[key];
|
|
48908
|
-
}
|
|
48909
|
-
});
|
|
48910
|
-
}
|
|
48911
|
-
else {
|
|
48912
|
-
Object.assign(sink, builtSelection);
|
|
48913
|
-
}
|
|
48914
|
-
}
|
|
48915
|
-
});
|
|
48916
|
-
return sink;
|
|
48153
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$n, source, reader, variables, fragments, parentRecordId);
|
|
48917
48154
|
};
|
|
48918
48155
|
}
|
|
48919
48156
|
function getMinimumSelections$l() {
|
|
@@ -48938,10 +48175,10 @@ function getTypeCacheKeys$w(astNode, state) {
|
|
|
48938
48175
|
representationName: name$m
|
|
48939
48176
|
});
|
|
48940
48177
|
// get all cache keys from normalizable fields
|
|
48941
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$n) :
|
|
48178
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$n) : new Map();
|
|
48942
48179
|
for (const fieldDataKey of Object.keys(data)) {
|
|
48943
48180
|
const fieldData = data[fieldDataKey];
|
|
48944
|
-
const requestedField =
|
|
48181
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
48945
48182
|
if (requestedField === undefined) {
|
|
48946
48183
|
continue; // Skip unknown field.
|
|
48947
48184
|
}
|
|
@@ -49229,26 +48466,8 @@ function buildSelectionForNode$m(source, reader, parentNode, selectionNode, vari
|
|
|
49229
48466
|
}
|
|
49230
48467
|
function select$v(field, variables, fragments) {
|
|
49231
48468
|
return (source, reader, parentRecordId) => {
|
|
49232
|
-
var _a;
|
|
49233
48469
|
const sink = {};
|
|
49234
|
-
(
|
|
49235
|
-
const builtSelection = buildSelectionForNode$m(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
49236
|
-
if (builtSelection !== undefined) {
|
|
49237
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
49238
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
49239
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
49240
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
49241
|
-
if (sink[key] === undefined) {
|
|
49242
|
-
sink[key] = builtSelection[key];
|
|
49243
|
-
}
|
|
49244
|
-
});
|
|
49245
|
-
}
|
|
49246
|
-
else {
|
|
49247
|
-
Object.assign(sink, builtSelection);
|
|
49248
|
-
}
|
|
49249
|
-
}
|
|
49250
|
-
});
|
|
49251
|
-
return sink;
|
|
48470
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$m, source, reader, variables, fragments, parentRecordId);
|
|
49252
48471
|
};
|
|
49253
48472
|
}
|
|
49254
48473
|
function getMinimumSelections$k() {
|
|
@@ -49273,10 +48492,10 @@ function getTypeCacheKeys$v(astNode, state) {
|
|
|
49273
48492
|
representationName: name$l
|
|
49274
48493
|
});
|
|
49275
48494
|
// get all cache keys from normalizable fields
|
|
49276
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$m) :
|
|
48495
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$m) : new Map();
|
|
49277
48496
|
for (const fieldDataKey of Object.keys(data)) {
|
|
49278
48497
|
const fieldData = data[fieldDataKey];
|
|
49279
|
-
const requestedField =
|
|
48498
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
49280
48499
|
if (requestedField === undefined) {
|
|
49281
48500
|
continue; // Skip unknown field.
|
|
49282
48501
|
}
|
|
@@ -49590,26 +48809,8 @@ function buildSelectionForNode$l(source, reader, parentNode, selectionNode, vari
|
|
|
49590
48809
|
}
|
|
49591
48810
|
function select$u(field, variables, fragments) {
|
|
49592
48811
|
return (source, reader, parentRecordId) => {
|
|
49593
|
-
var _a;
|
|
49594
48812
|
const sink = {};
|
|
49595
|
-
(
|
|
49596
|
-
const builtSelection = buildSelectionForNode$l(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
49597
|
-
if (builtSelection !== undefined) {
|
|
49598
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
49599
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
49600
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
49601
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
49602
|
-
if (sink[key] === undefined) {
|
|
49603
|
-
sink[key] = builtSelection[key];
|
|
49604
|
-
}
|
|
49605
|
-
});
|
|
49606
|
-
}
|
|
49607
|
-
else {
|
|
49608
|
-
Object.assign(sink, builtSelection);
|
|
49609
|
-
}
|
|
49610
|
-
}
|
|
49611
|
-
});
|
|
49612
|
-
return sink;
|
|
48813
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$l, source, reader, variables, fragments, parentRecordId);
|
|
49613
48814
|
};
|
|
49614
48815
|
}
|
|
49615
48816
|
function getTypeCacheKeys$u(astNode, state) {
|
|
@@ -49750,26 +48951,8 @@ function buildSelectionForNode$k(source, reader, parentNode, selectionNode, vari
|
|
|
49750
48951
|
}
|
|
49751
48952
|
function select$t(field, variables, fragments) {
|
|
49752
48953
|
return (source, reader, parentRecordId) => {
|
|
49753
|
-
var _a;
|
|
49754
48954
|
const sink = {};
|
|
49755
|
-
(
|
|
49756
|
-
const builtSelection = buildSelectionForNode$k(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
49757
|
-
if (builtSelection !== undefined) {
|
|
49758
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
49759
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
49760
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
49761
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
49762
|
-
if (sink[key] === undefined) {
|
|
49763
|
-
sink[key] = builtSelection[key];
|
|
49764
|
-
}
|
|
49765
|
-
});
|
|
49766
|
-
}
|
|
49767
|
-
else {
|
|
49768
|
-
Object.assign(sink, builtSelection);
|
|
49769
|
-
}
|
|
49770
|
-
}
|
|
49771
|
-
});
|
|
49772
|
-
return sink;
|
|
48955
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$k, source, reader, variables, fragments, parentRecordId);
|
|
49773
48956
|
};
|
|
49774
48957
|
}
|
|
49775
48958
|
function getMinimumSelections$j() {
|
|
@@ -49794,10 +48977,10 @@ function getTypeCacheKeys$t(astNode, state) {
|
|
|
49794
48977
|
representationName: name$j
|
|
49795
48978
|
});
|
|
49796
48979
|
// get all cache keys from normalizable fields
|
|
49797
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$k) :
|
|
48980
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$k) : new Map();
|
|
49798
48981
|
for (const fieldDataKey of Object.keys(data)) {
|
|
49799
48982
|
const fieldData = data[fieldDataKey];
|
|
49800
|
-
const requestedField =
|
|
48983
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
49801
48984
|
if (requestedField === undefined) {
|
|
49802
48985
|
continue; // Skip unknown field.
|
|
49803
48986
|
}
|
|
@@ -49965,26 +49148,8 @@ function buildSelectionForNode$j(source, reader, parentNode, selectionNode, vari
|
|
|
49965
49148
|
}
|
|
49966
49149
|
function select$s(field, variables, fragments) {
|
|
49967
49150
|
return (source, reader, parentRecordId) => {
|
|
49968
|
-
var _a;
|
|
49969
49151
|
const sink = {};
|
|
49970
|
-
(
|
|
49971
|
-
const builtSelection = buildSelectionForNode$j(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
49972
|
-
if (builtSelection !== undefined) {
|
|
49973
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
49974
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
49975
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
49976
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
49977
|
-
if (sink[key] === undefined) {
|
|
49978
|
-
sink[key] = builtSelection[key];
|
|
49979
|
-
}
|
|
49980
|
-
});
|
|
49981
|
-
}
|
|
49982
|
-
else {
|
|
49983
|
-
Object.assign(sink, builtSelection);
|
|
49984
|
-
}
|
|
49985
|
-
}
|
|
49986
|
-
});
|
|
49987
|
-
return sink;
|
|
49152
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$j, source, reader, variables, fragments, parentRecordId);
|
|
49988
49153
|
};
|
|
49989
49154
|
}
|
|
49990
49155
|
function getTypeCacheKeys$s(astNode, state) {
|
|
@@ -50121,26 +49286,8 @@ function buildSelectionForNode$i(source, reader, parentNode, selectionNode, vari
|
|
|
50121
49286
|
}
|
|
50122
49287
|
function select$r(field, variables, fragments) {
|
|
50123
49288
|
return (source, reader, parentRecordId) => {
|
|
50124
|
-
var _a;
|
|
50125
49289
|
const sink = {};
|
|
50126
|
-
(
|
|
50127
|
-
const builtSelection = buildSelectionForNode$i(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
50128
|
-
if (builtSelection !== undefined) {
|
|
50129
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
50130
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
50131
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
50132
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
50133
|
-
if (sink[key] === undefined) {
|
|
50134
|
-
sink[key] = builtSelection[key];
|
|
50135
|
-
}
|
|
50136
|
-
});
|
|
50137
|
-
}
|
|
50138
|
-
else {
|
|
50139
|
-
Object.assign(sink, builtSelection);
|
|
50140
|
-
}
|
|
50141
|
-
}
|
|
50142
|
-
});
|
|
50143
|
-
return sink;
|
|
49290
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$i, source, reader, variables, fragments, parentRecordId);
|
|
50144
49291
|
};
|
|
50145
49292
|
}
|
|
50146
49293
|
function getTypeCacheKeys$r(astNode, state) {
|
|
@@ -50311,26 +49458,8 @@ function buildSelectionForNode$h(source, reader, parentNode, selectionNode, vari
|
|
|
50311
49458
|
}
|
|
50312
49459
|
function select$q(field, variables, fragments) {
|
|
50313
49460
|
return (source, reader, parentRecordId) => {
|
|
50314
|
-
var _a;
|
|
50315
49461
|
const sink = {};
|
|
50316
|
-
(
|
|
50317
|
-
const builtSelection = buildSelectionForNode$h(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
50318
|
-
if (builtSelection !== undefined) {
|
|
50319
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
50320
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
50321
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
50322
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
50323
|
-
if (sink[key] === undefined) {
|
|
50324
|
-
sink[key] = builtSelection[key];
|
|
50325
|
-
}
|
|
50326
|
-
});
|
|
50327
|
-
}
|
|
50328
|
-
else {
|
|
50329
|
-
Object.assign(sink, builtSelection);
|
|
50330
|
-
}
|
|
50331
|
-
}
|
|
50332
|
-
});
|
|
50333
|
-
return sink;
|
|
49462
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$h, source, reader, variables, fragments, parentRecordId);
|
|
50334
49463
|
};
|
|
50335
49464
|
}
|
|
50336
49465
|
function getMinimumSelections$h() {
|
|
@@ -50491,26 +49620,8 @@ function buildSelectionForNode$g(source, reader, parentNode, selectionNode, vari
|
|
|
50491
49620
|
}
|
|
50492
49621
|
function select$p(field, variables, fragments) {
|
|
50493
49622
|
return (source, reader, parentRecordId) => {
|
|
50494
|
-
var _a;
|
|
50495
49623
|
const sink = {};
|
|
50496
|
-
(
|
|
50497
|
-
const builtSelection = buildSelectionForNode$g(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
50498
|
-
if (builtSelection !== undefined) {
|
|
50499
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
50500
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
50501
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
50502
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
50503
|
-
if (sink[key] === undefined) {
|
|
50504
|
-
sink[key] = builtSelection[key];
|
|
50505
|
-
}
|
|
50506
|
-
});
|
|
50507
|
-
}
|
|
50508
|
-
else {
|
|
50509
|
-
Object.assign(sink, builtSelection);
|
|
50510
|
-
}
|
|
50511
|
-
}
|
|
50512
|
-
});
|
|
50513
|
-
return sink;
|
|
49624
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$g, source, reader, variables, fragments, parentRecordId);
|
|
50514
49625
|
};
|
|
50515
49626
|
}
|
|
50516
49627
|
function getMinimumSelections$g() {
|
|
@@ -50663,26 +49774,8 @@ function buildSelectionForNode$f(source, reader, parentNode, selectionNode, vari
|
|
|
50663
49774
|
}
|
|
50664
49775
|
function select$o(field, variables, fragments) {
|
|
50665
49776
|
return (source, reader, parentRecordId) => {
|
|
50666
|
-
var _a;
|
|
50667
49777
|
const sink = {};
|
|
50668
|
-
(
|
|
50669
|
-
const builtSelection = buildSelectionForNode$f(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
50670
|
-
if (builtSelection !== undefined) {
|
|
50671
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
50672
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
50673
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
50674
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
50675
|
-
if (sink[key] === undefined) {
|
|
50676
|
-
sink[key] = builtSelection[key];
|
|
50677
|
-
}
|
|
50678
|
-
});
|
|
50679
|
-
}
|
|
50680
|
-
else {
|
|
50681
|
-
Object.assign(sink, builtSelection);
|
|
50682
|
-
}
|
|
50683
|
-
}
|
|
50684
|
-
});
|
|
50685
|
-
return sink;
|
|
49778
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$f, source, reader, variables, fragments, parentRecordId);
|
|
50686
49779
|
};
|
|
50687
49780
|
}
|
|
50688
49781
|
function getMinimumSelections$f() {
|
|
@@ -50707,10 +49800,10 @@ function getTypeCacheKeys$o(astNode, state) {
|
|
|
50707
49800
|
representationName: name$e
|
|
50708
49801
|
});
|
|
50709
49802
|
// get all cache keys from normalizable fields
|
|
50710
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$f) :
|
|
49803
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$f) : new Map();
|
|
50711
49804
|
for (const fieldDataKey of Object.keys(data)) {
|
|
50712
49805
|
const fieldData = data[fieldDataKey];
|
|
50713
|
-
const requestedField =
|
|
49806
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
50714
49807
|
if (requestedField === undefined) {
|
|
50715
49808
|
continue; // Skip unknown field.
|
|
50716
49809
|
}
|
|
@@ -51195,26 +50288,8 @@ function buildSelectionForNode$e(source, reader, parentNode, selectionNode, vari
|
|
|
51195
50288
|
}
|
|
51196
50289
|
function select$m(field, variables, fragments) {
|
|
51197
50290
|
return (source, reader, parentRecordId) => {
|
|
51198
|
-
var _a;
|
|
51199
50291
|
const sink = {};
|
|
51200
|
-
(
|
|
51201
|
-
const builtSelection = buildSelectionForNode$e(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
51202
|
-
if (builtSelection !== undefined) {
|
|
51203
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
51204
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
51205
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
51206
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
51207
|
-
if (sink[key] === undefined) {
|
|
51208
|
-
sink[key] = builtSelection[key];
|
|
51209
|
-
}
|
|
51210
|
-
});
|
|
51211
|
-
}
|
|
51212
|
-
else {
|
|
51213
|
-
Object.assign(sink, builtSelection);
|
|
51214
|
-
}
|
|
51215
|
-
}
|
|
51216
|
-
});
|
|
51217
|
-
return sink;
|
|
50292
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$e, source, reader, variables, fragments, parentRecordId);
|
|
51218
50293
|
};
|
|
51219
50294
|
}
|
|
51220
50295
|
function getMinimumSelections$d() {
|
|
@@ -51239,10 +50314,10 @@ function getTypeCacheKeys$m(astNode, state) {
|
|
|
51239
50314
|
representationName: name$d
|
|
51240
50315
|
});
|
|
51241
50316
|
// get all cache keys from normalizable fields
|
|
51242
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$e) :
|
|
50317
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$e) : new Map();
|
|
51243
50318
|
for (const fieldDataKey of Object.keys(data)) {
|
|
51244
50319
|
const fieldData = data[fieldDataKey];
|
|
51245
|
-
const requestedField =
|
|
50320
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
51246
50321
|
if (requestedField === undefined) {
|
|
51247
50322
|
continue; // Skip unknown field.
|
|
51248
50323
|
}
|
|
@@ -51791,26 +50866,8 @@ function buildSelectionForNode$d(source, reader, parentNode, selectionNode, vari
|
|
|
51791
50866
|
}
|
|
51792
50867
|
function select$l(field, variables, fragments) {
|
|
51793
50868
|
return (source, reader, parentRecordId) => {
|
|
51794
|
-
var _a;
|
|
51795
50869
|
const sink = {};
|
|
51796
|
-
(
|
|
51797
|
-
const builtSelection = buildSelectionForNode$d(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
51798
|
-
if (builtSelection !== undefined) {
|
|
51799
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
51800
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
51801
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
51802
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
51803
|
-
if (sink[key] === undefined) {
|
|
51804
|
-
sink[key] = builtSelection[key];
|
|
51805
|
-
}
|
|
51806
|
-
});
|
|
51807
|
-
}
|
|
51808
|
-
else {
|
|
51809
|
-
Object.assign(sink, builtSelection);
|
|
51810
|
-
}
|
|
51811
|
-
}
|
|
51812
|
-
});
|
|
51813
|
-
return sink;
|
|
50870
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$d, source, reader, variables, fragments, parentRecordId);
|
|
51814
50871
|
};
|
|
51815
50872
|
}
|
|
51816
50873
|
function getMinimumSelections$c() {
|
|
@@ -51835,10 +50892,10 @@ function getTypeCacheKeys$l(astNode, state) {
|
|
|
51835
50892
|
representationName: name$c
|
|
51836
50893
|
});
|
|
51837
50894
|
// get all cache keys from normalizable fields
|
|
51838
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$d) :
|
|
50895
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$d) : new Map();
|
|
51839
50896
|
for (const fieldDataKey of Object.keys(data)) {
|
|
51840
50897
|
const fieldData = data[fieldDataKey];
|
|
51841
|
-
const requestedField =
|
|
50898
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
51842
50899
|
if (requestedField === undefined) {
|
|
51843
50900
|
continue; // Skip unknown field.
|
|
51844
50901
|
}
|
|
@@ -51989,26 +51046,8 @@ function buildSelectionForNode$c(source, reader, parentNode, selectionNode, vari
|
|
|
51989
51046
|
}
|
|
51990
51047
|
function select$k(field, variables, fragments) {
|
|
51991
51048
|
return (source, reader, parentRecordId) => {
|
|
51992
|
-
var _a;
|
|
51993
51049
|
const sink = {};
|
|
51994
|
-
(
|
|
51995
|
-
const builtSelection = buildSelectionForNode$c(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
51996
|
-
if (builtSelection !== undefined) {
|
|
51997
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
51998
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
51999
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
52000
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
52001
|
-
if (sink[key] === undefined) {
|
|
52002
|
-
sink[key] = builtSelection[key];
|
|
52003
|
-
}
|
|
52004
|
-
});
|
|
52005
|
-
}
|
|
52006
|
-
else {
|
|
52007
|
-
Object.assign(sink, builtSelection);
|
|
52008
|
-
}
|
|
52009
|
-
}
|
|
52010
|
-
});
|
|
52011
|
-
return sink;
|
|
51050
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$c, source, reader, variables, fragments, parentRecordId);
|
|
52012
51051
|
};
|
|
52013
51052
|
}
|
|
52014
51053
|
function getMinimumSelections$b() {
|
|
@@ -52033,10 +51072,10 @@ function getTypeCacheKeys$k(astNode, state) {
|
|
|
52033
51072
|
representationName: name$b
|
|
52034
51073
|
});
|
|
52035
51074
|
// get all cache keys from normalizable fields
|
|
52036
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$c) :
|
|
51075
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$c) : new Map();
|
|
52037
51076
|
for (const fieldDataKey of Object.keys(data)) {
|
|
52038
51077
|
const fieldData = data[fieldDataKey];
|
|
52039
|
-
const requestedField =
|
|
51078
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
52040
51079
|
if (requestedField === undefined) {
|
|
52041
51080
|
continue; // Skip unknown field.
|
|
52042
51081
|
}
|
|
@@ -52194,26 +51233,8 @@ function buildSelectionForNode$b(source, reader, parentNode, selectionNode, vari
|
|
|
52194
51233
|
}
|
|
52195
51234
|
function select$j(field, variables, fragments) {
|
|
52196
51235
|
return (source, reader, parentRecordId) => {
|
|
52197
|
-
var _a;
|
|
52198
51236
|
const sink = {};
|
|
52199
|
-
(
|
|
52200
|
-
const builtSelection = buildSelectionForNode$b(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
52201
|
-
if (builtSelection !== undefined) {
|
|
52202
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
52203
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
52204
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
52205
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
52206
|
-
if (sink[key] === undefined) {
|
|
52207
|
-
sink[key] = builtSelection[key];
|
|
52208
|
-
}
|
|
52209
|
-
});
|
|
52210
|
-
}
|
|
52211
|
-
else {
|
|
52212
|
-
Object.assign(sink, builtSelection);
|
|
52213
|
-
}
|
|
52214
|
-
}
|
|
52215
|
-
});
|
|
52216
|
-
return sink;
|
|
51237
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$b, source, reader, variables, fragments, parentRecordId);
|
|
52217
51238
|
};
|
|
52218
51239
|
}
|
|
52219
51240
|
function getMinimumSelections$a() {
|
|
@@ -52439,26 +51460,8 @@ function buildSelectionForNode$a(source, reader, parentNode, selectionNode, vari
|
|
|
52439
51460
|
}
|
|
52440
51461
|
function select$i(field, variables, fragments) {
|
|
52441
51462
|
return (source, reader, parentRecordId) => {
|
|
52442
|
-
var _a;
|
|
52443
51463
|
const sink = {};
|
|
52444
|
-
(
|
|
52445
|
-
const builtSelection = buildSelectionForNode$a(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
52446
|
-
if (builtSelection !== undefined) {
|
|
52447
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
52448
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
52449
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
52450
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
52451
|
-
if (sink[key] === undefined) {
|
|
52452
|
-
sink[key] = builtSelection[key];
|
|
52453
|
-
}
|
|
52454
|
-
});
|
|
52455
|
-
}
|
|
52456
|
-
else {
|
|
52457
|
-
Object.assign(sink, builtSelection);
|
|
52458
|
-
}
|
|
52459
|
-
}
|
|
52460
|
-
});
|
|
52461
|
-
return sink;
|
|
51464
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$a, source, reader, variables, fragments, parentRecordId);
|
|
52462
51465
|
};
|
|
52463
51466
|
}
|
|
52464
51467
|
function getMinimumSelections$9() {
|
|
@@ -52484,10 +51487,10 @@ function getTypeCacheKeys$i(astNode, state) {
|
|
|
52484
51487
|
representationName: name$9
|
|
52485
51488
|
});
|
|
52486
51489
|
// get all cache keys from normalizable fields
|
|
52487
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$a) :
|
|
51490
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$a) : new Map();
|
|
52488
51491
|
for (const fieldDataKey of Object.keys(data)) {
|
|
52489
51492
|
const fieldData = data[fieldDataKey];
|
|
52490
|
-
const requestedField =
|
|
51493
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
52491
51494
|
if (requestedField === undefined) {
|
|
52492
51495
|
continue; // Skip unknown field.
|
|
52493
51496
|
}
|
|
@@ -53021,26 +52024,8 @@ function buildSelectionForNode$9(source, reader, parentNode, selectionNode, vari
|
|
|
53021
52024
|
}
|
|
53022
52025
|
function select$h(field, variables, fragments) {
|
|
53023
52026
|
return (source, reader, parentRecordId) => {
|
|
53024
|
-
var _a;
|
|
53025
52027
|
const sink = {};
|
|
53026
|
-
(
|
|
53027
|
-
const builtSelection = buildSelectionForNode$9(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
53028
|
-
if (builtSelection !== undefined) {
|
|
53029
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
53030
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
53031
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
53032
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
53033
|
-
if (sink[key] === undefined) {
|
|
53034
|
-
sink[key] = builtSelection[key];
|
|
53035
|
-
}
|
|
53036
|
-
});
|
|
53037
|
-
}
|
|
53038
|
-
else {
|
|
53039
|
-
Object.assign(sink, builtSelection);
|
|
53040
|
-
}
|
|
53041
|
-
}
|
|
53042
|
-
});
|
|
53043
|
-
return sink;
|
|
52028
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$9, source, reader, variables, fragments, parentRecordId);
|
|
53044
52029
|
};
|
|
53045
52030
|
}
|
|
53046
52031
|
function getMinimumSelections$7() {
|
|
@@ -53065,10 +52050,10 @@ function getTypeCacheKeys$h(astNode, state) {
|
|
|
53065
52050
|
representationName: name$8
|
|
53066
52051
|
});
|
|
53067
52052
|
// get all cache keys from normalizable fields
|
|
53068
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$9) :
|
|
52053
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$9) : new Map();
|
|
53069
52054
|
for (const fieldDataKey of Object.keys(data)) {
|
|
53070
52055
|
const fieldData = data[fieldDataKey];
|
|
53071
|
-
const requestedField =
|
|
52056
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
53072
52057
|
if (requestedField === undefined) {
|
|
53073
52058
|
continue; // Skip unknown field.
|
|
53074
52059
|
}
|
|
@@ -53207,26 +52192,8 @@ function buildSelectionForNode$8(source, reader, parentNode, selectionNode, vari
|
|
|
53207
52192
|
}
|
|
53208
52193
|
function select$g(field, variables, fragments) {
|
|
53209
52194
|
return (source, reader, parentRecordId) => {
|
|
53210
|
-
var _a;
|
|
53211
52195
|
const sink = {};
|
|
53212
|
-
(
|
|
53213
|
-
const builtSelection = buildSelectionForNode$8(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
53214
|
-
if (builtSelection !== undefined) {
|
|
53215
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
53216
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
53217
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
53218
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
53219
|
-
if (sink[key] === undefined) {
|
|
53220
|
-
sink[key] = builtSelection[key];
|
|
53221
|
-
}
|
|
53222
|
-
});
|
|
53223
|
-
}
|
|
53224
|
-
else {
|
|
53225
|
-
Object.assign(sink, builtSelection);
|
|
53226
|
-
}
|
|
53227
|
-
}
|
|
53228
|
-
});
|
|
53229
|
-
return sink;
|
|
52196
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$8, source, reader, variables, fragments, parentRecordId);
|
|
53230
52197
|
};
|
|
53231
52198
|
}
|
|
53232
52199
|
function getMinimumSelections$6() {
|
|
@@ -53545,10 +52512,10 @@ function ingestNonCursorConnectionType(astNode, state, specifics) {
|
|
|
53545
52512
|
function ingestTypeWithStrategy(astNode, state, isCursorConnectionType, { key, isFragmentApplicable, isMappedFieldImport, getFieldType, ramlIngestBlock, ingestPaginatedMetadata, mergeData, storeMetadataParams, createLink, }, strategy) {
|
|
53546
52513
|
const { data, variables, luvio, store } = state;
|
|
53547
52514
|
const sink = {};
|
|
53548
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable) :
|
|
52515
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable) : new Map();
|
|
53549
52516
|
for (const fieldDataKey of Object.keys(data)) {
|
|
53550
52517
|
const fieldData = data[fieldDataKey];
|
|
53551
|
-
const requestedField =
|
|
52518
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
53552
52519
|
if (requestedField === undefined) {
|
|
53553
52520
|
continue; // TODO: (W-11132802) We got a field back we didn't ask for. Call handleUnknownField.
|
|
53554
52521
|
}
|
|
@@ -53765,18 +52732,28 @@ function calculateRequestedFieldsForType(typename, selectionSet, namedFragmentsM
|
|
|
53765
52732
|
selections.push(selection);
|
|
53766
52733
|
}
|
|
53767
52734
|
if (selection.kind === "InlineFragment" && isFragmentApplicable(selection, typename)) {
|
|
52735
|
+
// loops over the map to get the values.
|
|
53768
52736
|
getRequestedFieldsForType(typename, selection.selectionSet, namedFragmentsMap, isFragmentApplicable)
|
|
53769
52737
|
.forEach(fragmentFieldSelection => { mergeFragmentWithExistingSelections(fragmentFieldSelection, selections); });
|
|
53770
52738
|
}
|
|
53771
52739
|
if (selection.kind === "FragmentSpread") {
|
|
53772
52740
|
const namedFragment = namedFragmentsMap[selection.name.value];
|
|
53773
52741
|
if (namedFragment && isFragmentApplicable(namedFragment, typename)) {
|
|
52742
|
+
// loops over the map to get the values.
|
|
53774
52743
|
getRequestedFieldsForType(typename, namedFragment.selectionSet, namedFragmentsMap, isFragmentApplicable)
|
|
53775
52744
|
.forEach(fragmentFieldSelection => { mergeFragmentWithExistingSelections(fragmentFieldSelection, selections); });
|
|
53776
52745
|
}
|
|
53777
52746
|
}
|
|
53778
52747
|
});
|
|
53779
|
-
|
|
52748
|
+
// Needs to happen after the selections are merged.
|
|
52749
|
+
return selections.reduce((acc, fieldNode) => {
|
|
52750
|
+
const fieldName = fieldNode.alias ? fieldNode.alias.value : fieldNode.name.value;
|
|
52751
|
+
// 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.
|
|
52752
|
+
if (!acc.has(fieldName)) {
|
|
52753
|
+
acc.set(fieldName, fieldNode);
|
|
52754
|
+
}
|
|
52755
|
+
return acc;
|
|
52756
|
+
}, new Map());
|
|
53780
52757
|
}
|
|
53781
52758
|
let selectionSetRequestedFieldsWeakMap = new WeakMap();
|
|
53782
52759
|
function getRequestedFieldsForType(typename, selectionSet, namedFragmentsMap, isFragmentApplicable) {
|
|
@@ -54381,6 +53358,27 @@ function augmentDefaultVariableValues(variableDefinitions, variables) {
|
|
|
54381
53358
|
}
|
|
54382
53359
|
});
|
|
54383
53360
|
}
|
|
53361
|
+
function selectCalculateSink(sink, field, buildSelectionForNodeFn, source, reader, variables, fragments, parentRecordId) {
|
|
53362
|
+
var _a;
|
|
53363
|
+
(_a = field.selectionSet) === null || _a === void 0 ? void 0 : _a.selections.forEach((sel) => {
|
|
53364
|
+
const builtSelection = buildSelectionForNodeFn(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
53365
|
+
if (builtSelection !== undefined) {
|
|
53366
|
+
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
53367
|
+
Object.keys(builtSelection).forEach((key, value) => {
|
|
53368
|
+
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
53369
|
+
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
53370
|
+
if (sink[key] === undefined) {
|
|
53371
|
+
sink[key] = builtSelection[key];
|
|
53372
|
+
}
|
|
53373
|
+
});
|
|
53374
|
+
}
|
|
53375
|
+
else {
|
|
53376
|
+
Object.assign(sink, builtSelection);
|
|
53377
|
+
}
|
|
53378
|
+
}
|
|
53379
|
+
});
|
|
53380
|
+
return sink;
|
|
53381
|
+
}
|
|
54384
53382
|
function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key, sink, variables, fragments, selectFn) {
|
|
54385
53383
|
var _a, _b, _c, _d, _e;
|
|
54386
53384
|
const source = resolvedLink.data.data;
|
|
@@ -54574,26 +53572,8 @@ function buildSelectionForNode$6(source, reader, parentNode, selectionNode, vari
|
|
|
54574
53572
|
}
|
|
54575
53573
|
function select$f(field, variables, fragments) {
|
|
54576
53574
|
return (source, reader, parentRecordId) => {
|
|
54577
|
-
var _a;
|
|
54578
53575
|
const sink = {};
|
|
54579
|
-
(
|
|
54580
|
-
const builtSelection = buildSelectionForNode$6(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
54581
|
-
if (builtSelection !== undefined) {
|
|
54582
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
54583
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
54584
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
54585
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
54586
|
-
if (sink[key] === undefined) {
|
|
54587
|
-
sink[key] = builtSelection[key];
|
|
54588
|
-
}
|
|
54589
|
-
});
|
|
54590
|
-
}
|
|
54591
|
-
else {
|
|
54592
|
-
Object.assign(sink, builtSelection);
|
|
54593
|
-
}
|
|
54594
|
-
}
|
|
54595
|
-
});
|
|
54596
|
-
return sink;
|
|
53576
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$6, source, reader, variables, fragments, parentRecordId);
|
|
54597
53577
|
};
|
|
54598
53578
|
}
|
|
54599
53579
|
function getTypeCacheKeys$f(astNode, state) {
|
|
@@ -54674,7 +53654,7 @@ function convertGraphQLToRaml(astNode, state) {
|
|
|
54674
53654
|
const { data } = state;
|
|
54675
53655
|
const requestedFields = astNode.selectionSet
|
|
54676
53656
|
? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$5)
|
|
54677
|
-
:
|
|
53657
|
+
: new Map();
|
|
54678
53658
|
const { fieldsBag, trie } = createFieldsBagAndTrie(data, requestedFields, state);
|
|
54679
53659
|
const recordRepresentation = {
|
|
54680
53660
|
apiName: data.ApiName,
|
|
@@ -54703,7 +53683,7 @@ function createFieldsBagAndTrie(data, requestedFields, parentState) {
|
|
|
54703
53683
|
};
|
|
54704
53684
|
for (const fieldDataKey of Object.keys(data)) {
|
|
54705
53685
|
const fieldData = data[fieldDataKey];
|
|
54706
|
-
const requestedField =
|
|
53686
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
54707
53687
|
if (requestedField === undefined) {
|
|
54708
53688
|
continue; // We got a field back we didn't ask for. Skip.
|
|
54709
53689
|
}
|
|
@@ -54793,9 +53773,8 @@ function convertAstToTrie(astNode, fragments) {
|
|
|
54793
53773
|
const requestedFields = astNode.selectionSet
|
|
54794
53774
|
? getRequestedFieldsForType('', // data is null here
|
|
54795
53775
|
astNode.selectionSet, fragments, isFragmentApplicable$5)
|
|
54796
|
-
:
|
|
54797
|
-
for (
|
|
54798
|
-
const field = requestedFields[i];
|
|
53776
|
+
: new Map();
|
|
53777
|
+
for (const [, field] of requestedFields) {
|
|
54799
53778
|
const fieldType = getFieldType$9(field);
|
|
54800
53779
|
const fieldName = field.name.value;
|
|
54801
53780
|
//Untyped field - Adapter forwarded request?
|
|
@@ -55142,10 +54121,10 @@ function getTypeCacheKeys$e(astNode, state) {
|
|
|
55142
54121
|
// get all cache keys from normalizable fields
|
|
55143
54122
|
const requestedFields = astNode.selectionSet
|
|
55144
54123
|
? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$3)
|
|
55145
|
-
:
|
|
54124
|
+
: new Map();
|
|
55146
54125
|
for (const fieldDataKey of ObjectKeys(data)) {
|
|
55147
54126
|
const fieldData = data[fieldDataKey];
|
|
55148
|
-
const requestedField =
|
|
54127
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
55149
54128
|
if (requestedField === undefined) {
|
|
55150
54129
|
continue; // Skip unknown field.
|
|
55151
54130
|
}
|
|
@@ -55367,28 +54346,10 @@ function buildSelectionForNode$5(source, reader, parentNode, selectionNode, vari
|
|
|
55367
54346
|
}
|
|
55368
54347
|
function select$e(field, variables, fragments) {
|
|
55369
54348
|
return (source, reader, parentRecordId) => {
|
|
55370
|
-
var _a;
|
|
55371
54349
|
const sink = {};
|
|
55372
54350
|
source = attachMappedData(source, reader);
|
|
55373
54351
|
reader.markSeenId(parentRecordId); // Always mark identifiable types as seen
|
|
55374
|
-
(
|
|
55375
|
-
const builtSelection = buildSelectionForNode$5(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
55376
|
-
if (builtSelection !== undefined) {
|
|
55377
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
55378
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
55379
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
55380
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
55381
|
-
if (sink[key] === undefined) {
|
|
55382
|
-
sink[key] = builtSelection[key];
|
|
55383
|
-
}
|
|
55384
|
-
});
|
|
55385
|
-
}
|
|
55386
|
-
else {
|
|
55387
|
-
Object.assign(sink, builtSelection);
|
|
55388
|
-
}
|
|
55389
|
-
}
|
|
55390
|
-
});
|
|
55391
|
-
return sink;
|
|
54352
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$5, source, reader, variables, fragments, parentRecordId);
|
|
55392
54353
|
};
|
|
55393
54354
|
}
|
|
55394
54355
|
function getTypeCacheKeys$d(astNode, state) {
|
|
@@ -55401,10 +54362,10 @@ function getTypeCacheKeys$d(astNode, state) {
|
|
|
55401
54362
|
representationName: name$5
|
|
55402
54363
|
});
|
|
55403
54364
|
// get all cache keys from normalizable fields
|
|
55404
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$5) :
|
|
54365
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$5) : new Map();
|
|
55405
54366
|
for (const fieldDataKey of Object.keys(data)) {
|
|
55406
54367
|
const fieldData = data[fieldDataKey];
|
|
55407
|
-
const requestedField =
|
|
54368
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
55408
54369
|
if (requestedField === undefined) {
|
|
55409
54370
|
continue; // Skip unknown field.
|
|
55410
54371
|
}
|
|
@@ -56268,26 +55229,8 @@ function buildSelectionForNode$4(source, reader, parentNode, selectionNode, vari
|
|
|
56268
55229
|
}
|
|
56269
55230
|
function select$d(field, variables, fragments) {
|
|
56270
55231
|
return (source, reader, parentRecordId) => {
|
|
56271
|
-
var _a;
|
|
56272
55232
|
const sink = {};
|
|
56273
|
-
(
|
|
56274
|
-
const builtSelection = buildSelectionForNode$4(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
56275
|
-
if (builtSelection !== undefined) {
|
|
56276
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
56277
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
56278
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
56279
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
56280
|
-
if (sink[key] === undefined) {
|
|
56281
|
-
sink[key] = builtSelection[key];
|
|
56282
|
-
}
|
|
56283
|
-
});
|
|
56284
|
-
}
|
|
56285
|
-
else {
|
|
56286
|
-
Object.assign(sink, builtSelection);
|
|
56287
|
-
}
|
|
56288
|
-
}
|
|
56289
|
-
});
|
|
56290
|
-
return sink;
|
|
55233
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$4, source, reader, variables, fragments, parentRecordId);
|
|
56291
55234
|
};
|
|
56292
55235
|
}
|
|
56293
55236
|
function getMinimumSelections$4() {
|
|
@@ -56312,10 +55255,10 @@ function getTypeCacheKeys$c(astNode, state) {
|
|
|
56312
55255
|
representationName: name$4
|
|
56313
55256
|
});
|
|
56314
55257
|
// get all cache keys from normalizable fields
|
|
56315
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$4) :
|
|
55258
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$4) : new Map();
|
|
56316
55259
|
for (const fieldDataKey of Object.keys(data)) {
|
|
56317
55260
|
const fieldData = data[fieldDataKey];
|
|
56318
|
-
const requestedField =
|
|
55261
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
56319
55262
|
if (requestedField === undefined) {
|
|
56320
55263
|
continue; // Skip unknown field.
|
|
56321
55264
|
}
|
|
@@ -56539,26 +55482,8 @@ function buildSelectionForNode$3(source, reader, parentNode, selectionNode, vari
|
|
|
56539
55482
|
}
|
|
56540
55483
|
function select$c(field, variables, fragments) {
|
|
56541
55484
|
return (source, reader, parentRecordId) => {
|
|
56542
|
-
var _a;
|
|
56543
55485
|
const sink = {};
|
|
56544
|
-
(
|
|
56545
|
-
const builtSelection = buildSelectionForNode$3(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
56546
|
-
if (builtSelection !== undefined) {
|
|
56547
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
56548
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
56549
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
56550
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
56551
|
-
if (sink[key] === undefined) {
|
|
56552
|
-
sink[key] = builtSelection[key];
|
|
56553
|
-
}
|
|
56554
|
-
});
|
|
56555
|
-
}
|
|
56556
|
-
else {
|
|
56557
|
-
Object.assign(sink, builtSelection);
|
|
56558
|
-
}
|
|
56559
|
-
}
|
|
56560
|
-
});
|
|
56561
|
-
return sink;
|
|
55486
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$3, source, reader, variables, fragments, parentRecordId);
|
|
56562
55487
|
};
|
|
56563
55488
|
}
|
|
56564
55489
|
function getMinimumSelections$3() {
|
|
@@ -56726,26 +55651,8 @@ function buildSelectionForNode$2(source, reader, parentNode, selectionNode, vari
|
|
|
56726
55651
|
}
|
|
56727
55652
|
function select$b(field, variables, fragments) {
|
|
56728
55653
|
return (source, reader, parentRecordId) => {
|
|
56729
|
-
var _a;
|
|
56730
55654
|
const sink = {};
|
|
56731
|
-
(
|
|
56732
|
-
const builtSelection = buildSelectionForNode$2(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
56733
|
-
if (builtSelection !== undefined) {
|
|
56734
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
56735
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
56736
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
56737
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
56738
|
-
if (sink[key] === undefined) {
|
|
56739
|
-
sink[key] = builtSelection[key];
|
|
56740
|
-
}
|
|
56741
|
-
});
|
|
56742
|
-
}
|
|
56743
|
-
else {
|
|
56744
|
-
Object.assign(sink, builtSelection);
|
|
56745
|
-
}
|
|
56746
|
-
}
|
|
56747
|
-
});
|
|
56748
|
-
return sink;
|
|
55655
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$2, source, reader, variables, fragments, parentRecordId);
|
|
56749
55656
|
};
|
|
56750
55657
|
}
|
|
56751
55658
|
function getMinimumSelections$2() {
|
|
@@ -56770,10 +55677,10 @@ function getTypeCacheKeys$b(astNode, state) {
|
|
|
56770
55677
|
representationName: name$2
|
|
56771
55678
|
});
|
|
56772
55679
|
// get all cache keys from normalizable fields
|
|
56773
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$2) :
|
|
55680
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$2) : new Map();
|
|
56774
55681
|
for (const fieldDataKey of Object.keys(data)) {
|
|
56775
55682
|
const fieldData = data[fieldDataKey];
|
|
56776
|
-
const requestedField =
|
|
55683
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
56777
55684
|
if (requestedField === undefined) {
|
|
56778
55685
|
continue; // Skip unknown field.
|
|
56779
55686
|
}
|
|
@@ -56918,26 +55825,8 @@ function buildSelectionForNode$1(source, reader, parentNode, selectionNode, vari
|
|
|
56918
55825
|
}
|
|
56919
55826
|
function select$a(field, variables, fragments) {
|
|
56920
55827
|
return (source, reader, parentRecordId) => {
|
|
56921
|
-
var _a;
|
|
56922
55828
|
const sink = {};
|
|
56923
|
-
(
|
|
56924
|
-
const builtSelection = buildSelectionForNode$1(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
56925
|
-
if (builtSelection !== undefined) {
|
|
56926
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
56927
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
56928
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
56929
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
56930
|
-
if (sink[key] === undefined) {
|
|
56931
|
-
sink[key] = builtSelection[key];
|
|
56932
|
-
}
|
|
56933
|
-
});
|
|
56934
|
-
}
|
|
56935
|
-
else {
|
|
56936
|
-
Object.assign(sink, builtSelection);
|
|
56937
|
-
}
|
|
56938
|
-
}
|
|
56939
|
-
});
|
|
56940
|
-
return sink;
|
|
55829
|
+
return selectCalculateSink(sink, field, buildSelectionForNode$1, source, reader, variables, fragments, parentRecordId);
|
|
56941
55830
|
};
|
|
56942
55831
|
}
|
|
56943
55832
|
function getMinimumSelections$1() {
|
|
@@ -56962,10 +55851,10 @@ function getTypeCacheKeys$a(astNode, state) {
|
|
|
56962
55851
|
representationName: name$1
|
|
56963
55852
|
});
|
|
56964
55853
|
// get all cache keys from normalizable fields
|
|
56965
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$1) :
|
|
55854
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$1) : new Map();
|
|
56966
55855
|
for (const fieldDataKey of Object.keys(data)) {
|
|
56967
55856
|
const fieldData = data[fieldDataKey];
|
|
56968
|
-
const requestedField =
|
|
55857
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
56969
55858
|
if (requestedField === undefined) {
|
|
56970
55859
|
continue; // Skip unknown field.
|
|
56971
55860
|
}
|
|
@@ -57224,26 +56113,8 @@ function buildSelectionForNode(source, reader, parentNode, selectionNode, variab
|
|
|
57224
56113
|
}
|
|
57225
56114
|
function select$9(field, variables, fragments) {
|
|
57226
56115
|
return (source, reader, parentRecordId) => {
|
|
57227
|
-
var _a;
|
|
57228
56116
|
const sink = {};
|
|
57229
|
-
(
|
|
57230
|
-
const builtSelection = buildSelectionForNode(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
57231
|
-
if (builtSelection !== undefined) {
|
|
57232
|
-
if (sel.kind === "InlineFragment" || sel.kind === "FragmentSpread") {
|
|
57233
|
-
Object.keys(builtSelection).forEach((key, value) => {
|
|
57234
|
-
// We only assign a field selection in the fragment if it doesn't already exist in sink
|
|
57235
|
-
// The non-fragment selection already got the merged selections in getRequestedFieldsForType
|
|
57236
|
-
if (sink[key] === undefined) {
|
|
57237
|
-
sink[key] = builtSelection[key];
|
|
57238
|
-
}
|
|
57239
|
-
});
|
|
57240
|
-
}
|
|
57241
|
-
else {
|
|
57242
|
-
Object.assign(sink, builtSelection);
|
|
57243
|
-
}
|
|
57244
|
-
}
|
|
57245
|
-
});
|
|
57246
|
-
return sink;
|
|
56117
|
+
return selectCalculateSink(sink, field, buildSelectionForNode, source, reader, variables, fragments, parentRecordId);
|
|
57247
56118
|
};
|
|
57248
56119
|
}
|
|
57249
56120
|
function getMinimumSelections() {
|
|
@@ -57260,10 +56131,10 @@ function getTypeCacheKeys$9(astNode, state) {
|
|
|
57260
56131
|
representationName: name
|
|
57261
56132
|
});
|
|
57262
56133
|
// get all cache keys from normalizable fields
|
|
57263
|
-
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable) :
|
|
56134
|
+
const requestedFields = astNode.selectionSet ? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable) : new Map();
|
|
57264
56135
|
for (const fieldDataKey of Object.keys(data)) {
|
|
57265
56136
|
const fieldData = data[fieldDataKey];
|
|
57266
|
-
const requestedField =
|
|
56137
|
+
const requestedField = requestedFields.get(fieldDataKey);
|
|
57267
56138
|
if (requestedField === undefined) {
|
|
57268
56139
|
continue; // Skip unknown field.
|
|
57269
56140
|
}
|
|
@@ -59310,7 +58181,7 @@ function validate$a(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
59310
58181
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
59311
58182
|
let obj_recordTypeInfo_union0 = null;
|
|
59312
58183
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
59313
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
58184
|
+
const referencepath_recordTypeInfoValidationError = validate$1z(obj_recordTypeInfo, path_recordTypeInfo);
|
|
59314
58185
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
59315
58186
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
59316
58187
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|