@salesforce/lwc-adapters-uiapi 1.243.0 → 1.245.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 +421 -287
- 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.5-275045c5
|
|
539
539
|
|
|
540
540
|
/**
|
|
541
541
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -7603,7 +7603,7 @@ function buildAdapterValidationConfig(displayName, paramsMeta) {
|
|
|
7603
7603
|
}
|
|
7604
7604
|
const keyPrefix = 'UiApi';
|
|
7605
7605
|
|
|
7606
|
-
const { assign, create, freeze, keys } = Object;
|
|
7606
|
+
const { assign, create, freeze, isFrozen, keys } = Object;
|
|
7607
7607
|
const { hasOwnProperty } = Object.prototype;
|
|
7608
7608
|
const { split, endsWith } = String.prototype;
|
|
7609
7609
|
const { isArray } = Array;
|
|
@@ -7822,8 +7822,8 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
7822
7822
|
entry['__metadata'] = createLink$1(metadataKey);
|
|
7823
7823
|
}
|
|
7824
7824
|
|
|
7825
|
-
const VERSION$2x = "
|
|
7826
|
-
function validate$
|
|
7825
|
+
const VERSION$2x = "d8917f62af39b67a54f8ff8cf7ea49c6";
|
|
7826
|
+
function validate$1T(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 + '")');
|
|
@@ -7864,6 +7864,13 @@ function validate$1S(obj, path = 'ListColumnRepresentation') {
|
|
|
7864
7864
|
message += '\n' + obj_lookupId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
7865
7865
|
return new TypeError(message);
|
|
7866
7866
|
}
|
|
7867
|
+
if (obj.searchable !== undefined) {
|
|
7868
|
+
const obj_searchable = obj.searchable;
|
|
7869
|
+
const path_searchable = path + '.searchable';
|
|
7870
|
+
if (typeof obj_searchable !== 'boolean') {
|
|
7871
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_searchable + '" (at "' + path_searchable + '")');
|
|
7872
|
+
}
|
|
7873
|
+
}
|
|
7867
7874
|
const obj_sortable = obj.sortable;
|
|
7868
7875
|
const path_sortable = path + '.sortable';
|
|
7869
7876
|
if (typeof obj_sortable !== 'boolean') {
|
|
@@ -7890,6 +7897,11 @@ const select$35 = function ListColumnRepresentationSelect() {
|
|
|
7890
7897
|
name: 'lookupId',
|
|
7891
7898
|
kind: 'Scalar'
|
|
7892
7899
|
},
|
|
7900
|
+
{
|
|
7901
|
+
name: 'searchable',
|
|
7902
|
+
kind: 'Scalar',
|
|
7903
|
+
required: false
|
|
7904
|
+
},
|
|
7893
7905
|
{
|
|
7894
7906
|
name: 'sortable',
|
|
7895
7907
|
kind: 'Scalar'
|
|
@@ -7899,7 +7911,7 @@ const select$35 = function ListColumnRepresentationSelect() {
|
|
|
7899
7911
|
};
|
|
7900
7912
|
|
|
7901
7913
|
const VERSION$2w = "623aa9ce3a11031e35faf5671a41746e";
|
|
7902
|
-
function validate$
|
|
7914
|
+
function validate$1S(obj, path = 'ListFilterByInfoRepresentation') {
|
|
7903
7915
|
const v_error = (() => {
|
|
7904
7916
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7905
7917
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -7962,7 +7974,7 @@ const select$34 = function ListFilterByInfoRepresentationSelect() {
|
|
|
7962
7974
|
};
|
|
7963
7975
|
|
|
7964
7976
|
const VERSION$2v = "76042ff4af603b2ac0ec69fa0bd12046";
|
|
7965
|
-
function validate$
|
|
7977
|
+
function validate$1R(obj, path = 'ListReferenceRepresentation') {
|
|
7966
7978
|
const v_error = (() => {
|
|
7967
7979
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
7968
7980
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8082,7 +8094,7 @@ function equals$15(existing, incoming) {
|
|
|
8082
8094
|
}
|
|
8083
8095
|
|
|
8084
8096
|
const VERSION$2u = "494e0262f07ff2cc5f82d1e0262fec4f";
|
|
8085
|
-
function validate$
|
|
8097
|
+
function validate$1Q(obj, path = 'ListInfoShareRepresentation') {
|
|
8086
8098
|
const v_error = (() => {
|
|
8087
8099
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8088
8100
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8119,7 +8131,7 @@ const select$32 = function ListInfoShareRepresentationSelect() {
|
|
|
8119
8131
|
};
|
|
8120
8132
|
|
|
8121
8133
|
const VERSION$2t = "561657f32721ec1dac1601575b029640";
|
|
8122
|
-
function validate$
|
|
8134
|
+
function validate$1P(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
8123
8135
|
const v_error = (() => {
|
|
8124
8136
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8125
8137
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8137,7 +8149,7 @@ function validate$1O(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
8137
8149
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
8138
8150
|
const obj_shares_item = obj_shares[i];
|
|
8139
8151
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
8140
|
-
const referencepath_shares_itemValidationError = validate$
|
|
8152
|
+
const referencepath_shares_itemValidationError = validate$1Q(obj_shares_item, path_shares_item);
|
|
8141
8153
|
if (referencepath_shares_itemValidationError !== null) {
|
|
8142
8154
|
let message = 'Object doesn\'t match ListInfoShareRepresentation (at "' + path_shares_item + '")\n';
|
|
8143
8155
|
message += referencepath_shares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8169,7 +8181,7 @@ const select$31 = function ListInfoShareCategoryRepresentationSelect() {
|
|
|
8169
8181
|
};
|
|
8170
8182
|
|
|
8171
8183
|
const VERSION$2s = "32def9b631252c12b91a8209c1f49f5a";
|
|
8172
|
-
function validate$
|
|
8184
|
+
function validate$1O(obj, path = 'ListOrderByInfoRepresentation') {
|
|
8173
8185
|
const v_error = (() => {
|
|
8174
8186
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8175
8187
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8236,7 +8248,7 @@ const select$30 = function ListOrderByInfoRepresentationSelect() {
|
|
|
8236
8248
|
};
|
|
8237
8249
|
|
|
8238
8250
|
const VERSION$2r = "2634258f216db34315c06d759a35676d";
|
|
8239
|
-
function validate$
|
|
8251
|
+
function validate$1N(obj, path = 'ListScopeEntityRepresentation') {
|
|
8240
8252
|
const v_error = (() => {
|
|
8241
8253
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8242
8254
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8273,7 +8285,7 @@ const select$2$ = function ListScopeEntityRepresentationSelect() {
|
|
|
8273
8285
|
};
|
|
8274
8286
|
|
|
8275
8287
|
const VERSION$2q = "3b85c5a08d50ce328481b9f8ab56127b";
|
|
8276
|
-
function validate$
|
|
8288
|
+
function validate$1M(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
8277
8289
|
const v_error = (() => {
|
|
8278
8290
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8279
8291
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8319,7 +8331,7 @@ const select$2_ = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
8319
8331
|
};
|
|
8320
8332
|
|
|
8321
8333
|
const VERSION$2p = "2fe9814e7124b47f59da585483c1b3f9";
|
|
8322
|
-
function validate$
|
|
8334
|
+
function validate$1L(obj, path = 'ListScopeRepresentation') {
|
|
8323
8335
|
const v_error = (() => {
|
|
8324
8336
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8325
8337
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8333,7 +8345,7 @@ function validate$1K(obj, path = 'ListScopeRepresentation') {
|
|
|
8333
8345
|
const path_entity = path + '.entity';
|
|
8334
8346
|
let obj_entity_union0 = null;
|
|
8335
8347
|
const obj_entity_union0_error = (() => {
|
|
8336
|
-
const referencepath_entityValidationError = validate$
|
|
8348
|
+
const referencepath_entityValidationError = validate$1N(obj_entity, path_entity);
|
|
8337
8349
|
if (referencepath_entityValidationError !== null) {
|
|
8338
8350
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' + path_entity + '")\n';
|
|
8339
8351
|
message += referencepath_entityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8388,7 +8400,7 @@ function validate$1K(obj, path = 'ListScopeRepresentation') {
|
|
|
8388
8400
|
const path_relatedEntity = path + '.relatedEntity';
|
|
8389
8401
|
let obj_relatedEntity_union0 = null;
|
|
8390
8402
|
const obj_relatedEntity_union0_error = (() => {
|
|
8391
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
8403
|
+
const referencepath_relatedEntityValidationError = validate$1M(obj_relatedEntity, path_relatedEntity);
|
|
8392
8404
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
8393
8405
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' + path_relatedEntity + '")\n';
|
|
8394
8406
|
message += referencepath_relatedEntityValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8449,7 +8461,7 @@ const select$2Z = function ListScopeRepresentationSelect() {
|
|
|
8449
8461
|
};
|
|
8450
8462
|
|
|
8451
8463
|
const VERSION$2o = "6506134f4d72fdfa349fe60ef1af2413";
|
|
8452
|
-
function validate$
|
|
8464
|
+
function validate$1K(obj, path = 'ListUserPreferenceRepresentation') {
|
|
8453
8465
|
const v_error = (() => {
|
|
8454
8466
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8455
8467
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8506,8 +8518,8 @@ const select$2Y = function ListUserPreferenceRepresentationSelect() {
|
|
|
8506
8518
|
};
|
|
8507
8519
|
|
|
8508
8520
|
const TTL$D = 900000;
|
|
8509
|
-
const VERSION$2n = "
|
|
8510
|
-
function validate$
|
|
8521
|
+
const VERSION$2n = "6bd7c5a1bb955f37db137327c7d65f65";
|
|
8522
|
+
function validate$1J(obj, path = 'ListInfoRepresentation') {
|
|
8511
8523
|
const v_error = (() => {
|
|
8512
8524
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8513
8525
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8535,7 +8547,7 @@ function validate$1I(obj, path = 'ListInfoRepresentation') {
|
|
|
8535
8547
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
8536
8548
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
8537
8549
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
8538
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
8550
|
+
const referencepath_displayColumns_itemValidationError = validate$1T(obj_displayColumns_item, path_displayColumns_item);
|
|
8539
8551
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
8540
8552
|
let message = 'Object doesn\'t match ListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
8541
8553
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8581,7 +8593,7 @@ function validate$1I(obj, path = 'ListInfoRepresentation') {
|
|
|
8581
8593
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
8582
8594
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
8583
8595
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
8584
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
8596
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1S(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
8585
8597
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
8586
8598
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
8587
8599
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8616,7 +8628,7 @@ function validate$1I(obj, path = 'ListInfoRepresentation') {
|
|
|
8616
8628
|
}
|
|
8617
8629
|
const obj_listReference = obj.listReference;
|
|
8618
8630
|
const path_listReference = path + '.listReference';
|
|
8619
|
-
const referencepath_listReferenceValidationError = validate$
|
|
8631
|
+
const referencepath_listReferenceValidationError = validate$1R(obj_listReference, path_listReference);
|
|
8620
8632
|
if (referencepath_listReferenceValidationError !== null) {
|
|
8621
8633
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
8622
8634
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8631,7 +8643,7 @@ function validate$1I(obj, path = 'ListInfoRepresentation') {
|
|
|
8631
8643
|
for (let i = 0; i < obj_listShares.length; i++) {
|
|
8632
8644
|
const obj_listShares_item = obj_listShares[i];
|
|
8633
8645
|
const path_listShares_item = path_listShares + '[' + i + ']';
|
|
8634
|
-
const referencepath_listShares_itemValidationError = validate$
|
|
8646
|
+
const referencepath_listShares_itemValidationError = validate$1P(obj_listShares_item, path_listShares_item);
|
|
8635
8647
|
if (referencepath_listShares_itemValidationError !== null) {
|
|
8636
8648
|
let message = 'Object doesn\'t match ListInfoShareCategoryRepresentation (at "' + path_listShares_item + '")\n';
|
|
8637
8649
|
message += referencepath_listShares_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8661,7 +8673,7 @@ function validate$1I(obj, path = 'ListInfoRepresentation') {
|
|
|
8661
8673
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
8662
8674
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
8663
8675
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
8664
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
8676
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1O(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
8665
8677
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
8666
8678
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
8667
8679
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8673,7 +8685,7 @@ function validate$1I(obj, path = 'ListInfoRepresentation') {
|
|
|
8673
8685
|
const path_scope = path + '.scope';
|
|
8674
8686
|
let obj_scope_union0 = null;
|
|
8675
8687
|
const obj_scope_union0_error = (() => {
|
|
8676
|
-
const referencepath_scopeValidationError = validate$
|
|
8688
|
+
const referencepath_scopeValidationError = validate$1L(obj_scope, path_scope);
|
|
8677
8689
|
if (referencepath_scopeValidationError !== null) {
|
|
8678
8690
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
8679
8691
|
message += referencepath_scopeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8699,6 +8711,13 @@ function validate$1I(obj, path = 'ListInfoRepresentation') {
|
|
|
8699
8711
|
return new TypeError(message);
|
|
8700
8712
|
}
|
|
8701
8713
|
}
|
|
8714
|
+
if (obj.searchable !== undefined) {
|
|
8715
|
+
const obj_searchable = obj.searchable;
|
|
8716
|
+
const path_searchable = path + '.searchable';
|
|
8717
|
+
if (typeof obj_searchable !== 'boolean') {
|
|
8718
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_searchable + '" (at "' + path_searchable + '")');
|
|
8719
|
+
}
|
|
8720
|
+
}
|
|
8702
8721
|
const obj_updateable = obj.updateable;
|
|
8703
8722
|
const path_updateable = path + '.updateable';
|
|
8704
8723
|
if (typeof obj_updateable !== 'boolean') {
|
|
@@ -8706,7 +8725,7 @@ function validate$1I(obj, path = 'ListInfoRepresentation') {
|
|
|
8706
8725
|
}
|
|
8707
8726
|
const obj_userPreferences = obj.userPreferences;
|
|
8708
8727
|
const path_userPreferences = path + '.userPreferences';
|
|
8709
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
8728
|
+
const referencepath_userPreferencesValidationError = validate$1K(obj_userPreferences, path_userPreferences);
|
|
8710
8729
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
8711
8730
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
8712
8731
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8818,6 +8837,11 @@ const select$2X = function ListInfoRepresentationSelect() {
|
|
|
8818
8837
|
selections: ListScopeRepresentation__selections,
|
|
8819
8838
|
required: false
|
|
8820
8839
|
},
|
|
8840
|
+
{
|
|
8841
|
+
name: 'searchable',
|
|
8842
|
+
kind: 'Scalar',
|
|
8843
|
+
required: false
|
|
8844
|
+
},
|
|
8821
8845
|
{
|
|
8822
8846
|
name: 'updateable',
|
|
8823
8847
|
kind: 'Scalar'
|
|
@@ -8846,7 +8870,7 @@ function equals$14(existing, incoming) {
|
|
|
8846
8870
|
}
|
|
8847
8871
|
const ingest$1U = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
8848
8872
|
if (process.env.NODE_ENV !== 'production') {
|
|
8849
|
-
const validateError = validate$
|
|
8873
|
+
const validateError = validate$1J(input);
|
|
8850
8874
|
if (validateError !== null) {
|
|
8851
8875
|
throw validateError;
|
|
8852
8876
|
}
|
|
@@ -8912,7 +8936,7 @@ function toSortedStringArray(value) {
|
|
|
8912
8936
|
}
|
|
8913
8937
|
|
|
8914
8938
|
const VERSION$2m = "d1e589a127fb1060c89070cdb6f500b2";
|
|
8915
|
-
function validate$
|
|
8939
|
+
function validate$1I(obj, path = 'RecordTypeInfoRepresentation') {
|
|
8916
8940
|
const v_error = (() => {
|
|
8917
8941
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8918
8942
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9004,7 +9028,7 @@ function equals$13(existing, incoming) {
|
|
|
9004
9028
|
}
|
|
9005
9029
|
|
|
9006
9030
|
const VERSION$2l = "195d918987a35f45e1aa4dce9a11d8c5";
|
|
9007
|
-
function validate$
|
|
9031
|
+
function validate$1H(obj, path = 'FieldValueRepresentation') {
|
|
9008
9032
|
const v_error = (() => {
|
|
9009
9033
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9010
9034
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9151,7 +9175,7 @@ function equals$12(existing, incoming) {
|
|
|
9151
9175
|
}
|
|
9152
9176
|
const ingest$1T = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9153
9177
|
if (process.env.NODE_ENV !== 'production') {
|
|
9154
|
-
const validateError = validate$
|
|
9178
|
+
const validateError = validate$1H(input);
|
|
9155
9179
|
if (validateError !== null) {
|
|
9156
9180
|
throw validateError;
|
|
9157
9181
|
}
|
|
@@ -9202,7 +9226,7 @@ const getTypeCacheKeys$1V = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
9202
9226
|
|
|
9203
9227
|
const TTL$C = 120000;
|
|
9204
9228
|
const VERSION$2k = "79cb5ac9f44542f683d00245fdfe500d";
|
|
9205
|
-
function validate$
|
|
9229
|
+
function validate$1G(obj, path = 'RecordCollectionRepresentation') {
|
|
9206
9230
|
const v_error = (() => {
|
|
9207
9231
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9208
9232
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9475,7 +9499,7 @@ function equals$11(existing, incoming) {
|
|
|
9475
9499
|
}
|
|
9476
9500
|
const ingest$1S = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9477
9501
|
if (process.env.NODE_ENV !== 'production') {
|
|
9478
|
-
const validateError = validate$
|
|
9502
|
+
const validateError = validate$1G(input);
|
|
9479
9503
|
if (validateError !== null) {
|
|
9480
9504
|
throw validateError;
|
|
9481
9505
|
}
|
|
@@ -9511,7 +9535,7 @@ const keyBuilderFromType$z = function RecordRepresentationKeyBuilderFromType(luv
|
|
|
9511
9535
|
|
|
9512
9536
|
const TTL$B = 30000;
|
|
9513
9537
|
const VERSION$2j = "98c5b18512e48ca8d28727549507e4ba";
|
|
9514
|
-
function validate$
|
|
9538
|
+
function validate$1F(obj, path = 'RecordRepresentation') {
|
|
9515
9539
|
const v_error = (() => {
|
|
9516
9540
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9517
9541
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9641,7 +9665,7 @@ function validate$1E(obj, path = 'RecordRepresentation') {
|
|
|
9641
9665
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
9642
9666
|
let obj_recordTypeInfo_union0 = null;
|
|
9643
9667
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
9644
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
9668
|
+
const referencepath_recordTypeInfoValidationError = validate$1I(obj_recordTypeInfo, path_recordTypeInfo);
|
|
9645
9669
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
9646
9670
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
9647
9671
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11941,7 +11965,11 @@ function markNulledOutPath(record, path) {
|
|
|
11941
11965
|
}
|
|
11942
11966
|
const link = fieldValueRepresentation.link(fieldName);
|
|
11943
11967
|
const resolved = link.follow();
|
|
11944
|
-
if (isGraphNode(resolved) &&
|
|
11968
|
+
if (isGraphNode(resolved) &&
|
|
11969
|
+
resolved.isScalar('value') &&
|
|
11970
|
+
path.length > 0 &&
|
|
11971
|
+
// TODO [W-14082782]: temporary fix
|
|
11972
|
+
!isFrozen(link.data)) {
|
|
11945
11973
|
const linkState = link.linkData();
|
|
11946
11974
|
const fields = linkState === undefined ? [] : linkState.fields;
|
|
11947
11975
|
link.writeLinkData({
|
|
@@ -12307,7 +12335,7 @@ function normalize$M(input, existing, path, luvio, store, timestamp, fieldsTrie,
|
|
|
12307
12335
|
function makeIngest(fieldsTrie, optionalFieldsTrie, recordConflictMap) {
|
|
12308
12336
|
return (input, path, luvio, store, timestamp) => {
|
|
12309
12337
|
if (process.env.NODE_ENV !== 'production') {
|
|
12310
|
-
const validateError = validate$
|
|
12338
|
+
const validateError = validate$1H(input);
|
|
12311
12339
|
if (validateError !== null) {
|
|
12312
12340
|
throw validateError;
|
|
12313
12341
|
}
|
|
@@ -12400,7 +12428,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
12400
12428
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
12401
12429
|
return (input, path, luvio, store, timestamp) => {
|
|
12402
12430
|
if (process.env.NODE_ENV !== 'production') {
|
|
12403
|
-
const validateError = validate$
|
|
12431
|
+
const validateError = validate$1F(input);
|
|
12404
12432
|
if (validateError !== null) {
|
|
12405
12433
|
throw validateError;
|
|
12406
12434
|
}
|
|
@@ -13359,7 +13387,7 @@ function revertPaginationOptimization(variables) {
|
|
|
13359
13387
|
|
|
13360
13388
|
const TTL$A = 30000;
|
|
13361
13389
|
const VERSION$2h = "614ef19823027c07fa6deb9a149619d2";
|
|
13362
|
-
function validate$
|
|
13390
|
+
function validate$1E(obj, path = 'ListRecordCollectionRepresentation') {
|
|
13363
13391
|
const v_error = (() => {
|
|
13364
13392
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13365
13393
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13419,7 +13447,7 @@ function validate$1D(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
13419
13447
|
}
|
|
13420
13448
|
const obj_listReference = obj.listReference;
|
|
13421
13449
|
const path_listReference = path + '.listReference';
|
|
13422
|
-
const referencepath_listReferenceValidationError = validate$
|
|
13450
|
+
const referencepath_listReferenceValidationError = validate$1R(obj_listReference, path_listReference);
|
|
13423
13451
|
if (referencepath_listReferenceValidationError !== null) {
|
|
13424
13452
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
13425
13453
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -13920,7 +13948,7 @@ function equals$$(existing, incoming) {
|
|
|
13920
13948
|
}
|
|
13921
13949
|
const ingest$1Q = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13922
13950
|
if (process.env.NODE_ENV !== 'production') {
|
|
13923
|
-
const validateError = validate$
|
|
13951
|
+
const validateError = validate$1E(input);
|
|
13924
13952
|
if (validateError !== null) {
|
|
13925
13953
|
throw validateError;
|
|
13926
13954
|
}
|
|
@@ -14013,7 +14041,7 @@ function getTypeCacheKeys$1S(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14013
14041
|
}
|
|
14014
14042
|
|
|
14015
14043
|
const VERSION$2g = "cf8d2eb042188974da26ffe6618cfd07";
|
|
14016
|
-
function validate$
|
|
14044
|
+
function validate$1D(obj, path = 'ListUiRepresentation') {
|
|
14017
14045
|
const v_error = (() => {
|
|
14018
14046
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14019
14047
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14119,7 +14147,7 @@ function equals$_(existing, incoming) {
|
|
|
14119
14147
|
}
|
|
14120
14148
|
const ingest$1P = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14121
14149
|
if (process.env.NODE_ENV !== 'production') {
|
|
14122
|
-
const validateError = validate$
|
|
14150
|
+
const validateError = validate$1D(input);
|
|
14123
14151
|
if (validateError !== null) {
|
|
14124
14152
|
throw validateError;
|
|
14125
14153
|
}
|
|
@@ -14344,8 +14372,8 @@ function buildDefaultsKey(listRef) {
|
|
|
14344
14372
|
*/
|
|
14345
14373
|
function addServerDefaults(config, records, listReference, context) {
|
|
14346
14374
|
// If the request already contains the potential default information,
|
|
14347
|
-
// or the response does not come back with a default
|
|
14348
|
-
if (config.sortBy !== undefined || records.sortBy === null) {
|
|
14375
|
+
// or the response does not come back with a default or comes back wih an empty array []
|
|
14376
|
+
if ((config.sortBy !== undefined && config.sortBy.length > 0) || records.sortBy === null) {
|
|
14349
14377
|
return;
|
|
14350
14378
|
}
|
|
14351
14379
|
const key = buildDefaultsKey(listReference);
|
|
@@ -14503,11 +14531,14 @@ function keyBuilder$2Y(luvio, params) {
|
|
|
14503
14531
|
// Check and use any default values returned from the server (i.e. sortBy)
|
|
14504
14532
|
const config = { ...params.urlParams, ...params.queryParams };
|
|
14505
14533
|
const defaults = getServerDefaults(config, context$2);
|
|
14534
|
+
// Use default values when sortBy is undefined or an empty Array []
|
|
14506
14535
|
return keyBuilder$32(luvio, {
|
|
14507
14536
|
objectApiName: listReference.objectApiName,
|
|
14508
14537
|
listViewApiName: listReference.listViewApiName,
|
|
14509
14538
|
listViewId: listReference.id,
|
|
14510
|
-
sortBy: params.queryParams.sortBy
|
|
14539
|
+
sortBy: params.queryParams.sortBy !== undefined && params.queryParams.sortBy.length <= 0
|
|
14540
|
+
? defaults.sortBy || params.queryParams.sortBy || []
|
|
14541
|
+
: params.queryParams.sortBy || defaults.sortBy || [],
|
|
14511
14542
|
});
|
|
14512
14543
|
}
|
|
14513
14544
|
// If there are no matching entries in the store, then we haven't fetched any data for this list view yet.
|
|
@@ -14653,7 +14684,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
14653
14684
|
}
|
|
14654
14685
|
|
|
14655
14686
|
const VERSION$2f = "3529c5f7d0eb2206c90a52c6d9f721d4";
|
|
14656
|
-
function validate$
|
|
14687
|
+
function validate$1C(obj, path = 'ListViewSummaryRepresentation') {
|
|
14657
14688
|
const v_error = (() => {
|
|
14658
14689
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14659
14690
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14765,7 +14796,7 @@ function equals$Z(existing, incoming) {
|
|
|
14765
14796
|
}
|
|
14766
14797
|
const ingest$1O = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14767
14798
|
if (process.env.NODE_ENV !== 'production') {
|
|
14768
|
-
const validateError = validate$
|
|
14799
|
+
const validateError = validate$1C(input);
|
|
14769
14800
|
if (validateError !== null) {
|
|
14770
14801
|
throw validateError;
|
|
14771
14802
|
}
|
|
@@ -14786,7 +14817,7 @@ function getTypeCacheKeys$1Q(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
14786
14817
|
}
|
|
14787
14818
|
|
|
14788
14819
|
const VERSION$2e = "f4c79fe066da3558499d5ee88c72abcd";
|
|
14789
|
-
function validate$
|
|
14820
|
+
function validate$1B(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
14790
14821
|
const v_error = (() => {
|
|
14791
14822
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14792
14823
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15170,7 +15201,7 @@ function equals$Y(existing, incoming) {
|
|
|
15170
15201
|
}
|
|
15171
15202
|
const ingest$1N = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15172
15203
|
if (process.env.NODE_ENV !== 'production') {
|
|
15173
|
-
const validateError = validate$
|
|
15204
|
+
const validateError = validate$1B(input);
|
|
15174
15205
|
if (validateError !== null) {
|
|
15175
15206
|
throw validateError;
|
|
15176
15207
|
}
|
|
@@ -16301,7 +16332,7 @@ const factory$i = (luvio) => {
|
|
|
16301
16332
|
}, { contextId: contextId$6 });
|
|
16302
16333
|
};
|
|
16303
16334
|
|
|
16304
|
-
function validate$
|
|
16335
|
+
function validate$1A(obj, path = 'ChildRelationshipRepresentation') {
|
|
16305
16336
|
const v_error = (() => {
|
|
16306
16337
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16307
16338
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16349,7 +16380,7 @@ function validate$1z(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
16349
16380
|
return v_error === undefined ? null : v_error;
|
|
16350
16381
|
}
|
|
16351
16382
|
|
|
16352
|
-
function validate$
|
|
16383
|
+
function validate$1z(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
16353
16384
|
const v_error = (() => {
|
|
16354
16385
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16355
16386
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16380,7 +16411,7 @@ function validate$1y(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
16380
16411
|
return v_error === undefined ? null : v_error;
|
|
16381
16412
|
}
|
|
16382
16413
|
|
|
16383
|
-
function validate$
|
|
16414
|
+
function validate$1y(obj, path = 'ReferenceToInfoRepresentation') {
|
|
16384
16415
|
const v_error = (() => {
|
|
16385
16416
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16386
16417
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16406,7 +16437,7 @@ function validate$1x(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
16406
16437
|
return v_error === undefined ? null : v_error;
|
|
16407
16438
|
}
|
|
16408
16439
|
|
|
16409
|
-
function validate$
|
|
16440
|
+
function validate$1x(obj, path = 'FieldRepresentation') {
|
|
16410
16441
|
const v_error = (() => {
|
|
16411
16442
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16412
16443
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16566,7 +16597,7 @@ function validate$1w(obj, path = 'FieldRepresentation') {
|
|
|
16566
16597
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
16567
16598
|
let obj_filteredLookupInfo_union0 = null;
|
|
16568
16599
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
16569
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
16600
|
+
const referencepath_filteredLookupInfoValidationError = validate$1z(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
16570
16601
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
16571
16602
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' + path_filteredLookupInfo + '")\n';
|
|
16572
16603
|
message += referencepath_filteredLookupInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16691,7 +16722,7 @@ function validate$1w(obj, path = 'FieldRepresentation') {
|
|
|
16691
16722
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
16692
16723
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
16693
16724
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
16694
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
16725
|
+
const referencepath_referenceToInfos_itemValidationError = validate$1y(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
16695
16726
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
16696
16727
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' + path_referenceToInfos_item + '")\n';
|
|
16697
16728
|
message += referencepath_referenceToInfos_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16758,7 +16789,7 @@ function validate$1w(obj, path = 'FieldRepresentation') {
|
|
|
16758
16789
|
return v_error === undefined ? null : v_error;
|
|
16759
16790
|
}
|
|
16760
16791
|
|
|
16761
|
-
function validate$
|
|
16792
|
+
function validate$1w(obj, path = 'ThemeInfoRepresentation') {
|
|
16762
16793
|
const v_error = (() => {
|
|
16763
16794
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16764
16795
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16800,7 +16831,7 @@ function validate$1v(obj, path = 'ThemeInfoRepresentation') {
|
|
|
16800
16831
|
|
|
16801
16832
|
const TTL$z = 900000;
|
|
16802
16833
|
const VERSION$2d = "ec9370a0cd56f4769fe9ec5cd942ff30";
|
|
16803
|
-
function validate$
|
|
16834
|
+
function validate$1v(obj, path = 'ObjectInfoRepresentation') {
|
|
16804
16835
|
const v_error = (() => {
|
|
16805
16836
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16806
16837
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16870,7 +16901,7 @@ function validate$1u(obj, path = 'ObjectInfoRepresentation') {
|
|
|
16870
16901
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
16871
16902
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
16872
16903
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
16873
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
16904
|
+
const referencepath_childRelationships_itemValidationError = validate$1A(obj_childRelationships_item, path_childRelationships_item);
|
|
16874
16905
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
16875
16906
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' + path_childRelationships_item + '")\n';
|
|
16876
16907
|
message += referencepath_childRelationships_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -16952,7 +16983,7 @@ function validate$1u(obj, path = 'ObjectInfoRepresentation') {
|
|
|
16952
16983
|
const key = obj_fields_keys[i];
|
|
16953
16984
|
const obj_fields_prop = obj_fields[key];
|
|
16954
16985
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
16955
|
-
const referencepath_fields_propValidationError = validate$
|
|
16986
|
+
const referencepath_fields_propValidationError = validate$1x(obj_fields_prop, path_fields_prop);
|
|
16956
16987
|
if (referencepath_fields_propValidationError !== null) {
|
|
16957
16988
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
16958
16989
|
message += referencepath_fields_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17032,7 +17063,7 @@ function validate$1u(obj, path = 'ObjectInfoRepresentation') {
|
|
|
17032
17063
|
const key = obj_recordTypeInfos_keys[i];
|
|
17033
17064
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
17034
17065
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
17035
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
17066
|
+
const referencepath_recordTypeInfos_propValidationError = validate$1I(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
17036
17067
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
17037
17068
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfos_prop + '")\n';
|
|
17038
17069
|
message += referencepath_recordTypeInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17048,7 +17079,7 @@ function validate$1u(obj, path = 'ObjectInfoRepresentation') {
|
|
|
17048
17079
|
const path_themeInfo = path + '.themeInfo';
|
|
17049
17080
|
let obj_themeInfo_union0 = null;
|
|
17050
17081
|
const obj_themeInfo_union0_error = (() => {
|
|
17051
|
-
const referencepath_themeInfoValidationError = validate$
|
|
17082
|
+
const referencepath_themeInfoValidationError = validate$1w(obj_themeInfo, path_themeInfo);
|
|
17052
17083
|
if (referencepath_themeInfoValidationError !== null) {
|
|
17053
17084
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
17054
17085
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17207,7 +17238,7 @@ function equals$X(existing, incoming) {
|
|
|
17207
17238
|
}
|
|
17208
17239
|
const ingest$1M = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17209
17240
|
if (process.env.NODE_ENV !== 'production') {
|
|
17210
|
-
const validateError = validate$
|
|
17241
|
+
const validateError = validate$1v(input);
|
|
17211
17242
|
if (validateError !== null) {
|
|
17212
17243
|
throw validateError;
|
|
17213
17244
|
}
|
|
@@ -17368,7 +17399,7 @@ const getObjectInfoAdapterFactory = (luvio) => function UiApi__getObjectInfo(unt
|
|
|
17368
17399
|
buildCachedSnapshotCachePolicy$M, buildNetworkSnapshotCachePolicy$M);
|
|
17369
17400
|
};
|
|
17370
17401
|
|
|
17371
|
-
function validate$
|
|
17402
|
+
function validate$1u(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
17372
17403
|
const v_error = (() => {
|
|
17373
17404
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17374
17405
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17416,7 +17447,7 @@ var DiscriminatorValues$4;
|
|
|
17416
17447
|
DiscriminatorValues["Field"] = "Field";
|
|
17417
17448
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
17418
17449
|
})(DiscriminatorValues$4 || (DiscriminatorValues$4 = {}));
|
|
17419
|
-
function validate$
|
|
17450
|
+
function validate$1t(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
17420
17451
|
const v_error = (() => {
|
|
17421
17452
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17422
17453
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17456,7 +17487,7 @@ function validate$1s(obj, path = 'AbstractRecordLayoutComponentRepresentation')
|
|
|
17456
17487
|
return v_error === undefined ? null : v_error;
|
|
17457
17488
|
}
|
|
17458
17489
|
|
|
17459
|
-
function validate$
|
|
17490
|
+
function validate$1s(obj, path = 'RecordLayoutItemRepresentation') {
|
|
17460
17491
|
const v_error = (() => {
|
|
17461
17492
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17462
17493
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17484,7 +17515,7 @@ function validate$1r(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
17484
17515
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
17485
17516
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
17486
17517
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
17487
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
17518
|
+
const referencepath_layoutComponents_itemValidationError = validate$1t(obj_layoutComponents_item, path_layoutComponents_item);
|
|
17488
17519
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
17489
17520
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' + path_layoutComponents_item + '")\n';
|
|
17490
17521
|
message += referencepath_layoutComponents_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17531,7 +17562,7 @@ function validate$1r(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
17531
17562
|
return v_error === undefined ? null : v_error;
|
|
17532
17563
|
}
|
|
17533
17564
|
|
|
17534
|
-
function validate$
|
|
17565
|
+
function validate$1r(obj, path = 'RecordLayoutRowRepresentation') {
|
|
17535
17566
|
const v_error = (() => {
|
|
17536
17567
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17537
17568
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17544,7 +17575,7 @@ function validate$1q(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
17544
17575
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
17545
17576
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
17546
17577
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
17547
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
17578
|
+
const referencepath_layoutItems_itemValidationError = validate$1s(obj_layoutItems_item, path_layoutItems_item);
|
|
17548
17579
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
17549
17580
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' + path_layoutItems_item + '")\n';
|
|
17550
17581
|
message += referencepath_layoutItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17555,7 +17586,7 @@ function validate$1q(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
17555
17586
|
return v_error === undefined ? null : v_error;
|
|
17556
17587
|
}
|
|
17557
17588
|
|
|
17558
|
-
function validate$
|
|
17589
|
+
function validate$1q(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
17559
17590
|
const v_error = (() => {
|
|
17560
17591
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17561
17592
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17630,7 +17661,7 @@ function validate$1p(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
17630
17661
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
17631
17662
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
17632
17663
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
17633
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
17664
|
+
const referencepath_layoutRows_itemValidationError = validate$1r(obj_layoutRows_item, path_layoutRows_item);
|
|
17634
17665
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
17635
17666
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' + path_layoutRows_item + '")\n';
|
|
17636
17667
|
message += referencepath_layoutRows_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17653,7 +17684,7 @@ function validate$1p(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
17653
17684
|
|
|
17654
17685
|
const TTL$y = 900000;
|
|
17655
17686
|
const VERSION$2c = "fb515e25a89ca1ec154dc865e72b913a";
|
|
17656
|
-
function validate$
|
|
17687
|
+
function validate$1p(obj, path = 'RecordLayoutRepresentation') {
|
|
17657
17688
|
const v_error = (() => {
|
|
17658
17689
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17659
17690
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17759,7 +17790,7 @@ function validate$1o(obj, path = 'RecordLayoutRepresentation') {
|
|
|
17759
17790
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
17760
17791
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
17761
17792
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
17762
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
17793
|
+
const referencepath_saveOptions_itemValidationError = validate$1u(obj_saveOptions_item, path_saveOptions_item);
|
|
17763
17794
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
17764
17795
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' + path_saveOptions_item + '")\n';
|
|
17765
17796
|
message += referencepath_saveOptions_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17774,7 +17805,7 @@ function validate$1o(obj, path = 'RecordLayoutRepresentation') {
|
|
|
17774
17805
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
17775
17806
|
const obj_sections_item = obj_sections[i];
|
|
17776
17807
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
17777
|
-
const referencepath_sections_itemValidationError = validate$
|
|
17808
|
+
const referencepath_sections_itemValidationError = validate$1q(obj_sections_item, path_sections_item);
|
|
17778
17809
|
if (referencepath_sections_itemValidationError !== null) {
|
|
17779
17810
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' + path_sections_item + '")\n';
|
|
17780
17811
|
message += referencepath_sections_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -17849,7 +17880,7 @@ function equals$W(existing, incoming) {
|
|
|
17849
17880
|
}
|
|
17850
17881
|
const ingest$1L = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17851
17882
|
if (process.env.NODE_ENV !== 'production') {
|
|
17852
|
-
const validateError = validate$
|
|
17883
|
+
const validateError = validate$1p(input);
|
|
17853
17884
|
if (validateError !== null) {
|
|
17854
17885
|
throw validateError;
|
|
17855
17886
|
}
|
|
@@ -17891,7 +17922,7 @@ function getRecordId18Array(value) {
|
|
|
17891
17922
|
return dedupe(array).sort();
|
|
17892
17923
|
}
|
|
17893
17924
|
|
|
17894
|
-
function validate$
|
|
17925
|
+
function validate$1o(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
17895
17926
|
const v_error = (() => {
|
|
17896
17927
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17897
17928
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17912,7 +17943,7 @@ function validate$1n(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
17912
17943
|
|
|
17913
17944
|
const TTL$x = 900000;
|
|
17914
17945
|
const VERSION$2b = "4ba42e1fa0fb00cf78fce86082da41c9";
|
|
17915
|
-
function validate$
|
|
17946
|
+
function validate$1n(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
17916
17947
|
const v_error = (() => {
|
|
17917
17948
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
17918
17949
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -17952,7 +17983,7 @@ function validate$1m(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
17952
17983
|
const key = obj_sectionUserStates_keys[i];
|
|
17953
17984
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
17954
17985
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
17955
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
17986
|
+
const referencepath_sectionUserStates_propValidationError = validate$1o(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
17956
17987
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
17957
17988
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' + path_sectionUserStates_prop + '")\n';
|
|
17958
17989
|
message += referencepath_sectionUserStates_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -18009,7 +18040,7 @@ function equals$V(existing, incoming) {
|
|
|
18009
18040
|
}
|
|
18010
18041
|
const ingest$1K = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18011
18042
|
if (process.env.NODE_ENV !== 'production') {
|
|
18012
|
-
const validateError = validate$
|
|
18043
|
+
const validateError = validate$1n(input);
|
|
18013
18044
|
if (validateError !== null) {
|
|
18014
18045
|
throw validateError;
|
|
18015
18046
|
}
|
|
@@ -18031,7 +18062,7 @@ function getTypeCacheKeys$1M(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
18031
18062
|
|
|
18032
18063
|
const TTL$w = 900000;
|
|
18033
18064
|
const VERSION$2a = "49cdd4bc235a6094c3559cc7735b3b6d";
|
|
18034
|
-
function validate$
|
|
18065
|
+
function validate$1m(obj, path = 'RecordUiRepresentation') {
|
|
18035
18066
|
const v_error = (() => {
|
|
18036
18067
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18037
18068
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18293,7 +18324,7 @@ function equals$U(existing, incoming) {
|
|
|
18293
18324
|
}
|
|
18294
18325
|
const ingest$1J = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
18295
18326
|
if (process.env.NODE_ENV !== 'production') {
|
|
18296
|
-
const validateError = validate$
|
|
18327
|
+
const validateError = validate$1m(input);
|
|
18297
18328
|
if (validateError !== null) {
|
|
18298
18329
|
throw validateError;
|
|
18299
18330
|
}
|
|
@@ -19408,7 +19439,7 @@ const factory$g = (luvio) => {
|
|
|
19408
19439
|
};
|
|
19409
19440
|
|
|
19410
19441
|
const VERSION$29 = "7e00c51105cbf56a79ab8fcddf462c1e";
|
|
19411
|
-
function validate$
|
|
19442
|
+
function validate$1l(obj, path = 'QuickActionExecutionRepresentation') {
|
|
19412
19443
|
const v_error = (() => {
|
|
19413
19444
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19414
19445
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19581,7 +19612,7 @@ function equals$T(existing, incoming) {
|
|
|
19581
19612
|
}
|
|
19582
19613
|
const ingest$1I = function QuickActionExecutionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
19583
19614
|
if (process.env.NODE_ENV !== 'production') {
|
|
19584
|
-
const validateError = validate$
|
|
19615
|
+
const validateError = validate$1l(input);
|
|
19585
19616
|
if (validateError !== null) {
|
|
19586
19617
|
throw validateError;
|
|
19587
19618
|
}
|
|
@@ -19603,7 +19634,7 @@ function getTypeCacheKeys$1L(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
19603
19634
|
|
|
19604
19635
|
const TTL$v = 900000;
|
|
19605
19636
|
const VERSION$28 = "993b0a7bce6056c4f57ed300ec153d9c";
|
|
19606
|
-
function validate$
|
|
19637
|
+
function validate$1k(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
19607
19638
|
const v_error = (() => {
|
|
19608
19639
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19609
19640
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -19768,7 +19799,7 @@ function coerceFormFactor(form) {
|
|
|
19768
19799
|
}
|
|
19769
19800
|
|
|
19770
19801
|
const VERSION$27 = "3f49d751896cf66e6e29788d8880e2cc";
|
|
19771
|
-
function validate$
|
|
19802
|
+
function validate$1j(obj, path = 'PlatformActionRepresentation') {
|
|
19772
19803
|
const v_error = (() => {
|
|
19773
19804
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19774
19805
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20300,7 +20331,7 @@ function equals$R(existing, incoming) {
|
|
|
20300
20331
|
}
|
|
20301
20332
|
const ingest$1H = function PlatformActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20302
20333
|
if (process.env.NODE_ENV !== 'production') {
|
|
20303
|
-
const validateError = validate$
|
|
20334
|
+
const validateError = validate$1j(input);
|
|
20304
20335
|
if (validateError !== null) {
|
|
20305
20336
|
throw validateError;
|
|
20306
20337
|
}
|
|
@@ -20321,7 +20352,7 @@ function getTypeCacheKeys$1J(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
20321
20352
|
}
|
|
20322
20353
|
|
|
20323
20354
|
const VERSION$26 = "378d506f563a4bd724b322d440df33d1";
|
|
20324
|
-
function validate$
|
|
20355
|
+
function validate$1i(obj, path = 'EntityActionRepresentation') {
|
|
20325
20356
|
const v_error = (() => {
|
|
20326
20357
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20327
20358
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20435,7 +20466,7 @@ function equals$Q(existing, incoming) {
|
|
|
20435
20466
|
}
|
|
20436
20467
|
const ingest$1G = function EntityActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20437
20468
|
if (process.env.NODE_ENV !== 'production') {
|
|
20438
|
-
const validateError = validate$
|
|
20469
|
+
const validateError = validate$1i(input);
|
|
20439
20470
|
if (validateError !== null) {
|
|
20440
20471
|
throw validateError;
|
|
20441
20472
|
}
|
|
@@ -20461,7 +20492,7 @@ function getTypeCacheKeys$1I(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
20461
20492
|
|
|
20462
20493
|
const TTL$u = 300000;
|
|
20463
20494
|
const VERSION$25 = "e485d96c1402a9ca2f56e56485af0216";
|
|
20464
|
-
function validate$
|
|
20495
|
+
function validate$1h(obj, path = 'ActionRepresentation') {
|
|
20465
20496
|
const v_error = (() => {
|
|
20466
20497
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20467
20498
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20559,7 +20590,7 @@ function equals$P(existing, incoming) {
|
|
|
20559
20590
|
}
|
|
20560
20591
|
const ingest$1F = function ActionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20561
20592
|
if (process.env.NODE_ENV !== 'production') {
|
|
20562
|
-
const validateError = validate$
|
|
20593
|
+
const validateError = validate$1h(input);
|
|
20563
20594
|
if (validateError !== null) {
|
|
20564
20595
|
throw validateError;
|
|
20565
20596
|
}
|
|
@@ -20731,7 +20762,7 @@ const getGlobalActionsAdapterFactory = (luvio) => function UiApi__getGlobalActio
|
|
|
20731
20762
|
|
|
20732
20763
|
const TTL$t = 900000;
|
|
20733
20764
|
const VERSION$24 = "35f3eec8ce7f6001c6d5d17821b75bb9";
|
|
20734
|
-
function validate$
|
|
20765
|
+
function validate$1g(obj, path = 'QuickActionLayoutRepresentation') {
|
|
20735
20766
|
const v_error = (() => {
|
|
20736
20767
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
20737
20768
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -20748,7 +20779,7 @@ function validate$1f(obj, path = 'QuickActionLayoutRepresentation') {
|
|
|
20748
20779
|
}
|
|
20749
20780
|
const obj_layout = obj.layout;
|
|
20750
20781
|
const path_layout = path + '.layout';
|
|
20751
|
-
const referencepath_layoutValidationError = validate$
|
|
20782
|
+
const referencepath_layoutValidationError = validate$1p(obj_layout, path_layout);
|
|
20752
20783
|
if (referencepath_layoutValidationError !== null) {
|
|
20753
20784
|
let message = 'Object doesn\'t match RecordLayoutRepresentation (at "' + path_layout + '")\n';
|
|
20754
20785
|
message += referencepath_layoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -20798,7 +20829,7 @@ function equals$O(existing, incoming) {
|
|
|
20798
20829
|
}
|
|
20799
20830
|
const ingest$1E = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
20800
20831
|
if (process.env.NODE_ENV !== 'production') {
|
|
20801
|
-
const validateError = validate$
|
|
20832
|
+
const validateError = validate$1g(input);
|
|
20802
20833
|
if (validateError !== null) {
|
|
20803
20834
|
throw validateError;
|
|
20804
20835
|
}
|
|
@@ -21275,7 +21306,7 @@ const getObjectCreateActionsAdapterFactory = (luvio) => function UiApi__getObjec
|
|
|
21275
21306
|
};
|
|
21276
21307
|
|
|
21277
21308
|
const VERSION$23 = "fecd80e9e24a1c1e75fd5395cd34ff2e";
|
|
21278
|
-
function validate$
|
|
21309
|
+
function validate$1f(obj, path = 'ActionOverrideRepresentation') {
|
|
21279
21310
|
const v_error = (() => {
|
|
21280
21311
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21281
21312
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -21308,7 +21339,7 @@ function equals$N(existing, incoming) {
|
|
|
21308
21339
|
}
|
|
21309
21340
|
const ingest$1D = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21310
21341
|
if (process.env.NODE_ENV !== 'production') {
|
|
21311
|
-
const validateError = validate$
|
|
21342
|
+
const validateError = validate$1f(input);
|
|
21312
21343
|
if (validateError !== null) {
|
|
21313
21344
|
throw validateError;
|
|
21314
21345
|
}
|
|
@@ -21484,7 +21515,7 @@ function merge$1(existing, incoming) {
|
|
|
21484
21515
|
const dynamicIngest$4 = (ingestParams) => {
|
|
21485
21516
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
21486
21517
|
if (process.env.NODE_ENV !== 'production') {
|
|
21487
|
-
const validateError = validate$
|
|
21518
|
+
const validateError = validate$1k(input);
|
|
21488
21519
|
if (validateError !== null) {
|
|
21489
21520
|
throw validateError;
|
|
21490
21521
|
}
|
|
@@ -21993,7 +22024,7 @@ const getRecordEditActionsAdapterFactory = (luvio) => function UiApi__getRecordE
|
|
|
21993
22024
|
buildCachedSnapshotCachePolicy$E, buildNetworkSnapshotCachePolicy$E);
|
|
21994
22025
|
};
|
|
21995
22026
|
|
|
21996
|
-
function validate$
|
|
22027
|
+
function validate$1e(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
|
|
21997
22028
|
const v_error = (() => {
|
|
21998
22029
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
21999
22030
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22419,7 +22450,7 @@ function typeCheckConfig$Q(untrustedConfig) {
|
|
|
22419
22450
|
const untrustedConfig_relatedListsActionParameters_array = [];
|
|
22420
22451
|
for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
|
|
22421
22452
|
const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
|
|
22422
|
-
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$
|
|
22453
|
+
const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1e(untrustedConfig_relatedListsActionParameters_item);
|
|
22423
22454
|
if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
|
|
22424
22455
|
untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
|
|
22425
22456
|
}
|
|
@@ -22737,7 +22768,7 @@ const getRelatedListRecordActionsAdapterFactory = (luvio) => function UiApi__get
|
|
|
22737
22768
|
};
|
|
22738
22769
|
|
|
22739
22770
|
const VERSION$22 = "a316b3bba367f54adc67d7552ed7d36d";
|
|
22740
|
-
function validate$
|
|
22771
|
+
function validate$1d(obj, path = 'PageReferenceRepresentation') {
|
|
22741
22772
|
const v_error = (() => {
|
|
22742
22773
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22743
22774
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -22798,7 +22829,7 @@ function equals$M(existing, incoming) {
|
|
|
22798
22829
|
}
|
|
22799
22830
|
const ingest$1C = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
22800
22831
|
if (process.env.NODE_ENV !== 'production') {
|
|
22801
|
-
const validateError = validate$
|
|
22832
|
+
const validateError = validate$1d(input);
|
|
22802
22833
|
if (validateError !== null) {
|
|
22803
22834
|
throw validateError;
|
|
22804
22835
|
}
|
|
@@ -22820,7 +22851,7 @@ function getTypeCacheKeys$1E(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
22820
22851
|
|
|
22821
22852
|
const TTL$s = 120000;
|
|
22822
22853
|
const VERSION$21 = "09884ca5bf90ea4662092a4e48817081";
|
|
22823
|
-
function validate$
|
|
22854
|
+
function validate$1c(obj, path = 'NavItemRepresentation') {
|
|
22824
22855
|
const v_error = (() => {
|
|
22825
22856
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
22826
22857
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23212,7 +23243,7 @@ function equals$L(existing, incoming) {
|
|
|
23212
23243
|
}
|
|
23213
23244
|
const ingest$1B = function NavItemRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23214
23245
|
if (process.env.NODE_ENV !== 'production') {
|
|
23215
|
-
const validateError = validate$
|
|
23246
|
+
const validateError = validate$1c(input);
|
|
23216
23247
|
if (validateError !== null) {
|
|
23217
23248
|
throw validateError;
|
|
23218
23249
|
}
|
|
@@ -23237,7 +23268,7 @@ function getTypeCacheKeys$1D(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23237
23268
|
|
|
23238
23269
|
const TTL$r = 300000;
|
|
23239
23270
|
const VERSION$20 = "1781f2d3d4e413cf0c681774d82d02cd";
|
|
23240
|
-
function validate$
|
|
23271
|
+
function validate$1b(obj, path = 'AppRepresentation') {
|
|
23241
23272
|
const v_error = (() => {
|
|
23242
23273
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23243
23274
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23679,7 +23710,7 @@ function equals$K(existing, incoming) {
|
|
|
23679
23710
|
}
|
|
23680
23711
|
const ingest$1A = function AppRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23681
23712
|
if (process.env.NODE_ENV !== 'production') {
|
|
23682
|
-
const validateError = validate$
|
|
23713
|
+
const validateError = validate$1b(input);
|
|
23683
23714
|
if (validateError !== null) {
|
|
23684
23715
|
throw validateError;
|
|
23685
23716
|
}
|
|
@@ -23709,7 +23740,7 @@ function getTypeCacheKeys$1C(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
23709
23740
|
|
|
23710
23741
|
const TTL$q = 300000;
|
|
23711
23742
|
const VERSION$1$ = "a254babf0b6414315db7808a157fd9fc";
|
|
23712
|
-
function validate$
|
|
23743
|
+
function validate$1a(obj, path = 'AppsRepresentation') {
|
|
23713
23744
|
const v_error = (() => {
|
|
23714
23745
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
23715
23746
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -23791,7 +23822,7 @@ function equals$J(existing, incoming) {
|
|
|
23791
23822
|
}
|
|
23792
23823
|
const ingest$1z = function AppsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
23793
23824
|
if (process.env.NODE_ENV !== 'production') {
|
|
23794
|
-
const validateError = validate$
|
|
23825
|
+
const validateError = validate$1a(input);
|
|
23795
23826
|
if (validateError !== null) {
|
|
23796
23827
|
throw validateError;
|
|
23797
23828
|
}
|
|
@@ -24099,7 +24130,7 @@ const getAppDetailsAdapterFactory = (luvio) => function UiApi__getAppDetails(unt
|
|
|
24099
24130
|
};
|
|
24100
24131
|
|
|
24101
24132
|
const VERSION$1_ = "f43ef90ffde4d488414d6868e3aaefcb";
|
|
24102
|
-
function validate$
|
|
24133
|
+
function validate$19(obj, path = 'DuplicateRuleFilterItemRepresentation') {
|
|
24103
24134
|
const v_error = (() => {
|
|
24104
24135
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24105
24136
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24161,7 +24192,7 @@ const select$2j = function DuplicateRuleFilterItemRepresentationSelect() {
|
|
|
24161
24192
|
};
|
|
24162
24193
|
|
|
24163
24194
|
const VERSION$1Z = "320d7f254687278f2763d4b490dab3fb";
|
|
24164
|
-
function validate$
|
|
24195
|
+
function validate$18(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
24165
24196
|
const v_error = (() => {
|
|
24166
24197
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24167
24198
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24184,7 +24215,7 @@ function validate$17(obj, path = 'DuplicateRuleFilterRepresentation') {
|
|
|
24184
24215
|
for (let i = 0; i < obj_filterItems.length; i++) {
|
|
24185
24216
|
const obj_filterItems_item = obj_filterItems[i];
|
|
24186
24217
|
const path_filterItems_item = path_filterItems + '[' + i + ']';
|
|
24187
|
-
const referencepath_filterItems_itemValidationError = validate$
|
|
24218
|
+
const referencepath_filterItems_itemValidationError = validate$19(obj_filterItems_item, path_filterItems_item);
|
|
24188
24219
|
if (referencepath_filterItems_itemValidationError !== null) {
|
|
24189
24220
|
let message = 'Object doesn\'t match DuplicateRuleFilterItemRepresentation (at "' + path_filterItems_item + '")\n';
|
|
24190
24221
|
message += referencepath_filterItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24227,7 +24258,7 @@ const select$2i = function DuplicateRuleFilterRepresentationSelect() {
|
|
|
24227
24258
|
};
|
|
24228
24259
|
|
|
24229
24260
|
const VERSION$1Y = "b47b44e260e5ce777beaf3da9088997c";
|
|
24230
|
-
function validate$
|
|
24261
|
+
function validate$17(obj, path = 'MatchRuleRepresentation') {
|
|
24231
24262
|
const v_error = (() => {
|
|
24232
24263
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24233
24264
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24297,7 +24328,7 @@ const select$2h = function MatchRuleRepresentationSelect() {
|
|
|
24297
24328
|
};
|
|
24298
24329
|
|
|
24299
24330
|
const VERSION$1X = "bb83d7210bb1d7861b6188bc5f552617";
|
|
24300
|
-
function validate$
|
|
24331
|
+
function validate$16(obj, path = 'DuplicateRuleRepresentation') {
|
|
24301
24332
|
const v_error = (() => {
|
|
24302
24333
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24303
24334
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24325,7 +24356,7 @@ function validate$15(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
24325
24356
|
for (let i = 0; i < obj_duplicateRuleFilters.length; i++) {
|
|
24326
24357
|
const obj_duplicateRuleFilters_item = obj_duplicateRuleFilters[i];
|
|
24327
24358
|
const path_duplicateRuleFilters_item = path_duplicateRuleFilters + '[' + i + ']';
|
|
24328
|
-
const referencepath_duplicateRuleFilters_itemValidationError = validate$
|
|
24359
|
+
const referencepath_duplicateRuleFilters_itemValidationError = validate$18(obj_duplicateRuleFilters_item, path_duplicateRuleFilters_item);
|
|
24329
24360
|
if (referencepath_duplicateRuleFilters_itemValidationError !== null) {
|
|
24330
24361
|
let message = 'Object doesn\'t match DuplicateRuleFilterRepresentation (at "' + path_duplicateRuleFilters_item + '")\n';
|
|
24331
24362
|
message += referencepath_duplicateRuleFilters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24345,7 +24376,7 @@ function validate$15(obj, path = 'DuplicateRuleRepresentation') {
|
|
|
24345
24376
|
for (let i = 0; i < obj_matchRules.length; i++) {
|
|
24346
24377
|
const obj_matchRules_item = obj_matchRules[i];
|
|
24347
24378
|
const path_matchRules_item = path_matchRules + '[' + i + ']';
|
|
24348
|
-
const referencepath_matchRules_itemValidationError = validate$
|
|
24379
|
+
const referencepath_matchRules_itemValidationError = validate$17(obj_matchRules_item, path_matchRules_item);
|
|
24349
24380
|
if (referencepath_matchRules_itemValidationError !== null) {
|
|
24350
24381
|
let message = 'Object doesn\'t match MatchRuleRepresentation (at "' + path_matchRules_item + '")\n';
|
|
24351
24382
|
message += referencepath_matchRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24438,7 +24469,7 @@ const select$2g = function DuplicateRuleRepresentationSelect() {
|
|
|
24438
24469
|
|
|
24439
24470
|
const TTL$p = 900000;
|
|
24440
24471
|
const VERSION$1W = "be27ee99dc0dc43a1f66b8fe98dc532c";
|
|
24441
|
-
function validate$
|
|
24472
|
+
function validate$15(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
24442
24473
|
const v_error = (() => {
|
|
24443
24474
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
24444
24475
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -24473,7 +24504,7 @@ function validate$14(obj, path = 'DuplicatesConfigurationRepresentation') {
|
|
|
24473
24504
|
for (let i = 0; i < obj_duplicateRules.length; i++) {
|
|
24474
24505
|
const obj_duplicateRules_item = obj_duplicateRules[i];
|
|
24475
24506
|
const path_duplicateRules_item = path_duplicateRules + '[' + i + ']';
|
|
24476
|
-
const referencepath_duplicateRules_itemValidationError = validate$
|
|
24507
|
+
const referencepath_duplicateRules_itemValidationError = validate$16(obj_duplicateRules_item, path_duplicateRules_item);
|
|
24477
24508
|
if (referencepath_duplicateRules_itemValidationError !== null) {
|
|
24478
24509
|
let message = 'Object doesn\'t match DuplicateRuleRepresentation (at "' + path_duplicateRules_item + '")\n';
|
|
24479
24510
|
message += referencepath_duplicateRules_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -24540,7 +24571,7 @@ function equals$I(existing, incoming) {
|
|
|
24540
24571
|
}
|
|
24541
24572
|
const ingest$1y = function DuplicatesConfigurationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
24542
24573
|
if (process.env.NODE_ENV !== 'production') {
|
|
24543
|
-
const validateError = validate$
|
|
24574
|
+
const validateError = validate$15(input);
|
|
24544
24575
|
if (validateError !== null) {
|
|
24545
24576
|
throw validateError;
|
|
24546
24577
|
}
|
|
@@ -25479,7 +25510,7 @@ const getListInfosByNameAdapterFactory = (luvio) => function UiApi__getListInfos
|
|
|
25479
25510
|
buildCachedSnapshotCachePolicy$u, buildNetworkSnapshotCachePolicy$u);
|
|
25480
25511
|
};
|
|
25481
25512
|
|
|
25482
|
-
function validate$
|
|
25513
|
+
function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
25483
25514
|
const v_error = (() => {
|
|
25484
25515
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25485
25516
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25510,7 +25541,7 @@ function validate$13(obj, path = 'ListFilterByInfoInputRepresentation') {
|
|
|
25510
25541
|
return v_error === undefined ? null : v_error;
|
|
25511
25542
|
}
|
|
25512
25543
|
|
|
25513
|
-
function validate$
|
|
25544
|
+
function validate$13(obj, path = 'ListScopeInputRepresentation') {
|
|
25514
25545
|
const v_error = (() => {
|
|
25515
25546
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25516
25547
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25520,57 +25551,61 @@ function validate$12(obj, path = 'ListScopeInputRepresentation') {
|
|
|
25520
25551
|
if (typeof obj_apiName !== 'string') {
|
|
25521
25552
|
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
25522
25553
|
}
|
|
25523
|
-
|
|
25524
|
-
|
|
25525
|
-
|
|
25526
|
-
|
|
25527
|
-
|
|
25528
|
-
|
|
25554
|
+
if (obj.entityId !== undefined) {
|
|
25555
|
+
const obj_entityId = obj.entityId;
|
|
25556
|
+
const path_entityId = path + '.entityId';
|
|
25557
|
+
let obj_entityId_union0 = null;
|
|
25558
|
+
const obj_entityId_union0_error = (() => {
|
|
25559
|
+
if (typeof obj_entityId !== 'string') {
|
|
25560
|
+
return new TypeError('Expected "string" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
25561
|
+
}
|
|
25562
|
+
})();
|
|
25563
|
+
if (obj_entityId_union0_error != null) {
|
|
25564
|
+
obj_entityId_union0 = obj_entityId_union0_error.message;
|
|
25529
25565
|
}
|
|
25530
|
-
|
|
25531
|
-
|
|
25532
|
-
|
|
25533
|
-
|
|
25534
|
-
|
|
25535
|
-
|
|
25536
|
-
if (
|
|
25537
|
-
|
|
25566
|
+
let obj_entityId_union1 = null;
|
|
25567
|
+
const obj_entityId_union1_error = (() => {
|
|
25568
|
+
if (obj_entityId !== null) {
|
|
25569
|
+
return new TypeError('Expected "null" but received "' + typeof obj_entityId + '" (at "' + path_entityId + '")');
|
|
25570
|
+
}
|
|
25571
|
+
})();
|
|
25572
|
+
if (obj_entityId_union1_error != null) {
|
|
25573
|
+
obj_entityId_union1 = obj_entityId_union1_error.message;
|
|
25538
25574
|
}
|
|
25539
|
-
|
|
25540
|
-
|
|
25541
|
-
|
|
25542
|
-
|
|
25543
|
-
|
|
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 + '")');
|
|
25575
|
+
if (obj_entityId_union0 && obj_entityId_union1) {
|
|
25576
|
+
let message = 'Object doesn\'t match union (at "' + path_entityId + '")';
|
|
25577
|
+
message += '\n' + obj_entityId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
25578
|
+
message += '\n' + obj_entityId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
25579
|
+
return new TypeError(message);
|
|
25555
25580
|
}
|
|
25556
|
-
})();
|
|
25557
|
-
if (obj_relatedEntityId_union0_error != null) {
|
|
25558
|
-
obj_relatedEntityId_union0 = obj_relatedEntityId_union0_error.message;
|
|
25559
25581
|
}
|
|
25560
|
-
|
|
25561
|
-
|
|
25562
|
-
|
|
25563
|
-
|
|
25582
|
+
if (obj.relatedEntityId !== undefined) {
|
|
25583
|
+
const obj_relatedEntityId = obj.relatedEntityId;
|
|
25584
|
+
const path_relatedEntityId = path + '.relatedEntityId';
|
|
25585
|
+
let obj_relatedEntityId_union0 = null;
|
|
25586
|
+
const obj_relatedEntityId_union0_error = (() => {
|
|
25587
|
+
if (typeof obj_relatedEntityId !== 'string') {
|
|
25588
|
+
return new TypeError('Expected "string" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
|
|
25589
|
+
}
|
|
25590
|
+
})();
|
|
25591
|
+
if (obj_relatedEntityId_union0_error != null) {
|
|
25592
|
+
obj_relatedEntityId_union0 = obj_relatedEntityId_union0_error.message;
|
|
25593
|
+
}
|
|
25594
|
+
let obj_relatedEntityId_union1 = null;
|
|
25595
|
+
const obj_relatedEntityId_union1_error = (() => {
|
|
25596
|
+
if (obj_relatedEntityId !== null) {
|
|
25597
|
+
return new TypeError('Expected "null" but received "' + typeof obj_relatedEntityId + '" (at "' + path_relatedEntityId + '")');
|
|
25598
|
+
}
|
|
25599
|
+
})();
|
|
25600
|
+
if (obj_relatedEntityId_union1_error != null) {
|
|
25601
|
+
obj_relatedEntityId_union1 = obj_relatedEntityId_union1_error.message;
|
|
25602
|
+
}
|
|
25603
|
+
if (obj_relatedEntityId_union0 && obj_relatedEntityId_union1) {
|
|
25604
|
+
let message = 'Object doesn\'t match union (at "' + path_relatedEntityId + '")';
|
|
25605
|
+
message += '\n' + obj_relatedEntityId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
25606
|
+
message += '\n' + obj_relatedEntityId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
25607
|
+
return new TypeError(message);
|
|
25564
25608
|
}
|
|
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
25609
|
}
|
|
25575
25610
|
})();
|
|
25576
25611
|
return v_error === undefined ? null : v_error;
|
|
@@ -25635,7 +25670,7 @@ function typeCheckConfig$G(untrustedConfig) {
|
|
|
25635
25670
|
const untrustedConfig_filteredByInfo_array = [];
|
|
25636
25671
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
25637
25672
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
25638
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
25673
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$14(untrustedConfig_filteredByInfo_item);
|
|
25639
25674
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
25640
25675
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
25641
25676
|
}
|
|
@@ -25643,7 +25678,7 @@ function typeCheckConfig$G(untrustedConfig) {
|
|
|
25643
25678
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
25644
25679
|
}
|
|
25645
25680
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
25646
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
25681
|
+
const referenceListScopeInputRepresentationValidationError = validate$13(untrustedConfig_scope);
|
|
25647
25682
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
25648
25683
|
config.scope = untrustedConfig_scope;
|
|
25649
25684
|
}
|
|
@@ -25838,7 +25873,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
25838
25873
|
const untrustedConfig_filteredByInfo_array = [];
|
|
25839
25874
|
for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
|
|
25840
25875
|
const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
|
|
25841
|
-
const referenceListFilterByInfoInputRepresentationValidationError = validate$
|
|
25876
|
+
const referenceListFilterByInfoInputRepresentationValidationError = validate$14(untrustedConfig_filteredByInfo_item);
|
|
25842
25877
|
if (referenceListFilterByInfoInputRepresentationValidationError === null) {
|
|
25843
25878
|
untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
|
|
25844
25879
|
}
|
|
@@ -25846,7 +25881,7 @@ function typeCheckConfig$E(untrustedConfig) {
|
|
|
25846
25881
|
config.filteredByInfo = untrustedConfig_filteredByInfo_array;
|
|
25847
25882
|
}
|
|
25848
25883
|
const untrustedConfig_scope = untrustedConfig.scope;
|
|
25849
|
-
const referenceListScopeInputRepresentationValidationError = validate$
|
|
25884
|
+
const referenceListScopeInputRepresentationValidationError = validate$13(untrustedConfig_scope);
|
|
25850
25885
|
if (referenceListScopeInputRepresentationValidationError === null) {
|
|
25851
25886
|
config.scope = untrustedConfig_scope;
|
|
25852
25887
|
}
|
|
@@ -25896,7 +25931,7 @@ const updateListInfoByNameAdapterFactory = (luvio) => {
|
|
|
25896
25931
|
};
|
|
25897
25932
|
|
|
25898
25933
|
const VERSION$1V = "d77026c4d63ef00cdd7e3d600687a40d";
|
|
25899
|
-
function validate$
|
|
25934
|
+
function validate$12(obj, path = 'ListObjectScopeAvailableEntityRepresentation') {
|
|
25900
25935
|
const v_error = (() => {
|
|
25901
25936
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25902
25937
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25946,7 +25981,7 @@ function equals$H(existing, incoming) {
|
|
|
25946
25981
|
}
|
|
25947
25982
|
|
|
25948
25983
|
const VERSION$1U = "355933ff2970aa91a2848a94565e956a";
|
|
25949
|
-
function validate$
|
|
25984
|
+
function validate$11(obj, path = 'ListObjectScopeRepresentation') {
|
|
25950
25985
|
const v_error = (() => {
|
|
25951
25986
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
25952
25987
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -25964,7 +25999,7 @@ function validate$10(obj, path = 'ListObjectScopeRepresentation') {
|
|
|
25964
25999
|
for (let i = 0; i < obj_availableEntities.length; i++) {
|
|
25965
26000
|
const obj_availableEntities_item = obj_availableEntities[i];
|
|
25966
26001
|
const path_availableEntities_item = path_availableEntities + '[' + i + ']';
|
|
25967
|
-
const referencepath_availableEntities_itemValidationError = validate$
|
|
26002
|
+
const referencepath_availableEntities_itemValidationError = validate$12(obj_availableEntities_item, path_availableEntities_item);
|
|
25968
26003
|
if (referencepath_availableEntities_itemValidationError !== null) {
|
|
25969
26004
|
let message = 'Object doesn\'t match ListObjectScopeAvailableEntityRepresentation (at "' + path_availableEntities_item + '")\n';
|
|
25970
26005
|
message += referencepath_availableEntities_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26028,7 +26063,7 @@ function equals$G(existing, incoming) {
|
|
|
26028
26063
|
}
|
|
26029
26064
|
|
|
26030
26065
|
const VERSION$1T = "c5c08ea834378670c9d6f235ff71c9f0";
|
|
26031
|
-
function validate
|
|
26066
|
+
function validate$10(obj, path = 'ListObjectPicklistValueRepresentation') {
|
|
26032
26067
|
const v_error = (() => {
|
|
26033
26068
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26034
26069
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26078,7 +26113,7 @@ function equals$F(existing, incoming) {
|
|
|
26078
26113
|
}
|
|
26079
26114
|
|
|
26080
26115
|
const VERSION$1S = "2c35f797fead79b5c45b521e77dd6ace";
|
|
26081
|
-
function validate
|
|
26116
|
+
function validate$$(obj, path = 'ListObjectColumnRepresentation') {
|
|
26082
26117
|
const v_error = (() => {
|
|
26083
26118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26084
26119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26147,7 +26182,7 @@ function validate$_(obj, path = 'ListObjectColumnRepresentation') {
|
|
|
26147
26182
|
for (let i = 0; i < obj_picklistValues.length; i++) {
|
|
26148
26183
|
const obj_picklistValues_item = obj_picklistValues[i];
|
|
26149
26184
|
const path_picklistValues_item = path_picklistValues + '[' + i + ']';
|
|
26150
|
-
const referencepath_picklistValues_itemValidationError = validate
|
|
26185
|
+
const referencepath_picklistValues_itemValidationError = validate$10(obj_picklistValues_item, path_picklistValues_item);
|
|
26151
26186
|
if (referencepath_picklistValues_itemValidationError !== null) {
|
|
26152
26187
|
let message = 'Object doesn\'t match ListObjectPicklistValueRepresentation (at "' + path_picklistValues_item + '")\n';
|
|
26153
26188
|
message += referencepath_picklistValues_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26293,7 +26328,7 @@ function equals$E(existing, incoming) {
|
|
|
26293
26328
|
|
|
26294
26329
|
const TTL$o = 900000;
|
|
26295
26330
|
const VERSION$1R = "84e1e3ffdfcb59f65d7b8906e33027ac";
|
|
26296
|
-
function validate$
|
|
26331
|
+
function validate$_(obj, path = 'ListObjectInfoRepresentation') {
|
|
26297
26332
|
const v_error = (() => {
|
|
26298
26333
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26299
26334
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26306,7 +26341,7 @@ function validate$Z(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
26306
26341
|
for (let i = 0; i < obj_availableScopes.length; i++) {
|
|
26307
26342
|
const obj_availableScopes_item = obj_availableScopes[i];
|
|
26308
26343
|
const path_availableScopes_item = path_availableScopes + '[' + i + ']';
|
|
26309
|
-
const referencepath_availableScopes_itemValidationError = validate$
|
|
26344
|
+
const referencepath_availableScopes_itemValidationError = validate$11(obj_availableScopes_item, path_availableScopes_item);
|
|
26310
26345
|
if (referencepath_availableScopes_itemValidationError !== null) {
|
|
26311
26346
|
let message = 'Object doesn\'t match ListObjectScopeRepresentation (at "' + path_availableScopes_item + '")\n';
|
|
26312
26347
|
message += referencepath_availableScopes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26321,7 +26356,7 @@ function validate$Z(obj, path = 'ListObjectInfoRepresentation') {
|
|
|
26321
26356
|
for (let i = 0; i < obj_columns.length; i++) {
|
|
26322
26357
|
const obj_columns_item = obj_columns[i];
|
|
26323
26358
|
const path_columns_item = path_columns + '[' + i + ']';
|
|
26324
|
-
const referencepath_columns_itemValidationError = validate
|
|
26359
|
+
const referencepath_columns_itemValidationError = validate$$(obj_columns_item, path_columns_item);
|
|
26325
26360
|
if (referencepath_columns_itemValidationError !== null) {
|
|
26326
26361
|
let message = 'Object doesn\'t match ListObjectColumnRepresentation (at "' + path_columns_item + '")\n';
|
|
26327
26362
|
message += referencepath_columns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -26455,7 +26490,7 @@ function equals$D(existing, incoming) {
|
|
|
26455
26490
|
}
|
|
26456
26491
|
const ingest$1x = function ListObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26457
26492
|
if (process.env.NODE_ENV !== 'production') {
|
|
26458
|
-
const validateError = validate$
|
|
26493
|
+
const validateError = validate$_(input);
|
|
26459
26494
|
if (validateError !== null) {
|
|
26460
26495
|
throw validateError;
|
|
26461
26496
|
}
|
|
@@ -26618,7 +26653,7 @@ const getListObjectInfoAdapterFactory = (luvio) => function UiApi__getListObject
|
|
|
26618
26653
|
|
|
26619
26654
|
const TTL$n = 120000;
|
|
26620
26655
|
const VERSION$1Q = "756779d0d7e137dd72c743544afbad82";
|
|
26621
|
-
function validate$
|
|
26656
|
+
function validate$Z(obj, path = 'NavItemsRepresentation') {
|
|
26622
26657
|
const v_error = (() => {
|
|
26623
26658
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
26624
26659
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -26746,7 +26781,7 @@ function equals$C(existing, incoming) {
|
|
|
26746
26781
|
}
|
|
26747
26782
|
const ingest$1w = function NavItemsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
26748
26783
|
if (process.env.NODE_ENV !== 'production') {
|
|
26749
|
-
const validateError = validate$
|
|
26784
|
+
const validateError = validate$Z(input);
|
|
26750
26785
|
if (validateError !== null) {
|
|
26751
26786
|
throw validateError;
|
|
26752
26787
|
}
|
|
@@ -27353,7 +27388,7 @@ var DiscriminatorValues$3;
|
|
|
27353
27388
|
DiscriminatorValues["OpportunityStage"] = "OpportunityStage";
|
|
27354
27389
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
27355
27390
|
const VERSION$1L = "bd523b2343366edfc25a2dbee2c4e986";
|
|
27356
|
-
function validate$
|
|
27391
|
+
function validate$Y(obj, path = 'AbstractPicklistValueAttributesRepresentation') {
|
|
27357
27392
|
const v_error = (() => {
|
|
27358
27393
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27359
27394
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27398,7 +27433,7 @@ const select$1Y = function AbstractPicklistValueAttributesRepresentationSelect()
|
|
|
27398
27433
|
};
|
|
27399
27434
|
|
|
27400
27435
|
const VERSION$1K = "9e2a16a80378487f557124c771201cf9";
|
|
27401
|
-
function validate$
|
|
27436
|
+
function validate$X(obj, path = 'PicklistValueRepresentation') {
|
|
27402
27437
|
const v_error = (() => {
|
|
27403
27438
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27404
27439
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27407,7 +27442,7 @@ function validate$W(obj, path = 'PicklistValueRepresentation') {
|
|
|
27407
27442
|
const path_attributes = path + '.attributes';
|
|
27408
27443
|
let obj_attributes_union0 = null;
|
|
27409
27444
|
const obj_attributes_union0_error = (() => {
|
|
27410
|
-
const referencepath_attributesValidationError = validate$
|
|
27445
|
+
const referencepath_attributesValidationError = validate$Y(obj_attributes, path_attributes);
|
|
27411
27446
|
if (referencepath_attributesValidationError !== null) {
|
|
27412
27447
|
let message = 'Object doesn\'t match AbstractPicklistValueAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
27413
27448
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -27502,7 +27537,7 @@ function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
|
27502
27537
|
|
|
27503
27538
|
const TTL$m = 900000;
|
|
27504
27539
|
const VERSION$1J = "0a361a49370acb4c6a31721a2057649a";
|
|
27505
|
-
function validate$
|
|
27540
|
+
function validate$W(obj, path = 'PicklistValuesRepresentation') {
|
|
27506
27541
|
const v_error = (() => {
|
|
27507
27542
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27508
27543
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27525,7 +27560,7 @@ function validate$V(obj, path = 'PicklistValuesRepresentation') {
|
|
|
27525
27560
|
const path_defaultValue = path + '.defaultValue';
|
|
27526
27561
|
let obj_defaultValue_union0 = null;
|
|
27527
27562
|
const obj_defaultValue_union0_error = (() => {
|
|
27528
|
-
const referencepath_defaultValueValidationError = validate$
|
|
27563
|
+
const referencepath_defaultValueValidationError = validate$X(obj_defaultValue, path_defaultValue);
|
|
27529
27564
|
if (referencepath_defaultValueValidationError !== null) {
|
|
27530
27565
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_defaultValue + '")\n';
|
|
27531
27566
|
message += referencepath_defaultValueValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -27568,7 +27603,7 @@ function validate$V(obj, path = 'PicklistValuesRepresentation') {
|
|
|
27568
27603
|
for (let i = 0; i < obj_values.length; i++) {
|
|
27569
27604
|
const obj_values_item = obj_values[i];
|
|
27570
27605
|
const path_values_item = path_values + '[' + i + ']';
|
|
27571
|
-
const referencepath_values_itemValidationError = validate$
|
|
27606
|
+
const referencepath_values_itemValidationError = validate$X(obj_values_item, path_values_item);
|
|
27572
27607
|
if (referencepath_values_itemValidationError !== null) {
|
|
27573
27608
|
let message = 'Object doesn\'t match PicklistValueRepresentation (at "' + path_values_item + '")\n';
|
|
27574
27609
|
message += referencepath_values_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -27626,7 +27661,7 @@ function equals$B(existing, incoming) {
|
|
|
27626
27661
|
}
|
|
27627
27662
|
const ingest$1v = function PicklistValuesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
27628
27663
|
if (process.env.NODE_ENV !== 'production') {
|
|
27629
|
-
const validateError = validate$
|
|
27664
|
+
const validateError = validate$W(input);
|
|
27630
27665
|
if (validateError !== null) {
|
|
27631
27666
|
throw validateError;
|
|
27632
27667
|
}
|
|
@@ -27648,7 +27683,7 @@ function getTypeCacheKeys$1x(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
27648
27683
|
|
|
27649
27684
|
const TTL$l = 300000;
|
|
27650
27685
|
const VERSION$1I = "ec03b0f6da287c949d1ccaa904ddbfd3";
|
|
27651
|
-
function validate$
|
|
27686
|
+
function validate$V(obj, path = 'PicklistValuesCollectionRepresentation') {
|
|
27652
27687
|
const v_error = (() => {
|
|
27653
27688
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
27654
27689
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -27735,7 +27770,7 @@ function equals$A(existing, incoming) {
|
|
|
27735
27770
|
}
|
|
27736
27771
|
const ingest$1u = function PicklistValuesCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
27737
27772
|
if (process.env.NODE_ENV !== 'production') {
|
|
27738
|
-
const validateError = validate$
|
|
27773
|
+
const validateError = validate$V(input);
|
|
27739
27774
|
if (validateError !== null) {
|
|
27740
27775
|
throw validateError;
|
|
27741
27776
|
}
|
|
@@ -28071,7 +28106,7 @@ const getPicklistValuesAdapterFactory = (luvio) => function UiApi__getPicklistVa
|
|
|
28071
28106
|
buildCachedSnapshotCachePolicy$o, buildNetworkSnapshotCachePolicy$o);
|
|
28072
28107
|
};
|
|
28073
28108
|
|
|
28074
|
-
function validate$
|
|
28109
|
+
function validate$U(obj, path = 'MatchResultInfoRepresentation') {
|
|
28075
28110
|
const v_error = (() => {
|
|
28076
28111
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28077
28112
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28097,7 +28132,7 @@ function validate$T(obj, path = 'MatchResultInfoRepresentation') {
|
|
|
28097
28132
|
return v_error === undefined ? null : v_error;
|
|
28098
28133
|
}
|
|
28099
28134
|
|
|
28100
|
-
function validate$
|
|
28135
|
+
function validate$T(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
28101
28136
|
const v_error = (() => {
|
|
28102
28137
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28103
28138
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28109,7 +28144,7 @@ function validate$S(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
28109
28144
|
}
|
|
28110
28145
|
const obj_matchResultInfo = obj.matchResultInfo;
|
|
28111
28146
|
const path_matchResultInfo = path + '.matchResultInfo';
|
|
28112
|
-
const referencepath_matchResultInfoValidationError = validate$
|
|
28147
|
+
const referencepath_matchResultInfoValidationError = validate$U(obj_matchResultInfo, path_matchResultInfo);
|
|
28113
28148
|
if (referencepath_matchResultInfoValidationError !== null) {
|
|
28114
28149
|
let message = 'Object doesn\'t match MatchResultInfoRepresentation (at "' + path_matchResultInfo + '")\n';
|
|
28115
28150
|
message += referencepath_matchResultInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28124,7 +28159,7 @@ function validate$S(obj, path = 'DuplicateResultInfoRepresentation') {
|
|
|
28124
28159
|
return v_error === undefined ? null : v_error;
|
|
28125
28160
|
}
|
|
28126
28161
|
|
|
28127
|
-
function validate$
|
|
28162
|
+
function validate$S(obj, path = 'MatchRepresentation') {
|
|
28128
28163
|
const v_error = (() => {
|
|
28129
28164
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28130
28165
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28139,7 +28174,7 @@ function validate$R(obj, path = 'MatchRepresentation') {
|
|
|
28139
28174
|
const key = obj_duplicateResultInfos_keys[i];
|
|
28140
28175
|
const obj_duplicateResultInfos_prop = obj_duplicateResultInfos[key];
|
|
28141
28176
|
const path_duplicateResultInfos_prop = path_duplicateResultInfos + '["' + key + '"]';
|
|
28142
|
-
const referencepath_duplicateResultInfos_propValidationError = validate$
|
|
28177
|
+
const referencepath_duplicateResultInfos_propValidationError = validate$T(obj_duplicateResultInfos_prop, path_duplicateResultInfos_prop);
|
|
28143
28178
|
if (referencepath_duplicateResultInfos_propValidationError !== null) {
|
|
28144
28179
|
let message = 'Object doesn\'t match DuplicateResultInfoRepresentation (at "' + path_duplicateResultInfos_prop + '")\n';
|
|
28145
28180
|
message += referencepath_duplicateResultInfos_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28169,7 +28204,7 @@ function validate$R(obj, path = 'MatchRepresentation') {
|
|
|
28169
28204
|
|
|
28170
28205
|
const TTL$k = 30000;
|
|
28171
28206
|
const VERSION$1H = "583c38564fa15ce0fb3dd2807be1bdc6";
|
|
28172
|
-
function validate$
|
|
28207
|
+
function validate$R(obj, path = 'DuplicatesRepresentation') {
|
|
28173
28208
|
const v_error = (() => {
|
|
28174
28209
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28175
28210
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28204,7 +28239,7 @@ function validate$Q(obj, path = 'DuplicatesRepresentation') {
|
|
|
28204
28239
|
for (let i = 0; i < obj_matches.length; i++) {
|
|
28205
28240
|
const obj_matches_item = obj_matches[i];
|
|
28206
28241
|
const path_matches_item = path_matches + '[' + i + ']';
|
|
28207
|
-
const referencepath_matches_itemValidationError = validate$
|
|
28242
|
+
const referencepath_matches_itemValidationError = validate$S(obj_matches_item, path_matches_item);
|
|
28208
28243
|
if (referencepath_matches_itemValidationError !== null) {
|
|
28209
28244
|
let message = 'Object doesn\'t match MatchRepresentation (at "' + path_matches_item + '")\n';
|
|
28210
28245
|
message += referencepath_matches_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28234,7 +28269,7 @@ function equals$z(existing, incoming) {
|
|
|
28234
28269
|
}
|
|
28235
28270
|
const ingest$1t = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28236
28271
|
if (process.env.NODE_ENV !== 'production') {
|
|
28237
|
-
const validateError = validate$
|
|
28272
|
+
const validateError = validate$R(input);
|
|
28238
28273
|
if (validateError !== null) {
|
|
28239
28274
|
throw validateError;
|
|
28240
28275
|
}
|
|
@@ -28427,7 +28462,7 @@ const getDuplicatesAdapterFactory = (luvio) => function UiApi__getDuplicates(unt
|
|
|
28427
28462
|
};
|
|
28428
28463
|
|
|
28429
28464
|
const VERSION$1G = "e84b9ffdeff97c411bd111f2a55cf6b6";
|
|
28430
|
-
function validate$
|
|
28465
|
+
function validate$Q(obj, path = 'PhotoMetadataRepresentation') {
|
|
28431
28466
|
const v_error = (() => {
|
|
28432
28467
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28433
28468
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -28519,8 +28554,8 @@ function equals$y(existing, incoming) {
|
|
|
28519
28554
|
}
|
|
28520
28555
|
|
|
28521
28556
|
const VERSION$1F = "34ffbf4219dfebb707bff609c2d5bf89";
|
|
28522
|
-
function validate$
|
|
28523
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
28557
|
+
function validate$P(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
28558
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$N(obj, path);
|
|
28524
28559
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
28525
28560
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
28526
28561
|
}
|
|
@@ -28587,7 +28622,7 @@ function validate$O(obj, path = 'PhotoRecordAvatarRepresentation') {
|
|
|
28587
28622
|
}
|
|
28588
28623
|
const obj_photoMetadata = obj.photoMetadata;
|
|
28589
28624
|
const path_photoMetadata = path + '.photoMetadata';
|
|
28590
|
-
const referencepath_photoMetadataValidationError = validate$
|
|
28625
|
+
const referencepath_photoMetadataValidationError = validate$Q(obj_photoMetadata, path_photoMetadata);
|
|
28591
28626
|
if (referencepath_photoMetadataValidationError !== null) {
|
|
28592
28627
|
let message = 'Object doesn\'t match PhotoMetadataRepresentation (at "' + path_photoMetadata + '")\n';
|
|
28593
28628
|
message += referencepath_photoMetadataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -28742,7 +28777,7 @@ function equals$x(existing, incoming) {
|
|
|
28742
28777
|
}
|
|
28743
28778
|
const ingest$1s = function PhotoRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28744
28779
|
if (process.env.NODE_ENV !== 'production') {
|
|
28745
|
-
const validateError = validate$
|
|
28780
|
+
const validateError = validate$P(input);
|
|
28746
28781
|
if (validateError !== null) {
|
|
28747
28782
|
throw validateError;
|
|
28748
28783
|
}
|
|
@@ -28763,8 +28798,8 @@ function getTypeCacheKeys$1u(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
28763
28798
|
}
|
|
28764
28799
|
|
|
28765
28800
|
const VERSION$1E = "cbdcf69a6568d41ccf155b2b95ec70e7";
|
|
28766
|
-
function validate$
|
|
28767
|
-
const validateAbstractRecordAvatarRepresentation_validateError = validate$
|
|
28801
|
+
function validate$O(obj, path = 'ThemeRecordAvatarRepresentation') {
|
|
28802
|
+
const validateAbstractRecordAvatarRepresentation_validateError = validate$N(obj, path);
|
|
28768
28803
|
if (validateAbstractRecordAvatarRepresentation_validateError !== null) {
|
|
28769
28804
|
return validateAbstractRecordAvatarRepresentation_validateError;
|
|
28770
28805
|
}
|
|
@@ -28883,7 +28918,7 @@ function equals$w(existing, incoming) {
|
|
|
28883
28918
|
}
|
|
28884
28919
|
const ingest$1r = function ThemeRecordAvatarRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
28885
28920
|
if (process.env.NODE_ENV !== 'production') {
|
|
28886
|
-
const validateError = validate$
|
|
28921
|
+
const validateError = validate$O(input);
|
|
28887
28922
|
if (validateError !== null) {
|
|
28888
28923
|
throw validateError;
|
|
28889
28924
|
}
|
|
@@ -28909,7 +28944,7 @@ var DiscriminatorValues$2;
|
|
|
28909
28944
|
DiscriminatorValues["Theme"] = "Theme";
|
|
28910
28945
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
28911
28946
|
const VERSION$1D = "bc05f8d1c708b6c41c9bf2fe6001aff0";
|
|
28912
|
-
function validate$
|
|
28947
|
+
function validate$N(obj, path = 'AbstractRecordAvatarRepresentation') {
|
|
28913
28948
|
const v_error = (() => {
|
|
28914
28949
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
28915
28950
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29002,8 +29037,8 @@ function getTypeCacheKeys$1s(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
29002
29037
|
}
|
|
29003
29038
|
|
|
29004
29039
|
const VERSION$1C = "f531b44760afecfce89990fe5a5c5c29";
|
|
29005
|
-
function validate$
|
|
29006
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
29040
|
+
function validate$M(obj, path = 'RecordAvatarBatchRepresentation') {
|
|
29041
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$I(obj, path);
|
|
29007
29042
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
29008
29043
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
29009
29044
|
}
|
|
@@ -29064,7 +29099,7 @@ function equals$u(existing, incoming) {
|
|
|
29064
29099
|
}
|
|
29065
29100
|
const ingest$1q = function RecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29066
29101
|
if (process.env.NODE_ENV !== 'production') {
|
|
29067
|
-
const validateError = validate$
|
|
29102
|
+
const validateError = validate$M(input);
|
|
29068
29103
|
if (validateError !== null) {
|
|
29069
29104
|
throw validateError;
|
|
29070
29105
|
}
|
|
@@ -29085,7 +29120,7 @@ function getTypeCacheKeys$1r(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
29085
29120
|
}
|
|
29086
29121
|
|
|
29087
29122
|
const VERSION$1B = "17c20b01167dba9a81452e60bb28b2f2";
|
|
29088
|
-
function validate$
|
|
29123
|
+
function validate$L(obj, path = 'ErrorSingleRecordAvatarRepresentation') {
|
|
29089
29124
|
const v_error = (() => {
|
|
29090
29125
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29091
29126
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29135,8 +29170,8 @@ function equals$t(existing, incoming) {
|
|
|
29135
29170
|
}
|
|
29136
29171
|
|
|
29137
29172
|
const VERSION$1A = "e7fac2bfb5cdacc5e0f15c350f9ab8fe";
|
|
29138
|
-
function validate$
|
|
29139
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
29173
|
+
function validate$K(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation') {
|
|
29174
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$I(obj, path);
|
|
29140
29175
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
29141
29176
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
29142
29177
|
}
|
|
@@ -29152,7 +29187,7 @@ function validate$J(obj, path = 'ErrorBadRequestRecordAvatarBatchRepresentation'
|
|
|
29152
29187
|
for (let i = 0; i < obj_result.length; i++) {
|
|
29153
29188
|
const obj_result_item = obj_result[i];
|
|
29154
29189
|
const path_result_item = path_result + '[' + i + ']';
|
|
29155
|
-
const referencepath_result_itemValidationError = validate$
|
|
29190
|
+
const referencepath_result_itemValidationError = validate$L(obj_result_item, path_result_item);
|
|
29156
29191
|
if (referencepath_result_itemValidationError !== null) {
|
|
29157
29192
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
29158
29193
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29202,7 +29237,7 @@ function equals$s(existing, incoming) {
|
|
|
29202
29237
|
}
|
|
29203
29238
|
const ingest$1p = function ErrorBadRequestRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29204
29239
|
if (process.env.NODE_ENV !== 'production') {
|
|
29205
|
-
const validateError = validate$
|
|
29240
|
+
const validateError = validate$K(input);
|
|
29206
29241
|
if (validateError !== null) {
|
|
29207
29242
|
throw validateError;
|
|
29208
29243
|
}
|
|
@@ -29223,8 +29258,8 @@ function getTypeCacheKeys$1q(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
29223
29258
|
}
|
|
29224
29259
|
|
|
29225
29260
|
const VERSION$1z = "cbd48fd50d0db463fdff7b1834c22bed";
|
|
29226
|
-
function validate$
|
|
29227
|
-
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$
|
|
29261
|
+
function validate$J(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
29262
|
+
const validateAbstractRecordAvatarBatchRepresentation_validateError = validate$I(obj, path);
|
|
29228
29263
|
if (validateAbstractRecordAvatarBatchRepresentation_validateError !== null) {
|
|
29229
29264
|
return validateAbstractRecordAvatarBatchRepresentation_validateError;
|
|
29230
29265
|
}
|
|
@@ -29240,7 +29275,7 @@ function validate$I(obj, path = 'ErrorRecordAvatarBatchRepresentation') {
|
|
|
29240
29275
|
for (let i = 0; i < obj_result.length; i++) {
|
|
29241
29276
|
const obj_result_item = obj_result[i];
|
|
29242
29277
|
const path_result_item = path_result + '[' + i + ']';
|
|
29243
|
-
const referencepath_result_itemValidationError = validate$
|
|
29278
|
+
const referencepath_result_itemValidationError = validate$L(obj_result_item, path_result_item);
|
|
29244
29279
|
if (referencepath_result_itemValidationError !== null) {
|
|
29245
29280
|
let message = 'Object doesn\'t match ErrorSingleRecordAvatarRepresentation (at "' + path_result_item + '")\n';
|
|
29246
29281
|
message += referencepath_result_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -29290,7 +29325,7 @@ function equals$r(existing, incoming) {
|
|
|
29290
29325
|
}
|
|
29291
29326
|
const ingest$1o = function ErrorRecordAvatarBatchRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29292
29327
|
if (process.env.NODE_ENV !== 'production') {
|
|
29293
|
-
const validateError = validate$
|
|
29328
|
+
const validateError = validate$J(input);
|
|
29294
29329
|
if (validateError !== null) {
|
|
29295
29330
|
throw validateError;
|
|
29296
29331
|
}
|
|
@@ -29317,7 +29352,7 @@ const DiscriminatorValues$1 = {
|
|
|
29317
29352
|
};
|
|
29318
29353
|
const TTL$j = 300000;
|
|
29319
29354
|
const VERSION$1y = "8956293536e94d5ec63b274b61033d2c";
|
|
29320
|
-
function validate$
|
|
29355
|
+
function validate$I(obj, path = 'AbstractRecordAvatarBatchRepresentation') {
|
|
29321
29356
|
const v_error = (() => {
|
|
29322
29357
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29323
29358
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29395,7 +29430,7 @@ function getTypeCacheKeys$1o(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
29395
29430
|
|
|
29396
29431
|
const TTL$i = 300000;
|
|
29397
29432
|
const VERSION$1x = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
29398
|
-
function validate$
|
|
29433
|
+
function validate$H(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
29399
29434
|
const v_error = (() => {
|
|
29400
29435
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29401
29436
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -29474,7 +29509,7 @@ function merge(existing, incoming, _luvio, _path) {
|
|
|
29474
29509
|
|
|
29475
29510
|
const ingest$1n = function RecordAvatarBulkMapRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
29476
29511
|
if (process.env.NODE_ENV !== 'production') {
|
|
29477
|
-
const validateError = validate$
|
|
29512
|
+
const validateError = validate$H(input);
|
|
29478
29513
|
if (validateError !== null) {
|
|
29479
29514
|
throw validateError;
|
|
29480
29515
|
}
|
|
@@ -29964,7 +29999,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
29964
29999
|
};
|
|
29965
30000
|
|
|
29966
30001
|
const VERSION$1w = "4d4bdab5d0aa61e365e766409c9b3a31";
|
|
29967
|
-
function validate$
|
|
30002
|
+
function validate$G(obj, path = 'RelatedListReferenceRepresentation') {
|
|
29968
30003
|
const v_error = (() => {
|
|
29969
30004
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
29970
30005
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30203,7 +30238,7 @@ function equals$o(existing, incoming) {
|
|
|
30203
30238
|
}
|
|
30204
30239
|
|
|
30205
30240
|
const VERSION$1v = "836b875b519813e7499efc62f0f1d04b";
|
|
30206
|
-
function validate$
|
|
30241
|
+
function validate$F(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
30207
30242
|
const v_error = (() => {
|
|
30208
30243
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30209
30244
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30246,7 +30281,7 @@ function validate$E(obj, path = 'RelatedListRecordCountRepresentation') {
|
|
|
30246
30281
|
}
|
|
30247
30282
|
const obj_listReference = obj.listReference;
|
|
30248
30283
|
const path_listReference = path + '.listReference';
|
|
30249
|
-
const referencepath_listReferenceValidationError = validate$
|
|
30284
|
+
const referencepath_listReferenceValidationError = validate$G(obj_listReference, path_listReference);
|
|
30250
30285
|
if (referencepath_listReferenceValidationError !== null) {
|
|
30251
30286
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
30252
30287
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -30319,7 +30354,7 @@ function equals$n(existing, incoming) {
|
|
|
30319
30354
|
}
|
|
30320
30355
|
const ingest$1m = function RelatedListRecordCountRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
30321
30356
|
if (process.env.NODE_ENV !== 'production') {
|
|
30322
|
-
const validateError = validate$
|
|
30357
|
+
const validateError = validate$F(input);
|
|
30323
30358
|
if (validateError !== null) {
|
|
30324
30359
|
throw validateError;
|
|
30325
30360
|
}
|
|
@@ -30830,7 +30865,7 @@ const getRelatedListCountAdapterFactory = (luvio) => function UiApi__getRelatedL
|
|
|
30830
30865
|
buildCachedSnapshotCachePolicy$j, buildNetworkSnapshotCachePolicy$j);
|
|
30831
30866
|
};
|
|
30832
30867
|
|
|
30833
|
-
function validate$
|
|
30868
|
+
function validate$E(obj, path = 'RelatedListColumnRepresentation') {
|
|
30834
30869
|
const v_error = (() => {
|
|
30835
30870
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30836
30871
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -30981,7 +31016,7 @@ function validate$D(obj, path = 'RelatedListColumnRepresentation') {
|
|
|
30981
31016
|
|
|
30982
31017
|
const TTL$h = 900000;
|
|
30983
31018
|
const VERSION$1u = "c977d65d153a2b4e888ddd45fb083248";
|
|
30984
|
-
function validate$
|
|
31019
|
+
function validate$D(obj, path = 'RelatedListInfoRepresentation') {
|
|
30985
31020
|
const v_error = (() => {
|
|
30986
31021
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
30987
31022
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31009,7 +31044,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
31009
31044
|
for (let i = 0; i < obj_displayColumns.length; i++) {
|
|
31010
31045
|
const obj_displayColumns_item = obj_displayColumns[i];
|
|
31011
31046
|
const path_displayColumns_item = path_displayColumns + '[' + i + ']';
|
|
31012
|
-
const referencepath_displayColumns_itemValidationError = validate$
|
|
31047
|
+
const referencepath_displayColumns_itemValidationError = validate$E(obj_displayColumns_item, path_displayColumns_item);
|
|
31013
31048
|
if (referencepath_displayColumns_itemValidationError !== null) {
|
|
31014
31049
|
let message = 'Object doesn\'t match RelatedListColumnRepresentation (at "' + path_displayColumns_item + '")\n';
|
|
31015
31050
|
message += referencepath_displayColumns_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31056,7 +31091,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
31056
31091
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
31057
31092
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
31058
31093
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
31059
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
31094
|
+
const referencepath_filteredByInfo_itemValidationError = validate$1S(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
31060
31095
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
31061
31096
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' + path_filteredByInfo_item + '")\n';
|
|
31062
31097
|
message += referencepath_filteredByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31070,7 +31105,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
31070
31105
|
}
|
|
31071
31106
|
const obj_listReference = obj.listReference;
|
|
31072
31107
|
const path_listReference = path + '.listReference';
|
|
31073
|
-
const referencepath_listReferenceValidationError = validate$
|
|
31108
|
+
const referencepath_listReferenceValidationError = validate$G(obj_listReference, path_listReference);
|
|
31074
31109
|
if (referencepath_listReferenceValidationError !== null) {
|
|
31075
31110
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
31076
31111
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31108,7 +31143,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
31108
31143
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
31109
31144
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
31110
31145
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
31111
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
31146
|
+
const referencepath_orderedByInfo_itemValidationError = validate$1O(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
31112
31147
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
31113
31148
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedByInfo_item + '")\n';
|
|
31114
31149
|
message += referencepath_orderedByInfo_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31127,7 +31162,7 @@ function validate$C(obj, path = 'RelatedListInfoRepresentation') {
|
|
|
31127
31162
|
}
|
|
31128
31163
|
const obj_userPreferences = obj.userPreferences;
|
|
31129
31164
|
const path_userPreferences = path + '.userPreferences';
|
|
31130
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
31165
|
+
const referencepath_userPreferencesValidationError = validate$1K(obj_userPreferences, path_userPreferences);
|
|
31131
31166
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
31132
31167
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' + path_userPreferences + '")\n';
|
|
31133
31168
|
message += referencepath_userPreferencesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31267,7 +31302,7 @@ function equals$m(existing, incoming) {
|
|
|
31267
31302
|
}
|
|
31268
31303
|
const ingest$1l = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
31269
31304
|
if (process.env.NODE_ENV !== 'production') {
|
|
31270
|
-
const validateError = validate$
|
|
31305
|
+
const validateError = validate$D(input);
|
|
31271
31306
|
if (validateError !== null) {
|
|
31272
31307
|
throw validateError;
|
|
31273
31308
|
}
|
|
@@ -31705,7 +31740,7 @@ const getRelatedListInfoBatchAdapterFactory = (luvio) => function UiApi__getRela
|
|
|
31705
31740
|
buildCachedSnapshotCachePolicy$i, buildNetworkSnapshotCachePolicy$i);
|
|
31706
31741
|
};
|
|
31707
31742
|
|
|
31708
|
-
function validate$
|
|
31743
|
+
function validate$C(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
31709
31744
|
const v_error = (() => {
|
|
31710
31745
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
31711
31746
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31801,7 +31836,7 @@ function validate$B(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
31801
31836
|
const path_themeInfo = path + '.themeInfo';
|
|
31802
31837
|
let obj_themeInfo_union0 = null;
|
|
31803
31838
|
const obj_themeInfo_union0_error = (() => {
|
|
31804
|
-
const referencepath_themeInfoValidationError = validate$
|
|
31839
|
+
const referencepath_themeInfoValidationError = validate$1w(obj_themeInfo, path_themeInfo);
|
|
31805
31840
|
if (referencepath_themeInfoValidationError !== null) {
|
|
31806
31841
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
31807
31842
|
message += referencepath_themeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31836,7 +31871,7 @@ function validate$B(obj, path = 'RelatedListSummaryInfoRepresentation') {
|
|
|
31836
31871
|
}
|
|
31837
31872
|
|
|
31838
31873
|
const VERSION$1t = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
|
|
31839
|
-
function validate$
|
|
31874
|
+
function validate$B(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
|
|
31840
31875
|
const v_error = (() => {
|
|
31841
31876
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
31842
31877
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -31885,7 +31920,7 @@ function validate$A(obj, path = 'RelatedListSummaryInfoCollectionRepresentation'
|
|
|
31885
31920
|
for (let i = 0; i < obj_relatedLists.length; i++) {
|
|
31886
31921
|
const obj_relatedLists_item = obj_relatedLists[i];
|
|
31887
31922
|
const path_relatedLists_item = path_relatedLists + '[' + i + ']';
|
|
31888
|
-
const referencepath_relatedLists_itemValidationError = validate$
|
|
31923
|
+
const referencepath_relatedLists_itemValidationError = validate$C(obj_relatedLists_item, path_relatedLists_item);
|
|
31889
31924
|
if (referencepath_relatedLists_itemValidationError !== null) {
|
|
31890
31925
|
let message = 'Object doesn\'t match RelatedListSummaryInfoRepresentation (at "' + path_relatedLists_item + '")\n';
|
|
31891
31926
|
message += referencepath_relatedLists_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -31941,7 +31976,7 @@ function equals$l(existing, incoming) {
|
|
|
31941
31976
|
}
|
|
31942
31977
|
const ingest$1k = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
31943
31978
|
if (process.env.NODE_ENV !== 'production') {
|
|
31944
|
-
const validateError = validate$
|
|
31979
|
+
const validateError = validate$B(input);
|
|
31945
31980
|
if (validateError !== null) {
|
|
31946
31981
|
throw validateError;
|
|
31947
31982
|
}
|
|
@@ -32192,7 +32227,7 @@ const getRelatedListInfoAdapterFactory = (luvio) => function UiApi__getRelatedLi
|
|
|
32192
32227
|
|
|
32193
32228
|
const TTL$g = 900000;
|
|
32194
32229
|
const VERSION$1s = "094cdf8e3e1f07fca02c4e51e14c528e";
|
|
32195
|
-
function validate$
|
|
32230
|
+
function validate$y(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
32196
32231
|
const v_error = (() => {
|
|
32197
32232
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32198
32233
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -32233,7 +32268,7 @@ function validate$x(obj, path = 'RelatedListUserPreferencesRepresentation') {
|
|
|
32233
32268
|
for (let i = 0; i < obj_orderedBy.length; i++) {
|
|
32234
32269
|
const obj_orderedBy_item = obj_orderedBy[i];
|
|
32235
32270
|
const path_orderedBy_item = path_orderedBy + '[' + i + ']';
|
|
32236
|
-
const referencepath_orderedBy_itemValidationError = validate$
|
|
32271
|
+
const referencepath_orderedBy_itemValidationError = validate$1O(obj_orderedBy_item, path_orderedBy_item);
|
|
32237
32272
|
if (referencepath_orderedBy_itemValidationError !== null) {
|
|
32238
32273
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderedBy_item + '")\n';
|
|
32239
32274
|
message += referencepath_orderedBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -32277,7 +32312,7 @@ function equals$k(existing, incoming) {
|
|
|
32277
32312
|
}
|
|
32278
32313
|
const ingest$1j = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
32279
32314
|
if (process.env.NODE_ENV !== 'production') {
|
|
32280
|
-
const validateError = validate$
|
|
32315
|
+
const validateError = validate$y(input);
|
|
32281
32316
|
if (validateError !== null) {
|
|
32282
32317
|
throw validateError;
|
|
32283
32318
|
}
|
|
@@ -32785,7 +32820,7 @@ const getRelatedListPreferencesAdapterFactory = (luvio) => function UiApi__getRe
|
|
|
32785
32820
|
buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
|
|
32786
32821
|
};
|
|
32787
32822
|
|
|
32788
|
-
function validate$
|
|
32823
|
+
function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
32789
32824
|
const v_error = (() => {
|
|
32790
32825
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
32791
32826
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -33028,7 +33063,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
33028
33063
|
|
|
33029
33064
|
const TTL$f = 30000;
|
|
33030
33065
|
const VERSION$1r = "62467c27c19349b70c9db2a8d9d591d9";
|
|
33031
|
-
function validate$
|
|
33066
|
+
function validate$w(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
33032
33067
|
const v_error = (() => {
|
|
33033
33068
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
33034
33069
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -33109,7 +33144,7 @@ function validate$v(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
33109
33144
|
}
|
|
33110
33145
|
const obj_listReference = obj.listReference;
|
|
33111
33146
|
const path_listReference = path + '.listReference';
|
|
33112
|
-
const referencepath_listReferenceValidationError = validate$
|
|
33147
|
+
const referencepath_listReferenceValidationError = validate$G(obj_listReference, path_listReference);
|
|
33113
33148
|
if (referencepath_listReferenceValidationError !== null) {
|
|
33114
33149
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' + path_listReference + '")\n';
|
|
33115
33150
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -33530,7 +33565,7 @@ function equals$j(existing, incoming) {
|
|
|
33530
33565
|
}
|
|
33531
33566
|
const ingest$1i = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
33532
33567
|
if (process.env.NODE_ENV !== 'production') {
|
|
33533
|
-
const validateError = validate$
|
|
33568
|
+
const validateError = validate$w(input);
|
|
33534
33569
|
if (validateError !== null) {
|
|
33535
33570
|
throw validateError;
|
|
33536
33571
|
}
|
|
@@ -34021,7 +34056,7 @@ function typeCheckConfig$m(untrustedConfig) {
|
|
|
34021
34056
|
const untrustedConfig_relatedListParameters_array = [];
|
|
34022
34057
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
34023
34058
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
34024
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
34059
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
|
|
34025
34060
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
34026
34061
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
34027
34062
|
}
|
|
@@ -34265,7 +34300,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
34265
34300
|
};
|
|
34266
34301
|
|
|
34267
34302
|
const VERSION$1q = "d4e38b1f08aca427c57c06b571d54993";
|
|
34268
|
-
function validate$
|
|
34303
|
+
function validate$v(obj, path = 'SearchFilterOptionRepresentation') {
|
|
34269
34304
|
const v_error = (() => {
|
|
34270
34305
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
34271
34306
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34352,7 +34387,7 @@ var DiscriminatorValues;
|
|
|
34352
34387
|
DiscriminatorValues["Text"] = "Text";
|
|
34353
34388
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
34354
34389
|
const VERSION$1n = "ce65f5507177936e5b70ecf2a75b446f";
|
|
34355
|
-
function validate$
|
|
34390
|
+
function validate$u(obj, path = 'SearchFilterAttributesRepresentation') {
|
|
34356
34391
|
const v_error = (() => {
|
|
34357
34392
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
34358
34393
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34401,7 +34436,7 @@ function equals$i(existing, incoming) {
|
|
|
34401
34436
|
}
|
|
34402
34437
|
|
|
34403
34438
|
const VERSION$1m = "8bccbceb2d8850c1388ea82df95ba2d8";
|
|
34404
|
-
function validate$
|
|
34439
|
+
function validate$t(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
34405
34440
|
const v_error = (() => {
|
|
34406
34441
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
34407
34442
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34413,7 +34448,7 @@ function validate$s(obj, path = 'SearchFilterDefinitionRepresentation') {
|
|
|
34413
34448
|
}
|
|
34414
34449
|
const obj_attributes = obj.attributes;
|
|
34415
34450
|
const path_attributes = path + '.attributes';
|
|
34416
|
-
const referencepath_attributesValidationError = validate$
|
|
34451
|
+
const referencepath_attributesValidationError = validate$u(obj_attributes, path_attributes);
|
|
34417
34452
|
if (referencepath_attributesValidationError !== null) {
|
|
34418
34453
|
let message = 'Object doesn\'t match SearchFilterAttributesRepresentation (at "' + path_attributes + '")\n';
|
|
34419
34454
|
message += referencepath_attributesValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -34534,7 +34569,7 @@ function equals$h(existing, incoming) {
|
|
|
34534
34569
|
|
|
34535
34570
|
const TTL$e = 30000;
|
|
34536
34571
|
const VERSION$1l = "4c15d70367f2a3acd1e1c627b4946679";
|
|
34537
|
-
function validate$
|
|
34572
|
+
function validate$s(obj, path = 'SearchFilterMetadataCollectionRepresentation') {
|
|
34538
34573
|
const v_error = (() => {
|
|
34539
34574
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
34540
34575
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34547,7 +34582,7 @@ function validate$r(obj, path = 'SearchFilterMetadataCollectionRepresentation')
|
|
|
34547
34582
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
34548
34583
|
const obj_filters_item = obj_filters[i];
|
|
34549
34584
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
34550
|
-
const referencepath_filters_itemValidationError = validate$
|
|
34585
|
+
const referencepath_filters_itemValidationError = validate$t(obj_filters_item, path_filters_item);
|
|
34551
34586
|
if (referencepath_filters_itemValidationError !== null) {
|
|
34552
34587
|
let message = 'Object doesn\'t match SearchFilterDefinitionRepresentation (at "' + path_filters_item + '")\n';
|
|
34553
34588
|
message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -34615,7 +34650,7 @@ function equals$g(existing, incoming) {
|
|
|
34615
34650
|
}
|
|
34616
34651
|
const ingest$1h = function SearchFilterMetadataCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
34617
34652
|
if (process.env.NODE_ENV !== 'production') {
|
|
34618
|
-
const validateError = validate$
|
|
34653
|
+
const validateError = validate$s(input);
|
|
34619
34654
|
if (validateError !== null) {
|
|
34620
34655
|
throw validateError;
|
|
34621
34656
|
}
|
|
@@ -34777,7 +34812,7 @@ const getSearchFilterMetadataAdapterFactory = (luvio) => function UiApi__getSear
|
|
|
34777
34812
|
|
|
34778
34813
|
const TTL$d = 30000;
|
|
34779
34814
|
const VERSION$1k = "8d851a8d9abf0a061a8ad81d4cbb83bc";
|
|
34780
|
-
function validate$
|
|
34815
|
+
function validate$r(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
34781
34816
|
const v_error = (() => {
|
|
34782
34817
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
34783
34818
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -34800,7 +34835,7 @@ function validate$q(obj, path = 'SearchFilterOptionCollectionRepresentation') {
|
|
|
34800
34835
|
for (let i = 0; i < obj_options.length; i++) {
|
|
34801
34836
|
const obj_options_item = obj_options[i];
|
|
34802
34837
|
const path_options_item = path_options + '[' + i + ']';
|
|
34803
|
-
const referencepath_options_itemValidationError = validate$
|
|
34838
|
+
const referencepath_options_itemValidationError = validate$v(obj_options_item, path_options_item);
|
|
34804
34839
|
if (referencepath_options_itemValidationError !== null) {
|
|
34805
34840
|
let message = 'Object doesn\'t match SearchFilterOptionRepresentation (at "' + path_options_item + '")\n';
|
|
34806
34841
|
message += referencepath_options_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -34867,7 +34902,7 @@ function equals$f(existing, incoming) {
|
|
|
34867
34902
|
}
|
|
34868
34903
|
const ingest$1g = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
34869
34904
|
if (process.env.NODE_ENV !== 'production') {
|
|
34870
|
-
const validateError = validate$
|
|
34905
|
+
const validateError = validate$r(input);
|
|
34871
34906
|
if (validateError !== null) {
|
|
34872
34907
|
throw validateError;
|
|
34873
34908
|
}
|
|
@@ -35031,7 +35066,7 @@ const getSearchFilterOptionsAdapterFactory = (luvio) => function UiApi__getSearc
|
|
|
35031
35066
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
35032
35067
|
};
|
|
35033
35068
|
|
|
35034
|
-
function validate$
|
|
35069
|
+
function validate$q(obj, path = 'DisplayLayoutRepresentation') {
|
|
35035
35070
|
const v_error = (() => {
|
|
35036
35071
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35037
35072
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35052,7 +35087,7 @@ function validate$p(obj, path = 'DisplayLayoutRepresentation') {
|
|
|
35052
35087
|
return v_error === undefined ? null : v_error;
|
|
35053
35088
|
}
|
|
35054
35089
|
|
|
35055
|
-
function validate$
|
|
35090
|
+
function validate$p(obj, path = 'MatchingInfoRepresentation') {
|
|
35056
35091
|
const v_error = (() => {
|
|
35057
35092
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35058
35093
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35073,14 +35108,14 @@ function validate$o(obj, path = 'MatchingInfoRepresentation') {
|
|
|
35073
35108
|
return v_error === undefined ? null : v_error;
|
|
35074
35109
|
}
|
|
35075
35110
|
|
|
35076
|
-
function validate$
|
|
35111
|
+
function validate$o(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
35077
35112
|
const v_error = (() => {
|
|
35078
35113
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35079
35114
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
35080
35115
|
}
|
|
35081
35116
|
const obj_displayLayout = obj.displayLayout;
|
|
35082
35117
|
const path_displayLayout = path + '.displayLayout';
|
|
35083
|
-
const referencepath_displayLayoutValidationError = validate$
|
|
35118
|
+
const referencepath_displayLayoutValidationError = validate$q(obj_displayLayout, path_displayLayout);
|
|
35084
35119
|
if (referencepath_displayLayoutValidationError !== null) {
|
|
35085
35120
|
let message = 'Object doesn\'t match DisplayLayoutRepresentation (at "' + path_displayLayout + '")\n';
|
|
35086
35121
|
message += referencepath_displayLayoutValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35088,7 +35123,7 @@ function validate$n(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
35088
35123
|
}
|
|
35089
35124
|
const obj_matchingInfo = obj.matchingInfo;
|
|
35090
35125
|
const path_matchingInfo = path + '.matchingInfo';
|
|
35091
|
-
const referencepath_matchingInfoValidationError = validate$
|
|
35126
|
+
const referencepath_matchingInfoValidationError = validate$p(obj_matchingInfo, path_matchingInfo);
|
|
35092
35127
|
if (referencepath_matchingInfoValidationError !== null) {
|
|
35093
35128
|
let message = 'Object doesn\'t match MatchingInfoRepresentation (at "' + path_matchingInfo + '")\n';
|
|
35094
35129
|
message += referencepath_matchingInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35098,14 +35133,14 @@ function validate$n(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
|
|
|
35098
35133
|
return v_error === undefined ? null : v_error;
|
|
35099
35134
|
}
|
|
35100
35135
|
|
|
35101
|
-
function validate$
|
|
35136
|
+
function validate$n(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
35102
35137
|
const v_error = (() => {
|
|
35103
35138
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35104
35139
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
35105
35140
|
}
|
|
35106
35141
|
const obj_fullSearchInfo = obj.fullSearchInfo;
|
|
35107
35142
|
const path_fullSearchInfo = path + '.fullSearchInfo';
|
|
35108
|
-
const referencepath_fullSearchInfoValidationError = validate$
|
|
35143
|
+
const referencepath_fullSearchInfoValidationError = validate$o(obj_fullSearchInfo, path_fullSearchInfo);
|
|
35109
35144
|
if (referencepath_fullSearchInfoValidationError !== null) {
|
|
35110
35145
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_fullSearchInfo + '")\n';
|
|
35111
35146
|
message += referencepath_fullSearchInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35118,7 +35153,7 @@ function validate$m(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
35118
35153
|
}
|
|
35119
35154
|
const obj_suggestionsInfo = obj.suggestionsInfo;
|
|
35120
35155
|
const path_suggestionsInfo = path + '.suggestionsInfo';
|
|
35121
|
-
const referencepath_suggestionsInfoValidationError = validate$
|
|
35156
|
+
const referencepath_suggestionsInfoValidationError = validate$o(obj_suggestionsInfo, path_suggestionsInfo);
|
|
35122
35157
|
if (referencepath_suggestionsInfoValidationError !== null) {
|
|
35123
35158
|
let message = 'Object doesn\'t match DisplayLayoutAndMatchingInfoRepresentation (at "' + path_suggestionsInfo + '")\n';
|
|
35124
35159
|
message += referencepath_suggestionsInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35130,7 +35165,7 @@ function validate$m(obj, path = 'LookupMetadataTargetInfoRepresentation') {
|
|
|
35130
35165
|
|
|
35131
35166
|
const TTL$c = 30000;
|
|
35132
35167
|
const VERSION$1j = "ab99b79a5e8a78e051ec92b39d76a6bd";
|
|
35133
|
-
function validate$
|
|
35168
|
+
function validate$m(obj, path = 'LookupMetadataRepresentation') {
|
|
35134
35169
|
const v_error = (() => {
|
|
35135
35170
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35136
35171
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35181,7 +35216,7 @@ function validate$l(obj, path = 'LookupMetadataRepresentation') {
|
|
|
35181
35216
|
const key = obj_targetInfo_keys[i];
|
|
35182
35217
|
const obj_targetInfo_prop = obj_targetInfo[key];
|
|
35183
35218
|
const path_targetInfo_prop = path_targetInfo + '["' + key + '"]';
|
|
35184
|
-
const referencepath_targetInfo_propValidationError = validate$
|
|
35219
|
+
const referencepath_targetInfo_propValidationError = validate$n(obj_targetInfo_prop, path_targetInfo_prop);
|
|
35185
35220
|
if (referencepath_targetInfo_propValidationError !== null) {
|
|
35186
35221
|
let message = 'Object doesn\'t match LookupMetadataTargetInfoRepresentation (at "' + path_targetInfo_prop + '")\n';
|
|
35187
35222
|
message += referencepath_targetInfo_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35221,7 +35256,7 @@ function equals$e(existing, incoming) {
|
|
|
35221
35256
|
}
|
|
35222
35257
|
const ingest$1f = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
35223
35258
|
if (process.env.NODE_ENV !== 'production') {
|
|
35224
|
-
const validateError = validate$
|
|
35259
|
+
const validateError = validate$m(input);
|
|
35225
35260
|
if (validateError !== null) {
|
|
35226
35261
|
throw validateError;
|
|
35227
35262
|
}
|
|
@@ -35383,7 +35418,7 @@ const getLookupMetadataAdapterFactory = (luvio) => function UiApi__getLookupMeta
|
|
|
35383
35418
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
35384
35419
|
};
|
|
35385
35420
|
|
|
35386
|
-
function validate$
|
|
35421
|
+
function validate$l(obj, path = 'ErrorMessageRepresentation') {
|
|
35387
35422
|
const v_error = (() => {
|
|
35388
35423
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35389
35424
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35423,7 +35458,7 @@ function validate$k(obj, path = 'ErrorMessageRepresentation') {
|
|
|
35423
35458
|
return v_error === undefined ? null : v_error;
|
|
35424
35459
|
}
|
|
35425
35460
|
|
|
35426
|
-
function validate$
|
|
35461
|
+
function validate$k(obj, path = 'SearchResultCollectionRepresentation') {
|
|
35427
35462
|
const v_error = (() => {
|
|
35428
35463
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35429
35464
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35437,7 +35472,7 @@ function validate$j(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
35437
35472
|
const path_error = path + '.error';
|
|
35438
35473
|
let obj_error_union0 = null;
|
|
35439
35474
|
const obj_error_union0_error = (() => {
|
|
35440
|
-
const referencepath_errorValidationError = validate$
|
|
35475
|
+
const referencepath_errorValidationError = validate$l(obj_error, path_error);
|
|
35441
35476
|
if (referencepath_errorValidationError !== null) {
|
|
35442
35477
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
35443
35478
|
message += referencepath_errorValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35501,7 +35536,7 @@ function validate$j(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
35501
35536
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
35502
35537
|
const obj_orderBy_item = obj_orderBy[i];
|
|
35503
35538
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
35504
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
35539
|
+
const referencepath_orderBy_itemValidationError = validate$1O(obj_orderBy_item, path_orderBy_item);
|
|
35505
35540
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
35506
35541
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' + path_orderBy_item + '")\n';
|
|
35507
35542
|
message += referencepath_orderBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35567,7 +35602,7 @@ function validate$j(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
35567
35602
|
return v_error === undefined ? null : v_error;
|
|
35568
35603
|
}
|
|
35569
35604
|
|
|
35570
|
-
function validate$
|
|
35605
|
+
function validate$j(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
35571
35606
|
const v_error = (() => {
|
|
35572
35607
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35573
35608
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35588,7 +35623,7 @@ function validate$i(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
35588
35623
|
return v_error === undefined ? null : v_error;
|
|
35589
35624
|
}
|
|
35590
35625
|
|
|
35591
|
-
function validate$
|
|
35626
|
+
function validate$i(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
35592
35627
|
const v_error = (() => {
|
|
35593
35628
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35594
35629
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35617,7 +35652,7 @@ function validate$h(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
|
35617
35652
|
return v_error === undefined ? null : v_error;
|
|
35618
35653
|
}
|
|
35619
35654
|
|
|
35620
|
-
function validate$
|
|
35655
|
+
function validate$h(obj, path = 'SearchAnswersResultRepresentation') {
|
|
35621
35656
|
const v_error = (() => {
|
|
35622
35657
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35623
35658
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35640,7 +35675,7 @@ function validate$g(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
35640
35675
|
for (let i = 0; i < obj_records.length; i++) {
|
|
35641
35676
|
const obj_records_item = obj_records[i];
|
|
35642
35677
|
const path_records_item = path_records + '[' + i + ']';
|
|
35643
|
-
const referencepath_records_itemValidationError = validate$
|
|
35678
|
+
const referencepath_records_itemValidationError = validate$i(obj_records_item, path_records_item);
|
|
35644
35679
|
if (referencepath_records_itemValidationError !== null) {
|
|
35645
35680
|
let message = 'Object doesn\'t match SearchAnswersRecordRepresentation (at "' + path_records_item + '")\n';
|
|
35646
35681
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35653,7 +35688,7 @@ function validate$g(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
35653
35688
|
|
|
35654
35689
|
const TTL$b = 200;
|
|
35655
35690
|
const VERSION$1i = "da21e889922062e90012ba48c4a733e2";
|
|
35656
|
-
function validate$
|
|
35691
|
+
function validate$g(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
35657
35692
|
const v_error = (() => {
|
|
35658
35693
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35659
35694
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35662,7 +35697,7 @@ function validate$f(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
35662
35697
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
35663
35698
|
let obj_keywordSearchResults_union0 = null;
|
|
35664
35699
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
35665
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
35700
|
+
const referencepath_keywordSearchResultsValidationError = validate$j(obj_keywordSearchResults, path_keywordSearchResults);
|
|
35666
35701
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
35667
35702
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' + path_keywordSearchResults + '")\n';
|
|
35668
35703
|
message += referencepath_keywordSearchResultsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35691,7 +35726,7 @@ function validate$f(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
35691
35726
|
const path_qnaResult = path + '.qnaResult';
|
|
35692
35727
|
let obj_qnaResult_union0 = null;
|
|
35693
35728
|
const obj_qnaResult_union0_error = (() => {
|
|
35694
|
-
const referencepath_qnaResultValidationError = validate$
|
|
35729
|
+
const referencepath_qnaResultValidationError = validate$h(obj_qnaResult, path_qnaResult);
|
|
35695
35730
|
if (referencepath_qnaResultValidationError !== null) {
|
|
35696
35731
|
let message = 'Object doesn\'t match SearchAnswersResultRepresentation (at "' + path_qnaResult + '")\n';
|
|
35697
35732
|
message += referencepath_qnaResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -35758,7 +35793,7 @@ function equals$d(existing, incoming) {
|
|
|
35758
35793
|
}
|
|
35759
35794
|
const ingest$1e = function SearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
35760
35795
|
if (process.env.NODE_ENV !== 'production') {
|
|
35761
|
-
const validateError = validate$
|
|
35796
|
+
const validateError = validate$g(input);
|
|
35762
35797
|
if (validateError !== null) {
|
|
35763
35798
|
throw validateError;
|
|
35764
35799
|
}
|
|
@@ -35920,7 +35955,7 @@ const getSearchResultsAdapterFactory = (luvio) => function UiApi__getSearchResul
|
|
|
35920
35955
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$8);
|
|
35921
35956
|
};
|
|
35922
35957
|
|
|
35923
|
-
function validate$
|
|
35958
|
+
function validate$f(obj, path = 'SearchFilterInputRepresentation') {
|
|
35924
35959
|
const v_error = (() => {
|
|
35925
35960
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35926
35961
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -35991,14 +36026,14 @@ function validate$e(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
35991
36026
|
|
|
35992
36027
|
const TTL$a = 200;
|
|
35993
36028
|
const VERSION$1h = "168255e2d3a26e867c3fb9cee0165537";
|
|
35994
|
-
function validate$
|
|
36029
|
+
function validate$e(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
35995
36030
|
const v_error = (() => {
|
|
35996
36031
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
35997
36032
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
35998
36033
|
}
|
|
35999
36034
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
36000
36035
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
36001
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
36036
|
+
const referencepath_keywordSearchResultValidationError = validate$k(obj_keywordSearchResult, path_keywordSearchResult);
|
|
36002
36037
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
36003
36038
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' + path_keywordSearchResult + '")\n';
|
|
36004
36039
|
message += referencepath_keywordSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -36052,7 +36087,7 @@ function equals$c(existing, incoming) {
|
|
|
36052
36087
|
}
|
|
36053
36088
|
const ingest$1d = function KeywordSearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
36054
36089
|
if (process.env.NODE_ENV !== 'production') {
|
|
36055
|
-
const validateError = validate$
|
|
36090
|
+
const validateError = validate$e(input);
|
|
36056
36091
|
if (validateError !== null) {
|
|
36057
36092
|
throw validateError;
|
|
36058
36093
|
}
|
|
@@ -36150,7 +36185,7 @@ function typeCheckConfig$g(untrustedConfig) {
|
|
|
36150
36185
|
const untrustedConfig_filters_array = [];
|
|
36151
36186
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
36152
36187
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
36153
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
36188
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$f(untrustedConfig_filters_item);
|
|
36154
36189
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
36155
36190
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
36156
36191
|
}
|
|
@@ -53509,6 +53544,14 @@ function buildNetworkSnapshot$9(luvio, config, options, cacheSnapshot) {
|
|
|
53509
53544
|
if (sortBy && typeof sortBy === 'string') {
|
|
53510
53545
|
response.body.sortBy = sortBy.split(',');
|
|
53511
53546
|
}
|
|
53547
|
+
// Hand-rolling: The server returns sortBy as null for MRU when we don't pass it as a parameter.
|
|
53548
|
+
// Changing server response to avoid key mismatch
|
|
53549
|
+
const listViewApiName = body.listReference && body.listReference.listViewApiName
|
|
53550
|
+
? body.listReference.listViewApiName
|
|
53551
|
+
: null;
|
|
53552
|
+
if (listViewApiName === '__Recent' && !sortBy) {
|
|
53553
|
+
response.body.sortBy = [];
|
|
53554
|
+
}
|
|
53512
53555
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$2(luvio, config, resourceParams, response), () => {
|
|
53513
53556
|
const cache = new StoreKeyMap();
|
|
53514
53557
|
getResponseCacheKeys$W(cache, luvio, resourceParams, response.body);
|
|
@@ -53699,6 +53742,84 @@ const factory$a = (luvio) => {
|
|
|
53699
53742
|
}, { contextId: contextId$4 });
|
|
53700
53743
|
};
|
|
53701
53744
|
|
|
53745
|
+
function validate$c(obj, path = 'RecordInputRepresentation') {
|
|
53746
|
+
const v_error = (() => {
|
|
53747
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
53748
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
53749
|
+
}
|
|
53750
|
+
if (obj.allowSaveOnDuplicate !== undefined) {
|
|
53751
|
+
const obj_allowSaveOnDuplicate = obj.allowSaveOnDuplicate;
|
|
53752
|
+
const path_allowSaveOnDuplicate = path + '.allowSaveOnDuplicate';
|
|
53753
|
+
if (typeof obj_allowSaveOnDuplicate !== 'boolean') {
|
|
53754
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_allowSaveOnDuplicate + '" (at "' + path_allowSaveOnDuplicate + '")');
|
|
53755
|
+
}
|
|
53756
|
+
}
|
|
53757
|
+
if (obj.apiName !== undefined) {
|
|
53758
|
+
const obj_apiName = obj.apiName;
|
|
53759
|
+
const path_apiName = path + '.apiName';
|
|
53760
|
+
if (typeof obj_apiName !== 'string') {
|
|
53761
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
53762
|
+
}
|
|
53763
|
+
}
|
|
53764
|
+
const obj_fields = obj.fields;
|
|
53765
|
+
const path_fields = path + '.fields';
|
|
53766
|
+
if (typeof obj_fields !== 'object' || ArrayIsArray(obj_fields) || obj_fields === null) {
|
|
53767
|
+
return new TypeError('Expected "object" but received "' + typeof obj_fields + '" (at "' + path_fields + '")');
|
|
53768
|
+
}
|
|
53769
|
+
const obj_fields_keys = ObjectKeys(obj_fields);
|
|
53770
|
+
for (let i = 0; i < obj_fields_keys.length; i++) {
|
|
53771
|
+
const key = obj_fields_keys[i];
|
|
53772
|
+
const obj_fields_prop = obj_fields[key];
|
|
53773
|
+
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
53774
|
+
let obj_fields_prop_union0 = null;
|
|
53775
|
+
const obj_fields_prop_union0_error = (() => {
|
|
53776
|
+
if (typeof obj_fields_prop !== 'string') {
|
|
53777
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
53778
|
+
}
|
|
53779
|
+
})();
|
|
53780
|
+
if (obj_fields_prop_union0_error != null) {
|
|
53781
|
+
obj_fields_prop_union0 = obj_fields_prop_union0_error.message;
|
|
53782
|
+
}
|
|
53783
|
+
let obj_fields_prop_union1 = null;
|
|
53784
|
+
const obj_fields_prop_union1_error = (() => {
|
|
53785
|
+
if (typeof obj_fields_prop !== 'number') {
|
|
53786
|
+
return new TypeError('Expected "number" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
53787
|
+
}
|
|
53788
|
+
})();
|
|
53789
|
+
if (obj_fields_prop_union1_error != null) {
|
|
53790
|
+
obj_fields_prop_union1 = obj_fields_prop_union1_error.message;
|
|
53791
|
+
}
|
|
53792
|
+
let obj_fields_prop_union2 = null;
|
|
53793
|
+
const obj_fields_prop_union2_error = (() => {
|
|
53794
|
+
if (obj_fields_prop !== null) {
|
|
53795
|
+
return new TypeError('Expected "null" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
53796
|
+
}
|
|
53797
|
+
})();
|
|
53798
|
+
if (obj_fields_prop_union2_error != null) {
|
|
53799
|
+
obj_fields_prop_union2 = obj_fields_prop_union2_error.message;
|
|
53800
|
+
}
|
|
53801
|
+
let obj_fields_prop_union3 = null;
|
|
53802
|
+
const obj_fields_prop_union3_error = (() => {
|
|
53803
|
+
if (typeof obj_fields_prop !== 'boolean') {
|
|
53804
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
|
|
53805
|
+
}
|
|
53806
|
+
})();
|
|
53807
|
+
if (obj_fields_prop_union3_error != null) {
|
|
53808
|
+
obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
|
|
53809
|
+
}
|
|
53810
|
+
if (obj_fields_prop_union0 && obj_fields_prop_union1 && obj_fields_prop_union2 && obj_fields_prop_union3) {
|
|
53811
|
+
let message = 'Object doesn\'t match union (at "' + path_fields_prop + '")';
|
|
53812
|
+
message += '\n' + obj_fields_prop_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
53813
|
+
message += '\n' + obj_fields_prop_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
53814
|
+
message += '\n' + obj_fields_prop_union2.split('\n').map((line) => '\t' + line).join('\n');
|
|
53815
|
+
message += '\n' + obj_fields_prop_union3.split('\n').map((line) => '\t' + line).join('\n');
|
|
53816
|
+
return new TypeError(message);
|
|
53817
|
+
}
|
|
53818
|
+
}
|
|
53819
|
+
})();
|
|
53820
|
+
return v_error === undefined ? null : v_error;
|
|
53821
|
+
}
|
|
53822
|
+
|
|
53702
53823
|
const VERSION$b = "022d5de1337ec512acb4af43b75ea5e6";
|
|
53703
53824
|
function validate$b(obj, path = 'LookupValuesRepresentation') {
|
|
53704
53825
|
const v_error = (() => {
|
|
@@ -53930,7 +54051,7 @@ const select$4 = (luvio, params, response) => {
|
|
|
53930
54051
|
};
|
|
53931
54052
|
|
|
53932
54053
|
function keyBuilder$9(luvio, params) {
|
|
53933
|
-
return keyPrefix + '::LookupValuesRepresentation:(' + 'dependentFieldBindings:' + params.queryParams.dependentFieldBindings + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'q:' + params.queryParams.q + ',' + 'searchType:' + params.queryParams.searchType + ',' + 'sourceRecordId:' + params.queryParams.sourceRecordId + ',' + 'targetApiName:' + params.queryParams.targetApiName + ',' + 'fieldApiName:' + params.urlParams.fieldApiName + ',' + 'objectApiName:' + params.urlParams.objectApiName + ')';
|
|
54054
|
+
return keyPrefix + '::LookupValuesRepresentation:(' + 'dependentFieldBindings:' + params.queryParams.dependentFieldBindings + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'q:' + params.queryParams.q + ',' + 'searchType:' + params.queryParams.searchType + ',' + 'sourceRecordId:' + params.queryParams.sourceRecordId + ',' + 'targetApiName:' + params.queryParams.targetApiName + ',' + 'fieldApiName:' + params.urlParams.fieldApiName + ',' + 'objectApiName:' + params.urlParams.objectApiName + ',' + (params.body.sourceRecord === undefined ? 'sourceRecord' : 'sourceRecord:' + params.body.sourceRecord) + ')';
|
|
53934
54055
|
}
|
|
53935
54056
|
function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
53936
54057
|
getTypeCacheKeys$7(storeKeyMap, luvio, response, () => keyBuilder$9(luvio, resourceParams));
|
|
@@ -53946,8 +54067,8 @@ function createResourceRequest$9(config) {
|
|
|
53946
54067
|
return {
|
|
53947
54068
|
baseUri: '/services/data/v60.0',
|
|
53948
54069
|
basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
|
|
53949
|
-
method: '
|
|
53950
|
-
body:
|
|
54070
|
+
method: 'post',
|
|
54071
|
+
body: config.body,
|
|
53951
54072
|
urlParams: config.urlParams,
|
|
53952
54073
|
queryParams: config.queryParams,
|
|
53953
54074
|
headers,
|
|
@@ -53985,6 +54106,7 @@ const getLookupRecords_ConfigPropertyMetadata = [
|
|
|
53985
54106
|
generateParamConfigMetadata('searchType', false, 1 /* QueryParameter */, 0 /* String */),
|
|
53986
54107
|
generateParamConfigMetadata('sourceRecordId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
53987
54108
|
generateParamConfigMetadata('targetApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
54109
|
+
generateParamConfigMetadata('sourceRecord', false, 2 /* Body */, 4 /* Unsupported */),
|
|
53988
54110
|
];
|
|
53989
54111
|
const createResourceParams$8 = /*#__PURE__*/ createResourceParams$l(getLookupRecords_ConfigPropertyMetadata);
|
|
53990
54112
|
function keyBuilder$8(luvio, config) {
|
|
@@ -53994,6 +54116,14 @@ function keyBuilder$8(luvio, config) {
|
|
|
53994
54116
|
function typeCheckConfig$a(untrustedConfig) {
|
|
53995
54117
|
const config = {};
|
|
53996
54118
|
typeCheckConfig$n(untrustedConfig, config, getLookupRecords_ConfigPropertyMetadata);
|
|
54119
|
+
const untrustedConfig_sourceRecord = untrustedConfig.sourceRecord;
|
|
54120
|
+
const referenceRecordInputRepresentationValidationError = validate$c(untrustedConfig_sourceRecord);
|
|
54121
|
+
if (referenceRecordInputRepresentationValidationError === null) {
|
|
54122
|
+
config.sourceRecord = untrustedConfig_sourceRecord;
|
|
54123
|
+
}
|
|
54124
|
+
if (untrustedConfig_sourceRecord === null) {
|
|
54125
|
+
config.sourceRecord = untrustedConfig_sourceRecord;
|
|
54126
|
+
}
|
|
53997
54127
|
return config;
|
|
53998
54128
|
}
|
|
53999
54129
|
function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
|
|
@@ -54043,7 +54173,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
54043
54173
|
});
|
|
54044
54174
|
}
|
|
54045
54175
|
function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
|
|
54046
|
-
return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$8,
|
|
54176
|
+
return buildNetworkSnapshotCachePolicy$z(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, 'get', false);
|
|
54047
54177
|
}
|
|
54048
54178
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
54049
54179
|
const { luvio, config } = context;
|
|
@@ -54093,6 +54223,10 @@ function coerceRequestParams(untrusted) {
|
|
|
54093
54223
|
if (targetApiName !== undefined) {
|
|
54094
54224
|
coercedConfig.targetApiName = targetApiName;
|
|
54095
54225
|
}
|
|
54226
|
+
const sourceRecord = requestParams.sourceRecord;
|
|
54227
|
+
if (sourceRecord !== undefined) {
|
|
54228
|
+
coercedConfig.sourceRecord = sourceRecord;
|
|
54229
|
+
}
|
|
54096
54230
|
return coercedConfig;
|
|
54097
54231
|
}
|
|
54098
54232
|
function validateAdapterConfig$8(untrustedConfig, configPropertyNames) {
|
|
@@ -54361,7 +54495,7 @@ function validate$a(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
54361
54495
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
54362
54496
|
let obj_recordTypeInfo_union0 = null;
|
|
54363
54497
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
54364
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
54498
|
+
const referencepath_recordTypeInfoValidationError = validate$1I(obj_recordTypeInfo, path_recordTypeInfo);
|
|
54365
54499
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
54366
54500
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' + path_recordTypeInfo + '")\n';
|
|
54367
54501
|
message += referencepath_recordTypeInfoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|