@salesforce/lds-adapters-uiapi 1.360.0 → 1.361.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/sfdc/index.js CHANGED
@@ -1682,7 +1682,7 @@ function validate$1_(obj, path = 'ListInfoRepresentation') {
1682
1682
  for (let i = 0; i < obj_displayColumns.length; i++) {
1683
1683
  const obj_displayColumns_item = obj_displayColumns[i];
1684
1684
  const path_displayColumns_item = path_displayColumns + '[' + i + ']';
1685
- if (typeof obj_displayColumns_item !== 'object') {
1685
+ if (typeof obj_displayColumns_item !== 'object' || Array.isArray(obj_displayColumns_item)) {
1686
1686
  return new TypeError('Expected "object" but received "' + typeof obj_displayColumns_item + '" (at "' + path_displayColumns_item + '")');
1687
1687
  }
1688
1688
  }
@@ -2245,7 +2245,7 @@ function validate$1Y(obj, path = 'FieldValueRepresentation') {
2245
2245
  const path_value = path + '.value';
2246
2246
  let obj_value_union0 = null;
2247
2247
  const obj_value_union0_error = (() => {
2248
- if (typeof obj_value !== 'object') {
2248
+ if (typeof obj_value !== 'object' || Array.isArray(obj_value)) {
2249
2249
  return new TypeError('Expected "object" but received "' + typeof obj_value + '" (at "' + path_value + '")');
2250
2250
  }
2251
2251
  })();
@@ -2304,7 +2304,7 @@ const RepresentationType$X = 'FieldValueRepresentation';
2304
2304
  function normalize$Q(input, existing, path, luvio, store, timestamp) {
2305
2305
  const input_value = input.value;
2306
2306
  const input_value_id = path.fullPath + '__value';
2307
- if (input_value !== null && typeof input_value === 'object') {
2307
+ if (!Array.isArray(input_value) && input_value !== null && typeof input_value === 'object') {
2308
2308
  input.value = ingest$O(input_value, {
2309
2309
  fullPath: input_value_id,
2310
2310
  propertyName: 'value',
@@ -2375,7 +2375,7 @@ function getTypeCacheKeys$Y(rootKeySet, luvio, input, fullPathFactory) {
2375
2375
  representationName: RepresentationType$X,
2376
2376
  mergeable: false
2377
2377
  });
2378
- if (input.value !== null && typeof input.value === 'object') {
2378
+ if (!Array.isArray(input.value) && input.value !== null && typeof input.value === 'object') {
2379
2379
  getTypeCacheKeys$X(rootKeySet, luvio, input.value);
2380
2380
  }
2381
2381
  }
@@ -2561,7 +2561,7 @@ function validate$1X(obj, path = 'RecordCollectionRepresentation') {
2561
2561
  for (let i = 0; i < obj_records.length; i++) {
2562
2562
  const obj_records_item = obj_records[i];
2563
2563
  const path_records_item = path_records + '[' + i + ']';
2564
- if (typeof obj_records_item !== 'object') {
2564
+ if (typeof obj_records_item !== 'object' || Array.isArray(obj_records_item)) {
2565
2565
  return new TypeError('Expected "object" but received "' + typeof obj_records_item + '" (at "' + path_records_item + '")');
2566
2566
  }
2567
2567
  }
@@ -2737,7 +2737,7 @@ function validate$1W(obj, path = 'RecordRepresentation') {
2737
2737
  const key = obj_childRelationships_keys[i];
2738
2738
  const obj_childRelationships_prop = obj_childRelationships[key];
2739
2739
  const path_childRelationships_prop = path_childRelationships + '["' + key + '"]';
2740
- if (typeof obj_childRelationships_prop !== 'object') {
2740
+ if (typeof obj_childRelationships_prop !== 'object' || Array.isArray(obj_childRelationships_prop)) {
2741
2741
  return new TypeError('Expected "object" but received "' + typeof obj_childRelationships_prop + '" (at "' + path_childRelationships_prop + '")');
2742
2742
  }
2743
2743
  }
@@ -2756,7 +2756,7 @@ function validate$1W(obj, path = 'RecordRepresentation') {
2756
2756
  const key = obj_fields_keys[i];
2757
2757
  const obj_fields_prop = obj_fields[key];
2758
2758
  const path_fields_prop = path_fields + '["' + key + '"]';
2759
- if (typeof obj_fields_prop !== 'object') {
2759
+ if (typeof obj_fields_prop !== 'object' || Array.isArray(obj_fields_prop)) {
2760
2760
  return new TypeError('Expected "object" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
2761
2761
  }
2762
2762
  }
@@ -6812,7 +6812,7 @@ function validate$1V(obj, path = 'ListRecordCollectionRepresentation') {
6812
6812
  for (let i = 0; i < obj_records.length; i++) {
6813
6813
  const obj_records_item = obj_records[i];
6814
6814
  const path_records_item = path_records + '[' + i + ']';
6815
- if (typeof obj_records_item !== 'object') {
6815
+ if (typeof obj_records_item !== 'object' || Array.isArray(obj_records_item)) {
6816
6816
  return new TypeError('Expected "object" but received "' + typeof obj_records_item + '" (at "' + path_records_item + '")');
6817
6817
  }
6818
6818
  }
@@ -7223,14 +7223,22 @@ function equals$14(existing, incoming) {
7223
7223
  if (existing_sortBy === null || incoming_sortBy === null) {
7224
7224
  return existing_sortBy === incoming_sortBy;
7225
7225
  }
7226
- const equals_sortBy_items = equalsArray(existing_sortBy, incoming_sortBy, (existing_sortBy_item, incoming_sortBy_item) => {
7227
- if (!(existing_sortBy_item === incoming_sortBy_item)) {
7226
+ if (Array.isArray(existing_sortBy) && Array.isArray(incoming_sortBy)) {
7227
+ const equals_sortBy_items = equalsArray(existing_sortBy, incoming_sortBy, (existing_sortBy_item, incoming_sortBy_item) => {
7228
+ if (!(existing_sortBy_item === incoming_sortBy_item)) {
7229
+ return false;
7230
+ }
7231
+ });
7232
+ if (equals_sortBy_items === false) {
7233
+ return false;
7234
+ }
7235
+ }
7236
+ else {
7237
+ if (!(existing_sortBy === incoming_sortBy)) {
7228
7238
  return false;
7229
7239
  }
7230
- });
7231
- if (equals_sortBy_items === false) {
7232
- return false;
7233
7240
  }
7241
+ return true;
7234
7242
  })())) {
7235
7243
  return false;
7236
7244
  }
@@ -7363,12 +7371,12 @@ function validate$1U(obj, path = 'ListUiRepresentation') {
7363
7371
  }
7364
7372
  const obj_info = obj.info;
7365
7373
  const path_info = path + '.info';
7366
- if (typeof obj_info !== 'object') {
7374
+ if (typeof obj_info !== 'object' || Array.isArray(obj_info)) {
7367
7375
  return new TypeError('Expected "object" but received "' + typeof obj_info + '" (at "' + path_info + '")');
7368
7376
  }
7369
7377
  const obj_records = obj.records;
7370
7378
  const path_records = path + '.records';
7371
- if (typeof obj_records !== 'object') {
7379
+ if (typeof obj_records !== 'object' || Array.isArray(obj_records)) {
7372
7380
  return new TypeError('Expected "object" but received "' + typeof obj_records + '" (at "' + path_records + '")');
7373
7381
  }
7374
7382
  })();
@@ -7765,7 +7773,7 @@ function validate$1S(obj, path = 'ListInfoSummaryCollectionRepresentation') {
7765
7773
  for (let i = 0; i < obj_lists.length; i++) {
7766
7774
  const obj_lists_item = obj_lists[i];
7767
7775
  const path_lists_item = path_lists + '[' + i + ']';
7768
- if (typeof obj_lists_item !== 'object') {
7776
+ if (typeof obj_lists_item !== 'object' || Array.isArray(obj_lists_item)) {
7769
7777
  return new TypeError('Expected "object" but received "' + typeof obj_lists_item + '" (at "' + path_lists_item + '")');
7770
7778
  }
7771
7779
  }
@@ -8903,7 +8911,7 @@ function validate$1Q(obj, path = 'ListViewSummaryCollectionRepresentation') {
8903
8911
  for (let i = 0; i < obj_lists.length; i++) {
8904
8912
  const obj_lists_item = obj_lists[i];
8905
8913
  const path_lists_item = path_lists + '[' + i + ']';
8906
- if (typeof obj_lists_item !== 'object') {
8914
+ if (typeof obj_lists_item !== 'object' || Array.isArray(obj_lists_item)) {
8907
8915
  return new TypeError('Expected "object" but received "' + typeof obj_lists_item + '" (at "' + path_lists_item + '")');
8908
8916
  }
8909
8917
  }
@@ -12258,7 +12266,7 @@ function validate$1B(obj, path = 'RecordUiRepresentation') {
12258
12266
  const key = obj_layoutUserStates_keys[i];
12259
12267
  const obj_layoutUserStates_prop = obj_layoutUserStates[key];
12260
12268
  const path_layoutUserStates_prop = path_layoutUserStates + '["' + key + '"]';
12261
- if (typeof obj_layoutUserStates_prop !== 'object') {
12269
+ if (typeof obj_layoutUserStates_prop !== 'object' || Array.isArray(obj_layoutUserStates_prop)) {
12262
12270
  return new TypeError('Expected "object" but received "' + typeof obj_layoutUserStates_prop + '" (at "' + path_layoutUserStates_prop + '")');
12263
12271
  }
12264
12272
  }
@@ -12296,7 +12304,7 @@ function validate$1B(obj, path = 'RecordUiRepresentation') {
12296
12304
  const key = obj_layouts_prop_prop_prop_keys[i];
12297
12305
  const obj_layouts_prop_prop_prop_prop = obj_layouts_prop_prop_prop[key];
12298
12306
  const path_layouts_prop_prop_prop_prop = path_layouts_prop_prop_prop + '["' + key + '"]';
12299
- if (typeof obj_layouts_prop_prop_prop_prop !== 'object') {
12307
+ if (typeof obj_layouts_prop_prop_prop_prop !== 'object' || Array.isArray(obj_layouts_prop_prop_prop_prop)) {
12300
12308
  return new TypeError('Expected "object" but received "' + typeof obj_layouts_prop_prop_prop_prop + '" (at "' + path_layouts_prop_prop_prop_prop + '")');
12301
12309
  }
12302
12310
  }
@@ -12313,7 +12321,7 @@ function validate$1B(obj, path = 'RecordUiRepresentation') {
12313
12321
  const key = obj_objectInfos_keys[i];
12314
12322
  const obj_objectInfos_prop = obj_objectInfos[key];
12315
12323
  const path_objectInfos_prop = path_objectInfos + '["' + key + '"]';
12316
- if (typeof obj_objectInfos_prop !== 'object') {
12324
+ if (typeof obj_objectInfos_prop !== 'object' || Array.isArray(obj_objectInfos_prop)) {
12317
12325
  return new TypeError('Expected "object" but received "' + typeof obj_objectInfos_prop + '" (at "' + path_objectInfos_prop + '")');
12318
12326
  }
12319
12327
  }
@@ -12327,7 +12335,7 @@ function validate$1B(obj, path = 'RecordUiRepresentation') {
12327
12335
  const key = obj_records_keys[i];
12328
12336
  const obj_records_prop = obj_records[key];
12329
12337
  const path_records_prop = path_records + '["' + key + '"]';
12330
- if (typeof obj_records_prop !== 'object') {
12338
+ if (typeof obj_records_prop !== 'object' || Array.isArray(obj_records_prop)) {
12331
12339
  return new TypeError('Expected "object" but received "' + typeof obj_records_prop + '" (at "' + path_records_prop + '")');
12332
12340
  }
12333
12341
  }
@@ -13868,7 +13876,7 @@ function validate$1z(obj, path = 'ObjectInfoDirectoryRepresentation') {
13868
13876
  const key = obj_objects_keys[i];
13869
13877
  const obj_objects_prop = obj_objects[key];
13870
13878
  const path_objects_prop = path_objects + '["' + key + '"]';
13871
- if (typeof obj_objects_prop !== 'object') {
13879
+ if (typeof obj_objects_prop !== 'object' || Array.isArray(obj_objects_prop)) {
13872
13880
  return new TypeError('Expected "object" but received "' + typeof obj_objects_prop + '" (at "' + path_objects_prop + '")');
13873
13881
  }
13874
13882
  }
@@ -14176,7 +14184,7 @@ function validate$1x(obj, path = 'QuickActionDefaultsRepresentation') {
14176
14184
  const key = obj_fields_keys[i];
14177
14185
  const obj_fields_prop = obj_fields[key];
14178
14186
  const path_fields_prop = path_fields + '["' + key + '"]';
14179
- if (typeof obj_fields_prop !== 'object') {
14187
+ if (typeof obj_fields_prop !== 'object' || Array.isArray(obj_fields_prop)) {
14180
14188
  return new TypeError('Expected "object" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
14181
14189
  }
14182
14190
  }
@@ -14896,7 +14904,7 @@ function validate$1v(obj, path = 'EntityActionRepresentation') {
14896
14904
  for (let i = 0; i < obj_actions.length; i++) {
14897
14905
  const obj_actions_item = obj_actions[i];
14898
14906
  const path_actions_item = path_actions + '[' + i + ']';
14899
- if (typeof obj_actions_item !== 'object') {
14907
+ if (typeof obj_actions_item !== 'object' || Array.isArray(obj_actions_item)) {
14900
14908
  return new TypeError('Expected "object" but received "' + typeof obj_actions_item + '" (at "' + path_actions_item + '")');
14901
14909
  }
14902
14910
  }
@@ -15038,7 +15046,7 @@ function validate$1u(obj, path = 'ActionRepresentation') {
15038
15046
  const key = obj_actions_keys[i];
15039
15047
  const obj_actions_prop = obj_actions[key];
15040
15048
  const path_actions_prop = path_actions + '["' + key + '"]';
15041
- if (typeof obj_actions_prop !== 'object') {
15049
+ if (typeof obj_actions_prop !== 'object' || Array.isArray(obj_actions_prop)) {
15042
15050
  return new TypeError('Expected "object" but received "' + typeof obj_actions_prop + '" (at "' + path_actions_prop + '")');
15043
15051
  }
15044
15052
  }
@@ -19020,7 +19028,7 @@ function validate$1i(obj, path = 'NavItemRepresentation') {
19020
19028
  const path_pageReference = path + '.pageReference';
19021
19029
  let obj_pageReference_union0 = null;
19022
19030
  const obj_pageReference_union0_error = (() => {
19023
- if (typeof obj_pageReference !== 'object') {
19031
+ if (typeof obj_pageReference !== 'object' || Array.isArray(obj_pageReference)) {
19024
19032
  return new TypeError('Expected "object" but received "' + typeof obj_pageReference + '" (at "' + path_pageReference + '")');
19025
19033
  }
19026
19034
  })();
@@ -19084,7 +19092,7 @@ function keyBuilderFromType$m(luvio, object) {
19084
19092
  function normalize$s(input, existing, path, luvio, store, timestamp) {
19085
19093
  const input_pageReference = input.pageReference;
19086
19094
  const input_pageReference_id = path.fullPath + '__pageReference';
19087
- if (input_pageReference !== null && typeof input_pageReference === 'object') {
19095
+ if (!Array.isArray(input_pageReference) && input_pageReference !== null && typeof input_pageReference === 'object') {
19088
19096
  input.pageReference = ingest$t(input_pageReference, {
19089
19097
  fullPath: input_pageReference_id,
19090
19098
  propertyName: 'pageReference',
@@ -19272,7 +19280,7 @@ function getTypeCacheKeys$z(rootKeySet, luvio, input, fullPathFactory) {
19272
19280
  representationName: RepresentationType$y,
19273
19281
  mergeable: false
19274
19282
  });
19275
- if (input.pageReference !== null && typeof input.pageReference === 'object') {
19283
+ if (!Array.isArray(input.pageReference) && input.pageReference !== null && typeof input.pageReference === 'object') {
19276
19284
  getTypeCacheKeys$A(rootKeySet, luvio, input.pageReference, () => rootKey + "__" + "pageReference");
19277
19285
  }
19278
19286
  }
@@ -19474,7 +19482,7 @@ function validate$1h(obj, path = 'AppRepresentation') {
19474
19482
  for (let i = 0; i < obj_navItems.length; i++) {
19475
19483
  const obj_navItems_item = obj_navItems[i];
19476
19484
  const path_navItems_item = path_navItems + '[' + i + ']';
19477
- if (typeof obj_navItems_item !== 'object') {
19485
+ if (typeof obj_navItems_item !== 'object' || Array.isArray(obj_navItems_item)) {
19478
19486
  return new TypeError('Expected "object" but received "' + typeof obj_navItems_item + '" (at "' + path_navItems_item + '")');
19479
19487
  }
19480
19488
  }
@@ -19501,7 +19509,7 @@ function validate$1h(obj, path = 'AppRepresentation') {
19501
19509
  for (let i = 0; i < obj_userNavItems.length; i++) {
19502
19510
  const obj_userNavItems_item = obj_userNavItems[i];
19503
19511
  const path_userNavItems_item = path_userNavItems + '[' + i + ']';
19504
- if (typeof obj_userNavItems_item !== 'object') {
19512
+ if (typeof obj_userNavItems_item !== 'object' || Array.isArray(obj_userNavItems_item)) {
19505
19513
  return new TypeError('Expected "object" but received "' + typeof obj_userNavItems_item + '" (at "' + path_userNavItems_item + '")');
19506
19514
  }
19507
19515
  }
@@ -19799,7 +19807,7 @@ function validate$1g(obj, path = 'AppsRepresentation') {
19799
19807
  for (let i = 0; i < obj_apps.length; i++) {
19800
19808
  const obj_apps_item = obj_apps[i];
19801
19809
  const path_apps_item = path_apps + '[' + i + ']';
19802
- if (typeof obj_apps_item !== 'object') {
19810
+ if (typeof obj_apps_item !== 'object' || Array.isArray(obj_apps_item)) {
19803
19811
  return new TypeError('Expected "object" but received "' + typeof obj_apps_item + '" (at "' + path_apps_item + '")');
19804
19812
  }
19805
19813
  }
@@ -23713,7 +23721,7 @@ function validate$10(obj, path = 'NavItemsRepresentation') {
23713
23721
  for (let i = 0; i < obj_navItems.length; i++) {
23714
23722
  const obj_navItems_item = obj_navItems[i];
23715
23723
  const path_navItems_item = path_navItems + '[' + i + ']';
23716
- if (typeof obj_navItems_item !== 'object') {
23724
+ if (typeof obj_navItems_item !== 'object' || Array.isArray(obj_navItems_item)) {
23717
23725
  return new TypeError('Expected "object" but received "' + typeof obj_navItems_item + '" (at "' + path_navItems_item + '")');
23718
23726
  }
23719
23727
  }
@@ -24869,7 +24877,7 @@ function validate$Y(obj, path = 'PicklistValuesCollectionRepresentation') {
24869
24877
  const key = obj_picklistFieldValues_keys[i];
24870
24878
  const obj_picklistFieldValues_prop = obj_picklistFieldValues[key];
24871
24879
  const path_picklistFieldValues_prop = path_picklistFieldValues + '["' + key + '"]';
24872
- if (typeof obj_picklistFieldValues_prop !== 'object') {
24880
+ if (typeof obj_picklistFieldValues_prop !== 'object' || Array.isArray(obj_picklistFieldValues_prop)) {
24873
24881
  return new TypeError('Expected "object" but received "' + typeof obj_picklistFieldValues_prop + '" (at "' + path_picklistFieldValues_prop + '")');
24874
24882
  }
24875
24883
  }
@@ -26366,7 +26374,7 @@ function validate$P(obj, path = 'RecordAvatarBatchRepresentation') {
26366
26374
  }
26367
26375
  const obj_result = obj.result;
26368
26376
  const path_result = path + '.result';
26369
- if (typeof obj_result !== 'object') {
26377
+ if (typeof obj_result !== 'object' || Array.isArray(obj_result)) {
26370
26378
  return new TypeError('Expected "object" but received "' + typeof obj_result + '" (at "' + path_result + '")');
26371
26379
  }
26372
26380
  })();
@@ -26758,7 +26766,7 @@ function validate$K(obj, path = 'RecordAvatarBulkMapRepresentation') {
26758
26766
  const key = obj_keys[i];
26759
26767
  const obj_prop = obj[key];
26760
26768
  const path_prop = path + '["' + key + '"]';
26761
- if (typeof obj_prop !== 'object') {
26769
+ if (typeof obj_prop !== 'object' || Array.isArray(obj_prop)) {
26762
26770
  return new TypeError('Expected "object" but received "' + typeof obj_prop + '" (at "' + path_prop + '")');
26763
26771
  }
26764
26772
  }
@@ -30892,7 +30900,7 @@ function validate$A(obj, path = 'RelatedListRecordCollectionRepresentation') {
30892
30900
  for (let i = 0; i < obj_records.length; i++) {
30893
30901
  const obj_records_item = obj_records[i];
30894
30902
  const path_records_item = path_records + '[' + i + ']';
30895
- if (typeof obj_records_item !== 'object') {
30903
+ if (typeof obj_records_item !== 'object' || Array.isArray(obj_records_item)) {
30896
30904
  return new TypeError('Expected "object" but received "' + typeof obj_records_item + '" (at "' + path_records_item + '")');
30897
30905
  }
30898
30906
  }
@@ -33257,7 +33265,7 @@ function validate$j(obj, path = 'SearchResultCollectionRepresentation') {
33257
33265
  for (let i = 0; i < obj_records.length; i++) {
33258
33266
  const obj_records_item = obj_records[i];
33259
33267
  const path_records_item = path_records + '[' + i + ']';
33260
- if (typeof obj_records_item !== 'object') {
33268
+ if (typeof obj_records_item !== 'object' || Array.isArray(obj_records_item)) {
33261
33269
  return new TypeError('Expected "object" but received "' + typeof obj_records_item + '" (at "' + path_records_item + '")');
33262
33270
  }
33263
33271
  }
@@ -33290,7 +33298,7 @@ function validate$i(obj, path = 'KeywordSearchResultsRepresentation') {
33290
33298
  for (let i = 0; i < obj_results.length; i++) {
33291
33299
  const obj_results_item = obj_results[i];
33292
33300
  const path_results_item = path_results + '[' + i + ']';
33293
- if (typeof obj_results_item !== 'object') {
33301
+ if (typeof obj_results_item !== 'object' || Array.isArray(obj_results_item)) {
33294
33302
  return new TypeError('Expected "object" but received "' + typeof obj_results_item + '" (at "' + path_results_item + '")');
33295
33303
  }
33296
33304
  }
@@ -33331,7 +33339,7 @@ function validate$h(obj, path = 'NLSResultsRepresentation') {
33331
33339
  }
33332
33340
  const obj_results = obj.results;
33333
33341
  const path_results = path + '.results';
33334
- if (typeof obj_results !== 'object') {
33342
+ if (typeof obj_results !== 'object' || Array.isArray(obj_results)) {
33335
33343
  return new TypeError('Expected "object" but received "' + typeof obj_results + '" (at "' + path_results + '")');
33336
33344
  }
33337
33345
  })();
@@ -35499,7 +35507,7 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
35499
35507
  const key = obj_childRelationships_keys[i];
35500
35508
  const obj_childRelationships_prop = obj_childRelationships[key];
35501
35509
  const path_childRelationships_prop = path_childRelationships + '["' + key + '"]';
35502
- if (typeof obj_childRelationships_prop !== 'object') {
35510
+ if (typeof obj_childRelationships_prop !== 'object' || Array.isArray(obj_childRelationships_prop)) {
35503
35511
  return new TypeError('Expected "object" but received "' + typeof obj_childRelationships_prop + '" (at "' + path_childRelationships_prop + '")');
35504
35512
  }
35505
35513
  }
@@ -35518,7 +35526,7 @@ function validate$6(obj, path = 'RecordCreateDefaultRecordRepresentation') {
35518
35526
  const key = obj_fields_keys[i];
35519
35527
  const obj_fields_prop = obj_fields[key];
35520
35528
  const path_fields_prop = path_fields + '["' + key + '"]';
35521
- if (typeof obj_fields_prop !== 'object') {
35529
+ if (typeof obj_fields_prop !== 'object' || Array.isArray(obj_fields_prop)) {
35522
35530
  return new TypeError('Expected "object" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
35523
35531
  }
35524
35532
  }
@@ -35828,7 +35836,7 @@ function validate$5(obj, path = 'RecordDefaultsRepresentation') {
35828
35836
  const path_layout = path + '.layout';
35829
35837
  let obj_layout_union0 = null;
35830
35838
  const obj_layout_union0_error = (() => {
35831
- if (typeof obj_layout !== 'object') {
35839
+ if (typeof obj_layout !== 'object' || Array.isArray(obj_layout)) {
35832
35840
  return new TypeError('Expected "object" but received "' + typeof obj_layout + '" (at "' + path_layout + '")');
35833
35841
  }
35834
35842
  })();
@@ -35860,13 +35868,13 @@ function validate$5(obj, path = 'RecordDefaultsRepresentation') {
35860
35868
  const key = obj_objectInfos_keys[i];
35861
35869
  const obj_objectInfos_prop = obj_objectInfos[key];
35862
35870
  const path_objectInfos_prop = path_objectInfos + '["' + key + '"]';
35863
- if (typeof obj_objectInfos_prop !== 'object') {
35871
+ if (typeof obj_objectInfos_prop !== 'object' || Array.isArray(obj_objectInfos_prop)) {
35864
35872
  return new TypeError('Expected "object" but received "' + typeof obj_objectInfos_prop + '" (at "' + path_objectInfos_prop + '")');
35865
35873
  }
35866
35874
  }
35867
35875
  const obj_record = obj.record;
35868
35876
  const path_record = path + '.record';
35869
- if (typeof obj_record !== 'object') {
35877
+ if (typeof obj_record !== 'object' || Array.isArray(obj_record)) {
35870
35878
  return new TypeError('Expected "object" but received "' + typeof obj_record + '" (at "' + path_record + '")');
35871
35879
  }
35872
35880
  })();
@@ -35876,7 +35884,7 @@ const RepresentationType$5 = 'RecordDefaultsRepresentation';
35876
35884
  function normalize$1(input, existing, path, luvio, store, timestamp) {
35877
35885
  const input_layout = input.layout;
35878
35886
  const input_layout_id = path.fullPath + '__layout';
35879
- if (input_layout !== null && typeof input_layout === 'object') {
35887
+ if (!Array.isArray(input_layout) && input_layout !== null && typeof input_layout === 'object') {
35880
35888
  input.layout = ingest$G(input_layout, {
35881
35889
  fullPath: input_layout_id,
35882
35890
  propertyName: 'layout',
@@ -35969,7 +35977,7 @@ function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
35969
35977
  representationName: RepresentationType$5,
35970
35978
  mergeable: false
35971
35979
  });
35972
- if (input.layout !== null && typeof input.layout === 'object') {
35980
+ if (!Array.isArray(input.layout) && input.layout !== null && typeof input.layout === 'object') {
35973
35981
  getTypeCacheKeys$N(rootKeySet, luvio, input.layout);
35974
35982
  }
35975
35983
  const input_objectInfos = input.objectInfos;
@@ -36207,7 +36215,7 @@ function validate$4(obj, path = 'RecordTemplateCloneRepresentation') {
36207
36215
  const key = obj_fields_keys[i];
36208
36216
  const obj_fields_prop = obj_fields[key];
36209
36217
  const path_fields_prop = path_fields + '["' + key + '"]';
36210
- if (typeof obj_fields_prop !== 'object') {
36218
+ if (typeof obj_fields_prop !== 'object' || Array.isArray(obj_fields_prop)) {
36211
36219
  return new TypeError('Expected "object" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
36212
36220
  }
36213
36221
  }
@@ -36406,13 +36414,13 @@ function validate$3(obj, path = 'RecordDefaultsTemplateCloneRepresentation') {
36406
36414
  const key = obj_objectInfos_keys[i];
36407
36415
  const obj_objectInfos_prop = obj_objectInfos[key];
36408
36416
  const path_objectInfos_prop = path_objectInfos + '["' + key + '"]';
36409
- if (typeof obj_objectInfos_prop !== 'object') {
36417
+ if (typeof obj_objectInfos_prop !== 'object' || Array.isArray(obj_objectInfos_prop)) {
36410
36418
  return new TypeError('Expected "object" but received "' + typeof obj_objectInfos_prop + '" (at "' + path_objectInfos_prop + '")');
36411
36419
  }
36412
36420
  }
36413
36421
  const obj_record = obj.record;
36414
36422
  const path_record = path + '.record';
36415
- if (typeof obj_record !== 'object') {
36423
+ if (typeof obj_record !== 'object' || Array.isArray(obj_record)) {
36416
36424
  return new TypeError('Expected "object" but received "' + typeof obj_record + '" (at "' + path_record + '")');
36417
36425
  }
36418
36426
  })();
@@ -36857,7 +36865,7 @@ function validate$2(obj, path = 'RecordTemplateCreateRepresentation') {
36857
36865
  const key = obj_fields_keys[i];
36858
36866
  const obj_fields_prop = obj_fields[key];
36859
36867
  const path_fields_prop = path_fields + '["' + key + '"]';
36860
- if (typeof obj_fields_prop !== 'object') {
36868
+ if (typeof obj_fields_prop !== 'object' || Array.isArray(obj_fields_prop)) {
36861
36869
  return new TypeError('Expected "object" but received "' + typeof obj_fields_prop + '" (at "' + path_fields_prop + '")');
36862
36870
  }
36863
36871
  }
@@ -37043,13 +37051,13 @@ function validate$1(obj, path = 'RecordDefaultsTemplateCreateRepresentation') {
37043
37051
  const key = obj_objectInfos_keys[i];
37044
37052
  const obj_objectInfos_prop = obj_objectInfos[key];
37045
37053
  const path_objectInfos_prop = path_objectInfos + '["' + key + '"]';
37046
- if (typeof obj_objectInfos_prop !== 'object') {
37054
+ if (typeof obj_objectInfos_prop !== 'object' || Array.isArray(obj_objectInfos_prop)) {
37047
37055
  return new TypeError('Expected "object" but received "' + typeof obj_objectInfos_prop + '" (at "' + path_objectInfos_prop + '")');
37048
37056
  }
37049
37057
  }
37050
37058
  const obj_record = obj.record;
37051
37059
  const path_record = path + '.record';
37052
- if (typeof obj_record !== 'object') {
37060
+ if (typeof obj_record !== 'object' || Array.isArray(obj_record)) {
37053
37061
  return new TypeError('Expected "object" but received "' + typeof obj_record + '" (at "' + path_record + '")');
37054
37062
  }
37055
37063
  })();
@@ -37837,7 +37845,7 @@ function validate(obj, path = 'ContentDocumentCompositeRepresentation') {
37837
37845
  }
37838
37846
  const obj_contentDocument = obj.contentDocument;
37839
37847
  const path_contentDocument = path + '.contentDocument';
37840
- if (typeof obj_contentDocument !== 'object') {
37848
+ if (typeof obj_contentDocument !== 'object' || Array.isArray(obj_contentDocument)) {
37841
37849
  return new TypeError('Expected "object" but received "' + typeof obj_contentDocument + '" (at "' + path_contentDocument + '")');
37842
37850
  }
37843
37851
  const obj_contentDocumentLinks = obj.contentDocumentLinks;
@@ -37848,13 +37856,13 @@ function validate(obj, path = 'ContentDocumentCompositeRepresentation') {
37848
37856
  for (let i = 0; i < obj_contentDocumentLinks.length; i++) {
37849
37857
  const obj_contentDocumentLinks_item = obj_contentDocumentLinks[i];
37850
37858
  const path_contentDocumentLinks_item = path_contentDocumentLinks + '[' + i + ']';
37851
- if (typeof obj_contentDocumentLinks_item !== 'object') {
37859
+ if (typeof obj_contentDocumentLinks_item !== 'object' || Array.isArray(obj_contentDocumentLinks_item)) {
37852
37860
  return new TypeError('Expected "object" but received "' + typeof obj_contentDocumentLinks_item + '" (at "' + path_contentDocumentLinks_item + '")');
37853
37861
  }
37854
37862
  }
37855
37863
  const obj_contentVersion = obj.contentVersion;
37856
37864
  const path_contentVersion = path + '.contentVersion';
37857
- if (typeof obj_contentVersion !== 'object') {
37865
+ if (typeof obj_contentVersion !== 'object' || Array.isArray(obj_contentVersion)) {
37858
37866
  return new TypeError('Expected "object" but received "' + typeof obj_contentVersion + '" (at "' + path_contentVersion + '")');
37859
37867
  }
37860
37868
  })();
@@ -38946,4 +38954,4 @@ withDefaultLuvio((luvio) => {
38946
38954
  });
38947
38955
 
38948
38956
  export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$J as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$O as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$V as RecordRepresentationRepresentationType, TTL$z as RecordRepresentationTTL, RepresentationType$V as RecordRepresentationType, VERSION$1g as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, getFieldApiNamesArray as coerceFieldIdArray, getObjectApiName$1 as coerceObjectId, getObjectApiNamesArray as coerceObjectIdArray, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, createRelatedListAdapterWithPrediction, createRelatedListPlusAdapterWithPrediction, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByNameAdapterFactory, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListInfosByObjectName, getListInfosByObjectNameAdapterFactory, getListInfosByObjectName_imperative, getListObjectInfo, getListObjectInfoAdapterFactory, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, factory$a as getListRecordsByNameAdapterFactory, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPathLayout, getPathLayout_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionInfo, getQuickActionInfo_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordId18Array, getRecordIngestionOverride, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActionsAdapterFactory, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoAdapterFactory, getRelatedListInfoBatch, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatch, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActionsAdapterFactory, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfoAdapterFactory, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$X as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$H as ingestObjectInfo, ingest$B as ingestQuickActionExecutionRepresentation, ingest$O as ingestRecord, instrument, isStoreKeyRecordViewEntity, isSupportedEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$D as keyBuilderFromTypeRecordRepresentation, keyBuilder$1Y as keyBuilderObjectInfo, keyBuilder$1R as keyBuilderQuickActionExecutionRepresentation, keyBuilder$29 as keyBuilderRecord, notifyAllListInfoSummaryUpdateAvailable, notifyAllListRecordUpdateAvailable, notifyListInfoSummaryUpdateAvailable, notifyListInfoUpdateAvailable, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
38949
- // version: 1.360.0-3cf173d4f8
38957
+ // version: 1.361.0-eb406138cb
@@ -95,7 +95,7 @@ var TypeCheckShapes;
95
95
  TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
96
96
  TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
97
97
  })(TypeCheckShapes || (TypeCheckShapes = {}));
98
- // engine version: 0.157.4-1c316582
98
+ // engine version: 0.158.1-2546b2c0
99
99
 
100
100
  const { keys: ObjectKeys, create: ObjectCreate } = Object;
101
101
 
@@ -1650,6 +1650,14 @@ interface Analytics__AnalyticsRepresentationInterface {
1650
1650
  ApiName: String!
1651
1651
  NamespacePrefix: StringValue
1652
1652
  AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
1653
+ Dataspaces: [Analytics__DataspaceRepresentation]
1654
+ }
1655
+
1656
+ type Analytics__DataspaceRepresentation {
1657
+ Id: ID!
1658
+ ApiName: String!
1659
+ MasterLabel: String
1660
+ DeveloperName: String
1653
1661
  }
1654
1662
 
1655
1663
  type Analytics__AnalyticsRepresentation implements Analytics__AnalyticsRepresentationInterface {
@@ -1664,6 +1672,7 @@ type Analytics__AnalyticsRepresentation implements Analytics__AnalyticsRepresent
1664
1672
  NamespacePrefix: StringValue
1665
1673
  RecordOperations: [StringValue]
1666
1674
  AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
1675
+ Dataspaces: [Analytics__DataspaceRepresentation]
1667
1676
  }
1668
1677
 
1669
1678
  type Analytics__SemanticDefinition implements Analytics__AnalyticsRepresentationInterface {
@@ -1678,6 +1687,7 @@ type Analytics__SemanticDefinition implements Analytics__AnalyticsRepresentation
1678
1687
  NamespacePrefix: StringValue
1679
1688
  AnalyticsWorkspaces: Analytics__AnalyticsWorkspaceAssetConnection
1680
1689
  SubMetrics: Analytics__SemanticSubMetricDefinitionConnection
1690
+ Dataspaces: [Analytics__DataspaceRepresentation]
1681
1691
  }
1682
1692
 
1683
1693
  input Analytics__AnalyticsOrderBy {