@salesforce/lds-runtime-mobile 1.321.0 → 1.323.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +646 -352
- package/dist/types/adapters/types/NLSResultsRepresentation.d.ts +40 -0
- package/dist/types/adapters/types/SearchResultsSummaryRepresentation.d.ts +4 -0
- package/dist/types/drafts/records/actionHandlers/SideEffectHook.d.ts +19 -0
- package/dist/types/drafts/records/actionHandlers/UiApiRecordActionHandler.d.ts +3 -0
- package/dist/types/sfs/sfsCustomSideEffects.d.ts +3 -0
- package/package.json +14 -14
- package/sfdc/main.js +646 -352
- package/sfdc/types/adapters/types/NLSResultsRepresentation.d.ts +40 -0
- package/sfdc/types/adapters/types/SearchResultsSummaryRepresentation.d.ts +4 -0
- package/sfdc/types/drafts/records/actionHandlers/SideEffectHook.d.ts +19 -0
- package/sfdc/types/drafts/records/actionHandlers/UiApiRecordActionHandler.d.ts +3 -0
- package/sfdc/types/sfs/sfsCustomSideEffects.d.ts +3 -0
package/dist/main.js
CHANGED
|
@@ -1696,7 +1696,7 @@ class AsyncWorkerPool {
|
|
|
1696
1696
|
try {
|
|
1697
1697
|
cancelFn();
|
|
1698
1698
|
}
|
|
1699
|
-
catch
|
|
1699
|
+
catch {
|
|
1700
1700
|
success = false;
|
|
1701
1701
|
}
|
|
1702
1702
|
}
|
|
@@ -1708,7 +1708,7 @@ class AsyncWorkerPool {
|
|
|
1708
1708
|
try {
|
|
1709
1709
|
cancelFn();
|
|
1710
1710
|
}
|
|
1711
|
-
catch
|
|
1711
|
+
catch {
|
|
1712
1712
|
success = false;
|
|
1713
1713
|
}
|
|
1714
1714
|
}
|
|
@@ -2528,7 +2528,7 @@ class DurableDraftQueue {
|
|
|
2528
2528
|
try {
|
|
2529
2529
|
await this.startQueueSafe();
|
|
2530
2530
|
}
|
|
2531
|
-
catch
|
|
2531
|
+
catch {
|
|
2532
2532
|
// An error starting the queue should not bubble up from this method
|
|
2533
2533
|
}
|
|
2534
2534
|
}
|
|
@@ -3497,7 +3497,7 @@ function assignMetadataLink(entry, metadataKey) {
|
|
|
3497
3497
|
}
|
|
3498
3498
|
|
|
3499
3499
|
const VERSION$1K = '623aa9ce3a11031e35faf5671a41746e';
|
|
3500
|
-
function validate$
|
|
3500
|
+
function validate$_(obj, path = 'ListFilterByInfoRepresentation') {
|
|
3501
3501
|
const v_error = (() => {
|
|
3502
3502
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3503
3503
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3580,7 +3580,7 @@ const select$1J = function ListFilterByInfoRepresentationSelect() {
|
|
|
3580
3580
|
};
|
|
3581
3581
|
|
|
3582
3582
|
const VERSION$1J = 'f98dc7dec10408a9648ef8e5b37002a3';
|
|
3583
|
-
function validate$
|
|
3583
|
+
function validate$Z(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
3584
3584
|
const v_error = (() => {
|
|
3585
3585
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3586
3586
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3597,7 +3597,8 @@ function validate$Y(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
|
3597
3597
|
'")');
|
|
3598
3598
|
}
|
|
3599
3599
|
})();
|
|
3600
|
-
|
|
3600
|
+
// eslint-disable-next-line eqeqeq
|
|
3601
|
+
if (obj_message_union0_error != null) {
|
|
3601
3602
|
obj_message_union0 = obj_message_union0_error.message;
|
|
3602
3603
|
}
|
|
3603
3604
|
let obj_message_union1 = null;
|
|
@@ -3610,7 +3611,8 @@ function validate$Y(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
|
3610
3611
|
'")');
|
|
3611
3612
|
}
|
|
3612
3613
|
})();
|
|
3613
|
-
|
|
3614
|
+
// eslint-disable-next-line eqeqeq
|
|
3615
|
+
if (obj_message_union1_error != null) {
|
|
3614
3616
|
obj_message_union1 = obj_message_union1_error.message;
|
|
3615
3617
|
}
|
|
3616
3618
|
if (obj_message_union0 && obj_message_union1) {
|
|
@@ -3641,7 +3643,8 @@ function validate$Y(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
|
3641
3643
|
'")');
|
|
3642
3644
|
}
|
|
3643
3645
|
})();
|
|
3644
|
-
|
|
3646
|
+
// eslint-disable-next-line eqeqeq
|
|
3647
|
+
if (obj_state_union0_error != null) {
|
|
3645
3648
|
obj_state_union0 = obj_state_union0_error.message;
|
|
3646
3649
|
}
|
|
3647
3650
|
let obj_state_union1 = null;
|
|
@@ -3654,7 +3657,8 @@ function validate$Y(obj, path = 'ListInlineEditDetailsRepresentation') {
|
|
|
3654
3657
|
'")');
|
|
3655
3658
|
}
|
|
3656
3659
|
})();
|
|
3657
|
-
|
|
3660
|
+
// eslint-disable-next-line eqeqeq
|
|
3661
|
+
if (obj_state_union1_error != null) {
|
|
3658
3662
|
obj_state_union1 = obj_state_union1_error.message;
|
|
3659
3663
|
}
|
|
3660
3664
|
if (obj_state_union0 && obj_state_union1) {
|
|
@@ -3695,7 +3699,7 @@ const select$1I = function ListInlineEditDetailsRepresentationSelect() {
|
|
|
3695
3699
|
};
|
|
3696
3700
|
|
|
3697
3701
|
const VERSION$1I = '76042ff4af603b2ac0ec69fa0bd12046';
|
|
3698
|
-
function validate$
|
|
3702
|
+
function validate$Y(obj, path = 'ListReferenceRepresentation') {
|
|
3699
3703
|
const v_error = (() => {
|
|
3700
3704
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3701
3705
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3708,7 +3712,8 @@ function validate$X(obj, path = 'ListReferenceRepresentation') {
|
|
|
3708
3712
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3709
3713
|
}
|
|
3710
3714
|
})();
|
|
3711
|
-
|
|
3715
|
+
// eslint-disable-next-line eqeqeq
|
|
3716
|
+
if (obj_id_union0_error != null) {
|
|
3712
3717
|
obj_id_union0 = obj_id_union0_error.message;
|
|
3713
3718
|
}
|
|
3714
3719
|
let obj_id_union1 = null;
|
|
@@ -3717,7 +3722,8 @@ function validate$X(obj, path = 'ListReferenceRepresentation') {
|
|
|
3717
3722
|
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
3718
3723
|
}
|
|
3719
3724
|
})();
|
|
3720
|
-
|
|
3725
|
+
// eslint-disable-next-line eqeqeq
|
|
3726
|
+
if (obj_id_union1_error != null) {
|
|
3721
3727
|
obj_id_union1 = obj_id_union1_error.message;
|
|
3722
3728
|
}
|
|
3723
3729
|
if (obj_id_union0 && obj_id_union1) {
|
|
@@ -3748,7 +3754,8 @@ function validate$X(obj, path = 'ListReferenceRepresentation') {
|
|
|
3748
3754
|
'")');
|
|
3749
3755
|
}
|
|
3750
3756
|
})();
|
|
3751
|
-
|
|
3757
|
+
// eslint-disable-next-line eqeqeq
|
|
3758
|
+
if (obj_listViewApiName_union0_error != null) {
|
|
3752
3759
|
obj_listViewApiName_union0 = obj_listViewApiName_union0_error.message;
|
|
3753
3760
|
}
|
|
3754
3761
|
let obj_listViewApiName_union1 = null;
|
|
@@ -3761,7 +3768,8 @@ function validate$X(obj, path = 'ListReferenceRepresentation') {
|
|
|
3761
3768
|
'")');
|
|
3762
3769
|
}
|
|
3763
3770
|
})();
|
|
3764
|
-
|
|
3771
|
+
// eslint-disable-next-line eqeqeq
|
|
3772
|
+
if (obj_listViewApiName_union1_error != null) {
|
|
3765
3773
|
obj_listViewApiName_union1 = obj_listViewApiName_union1_error.message;
|
|
3766
3774
|
}
|
|
3767
3775
|
if (obj_listViewApiName_union0 && obj_listViewApiName_union1) {
|
|
@@ -3847,7 +3855,7 @@ function equals$p(existing, incoming) {
|
|
|
3847
3855
|
}
|
|
3848
3856
|
|
|
3849
3857
|
const VERSION$1H = 'f1519bef57e70ab7c5ef160dc5ff0c47';
|
|
3850
|
-
function validate$
|
|
3858
|
+
function validate$X(obj, path = 'ListInfoShareRepresentation') {
|
|
3851
3859
|
const v_error = (() => {
|
|
3852
3860
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3853
3861
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3892,7 +3900,7 @@ const select$1G = function ListInfoShareRepresentationSelect() {
|
|
|
3892
3900
|
};
|
|
3893
3901
|
|
|
3894
3902
|
const VERSION$1G = '561657f32721ec1dac1601575b029640';
|
|
3895
|
-
function validate$
|
|
3903
|
+
function validate$W(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
3896
3904
|
const v_error = (() => {
|
|
3897
3905
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3898
3906
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3918,7 +3926,7 @@ function validate$V(obj, path = 'ListInfoShareCategoryRepresentation') {
|
|
|
3918
3926
|
for (let i = 0; i < obj_shares.length; i++) {
|
|
3919
3927
|
const obj_shares_item = obj_shares[i];
|
|
3920
3928
|
const path_shares_item = path_shares + '[' + i + ']';
|
|
3921
|
-
const referencepath_shares_itemValidationError = validate$
|
|
3929
|
+
const referencepath_shares_itemValidationError = validate$X(obj_shares_item, path_shares_item);
|
|
3922
3930
|
if (referencepath_shares_itemValidationError !== null) {
|
|
3923
3931
|
let message = 'Object doesn\'t match ListInfoShareRepresentation (at "' +
|
|
3924
3932
|
path_shares_item +
|
|
@@ -3955,7 +3963,7 @@ const select$1F = function ListInfoShareCategoryRepresentationSelect() {
|
|
|
3955
3963
|
};
|
|
3956
3964
|
|
|
3957
3965
|
const VERSION$1F = '32def9b631252c12b91a8209c1f49f5a';
|
|
3958
|
-
function validate$
|
|
3966
|
+
function validate$V(obj, path = 'ListOrderByInfoRepresentation') {
|
|
3959
3967
|
const v_error = (() => {
|
|
3960
3968
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3961
3969
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3990,7 +3998,8 @@ function validate$U(obj, path = 'ListOrderByInfoRepresentation') {
|
|
|
3990
3998
|
'")');
|
|
3991
3999
|
}
|
|
3992
4000
|
})();
|
|
3993
|
-
|
|
4001
|
+
// eslint-disable-next-line eqeqeq
|
|
4002
|
+
if (obj_label_union0_error != null) {
|
|
3994
4003
|
obj_label_union0 = obj_label_union0_error.message;
|
|
3995
4004
|
}
|
|
3996
4005
|
let obj_label_union1 = null;
|
|
@@ -4003,7 +4012,8 @@ function validate$U(obj, path = 'ListOrderByInfoRepresentation') {
|
|
|
4003
4012
|
'")');
|
|
4004
4013
|
}
|
|
4005
4014
|
})();
|
|
4006
|
-
|
|
4015
|
+
// eslint-disable-next-line eqeqeq
|
|
4016
|
+
if (obj_label_union1_error != null) {
|
|
4007
4017
|
obj_label_union1 = obj_label_union1_error.message;
|
|
4008
4018
|
}
|
|
4009
4019
|
if (obj_label_union0 && obj_label_union1) {
|
|
@@ -4048,7 +4058,7 @@ const select$1E = function ListOrderByInfoRepresentationSelect() {
|
|
|
4048
4058
|
};
|
|
4049
4059
|
|
|
4050
4060
|
const VERSION$1E = '2634258f216db34315c06d759a35676d';
|
|
4051
|
-
function validate$
|
|
4061
|
+
function validate$U(obj, path = 'ListScopeEntityRepresentation') {
|
|
4052
4062
|
const v_error = (() => {
|
|
4053
4063
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4054
4064
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4089,7 +4099,7 @@ const select$1D = function ListScopeEntityRepresentationSelect() {
|
|
|
4089
4099
|
};
|
|
4090
4100
|
|
|
4091
4101
|
const VERSION$1D = '3b85c5a08d50ce328481b9f8ab56127b';
|
|
4092
|
-
function validate$
|
|
4102
|
+
function validate$T(obj, path = 'ListScopeRelatedEntityRepresentation') {
|
|
4093
4103
|
const v_error = (() => {
|
|
4094
4104
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4095
4105
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4139,7 +4149,7 @@ const select$1C = function ListScopeRelatedEntityRepresentationSelect() {
|
|
|
4139
4149
|
};
|
|
4140
4150
|
|
|
4141
4151
|
const VERSION$1C = '2fe9814e7124b47f59da585483c1b3f9';
|
|
4142
|
-
function validate$
|
|
4152
|
+
function validate$S(obj, path = 'ListScopeRepresentation') {
|
|
4143
4153
|
const v_error = (() => {
|
|
4144
4154
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4145
4155
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4157,7 +4167,7 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
|
|
|
4157
4167
|
const path_entity = path + '.entity';
|
|
4158
4168
|
let obj_entity_union0 = null;
|
|
4159
4169
|
const obj_entity_union0_error = (() => {
|
|
4160
|
-
const referencepath_entityValidationError = validate$
|
|
4170
|
+
const referencepath_entityValidationError = validate$U(obj_entity, path_entity);
|
|
4161
4171
|
if (referencepath_entityValidationError !== null) {
|
|
4162
4172
|
let message = 'Object doesn\'t match ListScopeEntityRepresentation (at "' +
|
|
4163
4173
|
path_entity +
|
|
@@ -4169,7 +4179,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
|
|
|
4169
4179
|
return new TypeError(message);
|
|
4170
4180
|
}
|
|
4171
4181
|
})();
|
|
4172
|
-
|
|
4182
|
+
// eslint-disable-next-line eqeqeq
|
|
4183
|
+
if (obj_entity_union0_error != null) {
|
|
4173
4184
|
obj_entity_union0 = obj_entity_union0_error.message;
|
|
4174
4185
|
}
|
|
4175
4186
|
let obj_entity_union1 = null;
|
|
@@ -4182,7 +4193,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
|
|
|
4182
4193
|
'")');
|
|
4183
4194
|
}
|
|
4184
4195
|
})();
|
|
4185
|
-
|
|
4196
|
+
// eslint-disable-next-line eqeqeq
|
|
4197
|
+
if (obj_entity_union1_error != null) {
|
|
4186
4198
|
obj_entity_union1 = obj_entity_union1_error.message;
|
|
4187
4199
|
}
|
|
4188
4200
|
if (obj_entity_union0 && obj_entity_union1) {
|
|
@@ -4213,7 +4225,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
|
|
|
4213
4225
|
'")');
|
|
4214
4226
|
}
|
|
4215
4227
|
})();
|
|
4216
|
-
|
|
4228
|
+
// eslint-disable-next-line eqeqeq
|
|
4229
|
+
if (obj_label_union0_error != null) {
|
|
4217
4230
|
obj_label_union0 = obj_label_union0_error.message;
|
|
4218
4231
|
}
|
|
4219
4232
|
let obj_label_union1 = null;
|
|
@@ -4226,7 +4239,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
|
|
|
4226
4239
|
'")');
|
|
4227
4240
|
}
|
|
4228
4241
|
})();
|
|
4229
|
-
|
|
4242
|
+
// eslint-disable-next-line eqeqeq
|
|
4243
|
+
if (obj_label_union1_error != null) {
|
|
4230
4244
|
obj_label_union1 = obj_label_union1_error.message;
|
|
4231
4245
|
}
|
|
4232
4246
|
if (obj_label_union0 && obj_label_union1) {
|
|
@@ -4249,7 +4263,7 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
|
|
|
4249
4263
|
const path_relatedEntity = path + '.relatedEntity';
|
|
4250
4264
|
let obj_relatedEntity_union0 = null;
|
|
4251
4265
|
const obj_relatedEntity_union0_error = (() => {
|
|
4252
|
-
const referencepath_relatedEntityValidationError = validate$
|
|
4266
|
+
const referencepath_relatedEntityValidationError = validate$T(obj_relatedEntity, path_relatedEntity);
|
|
4253
4267
|
if (referencepath_relatedEntityValidationError !== null) {
|
|
4254
4268
|
let message = 'Object doesn\'t match ListScopeRelatedEntityRepresentation (at "' +
|
|
4255
4269
|
path_relatedEntity +
|
|
@@ -4261,7 +4275,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
|
|
|
4261
4275
|
return new TypeError(message);
|
|
4262
4276
|
}
|
|
4263
4277
|
})();
|
|
4264
|
-
|
|
4278
|
+
// eslint-disable-next-line eqeqeq
|
|
4279
|
+
if (obj_relatedEntity_union0_error != null) {
|
|
4265
4280
|
obj_relatedEntity_union0 = obj_relatedEntity_union0_error.message;
|
|
4266
4281
|
}
|
|
4267
4282
|
let obj_relatedEntity_union1 = null;
|
|
@@ -4274,7 +4289,8 @@ function validate$R(obj, path = 'ListScopeRepresentation') {
|
|
|
4274
4289
|
'")');
|
|
4275
4290
|
}
|
|
4276
4291
|
})();
|
|
4277
|
-
|
|
4292
|
+
// eslint-disable-next-line eqeqeq
|
|
4293
|
+
if (obj_relatedEntity_union1_error != null) {
|
|
4278
4294
|
obj_relatedEntity_union1 = obj_relatedEntity_union1_error.message;
|
|
4279
4295
|
}
|
|
4280
4296
|
if (obj_relatedEntity_union0 && obj_relatedEntity_union1) {
|
|
@@ -4329,7 +4345,7 @@ const select$1B = function ListScopeRepresentationSelect() {
|
|
|
4329
4345
|
};
|
|
4330
4346
|
|
|
4331
4347
|
const VERSION$1B = '6506134f4d72fdfa349fe60ef1af2413';
|
|
4332
|
-
function validate$
|
|
4348
|
+
function validate$R(obj, path = 'ListUserPreferenceRepresentation') {
|
|
4333
4349
|
const v_error = (() => {
|
|
4334
4350
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4335
4351
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4407,7 +4423,7 @@ const select$1A = function ListUserPreferenceRepresentationSelect() {
|
|
|
4407
4423
|
};
|
|
4408
4424
|
};
|
|
4409
4425
|
|
|
4410
|
-
function validate$
|
|
4426
|
+
function validate$Q(obj, path = 'ListColumnInlineEditAttributesRepresentation') {
|
|
4411
4427
|
const v_error = (() => {
|
|
4412
4428
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4413
4429
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4434,7 +4450,7 @@ function validate$P(obj, path = 'ListColumnInlineEditAttributesRepresentation')
|
|
|
4434
4450
|
return v_error === undefined ? null : v_error;
|
|
4435
4451
|
}
|
|
4436
4452
|
|
|
4437
|
-
function validate$
|
|
4453
|
+
function validate$P(obj, path = 'ListColumnInlineEditAttributesRepresentationWrapper') {
|
|
4438
4454
|
const v_error = (() => {
|
|
4439
4455
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4440
4456
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4444,7 +4460,7 @@ function validate$O(obj, path = 'ListColumnInlineEditAttributesRepresentationWra
|
|
|
4444
4460
|
const key = obj_keys[i];
|
|
4445
4461
|
const obj_prop = obj[key];
|
|
4446
4462
|
const path_prop = path + '["' + key + '"]';
|
|
4447
|
-
const referencepath_propValidationError = validate$
|
|
4463
|
+
const referencepath_propValidationError = validate$Q(obj_prop, path_prop);
|
|
4448
4464
|
if (referencepath_propValidationError !== null) {
|
|
4449
4465
|
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentation (at "' +
|
|
4450
4466
|
path_prop +
|
|
@@ -4461,7 +4477,7 @@ function validate$O(obj, path = 'ListColumnInlineEditAttributesRepresentationWra
|
|
|
4461
4477
|
}
|
|
4462
4478
|
|
|
4463
4479
|
const VERSION$1A = '64e2cac6d374ad92f491a9f8a952c6c3';
|
|
4464
|
-
function validate$
|
|
4480
|
+
function validate$O(obj, path = 'ListColumnRepresentation') {
|
|
4465
4481
|
const v_error = (() => {
|
|
4466
4482
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4467
4483
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4479,7 +4495,7 @@ function validate$N(obj, path = 'ListColumnRepresentation') {
|
|
|
4479
4495
|
const path_inlineEditAttributes = path + '.inlineEditAttributes';
|
|
4480
4496
|
let obj_inlineEditAttributes_union0 = null;
|
|
4481
4497
|
const obj_inlineEditAttributes_union0_error = (() => {
|
|
4482
|
-
const referencepath_inlineEditAttributesValidationError = validate$
|
|
4498
|
+
const referencepath_inlineEditAttributesValidationError = validate$P(obj_inlineEditAttributes, path_inlineEditAttributes);
|
|
4483
4499
|
if (referencepath_inlineEditAttributesValidationError !== null) {
|
|
4484
4500
|
let message = 'Object doesn\'t match ListColumnInlineEditAttributesRepresentationWrapper (at "' +
|
|
4485
4501
|
path_inlineEditAttributes +
|
|
@@ -4491,7 +4507,8 @@ function validate$N(obj, path = 'ListColumnRepresentation') {
|
|
|
4491
4507
|
return new TypeError(message);
|
|
4492
4508
|
}
|
|
4493
4509
|
})();
|
|
4494
|
-
|
|
4510
|
+
// eslint-disable-next-line eqeqeq
|
|
4511
|
+
if (obj_inlineEditAttributes_union0_error != null) {
|
|
4495
4512
|
obj_inlineEditAttributes_union0 = obj_inlineEditAttributes_union0_error
|
|
4496
4513
|
.message;
|
|
4497
4514
|
}
|
|
@@ -4505,7 +4522,8 @@ function validate$N(obj, path = 'ListColumnRepresentation') {
|
|
|
4505
4522
|
'")');
|
|
4506
4523
|
}
|
|
4507
4524
|
})();
|
|
4508
|
-
|
|
4525
|
+
// eslint-disable-next-line eqeqeq
|
|
4526
|
+
if (obj_inlineEditAttributes_union1_error != null) {
|
|
4509
4527
|
obj_inlineEditAttributes_union1 = obj_inlineEditAttributes_union1_error
|
|
4510
4528
|
.message;
|
|
4511
4529
|
}
|
|
@@ -4546,7 +4564,8 @@ function validate$N(obj, path = 'ListColumnRepresentation') {
|
|
|
4546
4564
|
'")');
|
|
4547
4565
|
}
|
|
4548
4566
|
})();
|
|
4549
|
-
|
|
4567
|
+
// eslint-disable-next-line eqeqeq
|
|
4568
|
+
if (obj_lookupId_union0_error != null) {
|
|
4550
4569
|
obj_lookupId_union0 = obj_lookupId_union0_error.message;
|
|
4551
4570
|
}
|
|
4552
4571
|
let obj_lookupId_union1 = null;
|
|
@@ -4559,7 +4578,8 @@ function validate$N(obj, path = 'ListColumnRepresentation') {
|
|
|
4559
4578
|
'")');
|
|
4560
4579
|
}
|
|
4561
4580
|
})();
|
|
4562
|
-
|
|
4581
|
+
// eslint-disable-next-line eqeqeq
|
|
4582
|
+
if (obj_lookupId_union1_error != null) {
|
|
4563
4583
|
obj_lookupId_union1 = obj_lookupId_union1_error.message;
|
|
4564
4584
|
}
|
|
4565
4585
|
if (obj_lookupId_union0 && obj_lookupId_union1) {
|
|
@@ -4619,7 +4639,7 @@ function equals$o(existing, incoming) {
|
|
|
4619
4639
|
}
|
|
4620
4640
|
const ingest$1r = function ListColumnRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4621
4641
|
if (process.env.NODE_ENV !== 'production') {
|
|
4622
|
-
const validateError = validate$
|
|
4642
|
+
const validateError = validate$O(input);
|
|
4623
4643
|
if (validateError !== null) {
|
|
4624
4644
|
throw validateError;
|
|
4625
4645
|
}
|
|
@@ -4652,7 +4672,7 @@ const keyBuilderFromType$i = function ListInfoRepresentationKeyBuilderFromType(l
|
|
|
4652
4672
|
|
|
4653
4673
|
const TTL$m = 900000;
|
|
4654
4674
|
const VERSION$1z = '5adf17d38be03c0f71b1c52485b377a6';
|
|
4655
|
-
function validate$
|
|
4675
|
+
function validate$N(obj, path = 'ListInfoRepresentation') {
|
|
4656
4676
|
const v_error = (() => {
|
|
4657
4677
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4658
4678
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4721,7 +4741,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4721
4741
|
'")');
|
|
4722
4742
|
}
|
|
4723
4743
|
})();
|
|
4724
|
-
|
|
4744
|
+
// eslint-disable-next-line eqeqeq
|
|
4745
|
+
if (obj_filterLogicString_union0_error != null) {
|
|
4725
4746
|
obj_filterLogicString_union0 = obj_filterLogicString_union0_error.message;
|
|
4726
4747
|
}
|
|
4727
4748
|
let obj_filterLogicString_union1 = null;
|
|
@@ -4734,7 +4755,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4734
4755
|
'")');
|
|
4735
4756
|
}
|
|
4736
4757
|
})();
|
|
4737
|
-
|
|
4758
|
+
// eslint-disable-next-line eqeqeq
|
|
4759
|
+
if (obj_filterLogicString_union1_error != null) {
|
|
4738
4760
|
obj_filterLogicString_union1 = obj_filterLogicString_union1_error.message;
|
|
4739
4761
|
}
|
|
4740
4762
|
if (obj_filterLogicString_union0 && obj_filterLogicString_union1) {
|
|
@@ -4765,7 +4787,7 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4765
4787
|
for (let i = 0; i < obj_filteredByInfo.length; i++) {
|
|
4766
4788
|
const obj_filteredByInfo_item = obj_filteredByInfo[i];
|
|
4767
4789
|
const path_filteredByInfo_item = path_filteredByInfo + '[' + i + ']';
|
|
4768
|
-
const referencepath_filteredByInfo_itemValidationError = validate$
|
|
4790
|
+
const referencepath_filteredByInfo_itemValidationError = validate$_(obj_filteredByInfo_item, path_filteredByInfo_item);
|
|
4769
4791
|
if (referencepath_filteredByInfo_itemValidationError !== null) {
|
|
4770
4792
|
let message = 'Object doesn\'t match ListFilterByInfoRepresentation (at "' +
|
|
4771
4793
|
path_filteredByInfo_item +
|
|
@@ -4790,7 +4812,7 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4790
4812
|
}
|
|
4791
4813
|
const obj_inlineEditDetails = obj.inlineEditDetails;
|
|
4792
4814
|
const path_inlineEditDetails = path + '.inlineEditDetails';
|
|
4793
|
-
const referencepath_inlineEditDetailsValidationError = validate$
|
|
4815
|
+
const referencepath_inlineEditDetailsValidationError = validate$Z(obj_inlineEditDetails, path_inlineEditDetails);
|
|
4794
4816
|
if (referencepath_inlineEditDetailsValidationError !== null) {
|
|
4795
4817
|
let message = 'Object doesn\'t match ListInlineEditDetailsRepresentation (at "' +
|
|
4796
4818
|
path_inlineEditDetails +
|
|
@@ -4813,7 +4835,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4813
4835
|
'")');
|
|
4814
4836
|
}
|
|
4815
4837
|
})();
|
|
4816
|
-
|
|
4838
|
+
// eslint-disable-next-line eqeqeq
|
|
4839
|
+
if (obj_label_union0_error != null) {
|
|
4817
4840
|
obj_label_union0 = obj_label_union0_error.message;
|
|
4818
4841
|
}
|
|
4819
4842
|
let obj_label_union1 = null;
|
|
@@ -4826,7 +4849,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4826
4849
|
'")');
|
|
4827
4850
|
}
|
|
4828
4851
|
})();
|
|
4829
|
-
|
|
4852
|
+
// eslint-disable-next-line eqeqeq
|
|
4853
|
+
if (obj_label_union1_error != null) {
|
|
4830
4854
|
obj_label_union1 = obj_label_union1_error.message;
|
|
4831
4855
|
}
|
|
4832
4856
|
if (obj_label_union0 && obj_label_union1) {
|
|
@@ -4847,7 +4871,7 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4847
4871
|
}
|
|
4848
4872
|
const obj_listReference = obj.listReference;
|
|
4849
4873
|
const path_listReference = path + '.listReference';
|
|
4850
|
-
const referencepath_listReferenceValidationError = validate$
|
|
4874
|
+
const referencepath_listReferenceValidationError = validate$Y(obj_listReference, path_listReference);
|
|
4851
4875
|
if (referencepath_listReferenceValidationError !== null) {
|
|
4852
4876
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' +
|
|
4853
4877
|
path_listReference +
|
|
@@ -4870,7 +4894,7 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4870
4894
|
for (let i = 0; i < obj_listShares.length; i++) {
|
|
4871
4895
|
const obj_listShares_item = obj_listShares[i];
|
|
4872
4896
|
const path_listShares_item = path_listShares + '[' + i + ']';
|
|
4873
|
-
const referencepath_listShares_itemValidationError = validate$
|
|
4897
|
+
const referencepath_listShares_itemValidationError = validate$W(obj_listShares_item, path_listShares_item);
|
|
4874
4898
|
if (referencepath_listShares_itemValidationError !== null) {
|
|
4875
4899
|
let message = 'Object doesn\'t match ListInfoShareCategoryRepresentation (at "' +
|
|
4876
4900
|
path_listShares_item +
|
|
@@ -4914,7 +4938,7 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4914
4938
|
for (let i = 0; i < obj_orderedByInfo.length; i++) {
|
|
4915
4939
|
const obj_orderedByInfo_item = obj_orderedByInfo[i];
|
|
4916
4940
|
const path_orderedByInfo_item = path_orderedByInfo + '[' + i + ']';
|
|
4917
|
-
const referencepath_orderedByInfo_itemValidationError = validate$
|
|
4941
|
+
const referencepath_orderedByInfo_itemValidationError = validate$V(obj_orderedByInfo_item, path_orderedByInfo_item);
|
|
4918
4942
|
if (referencepath_orderedByInfo_itemValidationError !== null) {
|
|
4919
4943
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' +
|
|
4920
4944
|
path_orderedByInfo_item +
|
|
@@ -4930,7 +4954,7 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4930
4954
|
const path_scope = path + '.scope';
|
|
4931
4955
|
let obj_scope_union0 = null;
|
|
4932
4956
|
const obj_scope_union0_error = (() => {
|
|
4933
|
-
const referencepath_scopeValidationError = validate$
|
|
4957
|
+
const referencepath_scopeValidationError = validate$S(obj_scope, path_scope);
|
|
4934
4958
|
if (referencepath_scopeValidationError !== null) {
|
|
4935
4959
|
let message = 'Object doesn\'t match ListScopeRepresentation (at "' + path_scope + '")\n';
|
|
4936
4960
|
message += referencepath_scopeValidationError.message
|
|
@@ -4940,7 +4964,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4940
4964
|
return new TypeError(message);
|
|
4941
4965
|
}
|
|
4942
4966
|
})();
|
|
4943
|
-
|
|
4967
|
+
// eslint-disable-next-line eqeqeq
|
|
4968
|
+
if (obj_scope_union0_error != null) {
|
|
4944
4969
|
obj_scope_union0 = obj_scope_union0_error.message;
|
|
4945
4970
|
}
|
|
4946
4971
|
let obj_scope_union1 = null;
|
|
@@ -4953,7 +4978,8 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4953
4978
|
'")');
|
|
4954
4979
|
}
|
|
4955
4980
|
})();
|
|
4956
|
-
|
|
4981
|
+
// eslint-disable-next-line eqeqeq
|
|
4982
|
+
if (obj_scope_union1_error != null) {
|
|
4957
4983
|
obj_scope_union1 = obj_scope_union1_error.message;
|
|
4958
4984
|
}
|
|
4959
4985
|
if (obj_scope_union0 && obj_scope_union1) {
|
|
@@ -4992,7 +5018,7 @@ function validate$M(obj, path = 'ListInfoRepresentation') {
|
|
|
4992
5018
|
}
|
|
4993
5019
|
const obj_userPreferences = obj.userPreferences;
|
|
4994
5020
|
const path_userPreferences = path + '.userPreferences';
|
|
4995
|
-
const referencepath_userPreferencesValidationError = validate$
|
|
5021
|
+
const referencepath_userPreferencesValidationError = validate$R(obj_userPreferences, path_userPreferences);
|
|
4996
5022
|
if (referencepath_userPreferencesValidationError !== null) {
|
|
4997
5023
|
let message = 'Object doesn\'t match ListUserPreferenceRepresentation (at "' +
|
|
4998
5024
|
path_userPreferences +
|
|
@@ -5170,7 +5196,7 @@ function equals$n(existing, incoming) {
|
|
|
5170
5196
|
}
|
|
5171
5197
|
const ingest$1q = function ListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5172
5198
|
if (process.env.NODE_ENV !== 'production') {
|
|
5173
|
-
const validateError = validate$
|
|
5199
|
+
const validateError = validate$N(input);
|
|
5174
5200
|
if (validateError !== null) {
|
|
5175
5201
|
throw validateError;
|
|
5176
5202
|
}
|
|
@@ -5240,7 +5266,7 @@ function toSortedStringArray(value) {
|
|
|
5240
5266
|
}
|
|
5241
5267
|
|
|
5242
5268
|
const VERSION$1y = 'd1e589a127fb1060c89070cdb6f500b2';
|
|
5243
|
-
function validate$
|
|
5269
|
+
function validate$M(obj, path = 'RecordTypeInfoRepresentation') {
|
|
5244
5270
|
const v_error = (() => {
|
|
5245
5271
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5246
5272
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5377,7 +5403,7 @@ const getTypeCacheKeys$1u = (rootKeySet, luvio, input, _fullPathFactory) => {
|
|
|
5377
5403
|
|
|
5378
5404
|
const TTL$l = 120000;
|
|
5379
5405
|
const VERSION$1x = '79cb5ac9f44542f683d00245fdfe500d';
|
|
5380
|
-
function validate$
|
|
5406
|
+
function validate$L(obj, path = 'RecordCollectionRepresentation') {
|
|
5381
5407
|
const v_error = (() => {
|
|
5382
5408
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5383
5409
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5404,7 +5430,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
|
|
|
5404
5430
|
'")');
|
|
5405
5431
|
}
|
|
5406
5432
|
})();
|
|
5407
|
-
|
|
5433
|
+
// eslint-disable-next-line eqeqeq
|
|
5434
|
+
if (obj_currentPageToken_union0_error != null) {
|
|
5408
5435
|
obj_currentPageToken_union0 = obj_currentPageToken_union0_error.message;
|
|
5409
5436
|
}
|
|
5410
5437
|
let obj_currentPageToken_union1 = null;
|
|
@@ -5417,7 +5444,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
|
|
|
5417
5444
|
'")');
|
|
5418
5445
|
}
|
|
5419
5446
|
})();
|
|
5420
|
-
|
|
5447
|
+
// eslint-disable-next-line eqeqeq
|
|
5448
|
+
if (obj_currentPageToken_union1_error != null) {
|
|
5421
5449
|
obj_currentPageToken_union1 = obj_currentPageToken_union1_error.message;
|
|
5422
5450
|
}
|
|
5423
5451
|
if (obj_currentPageToken_union0 && obj_currentPageToken_union1) {
|
|
@@ -5457,7 +5485,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
|
|
|
5457
5485
|
'")');
|
|
5458
5486
|
}
|
|
5459
5487
|
})();
|
|
5460
|
-
|
|
5488
|
+
// eslint-disable-next-line eqeqeq
|
|
5489
|
+
if (obj_nextPageToken_union0_error != null) {
|
|
5461
5490
|
obj_nextPageToken_union0 = obj_nextPageToken_union0_error.message;
|
|
5462
5491
|
}
|
|
5463
5492
|
let obj_nextPageToken_union1 = null;
|
|
@@ -5470,7 +5499,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
|
|
|
5470
5499
|
'")');
|
|
5471
5500
|
}
|
|
5472
5501
|
})();
|
|
5473
|
-
|
|
5502
|
+
// eslint-disable-next-line eqeqeq
|
|
5503
|
+
if (obj_nextPageToken_union1_error != null) {
|
|
5474
5504
|
obj_nextPageToken_union1 = obj_nextPageToken_union1_error.message;
|
|
5475
5505
|
}
|
|
5476
5506
|
if (obj_nextPageToken_union0 && obj_nextPageToken_union1) {
|
|
@@ -5501,7 +5531,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
|
|
|
5501
5531
|
'")');
|
|
5502
5532
|
}
|
|
5503
5533
|
})();
|
|
5504
|
-
|
|
5534
|
+
// eslint-disable-next-line eqeqeq
|
|
5535
|
+
if (obj_nextPageUrl_union0_error != null) {
|
|
5505
5536
|
obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
|
|
5506
5537
|
}
|
|
5507
5538
|
let obj_nextPageUrl_union1 = null;
|
|
@@ -5514,7 +5545,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
|
|
|
5514
5545
|
'")');
|
|
5515
5546
|
}
|
|
5516
5547
|
})();
|
|
5517
|
-
|
|
5548
|
+
// eslint-disable-next-line eqeqeq
|
|
5549
|
+
if (obj_nextPageUrl_union1_error != null) {
|
|
5518
5550
|
obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
|
|
5519
5551
|
}
|
|
5520
5552
|
if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
|
|
@@ -5545,7 +5577,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
|
|
|
5545
5577
|
'")');
|
|
5546
5578
|
}
|
|
5547
5579
|
})();
|
|
5548
|
-
|
|
5580
|
+
// eslint-disable-next-line eqeqeq
|
|
5581
|
+
if (obj_previousPageToken_union0_error != null) {
|
|
5549
5582
|
obj_previousPageToken_union0 = obj_previousPageToken_union0_error.message;
|
|
5550
5583
|
}
|
|
5551
5584
|
let obj_previousPageToken_union1 = null;
|
|
@@ -5558,7 +5591,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
|
|
|
5558
5591
|
'")');
|
|
5559
5592
|
}
|
|
5560
5593
|
})();
|
|
5561
|
-
|
|
5594
|
+
// eslint-disable-next-line eqeqeq
|
|
5595
|
+
if (obj_previousPageToken_union1_error != null) {
|
|
5562
5596
|
obj_previousPageToken_union1 = obj_previousPageToken_union1_error.message;
|
|
5563
5597
|
}
|
|
5564
5598
|
if (obj_previousPageToken_union0 && obj_previousPageToken_union1) {
|
|
@@ -5589,7 +5623,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
|
|
|
5589
5623
|
'")');
|
|
5590
5624
|
}
|
|
5591
5625
|
})();
|
|
5592
|
-
|
|
5626
|
+
// eslint-disable-next-line eqeqeq
|
|
5627
|
+
if (obj_previousPageUrl_union0_error != null) {
|
|
5593
5628
|
obj_previousPageUrl_union0 = obj_previousPageUrl_union0_error.message;
|
|
5594
5629
|
}
|
|
5595
5630
|
let obj_previousPageUrl_union1 = null;
|
|
@@ -5602,7 +5637,8 @@ function validate$K(obj, path = 'RecordCollectionRepresentation') {
|
|
|
5602
5637
|
'")');
|
|
5603
5638
|
}
|
|
5604
5639
|
})();
|
|
5605
|
-
|
|
5640
|
+
// eslint-disable-next-line eqeqeq
|
|
5641
|
+
if (obj_previousPageUrl_union1_error != null) {
|
|
5606
5642
|
obj_previousPageUrl_union1 = obj_previousPageUrl_union1_error.message;
|
|
5607
5643
|
}
|
|
5608
5644
|
if (obj_previousPageUrl_union0 && obj_previousPageUrl_union1) {
|
|
@@ -5757,7 +5793,7 @@ function equals$l(existing, incoming) {
|
|
|
5757
5793
|
}
|
|
5758
5794
|
const ingest$1p = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5759
5795
|
if (process.env.NODE_ENV !== 'production') {
|
|
5760
|
-
const validateError = validate$
|
|
5796
|
+
const validateError = validate$L(input);
|
|
5761
5797
|
if (validateError !== null) {
|
|
5762
5798
|
throw validateError;
|
|
5763
5799
|
}
|
|
@@ -6088,7 +6124,7 @@ function insertFieldsIntoTrie(root, fields, optional) {
|
|
|
6088
6124
|
|
|
6089
6125
|
const TTL$k = 30000;
|
|
6090
6126
|
const VERSION$1v = '98c5b18512e48ca8d28727549507e4ba';
|
|
6091
|
-
function validate$
|
|
6127
|
+
function validate$K(obj, path = 'RecordRepresentation') {
|
|
6092
6128
|
const v_error = (() => {
|
|
6093
6129
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
6094
6130
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -6172,7 +6208,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
|
|
|
6172
6208
|
'")');
|
|
6173
6209
|
}
|
|
6174
6210
|
})();
|
|
6175
|
-
|
|
6211
|
+
// eslint-disable-next-line eqeqeq
|
|
6212
|
+
if (obj_lastModifiedById_union0_error != null) {
|
|
6176
6213
|
obj_lastModifiedById_union0 = obj_lastModifiedById_union0_error.message;
|
|
6177
6214
|
}
|
|
6178
6215
|
let obj_lastModifiedById_union1 = null;
|
|
@@ -6185,7 +6222,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
|
|
|
6185
6222
|
'")');
|
|
6186
6223
|
}
|
|
6187
6224
|
})();
|
|
6188
|
-
|
|
6225
|
+
// eslint-disable-next-line eqeqeq
|
|
6226
|
+
if (obj_lastModifiedById_union1_error != null) {
|
|
6189
6227
|
obj_lastModifiedById_union1 = obj_lastModifiedById_union1_error.message;
|
|
6190
6228
|
}
|
|
6191
6229
|
if (obj_lastModifiedById_union0 && obj_lastModifiedById_union1) {
|
|
@@ -6216,7 +6254,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
|
|
|
6216
6254
|
'")');
|
|
6217
6255
|
}
|
|
6218
6256
|
})();
|
|
6219
|
-
|
|
6257
|
+
// eslint-disable-next-line eqeqeq
|
|
6258
|
+
if (obj_lastModifiedDate_union0_error != null) {
|
|
6220
6259
|
obj_lastModifiedDate_union0 = obj_lastModifiedDate_union0_error.message;
|
|
6221
6260
|
}
|
|
6222
6261
|
let obj_lastModifiedDate_union1 = null;
|
|
@@ -6229,7 +6268,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
|
|
|
6229
6268
|
'")');
|
|
6230
6269
|
}
|
|
6231
6270
|
})();
|
|
6232
|
-
|
|
6271
|
+
// eslint-disable-next-line eqeqeq
|
|
6272
|
+
if (obj_lastModifiedDate_union1_error != null) {
|
|
6233
6273
|
obj_lastModifiedDate_union1 = obj_lastModifiedDate_union1_error.message;
|
|
6234
6274
|
}
|
|
6235
6275
|
if (obj_lastModifiedDate_union0 && obj_lastModifiedDate_union1) {
|
|
@@ -6260,7 +6300,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
|
|
|
6260
6300
|
'")');
|
|
6261
6301
|
}
|
|
6262
6302
|
})();
|
|
6263
|
-
|
|
6303
|
+
// eslint-disable-next-line eqeqeq
|
|
6304
|
+
if (obj_recordTypeId_union0_error != null) {
|
|
6264
6305
|
obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
|
|
6265
6306
|
}
|
|
6266
6307
|
let obj_recordTypeId_union1 = null;
|
|
@@ -6273,7 +6314,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
|
|
|
6273
6314
|
'")');
|
|
6274
6315
|
}
|
|
6275
6316
|
})();
|
|
6276
|
-
|
|
6317
|
+
// eslint-disable-next-line eqeqeq
|
|
6318
|
+
if (obj_recordTypeId_union1_error != null) {
|
|
6277
6319
|
obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
|
|
6278
6320
|
}
|
|
6279
6321
|
if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
|
|
@@ -6296,7 +6338,7 @@ function validate$J(obj, path = 'RecordRepresentation') {
|
|
|
6296
6338
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
6297
6339
|
let obj_recordTypeInfo_union0 = null;
|
|
6298
6340
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
6299
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
6341
|
+
const referencepath_recordTypeInfoValidationError = validate$M(obj_recordTypeInfo, path_recordTypeInfo);
|
|
6300
6342
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
6301
6343
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' +
|
|
6302
6344
|
path_recordTypeInfo +
|
|
@@ -6308,7 +6350,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
|
|
|
6308
6350
|
return new TypeError(message);
|
|
6309
6351
|
}
|
|
6310
6352
|
})();
|
|
6311
|
-
|
|
6353
|
+
// eslint-disable-next-line eqeqeq
|
|
6354
|
+
if (obj_recordTypeInfo_union0_error != null) {
|
|
6312
6355
|
obj_recordTypeInfo_union0 = obj_recordTypeInfo_union0_error.message;
|
|
6313
6356
|
}
|
|
6314
6357
|
let obj_recordTypeInfo_union1 = null;
|
|
@@ -6321,7 +6364,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
|
|
|
6321
6364
|
'")');
|
|
6322
6365
|
}
|
|
6323
6366
|
})();
|
|
6324
|
-
|
|
6367
|
+
// eslint-disable-next-line eqeqeq
|
|
6368
|
+
if (obj_recordTypeInfo_union1_error != null) {
|
|
6325
6369
|
obj_recordTypeInfo_union1 = obj_recordTypeInfo_union1_error.message;
|
|
6326
6370
|
}
|
|
6327
6371
|
if (obj_recordTypeInfo_union0 && obj_recordTypeInfo_union1) {
|
|
@@ -6352,7 +6396,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
|
|
|
6352
6396
|
'")');
|
|
6353
6397
|
}
|
|
6354
6398
|
})();
|
|
6355
|
-
|
|
6399
|
+
// eslint-disable-next-line eqeqeq
|
|
6400
|
+
if (obj_systemModstamp_union0_error != null) {
|
|
6356
6401
|
obj_systemModstamp_union0 = obj_systemModstamp_union0_error.message;
|
|
6357
6402
|
}
|
|
6358
6403
|
let obj_systemModstamp_union1 = null;
|
|
@@ -6365,7 +6410,8 @@ function validate$J(obj, path = 'RecordRepresentation') {
|
|
|
6365
6410
|
'")');
|
|
6366
6411
|
}
|
|
6367
6412
|
})();
|
|
6368
|
-
|
|
6413
|
+
// eslint-disable-next-line eqeqeq
|
|
6414
|
+
if (obj_systemModstamp_union1_error != null) {
|
|
6369
6415
|
obj_systemModstamp_union1 = obj_systemModstamp_union1_error.message;
|
|
6370
6416
|
}
|
|
6371
6417
|
if (obj_systemModstamp_union0 && obj_systemModstamp_union1) {
|
|
@@ -6768,7 +6814,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
6768
6814
|
const childNormalize = createChildRecordNormalize(fieldsTrie, optionalFieldsTrie, recordConflictMap);
|
|
6769
6815
|
return (input, path, luvio, store, timestamp) => {
|
|
6770
6816
|
if (process.env.NODE_ENV !== 'production') {
|
|
6771
|
-
const validateError = validate$
|
|
6817
|
+
const validateError = validate$K(input);
|
|
6772
6818
|
if (validateError !== null) {
|
|
6773
6819
|
throw validateError;
|
|
6774
6820
|
}
|
|
@@ -8003,7 +8049,7 @@ function findMaxOffset(metadata) {
|
|
|
8003
8049
|
return endOfList > 0 ? endOfList - 1 : 0; // Cursor based pagination in gql is off by one :)
|
|
8004
8050
|
}
|
|
8005
8051
|
// end is included in the above case.
|
|
8006
|
-
return Object.values(metadata).reduce((acc, value) => Math.max(value
|
|
8052
|
+
return Object.values(metadata).reduce((acc, value) => Math.max(value ?? -1, acc), -1);
|
|
8007
8053
|
}
|
|
8008
8054
|
function getPageTokenAndOffset$1(paginationMetadata, token) {
|
|
8009
8055
|
if (token === undefined) {
|
|
@@ -8169,7 +8215,7 @@ const keyBuilderFromType$f = function ListRecordCollectionRepresentationKeyBuild
|
|
|
8169
8215
|
|
|
8170
8216
|
const TTL$j = 30000;
|
|
8171
8217
|
const VERSION$1t = 'e5c90c4081cd557f8ffec53028ede1e8';
|
|
8172
|
-
function validate$
|
|
8218
|
+
function validate$J(obj, path = 'ListRecordCollectionRepresentation') {
|
|
8173
8219
|
const v_error = (() => {
|
|
8174
8220
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
8175
8221
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -8234,7 +8280,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8234
8280
|
'")');
|
|
8235
8281
|
}
|
|
8236
8282
|
})();
|
|
8237
|
-
|
|
8283
|
+
// eslint-disable-next-line eqeqeq
|
|
8284
|
+
if (obj_listInfoETag_union0_error != null) {
|
|
8238
8285
|
obj_listInfoETag_union0 = obj_listInfoETag_union0_error.message;
|
|
8239
8286
|
}
|
|
8240
8287
|
let obj_listInfoETag_union1 = null;
|
|
@@ -8247,7 +8294,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8247
8294
|
'")');
|
|
8248
8295
|
}
|
|
8249
8296
|
})();
|
|
8250
|
-
|
|
8297
|
+
// eslint-disable-next-line eqeqeq
|
|
8298
|
+
if (obj_listInfoETag_union1_error != null) {
|
|
8251
8299
|
obj_listInfoETag_union1 = obj_listInfoETag_union1_error.message;
|
|
8252
8300
|
}
|
|
8253
8301
|
if (obj_listInfoETag_union0 && obj_listInfoETag_union1) {
|
|
@@ -8268,7 +8316,7 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8268
8316
|
}
|
|
8269
8317
|
const obj_listReference = obj.listReference;
|
|
8270
8318
|
const path_listReference = path + '.listReference';
|
|
8271
|
-
const referencepath_listReferenceValidationError = validate$
|
|
8319
|
+
const referencepath_listReferenceValidationError = validate$Y(obj_listReference, path_listReference);
|
|
8272
8320
|
if (referencepath_listReferenceValidationError !== null) {
|
|
8273
8321
|
let message = 'Object doesn\'t match ListReferenceRepresentation (at "' +
|
|
8274
8322
|
path_listReference +
|
|
@@ -8291,7 +8339,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8291
8339
|
'")');
|
|
8292
8340
|
}
|
|
8293
8341
|
})();
|
|
8294
|
-
|
|
8342
|
+
// eslint-disable-next-line eqeqeq
|
|
8343
|
+
if (obj_nextPageToken_union0_error != null) {
|
|
8295
8344
|
obj_nextPageToken_union0 = obj_nextPageToken_union0_error.message;
|
|
8296
8345
|
}
|
|
8297
8346
|
let obj_nextPageToken_union1 = null;
|
|
@@ -8304,7 +8353,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8304
8353
|
'")');
|
|
8305
8354
|
}
|
|
8306
8355
|
})();
|
|
8307
|
-
|
|
8356
|
+
// eslint-disable-next-line eqeqeq
|
|
8357
|
+
if (obj_nextPageToken_union1_error != null) {
|
|
8308
8358
|
obj_nextPageToken_union1 = obj_nextPageToken_union1_error.message;
|
|
8309
8359
|
}
|
|
8310
8360
|
if (obj_nextPageToken_union0 && obj_nextPageToken_union1) {
|
|
@@ -8335,7 +8385,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8335
8385
|
'")');
|
|
8336
8386
|
}
|
|
8337
8387
|
})();
|
|
8338
|
-
|
|
8388
|
+
// eslint-disable-next-line eqeqeq
|
|
8389
|
+
if (obj_nextPageUrl_union0_error != null) {
|
|
8339
8390
|
obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
|
|
8340
8391
|
}
|
|
8341
8392
|
let obj_nextPageUrl_union1 = null;
|
|
@@ -8348,7 +8399,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8348
8399
|
'")');
|
|
8349
8400
|
}
|
|
8350
8401
|
})();
|
|
8351
|
-
|
|
8402
|
+
// eslint-disable-next-line eqeqeq
|
|
8403
|
+
if (obj_nextPageUrl_union1_error != null) {
|
|
8352
8404
|
obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
|
|
8353
8405
|
}
|
|
8354
8406
|
if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
|
|
@@ -8409,7 +8461,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8409
8461
|
'")');
|
|
8410
8462
|
}
|
|
8411
8463
|
})();
|
|
8412
|
-
|
|
8464
|
+
// eslint-disable-next-line eqeqeq
|
|
8465
|
+
if (obj_previousPageToken_union0_error != null) {
|
|
8413
8466
|
obj_previousPageToken_union0 = obj_previousPageToken_union0_error.message;
|
|
8414
8467
|
}
|
|
8415
8468
|
let obj_previousPageToken_union1 = null;
|
|
@@ -8422,7 +8475,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8422
8475
|
'")');
|
|
8423
8476
|
}
|
|
8424
8477
|
})();
|
|
8425
|
-
|
|
8478
|
+
// eslint-disable-next-line eqeqeq
|
|
8479
|
+
if (obj_previousPageToken_union1_error != null) {
|
|
8426
8480
|
obj_previousPageToken_union1 = obj_previousPageToken_union1_error.message;
|
|
8427
8481
|
}
|
|
8428
8482
|
if (obj_previousPageToken_union0 && obj_previousPageToken_union1) {
|
|
@@ -8453,7 +8507,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8453
8507
|
'")');
|
|
8454
8508
|
}
|
|
8455
8509
|
})();
|
|
8456
|
-
|
|
8510
|
+
// eslint-disable-next-line eqeqeq
|
|
8511
|
+
if (obj_previousPageUrl_union0_error != null) {
|
|
8457
8512
|
obj_previousPageUrl_union0 = obj_previousPageUrl_union0_error.message;
|
|
8458
8513
|
}
|
|
8459
8514
|
let obj_previousPageUrl_union1 = null;
|
|
@@ -8466,7 +8521,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8466
8521
|
'")');
|
|
8467
8522
|
}
|
|
8468
8523
|
})();
|
|
8469
|
-
|
|
8524
|
+
// eslint-disable-next-line eqeqeq
|
|
8525
|
+
if (obj_previousPageUrl_union1_error != null) {
|
|
8470
8526
|
obj_previousPageUrl_union1 = obj_previousPageUrl_union1_error.message;
|
|
8471
8527
|
}
|
|
8472
8528
|
if (obj_previousPageUrl_union0 && obj_previousPageUrl_union1) {
|
|
@@ -8517,7 +8573,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8517
8573
|
'")');
|
|
8518
8574
|
}
|
|
8519
8575
|
})();
|
|
8520
|
-
|
|
8576
|
+
// eslint-disable-next-line eqeqeq
|
|
8577
|
+
if (obj_searchTerm_union0_error != null) {
|
|
8521
8578
|
obj_searchTerm_union0 = obj_searchTerm_union0_error.message;
|
|
8522
8579
|
}
|
|
8523
8580
|
let obj_searchTerm_union1 = null;
|
|
@@ -8530,7 +8587,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8530
8587
|
'")');
|
|
8531
8588
|
}
|
|
8532
8589
|
})();
|
|
8533
|
-
|
|
8590
|
+
// eslint-disable-next-line eqeqeq
|
|
8591
|
+
if (obj_searchTerm_union1_error != null) {
|
|
8534
8592
|
obj_searchTerm_union1 = obj_searchTerm_union1_error.message;
|
|
8535
8593
|
}
|
|
8536
8594
|
if (obj_searchTerm_union0 && obj_searchTerm_union1) {
|
|
@@ -8572,7 +8630,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8572
8630
|
}
|
|
8573
8631
|
}
|
|
8574
8632
|
})();
|
|
8575
|
-
|
|
8633
|
+
// eslint-disable-next-line eqeqeq
|
|
8634
|
+
if (obj_sortBy_union0_error != null) {
|
|
8576
8635
|
obj_sortBy_union0 = obj_sortBy_union0_error.message;
|
|
8577
8636
|
}
|
|
8578
8637
|
let obj_sortBy_union1 = null;
|
|
@@ -8585,7 +8644,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8585
8644
|
'")');
|
|
8586
8645
|
}
|
|
8587
8646
|
})();
|
|
8588
|
-
|
|
8647
|
+
// eslint-disable-next-line eqeqeq
|
|
8648
|
+
if (obj_sortBy_union1_error != null) {
|
|
8589
8649
|
obj_sortBy_union1 = obj_sortBy_union1_error.message;
|
|
8590
8650
|
}
|
|
8591
8651
|
if (obj_sortBy_union0 && obj_sortBy_union1) {
|
|
@@ -8616,7 +8676,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8616
8676
|
'")');
|
|
8617
8677
|
}
|
|
8618
8678
|
})();
|
|
8619
|
-
|
|
8679
|
+
// eslint-disable-next-line eqeqeq
|
|
8680
|
+
if (obj_where_union0_error != null) {
|
|
8620
8681
|
obj_where_union0 = obj_where_union0_error.message;
|
|
8621
8682
|
}
|
|
8622
8683
|
let obj_where_union1 = null;
|
|
@@ -8629,7 +8690,8 @@ function validate$I(obj, path = 'ListRecordCollectionRepresentation') {
|
|
|
8629
8690
|
'")');
|
|
8630
8691
|
}
|
|
8631
8692
|
})();
|
|
8632
|
-
|
|
8693
|
+
// eslint-disable-next-line eqeqeq
|
|
8694
|
+
if (obj_where_union1_error != null) {
|
|
8633
8695
|
obj_where_union1 = obj_where_union1_error.message;
|
|
8634
8696
|
}
|
|
8635
8697
|
if (obj_where_union0 && obj_where_union1) {
|
|
@@ -9004,7 +9066,7 @@ function equals$j(existing, incoming) {
|
|
|
9004
9066
|
}
|
|
9005
9067
|
const ingest$1n = function ListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9006
9068
|
if (process.env.NODE_ENV !== 'production') {
|
|
9007
|
-
const validateError = validate$
|
|
9069
|
+
const validateError = validate$J(input);
|
|
9008
9070
|
if (validateError !== null) {
|
|
9009
9071
|
throw validateError;
|
|
9010
9072
|
}
|
|
@@ -9102,7 +9164,7 @@ function getTypeCacheKeys$1r(rootKeySet, luvio, input, _fullPathFactory) {
|
|
|
9102
9164
|
}
|
|
9103
9165
|
|
|
9104
9166
|
const VERSION$1s = 'cf8d2eb042188974da26ffe6618cfd07';
|
|
9105
|
-
function validate$
|
|
9167
|
+
function validate$I(obj, path = 'ListUiRepresentation') {
|
|
9106
9168
|
const v_error = (() => {
|
|
9107
9169
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9108
9170
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9221,7 +9283,7 @@ function equals$i(existing, incoming) {
|
|
|
9221
9283
|
}
|
|
9222
9284
|
const ingest$1m = function ListUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9223
9285
|
if (process.env.NODE_ENV !== 'production') {
|
|
9224
|
-
const validateError = validate$
|
|
9286
|
+
const validateError = validate$I(input);
|
|
9225
9287
|
if (validateError !== null) {
|
|
9226
9288
|
throw validateError;
|
|
9227
9289
|
}
|
|
@@ -9785,7 +9847,7 @@ function isErrorSnapshot(snapshot) {
|
|
|
9785
9847
|
}
|
|
9786
9848
|
|
|
9787
9849
|
const VERSION$1r = '3529c5f7d0eb2206c90a52c6d9f721d4';
|
|
9788
|
-
function validate$
|
|
9850
|
+
function validate$H(obj, path = 'ListViewSummaryRepresentation') {
|
|
9789
9851
|
const v_error = (() => {
|
|
9790
9852
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9791
9853
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -9807,7 +9869,8 @@ function validate$G(obj, path = 'ListViewSummaryRepresentation') {
|
|
|
9807
9869
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
9808
9870
|
}
|
|
9809
9871
|
})();
|
|
9810
|
-
|
|
9872
|
+
// eslint-disable-next-line eqeqeq
|
|
9873
|
+
if (obj_id_union0_error != null) {
|
|
9811
9874
|
obj_id_union0 = obj_id_union0_error.message;
|
|
9812
9875
|
}
|
|
9813
9876
|
let obj_id_union1 = null;
|
|
@@ -9816,7 +9879,8 @@ function validate$G(obj, path = 'ListViewSummaryRepresentation') {
|
|
|
9816
9879
|
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
9817
9880
|
}
|
|
9818
9881
|
})();
|
|
9819
|
-
|
|
9882
|
+
// eslint-disable-next-line eqeqeq
|
|
9883
|
+
if (obj_id_union1_error != null) {
|
|
9820
9884
|
obj_id_union1 = obj_id_union1_error.message;
|
|
9821
9885
|
}
|
|
9822
9886
|
if (obj_id_union0 && obj_id_union1) {
|
|
@@ -9923,7 +9987,7 @@ function equals$h(existing, incoming) {
|
|
|
9923
9987
|
}
|
|
9924
9988
|
const ingest$1l = function ListViewSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
9925
9989
|
if (process.env.NODE_ENV !== 'production') {
|
|
9926
|
-
const validateError = validate$
|
|
9990
|
+
const validateError = validate$H(input);
|
|
9927
9991
|
if (validateError !== null) {
|
|
9928
9992
|
throw validateError;
|
|
9929
9993
|
}
|
|
@@ -9944,7 +10008,7 @@ function getTypeCacheKeys$1p(rootKeySet, luvio, input, _fullPathFactory) {
|
|
|
9944
10008
|
}
|
|
9945
10009
|
|
|
9946
10010
|
const VERSION$1q = 'f4c79fe066da3558499d5ee88c72abcd';
|
|
9947
|
-
function validate$
|
|
10011
|
+
function validate$G(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
9948
10012
|
const v_error = (() => {
|
|
9949
10013
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
9950
10014
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -10010,7 +10074,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
10010
10074
|
'")');
|
|
10011
10075
|
}
|
|
10012
10076
|
})();
|
|
10013
|
-
|
|
10077
|
+
// eslint-disable-next-line eqeqeq
|
|
10078
|
+
if (obj_nextPageToken_union0_error != null) {
|
|
10014
10079
|
obj_nextPageToken_union0 = obj_nextPageToken_union0_error.message;
|
|
10015
10080
|
}
|
|
10016
10081
|
let obj_nextPageToken_union1 = null;
|
|
@@ -10023,7 +10088,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
10023
10088
|
'")');
|
|
10024
10089
|
}
|
|
10025
10090
|
})();
|
|
10026
|
-
|
|
10091
|
+
// eslint-disable-next-line eqeqeq
|
|
10092
|
+
if (obj_nextPageToken_union1_error != null) {
|
|
10027
10093
|
obj_nextPageToken_union1 = obj_nextPageToken_union1_error.message;
|
|
10028
10094
|
}
|
|
10029
10095
|
if (obj_nextPageToken_union0 && obj_nextPageToken_union1) {
|
|
@@ -10054,7 +10120,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
10054
10120
|
'")');
|
|
10055
10121
|
}
|
|
10056
10122
|
})();
|
|
10057
|
-
|
|
10123
|
+
// eslint-disable-next-line eqeqeq
|
|
10124
|
+
if (obj_nextPageUrl_union0_error != null) {
|
|
10058
10125
|
obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
|
|
10059
10126
|
}
|
|
10060
10127
|
let obj_nextPageUrl_union1 = null;
|
|
@@ -10067,7 +10134,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
10067
10134
|
'")');
|
|
10068
10135
|
}
|
|
10069
10136
|
})();
|
|
10070
|
-
|
|
10137
|
+
// eslint-disable-next-line eqeqeq
|
|
10138
|
+
if (obj_nextPageUrl_union1_error != null) {
|
|
10071
10139
|
obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
|
|
10072
10140
|
}
|
|
10073
10141
|
if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
|
|
@@ -10117,7 +10185,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
10117
10185
|
'")');
|
|
10118
10186
|
}
|
|
10119
10187
|
})();
|
|
10120
|
-
|
|
10188
|
+
// eslint-disable-next-line eqeqeq
|
|
10189
|
+
if (obj_previousPageToken_union0_error != null) {
|
|
10121
10190
|
obj_previousPageToken_union0 = obj_previousPageToken_union0_error.message;
|
|
10122
10191
|
}
|
|
10123
10192
|
let obj_previousPageToken_union1 = null;
|
|
@@ -10130,7 +10199,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
10130
10199
|
'")');
|
|
10131
10200
|
}
|
|
10132
10201
|
})();
|
|
10133
|
-
|
|
10202
|
+
// eslint-disable-next-line eqeqeq
|
|
10203
|
+
if (obj_previousPageToken_union1_error != null) {
|
|
10134
10204
|
obj_previousPageToken_union1 = obj_previousPageToken_union1_error.message;
|
|
10135
10205
|
}
|
|
10136
10206
|
if (obj_previousPageToken_union0 && obj_previousPageToken_union1) {
|
|
@@ -10161,7 +10231,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
10161
10231
|
'")');
|
|
10162
10232
|
}
|
|
10163
10233
|
})();
|
|
10164
|
-
|
|
10234
|
+
// eslint-disable-next-line eqeqeq
|
|
10235
|
+
if (obj_previousPageUrl_union0_error != null) {
|
|
10165
10236
|
obj_previousPageUrl_union0 = obj_previousPageUrl_union0_error.message;
|
|
10166
10237
|
}
|
|
10167
10238
|
let obj_previousPageUrl_union1 = null;
|
|
@@ -10174,7 +10245,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
10174
10245
|
'")');
|
|
10175
10246
|
}
|
|
10176
10247
|
})();
|
|
10177
|
-
|
|
10248
|
+
// eslint-disable-next-line eqeqeq
|
|
10249
|
+
if (obj_previousPageUrl_union1_error != null) {
|
|
10178
10250
|
obj_previousPageUrl_union1 = obj_previousPageUrl_union1_error.message;
|
|
10179
10251
|
}
|
|
10180
10252
|
if (obj_previousPageUrl_union0 && obj_previousPageUrl_union1) {
|
|
@@ -10205,7 +10277,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
10205
10277
|
'")');
|
|
10206
10278
|
}
|
|
10207
10279
|
})();
|
|
10208
|
-
|
|
10280
|
+
// eslint-disable-next-line eqeqeq
|
|
10281
|
+
if (obj_queryString_union0_error != null) {
|
|
10209
10282
|
obj_queryString_union0 = obj_queryString_union0_error.message;
|
|
10210
10283
|
}
|
|
10211
10284
|
let obj_queryString_union1 = null;
|
|
@@ -10218,7 +10291,8 @@ function validate$F(obj, path = 'ListViewSummaryCollectionRepresentation') {
|
|
|
10218
10291
|
'")');
|
|
10219
10292
|
}
|
|
10220
10293
|
})();
|
|
10221
|
-
|
|
10294
|
+
// eslint-disable-next-line eqeqeq
|
|
10295
|
+
if (obj_queryString_union1_error != null) {
|
|
10222
10296
|
obj_queryString_union1 = obj_queryString_union1_error.message;
|
|
10223
10297
|
}
|
|
10224
10298
|
if (obj_queryString_union0 && obj_queryString_union1) {
|
|
@@ -10456,7 +10530,7 @@ function equals$g(existing, incoming) {
|
|
|
10456
10530
|
}
|
|
10457
10531
|
const ingest$1k = function ListViewSummaryCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
10458
10532
|
if (process.env.NODE_ENV !== 'production') {
|
|
10459
|
-
const validateError = validate$
|
|
10533
|
+
const validateError = validate$G(input);
|
|
10460
10534
|
if (validateError !== null) {
|
|
10461
10535
|
throw validateError;
|
|
10462
10536
|
}
|
|
@@ -11633,7 +11707,7 @@ const factory$7 = (luvio) => {
|
|
|
11633
11707
|
}, { contextId: contextId$5 });
|
|
11634
11708
|
};
|
|
11635
11709
|
|
|
11636
|
-
function validate$
|
|
11710
|
+
function validate$F(obj, path = 'RecordLayoutSaveOptionRepresentation') {
|
|
11637
11711
|
const v_error = (() => {
|
|
11638
11712
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11639
11713
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11701,7 +11775,7 @@ var DiscriminatorValues;
|
|
|
11701
11775
|
DiscriminatorValues["Field"] = "Field";
|
|
11702
11776
|
DiscriminatorValues["CustomLink"] = "CustomLink";
|
|
11703
11777
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
11704
|
-
function validate$
|
|
11778
|
+
function validate$E(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
11705
11779
|
const v_error = (() => {
|
|
11706
11780
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11707
11781
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11718,7 +11792,8 @@ function validate$D(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
|
11718
11792
|
'")');
|
|
11719
11793
|
}
|
|
11720
11794
|
})();
|
|
11721
|
-
|
|
11795
|
+
// eslint-disable-next-line eqeqeq
|
|
11796
|
+
if (obj_apiName_union0_error != null) {
|
|
11722
11797
|
obj_apiName_union0 = obj_apiName_union0_error.message;
|
|
11723
11798
|
}
|
|
11724
11799
|
let obj_apiName_union1 = null;
|
|
@@ -11731,7 +11806,8 @@ function validate$D(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
|
11731
11806
|
'")');
|
|
11732
11807
|
}
|
|
11733
11808
|
})();
|
|
11734
|
-
|
|
11809
|
+
// eslint-disable-next-line eqeqeq
|
|
11810
|
+
if (obj_apiName_union1_error != null) {
|
|
11735
11811
|
obj_apiName_union1 = obj_apiName_union1_error.message;
|
|
11736
11812
|
}
|
|
11737
11813
|
if (obj_apiName_union0 && obj_apiName_union1) {
|
|
@@ -11763,7 +11839,7 @@ function validate$D(obj, path = 'AbstractRecordLayoutComponentRepresentation') {
|
|
|
11763
11839
|
return v_error === undefined ? null : v_error;
|
|
11764
11840
|
}
|
|
11765
11841
|
|
|
11766
|
-
function validate$
|
|
11842
|
+
function validate$D(obj, path = 'RecordLayoutItemRepresentation') {
|
|
11767
11843
|
const v_error = (() => {
|
|
11768
11844
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11769
11845
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11807,7 +11883,7 @@ function validate$C(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
11807
11883
|
for (let i = 0; i < obj_layoutComponents.length; i++) {
|
|
11808
11884
|
const obj_layoutComponents_item = obj_layoutComponents[i];
|
|
11809
11885
|
const path_layoutComponents_item = path_layoutComponents + '[' + i + ']';
|
|
11810
|
-
const referencepath_layoutComponents_itemValidationError = validate$
|
|
11886
|
+
const referencepath_layoutComponents_itemValidationError = validate$E(obj_layoutComponents_item, path_layoutComponents_item);
|
|
11811
11887
|
if (referencepath_layoutComponents_itemValidationError !== null) {
|
|
11812
11888
|
let message = 'Object doesn\'t match AbstractRecordLayoutComponentRepresentation (at "' +
|
|
11813
11889
|
path_layoutComponents_item +
|
|
@@ -11831,7 +11907,8 @@ function validate$C(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
11831
11907
|
'")');
|
|
11832
11908
|
}
|
|
11833
11909
|
})();
|
|
11834
|
-
|
|
11910
|
+
// eslint-disable-next-line eqeqeq
|
|
11911
|
+
if (obj_lookupIdApiName_union0_error != null) {
|
|
11835
11912
|
obj_lookupIdApiName_union0 = obj_lookupIdApiName_union0_error.message;
|
|
11836
11913
|
}
|
|
11837
11914
|
let obj_lookupIdApiName_union1 = null;
|
|
@@ -11844,7 +11921,8 @@ function validate$C(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
11844
11921
|
'")');
|
|
11845
11922
|
}
|
|
11846
11923
|
})();
|
|
11847
|
-
|
|
11924
|
+
// eslint-disable-next-line eqeqeq
|
|
11925
|
+
if (obj_lookupIdApiName_union1_error != null) {
|
|
11848
11926
|
obj_lookupIdApiName_union1 = obj_lookupIdApiName_union1_error.message;
|
|
11849
11927
|
}
|
|
11850
11928
|
if (obj_lookupIdApiName_union0 && obj_lookupIdApiName_union1) {
|
|
@@ -11885,7 +11963,7 @@ function validate$C(obj, path = 'RecordLayoutItemRepresentation') {
|
|
|
11885
11963
|
return v_error === undefined ? null : v_error;
|
|
11886
11964
|
}
|
|
11887
11965
|
|
|
11888
|
-
function validate$
|
|
11966
|
+
function validate$C(obj, path = 'RecordLayoutRowRepresentation') {
|
|
11889
11967
|
const v_error = (() => {
|
|
11890
11968
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11891
11969
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11902,7 +11980,7 @@ function validate$B(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
11902
11980
|
for (let i = 0; i < obj_layoutItems.length; i++) {
|
|
11903
11981
|
const obj_layoutItems_item = obj_layoutItems[i];
|
|
11904
11982
|
const path_layoutItems_item = path_layoutItems + '[' + i + ']';
|
|
11905
|
-
const referencepath_layoutItems_itemValidationError = validate$
|
|
11983
|
+
const referencepath_layoutItems_itemValidationError = validate$D(obj_layoutItems_item, path_layoutItems_item);
|
|
11906
11984
|
if (referencepath_layoutItems_itemValidationError !== null) {
|
|
11907
11985
|
let message = 'Object doesn\'t match RecordLayoutItemRepresentation (at "' +
|
|
11908
11986
|
path_layoutItems_item +
|
|
@@ -11918,7 +11996,7 @@ function validate$B(obj, path = 'RecordLayoutRowRepresentation') {
|
|
|
11918
11996
|
return v_error === undefined ? null : v_error;
|
|
11919
11997
|
}
|
|
11920
11998
|
|
|
11921
|
-
function validate$
|
|
11999
|
+
function validate$B(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
11922
12000
|
const v_error = (() => {
|
|
11923
12001
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
11924
12002
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -11954,7 +12032,8 @@ function validate$A(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
11954
12032
|
'")');
|
|
11955
12033
|
}
|
|
11956
12034
|
})();
|
|
11957
|
-
|
|
12035
|
+
// eslint-disable-next-line eqeqeq
|
|
12036
|
+
if (obj_heading_union0_error != null) {
|
|
11958
12037
|
obj_heading_union0 = obj_heading_union0_error.message;
|
|
11959
12038
|
}
|
|
11960
12039
|
let obj_heading_union1 = null;
|
|
@@ -11967,7 +12046,8 @@ function validate$A(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
11967
12046
|
'")');
|
|
11968
12047
|
}
|
|
11969
12048
|
})();
|
|
11970
|
-
|
|
12049
|
+
// eslint-disable-next-line eqeqeq
|
|
12050
|
+
if (obj_heading_union1_error != null) {
|
|
11971
12051
|
obj_heading_union1 = obj_heading_union1_error.message;
|
|
11972
12052
|
}
|
|
11973
12053
|
if (obj_heading_union0 && obj_heading_union1) {
|
|
@@ -11994,7 +12074,8 @@ function validate$A(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
11994
12074
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
11995
12075
|
}
|
|
11996
12076
|
})();
|
|
11997
|
-
|
|
12077
|
+
// eslint-disable-next-line eqeqeq
|
|
12078
|
+
if (obj_id_union0_error != null) {
|
|
11998
12079
|
obj_id_union0 = obj_id_union0_error.message;
|
|
11999
12080
|
}
|
|
12000
12081
|
let obj_id_union1 = null;
|
|
@@ -12003,7 +12084,8 @@ function validate$A(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
12003
12084
|
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
12004
12085
|
}
|
|
12005
12086
|
})();
|
|
12006
|
-
|
|
12087
|
+
// eslint-disable-next-line eqeqeq
|
|
12088
|
+
if (obj_id_union1_error != null) {
|
|
12007
12089
|
obj_id_union1 = obj_id_union1_error.message;
|
|
12008
12090
|
}
|
|
12009
12091
|
if (obj_id_union0 && obj_id_union1) {
|
|
@@ -12034,7 +12116,7 @@ function validate$A(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
12034
12116
|
for (let i = 0; i < obj_layoutRows.length; i++) {
|
|
12035
12117
|
const obj_layoutRows_item = obj_layoutRows[i];
|
|
12036
12118
|
const path_layoutRows_item = path_layoutRows + '[' + i + ']';
|
|
12037
|
-
const referencepath_layoutRows_itemValidationError = validate$
|
|
12119
|
+
const referencepath_layoutRows_itemValidationError = validate$C(obj_layoutRows_item, path_layoutRows_item);
|
|
12038
12120
|
if (referencepath_layoutRows_itemValidationError !== null) {
|
|
12039
12121
|
let message = 'Object doesn\'t match RecordLayoutRowRepresentation (at "' +
|
|
12040
12122
|
path_layoutRows_item +
|
|
@@ -12067,7 +12149,7 @@ function validate$A(obj, path = 'RecordLayoutSectionRepresentation') {
|
|
|
12067
12149
|
|
|
12068
12150
|
const TTL$i = 900000;
|
|
12069
12151
|
const VERSION$1p = 'fb515e25a89ca1ec154dc865e72b913a';
|
|
12070
|
-
function validate$
|
|
12152
|
+
function validate$A(obj, path = 'RecordLayoutRepresentation') {
|
|
12071
12153
|
const v_error = (() => {
|
|
12072
12154
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12073
12155
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12085,7 +12167,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
|
|
|
12085
12167
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
12086
12168
|
}
|
|
12087
12169
|
})();
|
|
12088
|
-
|
|
12170
|
+
// eslint-disable-next-line eqeqeq
|
|
12171
|
+
if (obj_id_union0_error != null) {
|
|
12089
12172
|
obj_id_union0 = obj_id_union0_error.message;
|
|
12090
12173
|
}
|
|
12091
12174
|
let obj_id_union1 = null;
|
|
@@ -12094,7 +12177,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
|
|
|
12094
12177
|
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
12095
12178
|
}
|
|
12096
12179
|
})();
|
|
12097
|
-
|
|
12180
|
+
// eslint-disable-next-line eqeqeq
|
|
12181
|
+
if (obj_id_union1_error != null) {
|
|
12098
12182
|
obj_id_union1 = obj_id_union1_error.message;
|
|
12099
12183
|
}
|
|
12100
12184
|
if (obj_id_union0 && obj_id_union1) {
|
|
@@ -12139,7 +12223,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
|
|
|
12139
12223
|
'")');
|
|
12140
12224
|
}
|
|
12141
12225
|
})();
|
|
12142
|
-
|
|
12226
|
+
// eslint-disable-next-line eqeqeq
|
|
12227
|
+
if (obj_objectApiName_union0_error != null) {
|
|
12143
12228
|
obj_objectApiName_union0 = obj_objectApiName_union0_error.message;
|
|
12144
12229
|
}
|
|
12145
12230
|
let obj_objectApiName_union1 = null;
|
|
@@ -12152,7 +12237,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
|
|
|
12152
12237
|
'")');
|
|
12153
12238
|
}
|
|
12154
12239
|
})();
|
|
12155
|
-
|
|
12240
|
+
// eslint-disable-next-line eqeqeq
|
|
12241
|
+
if (obj_objectApiName_union1_error != null) {
|
|
12156
12242
|
obj_objectApiName_union1 = obj_objectApiName_union1_error.message;
|
|
12157
12243
|
}
|
|
12158
12244
|
if (obj_objectApiName_union0 && obj_objectApiName_union1) {
|
|
@@ -12183,7 +12269,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
|
|
|
12183
12269
|
'")');
|
|
12184
12270
|
}
|
|
12185
12271
|
})();
|
|
12186
|
-
|
|
12272
|
+
// eslint-disable-next-line eqeqeq
|
|
12273
|
+
if (obj_recordTypeId_union0_error != null) {
|
|
12187
12274
|
obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
|
|
12188
12275
|
}
|
|
12189
12276
|
let obj_recordTypeId_union1 = null;
|
|
@@ -12196,7 +12283,8 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
|
|
|
12196
12283
|
'")');
|
|
12197
12284
|
}
|
|
12198
12285
|
})();
|
|
12199
|
-
|
|
12286
|
+
// eslint-disable-next-line eqeqeq
|
|
12287
|
+
if (obj_recordTypeId_union1_error != null) {
|
|
12200
12288
|
obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
|
|
12201
12289
|
}
|
|
12202
12290
|
if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
|
|
@@ -12227,7 +12315,7 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
|
|
|
12227
12315
|
for (let i = 0; i < obj_saveOptions.length; i++) {
|
|
12228
12316
|
const obj_saveOptions_item = obj_saveOptions[i];
|
|
12229
12317
|
const path_saveOptions_item = path_saveOptions + '[' + i + ']';
|
|
12230
|
-
const referencepath_saveOptions_itemValidationError = validate$
|
|
12318
|
+
const referencepath_saveOptions_itemValidationError = validate$F(obj_saveOptions_item, path_saveOptions_item);
|
|
12231
12319
|
if (referencepath_saveOptions_itemValidationError !== null) {
|
|
12232
12320
|
let message = 'Object doesn\'t match RecordLayoutSaveOptionRepresentation (at "' +
|
|
12233
12321
|
path_saveOptions_item +
|
|
@@ -12251,7 +12339,7 @@ function validate$z(obj, path = 'RecordLayoutRepresentation') {
|
|
|
12251
12339
|
for (let i = 0; i < obj_sections.length; i++) {
|
|
12252
12340
|
const obj_sections_item = obj_sections[i];
|
|
12253
12341
|
const path_sections_item = path_sections + '[' + i + ']';
|
|
12254
|
-
const referencepath_sections_itemValidationError = validate$
|
|
12342
|
+
const referencepath_sections_itemValidationError = validate$B(obj_sections_item, path_sections_item);
|
|
12255
12343
|
if (referencepath_sections_itemValidationError !== null) {
|
|
12256
12344
|
let message = 'Object doesn\'t match RecordLayoutSectionRepresentation (at "' +
|
|
12257
12345
|
path_sections_item +
|
|
@@ -12339,7 +12427,7 @@ function equals$f(existing, incoming) {
|
|
|
12339
12427
|
}
|
|
12340
12428
|
const ingest$1j = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
12341
12429
|
if (process.env.NODE_ENV !== 'production') {
|
|
12342
|
-
const validateError = validate$
|
|
12430
|
+
const validateError = validate$A(input);
|
|
12343
12431
|
if (validateError !== null) {
|
|
12344
12432
|
throw validateError;
|
|
12345
12433
|
}
|
|
@@ -12359,7 +12447,7 @@ function getTypeCacheKeys$1n(rootKeySet, luvio, input, _fullPathFactory) {
|
|
|
12359
12447
|
});
|
|
12360
12448
|
}
|
|
12361
12449
|
|
|
12362
|
-
function validate$
|
|
12450
|
+
function validate$z(obj, path = 'ChildRelationshipRepresentation') {
|
|
12363
12451
|
const v_error = (() => {
|
|
12364
12452
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12365
12453
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12435,7 +12523,7 @@ function validate$y(obj, path = 'ChildRelationshipRepresentation') {
|
|
|
12435
12523
|
return v_error === undefined ? null : v_error;
|
|
12436
12524
|
}
|
|
12437
12525
|
|
|
12438
|
-
function validate$
|
|
12526
|
+
function validate$y(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
12439
12527
|
const v_error = (() => {
|
|
12440
12528
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12441
12529
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12482,7 +12570,7 @@ function validate$x(obj, path = 'FilteredLookupInfoRepresentation') {
|
|
|
12482
12570
|
return v_error === undefined ? null : v_error;
|
|
12483
12571
|
}
|
|
12484
12572
|
|
|
12485
|
-
function validate$
|
|
12573
|
+
function validate$x(obj, path = 'ReferenceToInfoRepresentation') {
|
|
12486
12574
|
const v_error = (() => {
|
|
12487
12575
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12488
12576
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12520,7 +12608,7 @@ function validate$w(obj, path = 'ReferenceToInfoRepresentation') {
|
|
|
12520
12608
|
return v_error === undefined ? null : v_error;
|
|
12521
12609
|
}
|
|
12522
12610
|
|
|
12523
|
-
function validate$
|
|
12611
|
+
function validate$w(obj, path = 'FieldRepresentation') {
|
|
12524
12612
|
const v_error = (() => {
|
|
12525
12613
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
12526
12614
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -12564,7 +12652,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12564
12652
|
'")');
|
|
12565
12653
|
}
|
|
12566
12654
|
})();
|
|
12567
|
-
|
|
12655
|
+
// eslint-disable-next-line eqeqeq
|
|
12656
|
+
if (obj_compoundComponentName_union0_error != null) {
|
|
12568
12657
|
obj_compoundComponentName_union0 = obj_compoundComponentName_union0_error
|
|
12569
12658
|
.message;
|
|
12570
12659
|
}
|
|
@@ -12578,7 +12667,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12578
12667
|
'")');
|
|
12579
12668
|
}
|
|
12580
12669
|
})();
|
|
12581
|
-
|
|
12670
|
+
// eslint-disable-next-line eqeqeq
|
|
12671
|
+
if (obj_compoundComponentName_union1_error != null) {
|
|
12582
12672
|
obj_compoundComponentName_union1 = obj_compoundComponentName_union1_error
|
|
12583
12673
|
.message;
|
|
12584
12674
|
}
|
|
@@ -12610,7 +12700,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12610
12700
|
'")');
|
|
12611
12701
|
}
|
|
12612
12702
|
})();
|
|
12613
|
-
|
|
12703
|
+
// eslint-disable-next-line eqeqeq
|
|
12704
|
+
if (obj_compoundFieldName_union0_error != null) {
|
|
12614
12705
|
obj_compoundFieldName_union0 = obj_compoundFieldName_union0_error.message;
|
|
12615
12706
|
}
|
|
12616
12707
|
let obj_compoundFieldName_union1 = null;
|
|
@@ -12623,7 +12714,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12623
12714
|
'")');
|
|
12624
12715
|
}
|
|
12625
12716
|
})();
|
|
12626
|
-
|
|
12717
|
+
// eslint-disable-next-line eqeqeq
|
|
12718
|
+
if (obj_compoundFieldName_union1_error != null) {
|
|
12627
12719
|
obj_compoundFieldName_union1 = obj_compoundFieldName_union1_error.message;
|
|
12628
12720
|
}
|
|
12629
12721
|
if (obj_compoundFieldName_union0 && obj_compoundFieldName_union1) {
|
|
@@ -12654,7 +12746,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12654
12746
|
'")');
|
|
12655
12747
|
}
|
|
12656
12748
|
})();
|
|
12657
|
-
|
|
12749
|
+
// eslint-disable-next-line eqeqeq
|
|
12750
|
+
if (obj_controllerName_union0_error != null) {
|
|
12658
12751
|
obj_controllerName_union0 = obj_controllerName_union0_error.message;
|
|
12659
12752
|
}
|
|
12660
12753
|
let obj_controllerName_union1 = null;
|
|
@@ -12667,7 +12760,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12667
12760
|
'")');
|
|
12668
12761
|
}
|
|
12669
12762
|
})();
|
|
12670
|
-
|
|
12763
|
+
// eslint-disable-next-line eqeqeq
|
|
12764
|
+
if (obj_controllerName_union1_error != null) {
|
|
12671
12765
|
obj_controllerName_union1 = obj_controllerName_union1_error.message;
|
|
12672
12766
|
}
|
|
12673
12767
|
if (obj_controllerName_union0 && obj_controllerName_union1) {
|
|
@@ -12754,7 +12848,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12754
12848
|
'")');
|
|
12755
12849
|
}
|
|
12756
12850
|
})();
|
|
12757
|
-
|
|
12851
|
+
// eslint-disable-next-line eqeqeq
|
|
12852
|
+
if (obj_extraTypeInfo_union0_error != null) {
|
|
12758
12853
|
obj_extraTypeInfo_union0 = obj_extraTypeInfo_union0_error.message;
|
|
12759
12854
|
}
|
|
12760
12855
|
let obj_extraTypeInfo_union1 = null;
|
|
@@ -12767,7 +12862,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12767
12862
|
'")');
|
|
12768
12863
|
}
|
|
12769
12864
|
})();
|
|
12770
|
-
|
|
12865
|
+
// eslint-disable-next-line eqeqeq
|
|
12866
|
+
if (obj_extraTypeInfo_union1_error != null) {
|
|
12771
12867
|
obj_extraTypeInfo_union1 = obj_extraTypeInfo_union1_error.message;
|
|
12772
12868
|
}
|
|
12773
12869
|
if (obj_extraTypeInfo_union0 && obj_extraTypeInfo_union1) {
|
|
@@ -12799,7 +12895,7 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12799
12895
|
const path_filteredLookupInfo = path + '.filteredLookupInfo';
|
|
12800
12896
|
let obj_filteredLookupInfo_union0 = null;
|
|
12801
12897
|
const obj_filteredLookupInfo_union0_error = (() => {
|
|
12802
|
-
const referencepath_filteredLookupInfoValidationError = validate$
|
|
12898
|
+
const referencepath_filteredLookupInfoValidationError = validate$y(obj_filteredLookupInfo, path_filteredLookupInfo);
|
|
12803
12899
|
if (referencepath_filteredLookupInfoValidationError !== null) {
|
|
12804
12900
|
let message = 'Object doesn\'t match FilteredLookupInfoRepresentation (at "' +
|
|
12805
12901
|
path_filteredLookupInfo +
|
|
@@ -12811,7 +12907,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12811
12907
|
return new TypeError(message);
|
|
12812
12908
|
}
|
|
12813
12909
|
})();
|
|
12814
|
-
|
|
12910
|
+
// eslint-disable-next-line eqeqeq
|
|
12911
|
+
if (obj_filteredLookupInfo_union0_error != null) {
|
|
12815
12912
|
obj_filteredLookupInfo_union0 = obj_filteredLookupInfo_union0_error.message;
|
|
12816
12913
|
}
|
|
12817
12914
|
let obj_filteredLookupInfo_union1 = null;
|
|
@@ -12824,7 +12921,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12824
12921
|
'")');
|
|
12825
12922
|
}
|
|
12826
12923
|
})();
|
|
12827
|
-
|
|
12924
|
+
// eslint-disable-next-line eqeqeq
|
|
12925
|
+
if (obj_filteredLookupInfo_union1_error != null) {
|
|
12828
12926
|
obj_filteredLookupInfo_union1 = obj_filteredLookupInfo_union1_error.message;
|
|
12829
12927
|
}
|
|
12830
12928
|
if (obj_filteredLookupInfo_union0 && obj_filteredLookupInfo_union1) {
|
|
@@ -12873,7 +12971,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12873
12971
|
'")');
|
|
12874
12972
|
}
|
|
12875
12973
|
})();
|
|
12876
|
-
|
|
12974
|
+
// eslint-disable-next-line eqeqeq
|
|
12975
|
+
if (obj_inlineHelpText_union0_error != null) {
|
|
12877
12976
|
obj_inlineHelpText_union0 = obj_inlineHelpText_union0_error.message;
|
|
12878
12977
|
}
|
|
12879
12978
|
let obj_inlineHelpText_union1 = null;
|
|
@@ -12886,7 +12985,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12886
12985
|
'")');
|
|
12887
12986
|
}
|
|
12888
12987
|
})();
|
|
12889
|
-
|
|
12988
|
+
// eslint-disable-next-line eqeqeq
|
|
12989
|
+
if (obj_inlineHelpText_union1_error != null) {
|
|
12890
12990
|
obj_inlineHelpText_union1 = obj_inlineHelpText_union1_error.message;
|
|
12891
12991
|
}
|
|
12892
12992
|
if (obj_inlineHelpText_union0 && obj_inlineHelpText_union1) {
|
|
@@ -12936,7 +13036,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12936
13036
|
'")');
|
|
12937
13037
|
}
|
|
12938
13038
|
})();
|
|
12939
|
-
|
|
13039
|
+
// eslint-disable-next-line eqeqeq
|
|
13040
|
+
if (obj_maskType_union0_error != null) {
|
|
12940
13041
|
obj_maskType_union0 = obj_maskType_union0_error.message;
|
|
12941
13042
|
}
|
|
12942
13043
|
let obj_maskType_union1 = null;
|
|
@@ -12949,7 +13050,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
12949
13050
|
'")');
|
|
12950
13051
|
}
|
|
12951
13052
|
})();
|
|
12952
|
-
|
|
13053
|
+
// eslint-disable-next-line eqeqeq
|
|
13054
|
+
if (obj_maskType_union1_error != null) {
|
|
12953
13055
|
obj_maskType_union1 = obj_maskType_union1_error.message;
|
|
12954
13056
|
}
|
|
12955
13057
|
if (obj_maskType_union0 && obj_maskType_union1) {
|
|
@@ -13017,7 +13119,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
13017
13119
|
'")');
|
|
13018
13120
|
}
|
|
13019
13121
|
})();
|
|
13020
|
-
|
|
13122
|
+
// eslint-disable-next-line eqeqeq
|
|
13123
|
+
if (obj_referenceTargetField_union0_error != null) {
|
|
13021
13124
|
obj_referenceTargetField_union0 = obj_referenceTargetField_union0_error
|
|
13022
13125
|
.message;
|
|
13023
13126
|
}
|
|
@@ -13031,7 +13134,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
13031
13134
|
'")');
|
|
13032
13135
|
}
|
|
13033
13136
|
})();
|
|
13034
|
-
|
|
13137
|
+
// eslint-disable-next-line eqeqeq
|
|
13138
|
+
if (obj_referenceTargetField_union1_error != null) {
|
|
13035
13139
|
obj_referenceTargetField_union1 = obj_referenceTargetField_union1_error
|
|
13036
13140
|
.message;
|
|
13037
13141
|
}
|
|
@@ -13063,7 +13167,7 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
13063
13167
|
for (let i = 0; i < obj_referenceToInfos.length; i++) {
|
|
13064
13168
|
const obj_referenceToInfos_item = obj_referenceToInfos[i];
|
|
13065
13169
|
const path_referenceToInfos_item = path_referenceToInfos + '[' + i + ']';
|
|
13066
|
-
const referencepath_referenceToInfos_itemValidationError = validate$
|
|
13170
|
+
const referencepath_referenceToInfos_itemValidationError = validate$x(obj_referenceToInfos_item, path_referenceToInfos_item);
|
|
13067
13171
|
if (referencepath_referenceToInfos_itemValidationError !== null) {
|
|
13068
13172
|
let message = 'Object doesn\'t match ReferenceToInfoRepresentation (at "' +
|
|
13069
13173
|
path_referenceToInfos_item +
|
|
@@ -13087,7 +13191,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
13087
13191
|
'")');
|
|
13088
13192
|
}
|
|
13089
13193
|
})();
|
|
13090
|
-
|
|
13194
|
+
// eslint-disable-next-line eqeqeq
|
|
13195
|
+
if (obj_relationshipName_union0_error != null) {
|
|
13091
13196
|
obj_relationshipName_union0 = obj_relationshipName_union0_error.message;
|
|
13092
13197
|
}
|
|
13093
13198
|
let obj_relationshipName_union1 = null;
|
|
@@ -13100,7 +13205,8 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
13100
13205
|
'")');
|
|
13101
13206
|
}
|
|
13102
13207
|
})();
|
|
13103
|
-
|
|
13208
|
+
// eslint-disable-next-line eqeqeq
|
|
13209
|
+
if (obj_relationshipName_union1_error != null) {
|
|
13104
13210
|
obj_relationshipName_union1 = obj_relationshipName_union1_error.message;
|
|
13105
13211
|
}
|
|
13106
13212
|
if (obj_relationshipName_union0 && obj_relationshipName_union1) {
|
|
@@ -13178,7 +13284,7 @@ function validate$v(obj, path = 'FieldRepresentation') {
|
|
|
13178
13284
|
return v_error === undefined ? null : v_error;
|
|
13179
13285
|
}
|
|
13180
13286
|
|
|
13181
|
-
function validate$
|
|
13287
|
+
function validate$v(obj, path = 'ThemeInfoRepresentation') {
|
|
13182
13288
|
const v_error = (() => {
|
|
13183
13289
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13184
13290
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13204,7 +13310,8 @@ function validate$u(obj, path = 'ThemeInfoRepresentation') {
|
|
|
13204
13310
|
'")');
|
|
13205
13311
|
}
|
|
13206
13312
|
})();
|
|
13207
|
-
|
|
13313
|
+
// eslint-disable-next-line eqeqeq
|
|
13314
|
+
if (obj_iconUrl_union0_error != null) {
|
|
13208
13315
|
obj_iconUrl_union0 = obj_iconUrl_union0_error.message;
|
|
13209
13316
|
}
|
|
13210
13317
|
let obj_iconUrl_union1 = null;
|
|
@@ -13217,7 +13324,8 @@ function validate$u(obj, path = 'ThemeInfoRepresentation') {
|
|
|
13217
13324
|
'")');
|
|
13218
13325
|
}
|
|
13219
13326
|
})();
|
|
13220
|
-
|
|
13327
|
+
// eslint-disable-next-line eqeqeq
|
|
13328
|
+
if (obj_iconUrl_union1_error != null) {
|
|
13221
13329
|
obj_iconUrl_union1 = obj_iconUrl_union1_error.message;
|
|
13222
13330
|
}
|
|
13223
13331
|
if (obj_iconUrl_union0 && obj_iconUrl_union1) {
|
|
@@ -13242,7 +13350,7 @@ function validate$u(obj, path = 'ThemeInfoRepresentation') {
|
|
|
13242
13350
|
|
|
13243
13351
|
const TTL$h = 900000;
|
|
13244
13352
|
const VERSION$1o = '2302a71ca718abb60353eb88dedb1c12';
|
|
13245
|
-
function validate$
|
|
13353
|
+
function validate$u(obj, path = 'ObjectInfoRepresentation') {
|
|
13246
13354
|
const v_error = (() => {
|
|
13247
13355
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13248
13356
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13268,7 +13376,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13268
13376
|
'")');
|
|
13269
13377
|
}
|
|
13270
13378
|
})();
|
|
13271
|
-
|
|
13379
|
+
// eslint-disable-next-line eqeqeq
|
|
13380
|
+
if (obj_associateEntityType_union0_error != null) {
|
|
13272
13381
|
obj_associateEntityType_union0 = obj_associateEntityType_union0_error.message;
|
|
13273
13382
|
}
|
|
13274
13383
|
let obj_associateEntityType_union1 = null;
|
|
@@ -13281,7 +13390,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13281
13390
|
'")');
|
|
13282
13391
|
}
|
|
13283
13392
|
})();
|
|
13284
|
-
|
|
13393
|
+
// eslint-disable-next-line eqeqeq
|
|
13394
|
+
if (obj_associateEntityType_union1_error != null) {
|
|
13285
13395
|
obj_associateEntityType_union1 = obj_associateEntityType_union1_error.message;
|
|
13286
13396
|
}
|
|
13287
13397
|
if (obj_associateEntityType_union0 && obj_associateEntityType_union1) {
|
|
@@ -13312,7 +13422,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13312
13422
|
'")');
|
|
13313
13423
|
}
|
|
13314
13424
|
})();
|
|
13315
|
-
|
|
13425
|
+
// eslint-disable-next-line eqeqeq
|
|
13426
|
+
if (obj_associateParentEntity_union0_error != null) {
|
|
13316
13427
|
obj_associateParentEntity_union0 = obj_associateParentEntity_union0_error
|
|
13317
13428
|
.message;
|
|
13318
13429
|
}
|
|
@@ -13326,7 +13437,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13326
13437
|
'")');
|
|
13327
13438
|
}
|
|
13328
13439
|
})();
|
|
13329
|
-
|
|
13440
|
+
// eslint-disable-next-line eqeqeq
|
|
13441
|
+
if (obj_associateParentEntity_union1_error != null) {
|
|
13330
13442
|
obj_associateParentEntity_union1 = obj_associateParentEntity_union1_error
|
|
13331
13443
|
.message;
|
|
13332
13444
|
}
|
|
@@ -13358,7 +13470,7 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13358
13470
|
for (let i = 0; i < obj_childRelationships.length; i++) {
|
|
13359
13471
|
const obj_childRelationships_item = obj_childRelationships[i];
|
|
13360
13472
|
const path_childRelationships_item = path_childRelationships + '[' + i + ']';
|
|
13361
|
-
const referencepath_childRelationships_itemValidationError = validate$
|
|
13473
|
+
const referencepath_childRelationships_itemValidationError = validate$z(obj_childRelationships_item, path_childRelationships_item);
|
|
13362
13474
|
if (referencepath_childRelationships_itemValidationError !== null) {
|
|
13363
13475
|
let message = 'Object doesn\'t match ChildRelationshipRepresentation (at "' +
|
|
13364
13476
|
path_childRelationships_item +
|
|
@@ -13409,7 +13521,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13409
13521
|
'")');
|
|
13410
13522
|
}
|
|
13411
13523
|
})();
|
|
13412
|
-
|
|
13524
|
+
// eslint-disable-next-line eqeqeq
|
|
13525
|
+
if (obj_defaultRecordTypeId_union0_error != null) {
|
|
13413
13526
|
obj_defaultRecordTypeId_union0 = obj_defaultRecordTypeId_union0_error.message;
|
|
13414
13527
|
}
|
|
13415
13528
|
let obj_defaultRecordTypeId_union1 = null;
|
|
@@ -13422,7 +13535,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13422
13535
|
'")');
|
|
13423
13536
|
}
|
|
13424
13537
|
})();
|
|
13425
|
-
|
|
13538
|
+
// eslint-disable-next-line eqeqeq
|
|
13539
|
+
if (obj_defaultRecordTypeId_union1_error != null) {
|
|
13426
13540
|
obj_defaultRecordTypeId_union1 = obj_defaultRecordTypeId_union1_error.message;
|
|
13427
13541
|
}
|
|
13428
13542
|
if (obj_defaultRecordTypeId_union0 && obj_defaultRecordTypeId_union1) {
|
|
@@ -13506,7 +13620,7 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13506
13620
|
const key = obj_fields_keys[i];
|
|
13507
13621
|
const obj_fields_prop = obj_fields[key];
|
|
13508
13622
|
const path_fields_prop = path_fields + '["' + key + '"]';
|
|
13509
|
-
const referencepath_fields_propValidationError = validate$
|
|
13623
|
+
const referencepath_fields_propValidationError = validate$w(obj_fields_prop, path_fields_prop);
|
|
13510
13624
|
if (referencepath_fields_propValidationError !== null) {
|
|
13511
13625
|
let message = 'Object doesn\'t match FieldRepresentation (at "' + path_fields_prop + '")\n';
|
|
13512
13626
|
message += referencepath_fields_propValidationError.message
|
|
@@ -13528,7 +13642,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13528
13642
|
'")');
|
|
13529
13643
|
}
|
|
13530
13644
|
})();
|
|
13531
|
-
|
|
13645
|
+
// eslint-disable-next-line eqeqeq
|
|
13646
|
+
if (obj_keyPrefix_union0_error != null) {
|
|
13532
13647
|
obj_keyPrefix_union0 = obj_keyPrefix_union0_error.message;
|
|
13533
13648
|
}
|
|
13534
13649
|
let obj_keyPrefix_union1 = null;
|
|
@@ -13541,7 +13656,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13541
13656
|
'")');
|
|
13542
13657
|
}
|
|
13543
13658
|
})();
|
|
13544
|
-
|
|
13659
|
+
// eslint-disable-next-line eqeqeq
|
|
13660
|
+
if (obj_keyPrefix_union1_error != null) {
|
|
13545
13661
|
obj_keyPrefix_union1 = obj_keyPrefix_union1_error.message;
|
|
13546
13662
|
}
|
|
13547
13663
|
if (obj_keyPrefix_union0 && obj_keyPrefix_union1) {
|
|
@@ -13641,7 +13757,7 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13641
13757
|
const key = obj_recordTypeInfos_keys[i];
|
|
13642
13758
|
const obj_recordTypeInfos_prop = obj_recordTypeInfos[key];
|
|
13643
13759
|
const path_recordTypeInfos_prop = path_recordTypeInfos + '["' + key + '"]';
|
|
13644
|
-
const referencepath_recordTypeInfos_propValidationError = validate$
|
|
13760
|
+
const referencepath_recordTypeInfos_propValidationError = validate$M(obj_recordTypeInfos_prop, path_recordTypeInfos_prop);
|
|
13645
13761
|
if (referencepath_recordTypeInfos_propValidationError !== null) {
|
|
13646
13762
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' +
|
|
13647
13763
|
path_recordTypeInfos_prop +
|
|
@@ -13675,7 +13791,7 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13675
13791
|
const path_themeInfo = path + '.themeInfo';
|
|
13676
13792
|
let obj_themeInfo_union0 = null;
|
|
13677
13793
|
const obj_themeInfo_union0_error = (() => {
|
|
13678
|
-
const referencepath_themeInfoValidationError = validate$
|
|
13794
|
+
const referencepath_themeInfoValidationError = validate$v(obj_themeInfo, path_themeInfo);
|
|
13679
13795
|
if (referencepath_themeInfoValidationError !== null) {
|
|
13680
13796
|
let message = 'Object doesn\'t match ThemeInfoRepresentation (at "' + path_themeInfo + '")\n';
|
|
13681
13797
|
message += referencepath_themeInfoValidationError.message
|
|
@@ -13685,7 +13801,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13685
13801
|
return new TypeError(message);
|
|
13686
13802
|
}
|
|
13687
13803
|
})();
|
|
13688
|
-
|
|
13804
|
+
// eslint-disable-next-line eqeqeq
|
|
13805
|
+
if (obj_themeInfo_union0_error != null) {
|
|
13689
13806
|
obj_themeInfo_union0 = obj_themeInfo_union0_error.message;
|
|
13690
13807
|
}
|
|
13691
13808
|
let obj_themeInfo_union1 = null;
|
|
@@ -13698,7 +13815,8 @@ function validate$t(obj, path = 'ObjectInfoRepresentation') {
|
|
|
13698
13815
|
'")');
|
|
13699
13816
|
}
|
|
13700
13817
|
})();
|
|
13701
|
-
|
|
13818
|
+
// eslint-disable-next-line eqeqeq
|
|
13819
|
+
if (obj_themeInfo_union1_error != null) {
|
|
13702
13820
|
obj_themeInfo_union1 = obj_themeInfo_union1_error.message;
|
|
13703
13821
|
}
|
|
13704
13822
|
if (obj_themeInfo_union0 && obj_themeInfo_union1) {
|
|
@@ -13861,7 +13979,7 @@ function equals$e(existing, incoming) {
|
|
|
13861
13979
|
}
|
|
13862
13980
|
const ingest$1i = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
13863
13981
|
if (process.env.NODE_ENV !== 'production') {
|
|
13864
|
-
const validateError = validate$
|
|
13982
|
+
const validateError = validate$u(input);
|
|
13865
13983
|
if (validateError !== null) {
|
|
13866
13984
|
throw validateError;
|
|
13867
13985
|
}
|
|
@@ -13903,7 +14021,7 @@ function getRecordId18Array(value) {
|
|
|
13903
14021
|
return dedupe(array).sort();
|
|
13904
14022
|
}
|
|
13905
14023
|
|
|
13906
|
-
function validate$
|
|
14024
|
+
function validate$t(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
13907
14025
|
const v_error = (() => {
|
|
13908
14026
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13909
14027
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13928,7 +14046,7 @@ function validate$s(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
|
|
|
13928
14046
|
|
|
13929
14047
|
const TTL$g = 900000;
|
|
13930
14048
|
const VERSION$1n = '4ba42e1fa0fb00cf78fce86082da41c9';
|
|
13931
|
-
function validate$
|
|
14049
|
+
function validate$s(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
13932
14050
|
const v_error = (() => {
|
|
13933
14051
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
13934
14052
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -13986,7 +14104,7 @@ function validate$r(obj, path = 'RecordLayoutUserStateRepresentation') {
|
|
|
13986
14104
|
const key = obj_sectionUserStates_keys[i];
|
|
13987
14105
|
const obj_sectionUserStates_prop = obj_sectionUserStates[key];
|
|
13988
14106
|
const path_sectionUserStates_prop = path_sectionUserStates + '["' + key + '"]';
|
|
13989
|
-
const referencepath_sectionUserStates_propValidationError = validate$
|
|
14107
|
+
const referencepath_sectionUserStates_propValidationError = validate$t(obj_sectionUserStates_prop, path_sectionUserStates_prop);
|
|
13990
14108
|
if (referencepath_sectionUserStates_propValidationError !== null) {
|
|
13991
14109
|
let message = 'Object doesn\'t match RecordLayoutSectionUserStateRepresentation (at "' +
|
|
13992
14110
|
path_sectionUserStates_prop +
|
|
@@ -14053,7 +14171,7 @@ function equals$d(existing, incoming) {
|
|
|
14053
14171
|
}
|
|
14054
14172
|
const ingest$1h = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14055
14173
|
if (process.env.NODE_ENV !== 'production') {
|
|
14056
|
-
const validateError = validate$
|
|
14174
|
+
const validateError = validate$s(input);
|
|
14057
14175
|
if (validateError !== null) {
|
|
14058
14176
|
throw validateError;
|
|
14059
14177
|
}
|
|
@@ -14066,7 +14184,7 @@ const ingest$1h = function RecordLayoutUserStateRepresentationIngest(input, path
|
|
|
14066
14184
|
|
|
14067
14185
|
const TTL$f = 900000;
|
|
14068
14186
|
const VERSION$1m = '49cdd4bc235a6094c3559cc7735b3b6d';
|
|
14069
|
-
function validate$
|
|
14187
|
+
function validate$r(obj, path = 'RecordUiRepresentation') {
|
|
14070
14188
|
const v_error = (() => {
|
|
14071
14189
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
14072
14190
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -14389,7 +14507,7 @@ function equals$c(existing, incoming) {
|
|
|
14389
14507
|
}
|
|
14390
14508
|
const ingest$1g = function RecordUiRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
14391
14509
|
if (process.env.NODE_ENV !== 'production') {
|
|
14392
|
-
const validateError = validate$
|
|
14510
|
+
const validateError = validate$r(input);
|
|
14393
14511
|
if (validateError !== null) {
|
|
14394
14512
|
throw validateError;
|
|
14395
14513
|
}
|
|
@@ -15479,7 +15597,7 @@ const factory$5 = (luvio) => {
|
|
|
15479
15597
|
|
|
15480
15598
|
const TTL$e = 900000;
|
|
15481
15599
|
const VERSION$1l = '252.0.0';
|
|
15482
|
-
function validate$
|
|
15600
|
+
function validate$q(obj, path = 'QuickActionDefaultsRepresentation') {
|
|
15483
15601
|
const v_error = (() => {
|
|
15484
15602
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
15485
15603
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -15663,7 +15781,7 @@ function merge(existing, incoming) {
|
|
|
15663
15781
|
const dynamicIngest$4 = (ingestParams) => {
|
|
15664
15782
|
return function QuickActionDefaultsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
15665
15783
|
if (process.env.NODE_ENV !== 'production') {
|
|
15666
|
-
const validateError = validate$
|
|
15784
|
+
const validateError = validate$q(input);
|
|
15667
15785
|
if (validateError !== null) {
|
|
15668
15786
|
throw validateError;
|
|
15669
15787
|
}
|
|
@@ -16083,7 +16201,7 @@ const getRecordsAdapterFactory = (luvio) => function UiApi__getRecords(untrusted
|
|
|
16083
16201
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$b);
|
|
16084
16202
|
};
|
|
16085
16203
|
|
|
16086
|
-
function validate$
|
|
16204
|
+
function validate$p(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
|
|
16087
16205
|
const v_error = (() => {
|
|
16088
16206
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16089
16207
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16191,7 +16309,7 @@ function validate$o(obj, path = 'RelatedListRecordsSingleBatchInputRepresentatio
|
|
|
16191
16309
|
}
|
|
16192
16310
|
|
|
16193
16311
|
const VERSION$1k = '4d4bdab5d0aa61e365e766409c9b3a31';
|
|
16194
|
-
function validate$
|
|
16312
|
+
function validate$o(obj, path = 'RelatedListReferenceRepresentation') {
|
|
16195
16313
|
const v_error = (() => {
|
|
16196
16314
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16197
16315
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16204,7 +16322,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
|
|
|
16204
16322
|
return new TypeError('Expected "string" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
16205
16323
|
}
|
|
16206
16324
|
})();
|
|
16207
|
-
|
|
16325
|
+
// eslint-disable-next-line eqeqeq
|
|
16326
|
+
if (obj_id_union0_error != null) {
|
|
16208
16327
|
obj_id_union0 = obj_id_union0_error.message;
|
|
16209
16328
|
}
|
|
16210
16329
|
let obj_id_union1 = null;
|
|
@@ -16213,7 +16332,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
|
|
|
16213
16332
|
return new TypeError('Expected "null" but received "' + typeof obj_id + '" (at "' + path_id + '")');
|
|
16214
16333
|
}
|
|
16215
16334
|
})();
|
|
16216
|
-
|
|
16335
|
+
// eslint-disable-next-line eqeqeq
|
|
16336
|
+
if (obj_id_union1_error != null) {
|
|
16217
16337
|
obj_id_union1 = obj_id_union1_error.message;
|
|
16218
16338
|
}
|
|
16219
16339
|
if (obj_id_union0 && obj_id_union1) {
|
|
@@ -16244,7 +16364,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
|
|
|
16244
16364
|
'")');
|
|
16245
16365
|
}
|
|
16246
16366
|
})();
|
|
16247
|
-
|
|
16367
|
+
// eslint-disable-next-line eqeqeq
|
|
16368
|
+
if (obj_inContextOfRecordId_union0_error != null) {
|
|
16248
16369
|
obj_inContextOfRecordId_union0 = obj_inContextOfRecordId_union0_error.message;
|
|
16249
16370
|
}
|
|
16250
16371
|
let obj_inContextOfRecordId_union1 = null;
|
|
@@ -16257,7 +16378,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
|
|
|
16257
16378
|
'")');
|
|
16258
16379
|
}
|
|
16259
16380
|
})();
|
|
16260
|
-
|
|
16381
|
+
// eslint-disable-next-line eqeqeq
|
|
16382
|
+
if (obj_inContextOfRecordId_union1_error != null) {
|
|
16261
16383
|
obj_inContextOfRecordId_union1 = obj_inContextOfRecordId_union1_error.message;
|
|
16262
16384
|
}
|
|
16263
16385
|
if (obj_inContextOfRecordId_union0 && obj_inContextOfRecordId_union1) {
|
|
@@ -16288,7 +16410,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
|
|
|
16288
16410
|
'")');
|
|
16289
16411
|
}
|
|
16290
16412
|
})();
|
|
16291
|
-
|
|
16413
|
+
// eslint-disable-next-line eqeqeq
|
|
16414
|
+
if (obj_listViewApiName_union0_error != null) {
|
|
16292
16415
|
obj_listViewApiName_union0 = obj_listViewApiName_union0_error.message;
|
|
16293
16416
|
}
|
|
16294
16417
|
let obj_listViewApiName_union1 = null;
|
|
@@ -16301,7 +16424,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
|
|
|
16301
16424
|
'")');
|
|
16302
16425
|
}
|
|
16303
16426
|
})();
|
|
16304
|
-
|
|
16427
|
+
// eslint-disable-next-line eqeqeq
|
|
16428
|
+
if (obj_listViewApiName_union1_error != null) {
|
|
16305
16429
|
obj_listViewApiName_union1 = obj_listViewApiName_union1_error.message;
|
|
16306
16430
|
}
|
|
16307
16431
|
if (obj_listViewApiName_union0 && obj_listViewApiName_union1) {
|
|
@@ -16332,7 +16456,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
|
|
|
16332
16456
|
'")');
|
|
16333
16457
|
}
|
|
16334
16458
|
})();
|
|
16335
|
-
|
|
16459
|
+
// eslint-disable-next-line eqeqeq
|
|
16460
|
+
if (obj_objectApiName_union0_error != null) {
|
|
16336
16461
|
obj_objectApiName_union0 = obj_objectApiName_union0_error.message;
|
|
16337
16462
|
}
|
|
16338
16463
|
let obj_objectApiName_union1 = null;
|
|
@@ -16345,7 +16470,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
|
|
|
16345
16470
|
'")');
|
|
16346
16471
|
}
|
|
16347
16472
|
})();
|
|
16348
|
-
|
|
16473
|
+
// eslint-disable-next-line eqeqeq
|
|
16474
|
+
if (obj_objectApiName_union1_error != null) {
|
|
16349
16475
|
obj_objectApiName_union1 = obj_objectApiName_union1_error.message;
|
|
16350
16476
|
}
|
|
16351
16477
|
if (obj_objectApiName_union0 && obj_objectApiName_union1) {
|
|
@@ -16385,7 +16511,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
|
|
|
16385
16511
|
'")');
|
|
16386
16512
|
}
|
|
16387
16513
|
})();
|
|
16388
|
-
|
|
16514
|
+
// eslint-disable-next-line eqeqeq
|
|
16515
|
+
if (obj_recordTypeId_union0_error != null) {
|
|
16389
16516
|
obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
|
|
16390
16517
|
}
|
|
16391
16518
|
let obj_recordTypeId_union1 = null;
|
|
@@ -16398,7 +16525,8 @@ function validate$n(obj, path = 'RelatedListReferenceRepresentation') {
|
|
|
16398
16525
|
'")');
|
|
16399
16526
|
}
|
|
16400
16527
|
})();
|
|
16401
|
-
|
|
16528
|
+
// eslint-disable-next-line eqeqeq
|
|
16529
|
+
if (obj_recordTypeId_union1_error != null) {
|
|
16402
16530
|
obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
|
|
16403
16531
|
}
|
|
16404
16532
|
if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
|
|
@@ -16698,7 +16826,7 @@ function equalsMetadata(existingMetadata, incomingMetadata) {
|
|
|
16698
16826
|
|
|
16699
16827
|
const TTL$d = 30000;
|
|
16700
16828
|
const VERSION$1j = '62467c27c19349b70c9db2a8d9d591d9';
|
|
16701
|
-
function validate$
|
|
16829
|
+
function validate$n(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
16702
16830
|
const v_error = (() => {
|
|
16703
16831
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
16704
16832
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -16734,7 +16862,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
16734
16862
|
'")');
|
|
16735
16863
|
}
|
|
16736
16864
|
})();
|
|
16737
|
-
|
|
16865
|
+
// eslint-disable-next-line eqeqeq
|
|
16866
|
+
if (obj_currentPageUrl_union0_error != null) {
|
|
16738
16867
|
obj_currentPageUrl_union0 = obj_currentPageUrl_union0_error.message;
|
|
16739
16868
|
}
|
|
16740
16869
|
let obj_currentPageUrl_union1 = null;
|
|
@@ -16747,7 +16876,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
16747
16876
|
'")');
|
|
16748
16877
|
}
|
|
16749
16878
|
})();
|
|
16750
|
-
|
|
16879
|
+
// eslint-disable-next-line eqeqeq
|
|
16880
|
+
if (obj_currentPageUrl_union1_error != null) {
|
|
16751
16881
|
obj_currentPageUrl_union1 = obj_currentPageUrl_union1_error.message;
|
|
16752
16882
|
}
|
|
16753
16883
|
if (obj_currentPageUrl_union0 && obj_currentPageUrl_union1) {
|
|
@@ -16798,7 +16928,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
16798
16928
|
'")');
|
|
16799
16929
|
}
|
|
16800
16930
|
})();
|
|
16801
|
-
|
|
16931
|
+
// eslint-disable-next-line eqeqeq
|
|
16932
|
+
if (obj_listInfoETag_union0_error != null) {
|
|
16802
16933
|
obj_listInfoETag_union0 = obj_listInfoETag_union0_error.message;
|
|
16803
16934
|
}
|
|
16804
16935
|
let obj_listInfoETag_union1 = null;
|
|
@@ -16811,7 +16942,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
16811
16942
|
'")');
|
|
16812
16943
|
}
|
|
16813
16944
|
})();
|
|
16814
|
-
|
|
16945
|
+
// eslint-disable-next-line eqeqeq
|
|
16946
|
+
if (obj_listInfoETag_union1_error != null) {
|
|
16815
16947
|
obj_listInfoETag_union1 = obj_listInfoETag_union1_error.message;
|
|
16816
16948
|
}
|
|
16817
16949
|
if (obj_listInfoETag_union0 && obj_listInfoETag_union1) {
|
|
@@ -16832,7 +16964,7 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
16832
16964
|
}
|
|
16833
16965
|
const obj_listReference = obj.listReference;
|
|
16834
16966
|
const path_listReference = path + '.listReference';
|
|
16835
|
-
const referencepath_listReferenceValidationError = validate$
|
|
16967
|
+
const referencepath_listReferenceValidationError = validate$o(obj_listReference, path_listReference);
|
|
16836
16968
|
if (referencepath_listReferenceValidationError !== null) {
|
|
16837
16969
|
let message = 'Object doesn\'t match RelatedListReferenceRepresentation (at "' +
|
|
16838
16970
|
path_listReference +
|
|
@@ -16855,7 +16987,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
16855
16987
|
'")');
|
|
16856
16988
|
}
|
|
16857
16989
|
})();
|
|
16858
|
-
|
|
16990
|
+
// eslint-disable-next-line eqeqeq
|
|
16991
|
+
if (obj_nextPageToken_union0_error != null) {
|
|
16859
16992
|
obj_nextPageToken_union0 = obj_nextPageToken_union0_error.message;
|
|
16860
16993
|
}
|
|
16861
16994
|
let obj_nextPageToken_union1 = null;
|
|
@@ -16868,7 +17001,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
16868
17001
|
'")');
|
|
16869
17002
|
}
|
|
16870
17003
|
})();
|
|
16871
|
-
|
|
17004
|
+
// eslint-disable-next-line eqeqeq
|
|
17005
|
+
if (obj_nextPageToken_union1_error != null) {
|
|
16872
17006
|
obj_nextPageToken_union1 = obj_nextPageToken_union1_error.message;
|
|
16873
17007
|
}
|
|
16874
17008
|
if (obj_nextPageToken_union0 && obj_nextPageToken_union1) {
|
|
@@ -16899,7 +17033,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
16899
17033
|
'")');
|
|
16900
17034
|
}
|
|
16901
17035
|
})();
|
|
16902
|
-
|
|
17036
|
+
// eslint-disable-next-line eqeqeq
|
|
17037
|
+
if (obj_nextPageUrl_union0_error != null) {
|
|
16903
17038
|
obj_nextPageUrl_union0 = obj_nextPageUrl_union0_error.message;
|
|
16904
17039
|
}
|
|
16905
17040
|
let obj_nextPageUrl_union1 = null;
|
|
@@ -16912,7 +17047,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
16912
17047
|
'")');
|
|
16913
17048
|
}
|
|
16914
17049
|
})();
|
|
16915
|
-
|
|
17050
|
+
// eslint-disable-next-line eqeqeq
|
|
17051
|
+
if (obj_nextPageUrl_union1_error != null) {
|
|
16916
17052
|
obj_nextPageUrl_union1 = obj_nextPageUrl_union1_error.message;
|
|
16917
17053
|
}
|
|
16918
17054
|
if (obj_nextPageUrl_union0 && obj_nextPageUrl_union1) {
|
|
@@ -16973,7 +17109,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
16973
17109
|
'")');
|
|
16974
17110
|
}
|
|
16975
17111
|
})();
|
|
16976
|
-
|
|
17112
|
+
// eslint-disable-next-line eqeqeq
|
|
17113
|
+
if (obj_previousPageToken_union0_error != null) {
|
|
16977
17114
|
obj_previousPageToken_union0 = obj_previousPageToken_union0_error.message;
|
|
16978
17115
|
}
|
|
16979
17116
|
let obj_previousPageToken_union1 = null;
|
|
@@ -16986,7 +17123,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
16986
17123
|
'")');
|
|
16987
17124
|
}
|
|
16988
17125
|
})();
|
|
16989
|
-
|
|
17126
|
+
// eslint-disable-next-line eqeqeq
|
|
17127
|
+
if (obj_previousPageToken_union1_error != null) {
|
|
16990
17128
|
obj_previousPageToken_union1 = obj_previousPageToken_union1_error.message;
|
|
16991
17129
|
}
|
|
16992
17130
|
if (obj_previousPageToken_union0 && obj_previousPageToken_union1) {
|
|
@@ -17017,7 +17155,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
17017
17155
|
'")');
|
|
17018
17156
|
}
|
|
17019
17157
|
})();
|
|
17020
|
-
|
|
17158
|
+
// eslint-disable-next-line eqeqeq
|
|
17159
|
+
if (obj_previousPageUrl_union0_error != null) {
|
|
17021
17160
|
obj_previousPageUrl_union0 = obj_previousPageUrl_union0_error.message;
|
|
17022
17161
|
}
|
|
17023
17162
|
let obj_previousPageUrl_union1 = null;
|
|
@@ -17030,7 +17169,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
17030
17169
|
'")');
|
|
17031
17170
|
}
|
|
17032
17171
|
})();
|
|
17033
|
-
|
|
17172
|
+
// eslint-disable-next-line eqeqeq
|
|
17173
|
+
if (obj_previousPageUrl_union1_error != null) {
|
|
17034
17174
|
obj_previousPageUrl_union1 = obj_previousPageUrl_union1_error.message;
|
|
17035
17175
|
}
|
|
17036
17176
|
if (obj_previousPageUrl_union0 && obj_previousPageUrl_union1) {
|
|
@@ -17101,7 +17241,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
17101
17241
|
'")');
|
|
17102
17242
|
}
|
|
17103
17243
|
})();
|
|
17104
|
-
|
|
17244
|
+
// eslint-disable-next-line eqeqeq
|
|
17245
|
+
if (obj_where_union0_error != null) {
|
|
17105
17246
|
obj_where_union0 = obj_where_union0_error.message;
|
|
17106
17247
|
}
|
|
17107
17248
|
let obj_where_union1 = null;
|
|
@@ -17114,7 +17255,8 @@ function validate$m(obj, path = 'RelatedListRecordCollectionRepresentation') {
|
|
|
17114
17255
|
'")');
|
|
17115
17256
|
}
|
|
17116
17257
|
})();
|
|
17117
|
-
|
|
17258
|
+
// eslint-disable-next-line eqeqeq
|
|
17259
|
+
if (obj_where_union1_error != null) {
|
|
17118
17260
|
obj_where_union1 = obj_where_union1_error.message;
|
|
17119
17261
|
}
|
|
17120
17262
|
if (obj_where_union0 && obj_where_union1) {
|
|
@@ -17391,7 +17533,7 @@ function equals$9(existing, incoming) {
|
|
|
17391
17533
|
}
|
|
17392
17534
|
const ingest$1f = function RelatedListRecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
17393
17535
|
if (process.env.NODE_ENV !== 'production') {
|
|
17394
|
-
const validateError = validate$
|
|
17536
|
+
const validateError = validate$n(input);
|
|
17395
17537
|
if (validateError !== null) {
|
|
17396
17538
|
throw validateError;
|
|
17397
17539
|
}
|
|
@@ -17937,7 +18079,7 @@ function typeCheckConfig$8(untrustedConfig) {
|
|
|
17937
18079
|
const untrustedConfig_relatedListParameters_array = [];
|
|
17938
18080
|
for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
|
|
17939
18081
|
const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
|
|
17940
|
-
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$
|
|
18082
|
+
const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$p(untrustedConfig_relatedListParameters_item);
|
|
17941
18083
|
if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
|
|
17942
18084
|
untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
|
|
17943
18085
|
}
|
|
@@ -18185,7 +18327,7 @@ const getRelatedListRecordsAdapterFactory = (luvio) => function UiApi__getRelate
|
|
|
18185
18327
|
buildCachedSnapshotCachePolicy$8, buildNetworkSnapshotCachePolicy$9);
|
|
18186
18328
|
};
|
|
18187
18329
|
|
|
18188
|
-
function validate$
|
|
18330
|
+
function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
18189
18331
|
const v_error = (() => {
|
|
18190
18332
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18191
18333
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18232,7 +18374,7 @@ function validate$l(obj, path = 'SearchDataCategoryInputRepresentation') {
|
|
|
18232
18374
|
return v_error === undefined ? null : v_error;
|
|
18233
18375
|
}
|
|
18234
18376
|
|
|
18235
|
-
function validate$
|
|
18377
|
+
function validate$l(obj, path = 'SearchFilterInputRepresentation') {
|
|
18236
18378
|
const v_error = (() => {
|
|
18237
18379
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18238
18380
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18288,7 +18430,8 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
18288
18430
|
'")');
|
|
18289
18431
|
}
|
|
18290
18432
|
})();
|
|
18291
|
-
|
|
18433
|
+
// eslint-disable-next-line eqeqeq
|
|
18434
|
+
if (obj_values_item_union0_error != null) {
|
|
18292
18435
|
obj_values_item_union0 = obj_values_item_union0_error.message;
|
|
18293
18436
|
}
|
|
18294
18437
|
let obj_values_item_union1 = null;
|
|
@@ -18301,7 +18444,8 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
18301
18444
|
'")');
|
|
18302
18445
|
}
|
|
18303
18446
|
})();
|
|
18304
|
-
|
|
18447
|
+
// eslint-disable-next-line eqeqeq
|
|
18448
|
+
if (obj_values_item_union1_error != null) {
|
|
18305
18449
|
obj_values_item_union1 = obj_values_item_union1_error.message;
|
|
18306
18450
|
}
|
|
18307
18451
|
let obj_values_item_union2 = null;
|
|
@@ -18314,7 +18458,8 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
18314
18458
|
'")');
|
|
18315
18459
|
}
|
|
18316
18460
|
})();
|
|
18317
|
-
|
|
18461
|
+
// eslint-disable-next-line eqeqeq
|
|
18462
|
+
if (obj_values_item_union2_error != null) {
|
|
18318
18463
|
obj_values_item_union2 = obj_values_item_union2_error.message;
|
|
18319
18464
|
}
|
|
18320
18465
|
if (obj_values_item_union0 && obj_values_item_union1 && obj_values_item_union2) {
|
|
@@ -18344,7 +18489,7 @@ function validate$k(obj, path = 'SearchFilterInputRepresentation') {
|
|
|
18344
18489
|
return v_error === undefined ? null : v_error;
|
|
18345
18490
|
}
|
|
18346
18491
|
|
|
18347
|
-
function validate$
|
|
18492
|
+
function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
18348
18493
|
const v_error = (() => {
|
|
18349
18494
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18350
18495
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18361,7 +18506,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
18361
18506
|
for (let i = 0; i < obj_dataCategories.length; i++) {
|
|
18362
18507
|
const obj_dataCategories_item = obj_dataCategories[i];
|
|
18363
18508
|
const path_dataCategories_item = path_dataCategories + '[' + i + ']';
|
|
18364
|
-
const referencepath_dataCategories_itemValidationError = validate$
|
|
18509
|
+
const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
|
|
18365
18510
|
if (referencepath_dataCategories_itemValidationError !== null) {
|
|
18366
18511
|
let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' +
|
|
18367
18512
|
path_dataCategories_item +
|
|
@@ -18385,7 +18530,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
18385
18530
|
for (let i = 0; i < obj_filters.length; i++) {
|
|
18386
18531
|
const obj_filters_item = obj_filters[i];
|
|
18387
18532
|
const path_filters_item = path_filters + '[' + i + ']';
|
|
18388
|
-
const referencepath_filters_itemValidationError = validate$
|
|
18533
|
+
const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
|
|
18389
18534
|
if (referencepath_filters_itemValidationError !== null) {
|
|
18390
18535
|
let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' +
|
|
18391
18536
|
path_filters_item +
|
|
@@ -18401,7 +18546,7 @@ function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
|
|
|
18401
18546
|
return v_error === undefined ? null : v_error;
|
|
18402
18547
|
}
|
|
18403
18548
|
|
|
18404
|
-
function validate$
|
|
18549
|
+
function validate$j(obj, path = 'ErrorMessageRepresentation') {
|
|
18405
18550
|
const v_error = (() => {
|
|
18406
18551
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18407
18552
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18427,7 +18572,8 @@ function validate$i(obj, path = 'ErrorMessageRepresentation') {
|
|
|
18427
18572
|
'")');
|
|
18428
18573
|
}
|
|
18429
18574
|
})();
|
|
18430
|
-
|
|
18575
|
+
// eslint-disable-next-line eqeqeq
|
|
18576
|
+
if (obj_message_union0_error != null) {
|
|
18431
18577
|
obj_message_union0 = obj_message_union0_error.message;
|
|
18432
18578
|
}
|
|
18433
18579
|
let obj_message_union1 = null;
|
|
@@ -18440,7 +18586,8 @@ function validate$i(obj, path = 'ErrorMessageRepresentation') {
|
|
|
18440
18586
|
'")');
|
|
18441
18587
|
}
|
|
18442
18588
|
})();
|
|
18443
|
-
|
|
18589
|
+
// eslint-disable-next-line eqeqeq
|
|
18590
|
+
if (obj_message_union1_error != null) {
|
|
18444
18591
|
obj_message_union1 = obj_message_union1_error.message;
|
|
18445
18592
|
}
|
|
18446
18593
|
if (obj_message_union0 && obj_message_union1) {
|
|
@@ -18463,7 +18610,7 @@ function validate$i(obj, path = 'ErrorMessageRepresentation') {
|
|
|
18463
18610
|
return v_error === undefined ? null : v_error;
|
|
18464
18611
|
}
|
|
18465
18612
|
|
|
18466
|
-
function validate$
|
|
18613
|
+
function validate$i(obj, path = 'SearchResultCollectionRepresentation') {
|
|
18467
18614
|
const v_error = (() => {
|
|
18468
18615
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18469
18616
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18481,7 +18628,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
18481
18628
|
const path_error = path + '.error';
|
|
18482
18629
|
let obj_error_union0 = null;
|
|
18483
18630
|
const obj_error_union0_error = (() => {
|
|
18484
|
-
const referencepath_errorValidationError = validate$
|
|
18631
|
+
const referencepath_errorValidationError = validate$j(obj_error, path_error);
|
|
18485
18632
|
if (referencepath_errorValidationError !== null) {
|
|
18486
18633
|
let message = 'Object doesn\'t match ErrorMessageRepresentation (at "' + path_error + '")\n';
|
|
18487
18634
|
message += referencepath_errorValidationError.message
|
|
@@ -18491,7 +18638,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
18491
18638
|
return new TypeError(message);
|
|
18492
18639
|
}
|
|
18493
18640
|
})();
|
|
18494
|
-
|
|
18641
|
+
// eslint-disable-next-line eqeqeq
|
|
18642
|
+
if (obj_error_union0_error != null) {
|
|
18495
18643
|
obj_error_union0 = obj_error_union0_error.message;
|
|
18496
18644
|
}
|
|
18497
18645
|
let obj_error_union1 = null;
|
|
@@ -18504,7 +18652,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
18504
18652
|
'")');
|
|
18505
18653
|
}
|
|
18506
18654
|
})();
|
|
18507
|
-
|
|
18655
|
+
// eslint-disable-next-line eqeqeq
|
|
18656
|
+
if (obj_error_union1_error != null) {
|
|
18508
18657
|
obj_error_union1 = obj_error_union1_error.message;
|
|
18509
18658
|
}
|
|
18510
18659
|
if (obj_error_union0 && obj_error_union1) {
|
|
@@ -18535,7 +18684,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
18535
18684
|
'")');
|
|
18536
18685
|
}
|
|
18537
18686
|
})();
|
|
18538
|
-
|
|
18687
|
+
// eslint-disable-next-line eqeqeq
|
|
18688
|
+
if (obj_nextPageToken_union0_error != null) {
|
|
18539
18689
|
obj_nextPageToken_union0 = obj_nextPageToken_union0_error.message;
|
|
18540
18690
|
}
|
|
18541
18691
|
let obj_nextPageToken_union1 = null;
|
|
@@ -18548,7 +18698,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
18548
18698
|
'")');
|
|
18549
18699
|
}
|
|
18550
18700
|
})();
|
|
18551
|
-
|
|
18701
|
+
// eslint-disable-next-line eqeqeq
|
|
18702
|
+
if (obj_nextPageToken_union1_error != null) {
|
|
18552
18703
|
obj_nextPageToken_union1 = obj_nextPageToken_union1_error.message;
|
|
18553
18704
|
}
|
|
18554
18705
|
if (obj_nextPageToken_union0 && obj_nextPageToken_union1) {
|
|
@@ -18588,7 +18739,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
18588
18739
|
for (let i = 0; i < obj_orderBy.length; i++) {
|
|
18589
18740
|
const obj_orderBy_item = obj_orderBy[i];
|
|
18590
18741
|
const path_orderBy_item = path_orderBy + '[' + i + ']';
|
|
18591
|
-
const referencepath_orderBy_itemValidationError = validate$
|
|
18742
|
+
const referencepath_orderBy_itemValidationError = validate$V(obj_orderBy_item, path_orderBy_item);
|
|
18592
18743
|
if (referencepath_orderBy_itemValidationError !== null) {
|
|
18593
18744
|
let message = 'Object doesn\'t match ListOrderByInfoRepresentation (at "' +
|
|
18594
18745
|
path_orderBy_item +
|
|
@@ -18622,7 +18773,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
18622
18773
|
'")');
|
|
18623
18774
|
}
|
|
18624
18775
|
})();
|
|
18625
|
-
|
|
18776
|
+
// eslint-disable-next-line eqeqeq
|
|
18777
|
+
if (obj_previousPageToken_union0_error != null) {
|
|
18626
18778
|
obj_previousPageToken_union0 = obj_previousPageToken_union0_error.message;
|
|
18627
18779
|
}
|
|
18628
18780
|
let obj_previousPageToken_union1 = null;
|
|
@@ -18635,7 +18787,8 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
18635
18787
|
'")');
|
|
18636
18788
|
}
|
|
18637
18789
|
})();
|
|
18638
|
-
|
|
18790
|
+
// eslint-disable-next-line eqeqeq
|
|
18791
|
+
if (obj_previousPageToken_union1_error != null) {
|
|
18639
18792
|
obj_previousPageToken_union1 = obj_previousPageToken_union1_error.message;
|
|
18640
18793
|
}
|
|
18641
18794
|
if (obj_previousPageToken_union0 && obj_previousPageToken_union1) {
|
|
@@ -18698,7 +18851,7 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
|
|
|
18698
18851
|
return v_error === undefined ? null : v_error;
|
|
18699
18852
|
}
|
|
18700
18853
|
|
|
18701
|
-
function validate$
|
|
18854
|
+
function validate$h(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
18702
18855
|
const v_error = (() => {
|
|
18703
18856
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18704
18857
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18727,7 +18880,7 @@ function validate$g(obj, path = 'KeywordSearchResultsRepresentation') {
|
|
|
18727
18880
|
return v_error === undefined ? null : v_error;
|
|
18728
18881
|
}
|
|
18729
18882
|
|
|
18730
|
-
function validate$
|
|
18883
|
+
function validate$g(obj, path = 'AppliedSearchFilterOutputRepresentation') {
|
|
18731
18884
|
const v_error = (() => {
|
|
18732
18885
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18733
18886
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18783,7 +18936,7 @@ function validate$f(obj, path = 'AppliedSearchFilterOutputRepresentation') {
|
|
|
18783
18936
|
return v_error === undefined ? null : v_error;
|
|
18784
18937
|
}
|
|
18785
18938
|
|
|
18786
|
-
function validate$
|
|
18939
|
+
function validate$f(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
18787
18940
|
const v_error = (() => {
|
|
18788
18941
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18789
18942
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18828,7 +18981,7 @@ function validate$e(obj, path = 'SearchAnswersRecordRepresentation') {
|
|
|
18828
18981
|
return v_error === undefined ? null : v_error;
|
|
18829
18982
|
}
|
|
18830
18983
|
|
|
18831
|
-
function validate$
|
|
18984
|
+
function validate$e(obj, path = 'SearchAnswersResultRepresentation') {
|
|
18832
18985
|
const v_error = (() => {
|
|
18833
18986
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
18834
18987
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -18854,7 +19007,7 @@ function validate$d(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
18854
19007
|
for (let i = 0; i < obj_appliedFilters.length; i++) {
|
|
18855
19008
|
const obj_appliedFilters_item = obj_appliedFilters[i];
|
|
18856
19009
|
const path_appliedFilters_item = path_appliedFilters + '[' + i + ']';
|
|
18857
|
-
const referencepath_appliedFilters_itemValidationError = validate$
|
|
19010
|
+
const referencepath_appliedFilters_itemValidationError = validate$g(obj_appliedFilters_item, path_appliedFilters_item);
|
|
18858
19011
|
if (referencepath_appliedFilters_itemValidationError !== null) {
|
|
18859
19012
|
let message = 'Object doesn\'t match AppliedSearchFilterOutputRepresentation (at "' +
|
|
18860
19013
|
path_appliedFilters_item +
|
|
@@ -18887,7 +19040,7 @@ function validate$d(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
18887
19040
|
for (let i = 0; i < obj_records.length; i++) {
|
|
18888
19041
|
const obj_records_item = obj_records[i];
|
|
18889
19042
|
const path_records_item = path_records + '[' + i + ']';
|
|
18890
|
-
const referencepath_records_itemValidationError = validate$
|
|
19043
|
+
const referencepath_records_itemValidationError = validate$f(obj_records_item, path_records_item);
|
|
18891
19044
|
if (referencepath_records_itemValidationError !== null) {
|
|
18892
19045
|
let message = 'Object doesn\'t match SearchAnswersRecordRepresentation (at "' +
|
|
18893
19046
|
path_records_item +
|
|
@@ -18903,6 +19056,70 @@ function validate$d(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
18903
19056
|
return v_error === undefined ? null : v_error;
|
|
18904
19057
|
}
|
|
18905
19058
|
|
|
19059
|
+
function validate$d(obj, path = 'NLSResultsRepresentation') {
|
|
19060
|
+
const v_error = (() => {
|
|
19061
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
19062
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
19063
|
+
}
|
|
19064
|
+
const obj_hasNoResult = obj.hasNoResult;
|
|
19065
|
+
const path_hasNoResult = path + '.hasNoResult';
|
|
19066
|
+
let obj_hasNoResult_union0 = null;
|
|
19067
|
+
const obj_hasNoResult_union0_error = (() => {
|
|
19068
|
+
if (typeof obj_hasNoResult !== 'boolean') {
|
|
19069
|
+
return new TypeError('Expected "boolean" but received "' +
|
|
19070
|
+
typeof obj_hasNoResult +
|
|
19071
|
+
'" (at "' +
|
|
19072
|
+
path_hasNoResult +
|
|
19073
|
+
'")');
|
|
19074
|
+
}
|
|
19075
|
+
})();
|
|
19076
|
+
// eslint-disable-next-line eqeqeq
|
|
19077
|
+
if (obj_hasNoResult_union0_error != null) {
|
|
19078
|
+
obj_hasNoResult_union0 = obj_hasNoResult_union0_error.message;
|
|
19079
|
+
}
|
|
19080
|
+
let obj_hasNoResult_union1 = null;
|
|
19081
|
+
const obj_hasNoResult_union1_error = (() => {
|
|
19082
|
+
if (obj_hasNoResult !== null) {
|
|
19083
|
+
return new TypeError('Expected "null" but received "' +
|
|
19084
|
+
typeof obj_hasNoResult +
|
|
19085
|
+
'" (at "' +
|
|
19086
|
+
path_hasNoResult +
|
|
19087
|
+
'")');
|
|
19088
|
+
}
|
|
19089
|
+
})();
|
|
19090
|
+
// eslint-disable-next-line eqeqeq
|
|
19091
|
+
if (obj_hasNoResult_union1_error != null) {
|
|
19092
|
+
obj_hasNoResult_union1 = obj_hasNoResult_union1_error.message;
|
|
19093
|
+
}
|
|
19094
|
+
if (obj_hasNoResult_union0 && obj_hasNoResult_union1) {
|
|
19095
|
+
let message = 'Object doesn\'t match union (at "' + path_hasNoResult + '")';
|
|
19096
|
+
message +=
|
|
19097
|
+
'\n' +
|
|
19098
|
+
obj_hasNoResult_union0
|
|
19099
|
+
.split('\n')
|
|
19100
|
+
.map((line) => '\t' + line)
|
|
19101
|
+
.join('\n');
|
|
19102
|
+
message +=
|
|
19103
|
+
'\n' +
|
|
19104
|
+
obj_hasNoResult_union1
|
|
19105
|
+
.split('\n')
|
|
19106
|
+
.map((line) => '\t' + line)
|
|
19107
|
+
.join('\n');
|
|
19108
|
+
return new TypeError(message);
|
|
19109
|
+
}
|
|
19110
|
+
const obj_results = obj.results;
|
|
19111
|
+
const path_results = path + '.results';
|
|
19112
|
+
if (typeof obj_results !== 'object') {
|
|
19113
|
+
return new TypeError('Expected "object" but received "' +
|
|
19114
|
+
typeof obj_results +
|
|
19115
|
+
'" (at "' +
|
|
19116
|
+
path_results +
|
|
19117
|
+
'")');
|
|
19118
|
+
}
|
|
19119
|
+
})();
|
|
19120
|
+
return v_error === undefined ? null : v_error;
|
|
19121
|
+
}
|
|
19122
|
+
|
|
18906
19123
|
function validate$c(obj, path = 'SearchDataCategoryOutputRepresentation') {
|
|
18907
19124
|
const v_error = (() => {
|
|
18908
19125
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -19073,7 +19290,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
19073
19290
|
'")');
|
|
19074
19291
|
}
|
|
19075
19292
|
})();
|
|
19076
|
-
|
|
19293
|
+
// eslint-disable-next-line eqeqeq
|
|
19294
|
+
if (obj_configurationName_union0_error != null) {
|
|
19077
19295
|
obj_configurationName_union0 = obj_configurationName_union0_error.message;
|
|
19078
19296
|
}
|
|
19079
19297
|
let obj_configurationName_union1 = null;
|
|
@@ -19086,7 +19304,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
19086
19304
|
'")');
|
|
19087
19305
|
}
|
|
19088
19306
|
})();
|
|
19089
|
-
|
|
19307
|
+
// eslint-disable-next-line eqeqeq
|
|
19308
|
+
if (obj_configurationName_union1_error != null) {
|
|
19090
19309
|
obj_configurationName_union1 = obj_configurationName_union1_error.message;
|
|
19091
19310
|
}
|
|
19092
19311
|
if (obj_configurationName_union0 && obj_configurationName_union1) {
|
|
@@ -19109,7 +19328,7 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
19109
19328
|
const path_keywordSearchResults = path + '.keywordSearchResults';
|
|
19110
19329
|
let obj_keywordSearchResults_union0 = null;
|
|
19111
19330
|
const obj_keywordSearchResults_union0_error = (() => {
|
|
19112
|
-
const referencepath_keywordSearchResultsValidationError = validate$
|
|
19331
|
+
const referencepath_keywordSearchResultsValidationError = validate$h(obj_keywordSearchResults, path_keywordSearchResults);
|
|
19113
19332
|
if (referencepath_keywordSearchResultsValidationError !== null) {
|
|
19114
19333
|
let message = 'Object doesn\'t match KeywordSearchResultsRepresentation (at "' +
|
|
19115
19334
|
path_keywordSearchResults +
|
|
@@ -19121,7 +19340,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
19121
19340
|
return new TypeError(message);
|
|
19122
19341
|
}
|
|
19123
19342
|
})();
|
|
19124
|
-
|
|
19343
|
+
// eslint-disable-next-line eqeqeq
|
|
19344
|
+
if (obj_keywordSearchResults_union0_error != null) {
|
|
19125
19345
|
obj_keywordSearchResults_union0 = obj_keywordSearchResults_union0_error
|
|
19126
19346
|
.message;
|
|
19127
19347
|
}
|
|
@@ -19135,7 +19355,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
19135
19355
|
'")');
|
|
19136
19356
|
}
|
|
19137
19357
|
})();
|
|
19138
|
-
|
|
19358
|
+
// eslint-disable-next-line eqeqeq
|
|
19359
|
+
if (obj_keywordSearchResults_union1_error != null) {
|
|
19139
19360
|
obj_keywordSearchResults_union1 = obj_keywordSearchResults_union1_error
|
|
19140
19361
|
.message;
|
|
19141
19362
|
}
|
|
@@ -19155,11 +19376,61 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
19155
19376
|
.join('\n');
|
|
19156
19377
|
return new TypeError(message);
|
|
19157
19378
|
}
|
|
19379
|
+
const obj_nlsResults = obj.nlsResults;
|
|
19380
|
+
const path_nlsResults = path + '.nlsResults';
|
|
19381
|
+
let obj_nlsResults_union0 = null;
|
|
19382
|
+
const obj_nlsResults_union0_error = (() => {
|
|
19383
|
+
const referencepath_nlsResultsValidationError = validate$d(obj_nlsResults, path_nlsResults);
|
|
19384
|
+
if (referencepath_nlsResultsValidationError !== null) {
|
|
19385
|
+
let message = 'Object doesn\'t match NLSResultsRepresentation (at "' +
|
|
19386
|
+
path_nlsResults +
|
|
19387
|
+
'")\n';
|
|
19388
|
+
message += referencepath_nlsResultsValidationError.message
|
|
19389
|
+
.split('\n')
|
|
19390
|
+
.map((line) => '\t' + line)
|
|
19391
|
+
.join('\n');
|
|
19392
|
+
return new TypeError(message);
|
|
19393
|
+
}
|
|
19394
|
+
})();
|
|
19395
|
+
// eslint-disable-next-line eqeqeq
|
|
19396
|
+
if (obj_nlsResults_union0_error != null) {
|
|
19397
|
+
obj_nlsResults_union0 = obj_nlsResults_union0_error.message;
|
|
19398
|
+
}
|
|
19399
|
+
let obj_nlsResults_union1 = null;
|
|
19400
|
+
const obj_nlsResults_union1_error = (() => {
|
|
19401
|
+
if (obj_nlsResults !== null) {
|
|
19402
|
+
return new TypeError('Expected "null" but received "' +
|
|
19403
|
+
typeof obj_nlsResults +
|
|
19404
|
+
'" (at "' +
|
|
19405
|
+
path_nlsResults +
|
|
19406
|
+
'")');
|
|
19407
|
+
}
|
|
19408
|
+
})();
|
|
19409
|
+
// eslint-disable-next-line eqeqeq
|
|
19410
|
+
if (obj_nlsResults_union1_error != null) {
|
|
19411
|
+
obj_nlsResults_union1 = obj_nlsResults_union1_error.message;
|
|
19412
|
+
}
|
|
19413
|
+
if (obj_nlsResults_union0 && obj_nlsResults_union1) {
|
|
19414
|
+
let message = 'Object doesn\'t match union (at "' + path_nlsResults + '")';
|
|
19415
|
+
message +=
|
|
19416
|
+
'\n' +
|
|
19417
|
+
obj_nlsResults_union0
|
|
19418
|
+
.split('\n')
|
|
19419
|
+
.map((line) => '\t' + line)
|
|
19420
|
+
.join('\n');
|
|
19421
|
+
message +=
|
|
19422
|
+
'\n' +
|
|
19423
|
+
obj_nlsResults_union1
|
|
19424
|
+
.split('\n')
|
|
19425
|
+
.map((line) => '\t' + line)
|
|
19426
|
+
.join('\n');
|
|
19427
|
+
return new TypeError(message);
|
|
19428
|
+
}
|
|
19158
19429
|
const obj_qnaResult = obj.qnaResult;
|
|
19159
19430
|
const path_qnaResult = path + '.qnaResult';
|
|
19160
19431
|
let obj_qnaResult_union0 = null;
|
|
19161
19432
|
const obj_qnaResult_union0_error = (() => {
|
|
19162
|
-
const referencepath_qnaResultValidationError = validate$
|
|
19433
|
+
const referencepath_qnaResultValidationError = validate$e(obj_qnaResult, path_qnaResult);
|
|
19163
19434
|
if (referencepath_qnaResultValidationError !== null) {
|
|
19164
19435
|
let message = 'Object doesn\'t match SearchAnswersResultRepresentation (at "' +
|
|
19165
19436
|
path_qnaResult +
|
|
@@ -19171,7 +19442,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
19171
19442
|
return new TypeError(message);
|
|
19172
19443
|
}
|
|
19173
19444
|
})();
|
|
19174
|
-
|
|
19445
|
+
// eslint-disable-next-line eqeqeq
|
|
19446
|
+
if (obj_qnaResult_union0_error != null) {
|
|
19175
19447
|
obj_qnaResult_union0 = obj_qnaResult_union0_error.message;
|
|
19176
19448
|
}
|
|
19177
19449
|
let obj_qnaResult_union1 = null;
|
|
@@ -19184,7 +19456,8 @@ function validate$9(obj, path = 'SearchResultsSummaryRepresentation') {
|
|
|
19184
19456
|
'")');
|
|
19185
19457
|
}
|
|
19186
19458
|
})();
|
|
19187
|
-
|
|
19459
|
+
// eslint-disable-next-line eqeqeq
|
|
19460
|
+
if (obj_qnaResult_union1_error != null) {
|
|
19188
19461
|
obj_qnaResult_union1 = obj_qnaResult_union1_error.message;
|
|
19189
19462
|
}
|
|
19190
19463
|
if (obj_qnaResult_union0 && obj_qnaResult_union1) {
|
|
@@ -19388,7 +19661,7 @@ function typeCheckConfig$6(untrustedConfig) {
|
|
|
19388
19661
|
for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
|
|
19389
19662
|
const key = untrustedConfig_searchObjectOptions_keys[i];
|
|
19390
19663
|
const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
|
|
19391
|
-
const referenceSearchObjectOptionsRepresentationValidationError = validate$
|
|
19664
|
+
const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
|
|
19392
19665
|
if (referenceSearchObjectOptionsRepresentationValidationError === null) {
|
|
19393
19666
|
if (untrustedConfig_searchObjectOptions_object !== undefined) {
|
|
19394
19667
|
untrustedConfig_searchObjectOptions_object[key] =
|
|
@@ -19495,7 +19768,8 @@ function validate$8(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
19495
19768
|
'")');
|
|
19496
19769
|
}
|
|
19497
19770
|
})();
|
|
19498
|
-
|
|
19771
|
+
// eslint-disable-next-line eqeqeq
|
|
19772
|
+
if (obj_configurationName_union0_error != null) {
|
|
19499
19773
|
obj_configurationName_union0 = obj_configurationName_union0_error.message;
|
|
19500
19774
|
}
|
|
19501
19775
|
let obj_configurationName_union1 = null;
|
|
@@ -19508,7 +19782,8 @@ function validate$8(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
19508
19782
|
'")');
|
|
19509
19783
|
}
|
|
19510
19784
|
})();
|
|
19511
|
-
|
|
19785
|
+
// eslint-disable-next-line eqeqeq
|
|
19786
|
+
if (obj_configurationName_union1_error != null) {
|
|
19512
19787
|
obj_configurationName_union1 = obj_configurationName_union1_error.message;
|
|
19513
19788
|
}
|
|
19514
19789
|
if (obj_configurationName_union0 && obj_configurationName_union1) {
|
|
@@ -19529,7 +19804,7 @@ function validate$8(obj, path = 'KeywordSearchResultsSummaryRepresentation') {
|
|
|
19529
19804
|
}
|
|
19530
19805
|
const obj_keywordSearchResult = obj.keywordSearchResult;
|
|
19531
19806
|
const path_keywordSearchResult = path + '.keywordSearchResult';
|
|
19532
|
-
const referencepath_keywordSearchResultValidationError = validate$
|
|
19807
|
+
const referencepath_keywordSearchResultValidationError = validate$i(obj_keywordSearchResult, path_keywordSearchResult);
|
|
19533
19808
|
if (referencepath_keywordSearchResultValidationError !== null) {
|
|
19534
19809
|
let message = 'Object doesn\'t match SearchResultCollectionRepresentation (at "' +
|
|
19535
19810
|
path_keywordSearchResult +
|
|
@@ -19710,7 +19985,7 @@ function typeCheckConfig$5(untrustedConfig) {
|
|
|
19710
19985
|
const untrustedConfig_filters_array = [];
|
|
19711
19986
|
for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
|
|
19712
19987
|
const untrustedConfig_filters_item = untrustedConfig_filters[i];
|
|
19713
|
-
const referenceSearchFilterInputRepresentationValidationError = validate$
|
|
19988
|
+
const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
|
|
19714
19989
|
if (referenceSearchFilterInputRepresentationValidationError === null) {
|
|
19715
19990
|
untrustedConfig_filters_array.push(untrustedConfig_filters_item);
|
|
19716
19991
|
}
|
|
@@ -20055,7 +20330,8 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
|
|
|
20055
20330
|
'")');
|
|
20056
20331
|
}
|
|
20057
20332
|
})();
|
|
20058
|
-
|
|
20333
|
+
// eslint-disable-next-line eqeqeq
|
|
20334
|
+
if (obj_fields_prop_union0_error != null) {
|
|
20059
20335
|
obj_fields_prop_union0 = obj_fields_prop_union0_error.message;
|
|
20060
20336
|
}
|
|
20061
20337
|
let obj_fields_prop_union1 = null;
|
|
@@ -20068,7 +20344,8 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
|
|
|
20068
20344
|
'")');
|
|
20069
20345
|
}
|
|
20070
20346
|
})();
|
|
20071
|
-
|
|
20347
|
+
// eslint-disable-next-line eqeqeq
|
|
20348
|
+
if (obj_fields_prop_union1_error != null) {
|
|
20072
20349
|
obj_fields_prop_union1 = obj_fields_prop_union1_error.message;
|
|
20073
20350
|
}
|
|
20074
20351
|
let obj_fields_prop_union2 = null;
|
|
@@ -20081,7 +20358,8 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
|
|
|
20081
20358
|
'")');
|
|
20082
20359
|
}
|
|
20083
20360
|
})();
|
|
20084
|
-
|
|
20361
|
+
// eslint-disable-next-line eqeqeq
|
|
20362
|
+
if (obj_fields_prop_union2_error != null) {
|
|
20085
20363
|
obj_fields_prop_union2 = obj_fields_prop_union2_error.message;
|
|
20086
20364
|
}
|
|
20087
20365
|
let obj_fields_prop_union3 = null;
|
|
@@ -20094,7 +20372,8 @@ function validate$7(obj, path = 'RecordInputRepresentation') {
|
|
|
20094
20372
|
'")');
|
|
20095
20373
|
}
|
|
20096
20374
|
})();
|
|
20097
|
-
|
|
20375
|
+
// eslint-disable-next-line eqeqeq
|
|
20376
|
+
if (obj_fields_prop_union3_error != null) {
|
|
20098
20377
|
obj_fields_prop_union3 = obj_fields_prop_union3_error.message;
|
|
20099
20378
|
}
|
|
20100
20379
|
if (obj_fields_prop_union0 &&
|
|
@@ -20519,7 +20798,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
20519
20798
|
'")');
|
|
20520
20799
|
}
|
|
20521
20800
|
})();
|
|
20522
|
-
|
|
20801
|
+
// eslint-disable-next-line eqeqeq
|
|
20802
|
+
if (obj_lastModifiedById_union0_error != null) {
|
|
20523
20803
|
obj_lastModifiedById_union0 = obj_lastModifiedById_union0_error.message;
|
|
20524
20804
|
}
|
|
20525
20805
|
let obj_lastModifiedById_union1 = null;
|
|
@@ -20532,7 +20812,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
20532
20812
|
'")');
|
|
20533
20813
|
}
|
|
20534
20814
|
})();
|
|
20535
|
-
|
|
20815
|
+
// eslint-disable-next-line eqeqeq
|
|
20816
|
+
if (obj_lastModifiedById_union1_error != null) {
|
|
20536
20817
|
obj_lastModifiedById_union1 = obj_lastModifiedById_union1_error.message;
|
|
20537
20818
|
}
|
|
20538
20819
|
if (obj_lastModifiedById_union0 && obj_lastModifiedById_union1) {
|
|
@@ -20563,7 +20844,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
20563
20844
|
'")');
|
|
20564
20845
|
}
|
|
20565
20846
|
})();
|
|
20566
|
-
|
|
20847
|
+
// eslint-disable-next-line eqeqeq
|
|
20848
|
+
if (obj_lastModifiedDate_union0_error != null) {
|
|
20567
20849
|
obj_lastModifiedDate_union0 = obj_lastModifiedDate_union0_error.message;
|
|
20568
20850
|
}
|
|
20569
20851
|
let obj_lastModifiedDate_union1 = null;
|
|
@@ -20576,7 +20858,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
20576
20858
|
'")');
|
|
20577
20859
|
}
|
|
20578
20860
|
})();
|
|
20579
|
-
|
|
20861
|
+
// eslint-disable-next-line eqeqeq
|
|
20862
|
+
if (obj_lastModifiedDate_union1_error != null) {
|
|
20580
20863
|
obj_lastModifiedDate_union1 = obj_lastModifiedDate_union1_error.message;
|
|
20581
20864
|
}
|
|
20582
20865
|
if (obj_lastModifiedDate_union0 && obj_lastModifiedDate_union1) {
|
|
@@ -20607,7 +20890,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
20607
20890
|
'")');
|
|
20608
20891
|
}
|
|
20609
20892
|
})();
|
|
20610
|
-
|
|
20893
|
+
// eslint-disable-next-line eqeqeq
|
|
20894
|
+
if (obj_recordTypeId_union0_error != null) {
|
|
20611
20895
|
obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
|
|
20612
20896
|
}
|
|
20613
20897
|
let obj_recordTypeId_union1 = null;
|
|
@@ -20620,7 +20904,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
20620
20904
|
'")');
|
|
20621
20905
|
}
|
|
20622
20906
|
})();
|
|
20623
|
-
|
|
20907
|
+
// eslint-disable-next-line eqeqeq
|
|
20908
|
+
if (obj_recordTypeId_union1_error != null) {
|
|
20624
20909
|
obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
|
|
20625
20910
|
}
|
|
20626
20911
|
if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
|
|
@@ -20643,7 +20928,7 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
20643
20928
|
const path_recordTypeInfo = path + '.recordTypeInfo';
|
|
20644
20929
|
let obj_recordTypeInfo_union0 = null;
|
|
20645
20930
|
const obj_recordTypeInfo_union0_error = (() => {
|
|
20646
|
-
const referencepath_recordTypeInfoValidationError = validate$
|
|
20931
|
+
const referencepath_recordTypeInfoValidationError = validate$M(obj_recordTypeInfo, path_recordTypeInfo);
|
|
20647
20932
|
if (referencepath_recordTypeInfoValidationError !== null) {
|
|
20648
20933
|
let message = 'Object doesn\'t match RecordTypeInfoRepresentation (at "' +
|
|
20649
20934
|
path_recordTypeInfo +
|
|
@@ -20655,7 +20940,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
20655
20940
|
return new TypeError(message);
|
|
20656
20941
|
}
|
|
20657
20942
|
})();
|
|
20658
|
-
|
|
20943
|
+
// eslint-disable-next-line eqeqeq
|
|
20944
|
+
if (obj_recordTypeInfo_union0_error != null) {
|
|
20659
20945
|
obj_recordTypeInfo_union0 = obj_recordTypeInfo_union0_error.message;
|
|
20660
20946
|
}
|
|
20661
20947
|
let obj_recordTypeInfo_union1 = null;
|
|
@@ -20668,7 +20954,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
20668
20954
|
'")');
|
|
20669
20955
|
}
|
|
20670
20956
|
})();
|
|
20671
|
-
|
|
20957
|
+
// eslint-disable-next-line eqeqeq
|
|
20958
|
+
if (obj_recordTypeInfo_union1_error != null) {
|
|
20672
20959
|
obj_recordTypeInfo_union1 = obj_recordTypeInfo_union1_error.message;
|
|
20673
20960
|
}
|
|
20674
20961
|
if (obj_recordTypeInfo_union0 && obj_recordTypeInfo_union1) {
|
|
@@ -20699,7 +20986,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
20699
20986
|
'")');
|
|
20700
20987
|
}
|
|
20701
20988
|
})();
|
|
20702
|
-
|
|
20989
|
+
// eslint-disable-next-line eqeqeq
|
|
20990
|
+
if (obj_systemModstamp_union0_error != null) {
|
|
20703
20991
|
obj_systemModstamp_union0 = obj_systemModstamp_union0_error.message;
|
|
20704
20992
|
}
|
|
20705
20993
|
let obj_systemModstamp_union1 = null;
|
|
@@ -20712,7 +21000,8 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
|
|
|
20712
21000
|
'")');
|
|
20713
21001
|
}
|
|
20714
21002
|
})();
|
|
20715
|
-
|
|
21003
|
+
// eslint-disable-next-line eqeqeq
|
|
21004
|
+
if (obj_systemModstamp_union1_error != null) {
|
|
20716
21005
|
obj_systemModstamp_union1 = obj_systemModstamp_union1_error.message;
|
|
20717
21006
|
}
|
|
20718
21007
|
if (obj_systemModstamp_union0 && obj_systemModstamp_union1) {
|
|
@@ -20915,7 +21204,8 @@ function validate$5(obj, path = 'RecordDefaultsRepresentation') {
|
|
|
20915
21204
|
'")');
|
|
20916
21205
|
}
|
|
20917
21206
|
})();
|
|
20918
|
-
|
|
21207
|
+
// eslint-disable-next-line eqeqeq
|
|
21208
|
+
if (obj_layout_union0_error != null) {
|
|
20919
21209
|
obj_layout_union0 = obj_layout_union0_error.message;
|
|
20920
21210
|
}
|
|
20921
21211
|
let obj_layout_union1 = null;
|
|
@@ -20928,7 +21218,8 @@ function validate$5(obj, path = 'RecordDefaultsRepresentation') {
|
|
|
20928
21218
|
'")');
|
|
20929
21219
|
}
|
|
20930
21220
|
})();
|
|
20931
|
-
|
|
21221
|
+
// eslint-disable-next-line eqeqeq
|
|
21222
|
+
if (obj_layout_union1_error != null) {
|
|
20932
21223
|
obj_layout_union1 = obj_layout_union1_error.message;
|
|
20933
21224
|
}
|
|
20934
21225
|
if (obj_layout_union0 && obj_layout_union1) {
|
|
@@ -21367,7 +21658,8 @@ function validate$4(obj, path = 'RecordTemplateCloneRepresentation') {
|
|
|
21367
21658
|
'")');
|
|
21368
21659
|
}
|
|
21369
21660
|
})();
|
|
21370
|
-
|
|
21661
|
+
// eslint-disable-next-line eqeqeq
|
|
21662
|
+
if (obj_recordTypeId_union0_error != null) {
|
|
21371
21663
|
obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
|
|
21372
21664
|
}
|
|
21373
21665
|
let obj_recordTypeId_union1 = null;
|
|
@@ -21380,7 +21672,8 @@ function validate$4(obj, path = 'RecordTemplateCloneRepresentation') {
|
|
|
21380
21672
|
'")');
|
|
21381
21673
|
}
|
|
21382
21674
|
})();
|
|
21383
|
-
|
|
21675
|
+
// eslint-disable-next-line eqeqeq
|
|
21676
|
+
if (obj_recordTypeId_union1_error != null) {
|
|
21384
21677
|
obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
|
|
21385
21678
|
}
|
|
21386
21679
|
if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
|
|
@@ -22069,7 +22362,8 @@ function validate$2(obj, path = 'RecordTemplateCreateRepresentation') {
|
|
|
22069
22362
|
'")');
|
|
22070
22363
|
}
|
|
22071
22364
|
})();
|
|
22072
|
-
|
|
22365
|
+
// eslint-disable-next-line eqeqeq
|
|
22366
|
+
if (obj_recordTypeId_union0_error != null) {
|
|
22073
22367
|
obj_recordTypeId_union0 = obj_recordTypeId_union0_error.message;
|
|
22074
22368
|
}
|
|
22075
22369
|
let obj_recordTypeId_union1 = null;
|
|
@@ -22082,7 +22376,8 @@ function validate$2(obj, path = 'RecordTemplateCreateRepresentation') {
|
|
|
22082
22376
|
'")');
|
|
22083
22377
|
}
|
|
22084
22378
|
})();
|
|
22085
|
-
|
|
22379
|
+
// eslint-disable-next-line eqeqeq
|
|
22380
|
+
if (obj_recordTypeId_union1_error != null) {
|
|
22086
22381
|
obj_recordTypeId_union1 = obj_recordTypeId_union1_error.message;
|
|
22087
22382
|
}
|
|
22088
22383
|
if (obj_recordTypeId_union0 && obj_recordTypeId_union1) {
|
|
@@ -29475,14 +29770,13 @@ function mergeData$E(existingData, newData) {
|
|
|
29475
29770
|
};
|
|
29476
29771
|
}
|
|
29477
29772
|
function ingestPaginationMetadata$2(astNode, state, key, sink, existingData) {
|
|
29478
|
-
var _a;
|
|
29479
29773
|
const { data, luvio, store } = state;
|
|
29480
29774
|
const { pageInfo: { hasNextPage, startCursor }, edges } = data;
|
|
29481
29775
|
if (!hasGraphQLPaginationFields(data))
|
|
29482
29776
|
return;
|
|
29483
29777
|
const paginationKey = key + '__pagination';
|
|
29484
29778
|
let existingPaginationMetadata = store.readEntry(paginationKey);
|
|
29485
|
-
const afterArg =
|
|
29779
|
+
const afterArg = astNode.arguments?.find(argument => { return argument.name.value === 'after'; });
|
|
29486
29780
|
const afterArgVal = evaluateArgumentValue(afterArg, 'StringValue', state.variables);
|
|
29487
29781
|
const isPagedResponse = afterArgVal !== undefined &&
|
|
29488
29782
|
existingPaginationMetadata !== undefined &&
|
|
@@ -34657,14 +34951,13 @@ function mergeData$j(existingData, newData) {
|
|
|
34657
34951
|
};
|
|
34658
34952
|
}
|
|
34659
34953
|
function ingestPaginationMetadata$1(astNode, state, key, sink, existingData) {
|
|
34660
|
-
var _a;
|
|
34661
34954
|
const { data, luvio, store } = state;
|
|
34662
34955
|
const { pageInfo: { hasNextPage, startCursor }, edges } = data;
|
|
34663
34956
|
if (!hasGraphQLPaginationFields(data))
|
|
34664
34957
|
return;
|
|
34665
34958
|
const paginationKey = key + '__pagination';
|
|
34666
34959
|
let existingPaginationMetadata = store.readEntry(paginationKey);
|
|
34667
|
-
const afterArg =
|
|
34960
|
+
const afterArg = astNode.arguments?.find(argument => { return argument.name.value === 'after'; });
|
|
34668
34961
|
const afterArgVal = evaluateArgumentValue(afterArg, 'StringValue', state.variables);
|
|
34669
34962
|
const isPagedResponse = afterArgVal !== undefined &&
|
|
34670
34963
|
existingPaginationMetadata !== undefined &&
|
|
@@ -38601,14 +38894,13 @@ function mergeData$3(existingData, newData) {
|
|
|
38601
38894
|
};
|
|
38602
38895
|
}
|
|
38603
38896
|
function ingestPaginationMetadata(astNode, state, key, sink, existingData) {
|
|
38604
|
-
var _a;
|
|
38605
38897
|
const { data, luvio, store } = state;
|
|
38606
38898
|
const { pageInfo: { hasNextPage, startCursor }, edges } = data;
|
|
38607
38899
|
if (!hasGraphQLPaginationFields(data))
|
|
38608
38900
|
return;
|
|
38609
38901
|
const paginationKey = key + '__pagination';
|
|
38610
38902
|
let existingPaginationMetadata = store.readEntry(paginationKey);
|
|
38611
|
-
const afterArg =
|
|
38903
|
+
const afterArg = astNode.arguments?.find(argument => { return argument.name.value === 'after'; });
|
|
38612
38904
|
const afterArgVal = evaluateArgumentValue(afterArg, 'StringValue', state.variables);
|
|
38613
38905
|
const isPagedResponse = afterArgVal !== undefined &&
|
|
38614
38906
|
existingPaginationMetadata !== undefined &&
|
|
@@ -39997,8 +40289,7 @@ function applyToSelection$4(selection, directive, variables) {
|
|
|
39997
40289
|
}
|
|
39998
40290
|
|
|
39999
40291
|
function applyToSelection$3(selection, directive, variables) {
|
|
40000
|
-
|
|
40001
|
-
const ifArg = (_a = directive.arguments) === null || _a === void 0 ? void 0 : _a.find(argument => argument.name.value === "if");
|
|
40292
|
+
const ifArg = directive.arguments?.find(argument => argument.name.value === "if");
|
|
40002
40293
|
if (ifArg && ifArg.value) {
|
|
40003
40294
|
if (ifArg.value.kind === "BooleanValue") {
|
|
40004
40295
|
return ifArg.value.value ? selection : undefined;
|
|
@@ -40011,8 +40302,7 @@ function applyToSelection$3(selection, directive, variables) {
|
|
|
40011
40302
|
}
|
|
40012
40303
|
|
|
40013
40304
|
function applyToSelection$2(selection, directive, variables) {
|
|
40014
|
-
|
|
40015
|
-
const ifArg = (_a = directive.arguments) === null || _a === void 0 ? void 0 : _a.find(argument => argument.name.value === "if");
|
|
40305
|
+
const ifArg = directive.arguments?.find(argument => argument.name.value === "if");
|
|
40016
40306
|
if (ifArg && ifArg.value) {
|
|
40017
40307
|
if (ifArg.value.kind === "BooleanValue") {
|
|
40018
40308
|
return ifArg.value.value ? undefined : selection;
|
|
@@ -40186,7 +40476,7 @@ function injectSelectionSet(selectionSetNode, queryTransformHelper, fragmentMap)
|
|
|
40186
40476
|
selections: queryTransformHelper.getMinimumSelections()
|
|
40187
40477
|
};
|
|
40188
40478
|
const mergedSelections = mergeSelectionSets(selectionSetNode, minimumSelectionSet);
|
|
40189
|
-
mergedSelections
|
|
40479
|
+
mergedSelections?.selections.forEach(selection => {
|
|
40190
40480
|
if (selection.kind === 'Field') {
|
|
40191
40481
|
const fieldType = queryTransformHelper.getFieldType(selection);
|
|
40192
40482
|
const fieldTransformHelper = fieldType === undefined ? undefined : getQueryTransformerForType(fieldType.typename);
|
|
@@ -40762,13 +41052,12 @@ function evaluateArgumentValue(argumentNode, expectedKind, variables) {
|
|
|
40762
41052
|
}
|
|
40763
41053
|
// Shared export for getting the offset of the current page in the edges array
|
|
40764
41054
|
function getArrayOffsetForPage(state, node, key) {
|
|
40765
|
-
var _a;
|
|
40766
41055
|
const { variables, data, store } = state;
|
|
40767
41056
|
// if we have pagination metadata, see if we can locate either the start or
|
|
40768
41057
|
// after cursor in it to determine the correct index to use for the fullPath
|
|
40769
41058
|
const paginationKey = key + '__pagination';
|
|
40770
41059
|
let existingPaginationMetadata = store.readEntry(paginationKey);
|
|
40771
|
-
const afterArg =
|
|
41060
|
+
const afterArg = node.arguments?.find(argument => { return argument.name.value === 'after'; });
|
|
40772
41061
|
const afterArgVal = evaluateArgumentValue(afterArg, 'StringValue', variables);
|
|
40773
41062
|
if (existingPaginationMetadata !== undefined) {
|
|
40774
41063
|
// if the starting cursor for current page exists in the existing metadata use that as offset
|
|
@@ -40898,8 +41187,7 @@ function augmentDefaultVariableValues(variableDefinitions, variables) {
|
|
|
40898
41187
|
});
|
|
40899
41188
|
}
|
|
40900
41189
|
function selectCalculateSink(sink, field, buildSelectionForNodeFn, source, reader, variables, fragments, parentRecordId) {
|
|
40901
|
-
|
|
40902
|
-
(_a = field.selectionSet) === null || _a === void 0 ? void 0 : _a.selections.forEach((sel) => {
|
|
41190
|
+
field.selectionSet?.selections.forEach((sel) => {
|
|
40903
41191
|
const builtSelection = buildSelectionForNodeFn(source, reader, field, sel, variables, fragments, parentRecordId);
|
|
40904
41192
|
if (builtSelection !== undefined) {
|
|
40905
41193
|
deepMerge(sink, builtSelection);
|
|
@@ -40908,7 +41196,6 @@ function selectCalculateSink(sink, field, buildSelectionForNodeFn, source, reade
|
|
|
40908
41196
|
return sink;
|
|
40909
41197
|
}
|
|
40910
41198
|
function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key, sink, variables, fragments, selectFn) {
|
|
40911
|
-
var _a, _b, _c, _d, _e;
|
|
40912
41199
|
const source = resolvedLink.data.data;
|
|
40913
41200
|
const parentRecordId = resolvedLink.recordId;
|
|
40914
41201
|
const totalEdges = source.edges !== undefined ? source.edges.length : 0;
|
|
@@ -40918,10 +41205,10 @@ function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key,
|
|
|
40918
41205
|
reader.markMissing();
|
|
40919
41206
|
return;
|
|
40920
41207
|
}
|
|
40921
|
-
const firstArg =
|
|
41208
|
+
const firstArg = sel.arguments?.find(argument => { return argument.name.value === 'first'; });
|
|
40922
41209
|
const firstArgVal = evaluateArgumentValue(firstArg, 'IntValue', variables);
|
|
40923
41210
|
const pageSize = firstArgVal !== undefined ? firstArgVal : totalEdges;
|
|
40924
|
-
const afterArg =
|
|
41211
|
+
const afterArg = sel.arguments?.find(argument => { return argument.name.value === 'after'; });
|
|
40925
41212
|
const afterArgVal = evaluateArgumentValue(afterArg, 'StringValue', variables);
|
|
40926
41213
|
const paginationParams = {
|
|
40927
41214
|
pageSize: parseInt(pageSize, 10),
|
|
@@ -40977,7 +41264,7 @@ function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key,
|
|
|
40977
41264
|
reader.markMissingLink(fieldData.__ref);
|
|
40978
41265
|
reader.markMissing();
|
|
40979
41266
|
// optimize pagination when "first" and "after" args are part of the variable
|
|
40980
|
-
if (
|
|
41267
|
+
if (firstArg?.value?.kind === 'Variable' && afterArg?.value?.kind === 'Variable') {
|
|
40981
41268
|
optimizePagination(metadata, firstArg.value.name.value, afterArg.value.name.value, variables);
|
|
40982
41269
|
}
|
|
40983
41270
|
return;
|
|
@@ -40993,9 +41280,9 @@ function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key,
|
|
|
40993
41280
|
};
|
|
40994
41281
|
reader.markSeenId(parentRecordId);
|
|
40995
41282
|
const result = selectFn(sel, variables, fragments)(paginatedData, reader, parentRecordId);
|
|
40996
|
-
const pageInfo = createPageInfo(result
|
|
41283
|
+
const pageInfo = createPageInfo(result?.edges, startOffset, endOffset, maxOffset, metadata);
|
|
40997
41284
|
if (pageInfo !== undefined) {
|
|
40998
|
-
const selectedPageInfo = selectPageInfo(
|
|
41285
|
+
const selectedPageInfo = selectPageInfo(sel.selectionSet?.selections, fragments, pageInfo);
|
|
40999
41286
|
if (selectedPageInfo !== undefined) {
|
|
41000
41287
|
reader.assignNonScalar(result, 'pageInfo', selectedPageInfo);
|
|
41001
41288
|
}
|
|
@@ -41003,11 +41290,10 @@ function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key,
|
|
|
41003
41290
|
reader.assignNonScalar(sink, key, result);
|
|
41004
41291
|
}
|
|
41005
41292
|
function selectPageInfo(selections, fragments, pageInfo) {
|
|
41006
|
-
var _a;
|
|
41007
41293
|
const pageInfoSelection = getSelectionNode(selections, fragments, 'pageInfo');
|
|
41008
41294
|
if (pageInfo === undefined || pageInfoSelection === undefined || pageInfoSelection.kind !== 'Field')
|
|
41009
41295
|
return undefined;
|
|
41010
|
-
const pageInfoSelections =
|
|
41296
|
+
const pageInfoSelections = pageInfoSelection.selectionSet?.selections;
|
|
41011
41297
|
const selectedPageInfo = Object.assign({}, pageInfo);
|
|
41012
41298
|
Object.keys(pageInfo).forEach((fieldName) => {
|
|
41013
41299
|
if (getSelectionNode(pageInfoSelections, fragments, fieldName) === undefined) {
|
|
@@ -41026,7 +41312,7 @@ function getSelectionNode(selections, fragments, fieldName) {
|
|
|
41026
41312
|
}
|
|
41027
41313
|
else if (selection.kind === 'FragmentSpread') {
|
|
41028
41314
|
const fragment = fragments[selection.name.value];
|
|
41029
|
-
return getSelectionNode(fragment
|
|
41315
|
+
return getSelectionNode(fragment?.selectionSet.selections, fragments, fieldName);
|
|
41030
41316
|
}
|
|
41031
41317
|
else if (selection.kind === 'InlineFragment') {
|
|
41032
41318
|
return getSelectionNode(selection.selectionSet.selections, fragments, fieldName);
|
|
@@ -41999,8 +42285,12 @@ class UiApiActionHandler extends AbstractResourceRequestActionHandler {
|
|
|
41999
42285
|
this.sideEffectService = sideEffectService;
|
|
42000
42286
|
this.durableRecordStore = durableRecordStore;
|
|
42001
42287
|
this.handlerId = LDS_ACTION_HANDLER_ID;
|
|
42288
|
+
this.sideEffectHooks = [];
|
|
42002
42289
|
recordService.registerRecordHandler(this);
|
|
42003
42290
|
}
|
|
42291
|
+
setSideEffectHooks(hooks) {
|
|
42292
|
+
this.sideEffectHooks = hooks;
|
|
42293
|
+
}
|
|
42004
42294
|
async buildPendingAction(request, queue) {
|
|
42005
42295
|
const resolvedRequest = this.resolveResourceRequest(request);
|
|
42006
42296
|
let pendingAction = (await super.buildPendingAction(resolvedRequest, queue));
|
|
@@ -42161,21 +42451,30 @@ class UiApiActionHandler extends AbstractResourceRequestActionHandler {
|
|
|
42161
42451
|
}
|
|
42162
42452
|
async draftActionToSideEffects(action) {
|
|
42163
42453
|
const method = action.data.method;
|
|
42454
|
+
const apiName = action.metadata[LDS_ACTION_METADATA_API_NAME];
|
|
42455
|
+
const effects = [];
|
|
42456
|
+
const hookTriggers = this.sideEffectHooks.filter((h) => h.on === method && h.apiName === apiName);
|
|
42164
42457
|
switch (method) {
|
|
42165
42458
|
case 'post': {
|
|
42166
|
-
|
|
42167
|
-
|
|
42168
|
-
|
|
42459
|
+
effects.push(await this.sideEffectService.createRecordCreateSideEffect(action.targetId, action.id, `${action.id}-${action.targetId}`, action.metadata[LDS_ACTION_METADATA_API_NAME], action.timestamp, action.data.body.fields));
|
|
42460
|
+
break;
|
|
42461
|
+
}
|
|
42462
|
+
case 'patch': {
|
|
42463
|
+
effects.push(await this.sideEffectService.createRecordUpdateSideEffect(action.targetId, action.id, `${action.id}-${action.targetId}`, action.metadata[LDS_ACTION_METADATA_API_NAME], action.timestamp, action.data.body.fields));
|
|
42464
|
+
break;
|
|
42465
|
+
}
|
|
42466
|
+
case 'delete': {
|
|
42467
|
+
effects.push(await this.sideEffectService.createRecordDeleteSideEffect(action.targetId, action.id, `${action.id}-${action.targetId}`, action.metadata[LDS_ACTION_METADATA_API_NAME], action.timestamp));
|
|
42468
|
+
break;
|
|
42469
|
+
}
|
|
42470
|
+
}
|
|
42471
|
+
for (const trigger of hookTriggers) {
|
|
42472
|
+
const hookEffects = await trigger.then(action.id, action.timestamp, action.targetId, action.data.body.fields);
|
|
42473
|
+
for (const hookEffect of hookEffects) {
|
|
42474
|
+
effects.push(hookEffect);
|
|
42169
42475
|
}
|
|
42170
|
-
case 'patch':
|
|
42171
|
-
return [
|
|
42172
|
-
await this.sideEffectService.createRecordUpdateSideEffect(action.targetId, action.id, `${action.id}-${action.targetId}`, action.metadata[LDS_ACTION_METADATA_API_NAME], action.timestamp, action.data.body.fields),
|
|
42173
|
-
];
|
|
42174
|
-
case 'delete':
|
|
42175
|
-
return [
|
|
42176
|
-
await this.sideEffectService.createRecordDeleteSideEffect(action.targetId, action.id, `${action.id}-${action.targetId}`, action.metadata[LDS_ACTION_METADATA_API_NAME], action.timestamp),
|
|
42177
|
-
];
|
|
42178
42476
|
}
|
|
42477
|
+
return effects;
|
|
42179
42478
|
}
|
|
42180
42479
|
updateMetadata(existingMetadata, incomingMetadata) {
|
|
42181
42480
|
// ensure the the api name cannot be overwritten in the incoming metadata
|
|
@@ -49068,8 +49367,7 @@ const MAX_ID_CHUNK_LENGTH = 100;
|
|
|
49068
49367
|
* @returns
|
|
49069
49368
|
*/
|
|
49070
49369
|
function batchingGetRecordsAdapterFactory(luvio) {
|
|
49071
|
-
|
|
49072
|
-
const getRecordsAdapter = ((_a = configuration.getRecordsAdapterFactory()) !== null && _a !== void 0 ? _a : getRecordsAdapterFactory$1)(luvio);
|
|
49370
|
+
const getRecordsAdapter = (configuration.getRecordsAdapterFactory() ?? getRecordsAdapterFactory$1)(luvio);
|
|
49073
49371
|
const batchGetRecords = (config, requestContext) => {
|
|
49074
49372
|
const seenRecords = new StoreKeySet();
|
|
49075
49373
|
const chunks = chunkConfig(config);
|
|
@@ -49116,8 +49414,7 @@ function chunkConfig(config) {
|
|
|
49116
49414
|
|
|
49117
49415
|
function getCanonicalIdFunction(luvio) {
|
|
49118
49416
|
return (id) => {
|
|
49119
|
-
|
|
49120
|
-
return ((_a = extractRecordIdFromStoreKey(luvio.storeGetCanonicalKey(RECORD_ID_PREFIX + id))) !== null && _a !== void 0 ? _a : id);
|
|
49417
|
+
return (extractRecordIdFromStoreKey(luvio.storeGetCanonicalKey(RECORD_ID_PREFIX + id)) ?? id);
|
|
49121
49418
|
};
|
|
49122
49419
|
}
|
|
49123
49420
|
|
|
@@ -49416,7 +49713,7 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
|
|
|
49416
49713
|
data: queryInstrumentation,
|
|
49417
49714
|
});
|
|
49418
49715
|
}
|
|
49419
|
-
catch
|
|
49716
|
+
catch {
|
|
49420
49717
|
// ignore errors instrumenting limits
|
|
49421
49718
|
}
|
|
49422
49719
|
try {
|
|
@@ -49437,18 +49734,15 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
|
|
|
49437
49734
|
}
|
|
49438
49735
|
catch (throwable) {
|
|
49439
49736
|
const error = throwable;
|
|
49737
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
49440
49738
|
return {
|
|
49441
49739
|
data: undefined,
|
|
49442
49740
|
state: 'Error',
|
|
49443
49741
|
error: {
|
|
49444
|
-
|
|
49445
|
-
|
|
49446
|
-
|
|
49447
|
-
message: error.message,
|
|
49742
|
+
errorType: 'adapterError',
|
|
49743
|
+
error: {
|
|
49744
|
+
message,
|
|
49448
49745
|
},
|
|
49449
|
-
errorType: 'fetchResponse',
|
|
49450
|
-
headers: {},
|
|
49451
|
-
ok: false,
|
|
49452
49746
|
},
|
|
49453
49747
|
};
|
|
49454
49748
|
}
|
|
@@ -49489,19 +49783,16 @@ function draftAwareGraphQLAdapterFactory(userId, objectInfoService, store, luvio
|
|
|
49489
49783
|
}
|
|
49490
49784
|
catch (throwable) {
|
|
49491
49785
|
const error = throwable;
|
|
49786
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
49492
49787
|
return {
|
|
49493
49788
|
...nonEvaluatedSnapshot,
|
|
49494
49789
|
data: undefined,
|
|
49495
49790
|
state: 'Error',
|
|
49496
49791
|
error: {
|
|
49497
|
-
|
|
49498
|
-
|
|
49499
|
-
|
|
49500
|
-
message: error.message,
|
|
49792
|
+
errorType: 'adapterError',
|
|
49793
|
+
error: {
|
|
49794
|
+
message,
|
|
49501
49795
|
},
|
|
49502
|
-
errorType: 'fetchResponse',
|
|
49503
|
-
headers: {},
|
|
49504
|
-
ok: false,
|
|
49505
49796
|
},
|
|
49506
49797
|
};
|
|
49507
49798
|
}
|
|
@@ -51774,8 +52065,7 @@ class NimbusSqliteStore {
|
|
|
51774
52065
|
};
|
|
51775
52066
|
}
|
|
51776
52067
|
getTable(segment) {
|
|
51777
|
-
|
|
51778
|
-
return (_a = this.dataTableMap[segment]) !== null && _a !== void 0 ? _a : this.internalDataTable;
|
|
52068
|
+
return this.dataTableMap[segment] ?? this.internalDataTable;
|
|
51779
52069
|
}
|
|
51780
52070
|
idsToDeleteOperation(entryIds, segment) {
|
|
51781
52071
|
const table = this.getTable(segment);
|
|
@@ -52416,10 +52706,9 @@ const DEFAULT_BATCH_SIZE = 500;
|
|
|
52416
52706
|
const DEFAULT_CONCURRENCY = 6;
|
|
52417
52707
|
class PrimingSession extends EventEmitter {
|
|
52418
52708
|
constructor(config) {
|
|
52419
|
-
var _a, _b;
|
|
52420
52709
|
super();
|
|
52421
|
-
this.batchSize =
|
|
52422
|
-
this.concurrency =
|
|
52710
|
+
this.batchSize = config.batchSize ?? DEFAULT_BATCH_SIZE;
|
|
52711
|
+
this.concurrency = config.concurrency ?? DEFAULT_CONCURRENCY;
|
|
52423
52712
|
this.recordLoader = config.recordLoader;
|
|
52424
52713
|
this.recordIngestor = config.recordIngestor;
|
|
52425
52714
|
this.objectInfoLoader = config.objectInfoLoader;
|
|
@@ -52653,7 +52942,7 @@ class RecordIngestor {
|
|
|
52653
52942
|
const ttlOverride = await luvio.storeGetTTLOverride(UiApiNamespace, RecordRepresentationType);
|
|
52654
52943
|
const metadata = {
|
|
52655
52944
|
ingestionTimestamp,
|
|
52656
|
-
expirationTimestamp: (ttlOverride
|
|
52945
|
+
expirationTimestamp: (ttlOverride ?? RecordRepresentationTTL) + ingestionTimestamp,
|
|
52657
52946
|
namespace: UiApiNamespace,
|
|
52658
52947
|
representationName: RecordRepresentationType,
|
|
52659
52948
|
metadataVersion: DURABLE_METADATA_VERSION,
|
|
@@ -53732,12 +54021,11 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
53732
54021
|
const request = createResourceRequest$1(resourceParams);
|
|
53733
54022
|
return luvio.dispatchResourceRequest(request, options)
|
|
53734
54023
|
.then((response) => {
|
|
53735
|
-
|
|
53736
|
-
const graphqlErrors = (_a = response === null || response === void 0 ? void 0 : response.body) === null || _a === void 0 ? void 0 : _a.errors;
|
|
54024
|
+
const graphqlErrors = response?.body?.errors;
|
|
53737
54025
|
if ((graphqlErrors || []).length === 0) {
|
|
53738
54026
|
return response;
|
|
53739
54027
|
}
|
|
53740
|
-
return Promise.reject({ errorType: 'adapterError', error:
|
|
54028
|
+
return Promise.reject({ errorType: 'adapterError', error: response?.body?.errors });
|
|
53741
54029
|
})
|
|
53742
54030
|
.then((response) => {
|
|
53743
54031
|
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$1(luvio, config, resourceParams, response), () => {
|
|
@@ -54837,6 +55125,11 @@ function isStoreRecordError(storeRecord) {
|
|
|
54837
55125
|
return storeRecord.__type === 'error';
|
|
54838
55126
|
}
|
|
54839
55127
|
|
|
55128
|
+
// SFS to implement custom side effects here
|
|
55129
|
+
// see packages/lds-runtime-mobile/src/__tests__/integration/sideEffects/examples/BananasSideEffects.ts for examples
|
|
55130
|
+
// see packages/lds-runtime-mobile/src/__tests__/integration/sideEffects/side-effect-integration.spec.ts for example tests
|
|
55131
|
+
var sfsSideEffectHooks = [];
|
|
55132
|
+
|
|
54840
55133
|
// so eslint doesn't complain about nimbus
|
|
54841
55134
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
54842
55135
|
/* global __nimbus */
|
|
@@ -54917,6 +55210,7 @@ function getRuntime() {
|
|
|
54917
55210
|
lazySideEffectService = new SideEffectService(lazyDurableRecordStore, lazyObjectInfoService, userId, formatDisplayValue);
|
|
54918
55211
|
const draftService = new UiApiDraftRecordService(() => lazyLuvio, lazyDurableStore, lazyObjectInfoService, newRecordId, lazySideEffectStore, lazyDurableRecordStore);
|
|
54919
55212
|
const uiApiRecordHandler = new UiApiActionHandler(() => lazyLuvio, lazyNetworkAdapter, lazyDraftQueue, getRecord, lazyObjectInfoService, isGenerated, draftService, lazySideEffectService, lazyDurableRecordStore);
|
|
55213
|
+
uiApiRecordHandler.setSideEffectHooks(sfsSideEffectHooks);
|
|
54920
55214
|
const quickActionHandler = new QuickActionExecutionRepresentationHandler(() => lazyLuvio, draftService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, lazySideEffectService);
|
|
54921
55215
|
const updateRecordQuickActionHandler = new UpdateRecordQuickActionExecutionRepresentationHandler(() => lazyLuvio, draftService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, lazySideEffectService);
|
|
54922
55216
|
const contentDocumentCompositeActionHandler = new ContentDocumentCompositeRepresentationActionHandler(() => lazyLuvio, userId, draftService, lazyObjectInfoService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, NimbusBinaryStore, lazySideEffectService);
|
|
@@ -55026,4 +55320,4 @@ register({
|
|
|
55026
55320
|
});
|
|
55027
55321
|
|
|
55028
55322
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
55029
|
-
// version: 1.
|
|
55323
|
+
// version: 1.323.0-ddaba12fc0
|