@salesforce/lwc-adapters-uiapi 1.242.0 → 1.243.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 +374 -190
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -535,7 +535,7 @@ function createResourceParamsImpl(config, configMetadata) {
|
|
|
535
535
|
}
|
|
536
536
|
return resourceParams;
|
|
537
537
|
}
|
|
538
|
-
// engine version: 0.150.
|
|
538
|
+
// engine version: 0.150.2-5dcb5d26
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
541
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -7822,8 +7822,8 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
7822
7822
|
entry['__metadata'] = createLink$1(metadataKey);
|
|
7823
7823
|
}
|
|
7824
7824
|
|
|
7825
|
-
const VERSION$
|
|
7826
|
-
function validate$
|
|
7825
|
+
const VERSION$2x = "275ae22194003d1e53f548b81219c5cb";
|
|
7826
|
+
function validate$1S(obj, path = 'ListColumnRepresentation') {
|
|
7827
7827
|
const v_error = (() => {
|
|
7828
7828
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7829
7829
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7872,10 +7872,10 @@ function validate$1O(obj, path = 'ListColumnRepresentation') {
|
|
|
7872
7872
|
})();
|
|
7873
7873
|
return v_error === undefined ? null : v_error;
|
|
7874
7874
|
}
|
|
7875
|
-
const select$
|
|
7875
|
+
const select$35 = function ListColumnRepresentationSelect() {
|
|
7876
7876
|
return {
|
|
7877
7877
|
kind: 'Fragment',
|
|
7878
|
-
version: VERSION$
|
|
7878
|
+
version: VERSION$2x,
|
|
7879
7879
|
private: [],
|
|
7880
7880
|
selections: [
|
|
7881
7881
|
{
|
|
@@ -7898,8 +7898,8 @@ const select$33 = function ListColumnRepresentationSelect() {
|
|
|
7898
7898
|
};
|
|
7899
7899
|
};
|
|
7900
7900
|
|
|
7901
|
-
const VERSION$
|
|
7902
|
-
function validate$
|
|
7901
|
+
const VERSION$2w = "623aa9ce3a11031e35faf5671a41746e";
|
|
7902
|
+
function validate$1R(obj, path = 'ListFilterByInfoRepresentation') {
|
|
7903
7903
|
const v_error = (() => {
|
|
7904
7904
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7905
7905
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7934,10 +7934,10 @@ function validate$1N(obj, path = 'ListFilterByInfoRepresentation') {
|
|
|
7934
7934
|
})();
|
|
7935
7935
|
return v_error === undefined ? null : v_error;
|
|
7936
7936
|
}
|
|
7937
|
-
const select$
|
|
7937
|
+
const select$34 = function ListFilterByInfoRepresentationSelect() {
|
|
7938
7938
|
return {
|
|
7939
7939
|
kind: 'Fragment',
|
|
7940
|
-
version: VERSION$
|
|
7940
|
+
version: VERSION$2w,
|
|
7941
7941
|
private: [],
|
|
7942
7942
|
selections: [
|
|
7943
7943
|
{
|
|
@@ -7961,8 +7961,8 @@ const select$32 = function ListFilterByInfoRepresentationSelect() {
|
|
|
7961
7961
|
};
|
|
7962
7962
|
};
|
|
7963
7963
|
|
|
7964
|
-
const VERSION$
|
|
7965
|
-
function validate$
|
|
7964
|
+
const VERSION$2v = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
7965
|
+
function validate$1Q(obj, path = 'ListReferenceRepresentation') {
|
|
7966
7966
|
const v_error = (() => {
|
|
7967
7967
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7968
7968
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8032,10 +8032,10 @@ function validate$1M(obj, path = 'ListReferenceRepresentation') {
|
|
|
8032
8032
|
})();
|
|
8033
8033
|
return v_error === undefined ? null : v_error;
|
|
8034
8034
|
}
|
|
8035
|
-
const select$
|
|
8035
|
+
const select$33 = function ListReferenceRepresentationSelect() {
|
|
8036
8036
|
return {
|
|
8037
8037
|
kind: 'Fragment',
|
|
8038
|
-
version: VERSION$
|
|
8038
|
+
version: VERSION$2v,
|
|
8039
8039
|
private: [],
|
|
8040
8040
|
selections: [
|
|
8041
8041
|
{
|
|
@@ -8081,8 +8081,95 @@ function equals$15(existing, incoming) {
|
|
|
8081
8081
|
return true;
|
|
8082
8082
|
}
|
|
8083
8083
|
|
|
8084
|
+
const VERSION$2u = "494e0262f07ff2cc5f82d1e0262fec4f";
|
|
8085
|
+
function validate$1P(obj, path = 'ListInfoShareRepresentation') {
|
|
8086
|
+
const v_error = (() => {
|
|
8087
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8088
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8089
|
+
}
|
|
8090
|
+
const obj_groupApiName = obj.groupApiName;
|
|
8091
|
+
const path_groupApiName = path + '.groupApiName';
|
|
8092
|
+
if (typeof obj_groupApiName !== 'string') {
|
|
8093
|
+
return new TypeError('Expected "string" but received "' + typeof obj_groupApiName + '" (at "' + path_groupApiName + '")');
|
|
8094
|
+
}
|
|
8095
|
+
const obj_label = obj.label;
|
|
8096
|
+
const path_label = path + '.label';
|
|
8097
|
+
if (typeof obj_label !== 'string') {
|
|
8098
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
8099
|
+
}
|
|
8100
|
+
})();
|
|
8101
|
+
return v_error === undefined ? null : v_error;
|
|
8102
|
+
}
|
|
8103
|
+
const select$32 = function ListInfoShareRepresentationSelect() {
|
|
8104
|
+
return {
|
|
8105
|
+
kind: 'Fragment',
|
|
8106
|
+
version: VERSION$2u,
|
|
8107
|
+
private: [],
|
|
8108
|
+
selections: [
|
|
8109
|
+
{
|
|
8110
|
+
name: 'groupApiName',
|
|
8111
|
+
kind: 'Scalar'
|
|
8112
|
+
},
|
|
8113
|
+
{
|
|
8114
|
+
name: 'label',
|
|
8115
|
+
kind: 'Scalar'
|
|
8116
|
+
}
|
|
8117
|
+
]
|
|
8118
|
+
};
|
|
8119
|
+
};
|
|
8120
|
+
|
|
8121
|
+
const VERSION$2t = "561657f32721ec1dac1601575b029640";
|
|
8122
|
+
function validate$1O(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
8123
|
+
const v_error = (() => {
|
|
8124
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8125
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
8126
|
+
}
|
|
8127
|
+
const obj_shareType = obj.shareType;
|
|
8128
|
+
const path_shareType = path + '.shareType';
|
|
8129
|
+
if (typeof obj_shareType !== 'string') {
|
|
8130
|
+
return new TypeError('Expected "string" but received "' + typeof obj_shareType + '" (at "' + path_shareType + '")');
|
|
8131
|
+
}
|
|
8132
|
+
const obj_shares = obj.shares;
|
|
8133
|
+
const path_shares = path + '.shares';
|
|
8134
|
+
if (!ArrayIsArray(obj_shares)) {
|
|
8135
|
+
return new TypeError('Expected "array" but received "' + typeof obj_shares + '" (at "' + path_shares + '")');
|
|
8136
|
+
}
|
|
8137
|
+
for (let i = 0; i < obj_shares.length; i++) {
|
|
8138
|
+
const obj_shares_item = obj_shares[i];
|
|
8139
|
+
const path_shares_item = path_shares + '[' + i + ']';
|
|
8140
|
+
const referencepath_shares_itemValidationError = validate$1P(obj_shares_item, path_shares_item);
|
|
8141
|
+
if (referencepath_shares_itemValidationError !== null) {
|
|
8142
|
+
let message = 'Object doesn\'t match ListInfoShareRepresentation (at "' + path_shares_item + '")\n';
|
|
8143
|
+
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8144
|
+
return new TypeError(message);
|
|
8145
|
+
}
|
|
8146
|
+
}
|
|
8147
|
+
})();
|
|
8148
|
+
return v_error === undefined ? null : v_error;
|
|
8149
|
+
}
|
|
8150
|
+
const select$31 = function ListInfoShareCategoryRepresentationSelect() {
|
|
8151
|
+
const { selections: ListInfoShareRepresentation__selections, opaque: ListInfoShareRepresentation__opaque, } = select$32();
|
|
8152
|
+
return {
|
|
8153
|
+
kind: 'Fragment',
|
|
8154
|
+
version: VERSION$2t,
|
|
8155
|
+
private: [],
|
|
8156
|
+
selections: [
|
|
8157
|
+
{
|
|
8158
|
+
name: 'shareType',
|
|
8159
|
+
kind: 'Scalar'
|
|
8160
|
+
},
|
|
8161
|
+
{
|
|
8162
|
+
name: 'shares',
|
|
8163
|
+
kind: 'Object',
|
|
8164
|
+
plural: true,
|
|
8165
|
+
selections: ListInfoShareRepresentation__selections
|
|
8166
|
+
}
|
|
8167
|
+
]
|
|
8168
|
+
};
|
|
8169
|
+
};
|
|
8170
|
+
|
|
8084
8171
|
const VERSION$2s = "32def9b631252c12b91a8209c1f49f5a";
|
|
8085
|
-
function validate$
|
|
8172
|
+
function validate$1N(obj, path = 'ListOrderByInfoRepresentation') {
|
|
8086
8173
|
const v_error = (() => {
|
|
8087
8174
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8088
8175
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8149,7 +8236,7 @@ const select$30 = function ListOrderByInfoRepresentationSelect() {
|
|
|
8149
8236
|
};
|
|
8150
8237
|
|
|
8151
8238
|
const VERSION$2r = "2634258f216db34315c06d759a35676d";
|
|
8152
|
-
function validate$
|
|
8239
|
+
function validate$1M(obj, path = 'ListScopeEntityRepresentation') {
|
|
8153
8240
|
const v_error = (() => {
|
|
8154
8241
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8155
8242
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8186,7 +8273,7 @@ const select$2$ = function ListScopeEntityRepresentationSelect() {
|
|
|
8186
8273
|
};
|
|
8187
8274
|
|
|
8188
8275
|
const VERSION$2q = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
8189
|
-
function validate$
|
|
8276
|
+
function validate$1L(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
8190
8277
|
const v_error = (() => {
|
|
8191
8278
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8192
8279
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8231,8 +8318,8 @@ const select$2_ = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
8231
8318
|
};
|
|
8232
8319
|
};
|
|
8233
8320
|
|
|
8234
|
-
const VERSION$2p = "
|
|
8235
|
-
function validate$
|
|
8321
|
+
const VERSION$2p = "2fe9814e7124b47f59da585483c1b3f9";
|
|
8322
|
+
function validate$1K(obj, path = 'ListScopeRepresentation') {
|
|
8236
8323
|
const v_error = (() => {
|
|
8237
8324
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8238
8325
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8246,7 +8333,7 @@ function validate$1I(obj, path = 'ListScopeRepresentation') {
|
|
|
8246
8333
|
const path_entity = path + '.entity';
|
|
8247
8334
|
let obj_entity_union0 = null;
|
|
8248
8335
|
const obj_entity_union0_error = (() => {
|
|
8249
|
-
const referencepath_entityValidationError = validate$
|
|
8336
|
+
const referencepath_entityValidationError = validate$1M(obj_entity, path_entity);
|
|
8250
8337
|
if (referencepath_entityValidationError !== null) {
|
|
8251
8338
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
8252
8339
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8273,14 +8360,35 @@ function validate$1I(obj, path = 'ListScopeRepresentation') {
|
|
|
8273
8360
|
}
|
|
8274
8361
|
const obj_label = obj.label;
|
|
8275
8362
|
const path_label = path + '.label';
|
|
8276
|
-
|
|
8277
|
-
|
|
8363
|
+
let obj_label_union0 = null;
|
|
8364
|
+
const obj_label_union0_error = (() => {
|
|
8365
|
+
if (typeof obj_label !== 'string') {
|
|
8366
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
8367
|
+
}
|
|
8368
|
+
})();
|
|
8369
|
+
if (obj_label_union0_error != null) {
|
|
8370
|
+
obj_label_union0 = obj_label_union0_error.message;
|
|
8371
|
+
}
|
|
8372
|
+
let obj_label_union1 = null;
|
|
8373
|
+
const obj_label_union1_error = (() => {
|
|
8374
|
+
if (obj_label !== null) {
|
|
8375
|
+
return new TypeError('Expected "null" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
8376
|
+
}
|
|
8377
|
+
})();
|
|
8378
|
+
if (obj_label_union1_error != null) {
|
|
8379
|
+
obj_label_union1 = obj_label_union1_error.message;
|
|
8380
|
+
}
|
|
8381
|
+
if (obj_label_union0 && obj_label_union1) {
|
|
8382
|
+
let message = 'Object doesn\'t match union (at "' + path_label + '")';
|
|
8383
|
+
message += '\n' + obj_label_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
8384
|
+
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8385
|
+
return new TypeError(message);
|
|
8278
8386
|
}
|
|
8279
8387
|
const obj_relatedEntity = obj.relatedEntity;
|
|
8280
8388
|
const path_relatedEntity = path + '.relatedEntity';
|
|
8281
8389
|
let obj_relatedEntity_union0 = null;
|
|
8282
8390
|
const obj_relatedEntity_union0_error = (() => {
|
|
8283
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
8391
|
+
const referencepath_relatedEntityValidationError = validate$1L(obj_relatedEntity, path_relatedEntity);
|
|
8284
8392
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
8285
8393
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
8286
8394
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8341,7 +8449,7 @@ const select$2Z = function ListScopeRepresentationSelect() {
|
|
|
8341
8449
|
};
|
|
8342
8450
|
|
|
8343
8451
|
const VERSION$2o = "6506134f4d72fdfa349fe60ef1af2413";
|
|
8344
|
-
function validate$
|
|
8452
|
+
function validate$1J(obj, path = 'ListUserPreferenceRepresentation') {
|
|
8345
8453
|
const v_error = (() => {
|
|
8346
8454
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8347
8455
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8398,8 +8506,8 @@ const select$2Y = function ListUserPreferenceRepresentationSelect() {
|
|
|
8398
8506
|
};
|
|
8399
8507
|
|
|
8400
8508
|
const TTL$D = 900000;
|
|
8401
|
-
const VERSION$2n = "
|
|
8402
|
-
function validate$
|
|
8509
|
+
const VERSION$2n = "0dbff3feaaa7ced2709e9ae46c58a3e7";
|
|
8510
|
+
function validate$1I(obj, path = 'ListInfoRepresentation') {
|
|
8403
8511
|
const v_error = (() => {
|
|
8404
8512
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8405
8513
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8427,7 +8535,7 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
8427
8535
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
8428
8536
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
8429
8537
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
8430
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
8538
|
+
const referencepath_displayColumns_itemValidationError = validate$1S(obj_displayColumns_item, path_displayColumns_item);
|
|
8431
8539
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
8432
8540
|
let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
8433
8541
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8473,7 +8581,7 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
8473
8581
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
8474
8582
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
8475
8583
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
8476
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
8584
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1R(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
8477
8585
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
8478
8586
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
8479
8587
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8508,12 +8616,29 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
8508
8616
|
}
|
|
8509
8617
|
const obj_listReference = obj.listReference;
|
|
8510
8618
|
const path_listReference = path + '.listReference';
|
|
8511
|
-
const referencepath_listReferenceValidationError = validate$
|
|
8619
|
+
const referencepath_listReferenceValidationError = validate$1Q(obj_listReference, path_listReference);
|
|
8512
8620
|
if (referencepath_listReferenceValidationError !== null) {
|
|
8513
8621
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
8514
8622
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8515
8623
|
return new TypeError(message);
|
|
8516
8624
|
}
|
|
8625
|
+
if (obj.listShares !== undefined) {
|
|
8626
|
+
const obj_listShares = obj.listShares;
|
|
8627
|
+
const path_listShares = path + '.listShares';
|
|
8628
|
+
if (!ArrayIsArray(obj_listShares)) {
|
|
8629
|
+
return new TypeError('Expected "array" but received "' + typeof obj_listShares + '" (at "' + path_listShares + '")');
|
|
8630
|
+
}
|
|
8631
|
+
for (let i = 0; i < obj_listShares.length; i++) {
|
|
8632
|
+
const obj_listShares_item = obj_listShares[i];
|
|
8633
|
+
const path_listShares_item = path_listShares + '[' + i + ']';
|
|
8634
|
+
const referencepath_listShares_itemValidationError = validate$1O(obj_listShares_item, path_listShares_item);
|
|
8635
|
+
if (referencepath_listShares_itemValidationError !== null) {
|
|
8636
|
+
let message = 'Object doesn\'t match ListInfoShareCategoryRepresentation (at "' + path_listShares_item + '")\n';
|
|
8637
|
+
message += referencepath_listShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
8638
|
+
return new TypeError(message);
|
|
8639
|
+
}
|
|
8640
|
+
}
|
|
8641
|
+
}
|
|
8517
8642
|
if (obj.objectApiNames !== undefined) {
|
|
8518
8643
|
const obj_objectApiNames = obj.objectApiNames;
|
|
8519
8644
|
const path_objectApiNames = path + '.objectApiNames';
|
|
@@ -8536,7 +8661,7 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
8536
8661
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
8537
8662
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
8538
8663
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
8539
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
8664
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1N(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
8540
8665
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
8541
8666
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
8542
8667
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8548,7 +8673,7 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
8548
8673
|
const path_scope = path + '.scope';
|
|
8549
8674
|
let obj_scope_union0 = null;
|
|
8550
8675
|
const obj_scope_union0_error = (() => {
|
|
8551
|
-
const referencepath_scopeValidationError = validate$
|
|
8676
|
+
const referencepath_scopeValidationError = validate$1K(obj_scope, path_scope);
|
|
8552
8677
|
if (referencepath_scopeValidationError !== null) {
|
|
8553
8678
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
8554
8679
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8581,7 +8706,7 @@ function validate$1G(obj, path = 'ListInfoRepresentation') {
|
|
|
8581
8706
|
}
|
|
8582
8707
|
const obj_userPreferences = obj.userPreferences;
|
|
8583
8708
|
const path_userPreferences = path + '.userPreferences';
|
|
8584
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
8709
|
+
const referencepath_userPreferencesValidationError = validate$1J(obj_userPreferences, path_userPreferences);
|
|
8585
8710
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
8586
8711
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
8587
8712
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8616,9 +8741,10 @@ function normalize$P(input, existing, path, luvio, store, timestamp) {
|
|
|
8616
8741
|
return input;
|
|
8617
8742
|
}
|
|
8618
8743
|
const select$2X = function ListInfoRepresentationSelect() {
|
|
8619
|
-
const { selections: ListColumnRepresentation__selections, opaque: ListColumnRepresentation__opaque, } = select$
|
|
8620
|
-
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$
|
|
8621
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
8744
|
+
const { selections: ListColumnRepresentation__selections, opaque: ListColumnRepresentation__opaque, } = select$35();
|
|
8745
|
+
const { selections: ListFilterByInfoRepresentation__selections, opaque: ListFilterByInfoRepresentation__opaque, } = select$34();
|
|
8746
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$33();
|
|
8747
|
+
const { selections: ListInfoShareCategoryRepresentation__selections, opaque: ListInfoShareCategoryRepresentation__opaque, } = select$31();
|
|
8622
8748
|
const { selections: ListOrderByInfoRepresentation__selections, opaque: ListOrderByInfoRepresentation__opaque, } = select$30();
|
|
8623
8749
|
const { selections: ListScopeRepresentation__selections, opaque: ListScopeRepresentation__opaque, } = select$2Z();
|
|
8624
8750
|
const { selections: ListUserPreferenceRepresentation__selections, opaque: ListUserPreferenceRepresentation__opaque, } = select$2Y();
|
|
@@ -8666,6 +8792,13 @@ const select$2X = function ListInfoRepresentationSelect() {
|
|
|
8666
8792
|
kind: 'Object',
|
|
8667
8793
|
selections: ListReferenceRepresentation__selections
|
|
8668
8794
|
},
|
|
8795
|
+
{
|
|
8796
|
+
name: 'listShares',
|
|
8797
|
+
kind: 'Object',
|
|
8798
|
+
plural: true,
|
|
8799
|
+
selections: ListInfoShareCategoryRepresentation__selections,
|
|
8800
|
+
required: false
|
|
8801
|
+
},
|
|
8669
8802
|
{
|
|
8670
8803
|
name: 'objectApiNames',
|
|
8671
8804
|
kind: 'Scalar',
|
|
@@ -8713,7 +8846,7 @@ function equals$14(existing, incoming) {
|
|
|
8713
8846
|
}
|
|
8714
8847
|
const ingest$1U = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8715
8848
|
if (process.env.NODE_ENV !== 'production') {
|
|
8716
|
-
const validateError = validate$
|
|
8849
|
+
const validateError = validate$1I(input);
|
|
8717
8850
|
if (validateError !== null) {
|
|
8718
8851
|
throw validateError;
|
|
8719
8852
|
}
|
|
@@ -8779,7 +8912,7 @@ function toSortedStringArray(value) {
|
|
|
8779
8912
|
}
|
|
8780
8913
|
|
|
8781
8914
|
const VERSION$2m = "d1e589a127fb1060c89070cdb6f500b2";
|
|
8782
|
-
function validate$
|
|
8915
|
+
function validate$1H(obj, path = 'RecordTypeInfoRepresentation') {
|
|
8783
8916
|
const v_error = (() => {
|
|
8784
8917
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8785
8918
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8871,7 +9004,7 @@ function equals$13(existing, incoming) {
|
|
|
8871
9004
|
}
|
|
8872
9005
|
|
|
8873
9006
|
const VERSION$2l = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
8874
|
-
function validate$
|
|
9007
|
+
function validate$1G(obj, path = 'FieldValueRepresentation') {
|
|
8875
9008
|
const v_error = (() => {
|
|
8876
9009
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8877
9010
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9018,7 +9151,7 @@ function equals$12(existing, incoming) {
|
|
|
9018
9151
|
}
|
|
9019
9152
|
const ingest$1T = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9020
9153
|
if (process.env.NODE_ENV !== 'production') {
|
|
9021
|
-
const validateError = validate$
|
|
9154
|
+
const validateError = validate$1G(input);
|
|
9022
9155
|
if (validateError !== null) {
|
|
9023
9156
|
throw validateError;
|
|
9024
9157
|
}
|
|
@@ -9069,7 +9202,7 @@ const getTypeCacheKeys$1V = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
9069
9202
|
|
|
9070
9203
|
const TTL$C = 120000;
|
|
9071
9204
|
const VERSION$2k = "79cb5ac9f44542f683d00245fdfe500d";
|
|
9072
|
-
function validate$
|
|
9205
|
+
function validate$1F(obj, path = 'RecordCollectionRepresentation') {
|
|
9073
9206
|
const v_error = (() => {
|
|
9074
9207
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9075
9208
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9342,7 +9475,7 @@ function equals$11(existing, incoming) {
|
|
|
9342
9475
|
}
|
|
9343
9476
|
const ingest$1S = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9344
9477
|
if (process.env.NODE_ENV !== 'production') {
|
|
9345
|
-
const validateError = validate$
|
|
9478
|
+
const validateError = validate$1F(input);
|
|
9346
9479
|
if (validateError !== null) {
|
|
9347
9480
|
throw validateError;
|
|
9348
9481
|
}
|
|
@@ -9378,7 +9511,7 @@ const keyBuilderFromType$z = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
9378
9511
|
|
|
9379
9512
|
const TTL$B = 30000;
|
|
9380
9513
|
const VERSION$2j = "98c5b18512e48ca8d28727549507e4ba";
|
|
9381
|
-
function validate$
|
|
9514
|
+
function validate$1E(obj, path = 'RecordRepresentation') {
|
|
9382
9515
|
const v_error = (() => {
|
|
9383
9516
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9384
9517
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9508,7 +9641,7 @@ function validate$1C(obj, path = 'RecordRepresentation') {
|
|
|
9508
9641
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
9509
9642
|
let obj_recordTypeInfo_union0 = null;
|
|
9510
9643
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
9511
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
9644
|
+
const referencepath_recordTypeInfoValidationError = validate$1H(obj_recordTypeInfo, path_recordTypeInfo);
|
|
9512
9645
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
9513
9646
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
9514
9647
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12174,7 +12307,7 @@ function normalize$M(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
12174
12307
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
12175
12308
|
return (input, path, luvio, store, timestamp) => {
|
|
12176
12309
|
if (process.env.NODE_ENV !== 'production') {
|
|
12177
|
-
const validateError = validate$
|
|
12310
|
+
const validateError = validate$1G(input);
|
|
12178
12311
|
if (validateError !== null) {
|
|
12179
12312
|
throw validateError;
|
|
12180
12313
|
}
|
|
@@ -12267,11 +12400,12 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
12267
12400
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
12268
12401
|
return (input, path, luvio, store, timestamp) => {
|
|
12269
12402
|
if (process.env.NODE_ENV !== 'production') {
|
|
12270
|
-
const validateError = validate$
|
|
12403
|
+
const validateError = validate$1E(input);
|
|
12271
12404
|
if (validateError !== null) {
|
|
12272
12405
|
throw validateError;
|
|
12273
12406
|
}
|
|
12274
12407
|
}
|
|
12408
|
+
input.eTag = ''; //[W-13724550] Record Reps ALWAYS have '' etag, to be consistent with GraphQL, as it is not queryable via GraphQL.
|
|
12275
12409
|
const key = keyBuilderFromType$z(luvio, input);
|
|
12276
12410
|
let existingRecord = store.readEntry(key);
|
|
12277
12411
|
const recordPath = {
|
|
@@ -12994,6 +13128,7 @@ function resolveConflict(luvio, map) {
|
|
|
12994
13128
|
|
|
12995
13129
|
const createIngestRecordWithFields = (fields, optionalFields) => {
|
|
12996
13130
|
return (input, path, luvio, store, timestamp) => {
|
|
13131
|
+
input.eTag = ''; //[W-13724550] Record Reps ALWAYS have '' etag, to be consistent with GraphQL, as it is not queryable via GraphQL.
|
|
12997
13132
|
const conflictMap = {
|
|
12998
13133
|
conflicts: {},
|
|
12999
13134
|
serverRequestCount: 0,
|
|
@@ -13224,7 +13359,7 @@ function revertPaginationOptimization(variables) {
|
|
|
13224
13359
|
|
|
13225
13360
|
const TTL$A = 30000;
|
|
13226
13361
|
const VERSION$2h = "614ef19823027c07fa6deb9a149619d2";
|
|
13227
|
-
function validate$
|
|
13362
|
+
function validate$1D(obj, path = 'ListRecordCollectionRepresentation') {
|
|
13228
13363
|
const v_error = (() => {
|
|
13229
13364
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13230
13365
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13284,7 +13419,7 @@ function validate$1B(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
13284
13419
|
}
|
|
13285
13420
|
const obj_listReference = obj.listReference;
|
|
13286
13421
|
const path_listReference = path + '.listReference';
|
|
13287
|
-
const referencepath_listReferenceValidationError = validate$
|
|
13422
|
+
const referencepath_listReferenceValidationError = validate$1Q(obj_listReference, path_listReference);
|
|
13288
13423
|
if (referencepath_listReferenceValidationError !== null) {
|
|
13289
13424
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
13290
13425
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13495,7 +13630,7 @@ function normalize$L(input, existing, path, luvio, store, timestamp) {
|
|
|
13495
13630
|
return input;
|
|
13496
13631
|
}
|
|
13497
13632
|
const select$2S = function ListRecordCollectionRepresentationSelect(paginationParams) {
|
|
13498
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
13633
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$33();
|
|
13499
13634
|
return {
|
|
13500
13635
|
kind: 'Fragment',
|
|
13501
13636
|
reader: true,
|
|
@@ -13609,7 +13744,7 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
|
|
|
13609
13744
|
kind: 'Link',
|
|
13610
13745
|
fragment: select$2T()
|
|
13611
13746
|
} : params.records;
|
|
13612
|
-
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$
|
|
13747
|
+
const { selections: ListReferenceRepresentation__selections, opaque: ListReferenceRepresentation__opaque, } = select$33();
|
|
13613
13748
|
return {
|
|
13614
13749
|
kind: 'Fragment',
|
|
13615
13750
|
reader: true,
|
|
@@ -13785,7 +13920,7 @@ function equals$$(existing, incoming) {
|
|
|
13785
13920
|
}
|
|
13786
13921
|
const ingest$1Q = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13787
13922
|
if (process.env.NODE_ENV !== 'production') {
|
|
13788
|
-
const validateError = validate$
|
|
13923
|
+
const validateError = validate$1D(input);
|
|
13789
13924
|
if (validateError !== null) {
|
|
13790
13925
|
throw validateError;
|
|
13791
13926
|
}
|
|
@@ -13878,7 +14013,7 @@ function getTypeCacheKeys$1S(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
13878
14013
|
}
|
|
13879
14014
|
|
|
13880
14015
|
const VERSION$2g = "cf8d2eb042188974da26ffe6618cfd07";
|
|
13881
|
-
function validate$
|
|
14016
|
+
function validate$1C(obj, path = 'ListUiRepresentation') {
|
|
13882
14017
|
const v_error = (() => {
|
|
13883
14018
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13884
14019
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13984,7 +14119,7 @@ function equals$_(existing, incoming) {
|
|
|
13984
14119
|
}
|
|
13985
14120
|
const ingest$1P = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13986
14121
|
if (process.env.NODE_ENV !== 'production') {
|
|
13987
|
-
const validateError = validate$
|
|
14122
|
+
const validateError = validate$1C(input);
|
|
13988
14123
|
if (validateError !== null) {
|
|
13989
14124
|
throw validateError;
|
|
13990
14125
|
}
|
|
@@ -14518,7 +14653,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
14518
14653
|
}
|
|
14519
14654
|
|
|
14520
14655
|
const VERSION$2f = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
14521
|
-
function validate$
|
|
14656
|
+
function validate$1B(obj, path = 'ListViewSummaryRepresentation') {
|
|
14522
14657
|
const v_error = (() => {
|
|
14523
14658
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14524
14659
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14630,7 +14765,7 @@ function equals$Z(existing, incoming) {
|
|
|
14630
14765
|
}
|
|
14631
14766
|
const ingest$1O = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14632
14767
|
if (process.env.NODE_ENV !== 'production') {
|
|
14633
|
-
const validateError = validate$
|
|
14768
|
+
const validateError = validate$1B(input);
|
|
14634
14769
|
if (validateError !== null) {
|
|
14635
14770
|
throw validateError;
|
|
14636
14771
|
}
|
|
@@ -14651,7 +14786,7 @@ function getTypeCacheKeys$1Q(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14651
14786
|
}
|
|
14652
14787
|
|
|
14653
14788
|
const VERSION$2e = "f4c79fe066da3558499d5ee88c72abcd";
|
|
14654
|
-
function validate$
|
|
14789
|
+
function validate$1A(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
14655
14790
|
const v_error = (() => {
|
|
14656
14791
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14657
14792
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15035,7 +15170,7 @@ function equals$Y(existing, incoming) {
|
|
|
15035
15170
|
}
|
|
15036
15171
|
const ingest$1N = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15037
15172
|
if (process.env.NODE_ENV !== 'production') {
|
|
15038
|
-
const validateError = validate$
|
|
15173
|
+
const validateError = validate$1A(input);
|
|
15039
15174
|
if (validateError !== null) {
|
|
15040
15175
|
throw validateError;
|
|
15041
15176
|
}
|
|
@@ -16166,7 +16301,7 @@ const factory$i = (luvio) => {
|
|
|
16166
16301
|
}, { contextId: contextId$6 });
|
|
16167
16302
|
};
|
|
16168
16303
|
|
|
16169
|
-
function validate$
|
|
16304
|
+
function validate$1z(obj, path = 'ChildRelationshipRepresentation') {
|
|
16170
16305
|
const v_error = (() => {
|
|
16171
16306
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16172
16307
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16214,7 +16349,7 @@ function validate$1x(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
16214
16349
|
return v_error === undefined ? null : v_error;
|
|
16215
16350
|
}
|
|
16216
16351
|
|
|
16217
|
-
function validate$
|
|
16352
|
+
function validate$1y(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
16218
16353
|
const v_error = (() => {
|
|
16219
16354
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16220
16355
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16245,7 +16380,7 @@ function validate$1w(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
16245
16380
|
return v_error === undefined ? null : v_error;
|
|
16246
16381
|
}
|
|
16247
16382
|
|
|
16248
|
-
function validate$
|
|
16383
|
+
function validate$1x(obj, path = 'ReferenceToInfoRepresentation') {
|
|
16249
16384
|
const v_error = (() => {
|
|
16250
16385
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16251
16386
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16271,7 +16406,7 @@ function validate$1v(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
16271
16406
|
return v_error === undefined ? null : v_error;
|
|
16272
16407
|
}
|
|
16273
16408
|
|
|
16274
|
-
function validate$
|
|
16409
|
+
function validate$1w(obj, path = 'FieldRepresentation') {
|
|
16275
16410
|
const v_error = (() => {
|
|
16276
16411
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16277
16412
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16431,7 +16566,7 @@ function validate$1u(obj, path = 'FieldRepresentation') {
|
|
|
16431
16566
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
16432
16567
|
let obj_filteredLookupInfo_union0 = null;
|
|
16433
16568
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
16434
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
16569
|
+
const referencepath_filteredLookupInfoValidationError = validate$1y(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
16435
16570
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
16436
16571
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
16437
16572
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16556,7 +16691,7 @@ function validate$1u(obj, path = 'FieldRepresentation') {
|
|
|
16556
16691
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
16557
16692
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
16558
16693
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
16559
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
16694
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1x(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
16560
16695
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
16561
16696
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
16562
16697
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16623,7 +16758,7 @@ function validate$1u(obj, path = 'FieldRepresentation') {
|
|
|
16623
16758
|
return v_error === undefined ? null : v_error;
|
|
16624
16759
|
}
|
|
16625
16760
|
|
|
16626
|
-
function validate$
|
|
16761
|
+
function validate$1v(obj, path = 'ThemeInfoRepresentation') {
|
|
16627
16762
|
const v_error = (() => {
|
|
16628
16763
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16629
16764
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16665,7 +16800,7 @@ function validate$1t(obj, path = 'ThemeInfoRepresentation') {
|
|
|
16665
16800
|
|
|
16666
16801
|
const TTL$z = 900000;
|
|
16667
16802
|
const VERSION$2d = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
16668
|
-
function validate$
|
|
16803
|
+
function validate$1u(obj, path = 'ObjectInfoRepresentation') {
|
|
16669
16804
|
const v_error = (() => {
|
|
16670
16805
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16671
16806
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16735,7 +16870,7 @@ function validate$1s(obj, path = 'ObjectInfoRepresentation') {
|
|
|
16735
16870
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
16736
16871
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
16737
16872
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
16738
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
16873
|
+
const referencepath_childRelationships_itemValidationError = validate$1z(obj_childRelationships_item, path_childRelationships_item);
|
|
16739
16874
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
16740
16875
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
16741
16876
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16817,7 +16952,7 @@ function validate$1s(obj, path = 'ObjectInfoRepresentation') {
|
|
|
16817
16952
|
const key = obj_fields_keys[i];
|
|
16818
16953
|
const obj_fields_prop = obj_fields[key];
|
|
16819
16954
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
16820
|
-
const referencepath_fields_propValidationError = validate$
|
|
16955
|
+
const referencepath_fields_propValidationError = validate$1w(obj_fields_prop, path_fields_prop);
|
|
16821
16956
|
if (referencepath_fields_propValidationError !== null) {
|
|
16822
16957
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
16823
16958
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16897,7 +17032,7 @@ function validate$1s(obj, path = 'ObjectInfoRepresentation') {
|
|
|
16897
17032
|
const key = obj_recordTypeInfos_keys[i];
|
|
16898
17033
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
16899
17034
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
16900
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
17035
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1H(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
16901
17036
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
16902
17037
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
16903
17038
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16913,7 +17048,7 @@ function validate$1s(obj, path = 'ObjectInfoRepresentation') {
|
|
|
16913
17048
|
const path_themeInfo = path + '.themeInfo';
|
|
16914
17049
|
let obj_themeInfo_union0 = null;
|
|
16915
17050
|
const obj_themeInfo_union0_error = (() => {
|
|
16916
|
-
const referencepath_themeInfoValidationError = validate$
|
|
17051
|
+
const referencepath_themeInfoValidationError = validate$1v(obj_themeInfo, path_themeInfo);
|
|
16917
17052
|
if (referencepath_themeInfoValidationError !== null) {
|
|
16918
17053
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
16919
17054
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17072,7 +17207,7 @@ function equals$X(existing, incoming) {
|
|
|
17072
17207
|
}
|
|
17073
17208
|
const ingest$1M = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17074
17209
|
if (process.env.NODE_ENV !== 'production') {
|
|
17075
|
-
const validateError = validate$
|
|
17210
|
+
const validateError = validate$1u(input);
|
|
17076
17211
|
if (validateError !== null) {
|
|
17077
17212
|
throw validateError;
|
|
17078
17213
|
}
|
|
@@ -17233,7 +17368,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
17233
17368
|
buildCachedSnapshotCachePolicy$M, buildNetworkSnapshotCachePolicy$M);
|
|
17234
17369
|
};
|
|
17235
17370
|
|
|
17236
|
-
function validate$
|
|
17371
|
+
function validate$1t(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
17237
17372
|
const v_error = (() => {
|
|
17238
17373
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17239
17374
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17281,7 +17416,7 @@ var DiscriminatorValues$4;
|
|
|
17281
17416
|
DiscriminatorValues["Field"] = "Field";
|
|
17282
17417
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
17283
17418
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
17284
|
-
function validate$
|
|
17419
|
+
function validate$1s(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
17285
17420
|
const v_error = (() => {
|
|
17286
17421
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17287
17422
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17321,7 +17456,7 @@ function validate$1q(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
17321
17456
|
return v_error === undefined ? null : v_error;
|
|
17322
17457
|
}
|
|
17323
17458
|
|
|
17324
|
-
function validate$
|
|
17459
|
+
function validate$1r(obj, path = 'RecordLayoutItemRepresentation') {
|
|
17325
17460
|
const v_error = (() => {
|
|
17326
17461
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17327
17462
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17349,7 +17484,7 @@ function validate$1p(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
17349
17484
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
17350
17485
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
17351
17486
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
17352
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
17487
|
+
const referencepath_layoutComponents_itemValidationError = validate$1s(obj_layoutComponents_item, path_layoutComponents_item);
|
|
17353
17488
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
17354
17489
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
17355
17490
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17396,7 +17531,7 @@ function validate$1p(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
17396
17531
|
return v_error === undefined ? null : v_error;
|
|
17397
17532
|
}
|
|
17398
17533
|
|
|
17399
|
-
function validate$
|
|
17534
|
+
function validate$1q(obj, path = 'RecordLayoutRowRepresentation') {
|
|
17400
17535
|
const v_error = (() => {
|
|
17401
17536
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17402
17537
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17409,7 +17544,7 @@ function validate$1o(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
17409
17544
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
17410
17545
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
17411
17546
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
17412
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
17547
|
+
const referencepath_layoutItems_itemValidationError = validate$1r(obj_layoutItems_item, path_layoutItems_item);
|
|
17413
17548
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
17414
17549
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
17415
17550
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17420,7 +17555,7 @@ function validate$1o(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
17420
17555
|
return v_error === undefined ? null : v_error;
|
|
17421
17556
|
}
|
|
17422
17557
|
|
|
17423
|
-
function validate$
|
|
17558
|
+
function validate$1p(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
17424
17559
|
const v_error = (() => {
|
|
17425
17560
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17426
17561
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17495,7 +17630,7 @@ function validate$1n(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
17495
17630
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
17496
17631
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
17497
17632
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
17498
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
17633
|
+
const referencepath_layoutRows_itemValidationError = validate$1q(obj_layoutRows_item, path_layoutRows_item);
|
|
17499
17634
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
17500
17635
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
17501
17636
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17518,7 +17653,7 @@ function validate$1n(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
17518
17653
|
|
|
17519
17654
|
const TTL$y = 900000;
|
|
17520
17655
|
const VERSION$2c = "fb515e25a89ca1ec154dc865e72b913a";
|
|
17521
|
-
function validate$
|
|
17656
|
+
function validate$1o(obj, path = 'RecordLayoutRepresentation') {
|
|
17522
17657
|
const v_error = (() => {
|
|
17523
17658
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17524
17659
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17624,7 +17759,7 @@ function validate$1m(obj, path = 'RecordLayoutRepresentation') {
|
|
|
17624
17759
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
17625
17760
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
17626
17761
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
17627
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
17762
|
+
const referencepath_saveOptions_itemValidationError = validate$1t(obj_saveOptions_item, path_saveOptions_item);
|
|
17628
17763
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
17629
17764
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
17630
17765
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17639,7 +17774,7 @@ function validate$1m(obj, path = 'RecordLayoutRepresentation') {
|
|
|
17639
17774
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
17640
17775
|
const obj_sections_item = obj_sections[i];
|
|
17641
17776
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
17642
|
-
const referencepath_sections_itemValidationError = validate$
|
|
17777
|
+
const referencepath_sections_itemValidationError = validate$1p(obj_sections_item, path_sections_item);
|
|
17643
17778
|
if (referencepath_sections_itemValidationError !== null) {
|
|
17644
17779
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
17645
17780
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17714,7 +17849,7 @@ function equals$W(existing, incoming) {
|
|
|
17714
17849
|
}
|
|
17715
17850
|
const ingest$1L = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17716
17851
|
if (process.env.NODE_ENV !== 'production') {
|
|
17717
|
-
const validateError = validate$
|
|
17852
|
+
const validateError = validate$1o(input);
|
|
17718
17853
|
if (validateError !== null) {
|
|
17719
17854
|
throw validateError;
|
|
17720
17855
|
}
|
|
@@ -17756,7 +17891,7 @@ function getRecordId18Array(value) {
|
|
|
17756
17891
|
return dedupe(array).sort();
|
|
17757
17892
|
}
|
|
17758
17893
|
|
|
17759
|
-
function validate$
|
|
17894
|
+
function validate$1n(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
17760
17895
|
const v_error = (() => {
|
|
17761
17896
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17762
17897
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17777,7 +17912,7 @@ function validate$1l(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
17777
17912
|
|
|
17778
17913
|
const TTL$x = 900000;
|
|
17779
17914
|
const VERSION$2b = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
17780
|
-
function validate$
|
|
17915
|
+
function validate$1m(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
17781
17916
|
const v_error = (() => {
|
|
17782
17917
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17783
17918
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17817,7 +17952,7 @@ function validate$1k(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
17817
17952
|
const key = obj_sectionUserStates_keys[i];
|
|
17818
17953
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
17819
17954
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
17820
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
17955
|
+
const referencepath_sectionUserStates_propValidationError = validate$1n(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
17821
17956
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
17822
17957
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
17823
17958
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17874,7 +18009,7 @@ function equals$V(existing, incoming) {
|
|
|
17874
18009
|
}
|
|
17875
18010
|
const ingest$1K = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17876
18011
|
if (process.env.NODE_ENV !== 'production') {
|
|
17877
|
-
const validateError = validate$
|
|
18012
|
+
const validateError = validate$1m(input);
|
|
17878
18013
|
if (validateError !== null) {
|
|
17879
18014
|
throw validateError;
|
|
17880
18015
|
}
|
|
@@ -17896,7 +18031,7 @@ function getTypeCacheKeys$1M(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
17896
18031
|
|
|
17897
18032
|
const TTL$w = 900000;
|
|
17898
18033
|
const VERSION$2a = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
17899
|
-
function validate$
|
|
18034
|
+
function validate$1l(obj, path = 'RecordUiRepresentation') {
|
|
17900
18035
|
const v_error = (() => {
|
|
17901
18036
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17902
18037
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18158,7 +18293,7 @@ function equals$U(existing, incoming) {
|
|
|
18158
18293
|
}
|
|
18159
18294
|
const ingest$1J = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18160
18295
|
if (process.env.NODE_ENV !== 'production') {
|
|
18161
|
-
const validateError = validate$
|
|
18296
|
+
const validateError = validate$1l(input);
|
|
18162
18297
|
if (validateError !== null) {
|
|
18163
18298
|
throw validateError;
|
|
18164
18299
|
}
|
|
@@ -19273,7 +19408,7 @@ const factory$g = (luvio) => {
|
|
|
19273
19408
|
};
|
|
19274
19409
|
|
|
19275
19410
|
const VERSION$29 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
19276
|
-
function validate$
|
|
19411
|
+
function validate$1k(obj, path = 'QuickActionExecutionRepresentation') {
|
|
19277
19412
|
const v_error = (() => {
|
|
19278
19413
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19279
19414
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19446,7 +19581,7 @@ function equals$T(existing, incoming) {
|
|
|
19446
19581
|
}
|
|
19447
19582
|
const ingest$1I = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19448
19583
|
if (process.env.NODE_ENV !== 'production') {
|
|
19449
|
-
const validateError = validate$
|
|
19584
|
+
const validateError = validate$1k(input);
|
|
19450
19585
|
if (validateError !== null) {
|
|
19451
19586
|
throw validateError;
|
|
19452
19587
|
}
|
|
@@ -19468,7 +19603,7 @@ function getTypeCacheKeys$1L(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
19468
19603
|
|
|
19469
19604
|
const TTL$v = 900000;
|
|
19470
19605
|
const VERSION$28 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
19471
|
-
function validate$
|
|
19606
|
+
function validate$1j(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
19472
19607
|
const v_error = (() => {
|
|
19473
19608
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19474
19609
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19633,7 +19768,7 @@ function coerceFormFactor(form) {
|
|
|
19633
19768
|
}
|
|
19634
19769
|
|
|
19635
19770
|
const VERSION$27 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
19636
|
-
function validate$
|
|
19771
|
+
function validate$1i(obj, path = 'PlatformActionRepresentation') {
|
|
19637
19772
|
const v_error = (() => {
|
|
19638
19773
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19639
19774
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20165,7 +20300,7 @@ function equals$R(existing, incoming) {
|
|
|
20165
20300
|
}
|
|
20166
20301
|
const ingest$1H = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20167
20302
|
if (process.env.NODE_ENV !== 'production') {
|
|
20168
|
-
const validateError = validate$
|
|
20303
|
+
const validateError = validate$1i(input);
|
|
20169
20304
|
if (validateError !== null) {
|
|
20170
20305
|
throw validateError;
|
|
20171
20306
|
}
|
|
@@ -20186,7 +20321,7 @@ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
20186
20321
|
}
|
|
20187
20322
|
|
|
20188
20323
|
const VERSION$26 = "378d506f563a4bd724b322d440df33d1";
|
|
20189
|
-
function validate$
|
|
20324
|
+
function validate$1h(obj, path = 'EntityActionRepresentation') {
|
|
20190
20325
|
const v_error = (() => {
|
|
20191
20326
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20192
20327
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20300,7 +20435,7 @@ function equals$Q(existing, incoming) {
|
|
|
20300
20435
|
}
|
|
20301
20436
|
const ingest$1G = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20302
20437
|
if (process.env.NODE_ENV !== 'production') {
|
|
20303
|
-
const validateError = validate$
|
|
20438
|
+
const validateError = validate$1h(input);
|
|
20304
20439
|
if (validateError !== null) {
|
|
20305
20440
|
throw validateError;
|
|
20306
20441
|
}
|
|
@@ -20326,7 +20461,7 @@ function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
20326
20461
|
|
|
20327
20462
|
const TTL$u = 300000;
|
|
20328
20463
|
const VERSION$25 = "e485d96c1402a9ca2f56e56485af0216";
|
|
20329
|
-
function validate$
|
|
20464
|
+
function validate$1g(obj, path = 'ActionRepresentation') {
|
|
20330
20465
|
const v_error = (() => {
|
|
20331
20466
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20332
20467
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20424,7 +20559,7 @@ function equals$P(existing, incoming) {
|
|
|
20424
20559
|
}
|
|
20425
20560
|
const ingest$1F = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20426
20561
|
if (process.env.NODE_ENV !== 'production') {
|
|
20427
|
-
const validateError = validate$
|
|
20562
|
+
const validateError = validate$1g(input);
|
|
20428
20563
|
if (validateError !== null) {
|
|
20429
20564
|
throw validateError;
|
|
20430
20565
|
}
|
|
@@ -20596,7 +20731,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
20596
20731
|
|
|
20597
20732
|
const TTL$t = 900000;
|
|
20598
20733
|
const VERSION$24 = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
20599
|
-
function validate$
|
|
20734
|
+
function validate$1f(obj, path = 'QuickActionLayoutRepresentation') {
|
|
20600
20735
|
const v_error = (() => {
|
|
20601
20736
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20602
20737
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20613,7 +20748,7 @@ function validate$1d(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
20613
20748
|
}
|
|
20614
20749
|
const obj_layout = obj.layout;
|
|
20615
20750
|
const path_layout = path + '.layout';
|
|
20616
|
-
const referencepath_layoutValidationError = validate$
|
|
20751
|
+
const referencepath_layoutValidationError = validate$1o(obj_layout, path_layout);
|
|
20617
20752
|
if (referencepath_layoutValidationError !== null) {
|
|
20618
20753
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
20619
20754
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20663,7 +20798,7 @@ function equals$O(existing, incoming) {
|
|
|
20663
20798
|
}
|
|
20664
20799
|
const ingest$1E = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20665
20800
|
if (process.env.NODE_ENV !== 'production') {
|
|
20666
|
-
const validateError = validate$
|
|
20801
|
+
const validateError = validate$1f(input);
|
|
20667
20802
|
if (validateError !== null) {
|
|
20668
20803
|
throw validateError;
|
|
20669
20804
|
}
|
|
@@ -21140,7 +21275,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
21140
21275
|
};
|
|
21141
21276
|
|
|
21142
21277
|
const VERSION$23 = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
21143
|
-
function validate$
|
|
21278
|
+
function validate$1e(obj, path = 'ActionOverrideRepresentation') {
|
|
21144
21279
|
const v_error = (() => {
|
|
21145
21280
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21146
21281
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21173,7 +21308,7 @@ function equals$N(existing, incoming) {
|
|
|
21173
21308
|
}
|
|
21174
21309
|
const ingest$1D = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21175
21310
|
if (process.env.NODE_ENV !== 'production') {
|
|
21176
|
-
const validateError = validate$
|
|
21311
|
+
const validateError = validate$1e(input);
|
|
21177
21312
|
if (validateError !== null) {
|
|
21178
21313
|
throw validateError;
|
|
21179
21314
|
}
|
|
@@ -21349,7 +21484,7 @@ function merge$1(existing, incoming) {
|
|
|
21349
21484
|
const dynamicIngest$4 = (ingestParams) => {
|
|
21350
21485
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21351
21486
|
if (process.env.NODE_ENV !== 'production') {
|
|
21352
|
-
const validateError = validate$
|
|
21487
|
+
const validateError = validate$1j(input);
|
|
21353
21488
|
if (validateError !== null) {
|
|
21354
21489
|
throw validateError;
|
|
21355
21490
|
}
|
|
@@ -21858,7 +21993,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
21858
21993
|
buildCachedSnapshotCachePolicy$E, buildNetworkSnapshotCachePolicy$E);
|
|
21859
21994
|
};
|
|
21860
21995
|
|
|
21861
|
-
function validate$
|
|
21996
|
+
function validate$1d(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
21862
21997
|
const v_error = (() => {
|
|
21863
21998
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21864
21999
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22284,7 +22419,7 @@ function typeCheckConfig$Q(untrustedConfig) {
|
|
|
22284
22419
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
22285
22420
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
22286
22421
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
22287
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
22422
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1d(untrustedConfig_relatedListsActionParameters_item);
|
|
22288
22423
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
22289
22424
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
22290
22425
|
}
|
|
@@ -22602,7 +22737,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
22602
22737
|
};
|
|
22603
22738
|
|
|
22604
22739
|
const VERSION$22 = "a316b3bba367f54adc67d7552ed7d36d";
|
|
22605
|
-
function validate$
|
|
22740
|
+
function validate$1c(obj, path = 'PageReferenceRepresentation') {
|
|
22606
22741
|
const v_error = (() => {
|
|
22607
22742
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22608
22743
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22663,7 +22798,7 @@ function equals$M(existing, incoming) {
|
|
|
22663
22798
|
}
|
|
22664
22799
|
const ingest$1C = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22665
22800
|
if (process.env.NODE_ENV !== 'production') {
|
|
22666
|
-
const validateError = validate$
|
|
22801
|
+
const validateError = validate$1c(input);
|
|
22667
22802
|
if (validateError !== null) {
|
|
22668
22803
|
throw validateError;
|
|
22669
22804
|
}
|
|
@@ -22685,7 +22820,7 @@ function getTypeCacheKeys$1E(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22685
22820
|
|
|
22686
22821
|
const TTL$s = 120000;
|
|
22687
22822
|
const VERSION$21 = "09884ca5bf90ea4662092a4e48817081";
|
|
22688
|
-
function validate$
|
|
22823
|
+
function validate$1b(obj, path = 'NavItemRepresentation') {
|
|
22689
22824
|
const v_error = (() => {
|
|
22690
22825
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22691
22826
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23077,7 +23212,7 @@ function equals$L(existing, incoming) {
|
|
|
23077
23212
|
}
|
|
23078
23213
|
const ingest$1B = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23079
23214
|
if (process.env.NODE_ENV !== 'production') {
|
|
23080
|
-
const validateError = validate$
|
|
23215
|
+
const validateError = validate$1b(input);
|
|
23081
23216
|
if (validateError !== null) {
|
|
23082
23217
|
throw validateError;
|
|
23083
23218
|
}
|
|
@@ -23102,7 +23237,7 @@ function getTypeCacheKeys$1D(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23102
23237
|
|
|
23103
23238
|
const TTL$r = 300000;
|
|
23104
23239
|
const VERSION$20 = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
23105
|
-
function validate$
|
|
23240
|
+
function validate$1a(obj, path = 'AppRepresentation') {
|
|
23106
23241
|
const v_error = (() => {
|
|
23107
23242
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23108
23243
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23544,7 +23679,7 @@ function equals$K(existing, incoming) {
|
|
|
23544
23679
|
}
|
|
23545
23680
|
const ingest$1A = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23546
23681
|
if (process.env.NODE_ENV !== 'production') {
|
|
23547
|
-
const validateError = validate$
|
|
23682
|
+
const validateError = validate$1a(input);
|
|
23548
23683
|
if (validateError !== null) {
|
|
23549
23684
|
throw validateError;
|
|
23550
23685
|
}
|
|
@@ -23574,7 +23709,7 @@ function getTypeCacheKeys$1C(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23574
23709
|
|
|
23575
23710
|
const TTL$q = 300000;
|
|
23576
23711
|
const VERSION$1$ = "a254babf0b6414315db7808a157fd9fc";
|
|
23577
|
-
function validate$
|
|
23712
|
+
function validate$19(obj, path = 'AppsRepresentation') {
|
|
23578
23713
|
const v_error = (() => {
|
|
23579
23714
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23580
23715
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23656,7 +23791,7 @@ function equals$J(existing, incoming) {
|
|
|
23656
23791
|
}
|
|
23657
23792
|
const ingest$1z = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23658
23793
|
if (process.env.NODE_ENV !== 'production') {
|
|
23659
|
-
const validateError = validate$
|
|
23794
|
+
const validateError = validate$19(input);
|
|
23660
23795
|
if (validateError !== null) {
|
|
23661
23796
|
throw validateError;
|
|
23662
23797
|
}
|
|
@@ -23964,7 +24099,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
23964
24099
|
};
|
|
23965
24100
|
|
|
23966
24101
|
const VERSION$1_ = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
23967
|
-
function validate$
|
|
24102
|
+
function validate$18(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
23968
24103
|
const v_error = (() => {
|
|
23969
24104
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23970
24105
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24026,7 +24161,7 @@ const select$2j = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
24026
24161
|
};
|
|
24027
24162
|
|
|
24028
24163
|
const VERSION$1Z = "320d7f254687278f2763d4b490dab3fb";
|
|
24029
|
-
function validate$
|
|
24164
|
+
function validate$17(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
24030
24165
|
const v_error = (() => {
|
|
24031
24166
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24032
24167
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24049,7 +24184,7 @@ function validate$15(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
24049
24184
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
24050
24185
|
const obj_filterItems_item = obj_filterItems[i];
|
|
24051
24186
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
24052
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
24187
|
+
const referencepath_filterItems_itemValidationError = validate$18(obj_filterItems_item, path_filterItems_item);
|
|
24053
24188
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
24054
24189
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
24055
24190
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24092,7 +24227,7 @@ const select$2i = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
24092
24227
|
};
|
|
24093
24228
|
|
|
24094
24229
|
const VERSION$1Y = "b47b44e260e5ce777beaf3da9088997c";
|
|
24095
|
-
function validate$
|
|
24230
|
+
function validate$16(obj, path = 'MatchRuleRepresentation') {
|
|
24096
24231
|
const v_error = (() => {
|
|
24097
24232
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24098
24233
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24162,7 +24297,7 @@ const select$2h = function MatchRuleRepresentationSelect() {
|
|
|
24162
24297
|
};
|
|
24163
24298
|
|
|
24164
24299
|
const VERSION$1X = "bb83d7210bb1d7861b6188bc5f552617";
|
|
24165
|
-
function validate$
|
|
24300
|
+
function validate$15(obj, path = 'DuplicateRuleRepresentation') {
|
|
24166
24301
|
const v_error = (() => {
|
|
24167
24302
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24168
24303
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24190,7 +24325,7 @@ function validate$13(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
24190
24325
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
24191
24326
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
24192
24327
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
24193
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
24328
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$17(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
24194
24329
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
24195
24330
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
24196
24331
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24210,7 +24345,7 @@ function validate$13(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
24210
24345
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
24211
24346
|
const obj_matchRules_item = obj_matchRules[i];
|
|
24212
24347
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
24213
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
24348
|
+
const referencepath_matchRules_itemValidationError = validate$16(obj_matchRules_item, path_matchRules_item);
|
|
24214
24349
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
24215
24350
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
24216
24351
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24303,7 +24438,7 @@ const select$2g = function DuplicateRuleRepresentationSelect() {
|
|
|
24303
24438
|
|
|
24304
24439
|
const TTL$p = 900000;
|
|
24305
24440
|
const VERSION$1W = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
24306
|
-
function validate$
|
|
24441
|
+
function validate$14(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
24307
24442
|
const v_error = (() => {
|
|
24308
24443
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24309
24444
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24338,7 +24473,7 @@ function validate$12(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
24338
24473
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
24339
24474
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
24340
24475
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
24341
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
24476
|
+
const referencepath_duplicateRules_itemValidationError = validate$15(obj_duplicateRules_item, path_duplicateRules_item);
|
|
24342
24477
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
24343
24478
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
24344
24479
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24405,7 +24540,7 @@ function equals$I(existing, incoming) {
|
|
|
24405
24540
|
}
|
|
24406
24541
|
const ingest$1y = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24407
24542
|
if (process.env.NODE_ENV !== 'production') {
|
|
24408
|
-
const validateError = validate$
|
|
24543
|
+
const validateError = validate$14(input);
|
|
24409
24544
|
if (validateError !== null) {
|
|
24410
24545
|
throw validateError;
|
|
24411
24546
|
}
|
|
@@ -25344,6 +25479,103 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
|
|
|
25344
25479
|
buildCachedSnapshotCachePolicy$u, buildNetworkSnapshotCachePolicy$u);
|
|
25345
25480
|
};
|
|
25346
25481
|
|
|
25482
|
+
function validate$13(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
25483
|
+
const v_error = (() => {
|
|
25484
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25485
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
25486
|
+
}
|
|
25487
|
+
const obj_fieldApiName = obj.fieldApiName;
|
|
25488
|
+
const path_fieldApiName = path + '.fieldApiName';
|
|
25489
|
+
if (typeof obj_fieldApiName !== 'string') {
|
|
25490
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldApiName + '" (at "' + path_fieldApiName + '")');
|
|
25491
|
+
}
|
|
25492
|
+
const obj_operandLabels = obj.operandLabels;
|
|
25493
|
+
const path_operandLabels = path + '.operandLabels';
|
|
25494
|
+
if (!ArrayIsArray(obj_operandLabels)) {
|
|
25495
|
+
return new TypeError('Expected "array" but received "' + typeof obj_operandLabels + '" (at "' + path_operandLabels + '")');
|
|
25496
|
+
}
|
|
25497
|
+
for (let i = 0; i < obj_operandLabels.length; i++) {
|
|
25498
|
+
const obj_operandLabels_item = obj_operandLabels[i];
|
|
25499
|
+
const path_operandLabels_item = path_operandLabels + '[' + i + ']';
|
|
25500
|
+
if (typeof obj_operandLabels_item !== 'string') {
|
|
25501
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operandLabels_item + '" (at "' + path_operandLabels_item + '")');
|
|
25502
|
+
}
|
|
25503
|
+
}
|
|
25504
|
+
const obj_operator = obj.operator;
|
|
25505
|
+
const path_operator = path + '.operator';
|
|
25506
|
+
if (typeof obj_operator !== 'string') {
|
|
25507
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
25508
|
+
}
|
|
25509
|
+
})();
|
|
25510
|
+
return v_error === undefined ? null : v_error;
|
|
25511
|
+
}
|
|
25512
|
+
|
|
25513
|
+
function validate$12(obj, path = 'ListScopeInputRepresentation') {
|
|
25514
|
+
const v_error = (() => {
|
|
25515
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25516
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
25517
|
+
}
|
|
25518
|
+
const obj_apiName = obj.apiName;
|
|
25519
|
+
const path_apiName = path + '.apiName';
|
|
25520
|
+
if (typeof obj_apiName !== 'string') {
|
|
25521
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
25522
|
+
}
|
|
25523
|
+
const obj_entityId = obj.entityId;
|
|
25524
|
+
const path_entityId = path + '.entityId';
|
|
25525
|
+
let obj_entityId_union0 = null;
|
|
25526
|
+
const obj_entityId_union0_error = (() => {
|
|
25527
|
+
if (typeof obj_entityId !== 'string') {
|
|
25528
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
25529
|
+
}
|
|
25530
|
+
})();
|
|
25531
|
+
if (obj_entityId_union0_error != null) {
|
|
25532
|
+
obj_entityId_union0 = obj_entityId_union0_error.message;
|
|
25533
|
+
}
|
|
25534
|
+
let obj_entityId_union1 = null;
|
|
25535
|
+
const obj_entityId_union1_error = (() => {
|
|
25536
|
+
if (obj_entityId !== null) {
|
|
25537
|
+
return new TypeError('Expected "null" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
25538
|
+
}
|
|
25539
|
+
})();
|
|
25540
|
+
if (obj_entityId_union1_error != null) {
|
|
25541
|
+
obj_entityId_union1 = obj_entityId_union1_error.message;
|
|
25542
|
+
}
|
|
25543
|
+
if (obj_entityId_union0 && obj_entityId_union1) {
|
|
25544
|
+
let message = 'Object doesn\'t match union (at "' + path_entityId + '")';
|
|
25545
|
+
message += '\n' + obj_entityId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
25546
|
+
message += '\n' + obj_entityId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
25547
|
+
return new TypeError(message);
|
|
25548
|
+
}
|
|
25549
|
+
const obj_relatedEntityId = obj.relatedEntityId;
|
|
25550
|
+
const path_relatedEntityId = path + '.relatedEntityId';
|
|
25551
|
+
let obj_relatedEntityId_union0 = null;
|
|
25552
|
+
const obj_relatedEntityId_union0_error = (() => {
|
|
25553
|
+
if (typeof obj_relatedEntityId !== 'string') {
|
|
25554
|
+
return new TypeError('Expected "string" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
|
|
25555
|
+
}
|
|
25556
|
+
})();
|
|
25557
|
+
if (obj_relatedEntityId_union0_error != null) {
|
|
25558
|
+
obj_relatedEntityId_union0 = obj_relatedEntityId_union0_error.message;
|
|
25559
|
+
}
|
|
25560
|
+
let obj_relatedEntityId_union1 = null;
|
|
25561
|
+
const obj_relatedEntityId_union1_error = (() => {
|
|
25562
|
+
if (obj_relatedEntityId !== null) {
|
|
25563
|
+
return new TypeError('Expected "null" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
|
|
25564
|
+
}
|
|
25565
|
+
})();
|
|
25566
|
+
if (obj_relatedEntityId_union1_error != null) {
|
|
25567
|
+
obj_relatedEntityId_union1 = obj_relatedEntityId_union1_error.message;
|
|
25568
|
+
}
|
|
25569
|
+
if (obj_relatedEntityId_union0 && obj_relatedEntityId_union1) {
|
|
25570
|
+
let message = 'Object doesn\'t match union (at "' + path_relatedEntityId + '")';
|
|
25571
|
+
message += '\n' + obj_relatedEntityId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
25572
|
+
message += '\n' + obj_relatedEntityId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
25573
|
+
return new TypeError(message);
|
|
25574
|
+
}
|
|
25575
|
+
})();
|
|
25576
|
+
return v_error === undefined ? null : v_error;
|
|
25577
|
+
}
|
|
25578
|
+
|
|
25347
25579
|
function select$2b(luvio, params) {
|
|
25348
25580
|
return select$2X();
|
|
25349
25581
|
}
|
|
@@ -25384,10 +25616,11 @@ function createResourceRequest$E(config) {
|
|
|
25384
25616
|
const adapterName$z = 'createListInfo';
|
|
25385
25617
|
const createListInfo_ConfigPropertyMetadata = [
|
|
25386
25618
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
25387
|
-
generateParamConfigMetadata('displayColumns', false, 2 /* Body */,
|
|
25388
|
-
generateParamConfigMetadata('filterLogicString', false, 2 /* Body */,
|
|
25619
|
+
generateParamConfigMetadata('displayColumns', false, 2 /* Body */, 0 /* String */, true),
|
|
25620
|
+
generateParamConfigMetadata('filterLogicString', false, 2 /* Body */, 0 /* String */),
|
|
25389
25621
|
generateParamConfigMetadata('filteredByInfo', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
25390
25622
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
25623
|
+
generateParamConfigMetadata('listShares', false, 2 /* Body */, 0 /* String */, true),
|
|
25391
25624
|
generateParamConfigMetadata('listViewApiName', false, 2 /* Body */, 0 /* String */),
|
|
25392
25625
|
generateParamConfigMetadata('scope', false, 2 /* Body */, 4 /* Unsupported */),
|
|
25393
25626
|
generateParamConfigMetadata('visibility', false, 2 /* Body */, 0 /* String */),
|
|
@@ -25397,46 +25630,21 @@ const createResourceParams$C = /*#__PURE__*/ createResourceParams$l(createListIn
|
|
|
25397
25630
|
function typeCheckConfig$G(untrustedConfig) {
|
|
25398
25631
|
const config = {};
|
|
25399
25632
|
typeCheckConfig$n(untrustedConfig, config, createListInfo_ConfigPropertyMetadata);
|
|
25400
|
-
const untrustedConfig_displayColumns = untrustedConfig.displayColumns;
|
|
25401
|
-
if (ArrayIsArray$1(untrustedConfig_displayColumns)) {
|
|
25402
|
-
const untrustedConfig_displayColumns_array = [];
|
|
25403
|
-
for (let i = 0, arrayLength = untrustedConfig_displayColumns.length; i < arrayLength; i++) {
|
|
25404
|
-
const untrustedConfig_displayColumns_item = untrustedConfig_displayColumns[i];
|
|
25405
|
-
const referenceListColumnRepresentationValidationError = validate$1O(untrustedConfig_displayColumns_item);
|
|
25406
|
-
if (referenceListColumnRepresentationValidationError === null) {
|
|
25407
|
-
untrustedConfig_displayColumns_array.push(untrustedConfig_displayColumns_item);
|
|
25408
|
-
}
|
|
25409
|
-
if (untrustedConfig_displayColumns_item === null) {
|
|
25410
|
-
untrustedConfig_displayColumns_array.push(untrustedConfig_displayColumns_item);
|
|
25411
|
-
}
|
|
25412
|
-
}
|
|
25413
|
-
config.displayColumns = untrustedConfig_displayColumns_array;
|
|
25414
|
-
}
|
|
25415
|
-
const untrustedConfig_filterLogicString = untrustedConfig.filterLogicString;
|
|
25416
|
-
if (typeof untrustedConfig_filterLogicString === 'string') {
|
|
25417
|
-
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
25418
|
-
}
|
|
25419
|
-
if (untrustedConfig_filterLogicString === null) {
|
|
25420
|
-
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
25421
|
-
}
|
|
25422
25633
|
const untrustedConfig_filteredByInfo = untrustedConfig.filteredByInfo;
|
|
25423
25634
|
if (ArrayIsArray$1(untrustedConfig_filteredByInfo)) {
|
|
25424
25635
|
const untrustedConfig_filteredByInfo_array = [];
|
|
25425
25636
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
25426
25637
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
25427
|
-
const
|
|
25428
|
-
if (
|
|
25638
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$13(untrustedConfig_filteredByInfo_item);
|
|
25639
|
+
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
25429
25640
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
25430
25641
|
}
|
|
25431
25642
|
}
|
|
25432
25643
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
25433
25644
|
}
|
|
25434
25645
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
25435
|
-
const
|
|
25436
|
-
if (
|
|
25437
|
-
config.scope = untrustedConfig_scope;
|
|
25438
|
-
}
|
|
25439
|
-
if (untrustedConfig_scope === null) {
|
|
25646
|
+
const referenceListScopeInputRepresentationValidationError = validate$12(untrustedConfig_scope);
|
|
25647
|
+
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
25440
25648
|
config.scope = untrustedConfig_scope;
|
|
25441
25649
|
}
|
|
25442
25650
|
return config;
|
|
@@ -25612,10 +25820,11 @@ const adapterName$x = 'updateListInfoByName';
|
|
|
25612
25820
|
const updateListInfoByName_ConfigPropertyMetadata = [
|
|
25613
25821
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
25614
25822
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */, false, getObjectApiName$1),
|
|
25615
|
-
generateParamConfigMetadata('displayColumns', false, 2 /* Body */,
|
|
25616
|
-
generateParamConfigMetadata('filterLogicString', false, 2 /* Body */,
|
|
25823
|
+
generateParamConfigMetadata('displayColumns', false, 2 /* Body */, 0 /* String */, true),
|
|
25824
|
+
generateParamConfigMetadata('filterLogicString', false, 2 /* Body */, 0 /* String */),
|
|
25617
25825
|
generateParamConfigMetadata('filteredByInfo', false, 2 /* Body */, 4 /* Unsupported */, true),
|
|
25618
25826
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
25827
|
+
generateParamConfigMetadata('listShares', false, 2 /* Body */, 0 /* String */, true),
|
|
25619
25828
|
generateParamConfigMetadata('scope', false, 2 /* Body */, 4 /* Unsupported */),
|
|
25620
25829
|
generateParamConfigMetadata('visibility', false, 2 /* Body */, 0 /* String */),
|
|
25621
25830
|
];
|
|
@@ -25624,46 +25833,21 @@ const createResourceParams$A = /*#__PURE__*/ createResourceParams$l(updateListIn
|
|
|
25624
25833
|
function typeCheckConfig$E(untrustedConfig) {
|
|
25625
25834
|
const config = {};
|
|
25626
25835
|
typeCheckConfig$n(untrustedConfig, config, updateListInfoByName_ConfigPropertyMetadata);
|
|
25627
|
-
const untrustedConfig_displayColumns = untrustedConfig.displayColumns;
|
|
25628
|
-
if (ArrayIsArray$1(untrustedConfig_displayColumns)) {
|
|
25629
|
-
const untrustedConfig_displayColumns_array = [];
|
|
25630
|
-
for (let i = 0, arrayLength = untrustedConfig_displayColumns.length; i < arrayLength; i++) {
|
|
25631
|
-
const untrustedConfig_displayColumns_item = untrustedConfig_displayColumns[i];
|
|
25632
|
-
const referenceListColumnRepresentationValidationError = validate$1O(untrustedConfig_displayColumns_item);
|
|
25633
|
-
if (referenceListColumnRepresentationValidationError === null) {
|
|
25634
|
-
untrustedConfig_displayColumns_array.push(untrustedConfig_displayColumns_item);
|
|
25635
|
-
}
|
|
25636
|
-
if (untrustedConfig_displayColumns_item === null) {
|
|
25637
|
-
untrustedConfig_displayColumns_array.push(untrustedConfig_displayColumns_item);
|
|
25638
|
-
}
|
|
25639
|
-
}
|
|
25640
|
-
config.displayColumns = untrustedConfig_displayColumns_array;
|
|
25641
|
-
}
|
|
25642
|
-
const untrustedConfig_filterLogicString = untrustedConfig.filterLogicString;
|
|
25643
|
-
if (typeof untrustedConfig_filterLogicString === 'string') {
|
|
25644
|
-
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
25645
|
-
}
|
|
25646
|
-
if (untrustedConfig_filterLogicString === null) {
|
|
25647
|
-
config.filterLogicString = untrustedConfig_filterLogicString;
|
|
25648
|
-
}
|
|
25649
25836
|
const untrustedConfig_filteredByInfo = untrustedConfig.filteredByInfo;
|
|
25650
25837
|
if (ArrayIsArray$1(untrustedConfig_filteredByInfo)) {
|
|
25651
25838
|
const untrustedConfig_filteredByInfo_array = [];
|
|
25652
25839
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
25653
25840
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
25654
|
-
const
|
|
25655
|
-
if (
|
|
25841
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$13(untrustedConfig_filteredByInfo_item);
|
|
25842
|
+
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
25656
25843
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
25657
25844
|
}
|
|
25658
25845
|
}
|
|
25659
25846
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
25660
25847
|
}
|
|
25661
25848
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
25662
|
-
const
|
|
25663
|
-
if (
|
|
25664
|
-
config.scope = untrustedConfig_scope;
|
|
25665
|
-
}
|
|
25666
|
-
if (untrustedConfig_scope === null) {
|
|
25849
|
+
const referenceListScopeInputRepresentationValidationError = validate$12(untrustedConfig_scope);
|
|
25850
|
+
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
25667
25851
|
config.scope = untrustedConfig_scope;
|
|
25668
25852
|
}
|
|
25669
25853
|
return config;
|
|
@@ -30872,7 +31056,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
30872
31056
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
30873
31057
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
30874
31058
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
30875
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
31059
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1R(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
30876
31060
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
30877
31061
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
30878
31062
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30924,7 +31108,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
30924
31108
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
30925
31109
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
30926
31110
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
30927
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
31111
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1N(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
30928
31112
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
30929
31113
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
30930
31114
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30943,7 +31127,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
30943
31127
|
}
|
|
30944
31128
|
const obj_userPreferences = obj.userPreferences;
|
|
30945
31129
|
const path_userPreferences = path + '.userPreferences';
|
|
30946
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
31130
|
+
const referencepath_userPreferencesValidationError = validate$1J(obj_userPreferences, path_userPreferences);
|
|
30947
31131
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
30948
31132
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
30949
31133
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31617,7 +31801,7 @@ function validate$B(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
31617
31801
|
const path_themeInfo = path + '.themeInfo';
|
|
31618
31802
|
let obj_themeInfo_union0 = null;
|
|
31619
31803
|
const obj_themeInfo_union0_error = (() => {
|
|
31620
|
-
const referencepath_themeInfoValidationError = validate$
|
|
31804
|
+
const referencepath_themeInfoValidationError = validate$1v(obj_themeInfo, path_themeInfo);
|
|
31621
31805
|
if (referencepath_themeInfoValidationError !== null) {
|
|
31622
31806
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
31623
31807
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32049,7 +32233,7 @@ function validate$x(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
32049
32233
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
32050
32234
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
32051
32235
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
32052
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
32236
|
+
const referencepath_orderedBy_itemValidationError = validate$1N(obj_orderedBy_item, path_orderedBy_item);
|
|
32053
32237
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
32054
32238
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
32055
32239
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35317,7 +35501,7 @@ function validate$j(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
35317
35501
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
35318
35502
|
const obj_orderBy_item = obj_orderBy[i];
|
|
35319
35503
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
35320
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
35504
|
+
const referencepath_orderBy_itemValidationError = validate$1N(obj_orderBy_item, path_orderBy_item);
|
|
35321
35505
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
35322
35506
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
35323
35507
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -54177,7 +54361,7 @@ function validate$a(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
54177
54361
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
54178
54362
|
let obj_recordTypeInfo_union0 = null;
|
|
54179
54363
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
54180
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
54364
|
+
const referencepath_recordTypeInfoValidationError = validate$1H(obj_recordTypeInfo, path_recordTypeInfo);
|
|
54181
54365
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
54182
54366
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
54183
54367
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|