@salesforce/lwc-adapters-uiapi 1.236.0 → 1.237.0
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 +678 -467
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -7820,8 +7820,8 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
7820
7820
|
entry['__metadata'] = createLink$1(metadataKey);
|
|
7821
7821
|
}
|
|
7822
7822
|
|
|
7823
|
-
const VERSION$
|
|
7824
|
-
function validate$
|
|
7823
|
+
const VERSION$2v = "275ae22194003d1e53f548b81219c5cb";
|
|
7824
|
+
function validate$1O(obj, path = 'ListColumnRepresentation') {
|
|
7825
7825
|
const v_error = (() => {
|
|
7826
7826
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7827
7827
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7870,10 +7870,10 @@ function validate$1M(obj, path = 'ListColumnRepresentation') {
|
|
|
7870
7870
|
})();
|
|
7871
7871
|
return v_error === undefined ? null : v_error;
|
|
7872
7872
|
}
|
|
7873
|
-
const select$
|
|
7873
|
+
const select$32 = function ListColumnRepresentationSelect() {
|
|
7874
7874
|
return {
|
|
7875
7875
|
kind: 'Fragment',
|
|
7876
|
-
version: VERSION$
|
|
7876
|
+
version: VERSION$2v,
|
|
7877
7877
|
private: [],
|
|
7878
7878
|
selections: [
|
|
7879
7879
|
{
|
|
@@ -7896,8 +7896,8 @@ const select$30 = function ListColumnRepresentationSelect() {
|
|
|
7896
7896
|
};
|
|
7897
7897
|
};
|
|
7898
7898
|
|
|
7899
|
-
const VERSION$
|
|
7900
|
-
function validate$
|
|
7899
|
+
const VERSION$2u = "623aa9ce3a11031e35faf5671a41746e";
|
|
7900
|
+
function validate$1N(obj, path = 'ListFilterByInfoRepresentation') {
|
|
7901
7901
|
const v_error = (() => {
|
|
7902
7902
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7903
7903
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7932,10 +7932,10 @@ function validate$1L(obj, path = 'ListFilterByInfoRepresentation') {
|
|
|
7932
7932
|
})();
|
|
7933
7933
|
return v_error === undefined ? null : v_error;
|
|
7934
7934
|
}
|
|
7935
|
-
const select$
|
|
7935
|
+
const select$31 = function ListFilterByInfoRepresentationSelect() {
|
|
7936
7936
|
return {
|
|
7937
7937
|
kind: 'Fragment',
|
|
7938
|
-
version: VERSION$
|
|
7938
|
+
version: VERSION$2u,
|
|
7939
7939
|
private: [],
|
|
7940
7940
|
selections: [
|
|
7941
7941
|
{
|
|
@@ -7959,8 +7959,8 @@ const select$2$ = function ListFilterByInfoRepresentationSelect() {
|
|
|
7959
7959
|
};
|
|
7960
7960
|
};
|
|
7961
7961
|
|
|
7962
|
-
const VERSION$
|
|
7963
|
-
function validate$
|
|
7962
|
+
const VERSION$2t = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
7963
|
+
function validate$1M(obj, path = 'ListReferenceRepresentation') {
|
|
7964
7964
|
const v_error = (() => {
|
|
7965
7965
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7966
7966
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8030,10 +8030,10 @@ function validate$1K(obj, path = 'ListReferenceRepresentation') {
|
|
|
8030
8030
|
})();
|
|
8031
8031
|
return v_error === undefined ? null : v_error;
|
|
8032
8032
|
}
|
|
8033
|
-
const select$
|
|
8033
|
+
const select$30 = function ListReferenceRepresentationSelect() {
|
|
8034
8034
|
return {
|
|
8035
8035
|
kind: 'Fragment',
|
|
8036
|
-
version: VERSION$
|
|
8036
|
+
version: VERSION$2t,
|
|
8037
8037
|
private: [],
|
|
8038
8038
|
selections: [
|
|
8039
8039
|
{
|
|
@@ -8055,7 +8055,7 @@ const select$2_ = function ListReferenceRepresentationSelect() {
|
|
|
8055
8055
|
]
|
|
8056
8056
|
};
|
|
8057
8057
|
};
|
|
8058
|
-
function equals$
|
|
8058
|
+
function equals$15(existing, incoming) {
|
|
8059
8059
|
const existing_objectApiName = existing.objectApiName;
|
|
8060
8060
|
const incoming_objectApiName = incoming.objectApiName;
|
|
8061
8061
|
if (!(existing_objectApiName === incoming_objectApiName)) {
|
|
@@ -8079,8 +8079,8 @@ function equals$13(existing, incoming) {
|
|
|
8079
8079
|
return true;
|
|
8080
8080
|
}
|
|
8081
8081
|
|
|
8082
|
-
const VERSION$
|
|
8083
|
-
function validate$
|
|
8082
|
+
const VERSION$2s = "32def9b631252c12b91a8209c1f49f5a";
|
|
8083
|
+
function validate$1L(obj, path = 'ListOrderByInfoRepresentation') {
|
|
8084
8084
|
const v_error = (() => {
|
|
8085
8085
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8086
8086
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8124,10 +8124,10 @@ function validate$1J(obj, path = 'ListOrderByInfoRepresentation') {
|
|
|
8124
8124
|
})();
|
|
8125
8125
|
return v_error === undefined ? null : v_error;
|
|
8126
8126
|
}
|
|
8127
|
-
const select$
|
|
8127
|
+
const select$2$ = function ListOrderByInfoRepresentationSelect() {
|
|
8128
8128
|
return {
|
|
8129
8129
|
kind: 'Fragment',
|
|
8130
|
-
version: VERSION$
|
|
8130
|
+
version: VERSION$2s,
|
|
8131
8131
|
private: [],
|
|
8132
8132
|
selections: [
|
|
8133
8133
|
{
|
|
@@ -8146,8 +8146,8 @@ const select$2Z = function ListOrderByInfoRepresentationSelect() {
|
|
|
8146
8146
|
};
|
|
8147
8147
|
};
|
|
8148
8148
|
|
|
8149
|
-
const VERSION$
|
|
8150
|
-
function validate$
|
|
8149
|
+
const VERSION$2r = "2634258f216db34315c06d759a35676d";
|
|
8150
|
+
function validate$1K(obj, path = 'ListScopeEntityRepresentation') {
|
|
8151
8151
|
const v_error = (() => {
|
|
8152
8152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8153
8153
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8165,10 +8165,10 @@ function validate$1I(obj, path = 'ListScopeEntityRepresentation') {
|
|
|
8165
8165
|
})();
|
|
8166
8166
|
return v_error === undefined ? null : v_error;
|
|
8167
8167
|
}
|
|
8168
|
-
const select$
|
|
8168
|
+
const select$2_ = function ListScopeEntityRepresentationSelect() {
|
|
8169
8169
|
return {
|
|
8170
8170
|
kind: 'Fragment',
|
|
8171
|
-
version: VERSION$
|
|
8171
|
+
version: VERSION$2r,
|
|
8172
8172
|
private: [],
|
|
8173
8173
|
selections: [
|
|
8174
8174
|
{
|
|
@@ -8183,8 +8183,8 @@ const select$2Y = function ListScopeEntityRepresentationSelect() {
|
|
|
8183
8183
|
};
|
|
8184
8184
|
};
|
|
8185
8185
|
|
|
8186
|
-
const VERSION$
|
|
8187
|
-
function validate$
|
|
8186
|
+
const VERSION$2q = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
8187
|
+
function validate$1J(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
8188
8188
|
const v_error = (() => {
|
|
8189
8189
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8190
8190
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8207,10 +8207,10 @@ function validate$1H(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
|
8207
8207
|
})();
|
|
8208
8208
|
return v_error === undefined ? null : v_error;
|
|
8209
8209
|
}
|
|
8210
|
-
const select$
|
|
8210
|
+
const select$2Z = function ListScopeRelatedEntityRepresentationSelect() {
|
|
8211
8211
|
return {
|
|
8212
8212
|
kind: 'Fragment',
|
|
8213
|
-
version: VERSION$
|
|
8213
|
+
version: VERSION$2q,
|
|
8214
8214
|
private: [],
|
|
8215
8215
|
selections: [
|
|
8216
8216
|
{
|
|
@@ -8229,8 +8229,8 @@ const select$2X = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
8229
8229
|
};
|
|
8230
8230
|
};
|
|
8231
8231
|
|
|
8232
|
-
const VERSION$
|
|
8233
|
-
function validate$
|
|
8232
|
+
const VERSION$2p = "a51de242c746e5500a833e84dfaa2170";
|
|
8233
|
+
function validate$1I(obj, path = 'ListScopeRepresentation') {
|
|
8234
8234
|
const v_error = (() => {
|
|
8235
8235
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8236
8236
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8244,7 +8244,7 @@ function validate$1G(obj, path = 'ListScopeRepresentation') {
|
|
|
8244
8244
|
const path_entity = path + '.entity';
|
|
8245
8245
|
let obj_entity_union0 = null;
|
|
8246
8246
|
const obj_entity_union0_error = (() => {
|
|
8247
|
-
const referencepath_entityValidationError = validate$
|
|
8247
|
+
const referencepath_entityValidationError = validate$1K(obj_entity, path_entity);
|
|
8248
8248
|
if (referencepath_entityValidationError !== null) {
|
|
8249
8249
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
8250
8250
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8278,7 +8278,7 @@ function validate$1G(obj, path = 'ListScopeRepresentation') {
|
|
|
8278
8278
|
const path_relatedEntity = path + '.relatedEntity';
|
|
8279
8279
|
let obj_relatedEntity_union0 = null;
|
|
8280
8280
|
const obj_relatedEntity_union0_error = (() => {
|
|
8281
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
8281
|
+
const referencepath_relatedEntityValidationError = validate$1J(obj_relatedEntity, path_relatedEntity);
|
|
8282
8282
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
8283
8283
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
8284
8284
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8306,12 +8306,12 @@ function validate$1G(obj, path = 'ListScopeRepresentation') {
|
|
|
8306
8306
|
})();
|
|
8307
8307
|
return v_error === undefined ? null : v_error;
|
|
8308
8308
|
}
|
|
8309
|
-
const select$
|
|
8310
|
-
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$
|
|
8311
|
-
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$
|
|
8309
|
+
const select$2Y = function ListScopeRepresentationSelect() {
|
|
8310
|
+
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$2_();
|
|
8311
|
+
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$2Z();
|
|
8312
8312
|
return {
|
|
8313
8313
|
kind: 'Fragment',
|
|
8314
|
-
version: VERSION$
|
|
8314
|
+
version: VERSION$2p,
|
|
8315
8315
|
private: [],
|
|
8316
8316
|
selections: [
|
|
8317
8317
|
{
|
|
@@ -8338,8 +8338,8 @@ const select$2W = function ListScopeRepresentationSelect() {
|
|
|
8338
8338
|
};
|
|
8339
8339
|
};
|
|
8340
8340
|
|
|
8341
|
-
const VERSION$
|
|
8342
|
-
function validate$
|
|
8341
|
+
const VERSION$2o = "6506134f4d72fdfa349fe60ef1af2413";
|
|
8342
|
+
function validate$1H(obj, path = 'ListUserPreferenceRepresentation') {
|
|
8343
8343
|
const v_error = (() => {
|
|
8344
8344
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8345
8345
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8375,10 +8375,10 @@ function validate$1F(obj, path = 'ListUserPreferenceRepresentation') {
|
|
|
8375
8375
|
})();
|
|
8376
8376
|
return v_error === undefined ? null : v_error;
|
|
8377
8377
|
}
|
|
8378
|
-
const select$
|
|
8378
|
+
const select$2X = function ListUserPreferenceRepresentationSelect() {
|
|
8379
8379
|
return {
|
|
8380
8380
|
kind: 'Fragment',
|
|
8381
|
-
version: VERSION$
|
|
8381
|
+
version: VERSION$2o,
|
|
8382
8382
|
private: [],
|
|
8383
8383
|
selections: [
|
|
8384
8384
|
{
|
|
@@ -8396,8 +8396,8 @@ const select$2V = function ListUserPreferenceRepresentationSelect() {
|
|
|
8396
8396
|
};
|
|
8397
8397
|
|
|
8398
8398
|
const TTL$D = 900000;
|
|
8399
|
-
const VERSION$
|
|
8400
|
-
function validate$
|
|
8399
|
+
const VERSION$2n = "8b55d621d80c84ec2e331abc4e12fc56";
|
|
8400
|
+
function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
8401
8401
|
const v_error = (() => {
|
|
8402
8402
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8403
8403
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8425,7 +8425,7 @@ function validate$1E(obj, path = 'ListInfoRepresentation') {
|
|
|
8425
8425
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
8426
8426
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
8427
8427
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
8428
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
8428
|
+
const referencepath_displayColumns_itemValidationError = validate$1O(obj_displayColumns_item, path_displayColumns_item);
|
|
8429
8429
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
8430
8430
|
let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
8431
8431
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8471,7 +8471,7 @@ function validate$1E(obj, path = 'ListInfoRepresentation') {
|
|
|
8471
8471
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
8472
8472
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
8473
8473
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
8474
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
8474
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1N(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
8475
8475
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
8476
8476
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
8477
8477
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8506,7 +8506,7 @@ function validate$1E(obj, path = 'ListInfoRepresentation') {
|
|
|
8506
8506
|
}
|
|
8507
8507
|
const obj_listReference = obj.listReference;
|
|
8508
8508
|
const path_listReference = path + '.listReference';
|
|
8509
|
-
const referencepath_listReferenceValidationError = validate$
|
|
8509
|
+
const referencepath_listReferenceValidationError = validate$1M(obj_listReference, path_listReference);
|
|
8510
8510
|
if (referencepath_listReferenceValidationError !== null) {
|
|
8511
8511
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
8512
8512
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8534,7 +8534,7 @@ function validate$1E(obj, path = 'ListInfoRepresentation') {
|
|
|
8534
8534
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
8535
8535
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
8536
8536
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
8537
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
8537
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1L(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
8538
8538
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
8539
8539
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
8540
8540
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8546,7 +8546,7 @@ function validate$1E(obj, path = 'ListInfoRepresentation') {
|
|
|
8546
8546
|
const path_scope = path + '.scope';
|
|
8547
8547
|
let obj_scope_union0 = null;
|
|
8548
8548
|
const obj_scope_union0_error = (() => {
|
|
8549
|
-
const referencepath_scopeValidationError = validate$
|
|
8549
|
+
const referencepath_scopeValidationError = validate$1I(obj_scope, path_scope);
|
|
8550
8550
|
if (referencepath_scopeValidationError !== null) {
|
|
8551
8551
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
8552
8552
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8579,7 +8579,7 @@ function validate$1E(obj, path = 'ListInfoRepresentation') {
|
|
|
8579
8579
|
}
|
|
8580
8580
|
const obj_userPreferences = obj.userPreferences;
|
|
8581
8581
|
const path_userPreferences = path + '.userPreferences';
|
|
8582
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
8582
|
+
const referencepath_userPreferencesValidationError = validate$1H(obj_userPreferences, path_userPreferences);
|
|
8583
8583
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
8584
8584
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
8585
8585
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8613,16 +8613,16 @@ function keyBuilderFromType$A(luvio, object) {
|
|
|
8613
8613
|
function normalize$P(input, existing, path, luvio, store, timestamp) {
|
|
8614
8614
|
return input;
|
|
8615
8615
|
}
|
|
8616
|
-
const select$
|
|
8617
|
-
const { selections: ListColumnRepresentation__selections, opaque: ListColumnRepresentation__opaque, } = select$
|
|
8618
|
-
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$
|
|
8619
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
8620
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
8621
|
-
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$
|
|
8622
|
-
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$
|
|
8616
|
+
const select$2W = function ListInfoRepresentationSelect() {
|
|
8617
|
+
const { selections: ListColumnRepresentation__selections, opaque: ListColumnRepresentation__opaque, } = select$32();
|
|
8618
|
+
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$31();
|
|
8619
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$30();
|
|
8620
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$2$();
|
|
8621
|
+
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$2Y();
|
|
8622
|
+
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$2X();
|
|
8623
8623
|
return {
|
|
8624
8624
|
kind: 'Fragment',
|
|
8625
|
-
version: VERSION$
|
|
8625
|
+
version: VERSION$2n,
|
|
8626
8626
|
private: [
|
|
8627
8627
|
'eTag'
|
|
8628
8628
|
],
|
|
@@ -8703,7 +8703,7 @@ const select$2U = function ListInfoRepresentationSelect() {
|
|
|
8703
8703
|
]
|
|
8704
8704
|
};
|
|
8705
8705
|
};
|
|
8706
|
-
function equals$
|
|
8706
|
+
function equals$14(existing, incoming) {
|
|
8707
8707
|
if (existing.eTag !== incoming.eTag) {
|
|
8708
8708
|
return false;
|
|
8709
8709
|
}
|
|
@@ -8711,14 +8711,14 @@ function equals$12(existing, incoming) {
|
|
|
8711
8711
|
}
|
|
8712
8712
|
const ingest$1U = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8713
8713
|
if (process.env.NODE_ENV !== 'production') {
|
|
8714
|
-
const validateError = validate$
|
|
8714
|
+
const validateError = validate$1G(input);
|
|
8715
8715
|
if (validateError !== null) {
|
|
8716
8716
|
throw validateError;
|
|
8717
8717
|
}
|
|
8718
8718
|
}
|
|
8719
8719
|
const key = keyBuilderFromType$A(luvio, input);
|
|
8720
8720
|
const ttlToUse = TTL$D;
|
|
8721
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$P, "UiApi", VERSION$
|
|
8721
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$P, "UiApi", VERSION$2n, RepresentationType$W, equals$14);
|
|
8722
8722
|
return createLink$1(key);
|
|
8723
8723
|
};
|
|
8724
8724
|
function getTypeCacheKeys$1X(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8776,8 +8776,8 @@ function toSortedStringArray(value) {
|
|
|
8776
8776
|
return undefined;
|
|
8777
8777
|
}
|
|
8778
8778
|
|
|
8779
|
-
const VERSION$
|
|
8780
|
-
function validate$
|
|
8779
|
+
const VERSION$2m = "d1e589a127fb1060c89070cdb6f500b2";
|
|
8780
|
+
function validate$1F(obj, path = 'RecordTypeInfoRepresentation') {
|
|
8781
8781
|
const v_error = (() => {
|
|
8782
8782
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8783
8783
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8810,10 +8810,10 @@ function validate$1D(obj, path = 'RecordTypeInfoRepresentation') {
|
|
|
8810
8810
|
})();
|
|
8811
8811
|
return v_error === undefined ? null : v_error;
|
|
8812
8812
|
}
|
|
8813
|
-
const select$
|
|
8813
|
+
const select$2V = function RecordTypeInfoRepresentationSelect() {
|
|
8814
8814
|
return {
|
|
8815
8815
|
kind: 'Fragment',
|
|
8816
|
-
version: VERSION$
|
|
8816
|
+
version: VERSION$2m,
|
|
8817
8817
|
private: [],
|
|
8818
8818
|
selections: [
|
|
8819
8819
|
{
|
|
@@ -8839,7 +8839,7 @@ const select$2T = function RecordTypeInfoRepresentationSelect() {
|
|
|
8839
8839
|
]
|
|
8840
8840
|
};
|
|
8841
8841
|
};
|
|
8842
|
-
function equals$
|
|
8842
|
+
function equals$13(existing, incoming) {
|
|
8843
8843
|
const existing_available = existing.available;
|
|
8844
8844
|
const incoming_available = incoming.available;
|
|
8845
8845
|
if (!(existing_available === incoming_available)) {
|
|
@@ -8868,8 +8868,8 @@ function equals$11(existing, incoming) {
|
|
|
8868
8868
|
return true;
|
|
8869
8869
|
}
|
|
8870
8870
|
|
|
8871
|
-
const VERSION$
|
|
8872
|
-
function validate$
|
|
8871
|
+
const VERSION$2l = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
8872
|
+
function validate$1E(obj, path = 'FieldValueRepresentation') {
|
|
8873
8873
|
const v_error = (() => {
|
|
8874
8874
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8875
8875
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8977,10 +8977,10 @@ function normalize$O(input, existing, path, luvio, store, timestamp) {
|
|
|
8977
8977
|
}
|
|
8978
8978
|
return input;
|
|
8979
8979
|
}
|
|
8980
|
-
const select$
|
|
8980
|
+
const select$2U = function FieldValueRepresentationSelect() {
|
|
8981
8981
|
return {
|
|
8982
8982
|
kind: 'Fragment',
|
|
8983
|
-
version: VERSION$
|
|
8983
|
+
version: VERSION$2l,
|
|
8984
8984
|
private: [],
|
|
8985
8985
|
selections: [
|
|
8986
8986
|
{
|
|
@@ -8991,12 +8991,12 @@ const select$2S = function FieldValueRepresentationSelect() {
|
|
|
8991
8991
|
name: 'value',
|
|
8992
8992
|
kind: 'Link',
|
|
8993
8993
|
nullable: true,
|
|
8994
|
-
fragment: select$
|
|
8994
|
+
fragment: select$2S()
|
|
8995
8995
|
}
|
|
8996
8996
|
]
|
|
8997
8997
|
};
|
|
8998
8998
|
};
|
|
8999
|
-
function equals$
|
|
8999
|
+
function equals$12(existing, incoming) {
|
|
9000
9000
|
const existing_displayValue = existing.displayValue;
|
|
9001
9001
|
const incoming_displayValue = incoming.displayValue;
|
|
9002
9002
|
if (!(existing_displayValue === incoming_displayValue)) {
|
|
@@ -9016,14 +9016,14 @@ function equals$10(existing, incoming) {
|
|
|
9016
9016
|
}
|
|
9017
9017
|
const ingest$1T = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9018
9018
|
if (process.env.NODE_ENV !== 'production') {
|
|
9019
|
-
const validateError = validate$
|
|
9019
|
+
const validateError = validate$1E(input);
|
|
9020
9020
|
if (validateError !== null) {
|
|
9021
9021
|
throw validateError;
|
|
9022
9022
|
}
|
|
9023
9023
|
}
|
|
9024
9024
|
const key = path.fullPath;
|
|
9025
9025
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
9026
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$O, "UiApi", VERSION$
|
|
9026
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$O, "UiApi", VERSION$2l, RepresentationType$V, equals$12);
|
|
9027
9027
|
return createLink$1(key);
|
|
9028
9028
|
};
|
|
9029
9029
|
function getTypeCacheKeys$1W(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -9066,8 +9066,8 @@ const getTypeCacheKeys$1V = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
9066
9066
|
};
|
|
9067
9067
|
|
|
9068
9068
|
const TTL$C = 120000;
|
|
9069
|
-
const VERSION$
|
|
9070
|
-
function validate$
|
|
9069
|
+
const VERSION$2k = "79cb5ac9f44542f683d00245fdfe500d";
|
|
9070
|
+
function validate$1D(obj, path = 'RecordCollectionRepresentation') {
|
|
9071
9071
|
const v_error = (() => {
|
|
9072
9072
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9073
9073
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9247,10 +9247,10 @@ function normalize$N(input, existing, path, luvio, store, timestamp) {
|
|
|
9247
9247
|
}
|
|
9248
9248
|
return input;
|
|
9249
9249
|
}
|
|
9250
|
-
const select$
|
|
9250
|
+
const select$2T = function RecordCollectionRepresentationSelect() {
|
|
9251
9251
|
return {
|
|
9252
9252
|
kind: 'Fragment',
|
|
9253
|
-
version: VERSION$
|
|
9253
|
+
version: VERSION$2k,
|
|
9254
9254
|
private: [],
|
|
9255
9255
|
selections: [
|
|
9256
9256
|
{
|
|
@@ -9285,12 +9285,12 @@ const select$2R = function RecordCollectionRepresentationSelect() {
|
|
|
9285
9285
|
name: 'records',
|
|
9286
9286
|
kind: 'Link',
|
|
9287
9287
|
plural: true,
|
|
9288
|
-
fragment: select$
|
|
9288
|
+
fragment: select$2S()
|
|
9289
9289
|
}
|
|
9290
9290
|
]
|
|
9291
9291
|
};
|
|
9292
9292
|
};
|
|
9293
|
-
function equals
|
|
9293
|
+
function equals$11(existing, incoming) {
|
|
9294
9294
|
const existing_count = existing.count;
|
|
9295
9295
|
const incoming_count = incoming.count;
|
|
9296
9296
|
if (!(existing_count === incoming_count)) {
|
|
@@ -9340,14 +9340,14 @@ function equals$$(existing, incoming) {
|
|
|
9340
9340
|
}
|
|
9341
9341
|
const ingest$1S = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9342
9342
|
if (process.env.NODE_ENV !== 'production') {
|
|
9343
|
-
const validateError = validate$
|
|
9343
|
+
const validateError = validate$1D(input);
|
|
9344
9344
|
if (validateError !== null) {
|
|
9345
9345
|
throw validateError;
|
|
9346
9346
|
}
|
|
9347
9347
|
}
|
|
9348
9348
|
const key = path.fullPath;
|
|
9349
9349
|
const ttlToUse = TTL$C;
|
|
9350
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$N, "UiApi", VERSION$
|
|
9350
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$N, "UiApi", VERSION$2k, RepresentationType$U, equals$11);
|
|
9351
9351
|
return createLink$1(key);
|
|
9352
9352
|
};
|
|
9353
9353
|
function getTypeCacheKeys$1U(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -9375,8 +9375,8 @@ const keyBuilderFromType$z = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
9375
9375
|
};
|
|
9376
9376
|
|
|
9377
9377
|
const TTL$B = 30000;
|
|
9378
|
-
const VERSION$
|
|
9379
|
-
function validate$
|
|
9378
|
+
const VERSION$2j = "98c5b18512e48ca8d28727549507e4ba";
|
|
9379
|
+
function validate$1C(obj, path = 'RecordRepresentation') {
|
|
9380
9380
|
const v_error = (() => {
|
|
9381
9381
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9382
9382
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9506,7 +9506,7 @@ function validate$1A(obj, path = 'RecordRepresentation') {
|
|
|
9506
9506
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
9507
9507
|
let obj_recordTypeInfo_union0 = null;
|
|
9508
9508
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
9509
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
9509
|
+
const referencepath_recordTypeInfoValidationError = validate$1F(obj_recordTypeInfo, path_recordTypeInfo);
|
|
9510
9510
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
9511
9511
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
9512
9512
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9618,11 +9618,11 @@ function dynamicNormalize$5(ingestParams) {
|
|
|
9618
9618
|
return input;
|
|
9619
9619
|
};
|
|
9620
9620
|
}
|
|
9621
|
-
const select$
|
|
9622
|
-
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$
|
|
9621
|
+
const select$2S = function RecordRepresentationSelect() {
|
|
9622
|
+
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2V();
|
|
9623
9623
|
return {
|
|
9624
9624
|
kind: 'Fragment',
|
|
9625
|
-
version: VERSION$
|
|
9625
|
+
version: VERSION$2j,
|
|
9626
9626
|
private: [
|
|
9627
9627
|
'eTag',
|
|
9628
9628
|
'weakEtag'
|
|
@@ -9636,13 +9636,13 @@ const select$2Q = function RecordRepresentationSelect() {
|
|
|
9636
9636
|
name: 'childRelationships',
|
|
9637
9637
|
kind: 'Link',
|
|
9638
9638
|
map: true,
|
|
9639
|
-
fragment: select$
|
|
9639
|
+
fragment: select$2T()
|
|
9640
9640
|
},
|
|
9641
9641
|
{
|
|
9642
9642
|
name: 'fields',
|
|
9643
9643
|
kind: 'Link',
|
|
9644
9644
|
map: true,
|
|
9645
|
-
fragment: select$
|
|
9645
|
+
fragment: select$2U()
|
|
9646
9646
|
},
|
|
9647
9647
|
{
|
|
9648
9648
|
name: 'id',
|
|
@@ -9678,18 +9678,18 @@ const dynamicSelect$8 = function dynamicRecordRepresentationSelect(params) {
|
|
|
9678
9678
|
name: 'childRelationships',
|
|
9679
9679
|
kind: 'Link',
|
|
9680
9680
|
map: true,
|
|
9681
|
-
fragment: select$
|
|
9681
|
+
fragment: select$2T()
|
|
9682
9682
|
} : params.childRelationships;
|
|
9683
9683
|
const fieldsPathSelection = params.fields === undefined ? {
|
|
9684
9684
|
name: 'fields',
|
|
9685
9685
|
kind: 'Link',
|
|
9686
9686
|
map: true,
|
|
9687
|
-
fragment: select$
|
|
9687
|
+
fragment: select$2U()
|
|
9688
9688
|
} : params.fields;
|
|
9689
|
-
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$
|
|
9689
|
+
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$2V();
|
|
9690
9690
|
return {
|
|
9691
9691
|
kind: 'Fragment',
|
|
9692
|
-
version: VERSION$
|
|
9692
|
+
version: VERSION$2j,
|
|
9693
9693
|
private: [
|
|
9694
9694
|
'eTag',
|
|
9695
9695
|
'weakEtag'
|
|
@@ -9730,7 +9730,7 @@ const dynamicSelect$8 = function dynamicRecordRepresentationSelect(params) {
|
|
|
9730
9730
|
]
|
|
9731
9731
|
};
|
|
9732
9732
|
};
|
|
9733
|
-
function equals$
|
|
9733
|
+
function equals$10(existing, incoming) {
|
|
9734
9734
|
const existing_weakEtag = existing.weakEtag;
|
|
9735
9735
|
const incoming_weakEtag = incoming.weakEtag;
|
|
9736
9736
|
if (!(existing_weakEtag === incoming_weakEtag)) {
|
|
@@ -9791,7 +9791,7 @@ function equals$_(existing, incoming) {
|
|
|
9791
9791
|
if (!(existing_recordTypeInfo === incoming_recordTypeInfo
|
|
9792
9792
|
|| (existing_recordTypeInfo != null &&
|
|
9793
9793
|
incoming_recordTypeInfo != null &&
|
|
9794
|
-
equals$
|
|
9794
|
+
equals$13(existing_recordTypeInfo, incoming_recordTypeInfo)))) {
|
|
9795
9795
|
return false;
|
|
9796
9796
|
}
|
|
9797
9797
|
const existing_systemModstamp = existing.systemModstamp;
|
|
@@ -11214,7 +11214,7 @@ function createPathSelection(propertyName, fieldDefinition) {
|
|
|
11214
11214
|
kind: 'Fragment',
|
|
11215
11215
|
private: ['eTag', 'weakEtag'],
|
|
11216
11216
|
selections: createRecordSelection(childFieldDefinition),
|
|
11217
|
-
version: VERSION$
|
|
11217
|
+
version: VERSION$2j,
|
|
11218
11218
|
},
|
|
11219
11219
|
};
|
|
11220
11220
|
}
|
|
@@ -11224,7 +11224,7 @@ function createPathSelection(propertyName, fieldDefinition) {
|
|
|
11224
11224
|
required: childFieldDefinition.optional === true ? false : undefined,
|
|
11225
11225
|
fragment: {
|
|
11226
11226
|
kind: 'Fragment',
|
|
11227
|
-
version: VERSION$
|
|
11227
|
+
version: VERSION$2l,
|
|
11228
11228
|
private: [],
|
|
11229
11229
|
selections: [DISPLAY_VALUE_SELECTION, fieldValueSelection],
|
|
11230
11230
|
},
|
|
@@ -11256,7 +11256,7 @@ function createPathSelectionFromValue(fields) {
|
|
|
11256
11256
|
kind: 'Fragment',
|
|
11257
11257
|
private: [],
|
|
11258
11258
|
selections: buildSelectionFromRecord(fieldValue),
|
|
11259
|
-
version: VERSION$
|
|
11259
|
+
version: VERSION$2j,
|
|
11260
11260
|
},
|
|
11261
11261
|
};
|
|
11262
11262
|
}
|
|
@@ -11266,7 +11266,7 @@ function createPathSelectionFromValue(fields) {
|
|
|
11266
11266
|
required: undefined,
|
|
11267
11267
|
fragment: {
|
|
11268
11268
|
kind: 'Fragment',
|
|
11269
|
-
version: VERSION$
|
|
11269
|
+
version: VERSION$2l,
|
|
11270
11270
|
private: [],
|
|
11271
11271
|
selections: [DISPLAY_VALUE_SELECTION, fieldValueSelection],
|
|
11272
11272
|
},
|
|
@@ -12172,7 +12172,7 @@ function normalize$M(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
12172
12172
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
12173
12173
|
return (input, path, luvio, store, timestamp) => {
|
|
12174
12174
|
if (process.env.NODE_ENV !== 'production') {
|
|
12175
|
-
const validateError = validate$
|
|
12175
|
+
const validateError = validate$1E(input);
|
|
12176
12176
|
if (validateError !== null) {
|
|
12177
12177
|
throw validateError;
|
|
12178
12178
|
}
|
|
@@ -12187,7 +12187,7 @@ function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
|
12187
12187
|
// read again after children ingested in case of a circular ref
|
|
12188
12188
|
existingRecord = store.readEntry(key);
|
|
12189
12189
|
incomingRecord = merge$2(existingRecord, incomingRecord, luvio, path);
|
|
12190
|
-
if (existingRecord === undefined || equals$
|
|
12190
|
+
if (existingRecord === undefined || equals$12(existingRecord, incomingRecord) === false) {
|
|
12191
12191
|
luvio.storePublish(key, incomingRecord);
|
|
12192
12192
|
}
|
|
12193
12193
|
return createLink$1(key);
|
|
@@ -12265,7 +12265,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
12265
12265
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
12266
12266
|
return (input, path, luvio, store, timestamp) => {
|
|
12267
12267
|
if (process.env.NODE_ENV !== 'production') {
|
|
12268
|
-
const validateError = validate$
|
|
12268
|
+
const validateError = validate$1C(input);
|
|
12269
12269
|
if (validateError !== null) {
|
|
12270
12270
|
throw validateError;
|
|
12271
12271
|
}
|
|
@@ -12282,7 +12282,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
12282
12282
|
existingRecord = store.readEntry(key);
|
|
12283
12283
|
incomingRecord = merge$3(existingRecord, incomingRecord, luvio, path, recordConflictMap);
|
|
12284
12284
|
if (existingRecord === undefined ||
|
|
12285
|
-
equals$
|
|
12285
|
+
equals$10(existingRecord, incomingRecord) === false ||
|
|
12286
12286
|
// always publish if existing record has drafts
|
|
12287
12287
|
existingRecord.drafts !==
|
|
12288
12288
|
undefined) {
|
|
@@ -12292,7 +12292,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
12292
12292
|
ttl: TTL$B,
|
|
12293
12293
|
representationName: RepresentationType$T,
|
|
12294
12294
|
namespace: keyPrefix,
|
|
12295
|
-
version: VERSION$
|
|
12295
|
+
version: VERSION$2j,
|
|
12296
12296
|
});
|
|
12297
12297
|
return createLink$1(key);
|
|
12298
12298
|
};
|
|
@@ -12461,7 +12461,7 @@ function buildRecordSelector(luvio, recordId, fields, optionalFields) {
|
|
|
12461
12461
|
kind: 'Fragment',
|
|
12462
12462
|
private: ['eTag', 'weakEtag'],
|
|
12463
12463
|
selections: buildSelectionFromFields(fields, optionalFields),
|
|
12464
|
-
version: VERSION$
|
|
12464
|
+
version: VERSION$2j,
|
|
12465
12465
|
},
|
|
12466
12466
|
variables: {},
|
|
12467
12467
|
};
|
|
@@ -12579,7 +12579,7 @@ function isSingleBatchRecordResponse(response) {
|
|
|
12579
12579
|
response.results.length === 1);
|
|
12580
12580
|
}
|
|
12581
12581
|
|
|
12582
|
-
const VERSION$
|
|
12582
|
+
const VERSION$2i = "98cce53b8d13b1883d001bbdaab24383";
|
|
12583
12583
|
|
|
12584
12584
|
const nonCachedErrors$8 = ObjectCreate$1(null);
|
|
12585
12585
|
function ingestSuccessChildResourceParams$8(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount = 0) {
|
|
@@ -12680,7 +12680,7 @@ function selectChildResourceParams$8(luvio, childResources, resourceParams) {
|
|
|
12680
12680
|
node: {
|
|
12681
12681
|
kind: 'Fragment',
|
|
12682
12682
|
private: [],
|
|
12683
|
-
version: VERSION$
|
|
12683
|
+
version: VERSION$2i,
|
|
12684
12684
|
},
|
|
12685
12685
|
variables: {},
|
|
12686
12686
|
});
|
|
@@ -13221,8 +13221,8 @@ function revertPaginationOptimization(variables) {
|
|
|
13221
13221
|
}
|
|
13222
13222
|
|
|
13223
13223
|
const TTL$A = 30000;
|
|
13224
|
-
const VERSION$
|
|
13225
|
-
function validate$
|
|
13224
|
+
const VERSION$2h = "614ef19823027c07fa6deb9a149619d2";
|
|
13225
|
+
function validate$1B(obj, path = 'ListRecordCollectionRepresentation') {
|
|
13226
13226
|
const v_error = (() => {
|
|
13227
13227
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13228
13228
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13282,7 +13282,7 @@ function validate$1z(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
13282
13282
|
}
|
|
13283
13283
|
const obj_listReference = obj.listReference;
|
|
13284
13284
|
const path_listReference = path + '.listReference';
|
|
13285
|
-
const referencepath_listReferenceValidationError = validate$
|
|
13285
|
+
const referencepath_listReferenceValidationError = validate$1M(obj_listReference, path_listReference);
|
|
13286
13286
|
if (referencepath_listReferenceValidationError !== null) {
|
|
13287
13287
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
13288
13288
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13492,13 +13492,13 @@ function normalize$L(input, existing, path, luvio, store, timestamp) {
|
|
|
13492
13492
|
}
|
|
13493
13493
|
return input;
|
|
13494
13494
|
}
|
|
13495
|
-
const select$
|
|
13496
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
13495
|
+
const select$2R = function ListRecordCollectionRepresentationSelect(paginationParams) {
|
|
13496
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$30();
|
|
13497
13497
|
return {
|
|
13498
13498
|
kind: 'Fragment',
|
|
13499
13499
|
reader: true,
|
|
13500
13500
|
synthetic: false,
|
|
13501
|
-
version: VERSION$
|
|
13501
|
+
version: VERSION$2h,
|
|
13502
13502
|
read: (source, reader) => {
|
|
13503
13503
|
const sink = {};
|
|
13504
13504
|
if (paginationParams === undefined) {
|
|
@@ -13518,7 +13518,7 @@ const select$2P = function ListRecordCollectionRepresentationSelect(paginationPa
|
|
|
13518
13518
|
reader.readSingleLink(i, {
|
|
13519
13519
|
name: 'records',
|
|
13520
13520
|
kind: 'Link',
|
|
13521
|
-
fragment: select$
|
|
13521
|
+
fragment: select$2S()
|
|
13522
13522
|
}, itemsSource, allSink, i - startOffset);
|
|
13523
13523
|
if (reader.getIsDataMissing() === false) {
|
|
13524
13524
|
itemsSink[i - startOffset] = allSink[i - startOffset];
|
|
@@ -13605,14 +13605,14 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
|
|
|
13605
13605
|
const recordsPathSelection = params.records === undefined ? {
|
|
13606
13606
|
name: 'records',
|
|
13607
13607
|
kind: 'Link',
|
|
13608
|
-
fragment: select$
|
|
13608
|
+
fragment: select$2S()
|
|
13609
13609
|
} : params.records;
|
|
13610
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
13610
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$30();
|
|
13611
13611
|
return {
|
|
13612
13612
|
kind: 'Fragment',
|
|
13613
13613
|
reader: true,
|
|
13614
13614
|
synthetic: false,
|
|
13615
|
-
version: VERSION$
|
|
13615
|
+
version: VERSION$2h,
|
|
13616
13616
|
read: (source, reader) => {
|
|
13617
13617
|
const sink = {};
|
|
13618
13618
|
if (paginationParams === undefined) {
|
|
@@ -13681,7 +13681,7 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
|
|
|
13681
13681
|
},
|
|
13682
13682
|
};
|
|
13683
13683
|
};
|
|
13684
|
-
function equals
|
|
13684
|
+
function equals$$(existing, incoming) {
|
|
13685
13685
|
const existing_count = existing.count;
|
|
13686
13686
|
const incoming_count = incoming.count;
|
|
13687
13687
|
if (!(existing_count === incoming_count)) {
|
|
@@ -13719,7 +13719,7 @@ function equals$Z(existing, incoming) {
|
|
|
13719
13719
|
}
|
|
13720
13720
|
const existing_listReference = existing.listReference;
|
|
13721
13721
|
const incoming_listReference = incoming.listReference;
|
|
13722
|
-
if (!(equals$
|
|
13722
|
+
if (!(equals$15(existing_listReference, incoming_listReference))) {
|
|
13723
13723
|
return false;
|
|
13724
13724
|
}
|
|
13725
13725
|
const existing_nextPageToken = existing.nextPageToken;
|
|
@@ -13783,7 +13783,7 @@ function equals$Z(existing, incoming) {
|
|
|
13783
13783
|
}
|
|
13784
13784
|
const ingest$1Q = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13785
13785
|
if (process.env.NODE_ENV !== 'production') {
|
|
13786
|
-
const validateError = validate$
|
|
13786
|
+
const validateError = validate$1B(input);
|
|
13787
13787
|
if (validateError !== null) {
|
|
13788
13788
|
throw validateError;
|
|
13789
13789
|
}
|
|
@@ -13842,14 +13842,14 @@ const ingest$1Q = function ListRecordCollectionRepresentationIngest(input, path,
|
|
|
13842
13842
|
...existingRecord.records.slice(nextOffset),
|
|
13843
13843
|
];
|
|
13844
13844
|
}
|
|
13845
|
-
if (existingRecord === undefined || equals
|
|
13845
|
+
if (existingRecord === undefined || equals$$(existingRecord, incomingRecord) === false) {
|
|
13846
13846
|
luvio.storePublish(key, incomingRecord);
|
|
13847
13847
|
}
|
|
13848
13848
|
{
|
|
13849
13849
|
const storeMetadataParams = {
|
|
13850
13850
|
ttl: ttlToUse,
|
|
13851
13851
|
namespace: "UiApi",
|
|
13852
|
-
version: VERSION$
|
|
13852
|
+
version: VERSION$2h,
|
|
13853
13853
|
representationName: RepresentationType$S,
|
|
13854
13854
|
};
|
|
13855
13855
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
@@ -13875,8 +13875,8 @@ function getTypeCacheKeys$1S(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13875
13875
|
}
|
|
13876
13876
|
}
|
|
13877
13877
|
|
|
13878
|
-
const VERSION$
|
|
13879
|
-
function validate$
|
|
13878
|
+
const VERSION$2g = "cf8d2eb042188974da26ffe6618cfd07";
|
|
13879
|
+
function validate$1A(obj, path = 'ListUiRepresentation') {
|
|
13880
13880
|
const v_error = (() => {
|
|
13881
13881
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13882
13882
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13943,16 +13943,16 @@ const dynamicSelect$6 = function dynamicListUiRepresentationSelect(params, pagin
|
|
|
13943
13943
|
const infoPathSelection = params.info === undefined ? {
|
|
13944
13944
|
name: 'info',
|
|
13945
13945
|
kind: 'Link',
|
|
13946
|
-
fragment: select$
|
|
13946
|
+
fragment: select$2W()
|
|
13947
13947
|
} : params.info;
|
|
13948
13948
|
const recordsPathSelection = params.records === undefined ? {
|
|
13949
13949
|
name: 'records',
|
|
13950
13950
|
kind: 'Link',
|
|
13951
|
-
fragment: select$
|
|
13951
|
+
fragment: select$2R(paginationParams)
|
|
13952
13952
|
} : params.records;
|
|
13953
13953
|
return {
|
|
13954
13954
|
kind: 'Fragment',
|
|
13955
|
-
version: VERSION$
|
|
13955
|
+
version: VERSION$2g,
|
|
13956
13956
|
private: [
|
|
13957
13957
|
'eTag'
|
|
13958
13958
|
],
|
|
@@ -13962,7 +13962,7 @@ const dynamicSelect$6 = function dynamicListUiRepresentationSelect(params, pagin
|
|
|
13962
13962
|
]
|
|
13963
13963
|
};
|
|
13964
13964
|
};
|
|
13965
|
-
function equals$
|
|
13965
|
+
function equals$_(existing, incoming) {
|
|
13966
13966
|
const existing_eTag = existing.eTag;
|
|
13967
13967
|
const incoming_eTag = incoming.eTag;
|
|
13968
13968
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -13982,14 +13982,14 @@ function equals$Y(existing, incoming) {
|
|
|
13982
13982
|
}
|
|
13983
13983
|
const ingest$1P = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13984
13984
|
if (process.env.NODE_ENV !== 'production') {
|
|
13985
|
-
const validateError = validate$
|
|
13985
|
+
const validateError = validate$1A(input);
|
|
13986
13986
|
if (validateError !== null) {
|
|
13987
13987
|
throw validateError;
|
|
13988
13988
|
}
|
|
13989
13989
|
}
|
|
13990
13990
|
const key = keyBuilderFromType$w(luvio, input);
|
|
13991
13991
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
13992
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$K, "UiApi", VERSION$
|
|
13992
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$K, "UiApi", VERSION$2g, RepresentationType$R, equals$_);
|
|
13993
13993
|
return createLink$1(key);
|
|
13994
13994
|
};
|
|
13995
13995
|
function getTypeCacheKeys$1R(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -14166,11 +14166,11 @@ function getListReference(query, context) {
|
|
|
14166
14166
|
/**
|
|
14167
14167
|
* Reader selections to copy a list info
|
|
14168
14168
|
*/
|
|
14169
|
-
const LIST_INFO_SELECTIONS = select$
|
|
14169
|
+
const LIST_INFO_SELECTIONS = select$2W().selections;
|
|
14170
14170
|
/**
|
|
14171
14171
|
* List info private memebers
|
|
14172
14172
|
*/
|
|
14173
|
-
select$
|
|
14173
|
+
select$2W().private;
|
|
14174
14174
|
const LIST_INFO_SELECTIONS_ETAG = [
|
|
14175
14175
|
...LIST_INFO_SELECTIONS,
|
|
14176
14176
|
{ kind: 'Scalar', name: 'eTag' },
|
|
@@ -14190,7 +14190,7 @@ function getListInfo(luvio, listRef, storeLookup) {
|
|
|
14190
14190
|
kind: 'Fragment',
|
|
14191
14191
|
selections: LIST_INFO_SELECTIONS_ETAG,
|
|
14192
14192
|
private: [],
|
|
14193
|
-
version: VERSION$
|
|
14193
|
+
version: VERSION$2n,
|
|
14194
14194
|
},
|
|
14195
14195
|
variables: {},
|
|
14196
14196
|
});
|
|
@@ -14383,7 +14383,7 @@ function keyBuilder$2Y(luvio, params) {
|
|
|
14383
14383
|
});
|
|
14384
14384
|
}
|
|
14385
14385
|
|
|
14386
|
-
function select$
|
|
14386
|
+
function select$2N(luvio, params) {
|
|
14387
14387
|
const { fields = [], optionalFields = [] } = params.queryParams;
|
|
14388
14388
|
return dynamicSelect$7({
|
|
14389
14389
|
records: {
|
|
@@ -14393,7 +14393,7 @@ function select$2L(luvio, params) {
|
|
|
14393
14393
|
kind: 'Fragment',
|
|
14394
14394
|
private: ['eTag', 'weakEtag'],
|
|
14395
14395
|
selections: buildSelectionFromFields(fields, optionalFields),
|
|
14396
|
-
version: VERSION$
|
|
14396
|
+
version: VERSION$2j
|
|
14397
14397
|
},
|
|
14398
14398
|
},
|
|
14399
14399
|
}, createPaginationParams$3(params));
|
|
@@ -14409,7 +14409,7 @@ function ingestSuccess$M(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
14409
14409
|
}
|
|
14410
14410
|
const snapshot = luvio.storeLookup({
|
|
14411
14411
|
recordId: key,
|
|
14412
|
-
node: select$
|
|
14412
|
+
node: select$2N(luvio, resourceParams),
|
|
14413
14413
|
variables: {},
|
|
14414
14414
|
}, snapshotRefresh);
|
|
14415
14415
|
return snapshot;
|
|
@@ -14442,7 +14442,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
14442
14442
|
const storeMetadataParams = {
|
|
14443
14443
|
ttl: TTL$A,
|
|
14444
14444
|
namespace: keyPrefix,
|
|
14445
|
-
version: VERSION$
|
|
14445
|
+
version: VERSION$2h,
|
|
14446
14446
|
representationName: RepresentationType$S
|
|
14447
14447
|
};
|
|
14448
14448
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -14515,8 +14515,8 @@ function isErrorSnapshot(snapshot) {
|
|
|
14515
14515
|
return snapshot.state === 'Error';
|
|
14516
14516
|
}
|
|
14517
14517
|
|
|
14518
|
-
const VERSION$
|
|
14519
|
-
function validate$
|
|
14518
|
+
const VERSION$2f = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
14519
|
+
function validate$1z(obj, path = 'ListViewSummaryRepresentation') {
|
|
14520
14520
|
const v_error = (() => {
|
|
14521
14521
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14522
14522
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14578,10 +14578,10 @@ function keyBuilderFromType$v(luvio, object) {
|
|
|
14578
14578
|
function normalize$J(input, existing, path, luvio, store, timestamp) {
|
|
14579
14579
|
return input;
|
|
14580
14580
|
}
|
|
14581
|
-
const select$
|
|
14581
|
+
const select$2M = function ListViewSummaryRepresentationSelect() {
|
|
14582
14582
|
return {
|
|
14583
14583
|
kind: 'Fragment',
|
|
14584
|
-
version: VERSION$
|
|
14584
|
+
version: VERSION$2f,
|
|
14585
14585
|
private: [],
|
|
14586
14586
|
selections: [
|
|
14587
14587
|
{
|
|
@@ -14603,7 +14603,7 @@ const select$2K = function ListViewSummaryRepresentationSelect() {
|
|
|
14603
14603
|
]
|
|
14604
14604
|
};
|
|
14605
14605
|
};
|
|
14606
|
-
function equals$
|
|
14606
|
+
function equals$Z(existing, incoming) {
|
|
14607
14607
|
const existing_apiName = existing.apiName;
|
|
14608
14608
|
const incoming_apiName = incoming.apiName;
|
|
14609
14609
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -14628,14 +14628,14 @@ function equals$X(existing, incoming) {
|
|
|
14628
14628
|
}
|
|
14629
14629
|
const ingest$1O = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14630
14630
|
if (process.env.NODE_ENV !== 'production') {
|
|
14631
|
-
const validateError = validate$
|
|
14631
|
+
const validateError = validate$1z(input);
|
|
14632
14632
|
if (validateError !== null) {
|
|
14633
14633
|
throw validateError;
|
|
14634
14634
|
}
|
|
14635
14635
|
}
|
|
14636
14636
|
const key = keyBuilderFromType$v(luvio, input);
|
|
14637
14637
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
14638
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$J, "UiApi", VERSION$
|
|
14638
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$J, "UiApi", VERSION$2f, RepresentationType$Q, equals$Z);
|
|
14639
14639
|
return createLink$1(key);
|
|
14640
14640
|
};
|
|
14641
14641
|
function getTypeCacheKeys$1Q(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -14648,8 +14648,8 @@ function getTypeCacheKeys$1Q(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14648
14648
|
});
|
|
14649
14649
|
}
|
|
14650
14650
|
|
|
14651
|
-
const VERSION$
|
|
14652
|
-
function validate$
|
|
14651
|
+
const VERSION$2e = "f4c79fe066da3558499d5ee88c72abcd";
|
|
14652
|
+
function validate$1y(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
14653
14653
|
const v_error = (() => {
|
|
14654
14654
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14655
14655
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14865,12 +14865,12 @@ function normalize$I(input, existing, path, luvio, store, timestamp) {
|
|
|
14865
14865
|
}
|
|
14866
14866
|
return input;
|
|
14867
14867
|
}
|
|
14868
|
-
const select$
|
|
14868
|
+
const select$2L = function ListViewSummaryCollectionRepresentationSelect(paginationParams) {
|
|
14869
14869
|
return {
|
|
14870
14870
|
kind: 'Fragment',
|
|
14871
14871
|
reader: true,
|
|
14872
14872
|
synthetic: false,
|
|
14873
|
-
version: VERSION$
|
|
14873
|
+
version: VERSION$2e,
|
|
14874
14874
|
read: (source, reader) => {
|
|
14875
14875
|
const sink = {};
|
|
14876
14876
|
if (paginationParams === undefined) {
|
|
@@ -14890,7 +14890,7 @@ const select$2J = function ListViewSummaryCollectionRepresentationSelect(paginat
|
|
|
14890
14890
|
reader.readSingleLink(i, {
|
|
14891
14891
|
name: 'lists',
|
|
14892
14892
|
kind: 'Link',
|
|
14893
|
-
fragment: select$
|
|
14893
|
+
fragment: select$2M()
|
|
14894
14894
|
}, itemsSource, allSink, i - startOffset);
|
|
14895
14895
|
if (reader.getIsDataMissing() === false) {
|
|
14896
14896
|
itemsSink[i - startOffset] = allSink[i - startOffset];
|
|
@@ -14958,7 +14958,7 @@ function getPageMetadata$2(paginationMetadata, paginationParams) {
|
|
|
14958
14958
|
metadataProperties.count = endOffset - startOffset;
|
|
14959
14959
|
return sink;
|
|
14960
14960
|
}
|
|
14961
|
-
function equals$
|
|
14961
|
+
function equals$Y(existing, incoming) {
|
|
14962
14962
|
const existing_recentListsOnly = existing.recentListsOnly;
|
|
14963
14963
|
const incoming_recentListsOnly = incoming.recentListsOnly;
|
|
14964
14964
|
if (!(existing_recentListsOnly === incoming_recentListsOnly)) {
|
|
@@ -15033,7 +15033,7 @@ function equals$W(existing, incoming) {
|
|
|
15033
15033
|
}
|
|
15034
15034
|
const ingest$1N = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15035
15035
|
if (process.env.NODE_ENV !== 'production') {
|
|
15036
|
-
const validateError = validate$
|
|
15036
|
+
const validateError = validate$1y(input);
|
|
15037
15037
|
if (validateError !== null) {
|
|
15038
15038
|
throw validateError;
|
|
15039
15039
|
}
|
|
@@ -15092,14 +15092,14 @@ const ingest$1N = function ListViewSummaryCollectionRepresentationIngest(input,
|
|
|
15092
15092
|
...existingRecord.lists.slice(nextOffset),
|
|
15093
15093
|
];
|
|
15094
15094
|
}
|
|
15095
|
-
if (existingRecord === undefined || equals$
|
|
15095
|
+
if (existingRecord === undefined || equals$Y(existingRecord, incomingRecord) === false) {
|
|
15096
15096
|
luvio.storePublish(key, incomingRecord);
|
|
15097
15097
|
}
|
|
15098
15098
|
if (ttlToUse !== undefined) {
|
|
15099
15099
|
const storeMetadataParams = {
|
|
15100
15100
|
ttl: ttlToUse,
|
|
15101
15101
|
namespace: "UiApi",
|
|
15102
|
-
version: VERSION$
|
|
15102
|
+
version: VERSION$2e,
|
|
15103
15103
|
representationName: RepresentationType$P,
|
|
15104
15104
|
};
|
|
15105
15105
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
@@ -15132,9 +15132,9 @@ function createPaginationParams$2(params) {
|
|
|
15132
15132
|
pageSize: queryParams.pageSize === undefined ? 20 : queryParams.pageSize
|
|
15133
15133
|
};
|
|
15134
15134
|
}
|
|
15135
|
-
function select$
|
|
15135
|
+
function select$2K(luvio, params) {
|
|
15136
15136
|
const paginationParams = createPaginationParams$2(params);
|
|
15137
|
-
return select$
|
|
15137
|
+
return select$2L(paginationParams);
|
|
15138
15138
|
}
|
|
15139
15139
|
function keyBuilder$2V(luvio, params) {
|
|
15140
15140
|
return keyBuilder$2W(luvio, {
|
|
@@ -15152,7 +15152,7 @@ function ingestSuccess$L(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
15152
15152
|
luvio.storeIngest(key, ingest$1N, body);
|
|
15153
15153
|
const snapshot = luvio.storeLookup({
|
|
15154
15154
|
recordId: key,
|
|
15155
|
-
node: select$
|
|
15155
|
+
node: select$2K(luvio, resourceParams),
|
|
15156
15156
|
variables: {},
|
|
15157
15157
|
}, snapshotRefresh);
|
|
15158
15158
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -15218,7 +15218,7 @@ function validateAdapterConfig$12(untrustedConfig, configPropertyNames) {
|
|
|
15218
15218
|
}
|
|
15219
15219
|
function adapterFragment$G(luvio, config) {
|
|
15220
15220
|
const resourceParams = createResourceParams$V(config);
|
|
15221
|
-
return select$
|
|
15221
|
+
return select$2K(luvio, resourceParams);
|
|
15222
15222
|
}
|
|
15223
15223
|
function onFetchResponseSuccess$K(luvio, config, resourceParams, response) {
|
|
15224
15224
|
const snapshot = ingestSuccess$L(luvio, resourceParams, response, {
|
|
@@ -15286,7 +15286,7 @@ function getPaginationMetadata$2(luvio, resourceParams) {
|
|
|
15286
15286
|
recordId: key,
|
|
15287
15287
|
node: {
|
|
15288
15288
|
kind: 'Fragment',
|
|
15289
|
-
version: VERSION$
|
|
15289
|
+
version: VERSION$2e,
|
|
15290
15290
|
private: [],
|
|
15291
15291
|
selections: [
|
|
15292
15292
|
{
|
|
@@ -15476,7 +15476,7 @@ function buildListUiFragment$1(config, fields) {
|
|
|
15476
15476
|
kind: 'Fragment',
|
|
15477
15477
|
private: ['eTag', 'weakEtag'],
|
|
15478
15478
|
selections: buildSelectionFromFields(...fields.getRecordSelectionFieldSets()),
|
|
15479
|
-
version: VERSION$
|
|
15479
|
+
version: VERSION$2j,
|
|
15480
15480
|
},
|
|
15481
15481
|
},
|
|
15482
15482
|
};
|
|
@@ -15786,7 +15786,7 @@ function buildListUiFragment(config, context, fields) {
|
|
|
15786
15786
|
kind: 'Fragment',
|
|
15787
15787
|
private: ['eTag', 'weakEtag'],
|
|
15788
15788
|
selections: buildSelectionFromFields(...fields.getRecordSelectionFieldSets()),
|
|
15789
|
-
version: VERSION$
|
|
15789
|
+
version: VERSION$2j,
|
|
15790
15790
|
},
|
|
15791
15791
|
},
|
|
15792
15792
|
};
|
|
@@ -16164,7 +16164,7 @@ const factory$i = (luvio) => {
|
|
|
16164
16164
|
}, { contextId: contextId$6 });
|
|
16165
16165
|
};
|
|
16166
16166
|
|
|
16167
|
-
function validate$
|
|
16167
|
+
function validate$1x(obj, path = 'ChildRelationshipRepresentation') {
|
|
16168
16168
|
const v_error = (() => {
|
|
16169
16169
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16170
16170
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16212,7 +16212,7 @@ function validate$1v(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
16212
16212
|
return v_error === undefined ? null : v_error;
|
|
16213
16213
|
}
|
|
16214
16214
|
|
|
16215
|
-
function validate$
|
|
16215
|
+
function validate$1w(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
16216
16216
|
const v_error = (() => {
|
|
16217
16217
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16218
16218
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16243,7 +16243,7 @@ function validate$1u(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
16243
16243
|
return v_error === undefined ? null : v_error;
|
|
16244
16244
|
}
|
|
16245
16245
|
|
|
16246
|
-
function validate$
|
|
16246
|
+
function validate$1v(obj, path = 'ReferenceToInfoRepresentation') {
|
|
16247
16247
|
const v_error = (() => {
|
|
16248
16248
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16249
16249
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16269,7 +16269,7 @@ function validate$1t(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
16269
16269
|
return v_error === undefined ? null : v_error;
|
|
16270
16270
|
}
|
|
16271
16271
|
|
|
16272
|
-
function validate$
|
|
16272
|
+
function validate$1u(obj, path = 'FieldRepresentation') {
|
|
16273
16273
|
const v_error = (() => {
|
|
16274
16274
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16275
16275
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16429,7 +16429,7 @@ function validate$1s(obj, path = 'FieldRepresentation') {
|
|
|
16429
16429
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
16430
16430
|
let obj_filteredLookupInfo_union0 = null;
|
|
16431
16431
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
16432
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
16432
|
+
const referencepath_filteredLookupInfoValidationError = validate$1w(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
16433
16433
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
16434
16434
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
16435
16435
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16554,7 +16554,7 @@ function validate$1s(obj, path = 'FieldRepresentation') {
|
|
|
16554
16554
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
16555
16555
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
16556
16556
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
16557
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
16557
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1v(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
16558
16558
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
16559
16559
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
16560
16560
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16621,7 +16621,7 @@ function validate$1s(obj, path = 'FieldRepresentation') {
|
|
|
16621
16621
|
return v_error === undefined ? null : v_error;
|
|
16622
16622
|
}
|
|
16623
16623
|
|
|
16624
|
-
function validate$
|
|
16624
|
+
function validate$1t(obj, path = 'ThemeInfoRepresentation') {
|
|
16625
16625
|
const v_error = (() => {
|
|
16626
16626
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16627
16627
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16662,8 +16662,8 @@ function validate$1r(obj, path = 'ThemeInfoRepresentation') {
|
|
|
16662
16662
|
}
|
|
16663
16663
|
|
|
16664
16664
|
const TTL$z = 900000;
|
|
16665
|
-
const VERSION$
|
|
16666
|
-
function validate$
|
|
16665
|
+
const VERSION$2d = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
16666
|
+
function validate$1s(obj, path = 'ObjectInfoRepresentation') {
|
|
16667
16667
|
const v_error = (() => {
|
|
16668
16668
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16669
16669
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16733,7 +16733,7 @@ function validate$1q(obj, path = 'ObjectInfoRepresentation') {
|
|
|
16733
16733
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
16734
16734
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
16735
16735
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
16736
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
16736
|
+
const referencepath_childRelationships_itemValidationError = validate$1x(obj_childRelationships_item, path_childRelationships_item);
|
|
16737
16737
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
16738
16738
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
16739
16739
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16815,7 +16815,7 @@ function validate$1q(obj, path = 'ObjectInfoRepresentation') {
|
|
|
16815
16815
|
const key = obj_fields_keys[i];
|
|
16816
16816
|
const obj_fields_prop = obj_fields[key];
|
|
16817
16817
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
16818
|
-
const referencepath_fields_propValidationError = validate$
|
|
16818
|
+
const referencepath_fields_propValidationError = validate$1u(obj_fields_prop, path_fields_prop);
|
|
16819
16819
|
if (referencepath_fields_propValidationError !== null) {
|
|
16820
16820
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
16821
16821
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16895,7 +16895,7 @@ function validate$1q(obj, path = 'ObjectInfoRepresentation') {
|
|
|
16895
16895
|
const key = obj_recordTypeInfos_keys[i];
|
|
16896
16896
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
16897
16897
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
16898
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
16898
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1F(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
16899
16899
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
16900
16900
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
16901
16901
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16911,7 +16911,7 @@ function validate$1q(obj, path = 'ObjectInfoRepresentation') {
|
|
|
16911
16911
|
const path_themeInfo = path + '.themeInfo';
|
|
16912
16912
|
let obj_themeInfo_union0 = null;
|
|
16913
16913
|
const obj_themeInfo_union0_error = (() => {
|
|
16914
|
-
const referencepath_themeInfoValidationError = validate$
|
|
16914
|
+
const referencepath_themeInfoValidationError = validate$1t(obj_themeInfo, path_themeInfo);
|
|
16915
16915
|
if (referencepath_themeInfoValidationError !== null) {
|
|
16916
16916
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
16917
16917
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16957,10 +16957,10 @@ function keyBuilderFromType$t(luvio, object) {
|
|
|
16957
16957
|
function normalize$H(input, existing, path, luvio, store, timestamp) {
|
|
16958
16958
|
return input;
|
|
16959
16959
|
}
|
|
16960
|
-
const select$
|
|
16960
|
+
const select$2J = function ObjectInfoRepresentationSelect() {
|
|
16961
16961
|
return {
|
|
16962
16962
|
kind: 'Fragment',
|
|
16963
|
-
version: VERSION$
|
|
16963
|
+
version: VERSION$2d,
|
|
16964
16964
|
private: [
|
|
16965
16965
|
'eTag'
|
|
16966
16966
|
],
|
|
@@ -17062,7 +17062,7 @@ const select$2H = function ObjectInfoRepresentationSelect() {
|
|
|
17062
17062
|
]
|
|
17063
17063
|
};
|
|
17064
17064
|
};
|
|
17065
|
-
function equals$
|
|
17065
|
+
function equals$X(existing, incoming) {
|
|
17066
17066
|
if (existing.eTag !== incoming.eTag) {
|
|
17067
17067
|
return false;
|
|
17068
17068
|
}
|
|
@@ -17070,14 +17070,14 @@ function equals$V(existing, incoming) {
|
|
|
17070
17070
|
}
|
|
17071
17071
|
const ingest$1M = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17072
17072
|
if (process.env.NODE_ENV !== 'production') {
|
|
17073
|
-
const validateError = validate$
|
|
17073
|
+
const validateError = validate$1s(input);
|
|
17074
17074
|
if (validateError !== null) {
|
|
17075
17075
|
throw validateError;
|
|
17076
17076
|
}
|
|
17077
17077
|
}
|
|
17078
17078
|
const key = keyBuilderFromType$t(luvio, input);
|
|
17079
17079
|
const ttlToUse = TTL$z;
|
|
17080
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$H, "UiApi", VERSION$
|
|
17080
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$H, "UiApi", VERSION$2d, RepresentationType$O, equals$X);
|
|
17081
17081
|
return createLink$1(key);
|
|
17082
17082
|
};
|
|
17083
17083
|
function getTypeCacheKeys$1O(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -17090,8 +17090,8 @@ function getTypeCacheKeys$1O(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17090
17090
|
});
|
|
17091
17091
|
}
|
|
17092
17092
|
|
|
17093
|
-
function select$
|
|
17094
|
-
return select$
|
|
17093
|
+
function select$2I(luvio, params) {
|
|
17094
|
+
return select$2J();
|
|
17095
17095
|
}
|
|
17096
17096
|
function keyBuilder$2R(luvio, params) {
|
|
17097
17097
|
return keyBuilder$2S(luvio, {
|
|
@@ -17107,7 +17107,7 @@ function ingestSuccess$K(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
17107
17107
|
luvio.storeIngest(key, ingest$1M, body);
|
|
17108
17108
|
const snapshot = luvio.storeLookup({
|
|
17109
17109
|
recordId: key,
|
|
17110
|
-
node: select$
|
|
17110
|
+
node: select$2I(),
|
|
17111
17111
|
variables: {},
|
|
17112
17112
|
}, snapshotRefresh);
|
|
17113
17113
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -17124,7 +17124,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
|
17124
17124
|
const storeMetadataParams = {
|
|
17125
17125
|
ttl: TTL$z,
|
|
17126
17126
|
namespace: keyPrefix,
|
|
17127
|
-
version: VERSION$
|
|
17127
|
+
version: VERSION$2d,
|
|
17128
17128
|
representationName: RepresentationType$O
|
|
17129
17129
|
};
|
|
17130
17130
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -17175,7 +17175,7 @@ function validateAdapterConfig$10(untrustedConfig, configPropertyNames) {
|
|
|
17175
17175
|
}
|
|
17176
17176
|
function adapterFragment$F(luvio, config) {
|
|
17177
17177
|
createResourceParams$T(config);
|
|
17178
|
-
return select$
|
|
17178
|
+
return select$2I();
|
|
17179
17179
|
}
|
|
17180
17180
|
function onFetchResponseSuccess$J(luvio, config, resourceParams, response) {
|
|
17181
17181
|
const snapshot = ingestSuccess$K(luvio, resourceParams, response, {
|
|
@@ -17231,7 +17231,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
17231
17231
|
buildCachedSnapshotCachePolicy$M, buildNetworkSnapshotCachePolicy$M);
|
|
17232
17232
|
};
|
|
17233
17233
|
|
|
17234
|
-
function validate$
|
|
17234
|
+
function validate$1r(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
17235
17235
|
const v_error = (() => {
|
|
17236
17236
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17237
17237
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17279,7 +17279,7 @@ var DiscriminatorValues$4;
|
|
|
17279
17279
|
DiscriminatorValues["Field"] = "Field";
|
|
17280
17280
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
17281
17281
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
17282
|
-
function validate$
|
|
17282
|
+
function validate$1q(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
17283
17283
|
const v_error = (() => {
|
|
17284
17284
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17285
17285
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17319,7 +17319,7 @@ function validate$1o(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
17319
17319
|
return v_error === undefined ? null : v_error;
|
|
17320
17320
|
}
|
|
17321
17321
|
|
|
17322
|
-
function validate$
|
|
17322
|
+
function validate$1p(obj, path = 'RecordLayoutItemRepresentation') {
|
|
17323
17323
|
const v_error = (() => {
|
|
17324
17324
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17325
17325
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17347,7 +17347,7 @@ function validate$1n(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
17347
17347
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
17348
17348
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
17349
17349
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
17350
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
17350
|
+
const referencepath_layoutComponents_itemValidationError = validate$1q(obj_layoutComponents_item, path_layoutComponents_item);
|
|
17351
17351
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
17352
17352
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
17353
17353
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17394,7 +17394,7 @@ function validate$1n(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
17394
17394
|
return v_error === undefined ? null : v_error;
|
|
17395
17395
|
}
|
|
17396
17396
|
|
|
17397
|
-
function validate$
|
|
17397
|
+
function validate$1o(obj, path = 'RecordLayoutRowRepresentation') {
|
|
17398
17398
|
const v_error = (() => {
|
|
17399
17399
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17400
17400
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17407,7 +17407,7 @@ function validate$1m(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
17407
17407
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
17408
17408
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
17409
17409
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
17410
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
17410
|
+
const referencepath_layoutItems_itemValidationError = validate$1p(obj_layoutItems_item, path_layoutItems_item);
|
|
17411
17411
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
17412
17412
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
17413
17413
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17418,7 +17418,7 @@ function validate$1m(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
17418
17418
|
return v_error === undefined ? null : v_error;
|
|
17419
17419
|
}
|
|
17420
17420
|
|
|
17421
|
-
function validate$
|
|
17421
|
+
function validate$1n(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
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 + '")');
|
|
@@ -17493,7 +17493,7 @@ function validate$1l(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
17493
17493
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
17494
17494
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
17495
17495
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
17496
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
17496
|
+
const referencepath_layoutRows_itemValidationError = validate$1o(obj_layoutRows_item, path_layoutRows_item);
|
|
17497
17497
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
17498
17498
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
17499
17499
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17515,8 +17515,8 @@ function validate$1l(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
17515
17515
|
}
|
|
17516
17516
|
|
|
17517
17517
|
const TTL$y = 900000;
|
|
17518
|
-
const VERSION$
|
|
17519
|
-
function validate$
|
|
17518
|
+
const VERSION$2c = "fb515e25a89ca1ec154dc865e72b913a";
|
|
17519
|
+
function validate$1m(obj, path = 'RecordLayoutRepresentation') {
|
|
17520
17520
|
const v_error = (() => {
|
|
17521
17521
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17522
17522
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17622,7 +17622,7 @@ function validate$1k(obj, path = 'RecordLayoutRepresentation') {
|
|
|
17622
17622
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
17623
17623
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
17624
17624
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
17625
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
17625
|
+
const referencepath_saveOptions_itemValidationError = validate$1r(obj_saveOptions_item, path_saveOptions_item);
|
|
17626
17626
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
17627
17627
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
17628
17628
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17637,7 +17637,7 @@ function validate$1k(obj, path = 'RecordLayoutRepresentation') {
|
|
|
17637
17637
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
17638
17638
|
const obj_sections_item = obj_sections[i];
|
|
17639
17639
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
17640
|
-
const referencepath_sections_itemValidationError = validate$
|
|
17640
|
+
const referencepath_sections_itemValidationError = validate$1n(obj_sections_item, path_sections_item);
|
|
17641
17641
|
if (referencepath_sections_itemValidationError !== null) {
|
|
17642
17642
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
17643
17643
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17663,10 +17663,10 @@ function keyBuilderFromType$s(luvio, object) {
|
|
|
17663
17663
|
function normalize$G(input, existing, path, luvio, store, timestamp) {
|
|
17664
17664
|
return input;
|
|
17665
17665
|
}
|
|
17666
|
-
const select$
|
|
17666
|
+
const select$2H = function RecordLayoutRepresentationSelect() {
|
|
17667
17667
|
return {
|
|
17668
17668
|
kind: 'Fragment',
|
|
17669
|
-
version: VERSION$
|
|
17669
|
+
version: VERSION$2c,
|
|
17670
17670
|
private: [
|
|
17671
17671
|
'eTag'
|
|
17672
17672
|
],
|
|
@@ -17704,7 +17704,7 @@ const select$2F = function RecordLayoutRepresentationSelect() {
|
|
|
17704
17704
|
]
|
|
17705
17705
|
};
|
|
17706
17706
|
};
|
|
17707
|
-
function equals$
|
|
17707
|
+
function equals$W(existing, incoming) {
|
|
17708
17708
|
if (existing.eTag !== incoming.eTag) {
|
|
17709
17709
|
return false;
|
|
17710
17710
|
}
|
|
@@ -17712,14 +17712,14 @@ function equals$U(existing, incoming) {
|
|
|
17712
17712
|
}
|
|
17713
17713
|
const ingest$1L = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17714
17714
|
if (process.env.NODE_ENV !== 'production') {
|
|
17715
|
-
const validateError = validate$
|
|
17715
|
+
const validateError = validate$1m(input);
|
|
17716
17716
|
if (validateError !== null) {
|
|
17717
17717
|
throw validateError;
|
|
17718
17718
|
}
|
|
17719
17719
|
}
|
|
17720
17720
|
const key = keyBuilderFromType$s(luvio, input);
|
|
17721
17721
|
const ttlToUse = TTL$y;
|
|
17722
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$G, "UiApi", VERSION$
|
|
17722
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$G, "UiApi", VERSION$2c, RepresentationType$N, equals$W);
|
|
17723
17723
|
return createLink$1(key);
|
|
17724
17724
|
};
|
|
17725
17725
|
function getTypeCacheKeys$1N(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -17754,7 +17754,7 @@ function getRecordId18Array(value) {
|
|
|
17754
17754
|
return dedupe(array).sort();
|
|
17755
17755
|
}
|
|
17756
17756
|
|
|
17757
|
-
function validate$
|
|
17757
|
+
function validate$1l(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
17758
17758
|
const v_error = (() => {
|
|
17759
17759
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17760
17760
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17774,8 +17774,8 @@ function validate$1j(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
17774
17774
|
}
|
|
17775
17775
|
|
|
17776
17776
|
const TTL$x = 900000;
|
|
17777
|
-
const VERSION$
|
|
17778
|
-
function validate$
|
|
17777
|
+
const VERSION$2b = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
17778
|
+
function validate$1k(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
17779
17779
|
const v_error = (() => {
|
|
17780
17780
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17781
17781
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17815,7 +17815,7 @@ function validate$1i(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
17815
17815
|
const key = obj_sectionUserStates_keys[i];
|
|
17816
17816
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
17817
17817
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
17818
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
17818
|
+
const referencepath_sectionUserStates_propValidationError = validate$1l(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
17819
17819
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
17820
17820
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
17821
17821
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17841,10 +17841,10 @@ function keyBuilderFromType$r(luvio, object) {
|
|
|
17841
17841
|
function normalize$F(input, existing, path, luvio, store, timestamp) {
|
|
17842
17842
|
return input;
|
|
17843
17843
|
}
|
|
17844
|
-
const select$
|
|
17844
|
+
const select$2G = function RecordLayoutUserStateRepresentationSelect() {
|
|
17845
17845
|
return {
|
|
17846
17846
|
kind: 'Fragment',
|
|
17847
|
-
version: VERSION$
|
|
17847
|
+
version: VERSION$2b,
|
|
17848
17848
|
private: [
|
|
17849
17849
|
'apiName',
|
|
17850
17850
|
'recordTypeId',
|
|
@@ -17864,7 +17864,7 @@ const select$2E = function RecordLayoutUserStateRepresentationSelect() {
|
|
|
17864
17864
|
]
|
|
17865
17865
|
};
|
|
17866
17866
|
};
|
|
17867
|
-
function equals$
|
|
17867
|
+
function equals$V(existing, incoming) {
|
|
17868
17868
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
17869
17869
|
return false;
|
|
17870
17870
|
}
|
|
@@ -17872,14 +17872,14 @@ function equals$T(existing, incoming) {
|
|
|
17872
17872
|
}
|
|
17873
17873
|
const ingest$1K = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17874
17874
|
if (process.env.NODE_ENV !== 'production') {
|
|
17875
|
-
const validateError = validate$
|
|
17875
|
+
const validateError = validate$1k(input);
|
|
17876
17876
|
if (validateError !== null) {
|
|
17877
17877
|
throw validateError;
|
|
17878
17878
|
}
|
|
17879
17879
|
}
|
|
17880
17880
|
const key = keyBuilderFromType$r(luvio, input);
|
|
17881
17881
|
const ttlToUse = TTL$x;
|
|
17882
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$F, "UiApi", VERSION$
|
|
17882
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$F, "UiApi", VERSION$2b, RepresentationType$M, equals$V);
|
|
17883
17883
|
return createLink$1(key);
|
|
17884
17884
|
};
|
|
17885
17885
|
function getTypeCacheKeys$1M(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -17893,8 +17893,8 @@ function getTypeCacheKeys$1M(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17893
17893
|
}
|
|
17894
17894
|
|
|
17895
17895
|
const TTL$w = 900000;
|
|
17896
|
-
const VERSION$
|
|
17897
|
-
function validate$
|
|
17896
|
+
const VERSION$2a = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
17897
|
+
function validate$1j(obj, path = 'RecordUiRepresentation') {
|
|
17898
17898
|
const v_error = (() => {
|
|
17899
17899
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17900
17900
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18091,7 +18091,7 @@ function normalize$E(input, existing, path, luvio, store, timestamp) {
|
|
|
18091
18091
|
}
|
|
18092
18092
|
return input;
|
|
18093
18093
|
}
|
|
18094
|
-
function equals$
|
|
18094
|
+
function equals$U(existing, incoming) {
|
|
18095
18095
|
const existing_eTag = existing.eTag;
|
|
18096
18096
|
const incoming_eTag = incoming.eTag;
|
|
18097
18097
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -18156,14 +18156,14 @@ function equals$S(existing, incoming) {
|
|
|
18156
18156
|
}
|
|
18157
18157
|
const ingest$1J = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18158
18158
|
if (process.env.NODE_ENV !== 'production') {
|
|
18159
|
-
const validateError = validate$
|
|
18159
|
+
const validateError = validate$1j(input);
|
|
18160
18160
|
if (validateError !== null) {
|
|
18161
18161
|
throw validateError;
|
|
18162
18162
|
}
|
|
18163
18163
|
}
|
|
18164
18164
|
const key = path.fullPath;
|
|
18165
18165
|
const ttlToUse = TTL$w;
|
|
18166
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$E, "UiApi", VERSION$
|
|
18166
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$E, "UiApi", VERSION$2a, RepresentationType$L, equals$U);
|
|
18167
18167
|
return createLink$1(key);
|
|
18168
18168
|
};
|
|
18169
18169
|
|
|
@@ -18211,9 +18211,9 @@ function validateAdapterConfig$$(untrustedConfig, configPropertyNames) {
|
|
|
18211
18211
|
return config;
|
|
18212
18212
|
}
|
|
18213
18213
|
|
|
18214
|
-
const layoutSelections$2 = select$
|
|
18215
|
-
const objectInfoPathSelection = select$
|
|
18216
|
-
const layoutUserStatePathSelector = select$
|
|
18214
|
+
const layoutSelections$2 = select$2H();
|
|
18215
|
+
const objectInfoPathSelection = select$2J();
|
|
18216
|
+
const layoutUserStatePathSelector = select$2G();
|
|
18217
18217
|
function buildRecordUiSelector(recordDefs, layoutTypes, modes, recordOptionalFields) {
|
|
18218
18218
|
const layoutTypeSelections = [];
|
|
18219
18219
|
for (let i = 0, len = layoutTypes.length; i < len; i += 1) {
|
|
@@ -18261,7 +18261,7 @@ function buildRecordUiSelector(recordDefs, layoutTypes, modes, recordOptionalFie
|
|
|
18261
18261
|
return {
|
|
18262
18262
|
kind: 'Fragment',
|
|
18263
18263
|
private: ['eTag'],
|
|
18264
|
-
version: VERSION$
|
|
18264
|
+
version: VERSION$2a,
|
|
18265
18265
|
selections: [
|
|
18266
18266
|
{
|
|
18267
18267
|
kind: 'Link',
|
|
@@ -18739,7 +18739,7 @@ var LayoutMode;
|
|
|
18739
18739
|
})(LayoutMode || (LayoutMode = {}));
|
|
18740
18740
|
|
|
18741
18741
|
const DEFAULT_MODE = LayoutMode.View;
|
|
18742
|
-
const layoutSelections$1 = select$
|
|
18742
|
+
const layoutSelections$1 = select$2H();
|
|
18743
18743
|
function buildSnapshotRefresh$3(luvio, config) {
|
|
18744
18744
|
return {
|
|
18745
18745
|
config,
|
|
@@ -18941,7 +18941,7 @@ function buildRecordLayoutCachedSnapshot(context, storeLookup) {
|
|
|
18941
18941
|
kind: 'Fragment',
|
|
18942
18942
|
private: [],
|
|
18943
18943
|
selections: recordLayoutFragmentSelector,
|
|
18944
|
-
version: VERSION$
|
|
18944
|
+
version: VERSION$2j,
|
|
18945
18945
|
},
|
|
18946
18946
|
variables: {},
|
|
18947
18947
|
});
|
|
@@ -18978,18 +18978,28 @@ const buildLayoutModeCacheSnapshot = (apiName, recordTypeId, layoutType, mode) =
|
|
|
18978
18978
|
* These are intermediate lookups to check if the record is in the L2 cache
|
|
18979
18979
|
* @param {Luvio} luvio
|
|
18980
18980
|
* @param {GetRecordLayoutTypeConfig} config
|
|
18981
|
-
* @param {BuildCachedSnapshot<BuildSnapshotContext} cachedSnapshot
|
|
18981
|
+
* @param {BuildCachedSnapshot<BuildSnapshotContext>} cachedSnapshot
|
|
18982
18982
|
*/
|
|
18983
18983
|
function makeCacheOnlySnapshot(luvio, config, adapterContext, cachedSnapshot) {
|
|
18984
|
-
return luvio.applyCachePolicy(
|
|
18985
|
-
|
|
18986
|
-
|
|
18987
|
-
|
|
18988
|
-
},
|
|
18989
|
-
}, { config, luvio, adapterContext }, cachedSnapshot,
|
|
18990
|
-
// this won't be invoked since we're requesting only-if-cached
|
|
18984
|
+
return luvio.applyCachePolicy(
|
|
18985
|
+
// Pass empty context so environment will use its default cache-policy
|
|
18986
|
+
{}, { config, luvio, adapterContext }, cachedSnapshot,
|
|
18987
|
+
// disallow hitting the network by returning a gateway timeout
|
|
18991
18988
|
() => {
|
|
18992
|
-
|
|
18989
|
+
return new Promise((resolve) => {
|
|
18990
|
+
resolve({
|
|
18991
|
+
state: 'Error',
|
|
18992
|
+
data: undefined,
|
|
18993
|
+
error: {
|
|
18994
|
+
body: undefined,
|
|
18995
|
+
headers: {},
|
|
18996
|
+
ok: false,
|
|
18997
|
+
status: 504,
|
|
18998
|
+
statusText: 'Gateway Timeout',
|
|
18999
|
+
errorType: 'fetchResponse',
|
|
19000
|
+
},
|
|
19001
|
+
});
|
|
19002
|
+
});
|
|
18993
19003
|
});
|
|
18994
19004
|
}
|
|
18995
19005
|
/**
|
|
@@ -19260,8 +19270,8 @@ const factory$g = (luvio) => {
|
|
|
19260
19270
|
}, { contextId: contextId$5 });
|
|
19261
19271
|
};
|
|
19262
19272
|
|
|
19263
|
-
const VERSION$
|
|
19264
|
-
function validate$
|
|
19273
|
+
const VERSION$29 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
19274
|
+
function validate$1i(obj, path = 'QuickActionExecutionRepresentation') {
|
|
19265
19275
|
const v_error = (() => {
|
|
19266
19276
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19267
19277
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19359,10 +19369,10 @@ function keyBuilderFromType$q(luvio, object) {
|
|
|
19359
19369
|
function normalize$D(input, existing, path, luvio, store, timestamp) {
|
|
19360
19370
|
return input;
|
|
19361
19371
|
}
|
|
19362
|
-
const select$
|
|
19372
|
+
const select$2F = function QuickActionExecutionRepresentationSelect() {
|
|
19363
19373
|
return {
|
|
19364
19374
|
kind: 'Fragment',
|
|
19365
|
-
version: VERSION$
|
|
19375
|
+
version: VERSION$29,
|
|
19366
19376
|
private: [
|
|
19367
19377
|
'eTag'
|
|
19368
19378
|
],
|
|
@@ -19394,7 +19404,7 @@ const select$2D = function QuickActionExecutionRepresentationSelect() {
|
|
|
19394
19404
|
]
|
|
19395
19405
|
};
|
|
19396
19406
|
};
|
|
19397
|
-
function equals$
|
|
19407
|
+
function equals$T(existing, incoming) {
|
|
19398
19408
|
const existing_isCreated = existing.isCreated;
|
|
19399
19409
|
const incoming_isCreated = incoming.isCreated;
|
|
19400
19410
|
if (!(existing_isCreated === incoming_isCreated)) {
|
|
@@ -19434,14 +19444,14 @@ function equals$R(existing, incoming) {
|
|
|
19434
19444
|
}
|
|
19435
19445
|
const ingest$1I = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19436
19446
|
if (process.env.NODE_ENV !== 'production') {
|
|
19437
|
-
const validateError = validate$
|
|
19447
|
+
const validateError = validate$1i(input);
|
|
19438
19448
|
if (validateError !== null) {
|
|
19439
19449
|
throw validateError;
|
|
19440
19450
|
}
|
|
19441
19451
|
}
|
|
19442
19452
|
const key = keyBuilderFromType$q(luvio, input);
|
|
19443
19453
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
19444
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$D, "UiApi", VERSION$
|
|
19454
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$D, "UiApi", VERSION$29, RepresentationType$K, equals$T);
|
|
19445
19455
|
return createLink$1(key);
|
|
19446
19456
|
};
|
|
19447
19457
|
function getTypeCacheKeys$1L(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -19455,8 +19465,8 @@ function getTypeCacheKeys$1L(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
19455
19465
|
}
|
|
19456
19466
|
|
|
19457
19467
|
const TTL$v = 900000;
|
|
19458
|
-
const VERSION$
|
|
19459
|
-
function validate$
|
|
19468
|
+
const VERSION$28 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
19469
|
+
function validate$1h(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
19460
19470
|
const v_error = (() => {
|
|
19461
19471
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19462
19472
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19532,11 +19542,11 @@ const dynamicSelect$5 = function dynamicQuickActionDefaultsRepresentationSelect(
|
|
|
19532
19542
|
name: 'fields',
|
|
19533
19543
|
kind: 'Link',
|
|
19534
19544
|
map: true,
|
|
19535
|
-
fragment: select$
|
|
19545
|
+
fragment: select$2U()
|
|
19536
19546
|
} : params.fields;
|
|
19537
19547
|
return {
|
|
19538
19548
|
kind: 'Fragment',
|
|
19539
|
-
version: VERSION$
|
|
19549
|
+
version: VERSION$28,
|
|
19540
19550
|
private: [
|
|
19541
19551
|
'eTag'
|
|
19542
19552
|
],
|
|
@@ -19553,7 +19563,7 @@ const dynamicSelect$5 = function dynamicQuickActionDefaultsRepresentationSelect(
|
|
|
19553
19563
|
]
|
|
19554
19564
|
};
|
|
19555
19565
|
};
|
|
19556
|
-
function equals$
|
|
19566
|
+
function equals$S(existing, incoming) {
|
|
19557
19567
|
const existing_actionApiName = existing.actionApiName;
|
|
19558
19568
|
const incoming_actionApiName = incoming.actionApiName;
|
|
19559
19569
|
if (!(existing_actionApiName === incoming_actionApiName)) {
|
|
@@ -19620,8 +19630,8 @@ function coerceFormFactor(form) {
|
|
|
19620
19630
|
return undefined;
|
|
19621
19631
|
}
|
|
19622
19632
|
|
|
19623
|
-
const VERSION$
|
|
19624
|
-
function validate$
|
|
19633
|
+
const VERSION$27 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
19634
|
+
function validate$1g(obj, path = 'PlatformActionRepresentation') {
|
|
19625
19635
|
const v_error = (() => {
|
|
19626
19636
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19627
19637
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19970,10 +19980,10 @@ function keyBuilderFromType$o(luvio, object) {
|
|
|
19970
19980
|
function normalize$C(input, existing, path, luvio, store, timestamp) {
|
|
19971
19981
|
return input;
|
|
19972
19982
|
}
|
|
19973
|
-
const select$
|
|
19983
|
+
const select$2E = function PlatformActionRepresentationSelect() {
|
|
19974
19984
|
return {
|
|
19975
19985
|
kind: 'Fragment',
|
|
19976
|
-
version: VERSION$
|
|
19986
|
+
version: VERSION$27,
|
|
19977
19987
|
private: [
|
|
19978
19988
|
'id'
|
|
19979
19989
|
],
|
|
@@ -20053,7 +20063,7 @@ const select$2C = function PlatformActionRepresentationSelect() {
|
|
|
20053
20063
|
]
|
|
20054
20064
|
};
|
|
20055
20065
|
};
|
|
20056
|
-
function equals$
|
|
20066
|
+
function equals$R(existing, incoming) {
|
|
20057
20067
|
const existing_actionListContext = existing.actionListContext;
|
|
20058
20068
|
const incoming_actionListContext = incoming.actionListContext;
|
|
20059
20069
|
if (!(existing_actionListContext === incoming_actionListContext)) {
|
|
@@ -20153,14 +20163,14 @@ function equals$P(existing, incoming) {
|
|
|
20153
20163
|
}
|
|
20154
20164
|
const ingest$1H = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20155
20165
|
if (process.env.NODE_ENV !== 'production') {
|
|
20156
|
-
const validateError = validate$
|
|
20166
|
+
const validateError = validate$1g(input);
|
|
20157
20167
|
if (validateError !== null) {
|
|
20158
20168
|
throw validateError;
|
|
20159
20169
|
}
|
|
20160
20170
|
}
|
|
20161
20171
|
const key = keyBuilderFromType$o(luvio, input);
|
|
20162
20172
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
20163
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$C, "UiApi", VERSION$
|
|
20173
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$C, "UiApi", VERSION$27, RepresentationType$I, equals$R);
|
|
20164
20174
|
return createLink$1(key);
|
|
20165
20175
|
};
|
|
20166
20176
|
function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -20173,8 +20183,8 @@ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
20173
20183
|
});
|
|
20174
20184
|
}
|
|
20175
20185
|
|
|
20176
|
-
const VERSION$
|
|
20177
|
-
function validate$
|
|
20186
|
+
const VERSION$26 = "378d506f563a4bd724b322d440df33d1";
|
|
20187
|
+
function validate$1f(obj, path = 'EntityActionRepresentation') {
|
|
20178
20188
|
const v_error = (() => {
|
|
20179
20189
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20180
20190
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20240,10 +20250,10 @@ function normalize$B(input, existing, path, luvio, store, timestamp) {
|
|
|
20240
20250
|
}
|
|
20241
20251
|
return input;
|
|
20242
20252
|
}
|
|
20243
|
-
const select$
|
|
20253
|
+
const select$2D = function EntityActionRepresentationSelect() {
|
|
20244
20254
|
return {
|
|
20245
20255
|
kind: 'Fragment',
|
|
20246
|
-
version: VERSION$
|
|
20256
|
+
version: VERSION$26,
|
|
20247
20257
|
private: [
|
|
20248
20258
|
'links',
|
|
20249
20259
|
'url'
|
|
@@ -20253,12 +20263,12 @@ const select$2B = function EntityActionRepresentationSelect() {
|
|
|
20253
20263
|
name: 'actions',
|
|
20254
20264
|
kind: 'Link',
|
|
20255
20265
|
plural: true,
|
|
20256
|
-
fragment: select$
|
|
20266
|
+
fragment: select$2E()
|
|
20257
20267
|
}
|
|
20258
20268
|
]
|
|
20259
20269
|
};
|
|
20260
20270
|
};
|
|
20261
|
-
function equals$
|
|
20271
|
+
function equals$Q(existing, incoming) {
|
|
20262
20272
|
const existing_url = existing.url;
|
|
20263
20273
|
const incoming_url = incoming.url;
|
|
20264
20274
|
if (!(existing_url === incoming_url)) {
|
|
@@ -20288,14 +20298,14 @@ function equals$O(existing, incoming) {
|
|
|
20288
20298
|
}
|
|
20289
20299
|
const ingest$1G = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20290
20300
|
if (process.env.NODE_ENV !== 'production') {
|
|
20291
|
-
const validateError = validate$
|
|
20301
|
+
const validateError = validate$1f(input);
|
|
20292
20302
|
if (validateError !== null) {
|
|
20293
20303
|
throw validateError;
|
|
20294
20304
|
}
|
|
20295
20305
|
}
|
|
20296
20306
|
const key = keyBuilderFromType$n(luvio, input);
|
|
20297
20307
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
20298
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UiApi", VERSION$
|
|
20308
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UiApi", VERSION$26, RepresentationType$H, equals$Q);
|
|
20299
20309
|
return createLink$1(key);
|
|
20300
20310
|
};
|
|
20301
20311
|
function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -20313,8 +20323,8 @@ function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
20313
20323
|
}
|
|
20314
20324
|
|
|
20315
20325
|
const TTL$u = 300000;
|
|
20316
|
-
const VERSION$
|
|
20317
|
-
function validate$
|
|
20326
|
+
const VERSION$25 = "e485d96c1402a9ca2f56e56485af0216";
|
|
20327
|
+
function validate$1e(obj, path = 'ActionRepresentation') {
|
|
20318
20328
|
const v_error = (() => {
|
|
20319
20329
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20320
20330
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20369,10 +20379,10 @@ function normalize$A(input, existing, path, luvio, store, timestamp) {
|
|
|
20369
20379
|
}
|
|
20370
20380
|
return input;
|
|
20371
20381
|
}
|
|
20372
|
-
const select$
|
|
20382
|
+
const select$2C = function ActionRepresentationSelect() {
|
|
20373
20383
|
return {
|
|
20374
20384
|
kind: 'Fragment',
|
|
20375
|
-
version: VERSION$
|
|
20385
|
+
version: VERSION$25,
|
|
20376
20386
|
private: [
|
|
20377
20387
|
'eTag',
|
|
20378
20388
|
'url'
|
|
@@ -20382,12 +20392,12 @@ const select$2A = function ActionRepresentationSelect() {
|
|
|
20382
20392
|
name: 'actions',
|
|
20383
20393
|
kind: 'Link',
|
|
20384
20394
|
map: true,
|
|
20385
|
-
fragment: select$
|
|
20395
|
+
fragment: select$2D()
|
|
20386
20396
|
}
|
|
20387
20397
|
]
|
|
20388
20398
|
};
|
|
20389
20399
|
};
|
|
20390
|
-
function equals$
|
|
20400
|
+
function equals$P(existing, incoming) {
|
|
20391
20401
|
const existing_eTag = existing.eTag;
|
|
20392
20402
|
const incoming_eTag = incoming.eTag;
|
|
20393
20403
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -20412,14 +20422,14 @@ function equals$N(existing, incoming) {
|
|
|
20412
20422
|
}
|
|
20413
20423
|
const ingest$1F = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20414
20424
|
if (process.env.NODE_ENV !== 'production') {
|
|
20415
|
-
const validateError = validate$
|
|
20425
|
+
const validateError = validate$1e(input);
|
|
20416
20426
|
if (validateError !== null) {
|
|
20417
20427
|
throw validateError;
|
|
20418
20428
|
}
|
|
20419
20429
|
}
|
|
20420
20430
|
const key = path.fullPath;
|
|
20421
20431
|
const ttlToUse = TTL$u;
|
|
20422
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UiApi", VERSION$
|
|
20432
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UiApi", VERSION$25, RepresentationType$G, equals$P);
|
|
20423
20433
|
return createLink$1(key);
|
|
20424
20434
|
};
|
|
20425
20435
|
function getTypeCacheKeys$1H(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -20439,8 +20449,8 @@ function getTypeCacheKeys$1H(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
20439
20449
|
}
|
|
20440
20450
|
}
|
|
20441
20451
|
|
|
20442
|
-
function select$
|
|
20443
|
-
return select$
|
|
20452
|
+
function select$2B(luvio, params) {
|
|
20453
|
+
return select$2C();
|
|
20444
20454
|
}
|
|
20445
20455
|
function keyBuilder$2I(luvio, params) {
|
|
20446
20456
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
|
|
@@ -20454,7 +20464,7 @@ function ingestSuccess$J(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
20454
20464
|
luvio.storeIngest(key, ingest$1F, body);
|
|
20455
20465
|
const snapshot = luvio.storeLookup({
|
|
20456
20466
|
recordId: key,
|
|
20457
|
-
node: select$
|
|
20467
|
+
node: select$2B(),
|
|
20458
20468
|
variables: {},
|
|
20459
20469
|
}, snapshotRefresh);
|
|
20460
20470
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -20471,7 +20481,7 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
|
20471
20481
|
const storeMetadataParams = {
|
|
20472
20482
|
ttl: TTL$u,
|
|
20473
20483
|
namespace: keyPrefix,
|
|
20474
|
-
version: VERSION$
|
|
20484
|
+
version: VERSION$25,
|
|
20475
20485
|
representationName: RepresentationType$G
|
|
20476
20486
|
};
|
|
20477
20487
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -20526,7 +20536,7 @@ function validateAdapterConfig$_(untrustedConfig, configPropertyNames) {
|
|
|
20526
20536
|
}
|
|
20527
20537
|
function adapterFragment$E(luvio, config) {
|
|
20528
20538
|
createResourceParams$S(config);
|
|
20529
|
-
return select$
|
|
20539
|
+
return select$2B();
|
|
20530
20540
|
}
|
|
20531
20541
|
function onFetchResponseSuccess$H(luvio, config, resourceParams, response) {
|
|
20532
20542
|
const snapshot = ingestSuccess$J(luvio, resourceParams, response, {
|
|
@@ -20583,8 +20593,8 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
20583
20593
|
};
|
|
20584
20594
|
|
|
20585
20595
|
const TTL$t = 900000;
|
|
20586
|
-
const VERSION$
|
|
20587
|
-
function validate$
|
|
20596
|
+
const VERSION$24 = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
20597
|
+
function validate$1d(obj, path = 'QuickActionLayoutRepresentation') {
|
|
20588
20598
|
const v_error = (() => {
|
|
20589
20599
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20590
20600
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20601,7 +20611,7 @@ function validate$1b(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
20601
20611
|
}
|
|
20602
20612
|
const obj_layout = obj.layout;
|
|
20603
20613
|
const path_layout = path + '.layout';
|
|
20604
|
-
const referencepath_layoutValidationError = validate$
|
|
20614
|
+
const referencepath_layoutValidationError = validate$1m(obj_layout, path_layout);
|
|
20605
20615
|
if (referencepath_layoutValidationError !== null) {
|
|
20606
20616
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
20607
20617
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20623,10 +20633,10 @@ function keyBuilderFromType$m(luvio, object) {
|
|
|
20623
20633
|
function normalize$z(input, existing, path, luvio, store, timestamp) {
|
|
20624
20634
|
return input;
|
|
20625
20635
|
}
|
|
20626
|
-
const select$
|
|
20636
|
+
const select$2A = function QuickActionLayoutRepresentationSelect() {
|
|
20627
20637
|
return {
|
|
20628
20638
|
kind: 'Fragment',
|
|
20629
|
-
version: VERSION$
|
|
20639
|
+
version: VERSION$24,
|
|
20630
20640
|
private: [
|
|
20631
20641
|
'eTag'
|
|
20632
20642
|
],
|
|
@@ -20643,7 +20653,7 @@ const select$2y = function QuickActionLayoutRepresentationSelect() {
|
|
|
20643
20653
|
]
|
|
20644
20654
|
};
|
|
20645
20655
|
};
|
|
20646
|
-
function equals$
|
|
20656
|
+
function equals$O(existing, incoming) {
|
|
20647
20657
|
if (existing.eTag !== incoming.eTag) {
|
|
20648
20658
|
return false;
|
|
20649
20659
|
}
|
|
@@ -20651,14 +20661,14 @@ function equals$M(existing, incoming) {
|
|
|
20651
20661
|
}
|
|
20652
20662
|
const ingest$1E = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20653
20663
|
if (process.env.NODE_ENV !== 'production') {
|
|
20654
|
-
const validateError = validate$
|
|
20664
|
+
const validateError = validate$1d(input);
|
|
20655
20665
|
if (validateError !== null) {
|
|
20656
20666
|
throw validateError;
|
|
20657
20667
|
}
|
|
20658
20668
|
}
|
|
20659
20669
|
const key = keyBuilderFromType$m(luvio, input);
|
|
20660
20670
|
const ttlToUse = TTL$t;
|
|
20661
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "UiApi", VERSION$
|
|
20671
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "UiApi", VERSION$24, RepresentationType$F, equals$O);
|
|
20662
20672
|
return createLink$1(key);
|
|
20663
20673
|
};
|
|
20664
20674
|
function getTypeCacheKeys$1G(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -20671,8 +20681,8 @@ function getTypeCacheKeys$1G(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
20671
20681
|
});
|
|
20672
20682
|
}
|
|
20673
20683
|
|
|
20674
|
-
function select$
|
|
20675
|
-
return select$
|
|
20684
|
+
function select$2z(luvio, params) {
|
|
20685
|
+
return select$2A();
|
|
20676
20686
|
}
|
|
20677
20687
|
function keyBuilder$2F(luvio, params) {
|
|
20678
20688
|
return keyBuilder$2G(luvio, {
|
|
@@ -20688,7 +20698,7 @@ function ingestSuccess$I(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
20688
20698
|
luvio.storeIngest(key, ingest$1E, body);
|
|
20689
20699
|
const snapshot = luvio.storeLookup({
|
|
20690
20700
|
recordId: key,
|
|
20691
|
-
node: select$
|
|
20701
|
+
node: select$2z(),
|
|
20692
20702
|
variables: {},
|
|
20693
20703
|
}, snapshotRefresh);
|
|
20694
20704
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -20705,7 +20715,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
|
20705
20715
|
const storeMetadataParams = {
|
|
20706
20716
|
ttl: TTL$t,
|
|
20707
20717
|
namespace: keyPrefix,
|
|
20708
|
-
version: VERSION$
|
|
20718
|
+
version: VERSION$24,
|
|
20709
20719
|
representationName: RepresentationType$F
|
|
20710
20720
|
};
|
|
20711
20721
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -20755,7 +20765,7 @@ function validateAdapterConfig$Z(untrustedConfig, configPropertyNames) {
|
|
|
20755
20765
|
}
|
|
20756
20766
|
function adapterFragment$D(luvio, config) {
|
|
20757
20767
|
createResourceParams$R(config);
|
|
20758
|
-
return select$
|
|
20768
|
+
return select$2z();
|
|
20759
20769
|
}
|
|
20760
20770
|
function onFetchResponseSuccess$G(luvio, config, resourceParams, response) {
|
|
20761
20771
|
const snapshot = ingestSuccess$I(luvio, resourceParams, response, {
|
|
@@ -20843,8 +20853,8 @@ function getSortedObjectApiNamesArray(value) {
|
|
|
20843
20853
|
return unsortedArray === undefined ? undefined : unsortedArray.sort();
|
|
20844
20854
|
}
|
|
20845
20855
|
|
|
20846
|
-
function select$
|
|
20847
|
-
return select$
|
|
20856
|
+
function select$2y(luvio, params) {
|
|
20857
|
+
return select$2C();
|
|
20848
20858
|
}
|
|
20849
20859
|
function keyBuilder$2D(luvio, params) {
|
|
20850
20860
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
@@ -20858,7 +20868,7 @@ function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
20858
20868
|
luvio.storeIngest(key, ingest$1F, body);
|
|
20859
20869
|
const snapshot = luvio.storeLookup({
|
|
20860
20870
|
recordId: key,
|
|
20861
|
-
node: select$
|
|
20871
|
+
node: select$2y(),
|
|
20862
20872
|
variables: {},
|
|
20863
20873
|
}, snapshotRefresh);
|
|
20864
20874
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -20875,7 +20885,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
|
20875
20885
|
const storeMetadataParams = {
|
|
20876
20886
|
ttl: TTL$u,
|
|
20877
20887
|
namespace: keyPrefix,
|
|
20878
|
-
version: VERSION$
|
|
20888
|
+
version: VERSION$25,
|
|
20879
20889
|
representationName: RepresentationType$G
|
|
20880
20890
|
};
|
|
20881
20891
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -20929,7 +20939,7 @@ function validateAdapterConfig$Y(untrustedConfig, configPropertyNames) {
|
|
|
20929
20939
|
}
|
|
20930
20940
|
function adapterFragment$C(luvio, config) {
|
|
20931
20941
|
createResourceParams$Q(config);
|
|
20932
|
-
return select$
|
|
20942
|
+
return select$2y();
|
|
20933
20943
|
}
|
|
20934
20944
|
function onFetchResponseSuccess$F(luvio, config, resourceParams, response) {
|
|
20935
20945
|
const snapshot = ingestSuccess$H(luvio, resourceParams, response, {
|
|
@@ -20985,8 +20995,8 @@ const getLookupActionsAdapterFactory = (luvio) => function UiApi__getLookupActio
|
|
|
20985
20995
|
buildCachedSnapshotCachePolicy$J, buildNetworkSnapshotCachePolicy$J);
|
|
20986
20996
|
};
|
|
20987
20997
|
|
|
20988
|
-
function select$
|
|
20989
|
-
return select$
|
|
20998
|
+
function select$2x(luvio, params) {
|
|
20999
|
+
return select$2C();
|
|
20990
21000
|
}
|
|
20991
21001
|
function keyBuilder$2B(luvio, params) {
|
|
20992
21002
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
@@ -21000,7 +21010,7 @@ function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
21000
21010
|
luvio.storeIngest(key, ingest$1F, body);
|
|
21001
21011
|
const snapshot = luvio.storeLookup({
|
|
21002
21012
|
recordId: key,
|
|
21003
|
-
node: select$
|
|
21013
|
+
node: select$2x(),
|
|
21004
21014
|
variables: {},
|
|
21005
21015
|
}, snapshotRefresh);
|
|
21006
21016
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -21017,7 +21027,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
21017
21027
|
const storeMetadataParams = {
|
|
21018
21028
|
ttl: TTL$u,
|
|
21019
21029
|
namespace: keyPrefix,
|
|
21020
|
-
version: VERSION$
|
|
21030
|
+
version: VERSION$25,
|
|
21021
21031
|
representationName: RepresentationType$G
|
|
21022
21032
|
};
|
|
21023
21033
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -21071,7 +21081,7 @@ function validateAdapterConfig$X(untrustedConfig, configPropertyNames) {
|
|
|
21071
21081
|
}
|
|
21072
21082
|
function adapterFragment$B(luvio, config) {
|
|
21073
21083
|
createResourceParams$P(config);
|
|
21074
|
-
return select$
|
|
21084
|
+
return select$2x();
|
|
21075
21085
|
}
|
|
21076
21086
|
function onFetchResponseSuccess$E(luvio, config, resourceParams, response) {
|
|
21077
21087
|
const snapshot = ingestSuccess$G(luvio, resourceParams, response, {
|
|
@@ -21127,8 +21137,8 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
21127
21137
|
buildCachedSnapshotCachePolicy$I, buildNetworkSnapshotCachePolicy$I);
|
|
21128
21138
|
};
|
|
21129
21139
|
|
|
21130
|
-
const VERSION$
|
|
21131
|
-
function validate$
|
|
21140
|
+
const VERSION$23 = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
21141
|
+
function validate$1c(obj, path = 'ActionOverrideRepresentation') {
|
|
21132
21142
|
const v_error = (() => {
|
|
21133
21143
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21134
21144
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21145,15 +21155,15 @@ const RepresentationType$E = 'ActionOverrideRepresentation';
|
|
|
21145
21155
|
function normalize$y(input, existing, path, luvio, store, timestamp) {
|
|
21146
21156
|
return input;
|
|
21147
21157
|
}
|
|
21148
|
-
const select$
|
|
21158
|
+
const select$2w = function ActionOverrideRepresentationSelect() {
|
|
21149
21159
|
return {
|
|
21150
21160
|
kind: 'Fragment',
|
|
21151
|
-
version: VERSION$
|
|
21161
|
+
version: VERSION$23,
|
|
21152
21162
|
private: [],
|
|
21153
21163
|
opaque: true
|
|
21154
21164
|
};
|
|
21155
21165
|
};
|
|
21156
|
-
function equals$
|
|
21166
|
+
function equals$N(existing, incoming) {
|
|
21157
21167
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
21158
21168
|
return false;
|
|
21159
21169
|
}
|
|
@@ -21161,14 +21171,14 @@ function equals$L(existing, incoming) {
|
|
|
21161
21171
|
}
|
|
21162
21172
|
const ingest$1D = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21163
21173
|
if (process.env.NODE_ENV !== 'production') {
|
|
21164
|
-
const validateError = validate$
|
|
21174
|
+
const validateError = validate$1c(input);
|
|
21165
21175
|
if (validateError !== null) {
|
|
21166
21176
|
throw validateError;
|
|
21167
21177
|
}
|
|
21168
21178
|
}
|
|
21169
21179
|
const key = path.fullPath;
|
|
21170
21180
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
21171
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "UiApi", VERSION$
|
|
21181
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "UiApi", VERSION$23, RepresentationType$E, equals$N);
|
|
21172
21182
|
return createLink$1(key);
|
|
21173
21183
|
};
|
|
21174
21184
|
function getTypeCacheKeys$1F(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -21181,8 +21191,8 @@ function getTypeCacheKeys$1F(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
21181
21191
|
});
|
|
21182
21192
|
}
|
|
21183
21193
|
|
|
21184
|
-
function select$
|
|
21185
|
-
return select$
|
|
21194
|
+
function select$2v(luvio, params) {
|
|
21195
|
+
return select$2w();
|
|
21186
21196
|
}
|
|
21187
21197
|
function keyBuilder$2z(luvio, params) {
|
|
21188
21198
|
return keyPrefix + '::ActionOverrideRepresentation:(' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
@@ -21196,7 +21206,7 @@ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
21196
21206
|
luvio.storeIngest(key, ingest$1D, body);
|
|
21197
21207
|
const snapshot = luvio.storeLookup({
|
|
21198
21208
|
recordId: key,
|
|
21199
|
-
node: select$
|
|
21209
|
+
node: select$2v(),
|
|
21200
21210
|
variables: {},
|
|
21201
21211
|
}, snapshotRefresh);
|
|
21202
21212
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -21259,7 +21269,7 @@ function validateAdapterConfig$W(untrustedConfig, configPropertyNames) {
|
|
|
21259
21269
|
}
|
|
21260
21270
|
function adapterFragment$A(luvio, config) {
|
|
21261
21271
|
createResourceParams$O(config);
|
|
21262
|
-
return select$
|
|
21272
|
+
return select$2v();
|
|
21263
21273
|
}
|
|
21264
21274
|
function onFetchResponseSuccess$D(luvio, config, resourceParams, response) {
|
|
21265
21275
|
const snapshot = ingestSuccess$F(luvio, resourceParams, response, {
|
|
@@ -21319,7 +21329,7 @@ const QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS = {
|
|
|
21319
21329
|
ttl: TTL$v,
|
|
21320
21330
|
namespace: keyPrefix,
|
|
21321
21331
|
representationName: RepresentationType$J,
|
|
21322
|
-
version: VERSION$
|
|
21332
|
+
version: VERSION$28,
|
|
21323
21333
|
};
|
|
21324
21334
|
function merge$1(existing, incoming) {
|
|
21325
21335
|
if (existing === undefined) {
|
|
@@ -21337,7 +21347,7 @@ function merge$1(existing, incoming) {
|
|
|
21337
21347
|
const dynamicIngest$4 = (ingestParams) => {
|
|
21338
21348
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21339
21349
|
if (process.env.NODE_ENV !== 'production') {
|
|
21340
|
-
const validateError = validate$
|
|
21350
|
+
const validateError = validate$1h(input);
|
|
21341
21351
|
if (validateError !== null) {
|
|
21342
21352
|
throw validateError;
|
|
21343
21353
|
}
|
|
@@ -21350,7 +21360,7 @@ const dynamicIngest$4 = (ingestParams) => {
|
|
|
21350
21360
|
propertyName: path.propertyName,
|
|
21351
21361
|
}, luvio, store, timestamp);
|
|
21352
21362
|
incomingRecord = merge$1(existingRecord, incomingRecord);
|
|
21353
|
-
if (existingRecord === undefined || equals$
|
|
21363
|
+
if (existingRecord === undefined || equals$S(existingRecord, incomingRecord) === false) {
|
|
21354
21364
|
luvio.storePublish(key, incomingRecord);
|
|
21355
21365
|
}
|
|
21356
21366
|
luvio.publishStoreMetadata(key, QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS);
|
|
@@ -21415,7 +21425,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
21415
21425
|
const storeMetadataParams = {
|
|
21416
21426
|
ttl: TTL$v,
|
|
21417
21427
|
namespace: keyPrefix,
|
|
21418
|
-
version: VERSION$
|
|
21428
|
+
version: VERSION$28,
|
|
21419
21429
|
representationName: RepresentationType$J
|
|
21420
21430
|
};
|
|
21421
21431
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -21552,8 +21562,8 @@ const getQuickActionDefaultsAdapterFactory = (luvio) => function UiApi__getQuick
|
|
|
21552
21562
|
buildCachedSnapshotCachePolicy$G, buildNetworkSnapshotCachePolicy$G);
|
|
21553
21563
|
};
|
|
21554
21564
|
|
|
21555
|
-
function select$
|
|
21556
|
-
return select$
|
|
21565
|
+
function select$2u(luvio, params) {
|
|
21566
|
+
return select$2C();
|
|
21557
21567
|
}
|
|
21558
21568
|
function keyBuilder$2v(luvio, params) {
|
|
21559
21569
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
@@ -21567,7 +21577,7 @@ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
21567
21577
|
luvio.storeIngest(key, ingest$1F, body);
|
|
21568
21578
|
const snapshot = luvio.storeLookup({
|
|
21569
21579
|
recordId: key,
|
|
21570
|
-
node: select$
|
|
21580
|
+
node: select$2u(),
|
|
21571
21581
|
variables: {},
|
|
21572
21582
|
}, snapshotRefresh);
|
|
21573
21583
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -21584,7 +21594,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
|
21584
21594
|
const storeMetadataParams = {
|
|
21585
21595
|
ttl: TTL$u,
|
|
21586
21596
|
namespace: keyPrefix,
|
|
21587
|
-
version: VERSION$
|
|
21597
|
+
version: VERSION$25,
|
|
21588
21598
|
representationName: RepresentationType$G
|
|
21589
21599
|
};
|
|
21590
21600
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -21648,7 +21658,7 @@ function validateAdapterConfig$U(untrustedConfig, configPropertyNames) {
|
|
|
21648
21658
|
}
|
|
21649
21659
|
function adapterFragment$y(luvio, config) {
|
|
21650
21660
|
createResourceParams$M(config);
|
|
21651
|
-
return select$
|
|
21661
|
+
return select$2u();
|
|
21652
21662
|
}
|
|
21653
21663
|
function onFetchResponseSuccess$C(luvio, config, resourceParams, response) {
|
|
21654
21664
|
const snapshot = ingestSuccess$E(luvio, resourceParams, response, {
|
|
@@ -21704,8 +21714,8 @@ const getRecordActionsAdapterFactory = (luvio) => function UiApi__getRecordActio
|
|
|
21704
21714
|
buildCachedSnapshotCachePolicy$F, buildNetworkSnapshotCachePolicy$F);
|
|
21705
21715
|
};
|
|
21706
21716
|
|
|
21707
|
-
function select$
|
|
21708
|
-
return select$
|
|
21717
|
+
function select$2t(luvio, params) {
|
|
21718
|
+
return select$2C();
|
|
21709
21719
|
}
|
|
21710
21720
|
function keyBuilder$2t(luvio, params) {
|
|
21711
21721
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
@@ -21719,7 +21729,7 @@ function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
21719
21729
|
luvio.storeIngest(key, ingest$1F, body);
|
|
21720
21730
|
const snapshot = luvio.storeLookup({
|
|
21721
21731
|
recordId: key,
|
|
21722
|
-
node: select$
|
|
21732
|
+
node: select$2t(),
|
|
21723
21733
|
variables: {},
|
|
21724
21734
|
}, snapshotRefresh);
|
|
21725
21735
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -21736,7 +21746,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
|
21736
21746
|
const storeMetadataParams = {
|
|
21737
21747
|
ttl: TTL$u,
|
|
21738
21748
|
namespace: keyPrefix,
|
|
21739
|
-
version: VERSION$
|
|
21749
|
+
version: VERSION$25,
|
|
21740
21750
|
representationName: RepresentationType$G
|
|
21741
21751
|
};
|
|
21742
21752
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -21790,7 +21800,7 @@ function validateAdapterConfig$T(untrustedConfig, configPropertyNames) {
|
|
|
21790
21800
|
}
|
|
21791
21801
|
function adapterFragment$x(luvio, config) {
|
|
21792
21802
|
createResourceParams$L(config);
|
|
21793
|
-
return select$
|
|
21803
|
+
return select$2t();
|
|
21794
21804
|
}
|
|
21795
21805
|
function onFetchResponseSuccess$B(luvio, config, resourceParams, response) {
|
|
21796
21806
|
const snapshot = ingestSuccess$D(luvio, resourceParams, response, {
|
|
@@ -21846,7 +21856,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
21846
21856
|
buildCachedSnapshotCachePolicy$E, buildNetworkSnapshotCachePolicy$E);
|
|
21847
21857
|
};
|
|
21848
21858
|
|
|
21849
|
-
function validate$
|
|
21859
|
+
function validate$1b(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
21850
21860
|
const v_error = (() => {
|
|
21851
21861
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21852
21862
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21916,8 +21926,8 @@ function validate$19(obj, path = 'ActionRelatedListSingleBatchInputRepresentatio
|
|
|
21916
21926
|
return v_error === undefined ? null : v_error;
|
|
21917
21927
|
}
|
|
21918
21928
|
|
|
21919
|
-
function select$
|
|
21920
|
-
return select$
|
|
21929
|
+
function select$2s(luvio, params) {
|
|
21930
|
+
return select$2C();
|
|
21921
21931
|
}
|
|
21922
21932
|
function keyBuilder$2r(luvio, params) {
|
|
21923
21933
|
return keyPrefix + '::ActionRepresentation:(' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListId:' + params.urlParams.relatedListId + ',' + (params.body.actionTypes === undefined ? 'actionTypes' : 'actionTypes:' + params.body.actionTypes) + '::' + (params.body.apiNames === undefined ? 'apiNames' : 'apiNames:' + params.body.apiNames) + '::' + (params.body.formFactor === undefined ? 'formFactor' : 'formFactor:' + params.body.formFactor) + '::' + (params.body.retrievalMode === undefined ? 'retrievalMode' : 'retrievalMode:' + params.body.retrievalMode) + '::' + (params.body.sections === undefined ? 'sections' : 'sections:' + params.body.sections) + ')';
|
|
@@ -21931,7 +21941,7 @@ function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
21931
21941
|
luvio.storeIngest(key, ingest$1F, body);
|
|
21932
21942
|
const snapshot = luvio.storeLookup({
|
|
21933
21943
|
recordId: key,
|
|
21934
|
-
node: select$
|
|
21944
|
+
node: select$2s(),
|
|
21935
21945
|
variables: {},
|
|
21936
21946
|
}, snapshotRefresh);
|
|
21937
21947
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -21948,7 +21958,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
|
21948
21958
|
const storeMetadataParams = {
|
|
21949
21959
|
ttl: TTL$u,
|
|
21950
21960
|
namespace: keyPrefix,
|
|
21951
|
-
version: VERSION$
|
|
21961
|
+
version: VERSION$25,
|
|
21952
21962
|
representationName: RepresentationType$G
|
|
21953
21963
|
};
|
|
21954
21964
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -22029,7 +22039,7 @@ function selectChildResourceParams$7(luvio, childResources, resourceParams) {
|
|
|
22029
22039
|
reader.enterPath(envelopeBodyPath);
|
|
22030
22040
|
const childResource = childResources[i];
|
|
22031
22041
|
const childKey = keyBuilder$2r(luvio, childResource);
|
|
22032
|
-
const childFragment = select$
|
|
22042
|
+
const childFragment = select$2s();
|
|
22033
22043
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
22034
22044
|
const childSnapshot = reader.read({
|
|
22035
22045
|
recordId: childKey,
|
|
@@ -22109,7 +22119,7 @@ function selectChildResourceParams$7(luvio, childResources, resourceParams) {
|
|
|
22109
22119
|
}
|
|
22110
22120
|
};
|
|
22111
22121
|
}
|
|
22112
|
-
function select$
|
|
22122
|
+
function select$2r(luvio, resourceParams) {
|
|
22113
22123
|
const childResources = createChildResourceParams$9(resourceParams);
|
|
22114
22124
|
return selectChildResourceParams$7(luvio, childResources, resourceParams);
|
|
22115
22125
|
}
|
|
@@ -22223,7 +22233,7 @@ function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
22223
22233
|
seenRecords: seenRecords,
|
|
22224
22234
|
select: {
|
|
22225
22235
|
recordId: key,
|
|
22226
|
-
node: select$
|
|
22236
|
+
node: select$2r(luvio, resourceParams),
|
|
22227
22237
|
variables: {},
|
|
22228
22238
|
},
|
|
22229
22239
|
refresh: snapshotRefresh,
|
|
@@ -22272,7 +22282,7 @@ function typeCheckConfig$P(untrustedConfig) {
|
|
|
22272
22282
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
22273
22283
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
22274
22284
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
22275
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
22285
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1b(untrustedConfig_relatedListsActionParameters_item);
|
|
22276
22286
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
22277
22287
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
22278
22288
|
}
|
|
@@ -22297,7 +22307,7 @@ function validateAdapterConfig$S(untrustedConfig, configPropertyNames) {
|
|
|
22297
22307
|
}
|
|
22298
22308
|
function adapterFragment$w(luvio, config) {
|
|
22299
22309
|
const resourceParams = createResourceParams$K(config);
|
|
22300
|
-
return select$
|
|
22310
|
+
return select$2r(luvio, resourceParams);
|
|
22301
22311
|
}
|
|
22302
22312
|
function onFetchResponseSuccess$A(luvio, config, resourceParams, response) {
|
|
22303
22313
|
const snapshot = ingestSuccess$B(luvio, resourceParams, response, {
|
|
@@ -22390,7 +22400,7 @@ function validateAdapterConfig$R(untrustedConfig, configPropertyNames) {
|
|
|
22390
22400
|
}
|
|
22391
22401
|
function adapterFragment$v(luvio, config) {
|
|
22392
22402
|
createResourceParams$J(config);
|
|
22393
|
-
return select$
|
|
22403
|
+
return select$2s();
|
|
22394
22404
|
}
|
|
22395
22405
|
function onFetchResponseSuccess$z(luvio, config, resourceParams, response) {
|
|
22396
22406
|
const snapshot = ingestSuccess$C(luvio, resourceParams, response, {
|
|
@@ -22446,8 +22456,8 @@ const getRelatedListActionsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
22446
22456
|
buildCachedSnapshotCachePolicy$C, buildNetworkSnapshotCachePolicy$C);
|
|
22447
22457
|
};
|
|
22448
22458
|
|
|
22449
|
-
function select$
|
|
22450
|
-
return select$
|
|
22459
|
+
function select$2q(luvio, params) {
|
|
22460
|
+
return select$2C();
|
|
22451
22461
|
}
|
|
22452
22462
|
function keyBuilder$2n(luvio, params) {
|
|
22453
22463
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
|
|
@@ -22461,7 +22471,7 @@ function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
22461
22471
|
luvio.storeIngest(key, ingest$1F, body);
|
|
22462
22472
|
const snapshot = luvio.storeLookup({
|
|
22463
22473
|
recordId: key,
|
|
22464
|
-
node: select$
|
|
22474
|
+
node: select$2q(),
|
|
22465
22475
|
variables: {},
|
|
22466
22476
|
}, snapshotRefresh);
|
|
22467
22477
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -22478,7 +22488,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
|
22478
22488
|
const storeMetadataParams = {
|
|
22479
22489
|
ttl: TTL$u,
|
|
22480
22490
|
namespace: keyPrefix,
|
|
22481
|
-
version: VERSION$
|
|
22491
|
+
version: VERSION$25,
|
|
22482
22492
|
representationName: RepresentationType$G
|
|
22483
22493
|
};
|
|
22484
22494
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -22533,7 +22543,7 @@ function validateAdapterConfig$Q(untrustedConfig, configPropertyNames) {
|
|
|
22533
22543
|
}
|
|
22534
22544
|
function adapterFragment$u(luvio, config) {
|
|
22535
22545
|
createResourceParams$I(config);
|
|
22536
|
-
return select$
|
|
22546
|
+
return select$2q();
|
|
22537
22547
|
}
|
|
22538
22548
|
function onFetchResponseSuccess$y(luvio, config, resourceParams, response) {
|
|
22539
22549
|
const snapshot = ingestSuccess$A(luvio, resourceParams, response, {
|
|
@@ -22589,8 +22599,8 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
22589
22599
|
buildCachedSnapshotCachePolicy$B, buildNetworkSnapshotCachePolicy$B);
|
|
22590
22600
|
};
|
|
22591
22601
|
|
|
22592
|
-
const VERSION$
|
|
22593
|
-
function validate$
|
|
22602
|
+
const VERSION$22 = "a316b3bba367f54adc67d7552ed7d36d";
|
|
22603
|
+
function validate$1a(obj, path = 'PageReferenceRepresentation') {
|
|
22594
22604
|
const v_error = (() => {
|
|
22595
22605
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22596
22606
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22635,15 +22645,15 @@ const RepresentationType$D = 'PageReferenceRepresentation';
|
|
|
22635
22645
|
function normalize$x(input, existing, path, luvio, store, timestamp) {
|
|
22636
22646
|
return input;
|
|
22637
22647
|
}
|
|
22638
|
-
const select$
|
|
22648
|
+
const select$2p = function PageReferenceRepresentationSelect() {
|
|
22639
22649
|
return {
|
|
22640
22650
|
kind: 'Fragment',
|
|
22641
|
-
version: VERSION$
|
|
22651
|
+
version: VERSION$22,
|
|
22642
22652
|
private: [],
|
|
22643
22653
|
opaque: true
|
|
22644
22654
|
};
|
|
22645
22655
|
};
|
|
22646
|
-
function equals$
|
|
22656
|
+
function equals$M(existing, incoming) {
|
|
22647
22657
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
22648
22658
|
return false;
|
|
22649
22659
|
}
|
|
@@ -22651,14 +22661,14 @@ function equals$K(existing, incoming) {
|
|
|
22651
22661
|
}
|
|
22652
22662
|
const ingest$1C = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22653
22663
|
if (process.env.NODE_ENV !== 'production') {
|
|
22654
|
-
const validateError = validate$
|
|
22664
|
+
const validateError = validate$1a(input);
|
|
22655
22665
|
if (validateError !== null) {
|
|
22656
22666
|
throw validateError;
|
|
22657
22667
|
}
|
|
22658
22668
|
}
|
|
22659
22669
|
const key = path.fullPath;
|
|
22660
22670
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
22661
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "UiApi", VERSION$
|
|
22671
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "UiApi", VERSION$22, RepresentationType$D, equals$M);
|
|
22662
22672
|
return createLink$1(key);
|
|
22663
22673
|
};
|
|
22664
22674
|
function getTypeCacheKeys$1E(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -22672,8 +22682,8 @@ function getTypeCacheKeys$1E(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22672
22682
|
}
|
|
22673
22683
|
|
|
22674
22684
|
const TTL$s = 120000;
|
|
22675
|
-
const VERSION$
|
|
22676
|
-
function validate$
|
|
22685
|
+
const VERSION$21 = "09884ca5bf90ea4662092a4e48817081";
|
|
22686
|
+
function validate$19(obj, path = 'NavItemRepresentation') {
|
|
22677
22687
|
const v_error = (() => {
|
|
22678
22688
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22679
22689
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22909,10 +22919,10 @@ function normalize$w(input, existing, path, luvio, store, timestamp) {
|
|
|
22909
22919
|
}
|
|
22910
22920
|
return input;
|
|
22911
22921
|
}
|
|
22912
|
-
const select$
|
|
22922
|
+
const select$2o = function NavItemRepresentationSelect() {
|
|
22913
22923
|
return {
|
|
22914
22924
|
kind: 'Fragment',
|
|
22915
|
-
version: VERSION$
|
|
22925
|
+
version: VERSION$21,
|
|
22916
22926
|
private: [],
|
|
22917
22927
|
selections: [
|
|
22918
22928
|
{
|
|
@@ -22971,7 +22981,7 @@ const select$2m = function NavItemRepresentationSelect() {
|
|
|
22971
22981
|
name: 'pageReference',
|
|
22972
22982
|
kind: 'Link',
|
|
22973
22983
|
nullable: true,
|
|
22974
|
-
fragment: select$
|
|
22984
|
+
fragment: select$2p()
|
|
22975
22985
|
},
|
|
22976
22986
|
{
|
|
22977
22987
|
name: 'standardType',
|
|
@@ -22980,7 +22990,7 @@ const select$2m = function NavItemRepresentationSelect() {
|
|
|
22980
22990
|
]
|
|
22981
22991
|
};
|
|
22982
22992
|
};
|
|
22983
|
-
function equals$
|
|
22993
|
+
function equals$L(existing, incoming) {
|
|
22984
22994
|
const existing_availableInClassic = existing.availableInClassic;
|
|
22985
22995
|
const incoming_availableInClassic = incoming.availableInClassic;
|
|
22986
22996
|
if (!(existing_availableInClassic === incoming_availableInClassic)) {
|
|
@@ -23065,14 +23075,14 @@ function equals$J(existing, incoming) {
|
|
|
23065
23075
|
}
|
|
23066
23076
|
const ingest$1B = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23067
23077
|
if (process.env.NODE_ENV !== 'production') {
|
|
23068
|
-
const validateError = validate$
|
|
23078
|
+
const validateError = validate$19(input);
|
|
23069
23079
|
if (validateError !== null) {
|
|
23070
23080
|
throw validateError;
|
|
23071
23081
|
}
|
|
23072
23082
|
}
|
|
23073
23083
|
const key = keyBuilderFromType$l(luvio, input);
|
|
23074
23084
|
const ttlToUse = TTL$s;
|
|
23075
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "UiApi", VERSION$
|
|
23085
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "UiApi", VERSION$21, RepresentationType$C, equals$L);
|
|
23076
23086
|
return createLink$1(key);
|
|
23077
23087
|
};
|
|
23078
23088
|
function getTypeCacheKeys$1D(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -23089,8 +23099,8 @@ function getTypeCacheKeys$1D(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23089
23099
|
}
|
|
23090
23100
|
|
|
23091
23101
|
const TTL$r = 300000;
|
|
23092
|
-
const VERSION$
|
|
23093
|
-
function validate$
|
|
23102
|
+
const VERSION$20 = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
23103
|
+
function validate$18(obj, path = 'AppRepresentation') {
|
|
23094
23104
|
const v_error = (() => {
|
|
23095
23105
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23096
23106
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23338,10 +23348,10 @@ function normalize$v(input, existing, path, luvio, store, timestamp) {
|
|
|
23338
23348
|
}
|
|
23339
23349
|
return input;
|
|
23340
23350
|
}
|
|
23341
|
-
const select$
|
|
23351
|
+
const select$2n = function AppRepresentationSelect() {
|
|
23342
23352
|
return {
|
|
23343
23353
|
kind: 'Fragment',
|
|
23344
|
-
version: VERSION$
|
|
23354
|
+
version: VERSION$20,
|
|
23345
23355
|
private: [
|
|
23346
23356
|
'eTag'
|
|
23347
23357
|
],
|
|
@@ -23399,7 +23409,7 @@ const select$2l = function AppRepresentationSelect() {
|
|
|
23399
23409
|
name: 'navItems',
|
|
23400
23410
|
kind: 'Link',
|
|
23401
23411
|
plural: true,
|
|
23402
|
-
fragment: select$
|
|
23412
|
+
fragment: select$2o()
|
|
23403
23413
|
},
|
|
23404
23414
|
{
|
|
23405
23415
|
name: 'selected',
|
|
@@ -23417,12 +23427,12 @@ const select$2l = function AppRepresentationSelect() {
|
|
|
23417
23427
|
name: 'userNavItems',
|
|
23418
23428
|
kind: 'Link',
|
|
23419
23429
|
plural: true,
|
|
23420
|
-
fragment: select$
|
|
23430
|
+
fragment: select$2o()
|
|
23421
23431
|
}
|
|
23422
23432
|
]
|
|
23423
23433
|
};
|
|
23424
23434
|
};
|
|
23425
|
-
function equals$
|
|
23435
|
+
function equals$K(existing, incoming) {
|
|
23426
23436
|
const existing_isNavAutoTempTabsDisabled = existing.isNavAutoTempTabsDisabled;
|
|
23427
23437
|
const incoming_isNavAutoTempTabsDisabled = incoming.isNavAutoTempTabsDisabled;
|
|
23428
23438
|
if (!(existing_isNavAutoTempTabsDisabled === incoming_isNavAutoTempTabsDisabled)) {
|
|
@@ -23532,14 +23542,14 @@ function equals$I(existing, incoming) {
|
|
|
23532
23542
|
}
|
|
23533
23543
|
const ingest$1A = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23534
23544
|
if (process.env.NODE_ENV !== 'production') {
|
|
23535
|
-
const validateError = validate$
|
|
23545
|
+
const validateError = validate$18(input);
|
|
23536
23546
|
if (validateError !== null) {
|
|
23537
23547
|
throw validateError;
|
|
23538
23548
|
}
|
|
23539
23549
|
}
|
|
23540
23550
|
const key = keyBuilderFromType$k(luvio, input);
|
|
23541
23551
|
const ttlToUse = TTL$r;
|
|
23542
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "UiApi", VERSION$
|
|
23552
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "UiApi", VERSION$20, RepresentationType$B, equals$K);
|
|
23543
23553
|
return createLink$1(key);
|
|
23544
23554
|
};
|
|
23545
23555
|
function getTypeCacheKeys$1C(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -23561,8 +23571,8 @@ function getTypeCacheKeys$1C(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23561
23571
|
}
|
|
23562
23572
|
|
|
23563
23573
|
const TTL$q = 300000;
|
|
23564
|
-
const VERSION$
|
|
23565
|
-
function validate$
|
|
23574
|
+
const VERSION$1$ = "a254babf0b6414315db7808a157fd9fc";
|
|
23575
|
+
function validate$17(obj, path = 'AppsRepresentation') {
|
|
23566
23576
|
const v_error = (() => {
|
|
23567
23577
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23568
23578
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23607,10 +23617,10 @@ function normalize$u(input, existing, path, luvio, store, timestamp) {
|
|
|
23607
23617
|
}
|
|
23608
23618
|
return input;
|
|
23609
23619
|
}
|
|
23610
|
-
const select$
|
|
23620
|
+
const select$2m = function AppsRepresentationSelect() {
|
|
23611
23621
|
return {
|
|
23612
23622
|
kind: 'Fragment',
|
|
23613
|
-
version: VERSION$
|
|
23623
|
+
version: VERSION$1$,
|
|
23614
23624
|
private: [
|
|
23615
23625
|
'eTag'
|
|
23616
23626
|
],
|
|
@@ -23619,12 +23629,12 @@ const select$2k = function AppsRepresentationSelect() {
|
|
|
23619
23629
|
name: 'apps',
|
|
23620
23630
|
kind: 'Link',
|
|
23621
23631
|
plural: true,
|
|
23622
|
-
fragment: select$
|
|
23632
|
+
fragment: select$2n()
|
|
23623
23633
|
}
|
|
23624
23634
|
]
|
|
23625
23635
|
};
|
|
23626
23636
|
};
|
|
23627
|
-
function equals$
|
|
23637
|
+
function equals$J(existing, incoming) {
|
|
23628
23638
|
const existing_eTag = existing.eTag;
|
|
23629
23639
|
const incoming_eTag = incoming.eTag;
|
|
23630
23640
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -23644,14 +23654,14 @@ function equals$H(existing, incoming) {
|
|
|
23644
23654
|
}
|
|
23645
23655
|
const ingest$1z = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23646
23656
|
if (process.env.NODE_ENV !== 'production') {
|
|
23647
|
-
const validateError = validate$
|
|
23657
|
+
const validateError = validate$17(input);
|
|
23648
23658
|
if (validateError !== null) {
|
|
23649
23659
|
throw validateError;
|
|
23650
23660
|
}
|
|
23651
23661
|
}
|
|
23652
23662
|
const key = path.fullPath;
|
|
23653
23663
|
const ttlToUse = TTL$q;
|
|
23654
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "UiApi", VERSION$
|
|
23664
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "UiApi", VERSION$1$, RepresentationType$A, equals$J);
|
|
23655
23665
|
return createLink$1(key);
|
|
23656
23666
|
};
|
|
23657
23667
|
function getTypeCacheKeys$1B(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -23668,8 +23678,8 @@ function getTypeCacheKeys$1B(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23668
23678
|
}
|
|
23669
23679
|
}
|
|
23670
23680
|
|
|
23671
|
-
function select$
|
|
23672
|
-
return select$
|
|
23681
|
+
function select$2l(luvio, params) {
|
|
23682
|
+
return select$2m();
|
|
23673
23683
|
}
|
|
23674
23684
|
function keyBuilder$2j(luvio, params) {
|
|
23675
23685
|
return keyPrefix + '::AppsRepresentation:(' + 'formFactor:' + params.queryParams.formFactor + ',' + 'userCustomizations:' + params.queryParams.userCustomizations + ')';
|
|
@@ -23683,7 +23693,7 @@ function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
23683
23693
|
luvio.storeIngest(key, ingest$1z, body);
|
|
23684
23694
|
const snapshot = luvio.storeLookup({
|
|
23685
23695
|
recordId: key,
|
|
23686
|
-
node: select$
|
|
23696
|
+
node: select$2l(),
|
|
23687
23697
|
variables: {},
|
|
23688
23698
|
}, snapshotRefresh);
|
|
23689
23699
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -23700,7 +23710,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
|
23700
23710
|
const storeMetadataParams = {
|
|
23701
23711
|
ttl: TTL$q,
|
|
23702
23712
|
namespace: keyPrefix,
|
|
23703
|
-
version: VERSION$
|
|
23713
|
+
version: VERSION$1$,
|
|
23704
23714
|
representationName: RepresentationType$A
|
|
23705
23715
|
};
|
|
23706
23716
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -23752,7 +23762,7 @@ function validateAdapterConfig$P(untrustedConfig, configPropertyNames) {
|
|
|
23752
23762
|
}
|
|
23753
23763
|
function adapterFragment$t(luvio, config) {
|
|
23754
23764
|
createResourceParams$H(config);
|
|
23755
|
-
return select$
|
|
23765
|
+
return select$2l();
|
|
23756
23766
|
}
|
|
23757
23767
|
function onFetchResponseSuccess$x(luvio, config, resourceParams, response) {
|
|
23758
23768
|
const snapshot = ingestSuccess$z(luvio, resourceParams, response, {
|
|
@@ -23808,8 +23818,8 @@ const getAllAppsAdapterFactory = (luvio) => function UiApi__getAllApps(untrusted
|
|
|
23808
23818
|
buildCachedSnapshotCachePolicy$A, buildNetworkSnapshotCachePolicy$A);
|
|
23809
23819
|
};
|
|
23810
23820
|
|
|
23811
|
-
function select$
|
|
23812
|
-
return select$
|
|
23821
|
+
function select$2j(luvio, params) {
|
|
23822
|
+
return select$2n();
|
|
23813
23823
|
}
|
|
23814
23824
|
function keyBuilder$2f(luvio, params) {
|
|
23815
23825
|
return keyBuilder$2k(luvio, {
|
|
@@ -23825,7 +23835,7 @@ function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
23825
23835
|
luvio.storeIngest(key, ingest$1A, body);
|
|
23826
23836
|
const snapshot = luvio.storeLookup({
|
|
23827
23837
|
recordId: key,
|
|
23828
|
-
node: select$
|
|
23838
|
+
node: select$2j(),
|
|
23829
23839
|
variables: {},
|
|
23830
23840
|
}, snapshotRefresh);
|
|
23831
23841
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -23842,7 +23852,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
|
23842
23852
|
const storeMetadataParams = {
|
|
23843
23853
|
ttl: TTL$r,
|
|
23844
23854
|
namespace: keyPrefix,
|
|
23845
|
-
version: VERSION$
|
|
23855
|
+
version: VERSION$20,
|
|
23846
23856
|
representationName: RepresentationType$B
|
|
23847
23857
|
};
|
|
23848
23858
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -23895,7 +23905,7 @@ function validateAdapterConfig$N(untrustedConfig, configPropertyNames) {
|
|
|
23895
23905
|
}
|
|
23896
23906
|
function adapterFragment$r(luvio, config) {
|
|
23897
23907
|
createResourceParams$F(config);
|
|
23898
|
-
return select$
|
|
23908
|
+
return select$2j();
|
|
23899
23909
|
}
|
|
23900
23910
|
function onFetchResponseSuccess$v(luvio, config, resourceParams, response) {
|
|
23901
23911
|
const snapshot = ingestSuccess$x(luvio, resourceParams, response, {
|
|
@@ -23951,8 +23961,8 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
23951
23961
|
buildCachedSnapshotCachePolicy$y, buildNetworkSnapshotCachePolicy$y);
|
|
23952
23962
|
};
|
|
23953
23963
|
|
|
23954
|
-
const VERSION$
|
|
23955
|
-
function validate$
|
|
23964
|
+
const VERSION$1_ = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
23965
|
+
function validate$16(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
23956
23966
|
const v_error = (() => {
|
|
23957
23967
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23958
23968
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23985,10 +23995,10 @@ function validate$14(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
|
23985
23995
|
})();
|
|
23986
23996
|
return v_error === undefined ? null : v_error;
|
|
23987
23997
|
}
|
|
23988
|
-
const select$
|
|
23998
|
+
const select$2i = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
23989
23999
|
return {
|
|
23990
24000
|
kind: 'Fragment',
|
|
23991
|
-
version: VERSION$
|
|
24001
|
+
version: VERSION$1_,
|
|
23992
24002
|
private: [
|
|
23993
24003
|
'eTag'
|
|
23994
24004
|
],
|
|
@@ -24013,8 +24023,8 @@ const select$2g = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
24013
24023
|
};
|
|
24014
24024
|
};
|
|
24015
24025
|
|
|
24016
|
-
const VERSION$
|
|
24017
|
-
function validate$
|
|
24026
|
+
const VERSION$1Z = "320d7f254687278f2763d4b490dab3fb";
|
|
24027
|
+
function validate$15(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
24018
24028
|
const v_error = (() => {
|
|
24019
24029
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24020
24030
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24037,7 +24047,7 @@ function validate$13(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
24037
24047
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
24038
24048
|
const obj_filterItems_item = obj_filterItems[i];
|
|
24039
24049
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
24040
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
24050
|
+
const referencepath_filterItems_itemValidationError = validate$16(obj_filterItems_item, path_filterItems_item);
|
|
24041
24051
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
24042
24052
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
24043
24053
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24052,11 +24062,11 @@ function validate$13(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
24052
24062
|
})();
|
|
24053
24063
|
return v_error === undefined ? null : v_error;
|
|
24054
24064
|
}
|
|
24055
|
-
const select$
|
|
24056
|
-
const { selections: DuplicateRuleFilterItemRepresentation__selections, opaque: DuplicateRuleFilterItemRepresentation__opaque, } = select$
|
|
24065
|
+
const select$2h = function DuplicateRuleFilterRepresentationSelect() {
|
|
24066
|
+
const { selections: DuplicateRuleFilterItemRepresentation__selections, opaque: DuplicateRuleFilterItemRepresentation__opaque, } = select$2i();
|
|
24057
24067
|
return {
|
|
24058
24068
|
kind: 'Fragment',
|
|
24059
|
-
version: VERSION$
|
|
24069
|
+
version: VERSION$1Z,
|
|
24060
24070
|
private: [
|
|
24061
24071
|
'eTag'
|
|
24062
24072
|
],
|
|
@@ -24079,8 +24089,8 @@ const select$2f = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
24079
24089
|
};
|
|
24080
24090
|
};
|
|
24081
24091
|
|
|
24082
|
-
const VERSION$
|
|
24083
|
-
function validate$
|
|
24092
|
+
const VERSION$1Y = "b47b44e260e5ce777beaf3da9088997c";
|
|
24093
|
+
function validate$14(obj, path = 'MatchRuleRepresentation') {
|
|
24084
24094
|
const v_error = (() => {
|
|
24085
24095
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24086
24096
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24120,10 +24130,10 @@ function validate$12(obj, path = 'MatchRuleRepresentation') {
|
|
|
24120
24130
|
})();
|
|
24121
24131
|
return v_error === undefined ? null : v_error;
|
|
24122
24132
|
}
|
|
24123
|
-
const select$
|
|
24133
|
+
const select$2g = function MatchRuleRepresentationSelect() {
|
|
24124
24134
|
return {
|
|
24125
24135
|
kind: 'Fragment',
|
|
24126
|
-
version: VERSION$
|
|
24136
|
+
version: VERSION$1Y,
|
|
24127
24137
|
private: [
|
|
24128
24138
|
'eTag'
|
|
24129
24139
|
],
|
|
@@ -24149,8 +24159,8 @@ const select$2e = function MatchRuleRepresentationSelect() {
|
|
|
24149
24159
|
};
|
|
24150
24160
|
};
|
|
24151
24161
|
|
|
24152
|
-
const VERSION$
|
|
24153
|
-
function validate$
|
|
24162
|
+
const VERSION$1X = "bb83d7210bb1d7861b6188bc5f552617";
|
|
24163
|
+
function validate$13(obj, path = 'DuplicateRuleRepresentation') {
|
|
24154
24164
|
const v_error = (() => {
|
|
24155
24165
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24156
24166
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24178,7 +24188,7 @@ function validate$11(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
24178
24188
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
24179
24189
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
24180
24190
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
24181
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
24191
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$15(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
24182
24192
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
24183
24193
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
24184
24194
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24198,7 +24208,7 @@ function validate$11(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
24198
24208
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
24199
24209
|
const obj_matchRules_item = obj_matchRules[i];
|
|
24200
24210
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
24201
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
24211
|
+
const referencepath_matchRules_itemValidationError = validate$14(obj_matchRules_item, path_matchRules_item);
|
|
24202
24212
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
24203
24213
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
24204
24214
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24237,12 +24247,12 @@ function validate$11(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
24237
24247
|
})();
|
|
24238
24248
|
return v_error === undefined ? null : v_error;
|
|
24239
24249
|
}
|
|
24240
|
-
const select$
|
|
24241
|
-
const { selections: DuplicateRuleFilterRepresentation__selections, opaque: DuplicateRuleFilterRepresentation__opaque, } = select$
|
|
24242
|
-
const { selections: MatchRuleRepresentation__selections, opaque: MatchRuleRepresentation__opaque, } = select$
|
|
24250
|
+
const select$2f = function DuplicateRuleRepresentationSelect() {
|
|
24251
|
+
const { selections: DuplicateRuleFilterRepresentation__selections, opaque: DuplicateRuleFilterRepresentation__opaque, } = select$2h();
|
|
24252
|
+
const { selections: MatchRuleRepresentation__selections, opaque: MatchRuleRepresentation__opaque, } = select$2g();
|
|
24243
24253
|
return {
|
|
24244
24254
|
kind: 'Fragment',
|
|
24245
|
-
version: VERSION$
|
|
24255
|
+
version: VERSION$1X,
|
|
24246
24256
|
private: [
|
|
24247
24257
|
'eTag'
|
|
24248
24258
|
],
|
|
@@ -24290,8 +24300,8 @@ const select$2d = function DuplicateRuleRepresentationSelect() {
|
|
|
24290
24300
|
};
|
|
24291
24301
|
|
|
24292
24302
|
const TTL$p = 900000;
|
|
24293
|
-
const VERSION$
|
|
24294
|
-
function validate$
|
|
24303
|
+
const VERSION$1W = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
24304
|
+
function validate$12(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
24295
24305
|
const v_error = (() => {
|
|
24296
24306
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24297
24307
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24326,7 +24336,7 @@ function validate$10(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
24326
24336
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
24327
24337
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
24328
24338
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
24329
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
24339
|
+
const referencepath_duplicateRules_itemValidationError = validate$13(obj_duplicateRules_item, path_duplicateRules_item);
|
|
24330
24340
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
24331
24341
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
24332
24342
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24350,11 +24360,11 @@ const RepresentationType$z = 'DuplicatesConfigurationRepresentation';
|
|
|
24350
24360
|
function normalize$t(input, existing, path, luvio, store, timestamp) {
|
|
24351
24361
|
return input;
|
|
24352
24362
|
}
|
|
24353
|
-
const select$
|
|
24354
|
-
const { selections: DuplicateRuleRepresentation__selections, opaque: DuplicateRuleRepresentation__opaque, } = select$
|
|
24363
|
+
const select$2e = function DuplicatesConfigurationRepresentationSelect() {
|
|
24364
|
+
const { selections: DuplicateRuleRepresentation__selections, opaque: DuplicateRuleRepresentation__opaque, } = select$2f();
|
|
24355
24365
|
return {
|
|
24356
24366
|
kind: 'Fragment',
|
|
24357
|
-
version: VERSION$
|
|
24367
|
+
version: VERSION$1W,
|
|
24358
24368
|
private: [
|
|
24359
24369
|
'eTag'
|
|
24360
24370
|
],
|
|
@@ -24385,7 +24395,7 @@ const select$2c = function DuplicatesConfigurationRepresentationSelect() {
|
|
|
24385
24395
|
]
|
|
24386
24396
|
};
|
|
24387
24397
|
};
|
|
24388
|
-
function equals$
|
|
24398
|
+
function equals$I(existing, incoming) {
|
|
24389
24399
|
if (existing.eTag !== incoming.eTag) {
|
|
24390
24400
|
return false;
|
|
24391
24401
|
}
|
|
@@ -24393,14 +24403,14 @@ function equals$G(existing, incoming) {
|
|
|
24393
24403
|
}
|
|
24394
24404
|
const ingest$1y = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24395
24405
|
if (process.env.NODE_ENV !== 'production') {
|
|
24396
|
-
const validateError = validate$
|
|
24406
|
+
const validateError = validate$12(input);
|
|
24397
24407
|
if (validateError !== null) {
|
|
24398
24408
|
throw validateError;
|
|
24399
24409
|
}
|
|
24400
24410
|
}
|
|
24401
24411
|
const key = path.fullPath;
|
|
24402
24412
|
const ttlToUse = TTL$p;
|
|
24403
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$t, "UiApi", VERSION$
|
|
24413
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$t, "UiApi", VERSION$1W, RepresentationType$z, equals$I);
|
|
24404
24414
|
return createLink$1(key);
|
|
24405
24415
|
};
|
|
24406
24416
|
function getTypeCacheKeys$1A(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -24413,8 +24423,8 @@ function getTypeCacheKeys$1A(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
24413
24423
|
});
|
|
24414
24424
|
}
|
|
24415
24425
|
|
|
24416
|
-
function select$
|
|
24417
|
-
return select$
|
|
24426
|
+
function select$2d(luvio, params) {
|
|
24427
|
+
return select$2e();
|
|
24418
24428
|
}
|
|
24419
24429
|
function keyBuilder$2d(luvio, params) {
|
|
24420
24430
|
return keyPrefix + '::DuplicatesConfigurationRepresentation:(' + 'recordTypeId:' + params.queryParams.recordTypeId + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
@@ -24428,7 +24438,7 @@ function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
24428
24438
|
luvio.storeIngest(key, ingest$1y, body);
|
|
24429
24439
|
const snapshot = luvio.storeLookup({
|
|
24430
24440
|
recordId: key,
|
|
24431
|
-
node: select$
|
|
24441
|
+
node: select$2d(),
|
|
24432
24442
|
variables: {},
|
|
24433
24443
|
}, snapshotRefresh);
|
|
24434
24444
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -24445,7 +24455,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
|
24445
24455
|
const storeMetadataParams = {
|
|
24446
24456
|
ttl: TTL$p,
|
|
24447
24457
|
namespace: keyPrefix,
|
|
24448
|
-
version: VERSION$
|
|
24458
|
+
version: VERSION$1W,
|
|
24449
24459
|
representationName: RepresentationType$z
|
|
24450
24460
|
};
|
|
24451
24461
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -24496,7 +24506,7 @@ function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
|
24496
24506
|
}
|
|
24497
24507
|
function adapterFragment$q(luvio, config) {
|
|
24498
24508
|
createResourceParams$E(config);
|
|
24499
|
-
return select$
|
|
24509
|
+
return select$2d();
|
|
24500
24510
|
}
|
|
24501
24511
|
function onFetchResponseSuccess$u(luvio, config, resourceParams, response) {
|
|
24502
24512
|
const snapshot = ingestSuccess$w(luvio, resourceParams, response, {
|
|
@@ -24584,7 +24594,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
|
24584
24594
|
const storeMetadataParams = {
|
|
24585
24595
|
ttl: TTL$y,
|
|
24586
24596
|
namespace: keyPrefix,
|
|
24587
|
-
version: VERSION$
|
|
24597
|
+
version: VERSION$2c,
|
|
24588
24598
|
representationName: RepresentationType$N
|
|
24589
24599
|
};
|
|
24590
24600
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -24610,7 +24620,7 @@ function onFetchResponseSuccess$t(luvio, config, resourceParams, response) {
|
|
|
24610
24620
|
luvio.storeIngest(key, ingest$1L, body);
|
|
24611
24621
|
const snapshot = luvio.storeLookup({
|
|
24612
24622
|
recordId: key,
|
|
24613
|
-
node: select$
|
|
24623
|
+
node: select$2H(),
|
|
24614
24624
|
variables: {},
|
|
24615
24625
|
}, {
|
|
24616
24626
|
config,
|
|
@@ -24656,7 +24666,7 @@ function buildCachedSnapshotCachePolicy$w(context, storeLookup) {
|
|
|
24656
24666
|
const { luvio, config } = context;
|
|
24657
24667
|
const selector = {
|
|
24658
24668
|
recordId: keyBuilder$2P(luvio, config),
|
|
24659
|
-
node: select$
|
|
24669
|
+
node: select$2H(),
|
|
24660
24670
|
variables: {},
|
|
24661
24671
|
};
|
|
24662
24672
|
return storeLookup(selector, {
|
|
@@ -24753,7 +24763,7 @@ function buildCachedSnapshot$4(luvio, config) {
|
|
|
24753
24763
|
});
|
|
24754
24764
|
const selector = {
|
|
24755
24765
|
recordId: key,
|
|
24756
|
-
node: select$
|
|
24766
|
+
node: select$2G(),
|
|
24757
24767
|
variables: {},
|
|
24758
24768
|
};
|
|
24759
24769
|
return luvio.storeLookup(selector, {
|
|
@@ -24871,7 +24881,7 @@ function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
|
24871
24881
|
layoutType,
|
|
24872
24882
|
mode,
|
|
24873
24883
|
}),
|
|
24874
|
-
node: select$
|
|
24884
|
+
node: select$2G(),
|
|
24875
24885
|
variables: {},
|
|
24876
24886
|
};
|
|
24877
24887
|
return storeLookup(selector, {
|
|
@@ -24927,8 +24937,8 @@ function keyBuilder$2a(luvio, params) {
|
|
|
24927
24937
|
});
|
|
24928
24938
|
}
|
|
24929
24939
|
|
|
24930
|
-
function select$
|
|
24931
|
-
return select$
|
|
24940
|
+
function select$2c(luvio, params) {
|
|
24941
|
+
return select$2W();
|
|
24932
24942
|
}
|
|
24933
24943
|
function getResponseCacheKeys$B(storeKeyMap, luvio, resourceParams, response) {
|
|
24934
24944
|
getTypeCacheKeys$1X(storeKeyMap, luvio, response);
|
|
@@ -24939,7 +24949,7 @@ function ingestSuccess$v(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
24939
24949
|
luvio.storeIngest(key, ingest$1U, body);
|
|
24940
24950
|
const snapshot = luvio.storeLookup({
|
|
24941
24951
|
recordId: key,
|
|
24942
|
-
node: select$
|
|
24952
|
+
node: select$2c(),
|
|
24943
24953
|
variables: {},
|
|
24944
24954
|
}, snapshotRefresh);
|
|
24945
24955
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -24956,7 +24966,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
|
24956
24966
|
const storeMetadataParams = {
|
|
24957
24967
|
ttl: TTL$D,
|
|
24958
24968
|
namespace: keyPrefix,
|
|
24959
|
-
version: VERSION$
|
|
24969
|
+
version: VERSION$2n,
|
|
24960
24970
|
representationName: RepresentationType$W
|
|
24961
24971
|
};
|
|
24962
24972
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -25021,7 +25031,7 @@ function selectChildResourceParams$6(luvio, childResources, resourceParams) {
|
|
|
25021
25031
|
reader.enterPath(envelopeBodyPath);
|
|
25022
25032
|
const childResource = childResources[i];
|
|
25023
25033
|
const childKey = keyBuilder$2a(luvio, childResource);
|
|
25024
|
-
const childFragment = select$
|
|
25034
|
+
const childFragment = select$2c();
|
|
25025
25035
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
25026
25036
|
const childSnapshot = reader.read({
|
|
25027
25037
|
recordId: childKey,
|
|
@@ -25101,7 +25111,7 @@ function selectChildResourceParams$6(luvio, childResources, resourceParams) {
|
|
|
25101
25111
|
}
|
|
25102
25112
|
};
|
|
25103
25113
|
}
|
|
25104
|
-
function select$
|
|
25114
|
+
function select$2b(luvio, resourceParams) {
|
|
25105
25115
|
const childResources = createChildResourceParams$7(resourceParams);
|
|
25106
25116
|
return selectChildResourceParams$6(luvio, childResources, resourceParams);
|
|
25107
25117
|
}
|
|
@@ -25215,7 +25225,7 @@ function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
25215
25225
|
seenRecords: seenRecords,
|
|
25216
25226
|
select: {
|
|
25217
25227
|
recordId: key,
|
|
25218
|
-
node: select$
|
|
25228
|
+
node: select$2b(luvio, resourceParams),
|
|
25219
25229
|
variables: {},
|
|
25220
25230
|
},
|
|
25221
25231
|
refresh: snapshotRefresh,
|
|
@@ -25276,7 +25286,7 @@ function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
|
|
|
25276
25286
|
}
|
|
25277
25287
|
function adapterFragment$p(luvio, config) {
|
|
25278
25288
|
const resourceParams = createResourceParams$C(config);
|
|
25279
|
-
return select$
|
|
25289
|
+
return select$2b(luvio, resourceParams);
|
|
25280
25290
|
}
|
|
25281
25291
|
function onFetchResponseSuccess$r(luvio, config, resourceParams, response) {
|
|
25282
25292
|
const snapshot = ingestSuccess$u(luvio, resourceParams, response, {
|
|
@@ -25363,7 +25373,7 @@ function validateAdapterConfig$G(untrustedConfig, configPropertyNames) {
|
|
|
25363
25373
|
}
|
|
25364
25374
|
function adapterFragment$o(luvio, config) {
|
|
25365
25375
|
createResourceParams$B(config);
|
|
25366
|
-
return select$
|
|
25376
|
+
return select$2c();
|
|
25367
25377
|
}
|
|
25368
25378
|
function onFetchResponseSuccess$q(luvio, config, resourceParams, response) {
|
|
25369
25379
|
const snapshot = ingestSuccess$v(luvio, resourceParams, response, {
|
|
@@ -25419,8 +25429,8 @@ const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoBy
|
|
|
25419
25429
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$t);
|
|
25420
25430
|
};
|
|
25421
25431
|
|
|
25422
|
-
function select$
|
|
25423
|
-
return select$
|
|
25432
|
+
function select$2a(luvio, params) {
|
|
25433
|
+
return select$2W();
|
|
25424
25434
|
}
|
|
25425
25435
|
function getResponseCacheKeys$z(storeKeyMap, luvio, resourceParams, response) {
|
|
25426
25436
|
getTypeCacheKeys$1X(storeKeyMap, luvio, response);
|
|
@@ -25431,7 +25441,7 @@ function ingestSuccess$t(luvio, resourceParams, response) {
|
|
|
25431
25441
|
luvio.storeIngest(key, ingest$1U, body);
|
|
25432
25442
|
const snapshot = luvio.storeLookup({
|
|
25433
25443
|
recordId: key,
|
|
25434
|
-
node: select$
|
|
25444
|
+
node: select$2a(),
|
|
25435
25445
|
variables: {},
|
|
25436
25446
|
});
|
|
25437
25447
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -25460,6 +25470,7 @@ const adapterName$x = 'updateListInfoByName';
|
|
|
25460
25470
|
const updateListInfoByName_ConfigPropertyMetadata = [
|
|
25461
25471
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
25462
25472
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
25473
|
+
generateParamConfigMetadata('displayColumns', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
25463
25474
|
generateParamConfigMetadata('filterLogicString', false, 2 /* Body */, 4 /* Unsupported */),
|
|
25464
25475
|
generateParamConfigMetadata('filteredByInfo', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
25465
25476
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
@@ -25471,6 +25482,21 @@ const createResourceParams$A = /*#__PURE__*/ createResourceParams$l(updateListIn
|
|
|
25471
25482
|
function typeCheckConfig$E(untrustedConfig) {
|
|
25472
25483
|
const config = {};
|
|
25473
25484
|
typeCheckConfig$n(untrustedConfig, config, updateListInfoByName_ConfigPropertyMetadata);
|
|
25485
|
+
const untrustedConfig_displayColumns = untrustedConfig.displayColumns;
|
|
25486
|
+
if (ArrayIsArray$1(untrustedConfig_displayColumns)) {
|
|
25487
|
+
const untrustedConfig_displayColumns_array = [];
|
|
25488
|
+
for (let i = 0, arrayLength = untrustedConfig_displayColumns.length; i < arrayLength; i++) {
|
|
25489
|
+
const untrustedConfig_displayColumns_item = untrustedConfig_displayColumns[i];
|
|
25490
|
+
const referenceListColumnRepresentationValidationError = validate$1O(untrustedConfig_displayColumns_item);
|
|
25491
|
+
if (referenceListColumnRepresentationValidationError === null) {
|
|
25492
|
+
untrustedConfig_displayColumns_array.push(untrustedConfig_displayColumns_item);
|
|
25493
|
+
}
|
|
25494
|
+
if (untrustedConfig_displayColumns_item === null) {
|
|
25495
|
+
untrustedConfig_displayColumns_array.push(untrustedConfig_displayColumns_item);
|
|
25496
|
+
}
|
|
25497
|
+
}
|
|
25498
|
+
config.displayColumns = untrustedConfig_displayColumns_array;
|
|
25499
|
+
}
|
|
25474
25500
|
const untrustedConfig_filterLogicString = untrustedConfig.filterLogicString;
|
|
25475
25501
|
if (typeof untrustedConfig_filterLogicString === 'string') {
|
|
25476
25502
|
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
@@ -25483,7 +25509,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
25483
25509
|
const untrustedConfig_filteredByInfo_array = [];
|
|
25484
25510
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
25485
25511
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
25486
|
-
const referenceListFilterByInfoRepresentationValidationError = validate$
|
|
25512
|
+
const referenceListFilterByInfoRepresentationValidationError = validate$1N(untrustedConfig_filteredByInfo_item);
|
|
25487
25513
|
if (referenceListFilterByInfoRepresentationValidationError === null) {
|
|
25488
25514
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
25489
25515
|
}
|
|
@@ -25491,7 +25517,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
25491
25517
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
25492
25518
|
}
|
|
25493
25519
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
25494
|
-
const referenceListScopeRepresentationValidationError = validate$
|
|
25520
|
+
const referenceListScopeRepresentationValidationError = validate$1I(untrustedConfig_scope);
|
|
25495
25521
|
if (referenceListScopeRepresentationValidationError === null) {
|
|
25496
25522
|
config.scope = untrustedConfig_scope;
|
|
25497
25523
|
}
|
|
@@ -25543,6 +25569,138 @@ const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
|
25543
25569
|
};
|
|
25544
25570
|
};
|
|
25545
25571
|
|
|
25572
|
+
const VERSION$1V = "d77026c4d63ef00cdd7e3d600687a40d";
|
|
25573
|
+
function validate$11(obj, path = 'ListObjectScopeAvailableEntityRepresentation') {
|
|
25574
|
+
const v_error = (() => {
|
|
25575
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25576
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
25577
|
+
}
|
|
25578
|
+
const obj_id = obj.id;
|
|
25579
|
+
const path_id = path + '.id';
|
|
25580
|
+
if (typeof obj_id !== 'string') {
|
|
25581
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
25582
|
+
}
|
|
25583
|
+
const obj_label = obj.label;
|
|
25584
|
+
const path_label = path + '.label';
|
|
25585
|
+
if (typeof obj_label !== 'string') {
|
|
25586
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
25587
|
+
}
|
|
25588
|
+
})();
|
|
25589
|
+
return v_error === undefined ? null : v_error;
|
|
25590
|
+
}
|
|
25591
|
+
const select$29 = function ListObjectScopeAvailableEntityRepresentationSelect() {
|
|
25592
|
+
return {
|
|
25593
|
+
kind: 'Fragment',
|
|
25594
|
+
version: VERSION$1V,
|
|
25595
|
+
private: [],
|
|
25596
|
+
selections: [
|
|
25597
|
+
{
|
|
25598
|
+
name: 'id',
|
|
25599
|
+
kind: 'Scalar'
|
|
25600
|
+
},
|
|
25601
|
+
{
|
|
25602
|
+
name: 'label',
|
|
25603
|
+
kind: 'Scalar'
|
|
25604
|
+
}
|
|
25605
|
+
]
|
|
25606
|
+
};
|
|
25607
|
+
};
|
|
25608
|
+
function equals$H(existing, incoming) {
|
|
25609
|
+
const existing_id = existing.id;
|
|
25610
|
+
const incoming_id = incoming.id;
|
|
25611
|
+
if (!(existing_id === incoming_id)) {
|
|
25612
|
+
return false;
|
|
25613
|
+
}
|
|
25614
|
+
const existing_label = existing.label;
|
|
25615
|
+
const incoming_label = incoming.label;
|
|
25616
|
+
if (!(existing_label === incoming_label)) {
|
|
25617
|
+
return false;
|
|
25618
|
+
}
|
|
25619
|
+
return true;
|
|
25620
|
+
}
|
|
25621
|
+
|
|
25622
|
+
const VERSION$1U = "355933ff2970aa91a2848a94565e956a";
|
|
25623
|
+
function validate$10(obj, path = 'ListObjectScopeRepresentation') {
|
|
25624
|
+
const v_error = (() => {
|
|
25625
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25626
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
25627
|
+
}
|
|
25628
|
+
const obj_apiName = obj.apiName;
|
|
25629
|
+
const path_apiName = path + '.apiName';
|
|
25630
|
+
if (typeof obj_apiName !== 'string') {
|
|
25631
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
25632
|
+
}
|
|
25633
|
+
const obj_availableEntities = obj.availableEntities;
|
|
25634
|
+
const path_availableEntities = path + '.availableEntities';
|
|
25635
|
+
if (!ArrayIsArray(obj_availableEntities)) {
|
|
25636
|
+
return new TypeError('Expected "array" but received "' + typeof obj_availableEntities + '" (at "' + path_availableEntities + '")');
|
|
25637
|
+
}
|
|
25638
|
+
for (let i = 0; i < obj_availableEntities.length; i++) {
|
|
25639
|
+
const obj_availableEntities_item = obj_availableEntities[i];
|
|
25640
|
+
const path_availableEntities_item = path_availableEntities + '[' + i + ']';
|
|
25641
|
+
const referencepath_availableEntities_itemValidationError = validate$11(obj_availableEntities_item, path_availableEntities_item);
|
|
25642
|
+
if (referencepath_availableEntities_itemValidationError !== null) {
|
|
25643
|
+
let message = 'Object doesn\'t match ListObjectScopeAvailableEntityRepresentation (at "' + path_availableEntities_item + '")\n';
|
|
25644
|
+
message += referencepath_availableEntities_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
25645
|
+
return new TypeError(message);
|
|
25646
|
+
}
|
|
25647
|
+
}
|
|
25648
|
+
const obj_label = obj.label;
|
|
25649
|
+
const path_label = path + '.label';
|
|
25650
|
+
if (typeof obj_label !== 'string') {
|
|
25651
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
25652
|
+
}
|
|
25653
|
+
})();
|
|
25654
|
+
return v_error === undefined ? null : v_error;
|
|
25655
|
+
}
|
|
25656
|
+
const select$28 = function ListObjectScopeRepresentationSelect() {
|
|
25657
|
+
const { selections: ListObjectScopeAvailableEntityRepresentation__selections, opaque: ListObjectScopeAvailableEntityRepresentation__opaque, } = select$29();
|
|
25658
|
+
return {
|
|
25659
|
+
kind: 'Fragment',
|
|
25660
|
+
version: VERSION$1U,
|
|
25661
|
+
private: [],
|
|
25662
|
+
selections: [
|
|
25663
|
+
{
|
|
25664
|
+
name: 'apiName',
|
|
25665
|
+
kind: 'Scalar'
|
|
25666
|
+
},
|
|
25667
|
+
{
|
|
25668
|
+
name: 'availableEntities',
|
|
25669
|
+
kind: 'Object',
|
|
25670
|
+
plural: true,
|
|
25671
|
+
selections: ListObjectScopeAvailableEntityRepresentation__selections
|
|
25672
|
+
},
|
|
25673
|
+
{
|
|
25674
|
+
name: 'label',
|
|
25675
|
+
kind: 'Scalar'
|
|
25676
|
+
}
|
|
25677
|
+
]
|
|
25678
|
+
};
|
|
25679
|
+
};
|
|
25680
|
+
function equals$G(existing, incoming) {
|
|
25681
|
+
const existing_apiName = existing.apiName;
|
|
25682
|
+
const incoming_apiName = incoming.apiName;
|
|
25683
|
+
if (!(existing_apiName === incoming_apiName)) {
|
|
25684
|
+
return false;
|
|
25685
|
+
}
|
|
25686
|
+
const existing_label = existing.label;
|
|
25687
|
+
const incoming_label = incoming.label;
|
|
25688
|
+
if (!(existing_label === incoming_label)) {
|
|
25689
|
+
return false;
|
|
25690
|
+
}
|
|
25691
|
+
const existing_availableEntities = existing.availableEntities;
|
|
25692
|
+
const incoming_availableEntities = incoming.availableEntities;
|
|
25693
|
+
const equals_availableEntities_items = equalsArray(existing_availableEntities, incoming_availableEntities, (existing_availableEntities_item, incoming_availableEntities_item) => {
|
|
25694
|
+
if (!(equals$H(existing_availableEntities_item, incoming_availableEntities_item))) {
|
|
25695
|
+
return false;
|
|
25696
|
+
}
|
|
25697
|
+
});
|
|
25698
|
+
if (equals_availableEntities_items === false) {
|
|
25699
|
+
return false;
|
|
25700
|
+
}
|
|
25701
|
+
return true;
|
|
25702
|
+
}
|
|
25703
|
+
|
|
25546
25704
|
const VERSION$1T = "c5c08ea834378670c9d6f235ff71c9f0";
|
|
25547
25705
|
function validate$$(obj, path = 'ListObjectPicklistValueRepresentation') {
|
|
25548
25706
|
const v_error = (() => {
|
|
@@ -25593,7 +25751,7 @@ function equals$F(existing, incoming) {
|
|
|
25593
25751
|
return true;
|
|
25594
25752
|
}
|
|
25595
25753
|
|
|
25596
|
-
const VERSION$1S = "
|
|
25754
|
+
const VERSION$1S = "2c35f797fead79b5c45b521e77dd6ace";
|
|
25597
25755
|
function validate$_(obj, path = 'ListObjectColumnRepresentation') {
|
|
25598
25756
|
const v_error = (() => {
|
|
25599
25757
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -25606,8 +25764,29 @@ function validate$_(obj, path = 'ListObjectColumnRepresentation') {
|
|
|
25606
25764
|
}
|
|
25607
25765
|
const obj_dataType = obj.dataType;
|
|
25608
25766
|
const path_dataType = path + '.dataType';
|
|
25609
|
-
|
|
25610
|
-
|
|
25767
|
+
let obj_dataType_union0 = null;
|
|
25768
|
+
const obj_dataType_union0_error = (() => {
|
|
25769
|
+
if (typeof obj_dataType !== 'string') {
|
|
25770
|
+
return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
25771
|
+
}
|
|
25772
|
+
})();
|
|
25773
|
+
if (obj_dataType_union0_error != null) {
|
|
25774
|
+
obj_dataType_union0 = obj_dataType_union0_error.message;
|
|
25775
|
+
}
|
|
25776
|
+
let obj_dataType_union1 = null;
|
|
25777
|
+
const obj_dataType_union1_error = (() => {
|
|
25778
|
+
if (obj_dataType !== null) {
|
|
25779
|
+
return new TypeError('Expected "null" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
|
|
25780
|
+
}
|
|
25781
|
+
})();
|
|
25782
|
+
if (obj_dataType_union1_error != null) {
|
|
25783
|
+
obj_dataType_union1 = obj_dataType_union1_error.message;
|
|
25784
|
+
}
|
|
25785
|
+
if (obj_dataType_union0 && obj_dataType_union1) {
|
|
25786
|
+
let message = 'Object doesn\'t match union (at "' + path_dataType + '")';
|
|
25787
|
+
message += '\n' + obj_dataType_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
25788
|
+
message += '\n' + obj_dataType_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
25789
|
+
return new TypeError(message);
|
|
25611
25790
|
}
|
|
25612
25791
|
const obj_defaultFilterOperator = obj.defaultFilterOperator;
|
|
25613
25792
|
const path_defaultFilterOperator = path + '.defaultFilterOperator';
|
|
@@ -25743,11 +25922,6 @@ function equals$E(existing, incoming) {
|
|
|
25743
25922
|
if (!(existing_alias === incoming_alias)) {
|
|
25744
25923
|
return false;
|
|
25745
25924
|
}
|
|
25746
|
-
const existing_dataType = existing.dataType;
|
|
25747
|
-
const incoming_dataType = incoming.dataType;
|
|
25748
|
-
if (!(existing_dataType === incoming_dataType)) {
|
|
25749
|
-
return false;
|
|
25750
|
-
}
|
|
25751
25925
|
const existing_defaultFilterOperator = existing.defaultFilterOperator;
|
|
25752
25926
|
const incoming_defaultFilterOperator = incoming.defaultFilterOperator;
|
|
25753
25927
|
if (!(existing_defaultFilterOperator === incoming_defaultFilterOperator)) {
|
|
@@ -25763,6 +25937,11 @@ function equals$E(existing, incoming) {
|
|
|
25763
25937
|
if (!(existing_label === incoming_label)) {
|
|
25764
25938
|
return false;
|
|
25765
25939
|
}
|
|
25940
|
+
const existing_dataType = existing.dataType;
|
|
25941
|
+
const incoming_dataType = incoming.dataType;
|
|
25942
|
+
if (!(existing_dataType === incoming_dataType)) {
|
|
25943
|
+
return false;
|
|
25944
|
+
}
|
|
25766
25945
|
const existing_picklistValues = existing.picklistValues;
|
|
25767
25946
|
const incoming_picklistValues = incoming.picklistValues;
|
|
25768
25947
|
const equals_picklistValues_items = equalsArray(existing_picklistValues, incoming_picklistValues, (existing_picklistValues_item, incoming_picklistValues_item) => {
|
|
@@ -25787,12 +25966,27 @@ function equals$E(existing, incoming) {
|
|
|
25787
25966
|
}
|
|
25788
25967
|
|
|
25789
25968
|
const TTL$o = 900000;
|
|
25790
|
-
const VERSION$1R = "
|
|
25969
|
+
const VERSION$1R = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
25791
25970
|
function validate$Z(obj, path = 'ListObjectInfoRepresentation') {
|
|
25792
25971
|
const v_error = (() => {
|
|
25793
25972
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25794
25973
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
25795
25974
|
}
|
|
25975
|
+
const obj_availableScopes = obj.availableScopes;
|
|
25976
|
+
const path_availableScopes = path + '.availableScopes';
|
|
25977
|
+
if (!ArrayIsArray(obj_availableScopes)) {
|
|
25978
|
+
return new TypeError('Expected "array" but received "' + typeof obj_availableScopes + '" (at "' + path_availableScopes + '")');
|
|
25979
|
+
}
|
|
25980
|
+
for (let i = 0; i < obj_availableScopes.length; i++) {
|
|
25981
|
+
const obj_availableScopes_item = obj_availableScopes[i];
|
|
25982
|
+
const path_availableScopes_item = path_availableScopes + '[' + i + ']';
|
|
25983
|
+
const referencepath_availableScopes_itemValidationError = validate$10(obj_availableScopes_item, path_availableScopes_item);
|
|
25984
|
+
if (referencepath_availableScopes_itemValidationError !== null) {
|
|
25985
|
+
let message = 'Object doesn\'t match ListObjectScopeRepresentation (at "' + path_availableScopes_item + '")\n';
|
|
25986
|
+
message += referencepath_availableScopes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
25987
|
+
return new TypeError(message);
|
|
25988
|
+
}
|
|
25989
|
+
}
|
|
25796
25990
|
const obj_columns = obj.columns;
|
|
25797
25991
|
const path_columns = path + '.columns';
|
|
25798
25992
|
if (!ArrayIsArray(obj_columns)) {
|
|
@@ -25861,12 +26055,19 @@ function normalize$s(input, existing, path, luvio, store, timestamp) {
|
|
|
25861
26055
|
return input;
|
|
25862
26056
|
}
|
|
25863
26057
|
const select$25 = function ListObjectInfoRepresentationSelect() {
|
|
26058
|
+
const { selections: ListObjectScopeRepresentation__selections, opaque: ListObjectScopeRepresentation__opaque, } = select$28();
|
|
25864
26059
|
const { selections: ListObjectColumnRepresentation__selections, opaque: ListObjectColumnRepresentation__opaque, } = select$26();
|
|
25865
26060
|
return {
|
|
25866
26061
|
kind: 'Fragment',
|
|
25867
26062
|
version: VERSION$1R,
|
|
25868
26063
|
private: [],
|
|
25869
26064
|
selections: [
|
|
26065
|
+
{
|
|
26066
|
+
name: 'availableScopes',
|
|
26067
|
+
kind: 'Object',
|
|
26068
|
+
plural: true,
|
|
26069
|
+
selections: ListObjectScopeRepresentation__selections
|
|
26070
|
+
},
|
|
25870
26071
|
{
|
|
25871
26072
|
name: 'columns',
|
|
25872
26073
|
kind: 'Object',
|
|
@@ -25899,6 +26100,16 @@ function equals$D(existing, incoming) {
|
|
|
25899
26100
|
if (!(existing_objectApiName === incoming_objectApiName)) {
|
|
25900
26101
|
return false;
|
|
25901
26102
|
}
|
|
26103
|
+
const existing_availableScopes = existing.availableScopes;
|
|
26104
|
+
const incoming_availableScopes = incoming.availableScopes;
|
|
26105
|
+
const equals_availableScopes_items = equalsArray(existing_availableScopes, incoming_availableScopes, (existing_availableScopes_item, incoming_availableScopes_item) => {
|
|
26106
|
+
if (!(equals$G(existing_availableScopes_item, incoming_availableScopes_item))) {
|
|
26107
|
+
return false;
|
|
26108
|
+
}
|
|
26109
|
+
});
|
|
26110
|
+
if (equals_availableScopes_items === false) {
|
|
26111
|
+
return false;
|
|
26112
|
+
}
|
|
25902
26113
|
const existing_columns = existing.columns;
|
|
25903
26114
|
const incoming_columns = incoming.columns;
|
|
25904
26115
|
const equals_columns_items = equalsArray(existing_columns, incoming_columns, (existing_columns_item, incoming_columns_item) => {
|
|
@@ -26170,7 +26381,7 @@ const select$23 = function NavItemsRepresentationSelect() {
|
|
|
26170
26381
|
name: 'navItems',
|
|
26171
26382
|
kind: 'Link',
|
|
26172
26383
|
plural: true,
|
|
26173
|
-
fragment: select$
|
|
26384
|
+
fragment: select$2o()
|
|
26174
26385
|
},
|
|
26175
26386
|
{
|
|
26176
26387
|
name: 'nextPageUrl',
|
|
@@ -26413,7 +26624,7 @@ function selectChildResourceParams$5(luvio, childResources, resourceParams) {
|
|
|
26413
26624
|
reader.enterPath(envelopeBodyPath);
|
|
26414
26625
|
const childResource = childResources[i];
|
|
26415
26626
|
const childKey = keyBuilder$2R(luvio, childResource);
|
|
26416
|
-
const childFragment = select$
|
|
26627
|
+
const childFragment = select$2I();
|
|
26417
26628
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
26418
26629
|
const childSnapshot = reader.read({
|
|
26419
26630
|
recordId: childKey,
|
|
@@ -30519,7 +30730,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
30519
30730
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
30520
30731
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
30521
30732
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
30522
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
30733
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1N(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
30523
30734
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
30524
30735
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
30525
30736
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30571,7 +30782,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
30571
30782
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
30572
30783
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
30573
30784
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
30574
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
30785
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1L(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
30575
30786
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
30576
30787
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
30577
30788
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30590,7 +30801,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
30590
30801
|
}
|
|
30591
30802
|
const obj_userPreferences = obj.userPreferences;
|
|
30592
30803
|
const path_userPreferences = path + '.userPreferences';
|
|
30593
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
30804
|
+
const referencepath_userPreferencesValidationError = validate$1H(obj_userPreferences, path_userPreferences);
|
|
30594
30805
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
30595
30806
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
30596
30807
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31264,7 +31475,7 @@ function validate$B(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
31264
31475
|
const path_themeInfo = path + '.themeInfo';
|
|
31265
31476
|
let obj_themeInfo_union0 = null;
|
|
31266
31477
|
const obj_themeInfo_union0_error = (() => {
|
|
31267
|
-
const referencepath_themeInfoValidationError = validate$
|
|
31478
|
+
const referencepath_themeInfoValidationError = validate$1t(obj_themeInfo, path_themeInfo);
|
|
31268
31479
|
if (referencepath_themeInfoValidationError !== null) {
|
|
31269
31480
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
31270
31481
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31696,7 +31907,7 @@ function validate$x(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
31696
31907
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
31697
31908
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
31698
31909
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
31699
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
31910
|
+
const referencepath_orderedBy_itemValidationError = validate$1L(obj_orderedBy_item, path_orderedBy_item);
|
|
31700
31911
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
31701
31912
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
31702
31913
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32819,7 +33030,7 @@ const dynamicSelect$4 = function dynamicRelatedListRecordCollectionRepresentatio
|
|
|
32819
33030
|
const recordsPathSelection = params.records === undefined ? {
|
|
32820
33031
|
name: 'records',
|
|
32821
33032
|
kind: 'Link',
|
|
32822
|
-
fragment: select$
|
|
33033
|
+
fragment: select$2S()
|
|
32823
33034
|
} : params.records;
|
|
32824
33035
|
const { selections: RelatedListReferenceRepresentation__selections, opaque: RelatedListReferenceRepresentation__opaque, } = select$1I();
|
|
32825
33036
|
return {
|
|
@@ -33103,7 +33314,7 @@ function select$1u(luvio, params) {
|
|
|
33103
33314
|
kind: 'Fragment',
|
|
33104
33315
|
private: ['eTag', 'weakEtag'],
|
|
33105
33316
|
selections: buildSelectionFromFields(fields, optionalFields),
|
|
33106
|
-
version: VERSION$
|
|
33317
|
+
version: VERSION$2j
|
|
33107
33318
|
},
|
|
33108
33319
|
},
|
|
33109
33320
|
}, createPaginationParams(params));
|
|
@@ -34964,7 +35175,7 @@ function validate$j(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
34964
35175
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
34965
35176
|
const obj_orderBy_item = obj_orderBy[i];
|
|
34966
35177
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
34967
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
35178
|
+
const referencepath_orderBy_itemValidationError = validate$1L(obj_orderBy_item, path_orderBy_item);
|
|
34968
35179
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
34969
35180
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
34970
35181
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -48280,7 +48491,7 @@ function readFieldValueAndConvertToGQL(reader, fieldData, hasFormat, hasLabel, _
|
|
|
48280
48491
|
kind: 'Fragment',
|
|
48281
48492
|
private: [],
|
|
48282
48493
|
opaque: true,
|
|
48283
|
-
version: VERSION$
|
|
48494
|
+
version: VERSION$2l,
|
|
48284
48495
|
},
|
|
48285
48496
|
variables: {},
|
|
48286
48497
|
});
|
|
@@ -50252,7 +50463,7 @@ function selectType$6(typename, sel, fieldData, reader, key, sink, variables, fr
|
|
|
50252
50463
|
kind: 'Fragment',
|
|
50253
50464
|
private: [],
|
|
50254
50465
|
opaque: true,
|
|
50255
|
-
version: VERSION$
|
|
50466
|
+
version: VERSION$2l,
|
|
50256
50467
|
},
|
|
50257
50468
|
variables: {},
|
|
50258
50469
|
});
|
|
@@ -50358,7 +50569,7 @@ function attachMappedData(source, reader) {
|
|
|
50358
50569
|
kind: 'Fragment',
|
|
50359
50570
|
private: [],
|
|
50360
50571
|
opaque: true,
|
|
50361
|
-
version: VERSION$
|
|
50572
|
+
version: VERSION$2j,
|
|
50362
50573
|
},
|
|
50363
50574
|
variables: {},
|
|
50364
50575
|
});
|
|
@@ -52709,7 +52920,7 @@ const factory$e = (luvio) => function graphql(untrustedConfig, requestContext) {
|
|
|
52709
52920
|
};
|
|
52710
52921
|
|
|
52711
52922
|
function select$6(luvio, params) {
|
|
52712
|
-
return select$
|
|
52923
|
+
return select$2F();
|
|
52713
52924
|
}
|
|
52714
52925
|
function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
|
|
52715
52926
|
getTypeCacheKeys$1L(storeKeyMap, luvio, response);
|
|
@@ -52837,7 +53048,7 @@ const performUpdateRecordQuickActionAdapterFactory = (luvio) => {
|
|
|
52837
53048
|
const factory$d = performUpdateRecordQuickActionAdapterFactory;
|
|
52838
53049
|
|
|
52839
53050
|
function select$5(luvio, params) {
|
|
52840
|
-
return select$
|
|
53051
|
+
return select$2F();
|
|
52841
53052
|
}
|
|
52842
53053
|
function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
|
|
52843
53054
|
getTypeCacheKeys$1L(storeKeyMap, luvio, response);
|
|
@@ -53021,7 +53232,7 @@ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
|
|
|
53021
53232
|
}
|
|
53022
53233
|
function adapterFragment$2(luvio, config) {
|
|
53023
53234
|
const resourceParams = createResourceParams$9(config);
|
|
53024
|
-
return select$
|
|
53235
|
+
return select$2N(luvio, resourceParams);
|
|
53025
53236
|
}
|
|
53026
53237
|
function onFetchResponseSuccess$3(luvio, config, resourceParams, response) {
|
|
53027
53238
|
const snapshot = ingestSuccess$M(luvio, resourceParams, response, {
|
|
@@ -53089,7 +53300,7 @@ function getPaginationMetadata(luvio, resourceParams) {
|
|
|
53089
53300
|
recordId: key,
|
|
53090
53301
|
node: {
|
|
53091
53302
|
kind: 'Fragment',
|
|
53092
|
-
version: VERSION$
|
|
53303
|
+
version: VERSION$2h,
|
|
53093
53304
|
private: [],
|
|
53094
53305
|
selections: [
|
|
53095
53306
|
{
|
|
@@ -53827,7 +54038,7 @@ function validate$a(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
53827
54038
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
53828
54039
|
let obj_recordTypeInfo_union0 = null;
|
|
53829
54040
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
53830
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
54041
|
+
const referencepath_recordTypeInfoValidationError = validate$1F(obj_recordTypeInfo, path_recordTypeInfo);
|
|
53831
54042
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
53832
54043
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
53833
54044
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -53989,7 +54200,7 @@ function equals$a(existing, incoming) {
|
|
|
53989
54200
|
if (!(existing_recordTypeInfo === incoming_recordTypeInfo
|
|
53990
54201
|
|| (existing_recordTypeInfo != null &&
|
|
53991
54202
|
incoming_recordTypeInfo != null &&
|
|
53992
|
-
equals$
|
|
54203
|
+
equals$13(existing_recordTypeInfo, incoming_recordTypeInfo)))) {
|
|
53993
54204
|
return false;
|
|
53994
54205
|
}
|
|
53995
54206
|
const existing_systemModstamp = existing.systemModstamp;
|
|
@@ -54250,8 +54461,8 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
|
54250
54461
|
}
|
|
54251
54462
|
|
|
54252
54463
|
const contextId$2 = `${keyPrefix}__${adapterName$4}`;
|
|
54253
|
-
const layoutSelections = select$
|
|
54254
|
-
const objectInfoSelections = select$
|
|
54464
|
+
const layoutSelections = select$2H();
|
|
54465
|
+
const objectInfoSelections = select$2J();
|
|
54255
54466
|
function buildSelector(resp) {
|
|
54256
54467
|
const recordSelections = buildSelectionFromRecord(resp.record);
|
|
54257
54468
|
return [
|
|
@@ -54510,7 +54721,7 @@ const select$3 = function RecordTemplateCloneRepresentationSelect() {
|
|
|
54510
54721
|
name: 'fields',
|
|
54511
54722
|
kind: 'Link',
|
|
54512
54723
|
map: true,
|
|
54513
|
-
fragment: select$
|
|
54724
|
+
fragment: select$2U()
|
|
54514
54725
|
},
|
|
54515
54726
|
{
|
|
54516
54727
|
name: 'recordTypeId',
|
|
@@ -54524,7 +54735,7 @@ const dynamicSelect$3 = function dynamicRecordTemplateCloneRepresentationSelect(
|
|
|
54524
54735
|
name: 'fields',
|
|
54525
54736
|
kind: 'Link',
|
|
54526
54737
|
map: true,
|
|
54527
|
-
fragment: select$
|
|
54738
|
+
fragment: select$2U()
|
|
54528
54739
|
} : params.fields;
|
|
54529
54740
|
return {
|
|
54530
54741
|
kind: 'Fragment',
|
|
@@ -54687,7 +54898,7 @@ const dynamicSelect$2 = function dynamicRecordDefaultsTemplateCloneRepresentatio
|
|
|
54687
54898
|
name: 'objectInfos',
|
|
54688
54899
|
kind: 'Link',
|
|
54689
54900
|
map: true,
|
|
54690
|
-
fragment: select$
|
|
54901
|
+
fragment: select$2J()
|
|
54691
54902
|
} : params.objectInfos;
|
|
54692
54903
|
const recordPathSelection = params.record === undefined ? {
|
|
54693
54904
|
name: 'record',
|
|
@@ -55144,7 +55355,7 @@ const select$1 = function RecordTemplateCreateRepresentationSelect() {
|
|
|
55144
55355
|
name: 'fields',
|
|
55145
55356
|
kind: 'Link',
|
|
55146
55357
|
map: true,
|
|
55147
|
-
fragment: select$
|
|
55358
|
+
fragment: select$2U()
|
|
55148
55359
|
},
|
|
55149
55360
|
{
|
|
55150
55361
|
name: 'recordTypeId',
|
|
@@ -55158,7 +55369,7 @@ const dynamicSelect$1 = function dynamicRecordTemplateCreateRepresentationSelect
|
|
|
55158
55369
|
name: 'fields',
|
|
55159
55370
|
kind: 'Link',
|
|
55160
55371
|
map: true,
|
|
55161
|
-
fragment: select$
|
|
55372
|
+
fragment: select$2U()
|
|
55162
55373
|
} : params.fields;
|
|
55163
55374
|
return {
|
|
55164
55375
|
kind: 'Fragment',
|
|
@@ -55312,7 +55523,7 @@ const dynamicSelect = function dynamicRecordDefaultsTemplateCreateRepresentation
|
|
|
55312
55523
|
name: 'objectInfos',
|
|
55313
55524
|
kind: 'Link',
|
|
55314
55525
|
map: true,
|
|
55315
|
-
fragment: select$
|
|
55526
|
+
fragment: select$2J()
|
|
55316
55527
|
} : params.objectInfos;
|
|
55317
55528
|
const recordPathSelection = params.record === undefined ? {
|
|
55318
55529
|
name: 'record',
|
|
@@ -55717,7 +55928,7 @@ function onResponseSuccess$1(luvio, response, recordIngest, conflictMap) {
|
|
|
55717
55928
|
kind: 'Fragment',
|
|
55718
55929
|
private: [],
|
|
55719
55930
|
selections,
|
|
55720
|
-
version: VERSION$
|
|
55931
|
+
version: VERSION$2j,
|
|
55721
55932
|
},
|
|
55722
55933
|
variables: {},
|
|
55723
55934
|
});
|
|
@@ -55961,7 +56172,7 @@ function onResponseSuccess(luvio, response, recordId, recordIngest, conflictMap)
|
|
|
55961
56172
|
kind: 'Fragment',
|
|
55962
56173
|
private: [],
|
|
55963
56174
|
selections: sel,
|
|
55964
|
-
version: VERSION$
|
|
56175
|
+
version: VERSION$2j,
|
|
55965
56176
|
},
|
|
55966
56177
|
variables: {},
|
|
55967
56178
|
});
|
|
@@ -56205,7 +56416,7 @@ const select = function ContentDocumentCompositeRepresentationSelect(body) {
|
|
|
56205
56416
|
fragment: {
|
|
56206
56417
|
kind: 'Fragment',
|
|
56207
56418
|
private: [],
|
|
56208
|
-
version: VERSION$
|
|
56419
|
+
version: VERSION$2j,
|
|
56209
56420
|
selections: buildSelectionFromRecord(body.contentDocument),
|
|
56210
56421
|
},
|
|
56211
56422
|
},
|
|
@@ -56216,7 +56427,7 @@ const select = function ContentDocumentCompositeRepresentationSelect(body) {
|
|
|
56216
56427
|
fragment: {
|
|
56217
56428
|
kind: 'Fragment',
|
|
56218
56429
|
private: [],
|
|
56219
|
-
version: VERSION$
|
|
56430
|
+
version: VERSION$2j,
|
|
56220
56431
|
selections: buildSelectionFromRecord(body.contentDocumentLinks[0] || { fields: {} }),
|
|
56221
56432
|
},
|
|
56222
56433
|
},
|
|
@@ -56226,7 +56437,7 @@ const select = function ContentDocumentCompositeRepresentationSelect(body) {
|
|
|
56226
56437
|
fragment: {
|
|
56227
56438
|
kind: 'Fragment',
|
|
56228
56439
|
private: [],
|
|
56229
|
-
version: VERSION$
|
|
56440
|
+
version: VERSION$2j,
|
|
56230
56441
|
selections: buildSelectionFromRecord(body.contentVersion),
|
|
56231
56442
|
},
|
|
56232
56443
|
},
|