@salesforce/lwc-adapters-uiapi 1.321.0 → 1.323.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 +798 -602
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -7938,8 +7938,8 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
7938
7938
|
entry['__metadata'] = createLink$1(metadataKey);
|
|
7939
7939
|
}
|
|
7940
7940
|
|
|
7941
|
-
const VERSION$
|
|
7942
|
-
function validate$
|
|
7941
|
+
const VERSION$2U = "623aa9ce3a11031e35faf5671a41746e";
|
|
7942
|
+
function validate$2e(obj, path = 'ListFilterByInfoRepresentation') {
|
|
7943
7943
|
const v_error = (() => {
|
|
7944
7944
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7945
7945
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7974,10 +7974,10 @@ function validate$2c(obj, path = 'ListFilterByInfoRepresentation') {
|
|
|
7974
7974
|
})();
|
|
7975
7975
|
return v_error === undefined ? null : v_error;
|
|
7976
7976
|
}
|
|
7977
|
-
const select$
|
|
7977
|
+
const select$3z = function ListFilterByInfoRepresentationSelect() {
|
|
7978
7978
|
return {
|
|
7979
7979
|
kind: 'Fragment',
|
|
7980
|
-
version: VERSION$
|
|
7980
|
+
version: VERSION$2U,
|
|
7981
7981
|
private: [],
|
|
7982
7982
|
selections: [
|
|
7983
7983
|
{
|
|
@@ -8001,8 +8001,8 @@ const select$3y = function ListFilterByInfoRepresentationSelect() {
|
|
|
8001
8001
|
};
|
|
8002
8002
|
};
|
|
8003
8003
|
|
|
8004
|
-
const VERSION$
|
|
8005
|
-
function validate$
|
|
8004
|
+
const VERSION$2T = "f98dc7dec10408a9648ef8e5b37002a3";
|
|
8005
|
+
function validate$2d(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
8006
8006
|
const v_error = (() => {
|
|
8007
8007
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8008
8008
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8062,10 +8062,10 @@ function validate$2b(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
|
8062
8062
|
})();
|
|
8063
8063
|
return v_error === undefined ? null : v_error;
|
|
8064
8064
|
}
|
|
8065
|
-
const select$
|
|
8065
|
+
const select$3y = function ListInlineEditDetailsRepresentationSelect() {
|
|
8066
8066
|
return {
|
|
8067
8067
|
kind: 'Fragment',
|
|
8068
|
-
version: VERSION$
|
|
8068
|
+
version: VERSION$2T,
|
|
8069
8069
|
private: [],
|
|
8070
8070
|
selections: [
|
|
8071
8071
|
{
|
|
@@ -8080,8 +8080,8 @@ const select$3x = function ListInlineEditDetailsRepresentationSelect() {
|
|
|
8080
8080
|
};
|
|
8081
8081
|
};
|
|
8082
8082
|
|
|
8083
|
-
const VERSION$
|
|
8084
|
-
function validate$
|
|
8083
|
+
const VERSION$2S = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
8084
|
+
function validate$2c(obj, path = 'ListReferenceRepresentation') {
|
|
8085
8085
|
const v_error = (() => {
|
|
8086
8086
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8087
8087
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8151,10 +8151,10 @@ function validate$2a(obj, path = 'ListReferenceRepresentation') {
|
|
|
8151
8151
|
})();
|
|
8152
8152
|
return v_error === undefined ? null : v_error;
|
|
8153
8153
|
}
|
|
8154
|
-
const select$
|
|
8154
|
+
const select$3x = function ListReferenceRepresentationSelect() {
|
|
8155
8155
|
return {
|
|
8156
8156
|
kind: 'Fragment',
|
|
8157
|
-
version: VERSION$
|
|
8157
|
+
version: VERSION$2S,
|
|
8158
8158
|
private: [],
|
|
8159
8159
|
selections: [
|
|
8160
8160
|
{
|
|
@@ -8176,7 +8176,7 @@ const select$3w = function ListReferenceRepresentationSelect() {
|
|
|
8176
8176
|
]
|
|
8177
8177
|
};
|
|
8178
8178
|
};
|
|
8179
|
-
function equals$
|
|
8179
|
+
function equals$1f(existing, incoming) {
|
|
8180
8180
|
const existing_objectApiName = existing.objectApiName;
|
|
8181
8181
|
const incoming_objectApiName = incoming.objectApiName;
|
|
8182
8182
|
if (!(existing_objectApiName === incoming_objectApiName)) {
|
|
@@ -8200,8 +8200,8 @@ function equals$1e(existing, incoming) {
|
|
|
8200
8200
|
return true;
|
|
8201
8201
|
}
|
|
8202
8202
|
|
|
8203
|
-
const VERSION$
|
|
8204
|
-
function validate$
|
|
8203
|
+
const VERSION$2R = "f1519bef57e70ab7c5ef160dc5ff0c47";
|
|
8204
|
+
function validate$2b(obj, path = 'ListInfoShareRepresentation') {
|
|
8205
8205
|
const v_error = (() => {
|
|
8206
8206
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8207
8207
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8219,10 +8219,10 @@ function validate$29(obj, path = 'ListInfoShareRepresentation') {
|
|
|
8219
8219
|
})();
|
|
8220
8220
|
return v_error === undefined ? null : v_error;
|
|
8221
8221
|
}
|
|
8222
|
-
const select$
|
|
8222
|
+
const select$3w = function ListInfoShareRepresentationSelect() {
|
|
8223
8223
|
return {
|
|
8224
8224
|
kind: 'Fragment',
|
|
8225
|
-
version: VERSION$
|
|
8225
|
+
version: VERSION$2R,
|
|
8226
8226
|
private: [],
|
|
8227
8227
|
selections: [
|
|
8228
8228
|
{
|
|
@@ -8237,8 +8237,8 @@ const select$3v = function ListInfoShareRepresentationSelect() {
|
|
|
8237
8237
|
};
|
|
8238
8238
|
};
|
|
8239
8239
|
|
|
8240
|
-
const VERSION$
|
|
8241
|
-
function validate$
|
|
8240
|
+
const VERSION$2Q = "561657f32721ec1dac1601575b029640";
|
|
8241
|
+
function validate$2a(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
8242
8242
|
const v_error = (() => {
|
|
8243
8243
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8244
8244
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8256,7 +8256,7 @@ function validate$28(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
8256
8256
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
8257
8257
|
const obj_shares_item = obj_shares[i];
|
|
8258
8258
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
8259
|
-
const referencepath_shares_itemValidationError = validate$
|
|
8259
|
+
const referencepath_shares_itemValidationError = validate$2b(obj_shares_item, path_shares_item);
|
|
8260
8260
|
if (referencepath_shares_itemValidationError !== null) {
|
|
8261
8261
|
let message = 'Object doesn\'t match ListInfoShareRepresentation (at "' + path_shares_item + '")\n';
|
|
8262
8262
|
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8266,11 +8266,11 @@ function validate$28(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
8266
8266
|
})();
|
|
8267
8267
|
return v_error === undefined ? null : v_error;
|
|
8268
8268
|
}
|
|
8269
|
-
const select$
|
|
8270
|
-
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$
|
|
8269
|
+
const select$3v = function ListInfoShareCategoryRepresentationSelect() {
|
|
8270
|
+
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$3w();
|
|
8271
8271
|
return {
|
|
8272
8272
|
kind: 'Fragment',
|
|
8273
|
-
version: VERSION$
|
|
8273
|
+
version: VERSION$2Q,
|
|
8274
8274
|
private: [],
|
|
8275
8275
|
selections: [
|
|
8276
8276
|
{
|
|
@@ -8287,8 +8287,8 @@ const select$3u = function ListInfoShareCategoryRepresentationSelect() {
|
|
|
8287
8287
|
};
|
|
8288
8288
|
};
|
|
8289
8289
|
|
|
8290
|
-
const VERSION$
|
|
8291
|
-
function validate$
|
|
8290
|
+
const VERSION$2P = "32def9b631252c12b91a8209c1f49f5a";
|
|
8291
|
+
function validate$29(obj, path = 'ListOrderByInfoRepresentation') {
|
|
8292
8292
|
const v_error = (() => {
|
|
8293
8293
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8294
8294
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8332,10 +8332,10 @@ function validate$27(obj, path = 'ListOrderByInfoRepresentation') {
|
|
|
8332
8332
|
})();
|
|
8333
8333
|
return v_error === undefined ? null : v_error;
|
|
8334
8334
|
}
|
|
8335
|
-
const select$
|
|
8335
|
+
const select$3u = function ListOrderByInfoRepresentationSelect() {
|
|
8336
8336
|
return {
|
|
8337
8337
|
kind: 'Fragment',
|
|
8338
|
-
version: VERSION$
|
|
8338
|
+
version: VERSION$2P,
|
|
8339
8339
|
private: [],
|
|
8340
8340
|
selections: [
|
|
8341
8341
|
{
|
|
@@ -8353,7 +8353,7 @@ const select$3t = function ListOrderByInfoRepresentationSelect() {
|
|
|
8353
8353
|
]
|
|
8354
8354
|
};
|
|
8355
8355
|
};
|
|
8356
|
-
function equals$
|
|
8356
|
+
function equals$1e(existing, incoming) {
|
|
8357
8357
|
const existing_isAscending = existing.isAscending;
|
|
8358
8358
|
const incoming_isAscending = incoming.isAscending;
|
|
8359
8359
|
if (!(existing_isAscending === incoming_isAscending)) {
|
|
@@ -8372,8 +8372,8 @@ function equals$1d(existing, incoming) {
|
|
|
8372
8372
|
return true;
|
|
8373
8373
|
}
|
|
8374
8374
|
|
|
8375
|
-
const VERSION$
|
|
8376
|
-
function validate$
|
|
8375
|
+
const VERSION$2O = "2634258f216db34315c06d759a35676d";
|
|
8376
|
+
function validate$28(obj, path = 'ListScopeEntityRepresentation') {
|
|
8377
8377
|
const v_error = (() => {
|
|
8378
8378
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8379
8379
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8391,10 +8391,10 @@ function validate$26(obj, path = 'ListScopeEntityRepresentation') {
|
|
|
8391
8391
|
})();
|
|
8392
8392
|
return v_error === undefined ? null : v_error;
|
|
8393
8393
|
}
|
|
8394
|
-
const select$
|
|
8394
|
+
const select$3t = function ListScopeEntityRepresentationSelect() {
|
|
8395
8395
|
return {
|
|
8396
8396
|
kind: 'Fragment',
|
|
8397
|
-
version: VERSION$
|
|
8397
|
+
version: VERSION$2O,
|
|
8398
8398
|
private: [],
|
|
8399
8399
|
selections: [
|
|
8400
8400
|
{
|
|
@@ -8409,8 +8409,8 @@ const select$3s = function ListScopeEntityRepresentationSelect() {
|
|
|
8409
8409
|
};
|
|
8410
8410
|
};
|
|
8411
8411
|
|
|
8412
|
-
const VERSION$
|
|
8413
|
-
function validate$
|
|
8412
|
+
const VERSION$2N = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
8413
|
+
function validate$27(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
8414
8414
|
const v_error = (() => {
|
|
8415
8415
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8416
8416
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8433,10 +8433,10 @@ function validate$25(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
|
8433
8433
|
})();
|
|
8434
8434
|
return v_error === undefined ? null : v_error;
|
|
8435
8435
|
}
|
|
8436
|
-
const select$
|
|
8436
|
+
const select$3s = function ListScopeRelatedEntityRepresentationSelect() {
|
|
8437
8437
|
return {
|
|
8438
8438
|
kind: 'Fragment',
|
|
8439
|
-
version: VERSION$
|
|
8439
|
+
version: VERSION$2N,
|
|
8440
8440
|
private: [],
|
|
8441
8441
|
selections: [
|
|
8442
8442
|
{
|
|
@@ -8455,8 +8455,8 @@ const select$3r = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
8455
8455
|
};
|
|
8456
8456
|
};
|
|
8457
8457
|
|
|
8458
|
-
const VERSION$
|
|
8459
|
-
function validate$
|
|
8458
|
+
const VERSION$2M = "2fe9814e7124b47f59da585483c1b3f9";
|
|
8459
|
+
function validate$26(obj, path = 'ListScopeRepresentation') {
|
|
8460
8460
|
const v_error = (() => {
|
|
8461
8461
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8462
8462
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8470,7 +8470,7 @@ function validate$24(obj, path = 'ListScopeRepresentation') {
|
|
|
8470
8470
|
const path_entity = path + '.entity';
|
|
8471
8471
|
let obj_entity_union0 = null;
|
|
8472
8472
|
const obj_entity_union0_error = (() => {
|
|
8473
|
-
const referencepath_entityValidationError = validate$
|
|
8473
|
+
const referencepath_entityValidationError = validate$28(obj_entity, path_entity);
|
|
8474
8474
|
if (referencepath_entityValidationError !== null) {
|
|
8475
8475
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
8476
8476
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8525,7 +8525,7 @@ function validate$24(obj, path = 'ListScopeRepresentation') {
|
|
|
8525
8525
|
const path_relatedEntity = path + '.relatedEntity';
|
|
8526
8526
|
let obj_relatedEntity_union0 = null;
|
|
8527
8527
|
const obj_relatedEntity_union0_error = (() => {
|
|
8528
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
8528
|
+
const referencepath_relatedEntityValidationError = validate$27(obj_relatedEntity, path_relatedEntity);
|
|
8529
8529
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
8530
8530
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
8531
8531
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8553,12 +8553,12 @@ function validate$24(obj, path = 'ListScopeRepresentation') {
|
|
|
8553
8553
|
})();
|
|
8554
8554
|
return v_error === undefined ? null : v_error;
|
|
8555
8555
|
}
|
|
8556
|
-
const select$
|
|
8557
|
-
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$
|
|
8558
|
-
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$
|
|
8556
|
+
const select$3r = function ListScopeRepresentationSelect() {
|
|
8557
|
+
const { selections: ListScopeEntityRepresentation__selections, opaque: ListScopeEntityRepresentation__opaque, } = select$3t();
|
|
8558
|
+
const { selections: ListScopeRelatedEntityRepresentation__selections, opaque: ListScopeRelatedEntityRepresentation__opaque, } = select$3s();
|
|
8559
8559
|
return {
|
|
8560
8560
|
kind: 'Fragment',
|
|
8561
|
-
version: VERSION$
|
|
8561
|
+
version: VERSION$2M,
|
|
8562
8562
|
private: [],
|
|
8563
8563
|
selections: [
|
|
8564
8564
|
{
|
|
@@ -8585,8 +8585,8 @@ const select$3q = function ListScopeRepresentationSelect() {
|
|
|
8585
8585
|
};
|
|
8586
8586
|
};
|
|
8587
8587
|
|
|
8588
|
-
const VERSION$
|
|
8589
|
-
function validate$
|
|
8588
|
+
const VERSION$2L = "6506134f4d72fdfa349fe60ef1af2413";
|
|
8589
|
+
function validate$25(obj, path = 'ListUserPreferenceRepresentation') {
|
|
8590
8590
|
const v_error = (() => {
|
|
8591
8591
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8592
8592
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8622,10 +8622,10 @@ function validate$23(obj, path = 'ListUserPreferenceRepresentation') {
|
|
|
8622
8622
|
})();
|
|
8623
8623
|
return v_error === undefined ? null : v_error;
|
|
8624
8624
|
}
|
|
8625
|
-
const select$
|
|
8625
|
+
const select$3q = function ListUserPreferenceRepresentationSelect() {
|
|
8626
8626
|
return {
|
|
8627
8627
|
kind: 'Fragment',
|
|
8628
|
-
version: VERSION$
|
|
8628
|
+
version: VERSION$2L,
|
|
8629
8629
|
private: [],
|
|
8630
8630
|
selections: [
|
|
8631
8631
|
{
|
|
@@ -8642,7 +8642,7 @@ const select$3p = function ListUserPreferenceRepresentationSelect() {
|
|
|
8642
8642
|
};
|
|
8643
8643
|
};
|
|
8644
8644
|
|
|
8645
|
-
function validate$
|
|
8645
|
+
function validate$24(obj, path = 'ListColumnInlineEditAttributesRepresentation') {
|
|
8646
8646
|
const v_error = (() => {
|
|
8647
8647
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8648
8648
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8661,7 +8661,7 @@ function validate$22(obj, path = 'ListColumnInlineEditAttributesRepresentation')
|
|
|
8661
8661
|
return v_error === undefined ? null : v_error;
|
|
8662
8662
|
}
|
|
8663
8663
|
|
|
8664
|
-
function validate$
|
|
8664
|
+
function validate$23(obj, path = 'ListColumnInlineEditAttributesRepresentationWrapper') {
|
|
8665
8665
|
const v_error = (() => {
|
|
8666
8666
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8667
8667
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8671,7 +8671,7 @@ function validate$21(obj, path = 'ListColumnInlineEditAttributesRepresentationWr
|
|
|
8671
8671
|
const key = obj_keys[i];
|
|
8672
8672
|
const obj_prop = obj[key];
|
|
8673
8673
|
const path_prop = path + '["' + key + '"]';
|
|
8674
|
-
const referencepath_propValidationError = validate$
|
|
8674
|
+
const referencepath_propValidationError = validate$24(obj_prop, path_prop);
|
|
8675
8675
|
if (referencepath_propValidationError !== null) {
|
|
8676
8676
|
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentation (at "' + path_prop + '")\n';
|
|
8677
8677
|
message += referencepath_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8682,8 +8682,8 @@ function validate$21(obj, path = 'ListColumnInlineEditAttributesRepresentationWr
|
|
|
8682
8682
|
return v_error === undefined ? null : v_error;
|
|
8683
8683
|
}
|
|
8684
8684
|
|
|
8685
|
-
const VERSION$
|
|
8686
|
-
function validate$
|
|
8685
|
+
const VERSION$2K = "64e2cac6d374ad92f491a9f8a952c6c3";
|
|
8686
|
+
function validate$22(obj, path = 'ListColumnRepresentation') {
|
|
8687
8687
|
const v_error = (() => {
|
|
8688
8688
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8689
8689
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8697,7 +8697,7 @@ function validate$20(obj, path = 'ListColumnRepresentation') {
|
|
|
8697
8697
|
const path_inlineEditAttributes = path + '.inlineEditAttributes';
|
|
8698
8698
|
let obj_inlineEditAttributes_union0 = null;
|
|
8699
8699
|
const obj_inlineEditAttributes_union0_error = (() => {
|
|
8700
|
-
const referencepath_inlineEditAttributesValidationError = validate$
|
|
8700
|
+
const referencepath_inlineEditAttributesValidationError = validate$23(obj_inlineEditAttributes, path_inlineEditAttributes);
|
|
8701
8701
|
if (referencepath_inlineEditAttributesValidationError !== null) {
|
|
8702
8702
|
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentationWrapper (at "' + path_inlineEditAttributes + '")\n';
|
|
8703
8703
|
message += referencepath_inlineEditAttributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8770,15 +8770,15 @@ const RepresentationType$12 = 'ListColumnRepresentation';
|
|
|
8770
8770
|
function normalize$W(input, existing, path, luvio, store, timestamp) {
|
|
8771
8771
|
return input;
|
|
8772
8772
|
}
|
|
8773
|
-
const select$
|
|
8773
|
+
const select$3p = function ListColumnRepresentationSelect() {
|
|
8774
8774
|
return {
|
|
8775
8775
|
kind: 'Fragment',
|
|
8776
|
-
version: VERSION$
|
|
8776
|
+
version: VERSION$2K,
|
|
8777
8777
|
private: [],
|
|
8778
8778
|
opaque: true
|
|
8779
8779
|
};
|
|
8780
8780
|
};
|
|
8781
|
-
function equals$
|
|
8781
|
+
function equals$1d(existing, incoming) {
|
|
8782
8782
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
8783
8783
|
return false;
|
|
8784
8784
|
}
|
|
@@ -8786,14 +8786,14 @@ function equals$1c(existing, incoming) {
|
|
|
8786
8786
|
}
|
|
8787
8787
|
const ingest$2g = function ListColumnRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8788
8788
|
if (process.env.NODE_ENV !== 'production') {
|
|
8789
|
-
const validateError = validate$
|
|
8789
|
+
const validateError = validate$22(input);
|
|
8790
8790
|
if (validateError !== null) {
|
|
8791
8791
|
throw validateError;
|
|
8792
8792
|
}
|
|
8793
8793
|
}
|
|
8794
8794
|
const key = path.fullPath;
|
|
8795
8795
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
8796
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$W, "UiApi", VERSION$
|
|
8796
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$W, "UiApi", VERSION$2K, RepresentationType$12, equals$1d);
|
|
8797
8797
|
return createLink$1(key);
|
|
8798
8798
|
};
|
|
8799
8799
|
function getTypeCacheKeys$2k(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8818,8 +8818,8 @@ const keyBuilderFromType$F = function ListInfoRepresentationKeyBuilderFromType(l
|
|
|
8818
8818
|
};
|
|
8819
8819
|
|
|
8820
8820
|
const TTL$H = 900000;
|
|
8821
|
-
const VERSION$
|
|
8822
|
-
function validate$
|
|
8821
|
+
const VERSION$2J = "5adf17d38be03c0f71b1c52485b377a6";
|
|
8822
|
+
function validate$21(obj, path = 'ListInfoRepresentation') {
|
|
8823
8823
|
const v_error = (() => {
|
|
8824
8824
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8825
8825
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8890,7 +8890,7 @@ function validate$1$(obj, path = 'ListInfoRepresentation') {
|
|
|
8890
8890
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
8891
8891
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
8892
8892
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
8893
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
8893
|
+
const referencepath_filteredByInfo_itemValidationError = validate$2e(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
8894
8894
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
8895
8895
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
8896
8896
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8906,7 +8906,7 @@ function validate$1$(obj, path = 'ListInfoRepresentation') {
|
|
|
8906
8906
|
}
|
|
8907
8907
|
const obj_inlineEditDetails = obj.inlineEditDetails;
|
|
8908
8908
|
const path_inlineEditDetails = path + '.inlineEditDetails';
|
|
8909
|
-
const referencepath_inlineEditDetailsValidationError = validate$
|
|
8909
|
+
const referencepath_inlineEditDetailsValidationError = validate$2d(obj_inlineEditDetails, path_inlineEditDetails);
|
|
8910
8910
|
if (referencepath_inlineEditDetailsValidationError !== null) {
|
|
8911
8911
|
let message = 'Object doesn\'t match ListInlineEditDetailsRepresentation (at "' + path_inlineEditDetails + '")\n';
|
|
8912
8912
|
message += referencepath_inlineEditDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8940,7 +8940,7 @@ function validate$1$(obj, path = 'ListInfoRepresentation') {
|
|
|
8940
8940
|
}
|
|
8941
8941
|
const obj_listReference = obj.listReference;
|
|
8942
8942
|
const path_listReference = path + '.listReference';
|
|
8943
|
-
const referencepath_listReferenceValidationError = validate$
|
|
8943
|
+
const referencepath_listReferenceValidationError = validate$2c(obj_listReference, path_listReference);
|
|
8944
8944
|
if (referencepath_listReferenceValidationError !== null) {
|
|
8945
8945
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
8946
8946
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8954,7 +8954,7 @@ function validate$1$(obj, path = 'ListInfoRepresentation') {
|
|
|
8954
8954
|
for (let i = 0; i < obj_listShares.length; i++) {
|
|
8955
8955
|
const obj_listShares_item = obj_listShares[i];
|
|
8956
8956
|
const path_listShares_item = path_listShares + '[' + i + ']';
|
|
8957
|
-
const referencepath_listShares_itemValidationError = validate$
|
|
8957
|
+
const referencepath_listShares_itemValidationError = validate$2a(obj_listShares_item, path_listShares_item);
|
|
8958
8958
|
if (referencepath_listShares_itemValidationError !== null) {
|
|
8959
8959
|
let message = 'Object doesn\'t match ListInfoShareCategoryRepresentation (at "' + path_listShares_item + '")\n';
|
|
8960
8960
|
message += referencepath_listShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8981,7 +8981,7 @@ function validate$1$(obj, path = 'ListInfoRepresentation') {
|
|
|
8981
8981
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
8982
8982
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
8983
8983
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
8984
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
8984
|
+
const referencepath_orderedByInfo_itemValidationError = validate$29(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
8985
8985
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
8986
8986
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
8987
8987
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8992,7 +8992,7 @@ function validate$1$(obj, path = 'ListInfoRepresentation') {
|
|
|
8992
8992
|
const path_scope = path + '.scope';
|
|
8993
8993
|
let obj_scope_union0 = null;
|
|
8994
8994
|
const obj_scope_union0_error = (() => {
|
|
8995
|
-
const referencepath_scopeValidationError = validate$
|
|
8995
|
+
const referencepath_scopeValidationError = validate$26(obj_scope, path_scope);
|
|
8996
8996
|
if (referencepath_scopeValidationError !== null) {
|
|
8997
8997
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
8998
8998
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9029,7 +9029,7 @@ function validate$1$(obj, path = 'ListInfoRepresentation') {
|
|
|
9029
9029
|
}
|
|
9030
9030
|
const obj_userPreferences = obj.userPreferences;
|
|
9031
9031
|
const path_userPreferences = path + '.userPreferences';
|
|
9032
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
9032
|
+
const referencepath_userPreferencesValidationError = validate$25(obj_userPreferences, path_userPreferences);
|
|
9033
9033
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
9034
9034
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
9035
9035
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9071,17 +9071,17 @@ function normalize$V(input, existing, path, luvio, store, timestamp) {
|
|
|
9071
9071
|
}
|
|
9072
9072
|
return input;
|
|
9073
9073
|
}
|
|
9074
|
-
const select$
|
|
9075
|
-
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$
|
|
9076
|
-
const { selections: ListInlineEditDetailsRepresentation__selections, opaque: ListInlineEditDetailsRepresentation__opaque, } = select$
|
|
9077
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
9078
|
-
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$
|
|
9079
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
9080
|
-
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$
|
|
9081
|
-
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$
|
|
9074
|
+
const select$3o = function ListInfoRepresentationSelect() {
|
|
9075
|
+
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$3z();
|
|
9076
|
+
const { selections: ListInlineEditDetailsRepresentation__selections, opaque: ListInlineEditDetailsRepresentation__opaque, } = select$3y();
|
|
9077
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$3x();
|
|
9078
|
+
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$3v();
|
|
9079
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$3u();
|
|
9080
|
+
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$3r();
|
|
9081
|
+
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$3q();
|
|
9082
9082
|
return {
|
|
9083
9083
|
kind: 'Fragment',
|
|
9084
|
-
version: VERSION$
|
|
9084
|
+
version: VERSION$2J,
|
|
9085
9085
|
private: [
|
|
9086
9086
|
'eTag'
|
|
9087
9087
|
],
|
|
@@ -9102,7 +9102,7 @@ const select$3n = function ListInfoRepresentationSelect() {
|
|
|
9102
9102
|
name: 'displayColumns',
|
|
9103
9103
|
kind: 'Link',
|
|
9104
9104
|
plural: true,
|
|
9105
|
-
fragment: select$
|
|
9105
|
+
fragment: select$3p()
|
|
9106
9106
|
},
|
|
9107
9107
|
{
|
|
9108
9108
|
name: 'filterLogicString',
|
|
@@ -9180,7 +9180,7 @@ const select$3n = function ListInfoRepresentationSelect() {
|
|
|
9180
9180
|
]
|
|
9181
9181
|
};
|
|
9182
9182
|
};
|
|
9183
|
-
function equals$
|
|
9183
|
+
function equals$1c(existing, incoming) {
|
|
9184
9184
|
if (existing.eTag !== incoming.eTag) {
|
|
9185
9185
|
return false;
|
|
9186
9186
|
}
|
|
@@ -9188,14 +9188,14 @@ function equals$1b(existing, incoming) {
|
|
|
9188
9188
|
}
|
|
9189
9189
|
const ingest$2f = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9190
9190
|
if (process.env.NODE_ENV !== 'production') {
|
|
9191
|
-
const validateError = validate$
|
|
9191
|
+
const validateError = validate$21(input);
|
|
9192
9192
|
if (validateError !== null) {
|
|
9193
9193
|
throw validateError;
|
|
9194
9194
|
}
|
|
9195
9195
|
}
|
|
9196
9196
|
const key = keyBuilderFromType$F(luvio, input);
|
|
9197
9197
|
const ttlToUse = TTL$H;
|
|
9198
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$V, "UiApi", VERSION$
|
|
9198
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$V, "UiApi", VERSION$2J, RepresentationType$11, equals$1c);
|
|
9199
9199
|
return createLink$1(key);
|
|
9200
9200
|
};
|
|
9201
9201
|
function getTypeCacheKeys$2j(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -9268,8 +9268,8 @@ function toSortedStringArray(value) {
|
|
|
9268
9268
|
return undefined;
|
|
9269
9269
|
}
|
|
9270
9270
|
|
|
9271
|
-
const VERSION$
|
|
9272
|
-
function validate$
|
|
9271
|
+
const VERSION$2I = "d1e589a127fb1060c89070cdb6f500b2";
|
|
9272
|
+
function validate$20(obj, path = 'RecordTypeInfoRepresentation') {
|
|
9273
9273
|
const v_error = (() => {
|
|
9274
9274
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9275
9275
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9302,10 +9302,10 @@ function validate$1_(obj, path = 'RecordTypeInfoRepresentation') {
|
|
|
9302
9302
|
})();
|
|
9303
9303
|
return v_error === undefined ? null : v_error;
|
|
9304
9304
|
}
|
|
9305
|
-
const select$
|
|
9305
|
+
const select$3n = function RecordTypeInfoRepresentationSelect() {
|
|
9306
9306
|
return {
|
|
9307
9307
|
kind: 'Fragment',
|
|
9308
|
-
version: VERSION$
|
|
9308
|
+
version: VERSION$2I,
|
|
9309
9309
|
private: [],
|
|
9310
9310
|
selections: [
|
|
9311
9311
|
{
|
|
@@ -9331,7 +9331,7 @@ const select$3m = function RecordTypeInfoRepresentationSelect() {
|
|
|
9331
9331
|
]
|
|
9332
9332
|
};
|
|
9333
9333
|
};
|
|
9334
|
-
function equals$
|
|
9334
|
+
function equals$1b(existing, incoming) {
|
|
9335
9335
|
const existing_available = existing.available;
|
|
9336
9336
|
const incoming_available = incoming.available;
|
|
9337
9337
|
if (!(existing_available === incoming_available)) {
|
|
@@ -9360,8 +9360,8 @@ function equals$1a(existing, incoming) {
|
|
|
9360
9360
|
return true;
|
|
9361
9361
|
}
|
|
9362
9362
|
|
|
9363
|
-
const VERSION$
|
|
9364
|
-
function validate$
|
|
9363
|
+
const VERSION$2H = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
9364
|
+
function validate$1$(obj, path = 'FieldValueRepresentation') {
|
|
9365
9365
|
const v_error = (() => {
|
|
9366
9366
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9367
9367
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9469,10 +9469,10 @@ function normalize$U(input, existing, path, luvio, store, timestamp) {
|
|
|
9469
9469
|
}
|
|
9470
9470
|
return input;
|
|
9471
9471
|
}
|
|
9472
|
-
const select$
|
|
9472
|
+
const select$3m = function FieldValueRepresentationSelect() {
|
|
9473
9473
|
return {
|
|
9474
9474
|
kind: 'Fragment',
|
|
9475
|
-
version: VERSION$
|
|
9475
|
+
version: VERSION$2H,
|
|
9476
9476
|
private: [],
|
|
9477
9477
|
selections: [
|
|
9478
9478
|
{
|
|
@@ -9483,12 +9483,12 @@ const select$3l = function FieldValueRepresentationSelect() {
|
|
|
9483
9483
|
name: 'value',
|
|
9484
9484
|
kind: 'Link',
|
|
9485
9485
|
nullable: true,
|
|
9486
|
-
fragment: select$
|
|
9486
|
+
fragment: select$3k()
|
|
9487
9487
|
}
|
|
9488
9488
|
]
|
|
9489
9489
|
};
|
|
9490
9490
|
};
|
|
9491
|
-
function equals$
|
|
9491
|
+
function equals$1a(existing, incoming) {
|
|
9492
9492
|
const existing_displayValue = existing.displayValue;
|
|
9493
9493
|
const incoming_displayValue = incoming.displayValue;
|
|
9494
9494
|
if (!(existing_displayValue === incoming_displayValue)) {
|
|
@@ -9508,14 +9508,14 @@ function equals$19(existing, incoming) {
|
|
|
9508
9508
|
}
|
|
9509
9509
|
const ingest$2e = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9510
9510
|
if (process.env.NODE_ENV !== 'production') {
|
|
9511
|
-
const validateError = validate$
|
|
9511
|
+
const validateError = validate$1$(input);
|
|
9512
9512
|
if (validateError !== null) {
|
|
9513
9513
|
throw validateError;
|
|
9514
9514
|
}
|
|
9515
9515
|
}
|
|
9516
9516
|
const key = path.fullPath;
|
|
9517
9517
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
9518
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$U, "UiApi", VERSION$
|
|
9518
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$U, "UiApi", VERSION$2H, RepresentationType$10, equals$1a);
|
|
9519
9519
|
return createLink$1(key);
|
|
9520
9520
|
};
|
|
9521
9521
|
function getTypeCacheKeys$2i(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -9558,8 +9558,8 @@ const getTypeCacheKeys$2h = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
9558
9558
|
};
|
|
9559
9559
|
|
|
9560
9560
|
const TTL$G = 120000;
|
|
9561
|
-
const VERSION$
|
|
9562
|
-
function validate$
|
|
9561
|
+
const VERSION$2G = "79cb5ac9f44542f683d00245fdfe500d";
|
|
9562
|
+
function validate$1_(obj, path = 'RecordCollectionRepresentation') {
|
|
9563
9563
|
const v_error = (() => {
|
|
9564
9564
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9565
9565
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9739,10 +9739,10 @@ function normalize$T(input, existing, path, luvio, store, timestamp) {
|
|
|
9739
9739
|
}
|
|
9740
9740
|
return input;
|
|
9741
9741
|
}
|
|
9742
|
-
const select$
|
|
9742
|
+
const select$3l = function RecordCollectionRepresentationSelect() {
|
|
9743
9743
|
return {
|
|
9744
9744
|
kind: 'Fragment',
|
|
9745
|
-
version: VERSION$
|
|
9745
|
+
version: VERSION$2G,
|
|
9746
9746
|
private: [],
|
|
9747
9747
|
selections: [
|
|
9748
9748
|
{
|
|
@@ -9777,12 +9777,12 @@ const select$3k = function RecordCollectionRepresentationSelect() {
|
|
|
9777
9777
|
name: 'records',
|
|
9778
9778
|
kind: 'Link',
|
|
9779
9779
|
plural: true,
|
|
9780
|
-
fragment: select$
|
|
9780
|
+
fragment: select$3k()
|
|
9781
9781
|
}
|
|
9782
9782
|
]
|
|
9783
9783
|
};
|
|
9784
9784
|
};
|
|
9785
|
-
function equals$
|
|
9785
|
+
function equals$19(existing, incoming) {
|
|
9786
9786
|
const existing_count = existing.count;
|
|
9787
9787
|
const incoming_count = incoming.count;
|
|
9788
9788
|
if (!(existing_count === incoming_count)) {
|
|
@@ -9832,14 +9832,14 @@ function equals$18(existing, incoming) {
|
|
|
9832
9832
|
}
|
|
9833
9833
|
const ingest$2d = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9834
9834
|
if (process.env.NODE_ENV !== 'production') {
|
|
9835
|
-
const validateError = validate$
|
|
9835
|
+
const validateError = validate$1_(input);
|
|
9836
9836
|
if (validateError !== null) {
|
|
9837
9837
|
throw validateError;
|
|
9838
9838
|
}
|
|
9839
9839
|
}
|
|
9840
9840
|
const key = path.fullPath;
|
|
9841
9841
|
const ttlToUse = TTL$G;
|
|
9842
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$T, "UiApi", VERSION$
|
|
9842
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$T, "UiApi", VERSION$2G, RepresentationType$$, equals$19);
|
|
9843
9843
|
return createLink$1(key);
|
|
9844
9844
|
};
|
|
9845
9845
|
function getTypeCacheKeys$2g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -9867,8 +9867,8 @@ const keyBuilderFromType$E = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
9867
9867
|
};
|
|
9868
9868
|
|
|
9869
9869
|
const TTL$F = 30000;
|
|
9870
|
-
const VERSION$
|
|
9871
|
-
function validate$
|
|
9870
|
+
const VERSION$2F = "98c5b18512e48ca8d28727549507e4ba";
|
|
9871
|
+
function validate$1Z(obj, path = 'RecordRepresentation') {
|
|
9872
9872
|
const v_error = (() => {
|
|
9873
9873
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9874
9874
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9998,7 +9998,7 @@ function validate$1X(obj, path = 'RecordRepresentation') {
|
|
|
9998
9998
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
9999
9999
|
let obj_recordTypeInfo_union0 = null;
|
|
10000
10000
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
10001
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
10001
|
+
const referencepath_recordTypeInfoValidationError = validate$20(obj_recordTypeInfo, path_recordTypeInfo);
|
|
10002
10002
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
10003
10003
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
10004
10004
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10110,11 +10110,11 @@ function dynamicNormalize$5(ingestParams) {
|
|
|
10110
10110
|
return input;
|
|
10111
10111
|
};
|
|
10112
10112
|
}
|
|
10113
|
-
const select$
|
|
10114
|
-
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$
|
|
10113
|
+
const select$3k = function RecordRepresentationSelect() {
|
|
10114
|
+
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$3n();
|
|
10115
10115
|
return {
|
|
10116
10116
|
kind: 'Fragment',
|
|
10117
|
-
version: VERSION$
|
|
10117
|
+
version: VERSION$2F,
|
|
10118
10118
|
private: [
|
|
10119
10119
|
'eTag',
|
|
10120
10120
|
'weakEtag'
|
|
@@ -10128,13 +10128,13 @@ const select$3j = function RecordRepresentationSelect() {
|
|
|
10128
10128
|
name: 'childRelationships',
|
|
10129
10129
|
kind: 'Link',
|
|
10130
10130
|
map: true,
|
|
10131
|
-
fragment: select$
|
|
10131
|
+
fragment: select$3l()
|
|
10132
10132
|
},
|
|
10133
10133
|
{
|
|
10134
10134
|
name: 'fields',
|
|
10135
10135
|
kind: 'Link',
|
|
10136
10136
|
map: true,
|
|
10137
|
-
fragment: select$
|
|
10137
|
+
fragment: select$3m()
|
|
10138
10138
|
},
|
|
10139
10139
|
{
|
|
10140
10140
|
name: 'id',
|
|
@@ -10170,18 +10170,18 @@ const dynamicSelect$8 = function dynamicRecordRepresentationSelect(params) {
|
|
|
10170
10170
|
name: 'childRelationships',
|
|
10171
10171
|
kind: 'Link',
|
|
10172
10172
|
map: true,
|
|
10173
|
-
fragment: select$
|
|
10173
|
+
fragment: select$3l()
|
|
10174
10174
|
} : params.childRelationships;
|
|
10175
10175
|
const fieldsPathSelection = params.fields === undefined ? {
|
|
10176
10176
|
name: 'fields',
|
|
10177
10177
|
kind: 'Link',
|
|
10178
10178
|
map: true,
|
|
10179
|
-
fragment: select$
|
|
10179
|
+
fragment: select$3m()
|
|
10180
10180
|
} : params.fields;
|
|
10181
|
-
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$
|
|
10181
|
+
const { selections: RecordTypeInfoRepresentation__selections, opaque: RecordTypeInfoRepresentation__opaque, } = select$3n();
|
|
10182
10182
|
return {
|
|
10183
10183
|
kind: 'Fragment',
|
|
10184
|
-
version: VERSION$
|
|
10184
|
+
version: VERSION$2F,
|
|
10185
10185
|
private: [
|
|
10186
10186
|
'eTag',
|
|
10187
10187
|
'weakEtag'
|
|
@@ -10222,7 +10222,7 @@ const dynamicSelect$8 = function dynamicRecordRepresentationSelect(params) {
|
|
|
10222
10222
|
]
|
|
10223
10223
|
};
|
|
10224
10224
|
};
|
|
10225
|
-
function equals$
|
|
10225
|
+
function equals$18(existing, incoming) {
|
|
10226
10226
|
const existing_weakEtag = existing.weakEtag;
|
|
10227
10227
|
const incoming_weakEtag = incoming.weakEtag;
|
|
10228
10228
|
if (!(existing_weakEtag === incoming_weakEtag)) {
|
|
@@ -10283,7 +10283,7 @@ function equals$17(existing, incoming) {
|
|
|
10283
10283
|
if (!(existing_recordTypeInfo === incoming_recordTypeInfo
|
|
10284
10284
|
|| (existing_recordTypeInfo != null &&
|
|
10285
10285
|
incoming_recordTypeInfo != null &&
|
|
10286
|
-
equals$
|
|
10286
|
+
equals$1b(existing_recordTypeInfo, incoming_recordTypeInfo)))) {
|
|
10287
10287
|
return false;
|
|
10288
10288
|
}
|
|
10289
10289
|
const existing_systemModstamp = existing.systemModstamp;
|
|
@@ -11971,7 +11971,7 @@ function createPathSelection(propertyName, fieldDefinition) {
|
|
|
11971
11971
|
kind: 'Fragment',
|
|
11972
11972
|
private: ['eTag', 'weakEtag'],
|
|
11973
11973
|
selections: createRecordSelection(childFieldDefinition),
|
|
11974
|
-
version: VERSION$
|
|
11974
|
+
version: VERSION$2F,
|
|
11975
11975
|
},
|
|
11976
11976
|
};
|
|
11977
11977
|
}
|
|
@@ -11981,7 +11981,7 @@ function createPathSelection(propertyName, fieldDefinition) {
|
|
|
11981
11981
|
required: childFieldDefinition.optional === true ? false : undefined,
|
|
11982
11982
|
fragment: {
|
|
11983
11983
|
kind: 'Fragment',
|
|
11984
|
-
version: VERSION$
|
|
11984
|
+
version: VERSION$2H,
|
|
11985
11985
|
private: [],
|
|
11986
11986
|
selections: [DISPLAY_VALUE_SELECTION, fieldValueSelection],
|
|
11987
11987
|
},
|
|
@@ -12013,7 +12013,7 @@ function createPathSelectionFromValue(fields) {
|
|
|
12013
12013
|
kind: 'Fragment',
|
|
12014
12014
|
private: [],
|
|
12015
12015
|
selections: buildSelectionFromRecord(fieldValue),
|
|
12016
|
-
version: VERSION$
|
|
12016
|
+
version: VERSION$2F,
|
|
12017
12017
|
},
|
|
12018
12018
|
};
|
|
12019
12019
|
}
|
|
@@ -12023,7 +12023,7 @@ function createPathSelectionFromValue(fields) {
|
|
|
12023
12023
|
required: undefined,
|
|
12024
12024
|
fragment: {
|
|
12025
12025
|
kind: 'Fragment',
|
|
12026
|
-
version: VERSION$
|
|
12026
|
+
version: VERSION$2H,
|
|
12027
12027
|
private: [],
|
|
12028
12028
|
selections: [DISPLAY_VALUE_SELECTION, fieldValueSelection],
|
|
12029
12029
|
},
|
|
@@ -12303,17 +12303,19 @@ const BLANK_RECORD_FIELDS_TRIE = freeze({
|
|
|
12303
12303
|
name: '',
|
|
12304
12304
|
children: {},
|
|
12305
12305
|
});
|
|
12306
|
-
const convertFieldsToTrie = (fields = [], isOptional = false
|
|
12306
|
+
const convertFieldsToTrie = (fields = [], isOptional = false, objectName // This should be a required field.
|
|
12307
|
+
) => {
|
|
12307
12308
|
if (fields.length === 0) {
|
|
12308
12309
|
return BLANK_RECORD_FIELDS_TRIE;
|
|
12309
12310
|
}
|
|
12310
|
-
const name = getObjectNameFromField(fields[0]);
|
|
12311
|
+
const name = objectName || getObjectNameFromField(fields[0]); // Pulling object name from first field is not a safe or correct operation
|
|
12311
12312
|
const fieldsTrie = {
|
|
12312
12313
|
name,
|
|
12313
12314
|
children: {},
|
|
12314
12315
|
optional: isOptional,
|
|
12315
12316
|
};
|
|
12316
|
-
|
|
12317
|
+
const filteredFields = fields.filter((field) => objectName !== undefined && isOptional ? field.startsWith(`${objectName}.`) : true);
|
|
12318
|
+
insertFieldsIntoTrie(fieldsTrie, filteredFields, isOptional);
|
|
12317
12319
|
return fieldsTrie;
|
|
12318
12320
|
};
|
|
12319
12321
|
const getObjectNameFromField = (field) => {
|
|
@@ -12700,7 +12702,7 @@ function ingestRecordResponse(luvio, response, recordId, recordIngest, conflictM
|
|
|
12700
12702
|
kind: 'Fragment',
|
|
12701
12703
|
private: [],
|
|
12702
12704
|
selections: sel,
|
|
12703
|
-
version: VERSION$
|
|
12705
|
+
version: VERSION$2F,
|
|
12704
12706
|
},
|
|
12705
12707
|
variables: {},
|
|
12706
12708
|
});
|
|
@@ -12994,7 +12996,7 @@ function normalize$S(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
12994
12996
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
12995
12997
|
return (input, path, luvio, store, timestamp) => {
|
|
12996
12998
|
if (process.env.NODE_ENV !== 'production') {
|
|
12997
|
-
const validateError = validate$
|
|
12999
|
+
const validateError = validate$1$(input);
|
|
12998
13000
|
if (validateError !== null) {
|
|
12999
13001
|
throw validateError;
|
|
13000
13002
|
}
|
|
@@ -13009,7 +13011,7 @@ function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
|
13009
13011
|
// read again after children ingested in case of a circular ref
|
|
13010
13012
|
existingRecord = store.readEntry(key);
|
|
13011
13013
|
incomingRecord = merge$2(existingRecord, incomingRecord, luvio, path);
|
|
13012
|
-
if (existingRecord === undefined || equals$
|
|
13014
|
+
if (existingRecord === undefined || equals$1a(existingRecord, incomingRecord) === false) {
|
|
13013
13015
|
luvio.storePublish(key, incomingRecord);
|
|
13014
13016
|
}
|
|
13015
13017
|
return createLink$1(key);
|
|
@@ -13087,7 +13089,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
13087
13089
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
13088
13090
|
return (input, path, luvio, store, timestamp) => {
|
|
13089
13091
|
if (process.env.NODE_ENV !== 'production') {
|
|
13090
|
-
const validateError = validate$
|
|
13092
|
+
const validateError = validate$1Z(input);
|
|
13091
13093
|
if (validateError !== null) {
|
|
13092
13094
|
throw validateError;
|
|
13093
13095
|
}
|
|
@@ -13105,7 +13107,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
13105
13107
|
existingRecord = store.readEntry(key);
|
|
13106
13108
|
incomingRecord = merge$3(existingRecord, incomingRecord, luvio, path, recordConflictMap);
|
|
13107
13109
|
if (existingRecord === undefined ||
|
|
13108
|
-
equals$
|
|
13110
|
+
equals$18(existingRecord, incomingRecord) === false ||
|
|
13109
13111
|
// always publish if existing record has drafts
|
|
13110
13112
|
existingRecord.drafts !==
|
|
13111
13113
|
undefined) {
|
|
@@ -13115,7 +13117,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
13115
13117
|
ttl: TTL$F,
|
|
13116
13118
|
representationName: RepresentationType$_,
|
|
13117
13119
|
namespace: keyPrefix,
|
|
13118
|
-
version: VERSION$
|
|
13120
|
+
version: VERSION$2F,
|
|
13119
13121
|
ingestionTimestamp: timestamp,
|
|
13120
13122
|
});
|
|
13121
13123
|
return createLink$1(key);
|
|
@@ -13285,7 +13287,7 @@ function buildRecordSelector(luvio, recordId, fields, optionalFields) {
|
|
|
13285
13287
|
kind: 'Fragment',
|
|
13286
13288
|
private: ['eTag', 'weakEtag'],
|
|
13287
13289
|
selections: buildSelectionFromFields(fields, optionalFields),
|
|
13288
|
-
version: VERSION$
|
|
13290
|
+
version: VERSION$2F,
|
|
13289
13291
|
},
|
|
13290
13292
|
variables: {},
|
|
13291
13293
|
};
|
|
@@ -13406,7 +13408,7 @@ function isSingleBatchRecordResponse(response) {
|
|
|
13406
13408
|
response.results.length === 1);
|
|
13407
13409
|
}
|
|
13408
13410
|
|
|
13409
|
-
const VERSION$
|
|
13411
|
+
const VERSION$2E = "98cce53b8d13b1883d001bbdaab24383";
|
|
13410
13412
|
|
|
13411
13413
|
const nonCachedErrors$8 = ObjectCreate$1(null);
|
|
13412
13414
|
function ingestSuccessChildResourceParams$9(luvio, childResourceParamsArray, childEnvelopes, serverRequestCount = 0) {
|
|
@@ -13507,7 +13509,7 @@ function selectChildResourceParams$8(luvio, childResources, resourceParams) {
|
|
|
13507
13509
|
node: {
|
|
13508
13510
|
kind: 'Fragment',
|
|
13509
13511
|
private: [],
|
|
13510
|
-
version: VERSION$
|
|
13512
|
+
version: VERSION$2E,
|
|
13511
13513
|
},
|
|
13512
13514
|
variables: {},
|
|
13513
13515
|
});
|
|
@@ -14062,8 +14064,8 @@ const keyBuilderFromType$C = function ListRecordCollectionRepresentationKeyBuild
|
|
|
14062
14064
|
};
|
|
14063
14065
|
|
|
14064
14066
|
const TTL$E = 30000;
|
|
14065
|
-
const VERSION$
|
|
14066
|
-
function validate$
|
|
14067
|
+
const VERSION$2D = "e5c90c4081cd557f8ffec53028ede1e8";
|
|
14068
|
+
function validate$1Y(obj, path = 'ListRecordCollectionRepresentation') {
|
|
14067
14069
|
const v_error = (() => {
|
|
14068
14070
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14069
14071
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14123,7 +14125,7 @@ function validate$1W(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
14123
14125
|
}
|
|
14124
14126
|
const obj_listReference = obj.listReference;
|
|
14125
14127
|
const path_listReference = path + '.listReference';
|
|
14126
|
-
const referencepath_listReferenceValidationError = validate$
|
|
14128
|
+
const referencepath_listReferenceValidationError = validate$2c(obj_listReference, path_listReference);
|
|
14127
14129
|
if (referencepath_listReferenceValidationError !== null) {
|
|
14128
14130
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
14129
14131
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -14376,13 +14378,13 @@ function normalize$R(input, existing, path, luvio, store, timestamp) {
|
|
|
14376
14378
|
}
|
|
14377
14379
|
return input;
|
|
14378
14380
|
}
|
|
14379
|
-
const select$
|
|
14380
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
14381
|
+
const select$3j = function ListRecordCollectionRepresentationSelect(paginationParams) {
|
|
14382
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$3x();
|
|
14381
14383
|
return {
|
|
14382
14384
|
kind: 'Fragment',
|
|
14383
14385
|
reader: true,
|
|
14384
14386
|
synthetic: false,
|
|
14385
|
-
version: VERSION$
|
|
14387
|
+
version: VERSION$2D,
|
|
14386
14388
|
read: (source, reader) => {
|
|
14387
14389
|
const sink = {};
|
|
14388
14390
|
if (paginationParams === undefined) {
|
|
@@ -14402,7 +14404,7 @@ const select$3i = function ListRecordCollectionRepresentationSelect(paginationPa
|
|
|
14402
14404
|
reader.readSingleLink(i, {
|
|
14403
14405
|
name: 'records',
|
|
14404
14406
|
kind: 'Link',
|
|
14405
|
-
fragment: select$
|
|
14407
|
+
fragment: select$3k()
|
|
14406
14408
|
}, itemsSource, allSink, i - startOffset);
|
|
14407
14409
|
if (reader.getIsDataMissing() === false) {
|
|
14408
14410
|
itemsSink[i - startOffset] = allSink[i - startOffset];
|
|
@@ -14495,14 +14497,14 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
|
|
|
14495
14497
|
const recordsPathSelection = params.records === undefined ? {
|
|
14496
14498
|
name: 'records',
|
|
14497
14499
|
kind: 'Link',
|
|
14498
|
-
fragment: select$
|
|
14500
|
+
fragment: select$3k()
|
|
14499
14501
|
} : params.records;
|
|
14500
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
14502
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$3x();
|
|
14501
14503
|
return {
|
|
14502
14504
|
kind: 'Fragment',
|
|
14503
14505
|
reader: true,
|
|
14504
14506
|
synthetic: false,
|
|
14505
|
-
version: VERSION$
|
|
14507
|
+
version: VERSION$2D,
|
|
14506
14508
|
read: (source, reader) => {
|
|
14507
14509
|
const sink = {};
|
|
14508
14510
|
if (paginationParams === undefined) {
|
|
@@ -14577,7 +14579,7 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
|
|
|
14577
14579
|
},
|
|
14578
14580
|
};
|
|
14579
14581
|
};
|
|
14580
|
-
function equals$
|
|
14582
|
+
function equals$17(existing, incoming) {
|
|
14581
14583
|
const existing_count = existing.count;
|
|
14582
14584
|
const incoming_count = incoming.count;
|
|
14583
14585
|
if (!(existing_count === incoming_count)) {
|
|
@@ -14615,7 +14617,7 @@ function equals$16(existing, incoming) {
|
|
|
14615
14617
|
}
|
|
14616
14618
|
const existing_listReference = existing.listReference;
|
|
14617
14619
|
const incoming_listReference = incoming.listReference;
|
|
14618
|
-
if (!(equals$
|
|
14620
|
+
if (!(equals$1f(existing_listReference, incoming_listReference))) {
|
|
14619
14621
|
return false;
|
|
14620
14622
|
}
|
|
14621
14623
|
const existing_nextPageToken = existing.nextPageToken;
|
|
@@ -14689,7 +14691,7 @@ function equals$16(existing, incoming) {
|
|
|
14689
14691
|
}
|
|
14690
14692
|
const ingest$2b = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14691
14693
|
if (process.env.NODE_ENV !== 'production') {
|
|
14692
|
-
const validateError = validate$
|
|
14694
|
+
const validateError = validate$1Y(input);
|
|
14693
14695
|
if (validateError !== null) {
|
|
14694
14696
|
throw validateError;
|
|
14695
14697
|
}
|
|
@@ -14748,14 +14750,14 @@ const ingest$2b = function ListRecordCollectionRepresentationIngest(input, path,
|
|
|
14748
14750
|
...existingRecord.records.slice(nextOffset),
|
|
14749
14751
|
];
|
|
14750
14752
|
}
|
|
14751
|
-
if (existingRecord === undefined || equals$
|
|
14753
|
+
if (existingRecord === undefined || equals$17(existingRecord, incomingRecord) === false) {
|
|
14752
14754
|
luvio.storePublish(key, incomingRecord);
|
|
14753
14755
|
}
|
|
14754
14756
|
{
|
|
14755
14757
|
const storeMetadataParams = {
|
|
14756
14758
|
ttl: ttlToUse,
|
|
14757
14759
|
namespace: "UiApi",
|
|
14758
|
-
version: VERSION$
|
|
14760
|
+
version: VERSION$2D,
|
|
14759
14761
|
representationName: RepresentationType$Z,
|
|
14760
14762
|
ingestionTimestamp: timestamp,
|
|
14761
14763
|
};
|
|
@@ -14782,8 +14784,8 @@ function getTypeCacheKeys$2e(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14782
14784
|
}
|
|
14783
14785
|
}
|
|
14784
14786
|
|
|
14785
|
-
const VERSION$
|
|
14786
|
-
function validate$
|
|
14787
|
+
const VERSION$2C = "cf8d2eb042188974da26ffe6618cfd07";
|
|
14788
|
+
function validate$1X(obj, path = 'ListUiRepresentation') {
|
|
14787
14789
|
const v_error = (() => {
|
|
14788
14790
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14789
14791
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14850,16 +14852,16 @@ const dynamicSelect$6 = function dynamicListUiRepresentationSelect(params, pagin
|
|
|
14850
14852
|
const infoPathSelection = params.info === undefined ? {
|
|
14851
14853
|
name: 'info',
|
|
14852
14854
|
kind: 'Link',
|
|
14853
|
-
fragment: select$
|
|
14855
|
+
fragment: select$3o()
|
|
14854
14856
|
} : params.info;
|
|
14855
14857
|
const recordsPathSelection = params.records === undefined ? {
|
|
14856
14858
|
name: 'records',
|
|
14857
14859
|
kind: 'Link',
|
|
14858
|
-
fragment: select$
|
|
14860
|
+
fragment: select$3j(paginationParams)
|
|
14859
14861
|
} : params.records;
|
|
14860
14862
|
return {
|
|
14861
14863
|
kind: 'Fragment',
|
|
14862
|
-
version: VERSION$
|
|
14864
|
+
version: VERSION$2C,
|
|
14863
14865
|
private: [
|
|
14864
14866
|
'eTag'
|
|
14865
14867
|
],
|
|
@@ -14869,7 +14871,7 @@ const dynamicSelect$6 = function dynamicListUiRepresentationSelect(params, pagin
|
|
|
14869
14871
|
]
|
|
14870
14872
|
};
|
|
14871
14873
|
};
|
|
14872
|
-
function equals$
|
|
14874
|
+
function equals$16(existing, incoming) {
|
|
14873
14875
|
const existing_eTag = existing.eTag;
|
|
14874
14876
|
const incoming_eTag = incoming.eTag;
|
|
14875
14877
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -14889,14 +14891,14 @@ function equals$15(existing, incoming) {
|
|
|
14889
14891
|
}
|
|
14890
14892
|
const ingest$2a = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14891
14893
|
if (process.env.NODE_ENV !== 'production') {
|
|
14892
|
-
const validateError = validate$
|
|
14894
|
+
const validateError = validate$1X(input);
|
|
14893
14895
|
if (validateError !== null) {
|
|
14894
14896
|
throw validateError;
|
|
14895
14897
|
}
|
|
14896
14898
|
}
|
|
14897
14899
|
const key = keyBuilderFromType$B(luvio, input);
|
|
14898
14900
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
14899
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$Q, "UiApi", VERSION$
|
|
14901
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$Q, "UiApi", VERSION$2C, RepresentationType$Y, equals$16);
|
|
14900
14902
|
return createLink$1(key);
|
|
14901
14903
|
};
|
|
14902
14904
|
function getTypeCacheKeys$2d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -15030,8 +15032,8 @@ function createResourceRequest$1c(config) {
|
|
|
15030
15032
|
};
|
|
15031
15033
|
}
|
|
15032
15034
|
|
|
15033
|
-
const VERSION$
|
|
15034
|
-
function validate$
|
|
15035
|
+
const VERSION$2B = "0b29241fd9ed04bb61fde26b3f558ac4";
|
|
15036
|
+
function validate$1W(obj, path = 'ListInfoSummaryRepresentation') {
|
|
15035
15037
|
const v_error = (() => {
|
|
15036
15038
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15037
15039
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15093,10 +15095,10 @@ function keyBuilderFromType$A(luvio, object) {
|
|
|
15093
15095
|
function normalize$P(input, existing, path, luvio, store, timestamp) {
|
|
15094
15096
|
return input;
|
|
15095
15097
|
}
|
|
15096
|
-
const select$
|
|
15098
|
+
const select$3f = function ListInfoSummaryRepresentationSelect() {
|
|
15097
15099
|
return {
|
|
15098
15100
|
kind: 'Fragment',
|
|
15099
|
-
version: VERSION$
|
|
15101
|
+
version: VERSION$2B,
|
|
15100
15102
|
private: [],
|
|
15101
15103
|
selections: [
|
|
15102
15104
|
{
|
|
@@ -15118,7 +15120,7 @@ const select$3e = function ListInfoSummaryRepresentationSelect() {
|
|
|
15118
15120
|
]
|
|
15119
15121
|
};
|
|
15120
15122
|
};
|
|
15121
|
-
function equals$
|
|
15123
|
+
function equals$15(existing, incoming) {
|
|
15122
15124
|
const existing_apiName = existing.apiName;
|
|
15123
15125
|
const incoming_apiName = incoming.apiName;
|
|
15124
15126
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -15143,14 +15145,14 @@ function equals$14(existing, incoming) {
|
|
|
15143
15145
|
}
|
|
15144
15146
|
const ingest$29 = function ListInfoSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15145
15147
|
if (process.env.NODE_ENV !== 'production') {
|
|
15146
|
-
const validateError = validate$
|
|
15148
|
+
const validateError = validate$1W(input);
|
|
15147
15149
|
if (validateError !== null) {
|
|
15148
15150
|
throw validateError;
|
|
15149
15151
|
}
|
|
15150
15152
|
}
|
|
15151
15153
|
const key = keyBuilderFromType$A(luvio, input);
|
|
15152
15154
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
15153
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$P, "UiApi", VERSION$
|
|
15155
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$P, "UiApi", VERSION$2B, RepresentationType$X, equals$15);
|
|
15154
15156
|
return createLink$1(key);
|
|
15155
15157
|
};
|
|
15156
15158
|
function getTypeCacheKeys$2c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -15163,8 +15165,8 @@ function getTypeCacheKeys$2c(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
15163
15165
|
});
|
|
15164
15166
|
}
|
|
15165
15167
|
|
|
15166
|
-
const VERSION$
|
|
15167
|
-
function validate$
|
|
15168
|
+
const VERSION$2A = "d0cadb0927f908b5b64694e1cff0b2d7";
|
|
15169
|
+
function validate$1V(obj, path = 'ListInfoSummaryCollectionRepresentation') {
|
|
15168
15170
|
const v_error = (() => {
|
|
15169
15171
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15170
15172
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15380,12 +15382,12 @@ function normalize$O(input, existing, path, luvio, store, timestamp) {
|
|
|
15380
15382
|
}
|
|
15381
15383
|
return input;
|
|
15382
15384
|
}
|
|
15383
|
-
const select$
|
|
15385
|
+
const select$3e = function ListInfoSummaryCollectionRepresentationSelect(paginationParams) {
|
|
15384
15386
|
return {
|
|
15385
15387
|
kind: 'Fragment',
|
|
15386
15388
|
reader: true,
|
|
15387
15389
|
synthetic: false,
|
|
15388
|
-
version: VERSION$
|
|
15390
|
+
version: VERSION$2A,
|
|
15389
15391
|
read: (source, reader) => {
|
|
15390
15392
|
const sink = {};
|
|
15391
15393
|
if (paginationParams === undefined) {
|
|
@@ -15405,7 +15407,7 @@ const select$3d = function ListInfoSummaryCollectionRepresentationSelect(paginat
|
|
|
15405
15407
|
reader.readSingleLink(i, {
|
|
15406
15408
|
name: 'lists',
|
|
15407
15409
|
kind: 'Link',
|
|
15408
|
-
fragment: select$
|
|
15410
|
+
fragment: select$3f()
|
|
15409
15411
|
}, itemsSource, allSink, i - startOffset);
|
|
15410
15412
|
if (reader.getIsDataMissing() === false) {
|
|
15411
15413
|
itemsSink[i - startOffset] = allSink[i - startOffset];
|
|
@@ -15473,7 +15475,7 @@ function getPageMetadata$3(paginationMetadata, paginationParams) {
|
|
|
15473
15475
|
metadataProperties.count = endOffset - startOffset;
|
|
15474
15476
|
return sink;
|
|
15475
15477
|
}
|
|
15476
|
-
function equals$
|
|
15478
|
+
function equals$14(existing, incoming) {
|
|
15477
15479
|
const existing_recentListsOnly = existing.recentListsOnly;
|
|
15478
15480
|
const incoming_recentListsOnly = incoming.recentListsOnly;
|
|
15479
15481
|
if (!(existing_recentListsOnly === incoming_recentListsOnly)) {
|
|
@@ -15548,7 +15550,7 @@ function equals$13(existing, incoming) {
|
|
|
15548
15550
|
}
|
|
15549
15551
|
const ingest$28 = function ListInfoSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15550
15552
|
if (process.env.NODE_ENV !== 'production') {
|
|
15551
|
-
const validateError = validate$
|
|
15553
|
+
const validateError = validate$1V(input);
|
|
15552
15554
|
if (validateError !== null) {
|
|
15553
15555
|
throw validateError;
|
|
15554
15556
|
}
|
|
@@ -15607,14 +15609,14 @@ const ingest$28 = function ListInfoSummaryCollectionRepresentationIngest(input,
|
|
|
15607
15609
|
...existingRecord.lists.slice(nextOffset),
|
|
15608
15610
|
];
|
|
15609
15611
|
}
|
|
15610
|
-
if (existingRecord === undefined || equals$
|
|
15612
|
+
if (existingRecord === undefined || equals$14(existingRecord, incomingRecord) === false) {
|
|
15611
15613
|
luvio.storePublish(key, incomingRecord);
|
|
15612
15614
|
}
|
|
15613
15615
|
if (ttlToUse !== undefined) {
|
|
15614
15616
|
const storeMetadataParams = {
|
|
15615
15617
|
ttl: ttlToUse,
|
|
15616
15618
|
namespace: "UiApi",
|
|
15617
|
-
version: VERSION$
|
|
15619
|
+
version: VERSION$2A,
|
|
15618
15620
|
representationName: RepresentationType$W,
|
|
15619
15621
|
ingestionTimestamp: timestamp,
|
|
15620
15622
|
};
|
|
@@ -15684,11 +15686,11 @@ function getListReference(query, context) {
|
|
|
15684
15686
|
/**
|
|
15685
15687
|
* Reader selections to copy a list info
|
|
15686
15688
|
*/
|
|
15687
|
-
const LIST_INFO_SELECTIONS = select$
|
|
15689
|
+
const LIST_INFO_SELECTIONS = select$3o().selections;
|
|
15688
15690
|
/**
|
|
15689
15691
|
* List info private memebers
|
|
15690
15692
|
*/
|
|
15691
|
-
select$
|
|
15693
|
+
select$3o().private;
|
|
15692
15694
|
const LIST_INFO_SELECTIONS_ETAG = [
|
|
15693
15695
|
...LIST_INFO_SELECTIONS,
|
|
15694
15696
|
{ kind: 'Scalar', name: 'eTag' },
|
|
@@ -15713,7 +15715,7 @@ function getListInfo(luvio, listRef, storeLookup) {
|
|
|
15713
15715
|
kind: 'Fragment',
|
|
15714
15716
|
selections: LIST_INFO_SELECTIONS_ETAG,
|
|
15715
15717
|
private: [],
|
|
15716
|
-
version: VERSION$
|
|
15718
|
+
version: VERSION$2J,
|
|
15717
15719
|
},
|
|
15718
15720
|
variables: {},
|
|
15719
15721
|
});
|
|
@@ -15921,7 +15923,7 @@ function keyBuilder$3p(luvio, params) {
|
|
|
15921
15923
|
});
|
|
15922
15924
|
}
|
|
15923
15925
|
|
|
15924
|
-
function select$
|
|
15926
|
+
function select$3d(luvio, params) {
|
|
15925
15927
|
const { fields = [], optionalFields = [] } = params.body;
|
|
15926
15928
|
return dynamicSelect$7({
|
|
15927
15929
|
records: {
|
|
@@ -15931,7 +15933,7 @@ function select$3c(luvio, params) {
|
|
|
15931
15933
|
kind: 'Fragment',
|
|
15932
15934
|
private: ['eTag', 'weakEtag'],
|
|
15933
15935
|
selections: buildSelectionFromFields(fields, optionalFields),
|
|
15934
|
-
version: VERSION$
|
|
15936
|
+
version: VERSION$2F
|
|
15935
15937
|
},
|
|
15936
15938
|
},
|
|
15937
15939
|
}, createPaginationParams$4(params));
|
|
@@ -15947,7 +15949,7 @@ function ingestSuccess$U(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
15947
15949
|
}
|
|
15948
15950
|
const snapshot = luvio.storeLookup({
|
|
15949
15951
|
recordId: key,
|
|
15950
|
-
node: select$
|
|
15952
|
+
node: select$3d(luvio, resourceParams),
|
|
15951
15953
|
variables: {},
|
|
15952
15954
|
}, snapshotRefresh);
|
|
15953
15955
|
return snapshot;
|
|
@@ -15980,7 +15982,7 @@ function ingestError$N(luvio, params, error, snapshotRefresh) {
|
|
|
15980
15982
|
const storeMetadataParams = {
|
|
15981
15983
|
ttl: TTL$E,
|
|
15982
15984
|
namespace: keyPrefix,
|
|
15983
|
-
version: VERSION$
|
|
15985
|
+
version: VERSION$2D,
|
|
15984
15986
|
representationName: RepresentationType$Z
|
|
15985
15987
|
};
|
|
15986
15988
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -16053,8 +16055,8 @@ function isErrorSnapshot(snapshot) {
|
|
|
16053
16055
|
return snapshot.state === 'Error';
|
|
16054
16056
|
}
|
|
16055
16057
|
|
|
16056
|
-
const VERSION$
|
|
16057
|
-
function validate$
|
|
16058
|
+
const VERSION$2z = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
16059
|
+
function validate$1U(obj, path = 'ListViewSummaryRepresentation') {
|
|
16058
16060
|
const v_error = (() => {
|
|
16059
16061
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16060
16062
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16116,10 +16118,10 @@ function keyBuilderFromType$y(luvio, object) {
|
|
|
16116
16118
|
function normalize$N(input, existing, path, luvio, store, timestamp) {
|
|
16117
16119
|
return input;
|
|
16118
16120
|
}
|
|
16119
|
-
const select$
|
|
16121
|
+
const select$3c = function ListViewSummaryRepresentationSelect() {
|
|
16120
16122
|
return {
|
|
16121
16123
|
kind: 'Fragment',
|
|
16122
|
-
version: VERSION$
|
|
16124
|
+
version: VERSION$2z,
|
|
16123
16125
|
private: [],
|
|
16124
16126
|
selections: [
|
|
16125
16127
|
{
|
|
@@ -16141,7 +16143,7 @@ const select$3b = function ListViewSummaryRepresentationSelect() {
|
|
|
16141
16143
|
]
|
|
16142
16144
|
};
|
|
16143
16145
|
};
|
|
16144
|
-
function equals$
|
|
16146
|
+
function equals$13(existing, incoming) {
|
|
16145
16147
|
const existing_apiName = existing.apiName;
|
|
16146
16148
|
const incoming_apiName = incoming.apiName;
|
|
16147
16149
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -16166,14 +16168,14 @@ function equals$12(existing, incoming) {
|
|
|
16166
16168
|
}
|
|
16167
16169
|
const ingest$27 = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16168
16170
|
if (process.env.NODE_ENV !== 'production') {
|
|
16169
|
-
const validateError = validate$
|
|
16171
|
+
const validateError = validate$1U(input);
|
|
16170
16172
|
if (validateError !== null) {
|
|
16171
16173
|
throw validateError;
|
|
16172
16174
|
}
|
|
16173
16175
|
}
|
|
16174
16176
|
const key = keyBuilderFromType$y(luvio, input);
|
|
16175
16177
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
16176
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$N, "UiApi", VERSION$
|
|
16178
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$N, "UiApi", VERSION$2z, RepresentationType$V, equals$13);
|
|
16177
16179
|
return createLink$1(key);
|
|
16178
16180
|
};
|
|
16179
16181
|
function getTypeCacheKeys$2a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -16186,8 +16188,8 @@ function getTypeCacheKeys$2a(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
16186
16188
|
});
|
|
16187
16189
|
}
|
|
16188
16190
|
|
|
16189
|
-
const VERSION$
|
|
16190
|
-
function validate$
|
|
16191
|
+
const VERSION$2y = "f4c79fe066da3558499d5ee88c72abcd";
|
|
16192
|
+
function validate$1T(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
16191
16193
|
const v_error = (() => {
|
|
16192
16194
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16193
16195
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16403,12 +16405,12 @@ function normalize$M(input, existing, path, luvio, store, timestamp) {
|
|
|
16403
16405
|
}
|
|
16404
16406
|
return input;
|
|
16405
16407
|
}
|
|
16406
|
-
const select$
|
|
16408
|
+
const select$3b = function ListViewSummaryCollectionRepresentationSelect(paginationParams) {
|
|
16407
16409
|
return {
|
|
16408
16410
|
kind: 'Fragment',
|
|
16409
16411
|
reader: true,
|
|
16410
16412
|
synthetic: false,
|
|
16411
|
-
version: VERSION$
|
|
16413
|
+
version: VERSION$2y,
|
|
16412
16414
|
read: (source, reader) => {
|
|
16413
16415
|
const sink = {};
|
|
16414
16416
|
if (paginationParams === undefined) {
|
|
@@ -16428,7 +16430,7 @@ const select$3a = function ListViewSummaryCollectionRepresentationSelect(paginat
|
|
|
16428
16430
|
reader.readSingleLink(i, {
|
|
16429
16431
|
name: 'lists',
|
|
16430
16432
|
kind: 'Link',
|
|
16431
|
-
fragment: select$
|
|
16433
|
+
fragment: select$3c()
|
|
16432
16434
|
}, itemsSource, allSink, i - startOffset);
|
|
16433
16435
|
if (reader.getIsDataMissing() === false) {
|
|
16434
16436
|
itemsSink[i - startOffset] = allSink[i - startOffset];
|
|
@@ -16496,7 +16498,7 @@ function getPageMetadata$2(paginationMetadata, paginationParams) {
|
|
|
16496
16498
|
metadataProperties.count = endOffset - startOffset;
|
|
16497
16499
|
return sink;
|
|
16498
16500
|
}
|
|
16499
|
-
function equals$
|
|
16501
|
+
function equals$12(existing, incoming) {
|
|
16500
16502
|
const existing_recentListsOnly = existing.recentListsOnly;
|
|
16501
16503
|
const incoming_recentListsOnly = incoming.recentListsOnly;
|
|
16502
16504
|
if (!(existing_recentListsOnly === incoming_recentListsOnly)) {
|
|
@@ -16571,7 +16573,7 @@ function equals$11(existing, incoming) {
|
|
|
16571
16573
|
}
|
|
16572
16574
|
const ingest$26 = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
16573
16575
|
if (process.env.NODE_ENV !== 'production') {
|
|
16574
|
-
const validateError = validate$
|
|
16576
|
+
const validateError = validate$1T(input);
|
|
16575
16577
|
if (validateError !== null) {
|
|
16576
16578
|
throw validateError;
|
|
16577
16579
|
}
|
|
@@ -16630,14 +16632,14 @@ const ingest$26 = function ListViewSummaryCollectionRepresentationIngest(input,
|
|
|
16630
16632
|
...existingRecord.lists.slice(nextOffset),
|
|
16631
16633
|
];
|
|
16632
16634
|
}
|
|
16633
|
-
if (existingRecord === undefined || equals$
|
|
16635
|
+
if (existingRecord === undefined || equals$12(existingRecord, incomingRecord) === false) {
|
|
16634
16636
|
luvio.storePublish(key, incomingRecord);
|
|
16635
16637
|
}
|
|
16636
16638
|
if (ttlToUse !== undefined) {
|
|
16637
16639
|
const storeMetadataParams = {
|
|
16638
16640
|
ttl: ttlToUse,
|
|
16639
16641
|
namespace: "UiApi",
|
|
16640
|
-
version: VERSION$
|
|
16642
|
+
version: VERSION$2y,
|
|
16641
16643
|
representationName: RepresentationType$U,
|
|
16642
16644
|
ingestionTimestamp: timestamp,
|
|
16643
16645
|
};
|
|
@@ -16671,9 +16673,9 @@ function createPaginationParams$3(params) {
|
|
|
16671
16673
|
pageSize: queryParams.pageSize === undefined ? 20 : queryParams.pageSize
|
|
16672
16674
|
};
|
|
16673
16675
|
}
|
|
16674
|
-
function select$
|
|
16676
|
+
function select$3a(luvio, params) {
|
|
16675
16677
|
const paginationParams = createPaginationParams$3(params);
|
|
16676
|
-
return select$
|
|
16678
|
+
return select$3b(paginationParams);
|
|
16677
16679
|
}
|
|
16678
16680
|
function keyBuilder$3m(luvio, params) {
|
|
16679
16681
|
return keyBuilder$3n(luvio, {
|
|
@@ -16691,7 +16693,7 @@ function ingestSuccess$T(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
16691
16693
|
luvio.storeIngest(key, ingest$26, body);
|
|
16692
16694
|
const snapshot = luvio.storeLookup({
|
|
16693
16695
|
recordId: key,
|
|
16694
|
-
node: select$
|
|
16696
|
+
node: select$3a(luvio, resourceParams),
|
|
16695
16697
|
variables: {},
|
|
16696
16698
|
}, snapshotRefresh);
|
|
16697
16699
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -16757,7 +16759,7 @@ function validateAdapterConfig$19(untrustedConfig, configPropertyNames) {
|
|
|
16757
16759
|
}
|
|
16758
16760
|
function adapterFragment$L(luvio, config) {
|
|
16759
16761
|
const resourceParams = createResourceParams$11(config);
|
|
16760
|
-
return select$
|
|
16762
|
+
return select$3a(luvio, resourceParams);
|
|
16761
16763
|
}
|
|
16762
16764
|
function onFetchResponseSuccess$P(luvio, config, resourceParams, response) {
|
|
16763
16765
|
const snapshot = ingestSuccess$T(luvio, resourceParams, response, {
|
|
@@ -16825,7 +16827,7 @@ function getPaginationMetadata$3(luvio, resourceParams) {
|
|
|
16825
16827
|
recordId: key,
|
|
16826
16828
|
node: {
|
|
16827
16829
|
kind: 'Fragment',
|
|
16828
|
-
version: VERSION$
|
|
16830
|
+
version: VERSION$2y,
|
|
16829
16831
|
private: [],
|
|
16830
16832
|
selections: [
|
|
16831
16833
|
{
|
|
@@ -17015,7 +17017,7 @@ function buildListUiFragment$1(config, fields) {
|
|
|
17015
17017
|
kind: 'Fragment',
|
|
17016
17018
|
private: ['eTag', 'weakEtag'],
|
|
17017
17019
|
selections: buildSelectionFromFields(...fields.getRecordSelectionFieldSets()),
|
|
17018
|
-
version: VERSION$
|
|
17020
|
+
version: VERSION$2F,
|
|
17019
17021
|
},
|
|
17020
17022
|
},
|
|
17021
17023
|
};
|
|
@@ -17334,7 +17336,7 @@ function buildListUiFragment(config, context, fields) {
|
|
|
17334
17336
|
kind: 'Fragment',
|
|
17335
17337
|
private: ['eTag', 'weakEtag'],
|
|
17336
17338
|
selections: buildSelectionFromFields(...fields.getRecordSelectionFieldSets()),
|
|
17337
|
-
version: VERSION$
|
|
17339
|
+
version: VERSION$2F,
|
|
17338
17340
|
},
|
|
17339
17341
|
},
|
|
17340
17342
|
};
|
|
@@ -17741,7 +17743,7 @@ const factory$j = (luvio) => {
|
|
|
17741
17743
|
}, { contextId: contextId$5 });
|
|
17742
17744
|
};
|
|
17743
17745
|
|
|
17744
|
-
function validate$
|
|
17746
|
+
function validate$1S(obj, path = 'ChildRelationshipRepresentation') {
|
|
17745
17747
|
const v_error = (() => {
|
|
17746
17748
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17747
17749
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17789,7 +17791,7 @@ function validate$1Q(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
17789
17791
|
return v_error === undefined ? null : v_error;
|
|
17790
17792
|
}
|
|
17791
17793
|
|
|
17792
|
-
function validate$
|
|
17794
|
+
function validate$1R(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
17793
17795
|
const v_error = (() => {
|
|
17794
17796
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17795
17797
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17820,7 +17822,7 @@ function validate$1P(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
17820
17822
|
return v_error === undefined ? null : v_error;
|
|
17821
17823
|
}
|
|
17822
17824
|
|
|
17823
|
-
function validate$
|
|
17825
|
+
function validate$1Q(obj, path = 'ReferenceToInfoRepresentation') {
|
|
17824
17826
|
const v_error = (() => {
|
|
17825
17827
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17826
17828
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17846,7 +17848,7 @@ function validate$1O(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
17846
17848
|
return v_error === undefined ? null : v_error;
|
|
17847
17849
|
}
|
|
17848
17850
|
|
|
17849
|
-
function validate$
|
|
17851
|
+
function validate$1P(obj, path = 'FieldRepresentation') {
|
|
17850
17852
|
const v_error = (() => {
|
|
17851
17853
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17852
17854
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18011,7 +18013,7 @@ function validate$1N(obj, path = 'FieldRepresentation') {
|
|
|
18011
18013
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
18012
18014
|
let obj_filteredLookupInfo_union0 = null;
|
|
18013
18015
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
18014
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
18016
|
+
const referencepath_filteredLookupInfoValidationError = validate$1R(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
18015
18017
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
18016
18018
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
18017
18019
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18162,7 +18164,7 @@ function validate$1N(obj, path = 'FieldRepresentation') {
|
|
|
18162
18164
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
18163
18165
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
18164
18166
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
18165
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
18167
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1Q(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
18166
18168
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
18167
18169
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
18168
18170
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18229,7 +18231,7 @@ function validate$1N(obj, path = 'FieldRepresentation') {
|
|
|
18229
18231
|
return v_error === undefined ? null : v_error;
|
|
18230
18232
|
}
|
|
18231
18233
|
|
|
18232
|
-
function validate$
|
|
18234
|
+
function validate$1O(obj, path = 'ThemeInfoRepresentation') {
|
|
18233
18235
|
const v_error = (() => {
|
|
18234
18236
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18235
18237
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18270,8 +18272,8 @@ function validate$1M(obj, path = 'ThemeInfoRepresentation') {
|
|
|
18270
18272
|
}
|
|
18271
18273
|
|
|
18272
18274
|
const TTL$D = 900000;
|
|
18273
|
-
const VERSION$
|
|
18274
|
-
function validate$
|
|
18275
|
+
const VERSION$2x = "2302a71ca718abb60353eb88dedb1c12";
|
|
18276
|
+
function validate$1N(obj, path = 'ObjectInfoRepresentation') {
|
|
18275
18277
|
const v_error = (() => {
|
|
18276
18278
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18277
18279
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18341,7 +18343,7 @@ function validate$1L(obj, path = 'ObjectInfoRepresentation') {
|
|
|
18341
18343
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
18342
18344
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
18343
18345
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
18344
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
18346
|
+
const referencepath_childRelationships_itemValidationError = validate$1S(obj_childRelationships_item, path_childRelationships_item);
|
|
18345
18347
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
18346
18348
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
18347
18349
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18428,7 +18430,7 @@ function validate$1L(obj, path = 'ObjectInfoRepresentation') {
|
|
|
18428
18430
|
const key = obj_fields_keys[i];
|
|
18429
18431
|
const obj_fields_prop = obj_fields[key];
|
|
18430
18432
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
18431
|
-
const referencepath_fields_propValidationError = validate$
|
|
18433
|
+
const referencepath_fields_propValidationError = validate$1P(obj_fields_prop, path_fields_prop);
|
|
18432
18434
|
if (referencepath_fields_propValidationError !== null) {
|
|
18433
18435
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
18434
18436
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18508,7 +18510,7 @@ function validate$1L(obj, path = 'ObjectInfoRepresentation') {
|
|
|
18508
18510
|
const key = obj_recordTypeInfos_keys[i];
|
|
18509
18511
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
18510
18512
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
18511
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
18513
|
+
const referencepath_recordTypeInfos_propValidationError = validate$20(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
18512
18514
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
18513
18515
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
18514
18516
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18529,7 +18531,7 @@ function validate$1L(obj, path = 'ObjectInfoRepresentation') {
|
|
|
18529
18531
|
const path_themeInfo = path + '.themeInfo';
|
|
18530
18532
|
let obj_themeInfo_union0 = null;
|
|
18531
18533
|
const obj_themeInfo_union0_error = (() => {
|
|
18532
|
-
const referencepath_themeInfoValidationError = validate$
|
|
18534
|
+
const referencepath_themeInfoValidationError = validate$1O(obj_themeInfo, path_themeInfo);
|
|
18533
18535
|
if (referencepath_themeInfoValidationError !== null) {
|
|
18534
18536
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
18535
18537
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18575,10 +18577,10 @@ function keyBuilderFromType$w(luvio, object) {
|
|
|
18575
18577
|
function normalize$L(input, existing, path, luvio, store, timestamp) {
|
|
18576
18578
|
return input;
|
|
18577
18579
|
}
|
|
18578
|
-
const select$
|
|
18580
|
+
const select$39 = function ObjectInfoRepresentationSelect() {
|
|
18579
18581
|
return {
|
|
18580
18582
|
kind: 'Fragment',
|
|
18581
|
-
version: VERSION$
|
|
18583
|
+
version: VERSION$2x,
|
|
18582
18584
|
private: [
|
|
18583
18585
|
'eTag'
|
|
18584
18586
|
],
|
|
@@ -18688,7 +18690,7 @@ const select$38 = function ObjectInfoRepresentationSelect() {
|
|
|
18688
18690
|
]
|
|
18689
18691
|
};
|
|
18690
18692
|
};
|
|
18691
|
-
function equals$
|
|
18693
|
+
function equals$11(existing, incoming) {
|
|
18692
18694
|
if (existing.eTag !== incoming.eTag) {
|
|
18693
18695
|
return false;
|
|
18694
18696
|
}
|
|
@@ -18696,14 +18698,14 @@ function equals$10(existing, incoming) {
|
|
|
18696
18698
|
}
|
|
18697
18699
|
const ingest$25 = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18698
18700
|
if (process.env.NODE_ENV !== 'production') {
|
|
18699
|
-
const validateError = validate$
|
|
18701
|
+
const validateError = validate$1N(input);
|
|
18700
18702
|
if (validateError !== null) {
|
|
18701
18703
|
throw validateError;
|
|
18702
18704
|
}
|
|
18703
18705
|
}
|
|
18704
18706
|
const key = keyBuilderFromType$w(luvio, input);
|
|
18705
18707
|
const ttlToUse = TTL$D;
|
|
18706
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$L, "UiApi", VERSION$
|
|
18708
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$L, "UiApi", VERSION$2x, RepresentationType$T, equals$11);
|
|
18707
18709
|
return createLink$1(key);
|
|
18708
18710
|
};
|
|
18709
18711
|
function getTypeCacheKeys$28(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -18716,8 +18718,8 @@ function getTypeCacheKeys$28(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
18716
18718
|
});
|
|
18717
18719
|
}
|
|
18718
18720
|
|
|
18719
|
-
function select$
|
|
18720
|
-
return select$
|
|
18721
|
+
function select$38(luvio, params) {
|
|
18722
|
+
return select$39();
|
|
18721
18723
|
}
|
|
18722
18724
|
function keyBuilder$3i(luvio, params) {
|
|
18723
18725
|
return keyBuilder$3j(luvio, {
|
|
@@ -18733,7 +18735,7 @@ function ingestSuccess$S(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
18733
18735
|
luvio.storeIngest(key, ingest$25, body);
|
|
18734
18736
|
const snapshot = luvio.storeLookup({
|
|
18735
18737
|
recordId: key,
|
|
18736
|
-
node: select$
|
|
18738
|
+
node: select$38(),
|
|
18737
18739
|
variables: {},
|
|
18738
18740
|
}, snapshotRefresh);
|
|
18739
18741
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -18750,7 +18752,7 @@ function ingestError$L(luvio, params, error, snapshotRefresh) {
|
|
|
18750
18752
|
const storeMetadataParams = {
|
|
18751
18753
|
ttl: TTL$D,
|
|
18752
18754
|
namespace: keyPrefix,
|
|
18753
|
-
version: VERSION$
|
|
18755
|
+
version: VERSION$2x,
|
|
18754
18756
|
representationName: RepresentationType$T
|
|
18755
18757
|
};
|
|
18756
18758
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -18801,7 +18803,7 @@ function validateAdapterConfig$17(untrustedConfig, configPropertyNames) {
|
|
|
18801
18803
|
}
|
|
18802
18804
|
function adapterFragment$K(luvio, config) {
|
|
18803
18805
|
createResourceParams$$(config);
|
|
18804
|
-
return select$
|
|
18806
|
+
return select$38();
|
|
18805
18807
|
}
|
|
18806
18808
|
function onFetchResponseSuccess$O(luvio, config, resourceParams, response) {
|
|
18807
18809
|
const snapshot = ingestSuccess$S(luvio, resourceParams, response, {
|
|
@@ -18857,7 +18859,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
18857
18859
|
buildCachedSnapshotCachePolicy$R, buildNetworkSnapshotCachePolicy$S);
|
|
18858
18860
|
};
|
|
18859
18861
|
|
|
18860
|
-
function validate$
|
|
18862
|
+
function validate$1M(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
18861
18863
|
const v_error = (() => {
|
|
18862
18864
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18863
18865
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18905,7 +18907,7 @@ var DiscriminatorValues$5;
|
|
|
18905
18907
|
DiscriminatorValues["Field"] = "Field";
|
|
18906
18908
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
18907
18909
|
})(DiscriminatorValues$5 || (DiscriminatorValues$5 = {}));
|
|
18908
|
-
function validate$
|
|
18910
|
+
function validate$1L(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
18909
18911
|
const v_error = (() => {
|
|
18910
18912
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18911
18913
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18945,7 +18947,7 @@ function validate$1J(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
18945
18947
|
return v_error === undefined ? null : v_error;
|
|
18946
18948
|
}
|
|
18947
18949
|
|
|
18948
|
-
function validate$
|
|
18950
|
+
function validate$1K(obj, path = 'RecordLayoutItemRepresentation') {
|
|
18949
18951
|
const v_error = (() => {
|
|
18950
18952
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18951
18953
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18973,7 +18975,7 @@ function validate$1I(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
18973
18975
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
18974
18976
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
18975
18977
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
18976
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
18978
|
+
const referencepath_layoutComponents_itemValidationError = validate$1L(obj_layoutComponents_item, path_layoutComponents_item);
|
|
18977
18979
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
18978
18980
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
18979
18981
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19020,7 +19022,7 @@ function validate$1I(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
19020
19022
|
return v_error === undefined ? null : v_error;
|
|
19021
19023
|
}
|
|
19022
19024
|
|
|
19023
|
-
function validate$
|
|
19025
|
+
function validate$1J(obj, path = 'RecordLayoutRowRepresentation') {
|
|
19024
19026
|
const v_error = (() => {
|
|
19025
19027
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19026
19028
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19033,7 +19035,7 @@ function validate$1H(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
19033
19035
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
19034
19036
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
19035
19037
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
19036
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
19038
|
+
const referencepath_layoutItems_itemValidationError = validate$1K(obj_layoutItems_item, path_layoutItems_item);
|
|
19037
19039
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
19038
19040
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
19039
19041
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19044,7 +19046,7 @@ function validate$1H(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
19044
19046
|
return v_error === undefined ? null : v_error;
|
|
19045
19047
|
}
|
|
19046
19048
|
|
|
19047
|
-
function validate$
|
|
19049
|
+
function validate$1I(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
19048
19050
|
const v_error = (() => {
|
|
19049
19051
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19050
19052
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19119,7 +19121,7 @@ function validate$1G(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
19119
19121
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
19120
19122
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
19121
19123
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
19122
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
19124
|
+
const referencepath_layoutRows_itemValidationError = validate$1J(obj_layoutRows_item, path_layoutRows_item);
|
|
19123
19125
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
19124
19126
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
19125
19127
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19141,8 +19143,8 @@ function validate$1G(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
19141
19143
|
}
|
|
19142
19144
|
|
|
19143
19145
|
const TTL$C = 900000;
|
|
19144
|
-
const VERSION$
|
|
19145
|
-
function validate$
|
|
19146
|
+
const VERSION$2w = "fb515e25a89ca1ec154dc865e72b913a";
|
|
19147
|
+
function validate$1H(obj, path = 'RecordLayoutRepresentation') {
|
|
19146
19148
|
const v_error = (() => {
|
|
19147
19149
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19148
19150
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19248,7 +19250,7 @@ function validate$1F(obj, path = 'RecordLayoutRepresentation') {
|
|
|
19248
19250
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
19249
19251
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
19250
19252
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
19251
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
19253
|
+
const referencepath_saveOptions_itemValidationError = validate$1M(obj_saveOptions_item, path_saveOptions_item);
|
|
19252
19254
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
19253
19255
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
19254
19256
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19263,7 +19265,7 @@ function validate$1F(obj, path = 'RecordLayoutRepresentation') {
|
|
|
19263
19265
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
19264
19266
|
const obj_sections_item = obj_sections[i];
|
|
19265
19267
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
19266
|
-
const referencepath_sections_itemValidationError = validate$
|
|
19268
|
+
const referencepath_sections_itemValidationError = validate$1I(obj_sections_item, path_sections_item);
|
|
19267
19269
|
if (referencepath_sections_itemValidationError !== null) {
|
|
19268
19270
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
19269
19271
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19289,10 +19291,10 @@ function keyBuilderFromType$v(luvio, object) {
|
|
|
19289
19291
|
function normalize$K(input, existing, path, luvio, store, timestamp) {
|
|
19290
19292
|
return input;
|
|
19291
19293
|
}
|
|
19292
|
-
const select$
|
|
19294
|
+
const select$37 = function RecordLayoutRepresentationSelect() {
|
|
19293
19295
|
return {
|
|
19294
19296
|
kind: 'Fragment',
|
|
19295
|
-
version: VERSION$
|
|
19297
|
+
version: VERSION$2w,
|
|
19296
19298
|
private: [
|
|
19297
19299
|
'eTag'
|
|
19298
19300
|
],
|
|
@@ -19330,7 +19332,7 @@ const select$36 = function RecordLayoutRepresentationSelect() {
|
|
|
19330
19332
|
]
|
|
19331
19333
|
};
|
|
19332
19334
|
};
|
|
19333
|
-
function equals
|
|
19335
|
+
function equals$10(existing, incoming) {
|
|
19334
19336
|
if (existing.eTag !== incoming.eTag) {
|
|
19335
19337
|
return false;
|
|
19336
19338
|
}
|
|
@@ -19338,14 +19340,14 @@ function equals$$(existing, incoming) {
|
|
|
19338
19340
|
}
|
|
19339
19341
|
const ingest$24 = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19340
19342
|
if (process.env.NODE_ENV !== 'production') {
|
|
19341
|
-
const validateError = validate$
|
|
19343
|
+
const validateError = validate$1H(input);
|
|
19342
19344
|
if (validateError !== null) {
|
|
19343
19345
|
throw validateError;
|
|
19344
19346
|
}
|
|
19345
19347
|
}
|
|
19346
19348
|
const key = keyBuilderFromType$v(luvio, input);
|
|
19347
19349
|
const ttlToUse = TTL$C;
|
|
19348
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$K, "UiApi", VERSION$
|
|
19350
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$K, "UiApi", VERSION$2w, RepresentationType$S, equals$10);
|
|
19349
19351
|
return createLink$1(key);
|
|
19350
19352
|
};
|
|
19351
19353
|
function getTypeCacheKeys$27(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -19380,7 +19382,7 @@ function getRecordId18Array(value) {
|
|
|
19380
19382
|
return dedupe(array).sort();
|
|
19381
19383
|
}
|
|
19382
19384
|
|
|
19383
|
-
function validate$
|
|
19385
|
+
function validate$1G(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
19384
19386
|
const v_error = (() => {
|
|
19385
19387
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19386
19388
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19400,8 +19402,8 @@ function validate$1E(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
19400
19402
|
}
|
|
19401
19403
|
|
|
19402
19404
|
const TTL$B = 900000;
|
|
19403
|
-
const VERSION$
|
|
19404
|
-
function validate$
|
|
19405
|
+
const VERSION$2v = "12123f1aca1b5a48303b1d099f9f5629";
|
|
19406
|
+
function validate$1F(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
19405
19407
|
const v_error = (() => {
|
|
19406
19408
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19407
19409
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19413,8 +19415,29 @@ function validate$1D(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
19413
19415
|
}
|
|
19414
19416
|
const obj_id = obj.id;
|
|
19415
19417
|
const path_id = path + '.id';
|
|
19416
|
-
|
|
19417
|
-
|
|
19418
|
+
let obj_id_union0 = null;
|
|
19419
|
+
const obj_id_union0_error = (() => {
|
|
19420
|
+
if (typeof obj_id !== 'string') {
|
|
19421
|
+
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
19422
|
+
}
|
|
19423
|
+
})();
|
|
19424
|
+
if (obj_id_union0_error != null) {
|
|
19425
|
+
obj_id_union0 = obj_id_union0_error.message;
|
|
19426
|
+
}
|
|
19427
|
+
let obj_id_union1 = null;
|
|
19428
|
+
const obj_id_union1_error = (() => {
|
|
19429
|
+
if (obj_id !== null) {
|
|
19430
|
+
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
19431
|
+
}
|
|
19432
|
+
})();
|
|
19433
|
+
if (obj_id_union1_error != null) {
|
|
19434
|
+
obj_id_union1 = obj_id_union1_error.message;
|
|
19435
|
+
}
|
|
19436
|
+
if (obj_id_union0 && obj_id_union1) {
|
|
19437
|
+
let message = 'Object doesn\'t match union (at "' + path_id + '")';
|
|
19438
|
+
message += '\n' + obj_id_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
19439
|
+
message += '\n' + obj_id_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
19440
|
+
return new TypeError(message);
|
|
19418
19441
|
}
|
|
19419
19442
|
const obj_layoutType = obj.layoutType;
|
|
19420
19443
|
const path_layoutType = path + '.layoutType';
|
|
@@ -19441,7 +19464,7 @@ function validate$1D(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
19441
19464
|
const key = obj_sectionUserStates_keys[i];
|
|
19442
19465
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
19443
19466
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
19444
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
19467
|
+
const referencepath_sectionUserStates_propValidationError = validate$1G(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
19445
19468
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
19446
19469
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
19447
19470
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -19467,10 +19490,10 @@ function keyBuilderFromType$u(luvio, object) {
|
|
|
19467
19490
|
function normalize$J(input, existing, path, luvio, store, timestamp) {
|
|
19468
19491
|
return input;
|
|
19469
19492
|
}
|
|
19470
|
-
const select$
|
|
19493
|
+
const select$36 = function RecordLayoutUserStateRepresentationSelect() {
|
|
19471
19494
|
return {
|
|
19472
19495
|
kind: 'Fragment',
|
|
19473
|
-
version: VERSION$
|
|
19496
|
+
version: VERSION$2v,
|
|
19474
19497
|
private: [
|
|
19475
19498
|
'apiName',
|
|
19476
19499
|
'recordTypeId',
|
|
@@ -19490,7 +19513,7 @@ const select$35 = function RecordLayoutUserStateRepresentationSelect() {
|
|
|
19490
19513
|
]
|
|
19491
19514
|
};
|
|
19492
19515
|
};
|
|
19493
|
-
function equals
|
|
19516
|
+
function equals$$(existing, incoming) {
|
|
19494
19517
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
19495
19518
|
return false;
|
|
19496
19519
|
}
|
|
@@ -19498,14 +19521,14 @@ function equals$_(existing, incoming) {
|
|
|
19498
19521
|
}
|
|
19499
19522
|
const ingest$23 = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19500
19523
|
if (process.env.NODE_ENV !== 'production') {
|
|
19501
|
-
const validateError = validate$
|
|
19524
|
+
const validateError = validate$1F(input);
|
|
19502
19525
|
if (validateError !== null) {
|
|
19503
19526
|
throw validateError;
|
|
19504
19527
|
}
|
|
19505
19528
|
}
|
|
19506
19529
|
const key = keyBuilderFromType$u(luvio, input);
|
|
19507
19530
|
const ttlToUse = TTL$B;
|
|
19508
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$J, "UiApi", VERSION$
|
|
19531
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$J, "UiApi", VERSION$2v, RepresentationType$R, equals$$);
|
|
19509
19532
|
return createLink$1(key);
|
|
19510
19533
|
};
|
|
19511
19534
|
function getTypeCacheKeys$26(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -19519,8 +19542,8 @@ function getTypeCacheKeys$26(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
19519
19542
|
}
|
|
19520
19543
|
|
|
19521
19544
|
const TTL$A = 900000;
|
|
19522
|
-
const VERSION$
|
|
19523
|
-
function validate$
|
|
19545
|
+
const VERSION$2u = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
19546
|
+
function validate$1E(obj, path = 'RecordUiRepresentation') {
|
|
19524
19547
|
const v_error = (() => {
|
|
19525
19548
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19526
19549
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19717,7 +19740,7 @@ function normalize$I(input, existing, path, luvio, store, timestamp) {
|
|
|
19717
19740
|
}
|
|
19718
19741
|
return input;
|
|
19719
19742
|
}
|
|
19720
|
-
function equals$
|
|
19743
|
+
function equals$_(existing, incoming) {
|
|
19721
19744
|
const existing_eTag = existing.eTag;
|
|
19722
19745
|
const incoming_eTag = incoming.eTag;
|
|
19723
19746
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -19782,14 +19805,14 @@ function equals$Z(existing, incoming) {
|
|
|
19782
19805
|
}
|
|
19783
19806
|
const ingest$22 = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19784
19807
|
if (process.env.NODE_ENV !== 'production') {
|
|
19785
|
-
const validateError = validate$
|
|
19808
|
+
const validateError = validate$1E(input);
|
|
19786
19809
|
if (validateError !== null) {
|
|
19787
19810
|
throw validateError;
|
|
19788
19811
|
}
|
|
19789
19812
|
}
|
|
19790
19813
|
const key = path.fullPath;
|
|
19791
19814
|
const ttlToUse = TTL$A;
|
|
19792
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$I, "UiApi", VERSION$
|
|
19815
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$I, "UiApi", VERSION$2u, RepresentationType$Q, equals$_);
|
|
19793
19816
|
return createLink$1(key);
|
|
19794
19817
|
};
|
|
19795
19818
|
|
|
@@ -19837,9 +19860,9 @@ function validateAdapterConfig$16(untrustedConfig, configPropertyNames) {
|
|
|
19837
19860
|
return config;
|
|
19838
19861
|
}
|
|
19839
19862
|
|
|
19840
|
-
const layoutSelections$2 = select$
|
|
19841
|
-
const objectInfoPathSelection = select$
|
|
19842
|
-
const layoutUserStatePathSelector = select$
|
|
19863
|
+
const layoutSelections$2 = select$37();
|
|
19864
|
+
const objectInfoPathSelection = select$39();
|
|
19865
|
+
const layoutUserStatePathSelector = select$36();
|
|
19843
19866
|
function buildRecordUiSelector(recordDefs, layoutTypes, modes, recordOptionalFields) {
|
|
19844
19867
|
const layoutTypeSelections = [];
|
|
19845
19868
|
for (let i = 0, len = layoutTypes.length; i < len; i += 1) {
|
|
@@ -19887,7 +19910,7 @@ function buildRecordUiSelector(recordDefs, layoutTypes, modes, recordOptionalFie
|
|
|
19887
19910
|
return {
|
|
19888
19911
|
kind: 'Fragment',
|
|
19889
19912
|
private: ['eTag'],
|
|
19890
|
-
version: VERSION$
|
|
19913
|
+
version: VERSION$2u,
|
|
19891
19914
|
selections: [
|
|
19892
19915
|
{
|
|
19893
19916
|
kind: 'Link',
|
|
@@ -20372,7 +20395,7 @@ var LayoutMode;
|
|
|
20372
20395
|
})(LayoutMode || (LayoutMode = {}));
|
|
20373
20396
|
|
|
20374
20397
|
const DEFAULT_MODE = LayoutMode.View;
|
|
20375
|
-
const layoutSelections$1 = select$
|
|
20398
|
+
const layoutSelections$1 = select$37();
|
|
20376
20399
|
function buildSnapshotRefresh$3(luvio, config) {
|
|
20377
20400
|
return {
|
|
20378
20401
|
config,
|
|
@@ -20601,7 +20624,7 @@ function buildRecordLayoutCachedSnapshot(context, storeLookup) {
|
|
|
20601
20624
|
kind: 'Fragment',
|
|
20602
20625
|
private: [],
|
|
20603
20626
|
selections: recordLayoutFragmentSelector,
|
|
20604
|
-
version: VERSION$
|
|
20627
|
+
version: VERSION$2F,
|
|
20605
20628
|
},
|
|
20606
20629
|
variables: {},
|
|
20607
20630
|
});
|
|
@@ -20939,8 +20962,8 @@ const factory$h = (luvio) => {
|
|
|
20939
20962
|
}, { contextId: contextId$4 });
|
|
20940
20963
|
};
|
|
20941
20964
|
|
|
20942
|
-
const VERSION$
|
|
20943
|
-
function validate$
|
|
20965
|
+
const VERSION$2r = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
20966
|
+
function validate$1B(obj, path = 'QuickActionExecutionRepresentation') {
|
|
20944
20967
|
const v_error = (() => {
|
|
20945
20968
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20946
20969
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21038,10 +21061,10 @@ function keyBuilderFromType$s(luvio, object) {
|
|
|
21038
21061
|
function normalize$F(input, existing, path, luvio, store, timestamp) {
|
|
21039
21062
|
return input;
|
|
21040
21063
|
}
|
|
21041
|
-
const select$
|
|
21064
|
+
const select$33 = function QuickActionExecutionRepresentationSelect() {
|
|
21042
21065
|
return {
|
|
21043
21066
|
kind: 'Fragment',
|
|
21044
|
-
version: VERSION$
|
|
21067
|
+
version: VERSION$2r,
|
|
21045
21068
|
private: [
|
|
21046
21069
|
'eTag'
|
|
21047
21070
|
],
|
|
@@ -21073,7 +21096,7 @@ const select$32 = function QuickActionExecutionRepresentationSelect() {
|
|
|
21073
21096
|
]
|
|
21074
21097
|
};
|
|
21075
21098
|
};
|
|
21076
|
-
function equals$
|
|
21099
|
+
function equals$X(existing, incoming) {
|
|
21077
21100
|
const existing_isCreated = existing.isCreated;
|
|
21078
21101
|
const incoming_isCreated = incoming.isCreated;
|
|
21079
21102
|
if (!(existing_isCreated === incoming_isCreated)) {
|
|
@@ -21113,14 +21136,14 @@ function equals$W(existing, incoming) {
|
|
|
21113
21136
|
}
|
|
21114
21137
|
const ingest$1$ = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21115
21138
|
if (process.env.NODE_ENV !== 'production') {
|
|
21116
|
-
const validateError = validate$
|
|
21139
|
+
const validateError = validate$1B(input);
|
|
21117
21140
|
if (validateError !== null) {
|
|
21118
21141
|
throw validateError;
|
|
21119
21142
|
}
|
|
21120
21143
|
}
|
|
21121
21144
|
const key = keyBuilderFromType$s(luvio, input);
|
|
21122
21145
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
21123
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$F, "UiApi", VERSION$
|
|
21146
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$F, "UiApi", VERSION$2r, RepresentationType$N, equals$X);
|
|
21124
21147
|
return createLink$1(key);
|
|
21125
21148
|
};
|
|
21126
21149
|
function getTypeCacheKeys$23(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -21134,8 +21157,8 @@ function getTypeCacheKeys$23(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
21134
21157
|
}
|
|
21135
21158
|
|
|
21136
21159
|
const TTL$z = 900000;
|
|
21137
|
-
const VERSION$
|
|
21138
|
-
function validate$
|
|
21160
|
+
const VERSION$2q = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
21161
|
+
function validate$1A(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
21139
21162
|
const v_error = (() => {
|
|
21140
21163
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21141
21164
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21211,11 +21234,11 @@ const dynamicSelect$5 = function dynamicQuickActionDefaultsRepresentationSelect(
|
|
|
21211
21234
|
name: 'fields',
|
|
21212
21235
|
kind: 'Link',
|
|
21213
21236
|
map: true,
|
|
21214
|
-
fragment: select$
|
|
21237
|
+
fragment: select$3m()
|
|
21215
21238
|
} : params.fields;
|
|
21216
21239
|
return {
|
|
21217
21240
|
kind: 'Fragment',
|
|
21218
|
-
version: VERSION$
|
|
21241
|
+
version: VERSION$2q,
|
|
21219
21242
|
private: [
|
|
21220
21243
|
'eTag'
|
|
21221
21244
|
],
|
|
@@ -21232,7 +21255,7 @@ const dynamicSelect$5 = function dynamicQuickActionDefaultsRepresentationSelect(
|
|
|
21232
21255
|
]
|
|
21233
21256
|
};
|
|
21234
21257
|
};
|
|
21235
|
-
function equals$
|
|
21258
|
+
function equals$W(existing, incoming) {
|
|
21236
21259
|
const existing_actionApiName = existing.actionApiName;
|
|
21237
21260
|
const incoming_actionApiName = incoming.actionApiName;
|
|
21238
21261
|
if (!(existing_actionApiName === incoming_actionApiName)) {
|
|
@@ -21299,8 +21322,8 @@ function coerceFormFactor(form) {
|
|
|
21299
21322
|
return undefined;
|
|
21300
21323
|
}
|
|
21301
21324
|
|
|
21302
|
-
const VERSION$
|
|
21303
|
-
function validate$
|
|
21325
|
+
const VERSION$2p = "3f49d751896cf66e6e29788d8880e2cc";
|
|
21326
|
+
function validate$1z(obj, path = 'PlatformActionRepresentation') {
|
|
21304
21327
|
const v_error = (() => {
|
|
21305
21328
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21306
21329
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21649,10 +21672,10 @@ function keyBuilderFromType$q(luvio, object) {
|
|
|
21649
21672
|
function normalize$E(input, existing, path, luvio, store, timestamp) {
|
|
21650
21673
|
return input;
|
|
21651
21674
|
}
|
|
21652
|
-
const select$
|
|
21675
|
+
const select$32 = function PlatformActionRepresentationSelect() {
|
|
21653
21676
|
return {
|
|
21654
21677
|
kind: 'Fragment',
|
|
21655
|
-
version: VERSION$
|
|
21678
|
+
version: VERSION$2p,
|
|
21656
21679
|
private: [
|
|
21657
21680
|
'id'
|
|
21658
21681
|
],
|
|
@@ -21732,7 +21755,7 @@ const select$31 = function PlatformActionRepresentationSelect() {
|
|
|
21732
21755
|
]
|
|
21733
21756
|
};
|
|
21734
21757
|
};
|
|
21735
|
-
function equals$
|
|
21758
|
+
function equals$V(existing, incoming) {
|
|
21736
21759
|
const existing_actionListContext = existing.actionListContext;
|
|
21737
21760
|
const incoming_actionListContext = incoming.actionListContext;
|
|
21738
21761
|
if (!(existing_actionListContext === incoming_actionListContext)) {
|
|
@@ -21832,14 +21855,14 @@ function equals$U(existing, incoming) {
|
|
|
21832
21855
|
}
|
|
21833
21856
|
const ingest$1_ = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21834
21857
|
if (process.env.NODE_ENV !== 'production') {
|
|
21835
|
-
const validateError = validate$
|
|
21858
|
+
const validateError = validate$1z(input);
|
|
21836
21859
|
if (validateError !== null) {
|
|
21837
21860
|
throw validateError;
|
|
21838
21861
|
}
|
|
21839
21862
|
}
|
|
21840
21863
|
const key = keyBuilderFromType$q(luvio, input);
|
|
21841
21864
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
21842
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$E, "UiApi", VERSION$
|
|
21865
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$E, "UiApi", VERSION$2p, RepresentationType$L, equals$V);
|
|
21843
21866
|
return createLink$1(key);
|
|
21844
21867
|
};
|
|
21845
21868
|
function getTypeCacheKeys$21(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -21852,8 +21875,8 @@ function getTypeCacheKeys$21(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
21852
21875
|
});
|
|
21853
21876
|
}
|
|
21854
21877
|
|
|
21855
|
-
const VERSION$
|
|
21856
|
-
function validate$
|
|
21878
|
+
const VERSION$2o = "378d506f563a4bd724b322d440df33d1";
|
|
21879
|
+
function validate$1y(obj, path = 'EntityActionRepresentation') {
|
|
21857
21880
|
const v_error = (() => {
|
|
21858
21881
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21859
21882
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21919,10 +21942,10 @@ function normalize$D(input, existing, path, luvio, store, timestamp) {
|
|
|
21919
21942
|
}
|
|
21920
21943
|
return input;
|
|
21921
21944
|
}
|
|
21922
|
-
const select$
|
|
21945
|
+
const select$31 = function EntityActionRepresentationSelect() {
|
|
21923
21946
|
return {
|
|
21924
21947
|
kind: 'Fragment',
|
|
21925
|
-
version: VERSION$
|
|
21948
|
+
version: VERSION$2o,
|
|
21926
21949
|
private: [
|
|
21927
21950
|
'links',
|
|
21928
21951
|
'url'
|
|
@@ -21932,12 +21955,12 @@ const select$30 = function EntityActionRepresentationSelect() {
|
|
|
21932
21955
|
name: 'actions',
|
|
21933
21956
|
kind: 'Link',
|
|
21934
21957
|
plural: true,
|
|
21935
|
-
fragment: select$
|
|
21958
|
+
fragment: select$32()
|
|
21936
21959
|
}
|
|
21937
21960
|
]
|
|
21938
21961
|
};
|
|
21939
21962
|
};
|
|
21940
|
-
function equals$
|
|
21963
|
+
function equals$U(existing, incoming) {
|
|
21941
21964
|
const existing_url = existing.url;
|
|
21942
21965
|
const incoming_url = incoming.url;
|
|
21943
21966
|
if (!(existing_url === incoming_url)) {
|
|
@@ -21967,14 +21990,14 @@ function equals$T(existing, incoming) {
|
|
|
21967
21990
|
}
|
|
21968
21991
|
const ingest$1Z = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21969
21992
|
if (process.env.NODE_ENV !== 'production') {
|
|
21970
|
-
const validateError = validate$
|
|
21993
|
+
const validateError = validate$1y(input);
|
|
21971
21994
|
if (validateError !== null) {
|
|
21972
21995
|
throw validateError;
|
|
21973
21996
|
}
|
|
21974
21997
|
}
|
|
21975
21998
|
const key = keyBuilderFromType$p(luvio, input);
|
|
21976
21999
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
21977
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$D, "UiApi", VERSION$
|
|
22000
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$D, "UiApi", VERSION$2o, RepresentationType$K, equals$U);
|
|
21978
22001
|
return createLink$1(key);
|
|
21979
22002
|
};
|
|
21980
22003
|
function getTypeCacheKeys$20(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -21992,8 +22015,8 @@ function getTypeCacheKeys$20(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
21992
22015
|
}
|
|
21993
22016
|
|
|
21994
22017
|
const TTL$y = 300000;
|
|
21995
|
-
const VERSION$
|
|
21996
|
-
function validate$
|
|
22018
|
+
const VERSION$2n = "e485d96c1402a9ca2f56e56485af0216";
|
|
22019
|
+
function validate$1x(obj, path = 'ActionRepresentation') {
|
|
21997
22020
|
const v_error = (() => {
|
|
21998
22021
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21999
22022
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22048,10 +22071,10 @@ function normalize$C(input, existing, path, luvio, store, timestamp) {
|
|
|
22048
22071
|
}
|
|
22049
22072
|
return input;
|
|
22050
22073
|
}
|
|
22051
|
-
const select$
|
|
22074
|
+
const select$30 = function ActionRepresentationSelect() {
|
|
22052
22075
|
return {
|
|
22053
22076
|
kind: 'Fragment',
|
|
22054
|
-
version: VERSION$
|
|
22077
|
+
version: VERSION$2n,
|
|
22055
22078
|
private: [
|
|
22056
22079
|
'eTag',
|
|
22057
22080
|
'url'
|
|
@@ -22061,12 +22084,12 @@ const select$2$ = function ActionRepresentationSelect() {
|
|
|
22061
22084
|
name: 'actions',
|
|
22062
22085
|
kind: 'Link',
|
|
22063
22086
|
map: true,
|
|
22064
|
-
fragment: select$
|
|
22087
|
+
fragment: select$31()
|
|
22065
22088
|
}
|
|
22066
22089
|
]
|
|
22067
22090
|
};
|
|
22068
22091
|
};
|
|
22069
|
-
function equals$
|
|
22092
|
+
function equals$T(existing, incoming) {
|
|
22070
22093
|
const existing_eTag = existing.eTag;
|
|
22071
22094
|
const incoming_eTag = incoming.eTag;
|
|
22072
22095
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -22091,14 +22114,14 @@ function equals$S(existing, incoming) {
|
|
|
22091
22114
|
}
|
|
22092
22115
|
const ingest$1Y = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22093
22116
|
if (process.env.NODE_ENV !== 'production') {
|
|
22094
|
-
const validateError = validate$
|
|
22117
|
+
const validateError = validate$1x(input);
|
|
22095
22118
|
if (validateError !== null) {
|
|
22096
22119
|
throw validateError;
|
|
22097
22120
|
}
|
|
22098
22121
|
}
|
|
22099
22122
|
const key = path.fullPath;
|
|
22100
22123
|
const ttlToUse = TTL$y;
|
|
22101
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$C, "UiApi", VERSION$
|
|
22124
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$C, "UiApi", VERSION$2n, RepresentationType$J, equals$T);
|
|
22102
22125
|
return createLink$1(key);
|
|
22103
22126
|
};
|
|
22104
22127
|
function getTypeCacheKeys$1$(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -22118,8 +22141,8 @@ function getTypeCacheKeys$1$(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22118
22141
|
}
|
|
22119
22142
|
}
|
|
22120
22143
|
|
|
22121
|
-
function select$
|
|
22122
|
-
return select$
|
|
22144
|
+
function select$2$(luvio, params) {
|
|
22145
|
+
return select$30();
|
|
22123
22146
|
}
|
|
22124
22147
|
function keyBuilder$38(luvio, params) {
|
|
22125
22148
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'apiNames:' + params.queryParams.apiNames + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'retrievalMode:' + params.queryParams.retrievalMode + ',' + 'sections:' + params.queryParams.sections + ')';
|
|
@@ -22133,7 +22156,7 @@ function ingestSuccess$R(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
22133
22156
|
luvio.storeIngest(key, ingest$1Y, body);
|
|
22134
22157
|
const snapshot = luvio.storeLookup({
|
|
22135
22158
|
recordId: key,
|
|
22136
|
-
node: select$
|
|
22159
|
+
node: select$2$(),
|
|
22137
22160
|
variables: {},
|
|
22138
22161
|
}, snapshotRefresh);
|
|
22139
22162
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -22150,7 +22173,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
|
|
|
22150
22173
|
const storeMetadataParams = {
|
|
22151
22174
|
ttl: TTL$y,
|
|
22152
22175
|
namespace: keyPrefix,
|
|
22153
|
-
version: VERSION$
|
|
22176
|
+
version: VERSION$2n,
|
|
22154
22177
|
representationName: RepresentationType$J
|
|
22155
22178
|
};
|
|
22156
22179
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -22205,7 +22228,7 @@ function validateAdapterConfig$15(untrustedConfig, configPropertyNames) {
|
|
|
22205
22228
|
}
|
|
22206
22229
|
function adapterFragment$J(luvio, config) {
|
|
22207
22230
|
createResourceParams$_(config);
|
|
22208
|
-
return select$
|
|
22231
|
+
return select$2$();
|
|
22209
22232
|
}
|
|
22210
22233
|
function onFetchResponseSuccess$M(luvio, config, resourceParams, response) {
|
|
22211
22234
|
const snapshot = ingestSuccess$R(luvio, resourceParams, response, {
|
|
@@ -22262,8 +22285,8 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
22262
22285
|
};
|
|
22263
22286
|
|
|
22264
22287
|
const TTL$x = 900000;
|
|
22265
|
-
const VERSION$
|
|
22266
|
-
function validate$
|
|
22288
|
+
const VERSION$2m = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
22289
|
+
function validate$1w(obj, path = 'QuickActionLayoutRepresentation') {
|
|
22267
22290
|
const v_error = (() => {
|
|
22268
22291
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22269
22292
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22280,7 +22303,7 @@ function validate$1u(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
22280
22303
|
}
|
|
22281
22304
|
const obj_layout = obj.layout;
|
|
22282
22305
|
const path_layout = path + '.layout';
|
|
22283
|
-
const referencepath_layoutValidationError = validate$
|
|
22306
|
+
const referencepath_layoutValidationError = validate$1H(obj_layout, path_layout);
|
|
22284
22307
|
if (referencepath_layoutValidationError !== null) {
|
|
22285
22308
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
22286
22309
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -22302,10 +22325,10 @@ function keyBuilderFromType$o(luvio, object) {
|
|
|
22302
22325
|
function normalize$B(input, existing, path, luvio, store, timestamp) {
|
|
22303
22326
|
return input;
|
|
22304
22327
|
}
|
|
22305
|
-
const select$
|
|
22328
|
+
const select$2_ = function QuickActionLayoutRepresentationSelect() {
|
|
22306
22329
|
return {
|
|
22307
22330
|
kind: 'Fragment',
|
|
22308
|
-
version: VERSION$
|
|
22331
|
+
version: VERSION$2m,
|
|
22309
22332
|
private: [
|
|
22310
22333
|
'eTag'
|
|
22311
22334
|
],
|
|
@@ -22322,7 +22345,7 @@ const select$2Z = function QuickActionLayoutRepresentationSelect() {
|
|
|
22322
22345
|
]
|
|
22323
22346
|
};
|
|
22324
22347
|
};
|
|
22325
|
-
function equals$
|
|
22348
|
+
function equals$S(existing, incoming) {
|
|
22326
22349
|
if (existing.eTag !== incoming.eTag) {
|
|
22327
22350
|
return false;
|
|
22328
22351
|
}
|
|
@@ -22330,14 +22353,14 @@ function equals$R(existing, incoming) {
|
|
|
22330
22353
|
}
|
|
22331
22354
|
const ingest$1X = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22332
22355
|
if (process.env.NODE_ENV !== 'production') {
|
|
22333
|
-
const validateError = validate$
|
|
22356
|
+
const validateError = validate$1w(input);
|
|
22334
22357
|
if (validateError !== null) {
|
|
22335
22358
|
throw validateError;
|
|
22336
22359
|
}
|
|
22337
22360
|
}
|
|
22338
22361
|
const key = keyBuilderFromType$o(luvio, input);
|
|
22339
22362
|
const ttlToUse = TTL$x;
|
|
22340
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UiApi", VERSION$
|
|
22363
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "UiApi", VERSION$2m, RepresentationType$I, equals$S);
|
|
22341
22364
|
return createLink$1(key);
|
|
22342
22365
|
};
|
|
22343
22366
|
function getTypeCacheKeys$1_(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -22350,8 +22373,8 @@ function getTypeCacheKeys$1_(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22350
22373
|
});
|
|
22351
22374
|
}
|
|
22352
22375
|
|
|
22353
|
-
function select$
|
|
22354
|
-
return select$
|
|
22376
|
+
function select$2Z(luvio, params) {
|
|
22377
|
+
return select$2_();
|
|
22355
22378
|
}
|
|
22356
22379
|
function keyBuilder$35(luvio, params) {
|
|
22357
22380
|
return keyBuilder$36(luvio, {
|
|
@@ -22367,7 +22390,7 @@ function ingestSuccess$Q(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
22367
22390
|
luvio.storeIngest(key, ingest$1X, body);
|
|
22368
22391
|
const snapshot = luvio.storeLookup({
|
|
22369
22392
|
recordId: key,
|
|
22370
|
-
node: select$
|
|
22393
|
+
node: select$2Z(),
|
|
22371
22394
|
variables: {},
|
|
22372
22395
|
}, snapshotRefresh);
|
|
22373
22396
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -22384,7 +22407,7 @@ function ingestError$J(luvio, params, error, snapshotRefresh) {
|
|
|
22384
22407
|
const storeMetadataParams = {
|
|
22385
22408
|
ttl: TTL$x,
|
|
22386
22409
|
namespace: keyPrefix,
|
|
22387
|
-
version: VERSION$
|
|
22410
|
+
version: VERSION$2m,
|
|
22388
22411
|
representationName: RepresentationType$I
|
|
22389
22412
|
};
|
|
22390
22413
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -22436,7 +22459,7 @@ function validateAdapterConfig$14(untrustedConfig, configPropertyNames) {
|
|
|
22436
22459
|
}
|
|
22437
22460
|
function adapterFragment$I(luvio, config) {
|
|
22438
22461
|
createResourceParams$Z(config);
|
|
22439
|
-
return select$
|
|
22462
|
+
return select$2Z();
|
|
22440
22463
|
}
|
|
22441
22464
|
function onFetchResponseSuccess$L(luvio, config, resourceParams, response) {
|
|
22442
22465
|
const snapshot = ingestSuccess$Q(luvio, resourceParams, response, {
|
|
@@ -22524,8 +22547,8 @@ function getSortedObjectApiNamesArray(value) {
|
|
|
22524
22547
|
return unsortedArray === undefined ? undefined : unsortedArray.sort();
|
|
22525
22548
|
}
|
|
22526
22549
|
|
|
22527
|
-
function select$
|
|
22528
|
-
return select$
|
|
22550
|
+
function select$2Y(luvio, params) {
|
|
22551
|
+
return select$30();
|
|
22529
22552
|
}
|
|
22530
22553
|
function keyBuilder$33(luvio, params) {
|
|
22531
22554
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiNames:' + params.urlParams.objectApiNames + ')';
|
|
@@ -22539,7 +22562,7 @@ function ingestSuccess$P(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
22539
22562
|
luvio.storeIngest(key, ingest$1Y, body);
|
|
22540
22563
|
const snapshot = luvio.storeLookup({
|
|
22541
22564
|
recordId: key,
|
|
22542
|
-
node: select$
|
|
22565
|
+
node: select$2Y(),
|
|
22543
22566
|
variables: {},
|
|
22544
22567
|
}, snapshotRefresh);
|
|
22545
22568
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -22556,7 +22579,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
22556
22579
|
const storeMetadataParams = {
|
|
22557
22580
|
ttl: TTL$y,
|
|
22558
22581
|
namespace: keyPrefix,
|
|
22559
|
-
version: VERSION$
|
|
22582
|
+
version: VERSION$2n,
|
|
22560
22583
|
representationName: RepresentationType$J
|
|
22561
22584
|
};
|
|
22562
22585
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -22610,7 +22633,7 @@ function validateAdapterConfig$13(untrustedConfig, configPropertyNames) {
|
|
|
22610
22633
|
}
|
|
22611
22634
|
function adapterFragment$H(luvio, config) {
|
|
22612
22635
|
createResourceParams$Y(config);
|
|
22613
|
-
return select$
|
|
22636
|
+
return select$2Y();
|
|
22614
22637
|
}
|
|
22615
22638
|
function onFetchResponseSuccess$K(luvio, config, resourceParams, response) {
|
|
22616
22639
|
const snapshot = ingestSuccess$P(luvio, resourceParams, response, {
|
|
@@ -22666,8 +22689,8 @@ const getLookupActionsAdapterFactory = (luvio) => function UiApi__getLookupActio
|
|
|
22666
22689
|
buildCachedSnapshotCachePolicy$O, buildNetworkSnapshotCachePolicy$P);
|
|
22667
22690
|
};
|
|
22668
22691
|
|
|
22669
|
-
function select$
|
|
22670
|
-
return select$
|
|
22692
|
+
function select$2X(luvio, params) {
|
|
22693
|
+
return select$30();
|
|
22671
22694
|
}
|
|
22672
22695
|
function keyBuilder$31(luvio, params) {
|
|
22673
22696
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
@@ -22681,7 +22704,7 @@ function ingestSuccess$O(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
22681
22704
|
luvio.storeIngest(key, ingest$1Y, body);
|
|
22682
22705
|
const snapshot = luvio.storeLookup({
|
|
22683
22706
|
recordId: key,
|
|
22684
|
-
node: select$
|
|
22707
|
+
node: select$2X(),
|
|
22685
22708
|
variables: {},
|
|
22686
22709
|
}, snapshotRefresh);
|
|
22687
22710
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -22698,7 +22721,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
|
|
|
22698
22721
|
const storeMetadataParams = {
|
|
22699
22722
|
ttl: TTL$y,
|
|
22700
22723
|
namespace: keyPrefix,
|
|
22701
|
-
version: VERSION$
|
|
22724
|
+
version: VERSION$2n,
|
|
22702
22725
|
representationName: RepresentationType$J
|
|
22703
22726
|
};
|
|
22704
22727
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -22752,7 +22775,7 @@ function validateAdapterConfig$12(untrustedConfig, configPropertyNames) {
|
|
|
22752
22775
|
}
|
|
22753
22776
|
function adapterFragment$G(luvio, config) {
|
|
22754
22777
|
createResourceParams$X(config);
|
|
22755
|
-
return select$
|
|
22778
|
+
return select$2X();
|
|
22756
22779
|
}
|
|
22757
22780
|
function onFetchResponseSuccess$J(luvio, config, resourceParams, response) {
|
|
22758
22781
|
const snapshot = ingestSuccess$O(luvio, resourceParams, response, {
|
|
@@ -22808,8 +22831,8 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
22808
22831
|
buildCachedSnapshotCachePolicy$N, buildNetworkSnapshotCachePolicy$O);
|
|
22809
22832
|
};
|
|
22810
22833
|
|
|
22811
|
-
const VERSION$
|
|
22812
|
-
function validate$
|
|
22834
|
+
const VERSION$2l = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
22835
|
+
function validate$1v(obj, path = 'ActionOverrideRepresentation') {
|
|
22813
22836
|
const v_error = (() => {
|
|
22814
22837
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22815
22838
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22826,15 +22849,15 @@ const RepresentationType$H = 'ActionOverrideRepresentation';
|
|
|
22826
22849
|
function normalize$A(input, existing, path, luvio, store, timestamp) {
|
|
22827
22850
|
return input;
|
|
22828
22851
|
}
|
|
22829
|
-
const select$
|
|
22852
|
+
const select$2W = function ActionOverrideRepresentationSelect() {
|
|
22830
22853
|
return {
|
|
22831
22854
|
kind: 'Fragment',
|
|
22832
|
-
version: VERSION$
|
|
22855
|
+
version: VERSION$2l,
|
|
22833
22856
|
private: [],
|
|
22834
22857
|
opaque: true
|
|
22835
22858
|
};
|
|
22836
22859
|
};
|
|
22837
|
-
function equals$
|
|
22860
|
+
function equals$R(existing, incoming) {
|
|
22838
22861
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
22839
22862
|
return false;
|
|
22840
22863
|
}
|
|
@@ -22842,14 +22865,14 @@ function equals$Q(existing, incoming) {
|
|
|
22842
22865
|
}
|
|
22843
22866
|
const ingest$1W = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22844
22867
|
if (process.env.NODE_ENV !== 'production') {
|
|
22845
|
-
const validateError = validate$
|
|
22868
|
+
const validateError = validate$1v(input);
|
|
22846
22869
|
if (validateError !== null) {
|
|
22847
22870
|
throw validateError;
|
|
22848
22871
|
}
|
|
22849
22872
|
}
|
|
22850
22873
|
const key = path.fullPath;
|
|
22851
22874
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
22852
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UiApi", VERSION$
|
|
22875
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "UiApi", VERSION$2l, RepresentationType$H, equals$R);
|
|
22853
22876
|
return createLink$1(key);
|
|
22854
22877
|
};
|
|
22855
22878
|
function getTypeCacheKeys$1Z(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -22862,8 +22885,8 @@ function getTypeCacheKeys$1Z(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22862
22885
|
});
|
|
22863
22886
|
}
|
|
22864
22887
|
|
|
22865
|
-
function select$
|
|
22866
|
-
return select$
|
|
22888
|
+
function select$2V(luvio, params) {
|
|
22889
|
+
return select$2W();
|
|
22867
22890
|
}
|
|
22868
22891
|
function keyBuilder$2$(luvio, params) {
|
|
22869
22892
|
return keyPrefix + '::ActionOverrideRepresentation:(' + 'defaultTemplateOnly:' + params.queryParams.defaultTemplateOnly + ',' + 'type:' + params.queryParams.type + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
@@ -22877,7 +22900,7 @@ function ingestSuccess$N(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
22877
22900
|
luvio.storeIngest(key, ingest$1W, body);
|
|
22878
22901
|
const snapshot = luvio.storeLookup({
|
|
22879
22902
|
recordId: key,
|
|
22880
|
-
node: select$
|
|
22903
|
+
node: select$2V(),
|
|
22881
22904
|
variables: {},
|
|
22882
22905
|
}, snapshotRefresh);
|
|
22883
22906
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -22941,7 +22964,7 @@ function validateAdapterConfig$11(untrustedConfig, configPropertyNames) {
|
|
|
22941
22964
|
}
|
|
22942
22965
|
function adapterFragment$F(luvio, config) {
|
|
22943
22966
|
createResourceParams$W(config);
|
|
22944
|
-
return select$
|
|
22967
|
+
return select$2V();
|
|
22945
22968
|
}
|
|
22946
22969
|
function onFetchResponseSuccess$I(luvio, config, resourceParams, response) {
|
|
22947
22970
|
const snapshot = ingestSuccess$N(luvio, resourceParams, response, {
|
|
@@ -22997,7 +23020,7 @@ const getActionOverridesAdapterFactory = (luvio) => function UiApi__getActionOve
|
|
|
22997
23020
|
buildCachedSnapshotCachePolicy$M, buildNetworkSnapshotCachePolicy$N);
|
|
22998
23021
|
};
|
|
22999
23022
|
|
|
23000
|
-
function validate$
|
|
23023
|
+
function validate$1u(obj, path = 'FormulaOverridesInfoRepresentation') {
|
|
23001
23024
|
const v_error = (() => {
|
|
23002
23025
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23003
23026
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23034,8 +23057,8 @@ function validate$1s(obj, path = 'FormulaOverridesInfoRepresentation') {
|
|
|
23034
23057
|
}
|
|
23035
23058
|
|
|
23036
23059
|
const TTL$w = 300000;
|
|
23037
|
-
const VERSION$
|
|
23038
|
-
function validate$
|
|
23060
|
+
const VERSION$2k = "c57b66c259b23683db7b763e132e8633";
|
|
23061
|
+
function validate$1t(obj, path = 'FlexipageFormulaActivationRepresentation') {
|
|
23039
23062
|
const v_error = (() => {
|
|
23040
23063
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23041
23064
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23056,7 +23079,7 @@ function validate$1r(obj, path = 'FlexipageFormulaActivationRepresentation') {
|
|
|
23056
23079
|
for (let i = 0; i < obj_activations_prop.length; i++) {
|
|
23057
23080
|
const obj_activations_prop_item = obj_activations_prop[i];
|
|
23058
23081
|
const path_activations_prop_item = path_activations_prop + '[' + i + ']';
|
|
23059
|
-
const referencepath_activations_prop_itemValidationError = validate$
|
|
23082
|
+
const referencepath_activations_prop_itemValidationError = validate$1u(obj_activations_prop_item, path_activations_prop_item);
|
|
23060
23083
|
if (referencepath_activations_prop_itemValidationError !== null) {
|
|
23061
23084
|
let message = 'Object doesn\'t match FormulaOverridesInfoRepresentation (at "' + path_activations_prop_item + '")\n';
|
|
23062
23085
|
message += referencepath_activations_prop_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23076,10 +23099,10 @@ const RepresentationType$G = 'FlexipageFormulaActivationRepresentation';
|
|
|
23076
23099
|
function normalize$z(input, existing, path, luvio, store, timestamp) {
|
|
23077
23100
|
return input;
|
|
23078
23101
|
}
|
|
23079
|
-
const select$
|
|
23102
|
+
const select$2U = function FlexipageFormulaActivationRepresentationSelect() {
|
|
23080
23103
|
return {
|
|
23081
23104
|
kind: 'Fragment',
|
|
23082
|
-
version: VERSION$
|
|
23105
|
+
version: VERSION$2k,
|
|
23083
23106
|
private: [
|
|
23084
23107
|
'eTag'
|
|
23085
23108
|
],
|
|
@@ -23092,7 +23115,7 @@ const select$2T = function FlexipageFormulaActivationRepresentationSelect() {
|
|
|
23092
23115
|
]
|
|
23093
23116
|
};
|
|
23094
23117
|
};
|
|
23095
|
-
function equals$
|
|
23118
|
+
function equals$Q(existing, incoming) {
|
|
23096
23119
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
23097
23120
|
return false;
|
|
23098
23121
|
}
|
|
@@ -23100,14 +23123,14 @@ function equals$P(existing, incoming) {
|
|
|
23100
23123
|
}
|
|
23101
23124
|
const ingest$1V = function FlexipageFormulaActivationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23102
23125
|
if (process.env.NODE_ENV !== 'production') {
|
|
23103
|
-
const validateError = validate$
|
|
23126
|
+
const validateError = validate$1t(input);
|
|
23104
23127
|
if (validateError !== null) {
|
|
23105
23128
|
throw validateError;
|
|
23106
23129
|
}
|
|
23107
23130
|
}
|
|
23108
23131
|
const key = path.fullPath;
|
|
23109
23132
|
const ttlToUse = TTL$w;
|
|
23110
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "UiApi", VERSION$
|
|
23133
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "UiApi", VERSION$2k, RepresentationType$G, equals$Q);
|
|
23111
23134
|
return createLink$1(key);
|
|
23112
23135
|
};
|
|
23113
23136
|
function getTypeCacheKeys$1Y(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -23120,8 +23143,8 @@ function getTypeCacheKeys$1Y(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23120
23143
|
});
|
|
23121
23144
|
}
|
|
23122
23145
|
|
|
23123
|
-
function select$
|
|
23124
|
-
return select$
|
|
23146
|
+
function select$2T(luvio, params) {
|
|
23147
|
+
return select$2U();
|
|
23125
23148
|
}
|
|
23126
23149
|
function keyBuilder$2Z(luvio, params) {
|
|
23127
23150
|
return keyPrefix + '::FlexipageFormulaActivationRepresentation:(' + 'application:' + params.queryParams.application + ',' + 'objectApiNames:' + params.queryParams.objectApiNames + ',' + 'actionFeature:' + params.urlParams.actionFeature + ')';
|
|
@@ -23135,7 +23158,7 @@ function ingestSuccess$M(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
23135
23158
|
luvio.storeIngest(key, ingest$1V, body);
|
|
23136
23159
|
const snapshot = luvio.storeLookup({
|
|
23137
23160
|
recordId: key,
|
|
23138
|
-
node: select$
|
|
23161
|
+
node: select$2T(),
|
|
23139
23162
|
variables: {},
|
|
23140
23163
|
}, snapshotRefresh);
|
|
23141
23164
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -23152,7 +23175,7 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
|
23152
23175
|
const storeMetadataParams = {
|
|
23153
23176
|
ttl: TTL$w,
|
|
23154
23177
|
namespace: keyPrefix,
|
|
23155
|
-
version: VERSION$
|
|
23178
|
+
version: VERSION$2k,
|
|
23156
23179
|
representationName: RepresentationType$G
|
|
23157
23180
|
};
|
|
23158
23181
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -23205,7 +23228,7 @@ function validateAdapterConfig$10(untrustedConfig, configPropertyNames) {
|
|
|
23205
23228
|
}
|
|
23206
23229
|
function adapterFragment$E(luvio, config) {
|
|
23207
23230
|
createResourceParams$V(config);
|
|
23208
|
-
return select$
|
|
23231
|
+
return select$2T();
|
|
23209
23232
|
}
|
|
23210
23233
|
function onFetchResponseSuccess$H(luvio, config, resourceParams, response) {
|
|
23211
23234
|
const snapshot = ingestSuccess$M(luvio, resourceParams, response, {
|
|
@@ -23261,8 +23284,8 @@ const getFlexipageFormulaOverridesAdapterFactory = (luvio) => function UiApi__ge
|
|
|
23261
23284
|
buildCachedSnapshotCachePolicy$L, buildNetworkSnapshotCachePolicy$M);
|
|
23262
23285
|
};
|
|
23263
23286
|
|
|
23264
|
-
const VERSION$
|
|
23265
|
-
function validate$
|
|
23287
|
+
const VERSION$2j = "7a5e66e0b88fe9d2233bb3158931bfa6";
|
|
23288
|
+
function validate$1s(obj, path = 'QuickActionColorRepresentation') {
|
|
23266
23289
|
const v_error = (() => {
|
|
23267
23290
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23268
23291
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23290,10 +23313,10 @@ function validate$1q(obj, path = 'QuickActionColorRepresentation') {
|
|
|
23290
23313
|
})();
|
|
23291
23314
|
return v_error === undefined ? null : v_error;
|
|
23292
23315
|
}
|
|
23293
|
-
const select$
|
|
23316
|
+
const select$2S = function QuickActionColorRepresentationSelect() {
|
|
23294
23317
|
return {
|
|
23295
23318
|
kind: 'Fragment',
|
|
23296
|
-
version: VERSION$
|
|
23319
|
+
version: VERSION$2j,
|
|
23297
23320
|
private: [
|
|
23298
23321
|
'eTag'
|
|
23299
23322
|
],
|
|
@@ -23313,7 +23336,7 @@ const select$2R = function QuickActionColorRepresentationSelect() {
|
|
|
23313
23336
|
]
|
|
23314
23337
|
};
|
|
23315
23338
|
};
|
|
23316
|
-
function equals$
|
|
23339
|
+
function equals$P(existing, incoming) {
|
|
23317
23340
|
const existing_color = existing.color;
|
|
23318
23341
|
const incoming_color = incoming.color;
|
|
23319
23342
|
if (!(existing_color === incoming_color)) {
|
|
@@ -23337,8 +23360,8 @@ function equals$O(existing, incoming) {
|
|
|
23337
23360
|
return true;
|
|
23338
23361
|
}
|
|
23339
23362
|
|
|
23340
|
-
const VERSION$
|
|
23341
|
-
function validate$
|
|
23363
|
+
const VERSION$2i = "5e970aa7dacfdd8e0c6d5daca575ec58";
|
|
23364
|
+
function validate$1r(obj, path = 'CopilotQuickActionInputRepresentation') {
|
|
23342
23365
|
const v_error = (() => {
|
|
23343
23366
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23344
23367
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23361,10 +23384,10 @@ function validate$1p(obj, path = 'CopilotQuickActionInputRepresentation') {
|
|
|
23361
23384
|
})();
|
|
23362
23385
|
return v_error === undefined ? null : v_error;
|
|
23363
23386
|
}
|
|
23364
|
-
const select$
|
|
23387
|
+
const select$2R = function CopilotQuickActionInputRepresentationSelect() {
|
|
23365
23388
|
return {
|
|
23366
23389
|
kind: 'Fragment',
|
|
23367
|
-
version: VERSION$
|
|
23390
|
+
version: VERSION$2i,
|
|
23368
23391
|
private: [
|
|
23369
23392
|
'eTag'
|
|
23370
23393
|
],
|
|
@@ -23380,7 +23403,7 @@ const select$2Q = function CopilotQuickActionInputRepresentationSelect() {
|
|
|
23380
23403
|
]
|
|
23381
23404
|
};
|
|
23382
23405
|
};
|
|
23383
|
-
function equals$
|
|
23406
|
+
function equals$O(existing, incoming) {
|
|
23384
23407
|
const existing_eTag = existing.eTag;
|
|
23385
23408
|
const incoming_eTag = incoming.eTag;
|
|
23386
23409
|
if (!(existing_eTag === incoming_eTag)) {
|
|
@@ -23399,8 +23422,8 @@ function equals$N(existing, incoming) {
|
|
|
23399
23422
|
return true;
|
|
23400
23423
|
}
|
|
23401
23424
|
|
|
23402
|
-
const VERSION$
|
|
23403
|
-
function validate$
|
|
23425
|
+
const VERSION$2h = "53b489083ef57944d2a9d4a2aaf72ec3";
|
|
23426
|
+
function validate$1q(obj, path = 'QuickActionIconRepresentation') {
|
|
23404
23427
|
const v_error = (() => {
|
|
23405
23428
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23406
23429
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23438,10 +23461,10 @@ function validate$1o(obj, path = 'QuickActionIconRepresentation') {
|
|
|
23438
23461
|
})();
|
|
23439
23462
|
return v_error === undefined ? null : v_error;
|
|
23440
23463
|
}
|
|
23441
|
-
const select$
|
|
23464
|
+
const select$2Q = function QuickActionIconRepresentationSelect() {
|
|
23442
23465
|
return {
|
|
23443
23466
|
kind: 'Fragment',
|
|
23444
|
-
version: VERSION$
|
|
23467
|
+
version: VERSION$2h,
|
|
23445
23468
|
private: [
|
|
23446
23469
|
'eTag'
|
|
23447
23470
|
],
|
|
@@ -23469,7 +23492,7 @@ const select$2P = function QuickActionIconRepresentationSelect() {
|
|
|
23469
23492
|
]
|
|
23470
23493
|
};
|
|
23471
23494
|
};
|
|
23472
|
-
function equals$
|
|
23495
|
+
function equals$N(existing, incoming) {
|
|
23473
23496
|
const existing_height = existing.height;
|
|
23474
23497
|
const incoming_height = incoming.height;
|
|
23475
23498
|
if (!(existing_height === incoming_height)) {
|
|
@@ -23503,9 +23526,71 @@ function equals$M(existing, incoming) {
|
|
|
23503
23526
|
return true;
|
|
23504
23527
|
}
|
|
23505
23528
|
|
|
23529
|
+
const VERSION$2g = "bab371abd4de5aea22d80f5c9843eb8a";
|
|
23530
|
+
function validate$1p(obj, path = 'CopilotQuickActionParameterRepresentation') {
|
|
23531
|
+
const v_error = (() => {
|
|
23532
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23533
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
23534
|
+
}
|
|
23535
|
+
const obj_eTag = obj.eTag;
|
|
23536
|
+
const path_eTag = path + '.eTag';
|
|
23537
|
+
if (typeof obj_eTag !== 'string') {
|
|
23538
|
+
return new TypeError('Expected "string" but received "' + typeof obj_eTag + '" (at "' + path_eTag + '")');
|
|
23539
|
+
}
|
|
23540
|
+
const obj_parameterName = obj.parameterName;
|
|
23541
|
+
const path_parameterName = path + '.parameterName';
|
|
23542
|
+
if (typeof obj_parameterName !== 'string') {
|
|
23543
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parameterName + '" (at "' + path_parameterName + '")');
|
|
23544
|
+
}
|
|
23545
|
+
const obj_parameterValue = obj.parameterValue;
|
|
23546
|
+
const path_parameterValue = path + '.parameterValue';
|
|
23547
|
+
if (typeof obj_parameterValue !== 'string') {
|
|
23548
|
+
return new TypeError('Expected "string" but received "' + typeof obj_parameterValue + '" (at "' + path_parameterValue + '")');
|
|
23549
|
+
}
|
|
23550
|
+
})();
|
|
23551
|
+
return v_error === undefined ? null : v_error;
|
|
23552
|
+
}
|
|
23553
|
+
const select$2P = function CopilotQuickActionParameterRepresentationSelect() {
|
|
23554
|
+
return {
|
|
23555
|
+
kind: 'Fragment',
|
|
23556
|
+
version: VERSION$2g,
|
|
23557
|
+
private: [
|
|
23558
|
+
'eTag'
|
|
23559
|
+
],
|
|
23560
|
+
selections: [
|
|
23561
|
+
{
|
|
23562
|
+
name: 'parameterName',
|
|
23563
|
+
kind: 'Scalar'
|
|
23564
|
+
},
|
|
23565
|
+
{
|
|
23566
|
+
name: 'parameterValue',
|
|
23567
|
+
kind: 'Scalar'
|
|
23568
|
+
}
|
|
23569
|
+
]
|
|
23570
|
+
};
|
|
23571
|
+
};
|
|
23572
|
+
function equals$M(existing, incoming) {
|
|
23573
|
+
const existing_eTag = existing.eTag;
|
|
23574
|
+
const incoming_eTag = incoming.eTag;
|
|
23575
|
+
if (!(existing_eTag === incoming_eTag)) {
|
|
23576
|
+
return false;
|
|
23577
|
+
}
|
|
23578
|
+
const existing_parameterName = existing.parameterName;
|
|
23579
|
+
const incoming_parameterName = incoming.parameterName;
|
|
23580
|
+
if (!(existing_parameterName === incoming_parameterName)) {
|
|
23581
|
+
return false;
|
|
23582
|
+
}
|
|
23583
|
+
const existing_parameterValue = existing.parameterValue;
|
|
23584
|
+
const incoming_parameterValue = incoming.parameterValue;
|
|
23585
|
+
if (!(existing_parameterValue === incoming_parameterValue)) {
|
|
23586
|
+
return false;
|
|
23587
|
+
}
|
|
23588
|
+
return true;
|
|
23589
|
+
}
|
|
23590
|
+
|
|
23506
23591
|
const TTL$v = 900000;
|
|
23507
|
-
const VERSION$2f = "
|
|
23508
|
-
function validate$
|
|
23592
|
+
const VERSION$2f = "463cd270460d626d438908f8348e6dc8";
|
|
23593
|
+
function validate$1o(obj, path = 'QuickActionInfoRepresentation') {
|
|
23509
23594
|
const v_error = (() => {
|
|
23510
23595
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23511
23596
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23549,7 +23634,7 @@ function validate$1n(obj, path = 'QuickActionInfoRepresentation') {
|
|
|
23549
23634
|
for (let i = 0; i < obj_colors.length; i++) {
|
|
23550
23635
|
const obj_colors_item = obj_colors[i];
|
|
23551
23636
|
const path_colors_item = path_colors + '[' + i + ']';
|
|
23552
|
-
const referencepath_colors_itemValidationError = validate$
|
|
23637
|
+
const referencepath_colors_itemValidationError = validate$1s(obj_colors_item, path_colors_item);
|
|
23553
23638
|
if (referencepath_colors_itemValidationError !== null) {
|
|
23554
23639
|
let message = 'Object doesn\'t match QuickActionColorRepresentation (at "' + path_colors_item + '")\n';
|
|
23555
23640
|
message += referencepath_colors_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23590,7 +23675,7 @@ function validate$1n(obj, path = 'QuickActionInfoRepresentation') {
|
|
|
23590
23675
|
for (let i = 0; i < obj_copilotInputs.length; i++) {
|
|
23591
23676
|
const obj_copilotInputs_item = obj_copilotInputs[i];
|
|
23592
23677
|
const path_copilotInputs_item = path_copilotInputs + '[' + i + ']';
|
|
23593
|
-
const referencepath_copilotInputs_itemValidationError = validate$
|
|
23678
|
+
const referencepath_copilotInputs_itemValidationError = validate$1r(obj_copilotInputs_item, path_copilotInputs_item);
|
|
23594
23679
|
if (referencepath_copilotInputs_itemValidationError !== null) {
|
|
23595
23680
|
let message = 'Object doesn\'t match CopilotQuickActionInputRepresentation (at "' + path_copilotInputs_item + '")\n';
|
|
23596
23681
|
message += referencepath_copilotInputs_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23766,7 +23851,7 @@ function validate$1n(obj, path = 'QuickActionInfoRepresentation') {
|
|
|
23766
23851
|
for (let i = 0; i < obj_icons.length; i++) {
|
|
23767
23852
|
const obj_icons_item = obj_icons[i];
|
|
23768
23853
|
const path_icons_item = path_icons + '[' + i + ']';
|
|
23769
|
-
const referencepath_icons_itemValidationError = validate$
|
|
23854
|
+
const referencepath_icons_itemValidationError = validate$1q(obj_icons_item, path_icons_item);
|
|
23770
23855
|
if (referencepath_icons_itemValidationError !== null) {
|
|
23771
23856
|
let message = 'Object doesn\'t match QuickActionIconRepresentation (at "' + path_icons_item + '")\n';
|
|
23772
23857
|
message += referencepath_icons_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -23882,6 +23967,21 @@ function validate$1n(obj, path = 'QuickActionInfoRepresentation') {
|
|
|
23882
23967
|
message += '\n' + obj_lightningWebComponentQualifiedName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
23883
23968
|
return new TypeError(message);
|
|
23884
23969
|
}
|
|
23970
|
+
const obj_parameters = obj.parameters;
|
|
23971
|
+
const path_parameters = path + '.parameters';
|
|
23972
|
+
if (!ArrayIsArray(obj_parameters)) {
|
|
23973
|
+
return new TypeError('Expected "array" but received "' + typeof obj_parameters + '" (at "' + path_parameters + '")');
|
|
23974
|
+
}
|
|
23975
|
+
for (let i = 0; i < obj_parameters.length; i++) {
|
|
23976
|
+
const obj_parameters_item = obj_parameters[i];
|
|
23977
|
+
const path_parameters_item = path_parameters + '[' + i + ']';
|
|
23978
|
+
const referencepath_parameters_itemValidationError = validate$1p(obj_parameters_item, path_parameters_item);
|
|
23979
|
+
if (referencepath_parameters_itemValidationError !== null) {
|
|
23980
|
+
let message = 'Object doesn\'t match CopilotQuickActionParameterRepresentation (at "' + path_parameters_item + '")\n';
|
|
23981
|
+
message += referencepath_parameters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
23982
|
+
return new TypeError(message);
|
|
23983
|
+
}
|
|
23984
|
+
}
|
|
23885
23985
|
const obj_targetParentField = obj.targetParentField;
|
|
23886
23986
|
const path_targetParentField = path + '.targetParentField';
|
|
23887
23987
|
let obj_targetParentField_union0 = null;
|
|
@@ -23982,9 +24082,10 @@ function normalize$y(input, existing, path, luvio, store, timestamp) {
|
|
|
23982
24082
|
return input;
|
|
23983
24083
|
}
|
|
23984
24084
|
const select$2O = function QuickActionInfoRepresentationSelect() {
|
|
23985
|
-
const { selections: QuickActionColorRepresentation__selections, opaque: QuickActionColorRepresentation__opaque, } = select$
|
|
23986
|
-
const { selections: CopilotQuickActionInputRepresentation__selections, opaque: CopilotQuickActionInputRepresentation__opaque, } = select$
|
|
23987
|
-
const { selections: QuickActionIconRepresentation__selections, opaque: QuickActionIconRepresentation__opaque, } = select$
|
|
24085
|
+
const { selections: QuickActionColorRepresentation__selections, opaque: QuickActionColorRepresentation__opaque, } = select$2S();
|
|
24086
|
+
const { selections: CopilotQuickActionInputRepresentation__selections, opaque: CopilotQuickActionInputRepresentation__opaque, } = select$2R();
|
|
24087
|
+
const { selections: QuickActionIconRepresentation__selections, opaque: QuickActionIconRepresentation__opaque, } = select$2Q();
|
|
24088
|
+
const { selections: CopilotQuickActionParameterRepresentation__selections, opaque: CopilotQuickActionParameterRepresentation__opaque, } = select$2P();
|
|
23988
24089
|
return {
|
|
23989
24090
|
kind: 'Fragment',
|
|
23990
24091
|
version: VERSION$2f,
|
|
@@ -24066,6 +24167,12 @@ const select$2O = function QuickActionInfoRepresentationSelect() {
|
|
|
24066
24167
|
name: 'lightningWebComponentQualifiedName',
|
|
24067
24168
|
kind: 'Scalar'
|
|
24068
24169
|
},
|
|
24170
|
+
{
|
|
24171
|
+
name: 'parameters',
|
|
24172
|
+
kind: 'Object',
|
|
24173
|
+
plural: true,
|
|
24174
|
+
selections: CopilotQuickActionParameterRepresentation__selections
|
|
24175
|
+
},
|
|
24069
24176
|
{
|
|
24070
24177
|
name: 'targetParentField',
|
|
24071
24178
|
kind: 'Scalar'
|
|
@@ -24114,7 +24221,7 @@ function equals$L(existing, incoming) {
|
|
|
24114
24221
|
const existing_colors = existing.colors;
|
|
24115
24222
|
const incoming_colors = incoming.colors;
|
|
24116
24223
|
const equals_colors_items = equalsArray(existing_colors, incoming_colors, (existing_colors_item, incoming_colors_item) => {
|
|
24117
|
-
if (!(equals$
|
|
24224
|
+
if (!(equals$P(existing_colors_item, incoming_colors_item))) {
|
|
24118
24225
|
return false;
|
|
24119
24226
|
}
|
|
24120
24227
|
});
|
|
@@ -24129,7 +24236,7 @@ function equals$L(existing, incoming) {
|
|
|
24129
24236
|
const existing_copilotInputs = existing.copilotInputs;
|
|
24130
24237
|
const incoming_copilotInputs = incoming.copilotInputs;
|
|
24131
24238
|
const equals_copilotInputs_items = equalsArray(existing_copilotInputs, incoming_copilotInputs, (existing_copilotInputs_item, incoming_copilotInputs_item) => {
|
|
24132
|
-
if (!(equals$
|
|
24239
|
+
if (!(equals$O(existing_copilotInputs_item, incoming_copilotInputs_item))) {
|
|
24133
24240
|
return false;
|
|
24134
24241
|
}
|
|
24135
24242
|
});
|
|
@@ -24169,7 +24276,7 @@ function equals$L(existing, incoming) {
|
|
|
24169
24276
|
const existing_icons = existing.icons;
|
|
24170
24277
|
const incoming_icons = incoming.icons;
|
|
24171
24278
|
const equals_icons_items = equalsArray(existing_icons, incoming_icons, (existing_icons_item, incoming_icons_item) => {
|
|
24172
|
-
if (!(equals$
|
|
24279
|
+
if (!(equals$N(existing_icons_item, incoming_icons_item))) {
|
|
24173
24280
|
return false;
|
|
24174
24281
|
}
|
|
24175
24282
|
});
|
|
@@ -24196,6 +24303,16 @@ function equals$L(existing, incoming) {
|
|
|
24196
24303
|
if (!(existing_lightningWebComponentQualifiedName === incoming_lightningWebComponentQualifiedName)) {
|
|
24197
24304
|
return false;
|
|
24198
24305
|
}
|
|
24306
|
+
const existing_parameters = existing.parameters;
|
|
24307
|
+
const incoming_parameters = incoming.parameters;
|
|
24308
|
+
const equals_parameters_items = equalsArray(existing_parameters, incoming_parameters, (existing_parameters_item, incoming_parameters_item) => {
|
|
24309
|
+
if (!(equals$M(existing_parameters_item, incoming_parameters_item))) {
|
|
24310
|
+
return false;
|
|
24311
|
+
}
|
|
24312
|
+
});
|
|
24313
|
+
if (equals_parameters_items === false) {
|
|
24314
|
+
return false;
|
|
24315
|
+
}
|
|
24199
24316
|
const existing_targetParentField = existing.targetParentField;
|
|
24200
24317
|
const incoming_targetParentField = incoming.targetParentField;
|
|
24201
24318
|
if (!(existing_targetParentField === incoming_targetParentField)) {
|
|
@@ -24215,7 +24332,7 @@ function equals$L(existing, incoming) {
|
|
|
24215
24332
|
}
|
|
24216
24333
|
const ingest$1U = function QuickActionInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24217
24334
|
if (process.env.NODE_ENV !== 'production') {
|
|
24218
|
-
const validateError = validate$
|
|
24335
|
+
const validateError = validate$1o(input);
|
|
24219
24336
|
if (validateError !== null) {
|
|
24220
24337
|
throw validateError;
|
|
24221
24338
|
}
|
|
@@ -24381,7 +24498,7 @@ const QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS = {
|
|
|
24381
24498
|
ttl: TTL$z,
|
|
24382
24499
|
namespace: keyPrefix,
|
|
24383
24500
|
representationName: RepresentationType$M,
|
|
24384
|
-
version: VERSION$
|
|
24501
|
+
version: VERSION$2q,
|
|
24385
24502
|
};
|
|
24386
24503
|
function merge$1(existing, incoming) {
|
|
24387
24504
|
if (existing === undefined) {
|
|
@@ -24399,7 +24516,7 @@ function merge$1(existing, incoming) {
|
|
|
24399
24516
|
const dynamicIngest$4 = (ingestParams) => {
|
|
24400
24517
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24401
24518
|
if (process.env.NODE_ENV !== 'production') {
|
|
24402
|
-
const validateError = validate$
|
|
24519
|
+
const validateError = validate$1A(input);
|
|
24403
24520
|
if (validateError !== null) {
|
|
24404
24521
|
throw validateError;
|
|
24405
24522
|
}
|
|
@@ -24412,7 +24529,7 @@ const dynamicIngest$4 = (ingestParams) => {
|
|
|
24412
24529
|
propertyName: path.propertyName,
|
|
24413
24530
|
}, luvio, store, timestamp);
|
|
24414
24531
|
incomingRecord = merge$1(existingRecord, incomingRecord);
|
|
24415
|
-
if (existingRecord === undefined || equals$
|
|
24532
|
+
if (existingRecord === undefined || equals$W(existingRecord, incomingRecord) === false) {
|
|
24416
24533
|
luvio.storePublish(key, incomingRecord);
|
|
24417
24534
|
}
|
|
24418
24535
|
luvio.publishStoreMetadata(key, {
|
|
@@ -24480,7 +24597,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
|
24480
24597
|
const storeMetadataParams = {
|
|
24481
24598
|
ttl: TTL$z,
|
|
24482
24599
|
namespace: keyPrefix,
|
|
24483
|
-
version: VERSION$
|
|
24600
|
+
version: VERSION$2q,
|
|
24484
24601
|
representationName: RepresentationType$M
|
|
24485
24602
|
};
|
|
24486
24603
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -24618,7 +24735,7 @@ const getQuickActionDefaultsAdapterFactory = (luvio) => function UiApi__getQuick
|
|
|
24618
24735
|
};
|
|
24619
24736
|
|
|
24620
24737
|
function select$2M(luvio, params) {
|
|
24621
|
-
return select$
|
|
24738
|
+
return select$30();
|
|
24622
24739
|
}
|
|
24623
24740
|
function keyBuilder$2S(luvio, params) {
|
|
24624
24741
|
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 + ')';
|
|
@@ -24649,7 +24766,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
24649
24766
|
const storeMetadataParams = {
|
|
24650
24767
|
ttl: TTL$y,
|
|
24651
24768
|
namespace: keyPrefix,
|
|
24652
|
-
version: VERSION$
|
|
24769
|
+
version: VERSION$2n,
|
|
24653
24770
|
representationName: RepresentationType$J
|
|
24654
24771
|
};
|
|
24655
24772
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -24770,7 +24887,7 @@ const getRecordActionsAdapterFactory = (luvio) => function UiApi__getRecordActio
|
|
|
24770
24887
|
};
|
|
24771
24888
|
|
|
24772
24889
|
function select$2L(luvio, params) {
|
|
24773
|
-
return select$
|
|
24890
|
+
return select$30();
|
|
24774
24891
|
}
|
|
24775
24892
|
function keyBuilder$2Q(luvio, params) {
|
|
24776
24893
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ')';
|
|
@@ -24801,7 +24918,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
|
24801
24918
|
const storeMetadataParams = {
|
|
24802
24919
|
ttl: TTL$y,
|
|
24803
24920
|
namespace: keyPrefix,
|
|
24804
|
-
version: VERSION$
|
|
24921
|
+
version: VERSION$2n,
|
|
24805
24922
|
representationName: RepresentationType$J
|
|
24806
24923
|
};
|
|
24807
24924
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -24911,7 +25028,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
24911
25028
|
buildCachedSnapshotCachePolicy$H, buildNetworkSnapshotCachePolicy$I);
|
|
24912
25029
|
};
|
|
24913
25030
|
|
|
24914
|
-
function validate$
|
|
25031
|
+
function validate$1n(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
24915
25032
|
const v_error = (() => {
|
|
24916
25033
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24917
25034
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24982,7 +25099,7 @@ function validate$1m(obj, path = 'ActionRelatedListSingleBatchInputRepresentatio
|
|
|
24982
25099
|
}
|
|
24983
25100
|
|
|
24984
25101
|
function select$2K(luvio, params) {
|
|
24985
|
-
return select$
|
|
25102
|
+
return select$30();
|
|
24986
25103
|
}
|
|
24987
25104
|
function keyBuilder$2O(luvio, params) {
|
|
24988
25105
|
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) + ')';
|
|
@@ -25013,7 +25130,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
25013
25130
|
const storeMetadataParams = {
|
|
25014
25131
|
ttl: TTL$y,
|
|
25015
25132
|
namespace: keyPrefix,
|
|
25016
|
-
version: VERSION$
|
|
25133
|
+
version: VERSION$2n,
|
|
25017
25134
|
representationName: RepresentationType$J
|
|
25018
25135
|
};
|
|
25019
25136
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -25337,7 +25454,7 @@ function typeCheckConfig$U(untrustedConfig) {
|
|
|
25337
25454
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
25338
25455
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
25339
25456
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
25340
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
25457
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1n(untrustedConfig_relatedListsActionParameters_item);
|
|
25341
25458
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
25342
25459
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
25343
25460
|
}
|
|
@@ -25512,7 +25629,7 @@ const getRelatedListActionsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
25512
25629
|
};
|
|
25513
25630
|
|
|
25514
25631
|
function select$2I(luvio, params) {
|
|
25515
|
-
return select$
|
|
25632
|
+
return select$30();
|
|
25516
25633
|
}
|
|
25517
25634
|
function keyBuilder$2K(luvio, params) {
|
|
25518
25635
|
return keyPrefix + '::ActionRepresentation:(' + 'actionTypes:' + params.queryParams.actionTypes + ',' + 'formFactor:' + params.queryParams.formFactor + ',' + 'sections:' + params.queryParams.sections + ',' + 'recordIds:' + params.urlParams.recordIds + ',' + 'relatedListRecordIds:' + params.urlParams.relatedListRecordIds + ')';
|
|
@@ -25543,7 +25660,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
|
25543
25660
|
const storeMetadataParams = {
|
|
25544
25661
|
ttl: TTL$y,
|
|
25545
25662
|
namespace: keyPrefix,
|
|
25546
|
-
version: VERSION$
|
|
25663
|
+
version: VERSION$2n,
|
|
25547
25664
|
representationName: RepresentationType$J
|
|
25548
25665
|
};
|
|
25549
25666
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -25655,7 +25772,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
25655
25772
|
};
|
|
25656
25773
|
|
|
25657
25774
|
const VERSION$2e = "a316b3bba367f54adc67d7552ed7d36d";
|
|
25658
|
-
function validate$
|
|
25775
|
+
function validate$1m(obj, path = 'PageReferenceRepresentation') {
|
|
25659
25776
|
const v_error = (() => {
|
|
25660
25777
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25661
25778
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25716,7 +25833,7 @@ function equals$K(existing, incoming) {
|
|
|
25716
25833
|
}
|
|
25717
25834
|
const ingest$1T = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
25718
25835
|
if (process.env.NODE_ENV !== 'production') {
|
|
25719
|
-
const validateError = validate$
|
|
25836
|
+
const validateError = validate$1m(input);
|
|
25720
25837
|
if (validateError !== null) {
|
|
25721
25838
|
throw validateError;
|
|
25722
25839
|
}
|
|
@@ -25738,7 +25855,7 @@ function getTypeCacheKeys$1W(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
25738
25855
|
|
|
25739
25856
|
const TTL$u = 120000;
|
|
25740
25857
|
const VERSION$2d = "09884ca5bf90ea4662092a4e48817081";
|
|
25741
|
-
function validate$
|
|
25858
|
+
function validate$1l(obj, path = 'NavItemRepresentation') {
|
|
25742
25859
|
const v_error = (() => {
|
|
25743
25860
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25744
25861
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26130,7 +26247,7 @@ function equals$J(existing, incoming) {
|
|
|
26130
26247
|
}
|
|
26131
26248
|
const ingest$1S = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26132
26249
|
if (process.env.NODE_ENV !== 'production') {
|
|
26133
|
-
const validateError = validate$
|
|
26250
|
+
const validateError = validate$1l(input);
|
|
26134
26251
|
if (validateError !== null) {
|
|
26135
26252
|
throw validateError;
|
|
26136
26253
|
}
|
|
@@ -26155,7 +26272,7 @@ function getTypeCacheKeys$1V(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
26155
26272
|
|
|
26156
26273
|
const TTL$t = 300000;
|
|
26157
26274
|
const VERSION$2c = "0cd492fdd6c713c206ef53dc02175f71";
|
|
26158
|
-
function validate$
|
|
26275
|
+
function validate$1k(obj, path = 'AppRepresentation') {
|
|
26159
26276
|
const v_error = (() => {
|
|
26160
26277
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26161
26278
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26632,7 +26749,7 @@ function equals$I(existing, incoming) {
|
|
|
26632
26749
|
}
|
|
26633
26750
|
const ingest$1R = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26634
26751
|
if (process.env.NODE_ENV !== 'production') {
|
|
26635
|
-
const validateError = validate$
|
|
26752
|
+
const validateError = validate$1k(input);
|
|
26636
26753
|
if (validateError !== null) {
|
|
26637
26754
|
throw validateError;
|
|
26638
26755
|
}
|
|
@@ -26662,7 +26779,7 @@ function getTypeCacheKeys$1U(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
26662
26779
|
|
|
26663
26780
|
const TTL$s = 300000;
|
|
26664
26781
|
const VERSION$2b = "a254babf0b6414315db7808a157fd9fc";
|
|
26665
|
-
function validate$
|
|
26782
|
+
function validate$1j(obj, path = 'AppsRepresentation') {
|
|
26666
26783
|
const v_error = (() => {
|
|
26667
26784
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26668
26785
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26744,7 +26861,7 @@ function equals$H(existing, incoming) {
|
|
|
26744
26861
|
}
|
|
26745
26862
|
const ingest$1Q = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26746
26863
|
if (process.env.NODE_ENV !== 'production') {
|
|
26747
|
-
const validateError = validate$
|
|
26864
|
+
const validateError = validate$1j(input);
|
|
26748
26865
|
if (validateError !== null) {
|
|
26749
26866
|
throw validateError;
|
|
26750
26867
|
}
|
|
@@ -27052,7 +27169,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
27052
27169
|
};
|
|
27053
27170
|
|
|
27054
27171
|
const VERSION$2a = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
27055
|
-
function validate$
|
|
27172
|
+
function validate$1i(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
27056
27173
|
const v_error = (() => {
|
|
27057
27174
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27058
27175
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27114,7 +27231,7 @@ const select$2A = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
27114
27231
|
};
|
|
27115
27232
|
|
|
27116
27233
|
const VERSION$29 = "320d7f254687278f2763d4b490dab3fb";
|
|
27117
|
-
function validate$
|
|
27234
|
+
function validate$1h(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
27118
27235
|
const v_error = (() => {
|
|
27119
27236
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27120
27237
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27137,7 +27254,7 @@ function validate$1g(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
27137
27254
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
27138
27255
|
const obj_filterItems_item = obj_filterItems[i];
|
|
27139
27256
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
27140
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
27257
|
+
const referencepath_filterItems_itemValidationError = validate$1i(obj_filterItems_item, path_filterItems_item);
|
|
27141
27258
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
27142
27259
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
27143
27260
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -27180,7 +27297,7 @@ const select$2z = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
27180
27297
|
};
|
|
27181
27298
|
|
|
27182
27299
|
const VERSION$28 = "b47b44e260e5ce777beaf3da9088997c";
|
|
27183
|
-
function validate$
|
|
27300
|
+
function validate$1g(obj, path = 'MatchRuleRepresentation') {
|
|
27184
27301
|
const v_error = (() => {
|
|
27185
27302
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27186
27303
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27250,7 +27367,7 @@ const select$2y = function MatchRuleRepresentationSelect() {
|
|
|
27250
27367
|
};
|
|
27251
27368
|
|
|
27252
27369
|
const VERSION$27 = "bb83d7210bb1d7861b6188bc5f552617";
|
|
27253
|
-
function validate$
|
|
27370
|
+
function validate$1f(obj, path = 'DuplicateRuleRepresentation') {
|
|
27254
27371
|
const v_error = (() => {
|
|
27255
27372
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27256
27373
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27278,7 +27395,7 @@ function validate$1e(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
27278
27395
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
27279
27396
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
27280
27397
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
27281
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
27398
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$1h(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
27282
27399
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
27283
27400
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
27284
27401
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -27298,7 +27415,7 @@ function validate$1e(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
27298
27415
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
27299
27416
|
const obj_matchRules_item = obj_matchRules[i];
|
|
27300
27417
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
27301
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
27418
|
+
const referencepath_matchRules_itemValidationError = validate$1g(obj_matchRules_item, path_matchRules_item);
|
|
27302
27419
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
27303
27420
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
27304
27421
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -27391,7 +27508,7 @@ const select$2x = function DuplicateRuleRepresentationSelect() {
|
|
|
27391
27508
|
|
|
27392
27509
|
const TTL$r = 900000;
|
|
27393
27510
|
const VERSION$26 = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
27394
|
-
function validate$
|
|
27511
|
+
function validate$1e(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
27395
27512
|
const v_error = (() => {
|
|
27396
27513
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27397
27514
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27426,7 +27543,7 @@ function validate$1d(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
27426
27543
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
27427
27544
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
27428
27545
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
27429
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
27546
|
+
const referencepath_duplicateRules_itemValidationError = validate$1f(obj_duplicateRules_item, path_duplicateRules_item);
|
|
27430
27547
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
27431
27548
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
27432
27549
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -27493,7 +27610,7 @@ function equals$G(existing, incoming) {
|
|
|
27493
27610
|
}
|
|
27494
27611
|
const ingest$1P = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
27495
27612
|
if (process.env.NODE_ENV !== 'production') {
|
|
27496
|
-
const validateError = validate$
|
|
27613
|
+
const validateError = validate$1e(input);
|
|
27497
27614
|
if (validateError !== null) {
|
|
27498
27615
|
throw validateError;
|
|
27499
27616
|
}
|
|
@@ -27684,7 +27801,7 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
|
27684
27801
|
const storeMetadataParams = {
|
|
27685
27802
|
ttl: TTL$C,
|
|
27686
27803
|
namespace: keyPrefix,
|
|
27687
|
-
version: VERSION$
|
|
27804
|
+
version: VERSION$2w,
|
|
27688
27805
|
representationName: RepresentationType$S
|
|
27689
27806
|
};
|
|
27690
27807
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -27710,7 +27827,7 @@ function onFetchResponseSuccess$w(luvio, config, resourceParams, response) {
|
|
|
27710
27827
|
luvio.storeIngest(key, ingest$24, body);
|
|
27711
27828
|
const snapshot = luvio.storeLookup({
|
|
27712
27829
|
recordId: key,
|
|
27713
|
-
node: select$
|
|
27830
|
+
node: select$37(),
|
|
27714
27831
|
variables: {},
|
|
27715
27832
|
}, {
|
|
27716
27833
|
config,
|
|
@@ -27733,11 +27850,11 @@ function validateAdapterConfig$Q(untrustedConfig, _configPropertyNames) {
|
|
|
27733
27850
|
if (config === null) {
|
|
27734
27851
|
return null;
|
|
27735
27852
|
}
|
|
27736
|
-
// recordTypeId coercion is nuts: if `null` (but not undefined) then use MASTER record type id
|
|
27737
27853
|
let recordTypeId = config.recordTypeId;
|
|
27738
27854
|
if (recordTypeId === undefined) {
|
|
27739
27855
|
// must check untrusted bc config has been coerced
|
|
27740
|
-
if (untrustedConfig.recordTypeId !== null
|
|
27856
|
+
if (untrustedConfig.recordTypeId !== null &&
|
|
27857
|
+
untrustedConfig.recordTypeId !== undefined) {
|
|
27741
27858
|
return null;
|
|
27742
27859
|
}
|
|
27743
27860
|
recordTypeId = MAIN_RECORD_TYPE_ID;
|
|
@@ -27756,7 +27873,7 @@ function buildCachedSnapshotCachePolicy$z(context, storeLookup) {
|
|
|
27756
27873
|
const { luvio, config } = context;
|
|
27757
27874
|
const selector = {
|
|
27758
27875
|
recordId: keyBuilder$3g(luvio, config),
|
|
27759
|
-
node: select$
|
|
27876
|
+
node: select$37(),
|
|
27760
27877
|
variables: {},
|
|
27761
27878
|
};
|
|
27762
27879
|
return storeLookup(selector, {
|
|
@@ -27853,7 +27970,7 @@ function buildCachedSnapshot$5(luvio, config) {
|
|
|
27853
27970
|
});
|
|
27854
27971
|
const selector = {
|
|
27855
27972
|
recordId: key,
|
|
27856
|
-
node: select$
|
|
27973
|
+
node: select$36(),
|
|
27857
27974
|
variables: {},
|
|
27858
27975
|
};
|
|
27859
27976
|
return luvio.storeLookup(selector, {
|
|
@@ -27971,7 +28088,7 @@ function buildCachedSnapshotCachePolicy$y(context, storeLookup) {
|
|
|
27971
28088
|
layoutType,
|
|
27972
28089
|
mode,
|
|
27973
28090
|
}),
|
|
27974
|
-
node: select$
|
|
28091
|
+
node: select$36(),
|
|
27975
28092
|
variables: {},
|
|
27976
28093
|
};
|
|
27977
28094
|
return storeLookup(selector, {
|
|
@@ -28028,7 +28145,7 @@ function keyBuilder$2x(luvio, params) {
|
|
|
28028
28145
|
}
|
|
28029
28146
|
|
|
28030
28147
|
function select$2u(luvio, params) {
|
|
28031
|
-
return select$
|
|
28148
|
+
return select$3o();
|
|
28032
28149
|
}
|
|
28033
28150
|
function getResponseCacheKeys$J(storeKeyMap, luvio, resourceParams, response) {
|
|
28034
28151
|
getTypeCacheKeys$2j(storeKeyMap, luvio, response);
|
|
@@ -28056,7 +28173,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
|
28056
28173
|
const storeMetadataParams = {
|
|
28057
28174
|
ttl: TTL$H,
|
|
28058
28175
|
namespace: keyPrefix,
|
|
28059
|
-
version: VERSION$
|
|
28176
|
+
version: VERSION$2J,
|
|
28060
28177
|
representationName: RepresentationType$11
|
|
28061
28178
|
};
|
|
28062
28179
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -28441,7 +28558,7 @@ function createPaginationParams$1(params) {
|
|
|
28441
28558
|
}
|
|
28442
28559
|
function select$2s(luvio, params) {
|
|
28443
28560
|
const paginationParams = createPaginationParams$1(params);
|
|
28444
|
-
return select$
|
|
28561
|
+
return select$3e(paginationParams);
|
|
28445
28562
|
}
|
|
28446
28563
|
function keyBuilder$2u(luvio, params) {
|
|
28447
28564
|
return keyBuilder$3q(luvio, {
|
|
@@ -28592,7 +28709,7 @@ function getPaginationMetadata$2(luvio, resourceParams) {
|
|
|
28592
28709
|
recordId: key,
|
|
28593
28710
|
node: {
|
|
28594
28711
|
kind: 'Fragment',
|
|
28595
|
-
version: VERSION$
|
|
28712
|
+
version: VERSION$2A,
|
|
28596
28713
|
private: [],
|
|
28597
28714
|
selections: [
|
|
28598
28715
|
{
|
|
@@ -28658,7 +28775,7 @@ const getListInfosByObjectNameAdapterFactory = (luvio) => function UiApi__getLis
|
|
|
28658
28775
|
buildCachedSnapshotCachePolicy$w, buildNetworkSnapshotCachePolicy$x);
|
|
28659
28776
|
};
|
|
28660
28777
|
|
|
28661
|
-
function validate$
|
|
28778
|
+
function validate$1d(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
28662
28779
|
const v_error = (() => {
|
|
28663
28780
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28664
28781
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28689,7 +28806,7 @@ function validate$1c(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
|
28689
28806
|
return v_error === undefined ? null : v_error;
|
|
28690
28807
|
}
|
|
28691
28808
|
|
|
28692
|
-
function validate$
|
|
28809
|
+
function validate$1c(obj, path = 'ListScopeInputRepresentation') {
|
|
28693
28810
|
const v_error = (() => {
|
|
28694
28811
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28695
28812
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28760,7 +28877,7 @@ function validate$1b(obj, path = 'ListScopeInputRepresentation') {
|
|
|
28760
28877
|
}
|
|
28761
28878
|
|
|
28762
28879
|
function select$2r(luvio, params) {
|
|
28763
|
-
return select$
|
|
28880
|
+
return select$3o();
|
|
28764
28881
|
}
|
|
28765
28882
|
function getResponseCacheKeys$G(storeKeyMap, luvio, resourceParams, response) {
|
|
28766
28883
|
getTypeCacheKeys$2j(storeKeyMap, luvio, response);
|
|
@@ -28819,7 +28936,7 @@ function typeCheckConfig$J(untrustedConfig) {
|
|
|
28819
28936
|
const untrustedConfig_filteredByInfo_array = [];
|
|
28820
28937
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
28821
28938
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
28822
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
28939
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$1d(untrustedConfig_filteredByInfo_item);
|
|
28823
28940
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
28824
28941
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
28825
28942
|
}
|
|
@@ -28827,7 +28944,7 @@ function typeCheckConfig$J(untrustedConfig) {
|
|
|
28827
28944
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
28828
28945
|
}
|
|
28829
28946
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
28830
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
28947
|
+
const referenceListScopeInputRepresentationValidationError = validate$1c(untrustedConfig_scope);
|
|
28831
28948
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
28832
28949
|
config.scope = untrustedConfig_scope;
|
|
28833
28950
|
}
|
|
@@ -29051,7 +29168,7 @@ const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoBy
|
|
|
29051
29168
|
};
|
|
29052
29169
|
|
|
29053
29170
|
function select$2q(luvio, params) {
|
|
29054
|
-
return select$
|
|
29171
|
+
return select$3o();
|
|
29055
29172
|
}
|
|
29056
29173
|
function getResponseCacheKeys$E(storeKeyMap, luvio, resourceParams, response) {
|
|
29057
29174
|
getTypeCacheKeys$2j(storeKeyMap, luvio, response);
|
|
@@ -29109,7 +29226,7 @@ function typeCheckConfig$G(untrustedConfig) {
|
|
|
29109
29226
|
const untrustedConfig_filteredByInfo_array = [];
|
|
29110
29227
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
29111
29228
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
29112
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
29229
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$1d(untrustedConfig_filteredByInfo_item);
|
|
29113
29230
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
29114
29231
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
29115
29232
|
}
|
|
@@ -29117,7 +29234,7 @@ function typeCheckConfig$G(untrustedConfig) {
|
|
|
29117
29234
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
29118
29235
|
}
|
|
29119
29236
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
29120
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
29237
|
+
const referenceListScopeInputRepresentationValidationError = validate$1c(untrustedConfig_scope);
|
|
29121
29238
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
29122
29239
|
config.scope = untrustedConfig_scope;
|
|
29123
29240
|
}
|
|
@@ -29167,7 +29284,7 @@ const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
|
29167
29284
|
};
|
|
29168
29285
|
|
|
29169
29286
|
const VERSION$25 = "d77026c4d63ef00cdd7e3d600687a40d";
|
|
29170
|
-
function validate$
|
|
29287
|
+
function validate$1b(obj, path = 'ListObjectScopeAvailableEntityRepresentation') {
|
|
29171
29288
|
const v_error = (() => {
|
|
29172
29289
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29173
29290
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29217,7 +29334,7 @@ function equals$F(existing, incoming) {
|
|
|
29217
29334
|
}
|
|
29218
29335
|
|
|
29219
29336
|
const VERSION$24 = "355933ff2970aa91a2848a94565e956a";
|
|
29220
|
-
function validate$
|
|
29337
|
+
function validate$1a(obj, path = 'ListObjectScopeRepresentation') {
|
|
29221
29338
|
const v_error = (() => {
|
|
29222
29339
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29223
29340
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29235,7 +29352,7 @@ function validate$19(obj, path = 'ListObjectScopeRepresentation') {
|
|
|
29235
29352
|
for (let i = 0; i < obj_availableEntities.length; i++) {
|
|
29236
29353
|
const obj_availableEntities_item = obj_availableEntities[i];
|
|
29237
29354
|
const path_availableEntities_item = path_availableEntities + '[' + i + ']';
|
|
29238
|
-
const referencepath_availableEntities_itemValidationError = validate$
|
|
29355
|
+
const referencepath_availableEntities_itemValidationError = validate$1b(obj_availableEntities_item, path_availableEntities_item);
|
|
29239
29356
|
if (referencepath_availableEntities_itemValidationError !== null) {
|
|
29240
29357
|
let message = 'Object doesn\'t match ListObjectScopeAvailableEntityRepresentation (at "' + path_availableEntities_item + '")\n';
|
|
29241
29358
|
message += referencepath_availableEntities_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29299,7 +29416,7 @@ function equals$E(existing, incoming) {
|
|
|
29299
29416
|
}
|
|
29300
29417
|
|
|
29301
29418
|
const VERSION$23 = "c5c08ea834378670c9d6f235ff71c9f0";
|
|
29302
|
-
function validate$
|
|
29419
|
+
function validate$19(obj, path = 'ListObjectPicklistValueRepresentation') {
|
|
29303
29420
|
const v_error = (() => {
|
|
29304
29421
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29305
29422
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29349,7 +29466,7 @@ function equals$D(existing, incoming) {
|
|
|
29349
29466
|
}
|
|
29350
29467
|
|
|
29351
29468
|
const VERSION$22 = "2c35f797fead79b5c45b521e77dd6ace";
|
|
29352
|
-
function validate$
|
|
29469
|
+
function validate$18(obj, path = 'ListObjectColumnRepresentation') {
|
|
29353
29470
|
const v_error = (() => {
|
|
29354
29471
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29355
29472
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29418,7 +29535,7 @@ function validate$17(obj, path = 'ListObjectColumnRepresentation') {
|
|
|
29418
29535
|
for (let i = 0; i < obj_picklistValues.length; i++) {
|
|
29419
29536
|
const obj_picklistValues_item = obj_picklistValues[i];
|
|
29420
29537
|
const path_picklistValues_item = path_picklistValues + '[' + i + ']';
|
|
29421
|
-
const referencepath_picklistValues_itemValidationError = validate$
|
|
29538
|
+
const referencepath_picklistValues_itemValidationError = validate$19(obj_picklistValues_item, path_picklistValues_item);
|
|
29422
29539
|
if (referencepath_picklistValues_itemValidationError !== null) {
|
|
29423
29540
|
let message = 'Object doesn\'t match ListObjectPicklistValueRepresentation (at "' + path_picklistValues_item + '")\n';
|
|
29424
29541
|
message += referencepath_picklistValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29564,7 +29681,7 @@ function equals$C(existing, incoming) {
|
|
|
29564
29681
|
|
|
29565
29682
|
const TTL$q = 900000;
|
|
29566
29683
|
const VERSION$21 = "2405a0b25c2c00f82e88b600edc16387";
|
|
29567
|
-
function validate$
|
|
29684
|
+
function validate$17(obj, path = 'ListObjectInfoRepresentation') {
|
|
29568
29685
|
const v_error = (() => {
|
|
29569
29686
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29570
29687
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29577,7 +29694,7 @@ function validate$16(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
29577
29694
|
for (let i = 0; i < obj_availableScopes.length; i++) {
|
|
29578
29695
|
const obj_availableScopes_item = obj_availableScopes[i];
|
|
29579
29696
|
const path_availableScopes_item = path_availableScopes + '[' + i + ']';
|
|
29580
|
-
const referencepath_availableScopes_itemValidationError = validate$
|
|
29697
|
+
const referencepath_availableScopes_itemValidationError = validate$1a(obj_availableScopes_item, path_availableScopes_item);
|
|
29581
29698
|
if (referencepath_availableScopes_itemValidationError !== null) {
|
|
29582
29699
|
let message = 'Object doesn\'t match ListObjectScopeRepresentation (at "' + path_availableScopes_item + '")\n';
|
|
29583
29700
|
message += referencepath_availableScopes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29592,7 +29709,7 @@ function validate$16(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
29592
29709
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
29593
29710
|
const obj_columns_item = obj_columns[i];
|
|
29594
29711
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
29595
|
-
const referencepath_columns_itemValidationError = validate$
|
|
29712
|
+
const referencepath_columns_itemValidationError = validate$18(obj_columns_item, path_columns_item);
|
|
29596
29713
|
if (referencepath_columns_itemValidationError !== null) {
|
|
29597
29714
|
let message = 'Object doesn\'t match ListObjectColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
29598
29715
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29740,7 +29857,7 @@ function equals$B(existing, incoming) {
|
|
|
29740
29857
|
}
|
|
29741
29858
|
const ingest$1O = function ListObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29742
29859
|
if (process.env.NODE_ENV !== 'production') {
|
|
29743
|
-
const validateError = validate$
|
|
29860
|
+
const validateError = validate$17(input);
|
|
29744
29861
|
if (validateError !== null) {
|
|
29745
29862
|
throw validateError;
|
|
29746
29863
|
}
|
|
@@ -29903,7 +30020,7 @@ const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObject
|
|
|
29903
30020
|
|
|
29904
30021
|
const TTL$p = 900000;
|
|
29905
30022
|
const VERSION$20 = "458d4a6a30201e422e8daec5fcb03845";
|
|
29906
|
-
function validate$
|
|
30023
|
+
function validate$16(obj, path = 'ListPreferencesRepresentation') {
|
|
29907
30024
|
const v_error = (() => {
|
|
29908
30025
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29909
30026
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29938,7 +30055,7 @@ function validate$15(obj, path = 'ListPreferencesRepresentation') {
|
|
|
29938
30055
|
}
|
|
29939
30056
|
const obj_listReference = obj.listReference;
|
|
29940
30057
|
const path_listReference = path + '.listReference';
|
|
29941
|
-
const referencepath_listReferenceValidationError = validate$
|
|
30058
|
+
const referencepath_listReferenceValidationError = validate$2c(obj_listReference, path_listReference);
|
|
29942
30059
|
if (referencepath_listReferenceValidationError !== null) {
|
|
29943
30060
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
29944
30061
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29952,7 +30069,7 @@ function validate$15(obj, path = 'ListPreferencesRepresentation') {
|
|
|
29952
30069
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
29953
30070
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
29954
30071
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
29955
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
30072
|
+
const referencepath_orderedBy_itemValidationError = validate$29(obj_orderedBy_item, path_orderedBy_item);
|
|
29956
30073
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
29957
30074
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
29958
30075
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29977,8 +30094,8 @@ function normalize$r(input, existing, path, luvio, store, timestamp) {
|
|
|
29977
30094
|
return input;
|
|
29978
30095
|
}
|
|
29979
30096
|
const select$2j = function ListPreferencesRepresentationSelect() {
|
|
29980
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
29981
|
-
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$
|
|
30097
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$3x();
|
|
30098
|
+
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$3u();
|
|
29982
30099
|
return {
|
|
29983
30100
|
kind: 'Fragment',
|
|
29984
30101
|
version: VERSION$20,
|
|
@@ -30031,13 +30148,13 @@ function equals$A(existing, incoming) {
|
|
|
30031
30148
|
}
|
|
30032
30149
|
const existing_listReference = existing.listReference;
|
|
30033
30150
|
const incoming_listReference = incoming.listReference;
|
|
30034
|
-
if (!(equals$
|
|
30151
|
+
if (!(equals$1f(existing_listReference, incoming_listReference))) {
|
|
30035
30152
|
return false;
|
|
30036
30153
|
}
|
|
30037
30154
|
const existing_orderedBy = existing.orderedBy;
|
|
30038
30155
|
const incoming_orderedBy = incoming.orderedBy;
|
|
30039
30156
|
const equals_orderedBy_items = equalsArray(existing_orderedBy, incoming_orderedBy, (existing_orderedBy_item, incoming_orderedBy_item) => {
|
|
30040
|
-
if (!(equals$
|
|
30157
|
+
if (!(equals$1e(existing_orderedBy_item, incoming_orderedBy_item))) {
|
|
30041
30158
|
return false;
|
|
30042
30159
|
}
|
|
30043
30160
|
});
|
|
@@ -30048,7 +30165,7 @@ function equals$A(existing, incoming) {
|
|
|
30048
30165
|
}
|
|
30049
30166
|
const ingest$1N = function ListPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30050
30167
|
if (process.env.NODE_ENV !== 'production') {
|
|
30051
|
-
const validateError = validate$
|
|
30168
|
+
const validateError = validate$16(input);
|
|
30052
30169
|
if (validateError !== null) {
|
|
30053
30170
|
throw validateError;
|
|
30054
30171
|
}
|
|
@@ -30211,7 +30328,7 @@ const getListPreferencesAdapterFactory = (luvio) => function UiApi__getListPrefe
|
|
|
30211
30328
|
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
30212
30329
|
};
|
|
30213
30330
|
|
|
30214
|
-
function validate$
|
|
30331
|
+
function validate$15(obj, path = 'ListOrderedByInfoInputRepresentation') {
|
|
30215
30332
|
const v_error = (() => {
|
|
30216
30333
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30217
30334
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30319,7 +30436,7 @@ function typeCheckConfig$D(untrustedConfig) {
|
|
|
30319
30436
|
const untrustedConfig_orderedBy_array = [];
|
|
30320
30437
|
for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
|
|
30321
30438
|
const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
|
|
30322
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
30439
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$15(untrustedConfig_orderedBy_item);
|
|
30323
30440
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
30324
30441
|
untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
|
|
30325
30442
|
}
|
|
@@ -30373,7 +30490,7 @@ const updateListPreferencesAdapterFactory = (luvio) => {
|
|
|
30373
30490
|
|
|
30374
30491
|
const TTL$o = 120000;
|
|
30375
30492
|
const VERSION$1$ = "756779d0d7e137dd72c743544afbad82";
|
|
30376
|
-
function validate$
|
|
30493
|
+
function validate$14(obj, path = 'NavItemsRepresentation') {
|
|
30377
30494
|
const v_error = (() => {
|
|
30378
30495
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30379
30496
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30501,7 +30618,7 @@ function equals$z(existing, incoming) {
|
|
|
30501
30618
|
}
|
|
30502
30619
|
const ingest$1M = function NavItemsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30503
30620
|
if (process.env.NODE_ENV !== 'production') {
|
|
30504
|
-
const validateError = validate$
|
|
30621
|
+
const validateError = validate$14(input);
|
|
30505
30622
|
if (validateError !== null) {
|
|
30506
30623
|
throw validateError;
|
|
30507
30624
|
}
|
|
@@ -30705,7 +30822,7 @@ function selectChildResourceParams$5(luvio, childResources, resourceParams) {
|
|
|
30705
30822
|
reader.enterPath(envelopeBodyPath);
|
|
30706
30823
|
const childResource = childResources[i];
|
|
30707
30824
|
const childKey = keyBuilder$3i(luvio, childResource);
|
|
30708
|
-
const childFragment = select$
|
|
30825
|
+
const childFragment = select$38();
|
|
30709
30826
|
const isMissingDataBeforeChildRead = reader.getIsDataMissing();
|
|
30710
30827
|
const childSnapshot = reader.read({
|
|
30711
30828
|
recordId: childKey,
|
|
@@ -31108,7 +31225,7 @@ var DiscriminatorValues$4;
|
|
|
31108
31225
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
31109
31226
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
31110
31227
|
const VERSION$1W = "bd523b2343366edfc25a2dbee2c4e986";
|
|
31111
|
-
function validate$
|
|
31228
|
+
function validate$13(obj, path = 'AbstractPicklistValueAttributesRepresentation') {
|
|
31112
31229
|
const v_error = (() => {
|
|
31113
31230
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
31114
31231
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31153,7 +31270,7 @@ const select$28 = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
31153
31270
|
};
|
|
31154
31271
|
|
|
31155
31272
|
const VERSION$1V = "9e2a16a80378487f557124c771201cf9";
|
|
31156
|
-
function validate$
|
|
31273
|
+
function validate$12(obj, path = 'PicklistValueRepresentation') {
|
|
31157
31274
|
const v_error = (() => {
|
|
31158
31275
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
31159
31276
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31162,7 +31279,7 @@ function validate$11(obj, path = 'PicklistValueRepresentation') {
|
|
|
31162
31279
|
const path_attributes = path + '.attributes';
|
|
31163
31280
|
let obj_attributes_union0 = null;
|
|
31164
31281
|
const obj_attributes_union0_error = (() => {
|
|
31165
|
-
const referencepath_attributesValidationError = validate$
|
|
31282
|
+
const referencepath_attributesValidationError = validate$13(obj_attributes, path_attributes);
|
|
31166
31283
|
if (referencepath_attributesValidationError !== null) {
|
|
31167
31284
|
let message = 'Object doesn\'t match AbstractPicklistValueAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
31168
31285
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31257,7 +31374,7 @@ function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
|
31257
31374
|
|
|
31258
31375
|
const TTL$n = 900000;
|
|
31259
31376
|
const VERSION$1U = "0a361a49370acb4c6a31721a2057649a";
|
|
31260
|
-
function validate$
|
|
31377
|
+
function validate$11(obj, path = 'PicklistValuesRepresentation') {
|
|
31261
31378
|
const v_error = (() => {
|
|
31262
31379
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
31263
31380
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31280,7 +31397,7 @@ function validate$10(obj, path = 'PicklistValuesRepresentation') {
|
|
|
31280
31397
|
const path_defaultValue = path + '.defaultValue';
|
|
31281
31398
|
let obj_defaultValue_union0 = null;
|
|
31282
31399
|
const obj_defaultValue_union0_error = (() => {
|
|
31283
|
-
const referencepath_defaultValueValidationError = validate$
|
|
31400
|
+
const referencepath_defaultValueValidationError = validate$12(obj_defaultValue, path_defaultValue);
|
|
31284
31401
|
if (referencepath_defaultValueValidationError !== null) {
|
|
31285
31402
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_defaultValue + '")\n';
|
|
31286
31403
|
message += referencepath_defaultValueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31323,7 +31440,7 @@ function validate$10(obj, path = 'PicklistValuesRepresentation') {
|
|
|
31323
31440
|
for (let i = 0; i < obj_values.length; i++) {
|
|
31324
31441
|
const obj_values_item = obj_values[i];
|
|
31325
31442
|
const path_values_item = path_values + '[' + i + ']';
|
|
31326
|
-
const referencepath_values_itemValidationError = validate$
|
|
31443
|
+
const referencepath_values_itemValidationError = validate$12(obj_values_item, path_values_item);
|
|
31327
31444
|
if (referencepath_values_itemValidationError !== null) {
|
|
31328
31445
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_values_item + '")\n';
|
|
31329
31446
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31381,7 +31498,7 @@ function equals$y(existing, incoming) {
|
|
|
31381
31498
|
}
|
|
31382
31499
|
const ingest$1L = function PicklistValuesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
31383
31500
|
if (process.env.NODE_ENV !== 'production') {
|
|
31384
|
-
const validateError = validate$
|
|
31501
|
+
const validateError = validate$11(input);
|
|
31385
31502
|
if (validateError !== null) {
|
|
31386
31503
|
throw validateError;
|
|
31387
31504
|
}
|
|
@@ -31403,7 +31520,7 @@ function getTypeCacheKeys$1O(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
31403
31520
|
|
|
31404
31521
|
const TTL$m = 900000;
|
|
31405
31522
|
const VERSION$1T = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
31406
|
-
function validate
|
|
31523
|
+
function validate$10(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
31407
31524
|
const v_error = (() => {
|
|
31408
31525
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
31409
31526
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31490,7 +31607,7 @@ function equals$x(existing, incoming) {
|
|
|
31490
31607
|
}
|
|
31491
31608
|
const ingest$1K = function PicklistValuesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
31492
31609
|
if (process.env.NODE_ENV !== 'production') {
|
|
31493
|
-
const validateError = validate
|
|
31610
|
+
const validateError = validate$10(input);
|
|
31494
31611
|
if (validateError !== null) {
|
|
31495
31612
|
throw validateError;
|
|
31496
31613
|
}
|
|
@@ -31828,7 +31945,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
31828
31945
|
};
|
|
31829
31946
|
|
|
31830
31947
|
function select$23(luvio, params) {
|
|
31831
|
-
return select$
|
|
31948
|
+
return select$37();
|
|
31832
31949
|
}
|
|
31833
31950
|
function keyBuilder$2b(luvio, params) {
|
|
31834
31951
|
return keyBuilder$3g(luvio, {
|
|
@@ -31866,7 +31983,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
|
31866
31983
|
const storeMetadataParams = {
|
|
31867
31984
|
ttl: TTL$C,
|
|
31868
31985
|
namespace: keyPrefix,
|
|
31869
|
-
version: VERSION$
|
|
31986
|
+
version: VERSION$2w,
|
|
31870
31987
|
representationName: RepresentationType$S
|
|
31871
31988
|
};
|
|
31872
31989
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -31977,7 +32094,7 @@ const getPathLayoutAdapterFactory = (luvio) => function UiApi__getPathLayout(unt
|
|
|
31977
32094
|
buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$o);
|
|
31978
32095
|
};
|
|
31979
32096
|
|
|
31980
|
-
function validate
|
|
32097
|
+
function validate$$(obj, path = 'MatchResultInfoRepresentation') {
|
|
31981
32098
|
const v_error = (() => {
|
|
31982
32099
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
31983
32100
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32003,7 +32120,7 @@ function validate$_(obj, path = 'MatchResultInfoRepresentation') {
|
|
|
32003
32120
|
return v_error === undefined ? null : v_error;
|
|
32004
32121
|
}
|
|
32005
32122
|
|
|
32006
|
-
function validate$
|
|
32123
|
+
function validate$_(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
32007
32124
|
const v_error = (() => {
|
|
32008
32125
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32009
32126
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32015,7 +32132,7 @@ function validate$Z(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
32015
32132
|
}
|
|
32016
32133
|
const obj_matchResultInfo = obj.matchResultInfo;
|
|
32017
32134
|
const path_matchResultInfo = path + '.matchResultInfo';
|
|
32018
|
-
const referencepath_matchResultInfoValidationError = validate
|
|
32135
|
+
const referencepath_matchResultInfoValidationError = validate$$(obj_matchResultInfo, path_matchResultInfo);
|
|
32019
32136
|
if (referencepath_matchResultInfoValidationError !== null) {
|
|
32020
32137
|
let message = 'Object doesn\'t match MatchResultInfoRepresentation (at "' + path_matchResultInfo + '")\n';
|
|
32021
32138
|
message += referencepath_matchResultInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32030,7 +32147,7 @@ function validate$Z(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
32030
32147
|
return v_error === undefined ? null : v_error;
|
|
32031
32148
|
}
|
|
32032
32149
|
|
|
32033
|
-
function validate$
|
|
32150
|
+
function validate$Z(obj, path = 'MatchRepresentation') {
|
|
32034
32151
|
const v_error = (() => {
|
|
32035
32152
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32036
32153
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32045,7 +32162,7 @@ function validate$Y(obj, path = 'MatchRepresentation') {
|
|
|
32045
32162
|
const key = obj_duplicateResultInfos_keys[i];
|
|
32046
32163
|
const obj_duplicateResultInfos_prop = obj_duplicateResultInfos[key];
|
|
32047
32164
|
const path_duplicateResultInfos_prop = path_duplicateResultInfos + '["' + key + '"]';
|
|
32048
|
-
const referencepath_duplicateResultInfos_propValidationError = validate$
|
|
32165
|
+
const referencepath_duplicateResultInfos_propValidationError = validate$_(obj_duplicateResultInfos_prop, path_duplicateResultInfos_prop);
|
|
32049
32166
|
if (referencepath_duplicateResultInfos_propValidationError !== null) {
|
|
32050
32167
|
let message = 'Object doesn\'t match DuplicateResultInfoRepresentation (at "' + path_duplicateResultInfos_prop + '")\n';
|
|
32051
32168
|
message += referencepath_duplicateResultInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32075,7 +32192,7 @@ function validate$Y(obj, path = 'MatchRepresentation') {
|
|
|
32075
32192
|
|
|
32076
32193
|
const TTL$l = 30000;
|
|
32077
32194
|
const VERSION$1S = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
32078
|
-
function validate$
|
|
32195
|
+
function validate$Y(obj, path = 'DuplicatesRepresentation') {
|
|
32079
32196
|
const v_error = (() => {
|
|
32080
32197
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32081
32198
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32110,7 +32227,7 @@ function validate$X(obj, path = 'DuplicatesRepresentation') {
|
|
|
32110
32227
|
for (let i = 0; i < obj_matches.length; i++) {
|
|
32111
32228
|
const obj_matches_item = obj_matches[i];
|
|
32112
32229
|
const path_matches_item = path_matches + '[' + i + ']';
|
|
32113
|
-
const referencepath_matches_itemValidationError = validate$
|
|
32230
|
+
const referencepath_matches_itemValidationError = validate$Z(obj_matches_item, path_matches_item);
|
|
32114
32231
|
if (referencepath_matches_itemValidationError !== null) {
|
|
32115
32232
|
let message = 'Object doesn\'t match MatchRepresentation (at "' + path_matches_item + '")\n';
|
|
32116
32233
|
message += referencepath_matches_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32140,7 +32257,7 @@ function equals$w(existing, incoming) {
|
|
|
32140
32257
|
}
|
|
32141
32258
|
const ingest$1J = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
32142
32259
|
if (process.env.NODE_ENV !== 'production') {
|
|
32143
|
-
const validateError = validate$
|
|
32260
|
+
const validateError = validate$Y(input);
|
|
32144
32261
|
if (validateError !== null) {
|
|
32145
32262
|
throw validateError;
|
|
32146
32263
|
}
|
|
@@ -32333,7 +32450,7 @@ const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(unt
|
|
|
32333
32450
|
};
|
|
32334
32451
|
|
|
32335
32452
|
const VERSION$1R = "e84b9ffdeff97c411bd111f2a55cf6b6";
|
|
32336
|
-
function validate$
|
|
32453
|
+
function validate$X(obj, path = 'PhotoMetadataRepresentation') {
|
|
32337
32454
|
const v_error = (() => {
|
|
32338
32455
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32339
32456
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32425,8 +32542,8 @@ function equals$v(existing, incoming) {
|
|
|
32425
32542
|
}
|
|
32426
32543
|
|
|
32427
32544
|
const VERSION$1Q = "34ffbf4219dfebb707bff609c2d5bf89";
|
|
32428
|
-
function validate$
|
|
32429
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
32545
|
+
function validate$W(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
32546
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$U(obj, path);
|
|
32430
32547
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
32431
32548
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
32432
32549
|
}
|
|
@@ -32493,7 +32610,7 @@ function validate$V(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
|
32493
32610
|
}
|
|
32494
32611
|
const obj_photoMetadata = obj.photoMetadata;
|
|
32495
32612
|
const path_photoMetadata = path + '.photoMetadata';
|
|
32496
|
-
const referencepath_photoMetadataValidationError = validate$
|
|
32613
|
+
const referencepath_photoMetadataValidationError = validate$X(obj_photoMetadata, path_photoMetadata);
|
|
32497
32614
|
if (referencepath_photoMetadataValidationError !== null) {
|
|
32498
32615
|
let message = 'Object doesn\'t match PhotoMetadataRepresentation (at "' + path_photoMetadata + '")\n';
|
|
32499
32616
|
message += referencepath_photoMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32648,7 +32765,7 @@ function equals$u(existing, incoming) {
|
|
|
32648
32765
|
}
|
|
32649
32766
|
const ingest$1I = function PhotoRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
32650
32767
|
if (process.env.NODE_ENV !== 'production') {
|
|
32651
|
-
const validateError = validate$
|
|
32768
|
+
const validateError = validate$W(input);
|
|
32652
32769
|
if (validateError !== null) {
|
|
32653
32770
|
throw validateError;
|
|
32654
32771
|
}
|
|
@@ -32669,8 +32786,8 @@ function getTypeCacheKeys$1L(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
32669
32786
|
}
|
|
32670
32787
|
|
|
32671
32788
|
const VERSION$1P = "cbdcf69a6568d41ccf155b2b95ec70e7";
|
|
32672
|
-
function validate$
|
|
32673
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
32789
|
+
function validate$V(obj, path = 'ThemeRecordAvatarRepresentation') {
|
|
32790
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$U(obj, path);
|
|
32674
32791
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
32675
32792
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
32676
32793
|
}
|
|
@@ -32789,7 +32906,7 @@ function equals$t(existing, incoming) {
|
|
|
32789
32906
|
}
|
|
32790
32907
|
const ingest$1H = function ThemeRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
32791
32908
|
if (process.env.NODE_ENV !== 'production') {
|
|
32792
|
-
const validateError = validate$
|
|
32909
|
+
const validateError = validate$V(input);
|
|
32793
32910
|
if (validateError !== null) {
|
|
32794
32911
|
throw validateError;
|
|
32795
32912
|
}
|
|
@@ -32815,7 +32932,7 @@ var DiscriminatorValues$3;
|
|
|
32815
32932
|
DiscriminatorValues["Theme"] = "Theme";
|
|
32816
32933
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
32817
32934
|
const VERSION$1O = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
32818
|
-
function validate$
|
|
32935
|
+
function validate$U(obj, path = 'AbstractRecordAvatarRepresentation') {
|
|
32819
32936
|
const v_error = (() => {
|
|
32820
32937
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32821
32938
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32908,8 +33025,8 @@ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
32908
33025
|
}
|
|
32909
33026
|
|
|
32910
33027
|
const VERSION$1N = "f531b44760afecfce89990fe5a5c5c29";
|
|
32911
|
-
function validate$
|
|
32912
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
33028
|
+
function validate$T(obj, path = 'RecordAvatarBatchRepresentation') {
|
|
33029
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$P(obj, path);
|
|
32913
33030
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
32914
33031
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
32915
33032
|
}
|
|
@@ -32970,7 +33087,7 @@ function equals$r(existing, incoming) {
|
|
|
32970
33087
|
}
|
|
32971
33088
|
const ingest$1G = function RecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
32972
33089
|
if (process.env.NODE_ENV !== 'production') {
|
|
32973
|
-
const validateError = validate$
|
|
33090
|
+
const validateError = validate$T(input);
|
|
32974
33091
|
if (validateError !== null) {
|
|
32975
33092
|
throw validateError;
|
|
32976
33093
|
}
|
|
@@ -32991,7 +33108,7 @@ function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
32991
33108
|
}
|
|
32992
33109
|
|
|
32993
33110
|
const VERSION$1M = "17c20b01167dba9a81452e60bb28b2f2";
|
|
32994
|
-
function validate$
|
|
33111
|
+
function validate$S(obj, path = 'ErrorSingleRecordAvatarRepresentation') {
|
|
32995
33112
|
const v_error = (() => {
|
|
32996
33113
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32997
33114
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -33041,8 +33158,8 @@ function equals$q(existing, incoming) {
|
|
|
33041
33158
|
}
|
|
33042
33159
|
|
|
33043
33160
|
const VERSION$1L = "e7fac2bfb5cdacc5e0f15c350f9ab8fe";
|
|
33044
|
-
function validate$
|
|
33045
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
33161
|
+
function validate$R(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation') {
|
|
33162
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$P(obj, path);
|
|
33046
33163
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
33047
33164
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
33048
33165
|
}
|
|
@@ -33058,7 +33175,7 @@ function validate$Q(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation'
|
|
|
33058
33175
|
for (let i = 0; i < obj_result.length; i++) {
|
|
33059
33176
|
const obj_result_item = obj_result[i];
|
|
33060
33177
|
const path_result_item = path_result + '[' + i + ']';
|
|
33061
|
-
const referencepath_result_itemValidationError = validate$
|
|
33178
|
+
const referencepath_result_itemValidationError = validate$S(obj_result_item, path_result_item);
|
|
33062
33179
|
if (referencepath_result_itemValidationError !== null) {
|
|
33063
33180
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
33064
33181
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -33108,7 +33225,7 @@ function equals$p(existing, incoming) {
|
|
|
33108
33225
|
}
|
|
33109
33226
|
const ingest$1F = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
33110
33227
|
if (process.env.NODE_ENV !== 'production') {
|
|
33111
|
-
const validateError = validate$
|
|
33228
|
+
const validateError = validate$R(input);
|
|
33112
33229
|
if (validateError !== null) {
|
|
33113
33230
|
throw validateError;
|
|
33114
33231
|
}
|
|
@@ -33129,8 +33246,8 @@ function getTypeCacheKeys$1H(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
33129
33246
|
}
|
|
33130
33247
|
|
|
33131
33248
|
const VERSION$1K = "cbd48fd50d0db463fdff7b1834c22bed";
|
|
33132
|
-
function validate$
|
|
33133
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
33249
|
+
function validate$Q(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
33250
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$P(obj, path);
|
|
33134
33251
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
33135
33252
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
33136
33253
|
}
|
|
@@ -33146,7 +33263,7 @@ function validate$P(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
|
33146
33263
|
for (let i = 0; i < obj_result.length; i++) {
|
|
33147
33264
|
const obj_result_item = obj_result[i];
|
|
33148
33265
|
const path_result_item = path_result + '[' + i + ']';
|
|
33149
|
-
const referencepath_result_itemValidationError = validate$
|
|
33266
|
+
const referencepath_result_itemValidationError = validate$S(obj_result_item, path_result_item);
|
|
33150
33267
|
if (referencepath_result_itemValidationError !== null) {
|
|
33151
33268
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
33152
33269
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -33196,7 +33313,7 @@ function equals$o(existing, incoming) {
|
|
|
33196
33313
|
}
|
|
33197
33314
|
const ingest$1E = function ErrorRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
33198
33315
|
if (process.env.NODE_ENV !== 'production') {
|
|
33199
|
-
const validateError = validate$
|
|
33316
|
+
const validateError = validate$Q(input);
|
|
33200
33317
|
if (validateError !== null) {
|
|
33201
33318
|
throw validateError;
|
|
33202
33319
|
}
|
|
@@ -33223,7 +33340,7 @@ const DiscriminatorValues$2 = {
|
|
|
33223
33340
|
};
|
|
33224
33341
|
const TTL$k = 300000;
|
|
33225
33342
|
const VERSION$1J = "8956293536e94d5ec63b274b61033d2c";
|
|
33226
|
-
function validate$
|
|
33343
|
+
function validate$P(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
33227
33344
|
const v_error = (() => {
|
|
33228
33345
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
33229
33346
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -33301,7 +33418,7 @@ function getTypeCacheKeys$1F(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
33301
33418
|
|
|
33302
33419
|
const TTL$j = 3600000;
|
|
33303
33420
|
const VERSION$1I = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
33304
|
-
function validate$
|
|
33421
|
+
function validate$O(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
33305
33422
|
const v_error = (() => {
|
|
33306
33423
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
33307
33424
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -33380,7 +33497,7 @@ function merge(existing, incoming, _luvio, _path) {
|
|
|
33380
33497
|
|
|
33381
33498
|
const ingest$1D = function RecordAvatarBulkMapRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
33382
33499
|
if (process.env.NODE_ENV !== 'production') {
|
|
33383
|
-
const validateError = validate$
|
|
33500
|
+
const validateError = validate$O(input);
|
|
33384
33501
|
if (validateError !== null) {
|
|
33385
33502
|
throw validateError;
|
|
33386
33503
|
}
|
|
@@ -33871,7 +33988,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
33871
33988
|
};
|
|
33872
33989
|
|
|
33873
33990
|
const VERSION$1H = "4d4bdab5d0aa61e365e766409c9b3a31";
|
|
33874
|
-
function validate$
|
|
33991
|
+
function validate$N(obj, path = 'RelatedListReferenceRepresentation') {
|
|
33875
33992
|
const v_error = (() => {
|
|
33876
33993
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
33877
33994
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34110,7 +34227,7 @@ function equals$l(existing, incoming) {
|
|
|
34110
34227
|
}
|
|
34111
34228
|
|
|
34112
34229
|
const VERSION$1G = "836b875b519813e7499efc62f0f1d04b";
|
|
34113
|
-
function validate$
|
|
34230
|
+
function validate$M(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
34114
34231
|
const v_error = (() => {
|
|
34115
34232
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
34116
34233
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34153,7 +34270,7 @@ function validate$L(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
|
34153
34270
|
}
|
|
34154
34271
|
const obj_listReference = obj.listReference;
|
|
34155
34272
|
const path_listReference = path + '.listReference';
|
|
34156
|
-
const referencepath_listReferenceValidationError = validate$
|
|
34273
|
+
const referencepath_listReferenceValidationError = validate$N(obj_listReference, path_listReference);
|
|
34157
34274
|
if (referencepath_listReferenceValidationError !== null) {
|
|
34158
34275
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
34159
34276
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -34226,7 +34343,7 @@ function equals$k(existing, incoming) {
|
|
|
34226
34343
|
}
|
|
34227
34344
|
const ingest$1C = function RelatedListRecordCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
34228
34345
|
if (process.env.NODE_ENV !== 'production') {
|
|
34229
|
-
const validateError = validate$
|
|
34346
|
+
const validateError = validate$M(input);
|
|
34230
34347
|
if (validateError !== null) {
|
|
34231
34348
|
throw validateError;
|
|
34232
34349
|
}
|
|
@@ -34738,7 +34855,7 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
34738
34855
|
buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$j);
|
|
34739
34856
|
};
|
|
34740
34857
|
|
|
34741
|
-
function validate$
|
|
34858
|
+
function validate$L(obj, path = 'RelatedListColumnRepresentation') {
|
|
34742
34859
|
const v_error = (() => {
|
|
34743
34860
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
34744
34861
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34889,7 +35006,7 @@ function validate$K(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
34889
35006
|
|
|
34890
35007
|
const TTL$i = 900000;
|
|
34891
35008
|
const VERSION$1F = "c977d65d153a2b4e888ddd45fb083248";
|
|
34892
|
-
function validate$
|
|
35009
|
+
function validate$K(obj, path = 'RelatedListInfoRepresentation') {
|
|
34893
35010
|
const v_error = (() => {
|
|
34894
35011
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
34895
35012
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34917,7 +35034,7 @@ function validate$J(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
34917
35034
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
34918
35035
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
34919
35036
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
34920
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
35037
|
+
const referencepath_displayColumns_itemValidationError = validate$L(obj_displayColumns_item, path_displayColumns_item);
|
|
34921
35038
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
34922
35039
|
let message = 'Object doesn\'t match RelatedListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
34923
35040
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -34964,7 +35081,7 @@ function validate$J(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
34964
35081
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
34965
35082
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
34966
35083
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
34967
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
35084
|
+
const referencepath_filteredByInfo_itemValidationError = validate$2e(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
34968
35085
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
34969
35086
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
34970
35087
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -34978,7 +35095,7 @@ function validate$J(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
34978
35095
|
}
|
|
34979
35096
|
const obj_listReference = obj.listReference;
|
|
34980
35097
|
const path_listReference = path + '.listReference';
|
|
34981
|
-
const referencepath_listReferenceValidationError = validate$
|
|
35098
|
+
const referencepath_listReferenceValidationError = validate$N(obj_listReference, path_listReference);
|
|
34982
35099
|
if (referencepath_listReferenceValidationError !== null) {
|
|
34983
35100
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
34984
35101
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35016,7 +35133,7 @@ function validate$J(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
35016
35133
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
35017
35134
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
35018
35135
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
35019
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
35136
|
+
const referencepath_orderedByInfo_itemValidationError = validate$29(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
35020
35137
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
35021
35138
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
35022
35139
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35035,7 +35152,7 @@ function validate$J(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
35035
35152
|
}
|
|
35036
35153
|
const obj_userPreferences = obj.userPreferences;
|
|
35037
35154
|
const path_userPreferences = path + '.userPreferences';
|
|
35038
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
35155
|
+
const referencepath_userPreferencesValidationError = validate$25(obj_userPreferences, path_userPreferences);
|
|
35039
35156
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
35040
35157
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
35041
35158
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35175,7 +35292,7 @@ function equals$j(existing, incoming) {
|
|
|
35175
35292
|
}
|
|
35176
35293
|
const ingest$1B = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
35177
35294
|
if (process.env.NODE_ENV !== 'production') {
|
|
35178
|
-
const validateError = validate$
|
|
35295
|
+
const validateError = validate$K(input);
|
|
35179
35296
|
if (validateError !== null) {
|
|
35180
35297
|
throw validateError;
|
|
35181
35298
|
}
|
|
@@ -35613,7 +35730,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
35613
35730
|
buildCachedSnapshotCachePolicy$h, buildNetworkSnapshotCachePolicy$i);
|
|
35614
35731
|
};
|
|
35615
35732
|
|
|
35616
|
-
function validate$
|
|
35733
|
+
function validate$J(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
35617
35734
|
const v_error = (() => {
|
|
35618
35735
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35619
35736
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35709,7 +35826,7 @@ function validate$I(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
35709
35826
|
const path_themeInfo = path + '.themeInfo';
|
|
35710
35827
|
let obj_themeInfo_union0 = null;
|
|
35711
35828
|
const obj_themeInfo_union0_error = (() => {
|
|
35712
|
-
const referencepath_themeInfoValidationError = validate$
|
|
35829
|
+
const referencepath_themeInfoValidationError = validate$1O(obj_themeInfo, path_themeInfo);
|
|
35713
35830
|
if (referencepath_themeInfoValidationError !== null) {
|
|
35714
35831
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
35715
35832
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35744,7 +35861,7 @@ function validate$I(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
35744
35861
|
}
|
|
35745
35862
|
|
|
35746
35863
|
const VERSION$1E = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
35747
|
-
function validate$
|
|
35864
|
+
function validate$I(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
|
|
35748
35865
|
const v_error = (() => {
|
|
35749
35866
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35750
35867
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35793,7 +35910,7 @@ function validate$H(obj, path = 'RelatedListSummaryInfoCollectionRepresentation'
|
|
|
35793
35910
|
for (let i = 0; i < obj_relatedLists.length; i++) {
|
|
35794
35911
|
const obj_relatedLists_item = obj_relatedLists[i];
|
|
35795
35912
|
const path_relatedLists_item = path_relatedLists + '[' + i + ']';
|
|
35796
|
-
const referencepath_relatedLists_itemValidationError = validate$
|
|
35913
|
+
const referencepath_relatedLists_itemValidationError = validate$J(obj_relatedLists_item, path_relatedLists_item);
|
|
35797
35914
|
if (referencepath_relatedLists_itemValidationError !== null) {
|
|
35798
35915
|
let message = 'Object doesn\'t match RelatedListSummaryInfoRepresentation (at "' + path_relatedLists_item + '")\n';
|
|
35799
35916
|
message += referencepath_relatedLists_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35849,7 +35966,7 @@ function equals$i(existing, incoming) {
|
|
|
35849
35966
|
}
|
|
35850
35967
|
const ingest$1A = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
35851
35968
|
if (process.env.NODE_ENV !== 'production') {
|
|
35852
|
-
const validateError = validate$
|
|
35969
|
+
const validateError = validate$I(input);
|
|
35853
35970
|
if (validateError !== null) {
|
|
35854
35971
|
throw validateError;
|
|
35855
35972
|
}
|
|
@@ -36100,7 +36217,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
36100
36217
|
|
|
36101
36218
|
const TTL$h = 900000;
|
|
36102
36219
|
const VERSION$1D = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
36103
|
-
function validate$
|
|
36220
|
+
function validate$G(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
36104
36221
|
const v_error = (() => {
|
|
36105
36222
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36106
36223
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36141,7 +36258,7 @@ function validate$F(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
36141
36258
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
36142
36259
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
36143
36260
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
36144
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
36261
|
+
const referencepath_orderedBy_itemValidationError = validate$29(obj_orderedBy_item, path_orderedBy_item);
|
|
36145
36262
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
36146
36263
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
36147
36264
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -36185,7 +36302,7 @@ function equals$h(existing, incoming) {
|
|
|
36185
36302
|
}
|
|
36186
36303
|
const ingest$1z = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
36187
36304
|
if (process.env.NODE_ENV !== 'production') {
|
|
36188
|
-
const validateError = validate$
|
|
36305
|
+
const validateError = validate$G(input);
|
|
36189
36306
|
if (validateError !== null) {
|
|
36190
36307
|
throw validateError;
|
|
36191
36308
|
}
|
|
@@ -36693,7 +36810,7 @@ const getRelatedListPreferencesAdapterFactory = (luvio) => function UiApi__getRe
|
|
|
36693
36810
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
|
|
36694
36811
|
};
|
|
36695
36812
|
|
|
36696
|
-
function validate$
|
|
36813
|
+
function validate$F(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
36697
36814
|
const v_error = (() => {
|
|
36698
36815
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36699
36816
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -36936,7 +37053,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
36936
37053
|
|
|
36937
37054
|
const TTL$g = 30000;
|
|
36938
37055
|
const VERSION$1C = "62467c27c19349b70c9db2a8d9d591d9";
|
|
36939
|
-
function validate$
|
|
37056
|
+
function validate$E(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
36940
37057
|
const v_error = (() => {
|
|
36941
37058
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
36942
37059
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -37017,7 +37134,7 @@ function validate$D(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
37017
37134
|
}
|
|
37018
37135
|
const obj_listReference = obj.listReference;
|
|
37019
37136
|
const path_listReference = path + '.listReference';
|
|
37020
|
-
const referencepath_listReferenceValidationError = validate$
|
|
37137
|
+
const referencepath_listReferenceValidationError = validate$N(obj_listReference, path_listReference);
|
|
37021
37138
|
if (referencepath_listReferenceValidationError !== null) {
|
|
37022
37139
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
37023
37140
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -37264,7 +37381,7 @@ const dynamicSelect$4 = function dynamicRelatedListRecordCollectionRepresentatio
|
|
|
37264
37381
|
const recordsPathSelection = params.records === undefined ? {
|
|
37265
37382
|
name: 'records',
|
|
37266
37383
|
kind: 'Link',
|
|
37267
|
-
fragment: select$
|
|
37384
|
+
fragment: select$3k()
|
|
37268
37385
|
} : params.records;
|
|
37269
37386
|
const { selections: RelatedListReferenceRepresentation__selections, opaque: RelatedListReferenceRepresentation__opaque, } = select$1T();
|
|
37270
37387
|
return {
|
|
@@ -37438,7 +37555,7 @@ function equals$g(existing, incoming) {
|
|
|
37438
37555
|
}
|
|
37439
37556
|
const ingest$1y = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
37440
37557
|
if (process.env.NODE_ENV !== 'production') {
|
|
37441
|
-
const validateError = validate$
|
|
37558
|
+
const validateError = validate$E(input);
|
|
37442
37559
|
if (validateError !== null) {
|
|
37443
37560
|
throw validateError;
|
|
37444
37561
|
}
|
|
@@ -37549,7 +37666,7 @@ function select$1F(luvio, params) {
|
|
|
37549
37666
|
kind: 'Fragment',
|
|
37550
37667
|
private: ['eTag', 'weakEtag'],
|
|
37551
37668
|
selections: buildSelectionFromFields(fields, optionalFields),
|
|
37552
|
-
version: VERSION$
|
|
37669
|
+
version: VERSION$2F
|
|
37553
37670
|
},
|
|
37554
37671
|
},
|
|
37555
37672
|
}, createPaginationParams(params));
|
|
@@ -37930,7 +38047,7 @@ function typeCheckConfig$k(untrustedConfig) {
|
|
|
37930
38047
|
const untrustedConfig_relatedListParameters_array = [];
|
|
37931
38048
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
37932
38049
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
37933
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
38050
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$F(untrustedConfig_relatedListParameters_item);
|
|
37934
38051
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
37935
38052
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
37936
38053
|
}
|
|
@@ -38175,7 +38292,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
38175
38292
|
buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$c);
|
|
38176
38293
|
};
|
|
38177
38294
|
|
|
38178
|
-
function validate$
|
|
38295
|
+
function validate$D(obj, path = 'SearchFilterOptionRepresentation') {
|
|
38179
38296
|
const v_error = (() => {
|
|
38180
38297
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38181
38298
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38205,7 +38322,7 @@ var DiscriminatorValues;
|
|
|
38205
38322
|
DiscriminatorValues["Field"] = "Field";
|
|
38206
38323
|
DiscriminatorValues["DataCategory"] = "DataCategory";
|
|
38207
38324
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
38208
|
-
function validate$
|
|
38325
|
+
function validate$C(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
38209
38326
|
const v_error = (() => {
|
|
38210
38327
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38211
38328
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38266,7 +38383,7 @@ function validate$B(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
38266
38383
|
|
|
38267
38384
|
const TTL$f = 30000;
|
|
38268
38385
|
const VERSION$1B = "46ebae6041d5914e45bd2ccc6cb89271";
|
|
38269
|
-
function validate$
|
|
38386
|
+
function validate$B(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
38270
38387
|
const v_error = (() => {
|
|
38271
38388
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38272
38389
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38331,7 +38448,7 @@ function validate$A(obj, path = 'SearchFilterMetadataCollectionRepresentation')
|
|
|
38331
38448
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
38332
38449
|
const obj_filters_item = obj_filters[i];
|
|
38333
38450
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
38334
|
-
const referencepath_filters_itemValidationError = validate$
|
|
38451
|
+
const referencepath_filters_itemValidationError = validate$C(obj_filters_item, path_filters_item);
|
|
38335
38452
|
if (referencepath_filters_itemValidationError !== null) {
|
|
38336
38453
|
let message = 'Object doesn\'t match SearchFilterDefinitionRepresentation (at "' + path_filters_item + '")\n';
|
|
38337
38454
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38377,7 +38494,7 @@ function equals$f(existing, incoming) {
|
|
|
38377
38494
|
}
|
|
38378
38495
|
const ingest$1x = function SearchFilterMetadataCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
38379
38496
|
if (process.env.NODE_ENV !== 'production') {
|
|
38380
|
-
const validateError = validate$
|
|
38497
|
+
const validateError = validate$B(input);
|
|
38381
38498
|
if (validateError !== null) {
|
|
38382
38499
|
throw validateError;
|
|
38383
38500
|
}
|
|
@@ -38543,7 +38660,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
38543
38660
|
|
|
38544
38661
|
const TTL$e = 30000;
|
|
38545
38662
|
const VERSION$1A = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
38546
|
-
function validate$
|
|
38663
|
+
function validate$A(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
38547
38664
|
const v_error = (() => {
|
|
38548
38665
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38549
38666
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38566,7 +38683,7 @@ function validate$z(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
|
38566
38683
|
for (let i = 0; i < obj_options.length; i++) {
|
|
38567
38684
|
const obj_options_item = obj_options[i];
|
|
38568
38685
|
const path_options_item = path_options + '[' + i + ']';
|
|
38569
|
-
const referencepath_options_itemValidationError = validate$
|
|
38686
|
+
const referencepath_options_itemValidationError = validate$D(obj_options_item, path_options_item);
|
|
38570
38687
|
if (referencepath_options_itemValidationError !== null) {
|
|
38571
38688
|
let message = 'Object doesn\'t match SearchFilterOptionRepresentation (at "' + path_options_item + '")\n';
|
|
38572
38689
|
message += referencepath_options_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38633,7 +38750,7 @@ function equals$e(existing, incoming) {
|
|
|
38633
38750
|
}
|
|
38634
38751
|
const ingest$1w = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
38635
38752
|
if (process.env.NODE_ENV !== 'production') {
|
|
38636
|
-
const validateError = validate$
|
|
38753
|
+
const validateError = validate$A(input);
|
|
38637
38754
|
if (validateError !== null) {
|
|
38638
38755
|
throw validateError;
|
|
38639
38756
|
}
|
|
@@ -38797,7 +38914,7 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
|
|
|
38797
38914
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$a);
|
|
38798
38915
|
};
|
|
38799
38916
|
|
|
38800
|
-
function validate$
|
|
38917
|
+
function validate$z(obj, path = 'AdvancedLookupDisplayInfoFieldRepresentation') {
|
|
38801
38918
|
const v_error = (() => {
|
|
38802
38919
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38803
38920
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38821,7 +38938,7 @@ function validate$y(obj, path = 'AdvancedLookupDisplayInfoFieldRepresentation')
|
|
|
38821
38938
|
return v_error === undefined ? null : v_error;
|
|
38822
38939
|
}
|
|
38823
38940
|
|
|
38824
|
-
function validate$
|
|
38941
|
+
function validate$y(obj, path = 'AdvancedLookupDisplayInfoRepresentation') {
|
|
38825
38942
|
const v_error = (() => {
|
|
38826
38943
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38827
38944
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38834,7 +38951,7 @@ function validate$x(obj, path = 'AdvancedLookupDisplayInfoRepresentation') {
|
|
|
38834
38951
|
for (let i = 0; i < obj_fields.length; i++) {
|
|
38835
38952
|
const obj_fields_item = obj_fields[i];
|
|
38836
38953
|
const path_fields_item = path_fields + '[' + i + ']';
|
|
38837
|
-
const referencepath_fields_itemValidationError = validate$
|
|
38954
|
+
const referencepath_fields_itemValidationError = validate$z(obj_fields_item, path_fields_item);
|
|
38838
38955
|
if (referencepath_fields_itemValidationError !== null) {
|
|
38839
38956
|
let message = 'Object doesn\'t match AdvancedLookupDisplayInfoFieldRepresentation (at "' + path_fields_item + '")\n';
|
|
38840
38957
|
message += referencepath_fields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38845,14 +38962,14 @@ function validate$x(obj, path = 'AdvancedLookupDisplayInfoRepresentation') {
|
|
|
38845
38962
|
return v_error === undefined ? null : v_error;
|
|
38846
38963
|
}
|
|
38847
38964
|
|
|
38848
|
-
function validate$
|
|
38965
|
+
function validate$x(obj, path = 'AdvancedLookupInfoRepresentation') {
|
|
38849
38966
|
const v_error = (() => {
|
|
38850
38967
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38851
38968
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
38852
38969
|
}
|
|
38853
38970
|
const obj_displayInfo = obj.displayInfo;
|
|
38854
38971
|
const path_displayInfo = path + '.displayInfo';
|
|
38855
|
-
const referencepath_displayInfoValidationError = validate$
|
|
38972
|
+
const referencepath_displayInfoValidationError = validate$y(obj_displayInfo, path_displayInfo);
|
|
38856
38973
|
if (referencepath_displayInfoValidationError !== null) {
|
|
38857
38974
|
let message = 'Object doesn\'t match AdvancedLookupDisplayInfoRepresentation (at "' + path_displayInfo + '")\n';
|
|
38858
38975
|
message += referencepath_displayInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38862,7 +38979,7 @@ function validate$w(obj, path = 'AdvancedLookupInfoRepresentation') {
|
|
|
38862
38979
|
return v_error === undefined ? null : v_error;
|
|
38863
38980
|
}
|
|
38864
38981
|
|
|
38865
|
-
function validate$
|
|
38982
|
+
function validate$w(obj, path = 'DisplayLayoutRepresentation') {
|
|
38866
38983
|
const v_error = (() => {
|
|
38867
38984
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38868
38985
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38883,7 +39000,7 @@ function validate$v(obj, path = 'DisplayLayoutRepresentation') {
|
|
|
38883
39000
|
return v_error === undefined ? null : v_error;
|
|
38884
39001
|
}
|
|
38885
39002
|
|
|
38886
|
-
function validate$
|
|
39003
|
+
function validate$v(obj, path = 'MatchingInfoRepresentation') {
|
|
38887
39004
|
const v_error = (() => {
|
|
38888
39005
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38889
39006
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -38904,14 +39021,14 @@ function validate$u(obj, path = 'MatchingInfoRepresentation') {
|
|
|
38904
39021
|
return v_error === undefined ? null : v_error;
|
|
38905
39022
|
}
|
|
38906
39023
|
|
|
38907
|
-
function validate$
|
|
39024
|
+
function validate$u(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
38908
39025
|
const v_error = (() => {
|
|
38909
39026
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38910
39027
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
38911
39028
|
}
|
|
38912
39029
|
const obj_displayLayout = obj.displayLayout;
|
|
38913
39030
|
const path_displayLayout = path + '.displayLayout';
|
|
38914
|
-
const referencepath_displayLayoutValidationError = validate$
|
|
39031
|
+
const referencepath_displayLayoutValidationError = validate$w(obj_displayLayout, path_displayLayout);
|
|
38915
39032
|
if (referencepath_displayLayoutValidationError !== null) {
|
|
38916
39033
|
let message = 'Object doesn\'t match DisplayLayoutRepresentation (at "' + path_displayLayout + '")\n';
|
|
38917
39034
|
message += referencepath_displayLayoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38919,7 +39036,7 @@ function validate$t(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
38919
39036
|
}
|
|
38920
39037
|
const obj_matchingInfo = obj.matchingInfo;
|
|
38921
39038
|
const path_matchingInfo = path + '.matchingInfo';
|
|
38922
|
-
const referencepath_matchingInfoValidationError = validate$
|
|
39039
|
+
const referencepath_matchingInfoValidationError = validate$v(obj_matchingInfo, path_matchingInfo);
|
|
38923
39040
|
if (referencepath_matchingInfoValidationError !== null) {
|
|
38924
39041
|
let message = 'Object doesn\'t match MatchingInfoRepresentation (at "' + path_matchingInfo + '")\n';
|
|
38925
39042
|
message += referencepath_matchingInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38929,14 +39046,14 @@ function validate$t(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
38929
39046
|
return v_error === undefined ? null : v_error;
|
|
38930
39047
|
}
|
|
38931
39048
|
|
|
38932
|
-
function validate$
|
|
39049
|
+
function validate$t(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
38933
39050
|
const v_error = (() => {
|
|
38934
39051
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38935
39052
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
38936
39053
|
}
|
|
38937
39054
|
const obj_advancedLookupInfo = obj.advancedLookupInfo;
|
|
38938
39055
|
const path_advancedLookupInfo = path + '.advancedLookupInfo';
|
|
38939
|
-
const referencepath_advancedLookupInfoValidationError = validate$
|
|
39056
|
+
const referencepath_advancedLookupInfoValidationError = validate$x(obj_advancedLookupInfo, path_advancedLookupInfo);
|
|
38940
39057
|
if (referencepath_advancedLookupInfoValidationError !== null) {
|
|
38941
39058
|
let message = 'Object doesn\'t match AdvancedLookupInfoRepresentation (at "' + path_advancedLookupInfo + '")\n';
|
|
38942
39059
|
message += referencepath_advancedLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38949,7 +39066,7 @@ function validate$s(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
38949
39066
|
}
|
|
38950
39067
|
const obj_suggestionsInfo = obj.suggestionsInfo;
|
|
38951
39068
|
const path_suggestionsInfo = path + '.suggestionsInfo';
|
|
38952
|
-
const referencepath_suggestionsInfoValidationError = validate$
|
|
39069
|
+
const referencepath_suggestionsInfoValidationError = validate$u(obj_suggestionsInfo, path_suggestionsInfo);
|
|
38953
39070
|
if (referencepath_suggestionsInfoValidationError !== null) {
|
|
38954
39071
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_suggestionsInfo + '")\n';
|
|
38955
39072
|
message += referencepath_suggestionsInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -38961,7 +39078,7 @@ function validate$s(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
38961
39078
|
|
|
38962
39079
|
const TTL$d = 30000;
|
|
38963
39080
|
const VERSION$1z = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
38964
|
-
function validate$
|
|
39081
|
+
function validate$s(obj, path = 'LookupMetadataRepresentation') {
|
|
38965
39082
|
const v_error = (() => {
|
|
38966
39083
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
38967
39084
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -39012,7 +39129,7 @@ function validate$r(obj, path = 'LookupMetadataRepresentation') {
|
|
|
39012
39129
|
const key = obj_targetInfo_keys[i];
|
|
39013
39130
|
const obj_targetInfo_prop = obj_targetInfo[key];
|
|
39014
39131
|
const path_targetInfo_prop = path_targetInfo + '["' + key + '"]';
|
|
39015
|
-
const referencepath_targetInfo_propValidationError = validate$
|
|
39132
|
+
const referencepath_targetInfo_propValidationError = validate$t(obj_targetInfo_prop, path_targetInfo_prop);
|
|
39016
39133
|
if (referencepath_targetInfo_propValidationError !== null) {
|
|
39017
39134
|
let message = 'Object doesn\'t match LookupMetadataTargetInfoRepresentation (at "' + path_targetInfo_prop + '")\n';
|
|
39018
39135
|
message += referencepath_targetInfo_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -39052,7 +39169,7 @@ function equals$d(existing, incoming) {
|
|
|
39052
39169
|
}
|
|
39053
39170
|
const ingest$1v = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
39054
39171
|
if (process.env.NODE_ENV !== 'production') {
|
|
39055
|
-
const validateError = validate$
|
|
39172
|
+
const validateError = validate$s(input);
|
|
39056
39173
|
if (validateError !== null) {
|
|
39057
39174
|
throw validateError;
|
|
39058
39175
|
}
|
|
@@ -39214,7 +39331,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
39214
39331
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$9);
|
|
39215
39332
|
};
|
|
39216
39333
|
|
|
39217
|
-
function validate$
|
|
39334
|
+
function validate$r(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
39218
39335
|
const v_error = (() => {
|
|
39219
39336
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
39220
39337
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -39245,7 +39362,7 @@ function validate$q(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
|
39245
39362
|
return v_error === undefined ? null : v_error;
|
|
39246
39363
|
}
|
|
39247
39364
|
|
|
39248
|
-
function validate$
|
|
39365
|
+
function validate$q(obj, path = 'SearchFilterInputRepresentation') {
|
|
39249
39366
|
const v_error = (() => {
|
|
39250
39367
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
39251
39368
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -39314,7 +39431,7 @@ function validate$p(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
39314
39431
|
return v_error === undefined ? null : v_error;
|
|
39315
39432
|
}
|
|
39316
39433
|
|
|
39317
|
-
function validate$
|
|
39434
|
+
function validate$p(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
39318
39435
|
const v_error = (() => {
|
|
39319
39436
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
39320
39437
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -39327,7 +39444,7 @@ function validate$o(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
39327
39444
|
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
39328
39445
|
const obj_dataCategories_item = obj_dataCategories[i];
|
|
39329
39446
|
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
39330
|
-
const referencepath_dataCategories_itemValidationError = validate$
|
|
39447
|
+
const referencepath_dataCategories_itemValidationError = validate$r(obj_dataCategories_item, path_dataCategories_item);
|
|
39331
39448
|
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
39332
39449
|
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
|
|
39333
39450
|
message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -39342,7 +39459,7 @@ function validate$o(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
39342
39459
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
39343
39460
|
const obj_filters_item = obj_filters[i];
|
|
39344
39461
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
39345
|
-
const referencepath_filters_itemValidationError = validate$
|
|
39462
|
+
const referencepath_filters_itemValidationError = validate$q(obj_filters_item, path_filters_item);
|
|
39346
39463
|
if (referencepath_filters_itemValidationError !== null) {
|
|
39347
39464
|
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
|
|
39348
39465
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -39353,7 +39470,7 @@ function validate$o(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
39353
39470
|
return v_error === undefined ? null : v_error;
|
|
39354
39471
|
}
|
|
39355
39472
|
|
|
39356
|
-
function validate$
|
|
39473
|
+
function validate$o(obj, path = 'ErrorMessageRepresentation') {
|
|
39357
39474
|
const v_error = (() => {
|
|
39358
39475
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
39359
39476
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -39393,7 +39510,7 @@ function validate$n(obj, path = 'ErrorMessageRepresentation') {
|
|
|
39393
39510
|
return v_error === undefined ? null : v_error;
|
|
39394
39511
|
}
|
|
39395
39512
|
|
|
39396
|
-
function validate$
|
|
39513
|
+
function validate$n(obj, path = 'SearchResultCollectionRepresentation') {
|
|
39397
39514
|
const v_error = (() => {
|
|
39398
39515
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
39399
39516
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -39407,7 +39524,7 @@ function validate$m(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
39407
39524
|
const path_error = path + '.error';
|
|
39408
39525
|
let obj_error_union0 = null;
|
|
39409
39526
|
const obj_error_union0_error = (() => {
|
|
39410
|
-
const referencepath_errorValidationError = validate$
|
|
39527
|
+
const referencepath_errorValidationError = validate$o(obj_error, path_error);
|
|
39411
39528
|
if (referencepath_errorValidationError !== null) {
|
|
39412
39529
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
39413
39530
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -39471,7 +39588,7 @@ function validate$m(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
39471
39588
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
39472
39589
|
const obj_orderBy_item = obj_orderBy[i];
|
|
39473
39590
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
39474
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
39591
|
+
const referencepath_orderBy_itemValidationError = validate$29(obj_orderBy_item, path_orderBy_item);
|
|
39475
39592
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
39476
39593
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
39477
39594
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -39537,7 +39654,7 @@ function validate$m(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
39537
39654
|
return v_error === undefined ? null : v_error;
|
|
39538
39655
|
}
|
|
39539
39656
|
|
|
39540
|
-
function validate$
|
|
39657
|
+
function validate$m(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
39541
39658
|
const v_error = (() => {
|
|
39542
39659
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
39543
39660
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -39558,6 +39675,46 @@ function validate$l(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
39558
39675
|
return v_error === undefined ? null : v_error;
|
|
39559
39676
|
}
|
|
39560
39677
|
|
|
39678
|
+
function validate$l(obj, path = 'NLSResultsRepresentation') {
|
|
39679
|
+
const v_error = (() => {
|
|
39680
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
39681
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
39682
|
+
}
|
|
39683
|
+
const obj_hasNoResult = obj.hasNoResult;
|
|
39684
|
+
const path_hasNoResult = path + '.hasNoResult';
|
|
39685
|
+
let obj_hasNoResult_union0 = null;
|
|
39686
|
+
const obj_hasNoResult_union0_error = (() => {
|
|
39687
|
+
if (typeof obj_hasNoResult !== 'boolean') {
|
|
39688
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_hasNoResult + '" (at "' + path_hasNoResult + '")');
|
|
39689
|
+
}
|
|
39690
|
+
})();
|
|
39691
|
+
if (obj_hasNoResult_union0_error != null) {
|
|
39692
|
+
obj_hasNoResult_union0 = obj_hasNoResult_union0_error.message;
|
|
39693
|
+
}
|
|
39694
|
+
let obj_hasNoResult_union1 = null;
|
|
39695
|
+
const obj_hasNoResult_union1_error = (() => {
|
|
39696
|
+
if (obj_hasNoResult !== null) {
|
|
39697
|
+
return new TypeError('Expected "null" but received "' + typeof obj_hasNoResult + '" (at "' + path_hasNoResult + '")');
|
|
39698
|
+
}
|
|
39699
|
+
})();
|
|
39700
|
+
if (obj_hasNoResult_union1_error != null) {
|
|
39701
|
+
obj_hasNoResult_union1 = obj_hasNoResult_union1_error.message;
|
|
39702
|
+
}
|
|
39703
|
+
if (obj_hasNoResult_union0 && obj_hasNoResult_union1) {
|
|
39704
|
+
let message = 'Object doesn\'t match union (at "' + path_hasNoResult + '")';
|
|
39705
|
+
message += '\n' + obj_hasNoResult_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
39706
|
+
message += '\n' + obj_hasNoResult_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
39707
|
+
return new TypeError(message);
|
|
39708
|
+
}
|
|
39709
|
+
const obj_results = obj.results;
|
|
39710
|
+
const path_results = path + '.results';
|
|
39711
|
+
if (typeof obj_results !== 'object') {
|
|
39712
|
+
return new TypeError('Expected "object" but received "' + typeof obj_results + '" (at "' + path_results + '")');
|
|
39713
|
+
}
|
|
39714
|
+
})();
|
|
39715
|
+
return v_error === undefined ? null : v_error;
|
|
39716
|
+
}
|
|
39717
|
+
|
|
39561
39718
|
function validate$k(obj, path = 'AppliedSearchFilterOutputRepresentation') {
|
|
39562
39719
|
const v_error = (() => {
|
|
39563
39720
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -39816,7 +39973,7 @@ function validate$f(obj, path = 'SearchObjectOptionsOutputRepresentation') {
|
|
|
39816
39973
|
}
|
|
39817
39974
|
|
|
39818
39975
|
const TTL$c = 200;
|
|
39819
|
-
const VERSION$1y = "
|
|
39976
|
+
const VERSION$1y = "94ab97aedd252f899c90d52d898e547f";
|
|
39820
39977
|
function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
39821
39978
|
const v_error = (() => {
|
|
39822
39979
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -39852,7 +40009,7 @@ function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
39852
40009
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
39853
40010
|
let obj_keywordSearchResults_union0 = null;
|
|
39854
40011
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
39855
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
40012
|
+
const referencepath_keywordSearchResultsValidationError = validate$m(obj_keywordSearchResults, path_keywordSearchResults);
|
|
39856
40013
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
39857
40014
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' + path_keywordSearchResults + '")\n';
|
|
39858
40015
|
message += referencepath_keywordSearchResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -39877,6 +40034,35 @@ function validate$e(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
39877
40034
|
message += '\n' + obj_keywordSearchResults_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
39878
40035
|
return new TypeError(message);
|
|
39879
40036
|
}
|
|
40037
|
+
const obj_nlsResults = obj.nlsResults;
|
|
40038
|
+
const path_nlsResults = path + '.nlsResults';
|
|
40039
|
+
let obj_nlsResults_union0 = null;
|
|
40040
|
+
const obj_nlsResults_union0_error = (() => {
|
|
40041
|
+
const referencepath_nlsResultsValidationError = validate$l(obj_nlsResults, path_nlsResults);
|
|
40042
|
+
if (referencepath_nlsResultsValidationError !== null) {
|
|
40043
|
+
let message = 'Object doesn\'t match NLSResultsRepresentation (at "' + path_nlsResults + '")\n';
|
|
40044
|
+
message += referencepath_nlsResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
40045
|
+
return new TypeError(message);
|
|
40046
|
+
}
|
|
40047
|
+
})();
|
|
40048
|
+
if (obj_nlsResults_union0_error != null) {
|
|
40049
|
+
obj_nlsResults_union0 = obj_nlsResults_union0_error.message;
|
|
40050
|
+
}
|
|
40051
|
+
let obj_nlsResults_union1 = null;
|
|
40052
|
+
const obj_nlsResults_union1_error = (() => {
|
|
40053
|
+
if (obj_nlsResults !== null) {
|
|
40054
|
+
return new TypeError('Expected "null" but received "' + typeof obj_nlsResults + '" (at "' + path_nlsResults + '")');
|
|
40055
|
+
}
|
|
40056
|
+
})();
|
|
40057
|
+
if (obj_nlsResults_union1_error != null) {
|
|
40058
|
+
obj_nlsResults_union1 = obj_nlsResults_union1_error.message;
|
|
40059
|
+
}
|
|
40060
|
+
if (obj_nlsResults_union0 && obj_nlsResults_union1) {
|
|
40061
|
+
let message = 'Object doesn\'t match union (at "' + path_nlsResults + '")';
|
|
40062
|
+
message += '\n' + obj_nlsResults_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
40063
|
+
message += '\n' + obj_nlsResults_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
40064
|
+
return new TypeError(message);
|
|
40065
|
+
}
|
|
39880
40066
|
const obj_qnaResult = obj.qnaResult;
|
|
39881
40067
|
const path_qnaResult = path + '.qnaResult';
|
|
39882
40068
|
let obj_qnaResult_union0 = null;
|
|
@@ -40065,7 +40251,7 @@ function typeCheckConfig$f(untrustedConfig) {
|
|
|
40065
40251
|
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
40066
40252
|
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
40067
40253
|
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
40068
|
-
const referenceSearchObjectOptionsRepresentationValidationError = validate$
|
|
40254
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$p(untrustedConfig_searchObjectOptions_prop);
|
|
40069
40255
|
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
40070
40256
|
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
40071
40257
|
untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
|
|
@@ -40184,7 +40370,7 @@ function validate$d(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
40184
40370
|
}
|
|
40185
40371
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
40186
40372
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
40187
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
40373
|
+
const referencepath_keywordSearchResultValidationError = validate$n(obj_keywordSearchResult, path_keywordSearchResult);
|
|
40188
40374
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
40189
40375
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' + path_keywordSearchResult + '")\n';
|
|
40190
40376
|
message += referencepath_keywordSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -40339,7 +40525,7 @@ function typeCheckConfig$e(untrustedConfig) {
|
|
|
40339
40525
|
const untrustedConfig_filters_array = [];
|
|
40340
40526
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
40341
40527
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
40342
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
40528
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$q(untrustedConfig_filters_item);
|
|
40343
40529
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
40344
40530
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
40345
40531
|
}
|
|
@@ -44524,7 +44710,7 @@ function readFieldValueAndConvertToGQL(reader, fieldData, hasFormat, hasLabel, _
|
|
|
44524
44710
|
kind: 'Fragment',
|
|
44525
44711
|
private: [],
|
|
44526
44712
|
opaque: true,
|
|
44527
|
-
version: VERSION$
|
|
44713
|
+
version: VERSION$2H,
|
|
44528
44714
|
},
|
|
44529
44715
|
variables: {},
|
|
44530
44716
|
});
|
|
@@ -45552,7 +45738,7 @@ function selectType$S(typename, sel, fieldData, reader, key, sink, variables, fr
|
|
|
45552
45738
|
}
|
|
45553
45739
|
case 'PolymorphicParentRelationship':
|
|
45554
45740
|
case 'RecordRepresentation': {
|
|
45555
|
-
const spanningFieldLink = resolveLink(reader, fieldData, VERSION$
|
|
45741
|
+
const spanningFieldLink = resolveLink(reader, fieldData, VERSION$2H);
|
|
45556
45742
|
const resolvedSpanningFieldValue = spanningFieldLink && spanningFieldLink.data;
|
|
45557
45743
|
const fieldDataRef = fieldData.__ref;
|
|
45558
45744
|
if (resolvedSpanningFieldValue !== undefined) {
|
|
@@ -45652,7 +45838,7 @@ function attachMappedData(source, reader) {
|
|
|
45652
45838
|
kind: 'Fragment',
|
|
45653
45839
|
private: [],
|
|
45654
45840
|
opaque: true,
|
|
45655
|
-
version: VERSION$
|
|
45841
|
+
version: VERSION$2F,
|
|
45656
45842
|
},
|
|
45657
45843
|
variables: {},
|
|
45658
45844
|
});
|
|
@@ -58401,6 +58587,23 @@ function getInContextFragmentType$d(fragment, fragmentMap) {
|
|
|
58401
58587
|
return sharedGetFragmentType(fragment, fragmentMap);
|
|
58402
58588
|
}
|
|
58403
58589
|
|
|
58590
|
+
function getFieldType$b(field) {
|
|
58591
|
+
switch (field.name.value) {
|
|
58592
|
+
case '__typename': {
|
|
58593
|
+
return {
|
|
58594
|
+
isArray: false,
|
|
58595
|
+
typename: 'String',
|
|
58596
|
+
};
|
|
58597
|
+
}
|
|
58598
|
+
default: {
|
|
58599
|
+
return {
|
|
58600
|
+
isArray: false,
|
|
58601
|
+
typename: 'Setup__SetupAggregateConnection',
|
|
58602
|
+
};
|
|
58603
|
+
}
|
|
58604
|
+
}
|
|
58605
|
+
}
|
|
58606
|
+
|
|
58404
58607
|
const name$2 = 'Setup__SetupQueryAggregate';
|
|
58405
58608
|
const VERSION$e = '0592284764c8e58016880e291b9ffb64';
|
|
58406
58609
|
function keyBuilder$g(luvio, path, data) {
|
|
@@ -58518,24 +58721,6 @@ function getTypeCacheKeys$b(cacheKeySink, astNode, state) {
|
|
|
58518
58721
|
}
|
|
58519
58722
|
// Deal with mapped types' cache keys
|
|
58520
58723
|
}
|
|
58521
|
-
function getFieldType$b(field) {
|
|
58522
|
-
switch (field.name.value) {
|
|
58523
|
-
case '__typename': {
|
|
58524
|
-
return {
|
|
58525
|
-
isArray: false,
|
|
58526
|
-
typename: 'String'
|
|
58527
|
-
};
|
|
58528
|
-
}
|
|
58529
|
-
case 'recordQueryAggregate': {
|
|
58530
|
-
return {
|
|
58531
|
-
isArray: false,
|
|
58532
|
-
typename: 'Setup__SetupAggregateConnection'
|
|
58533
|
-
};
|
|
58534
|
-
}
|
|
58535
|
-
default:
|
|
58536
|
-
return undefined;
|
|
58537
|
-
}
|
|
58538
|
-
}
|
|
58539
58724
|
function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
58540
58725
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
58541
58726
|
if (fieldData === null) {
|
|
@@ -61677,7 +61862,7 @@ const factory$e = (luvio) => function graphql(untrustedConfig, requestContext) {
|
|
|
61677
61862
|
};
|
|
61678
61863
|
|
|
61679
61864
|
function select$5(luvio, params) {
|
|
61680
|
-
return select$
|
|
61865
|
+
return select$33();
|
|
61681
61866
|
}
|
|
61682
61867
|
function getResponseCacheKeys$9(storeKeyMap, luvio, resourceParams, response) {
|
|
61683
61868
|
getTypeCacheKeys$23(storeKeyMap, luvio, response);
|
|
@@ -61741,7 +61926,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
|
|
|
61741
61926
|
}
|
|
61742
61927
|
|
|
61743
61928
|
function select$4(luvio, params) {
|
|
61744
|
-
return select$
|
|
61929
|
+
return select$33();
|
|
61745
61930
|
}
|
|
61746
61931
|
function getResponseCacheKeys$8(storeKeyMap, luvio, resourceParams, response) {
|
|
61747
61932
|
getTypeCacheKeys$23(storeKeyMap, luvio, response);
|
|
@@ -61899,7 +62084,7 @@ function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
|
61899
62084
|
}
|
|
61900
62085
|
function adapterFragment$1(luvio, config) {
|
|
61901
62086
|
const resourceParams = createResourceParams$8(config);
|
|
61902
|
-
return select$
|
|
62087
|
+
return select$3d(luvio, resourceParams);
|
|
61903
62088
|
}
|
|
61904
62089
|
function onFetchResponseSuccess$2(luvio, config, resourceParams, response) {
|
|
61905
62090
|
const snapshot = ingestSuccess$U(luvio, resourceParams, response, {
|
|
@@ -61967,7 +62152,7 @@ function getPaginationMetadata(luvio, resourceParams) {
|
|
|
61967
62152
|
recordId: key,
|
|
61968
62153
|
node: {
|
|
61969
62154
|
kind: 'Fragment',
|
|
61970
|
-
version: VERSION$
|
|
62155
|
+
version: VERSION$2D,
|
|
61971
62156
|
private: [],
|
|
61972
62157
|
selections: [
|
|
61973
62158
|
{
|
|
@@ -62187,7 +62372,7 @@ function typeCheckConfig$a(untrustedConfig) {
|
|
|
62187
62372
|
const untrustedConfig_orderBy_array = [];
|
|
62188
62373
|
for (let i = 0, arrayLength = untrustedConfig_orderBy.length; i < arrayLength; i++) {
|
|
62189
62374
|
const untrustedConfig_orderBy_item = untrustedConfig_orderBy[i];
|
|
62190
|
-
const referenceListOrderedByInfoInputRepresentationValidationError = validate$
|
|
62375
|
+
const referenceListOrderedByInfoInputRepresentationValidationError = validate$15(untrustedConfig_orderBy_item);
|
|
62191
62376
|
if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
|
|
62192
62377
|
untrustedConfig_orderBy_array.push(untrustedConfig_orderBy_item);
|
|
62193
62378
|
}
|
|
@@ -62619,7 +62804,7 @@ function validate$a(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
62619
62804
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
62620
62805
|
let obj_recordTypeInfo_union0 = null;
|
|
62621
62806
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
62622
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
62807
|
+
const referencepath_recordTypeInfoValidationError = validate$20(obj_recordTypeInfo, path_recordTypeInfo);
|
|
62623
62808
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
62624
62809
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
62625
62810
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -62781,7 +62966,7 @@ function equals$a(existing, incoming) {
|
|
|
62781
62966
|
if (!(existing_recordTypeInfo === incoming_recordTypeInfo
|
|
62782
62967
|
|| (existing_recordTypeInfo != null &&
|
|
62783
62968
|
incoming_recordTypeInfo != null &&
|
|
62784
|
-
equals$
|
|
62969
|
+
equals$1b(existing_recordTypeInfo, incoming_recordTypeInfo)))) {
|
|
62785
62970
|
return false;
|
|
62786
62971
|
}
|
|
62787
62972
|
const existing_systemModstamp = existing.systemModstamp;
|
|
@@ -63042,8 +63227,8 @@ function validateAdapterConfig$6(untrustedConfig, configPropertyNames) {
|
|
|
63042
63227
|
}
|
|
63043
63228
|
|
|
63044
63229
|
const contextId$2 = `${keyPrefix}__${adapterName$4}`;
|
|
63045
|
-
const layoutSelections = select$
|
|
63046
|
-
const objectInfoSelections = select$
|
|
63230
|
+
const layoutSelections = select$37();
|
|
63231
|
+
const objectInfoSelections = select$39();
|
|
63047
63232
|
function buildSelector(resp) {
|
|
63048
63233
|
const recordSelections = buildSelectionFromRecord(resp.record);
|
|
63049
63234
|
return [
|
|
@@ -63303,7 +63488,7 @@ const select$3 = function RecordTemplateCloneRepresentationSelect() {
|
|
|
63303
63488
|
name: 'fields',
|
|
63304
63489
|
kind: 'Link',
|
|
63305
63490
|
map: true,
|
|
63306
|
-
fragment: select$
|
|
63491
|
+
fragment: select$3m()
|
|
63307
63492
|
},
|
|
63308
63493
|
{
|
|
63309
63494
|
name: 'recordTypeId',
|
|
@@ -63317,7 +63502,7 @@ const dynamicSelect$3 = function dynamicRecordTemplateCloneRepresentationSelect(
|
|
|
63317
63502
|
name: 'fields',
|
|
63318
63503
|
kind: 'Link',
|
|
63319
63504
|
map: true,
|
|
63320
|
-
fragment: select$
|
|
63505
|
+
fragment: select$3m()
|
|
63321
63506
|
} : params.fields;
|
|
63322
63507
|
return {
|
|
63323
63508
|
kind: 'Fragment',
|
|
@@ -63480,7 +63665,7 @@ const dynamicSelect$2 = function dynamicRecordDefaultsTemplateCloneRepresentatio
|
|
|
63480
63665
|
name: 'objectInfos',
|
|
63481
63666
|
kind: 'Link',
|
|
63482
63667
|
map: true,
|
|
63483
|
-
fragment: select$
|
|
63668
|
+
fragment: select$39()
|
|
63484
63669
|
} : params.objectInfos;
|
|
63485
63670
|
const recordPathSelection = params.record === undefined ? {
|
|
63486
63671
|
name: 'record',
|
|
@@ -63615,6 +63800,17 @@ function selectFields$3(luvio, params) {
|
|
|
63615
63800
|
|
|
63616
63801
|
const select$2 = (luvio, params) => {
|
|
63617
63802
|
let { optionalFields } = params.queryParams;
|
|
63803
|
+
const entry = luvio.getNode(keyBuilder$6(luvio, {
|
|
63804
|
+
cloneSourceId: params.urlParams.recordId,
|
|
63805
|
+
recordTypeId: params.queryParams.recordTypeId || null,
|
|
63806
|
+
}));
|
|
63807
|
+
// If we have data in the cache, we know the only fields that are relevant start with that record's objectApiName
|
|
63808
|
+
if (entry === null || entry === void 0 ? void 0 : entry.data) {
|
|
63809
|
+
const apiName = entry.data.apiName;
|
|
63810
|
+
if (optionalFields !== undefined) {
|
|
63811
|
+
optionalFields = optionalFields.filter((field) => field.startsWith(`${apiName}.`));
|
|
63812
|
+
}
|
|
63813
|
+
}
|
|
63618
63814
|
optionalFields =
|
|
63619
63815
|
optionalFields === undefined ? ['.CloneSourceId'] : [...optionalFields, '.CloneSourceId'];
|
|
63620
63816
|
return selectFields$3(luvio, {
|
|
@@ -63726,7 +63922,7 @@ const buildNetworkSnapshot$6 = (luvio, context, config, options) => {
|
|
|
63726
63922
|
const objectApiName = body.record.apiName;
|
|
63727
63923
|
// publish metadata for recordTypeId
|
|
63728
63924
|
saveDefaultRecordTypeId(context, body.objectInfos[objectApiName]);
|
|
63729
|
-
const optionalFieldsTrie = convertFieldsToTrie(resourceParams.queryParams.optionalFields);
|
|
63925
|
+
const optionalFieldsTrie = convertFieldsToTrie(resourceParams.queryParams.optionalFields, true, objectApiName);
|
|
63730
63926
|
luvio.storeIngest(key, createFieldsIngestSuccess$1({
|
|
63731
63927
|
fields: BLANK_RECORD_FIELDS_TRIE,
|
|
63732
63928
|
optionalFields: optionalFieldsTrie,
|
|
@@ -63938,7 +64134,7 @@ const select$1 = function RecordTemplateCreateRepresentationSelect() {
|
|
|
63938
64134
|
name: 'fields',
|
|
63939
64135
|
kind: 'Link',
|
|
63940
64136
|
map: true,
|
|
63941
|
-
fragment: select$
|
|
64137
|
+
fragment: select$3m()
|
|
63942
64138
|
},
|
|
63943
64139
|
{
|
|
63944
64140
|
name: 'recordTypeId',
|
|
@@ -63952,7 +64148,7 @@ const dynamicSelect$1 = function dynamicRecordTemplateCreateRepresentationSelect
|
|
|
63952
64148
|
name: 'fields',
|
|
63953
64149
|
kind: 'Link',
|
|
63954
64150
|
map: true,
|
|
63955
|
-
fragment: select$
|
|
64151
|
+
fragment: select$3m()
|
|
63956
64152
|
} : params.fields;
|
|
63957
64153
|
return {
|
|
63958
64154
|
kind: 'Fragment',
|
|
@@ -64106,7 +64302,7 @@ const dynamicSelect = function dynamicRecordDefaultsTemplateCreateRepresentation
|
|
|
64106
64302
|
name: 'objectInfos',
|
|
64107
64303
|
kind: 'Link',
|
|
64108
64304
|
map: true,
|
|
64109
|
-
fragment: select$
|
|
64305
|
+
fragment: select$39()
|
|
64110
64306
|
} : params.objectInfos;
|
|
64111
64307
|
const recordPathSelection = params.record === undefined ? {
|
|
64112
64308
|
name: 'record',
|
|
@@ -64520,7 +64716,7 @@ function onResponseSuccess(luvio, response, recordIngest, conflictMap) {
|
|
|
64520
64716
|
kind: 'Fragment',
|
|
64521
64717
|
private: [],
|
|
64522
64718
|
selections,
|
|
64523
|
-
version: VERSION$
|
|
64719
|
+
version: VERSION$2F,
|
|
64524
64720
|
},
|
|
64525
64721
|
variables: {},
|
|
64526
64722
|
});
|
|
@@ -65023,7 +65219,7 @@ const select = function ContentDocumentCompositeRepresentationSelect(body) {
|
|
|
65023
65219
|
fragment: {
|
|
65024
65220
|
kind: 'Fragment',
|
|
65025
65221
|
private: [],
|
|
65026
|
-
version: VERSION$
|
|
65222
|
+
version: VERSION$2F,
|
|
65027
65223
|
selections: buildSelectionFromRecord(body.contentDocument),
|
|
65028
65224
|
},
|
|
65029
65225
|
},
|
|
@@ -65034,7 +65230,7 @@ const select = function ContentDocumentCompositeRepresentationSelect(body) {
|
|
|
65034
65230
|
fragment: {
|
|
65035
65231
|
kind: 'Fragment',
|
|
65036
65232
|
private: [],
|
|
65037
|
-
version: VERSION$
|
|
65233
|
+
version: VERSION$2F,
|
|
65038
65234
|
selections: buildSelectionFromRecord(body.contentDocumentLinks[0] || { fields: {} }),
|
|
65039
65235
|
},
|
|
65040
65236
|
},
|
|
@@ -65044,7 +65240,7 @@ const select = function ContentDocumentCompositeRepresentationSelect(body) {
|
|
|
65044
65240
|
fragment: {
|
|
65045
65241
|
kind: 'Fragment',
|
|
65046
65242
|
private: [],
|
|
65047
|
-
version: VERSION$
|
|
65243
|
+
version: VERSION$2F,
|
|
65048
65244
|
selections: buildSelectionFromRecord(body.contentVersion),
|
|
65049
65245
|
},
|
|
65050
65246
|
},
|