@salesforce/lds-adapters-uiapi 1.119.4 → 1.120.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.
@@ -25252,7 +25252,7 @@ function deepFreeze$l(input) {
25252
25252
  }
25253
25253
 
25254
25254
  const TTL$h = 900000;
25255
- const VERSION$15 = "d7f25ef61c7467805940f28371ac1f20";
25255
+ const VERSION$15 = "c977d65d153a2b4e888ddd45fb083248";
25256
25256
  function validate$A(obj, path = 'RelatedListInfoRepresentation') {
25257
25257
  const v_error = (() => {
25258
25258
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -25315,6 +25315,11 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
25315
25315
  if (typeof obj_filterLogicString !== 'string') {
25316
25316
  return new TypeError('Expected "string" but received "' + typeof obj_filterLogicString + '" (at "' + path_filterLogicString + '")');
25317
25317
  }
25318
+ const obj_filterable = obj.filterable;
25319
+ const path_filterable = path + '.filterable';
25320
+ if (typeof obj_filterable !== 'boolean') {
25321
+ return new TypeError('Expected "boolean" but received "' + typeof obj_filterable + '" (at "' + path_filterable + '")');
25322
+ }
25318
25323
  const obj_filteredByInfo = obj.filteredByInfo;
25319
25324
  const path_filteredByInfo = path + '.filteredByInfo';
25320
25325
  if (!ArrayIsArray(obj_filteredByInfo)) {
@@ -25330,11 +25335,6 @@ function validate$A(obj, path = 'RelatedListInfoRepresentation') {
25330
25335
  return new TypeError(message);
25331
25336
  }
25332
25337
  }
25333
- const obj_isTransientFilterable = obj.isTransientFilterable;
25334
- const path_isTransientFilterable = path + '.isTransientFilterable';
25335
- if (typeof obj_isTransientFilterable !== 'boolean') {
25336
- return new TypeError('Expected "boolean" but received "' + typeof obj_isTransientFilterable + '" (at "' + path_isTransientFilterable + '")');
25337
- }
25338
25338
  const obj_label = obj.label;
25339
25339
  const path_label = path + '.label';
25340
25340
  if (typeof obj_label !== 'string') {
@@ -25474,15 +25474,15 @@ const select$1f = function RelatedListInfoRepresentationSelect() {
25474
25474
  name: 'filterLogicString',
25475
25475
  kind: 'Scalar'
25476
25476
  },
25477
+ {
25478
+ name: 'filterable',
25479
+ kind: 'Scalar'
25480
+ },
25477
25481
  {
25478
25482
  name: 'filteredByInfo',
25479
25483
  kind: 'Object',
25480
25484
  opaque: true
25481
25485
  },
25482
- {
25483
- name: 'isTransientFilterable',
25484
- kind: 'Scalar'
25485
- },
25486
25486
  {
25487
25487
  name: 'label',
25488
25488
  kind: 'Scalar'
@@ -5,7 +5,7 @@ import { ListOrderByInfoRepresentation as ListOrderByInfoRepresentation_ListOrde
5
5
  import { ListUserPreferenceRepresentation as ListUserPreferenceRepresentation_ListUserPreferenceRepresentation } from './ListUserPreferenceRepresentation';
6
6
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
7
7
  export declare const TTL = 900000;
8
- export declare const VERSION = "d7f25ef61c7467805940f28371ac1f20";
8
+ export declare const VERSION = "c977d65d153a2b4e888ddd45fb083248";
9
9
  export declare function validate(obj: any, path?: string): TypeError | null;
10
10
  export declare const RepresentationType: string;
11
11
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -56,10 +56,10 @@ export interface RelatedListInfoRepresentationNormalized {
56
56
  fields: Array<string>;
57
57
  /** This is the filter logic such as "(1 OR 2) and 3". Indexes are 1-based. */
58
58
  filterLogicString: string;
59
+ /** Indicates whether RelatedList supports QuickFilters. */
60
+ filterable: boolean;
59
61
  /** Describes how the list view is filtered. */
60
62
  filteredByInfo: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
61
- /** Indicates whether RelatedList supports QuickFilters. */
62
- isTransientFilterable: boolean;
63
63
  /** The list view's display label. E.g. "All Accounts". */
64
64
  label: string;
65
65
  listReference: RelatedListReferenceRepresentation_RelatedListReferenceRepresentation;
@@ -100,8 +100,8 @@ export interface RelatedListInfoRepresentation {
100
100
  fieldApiName: string;
101
101
  fields: Array<string>;
102
102
  filterLogicString: string;
103
+ filterable: boolean;
103
104
  filteredByInfo: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
104
- isTransientFilterable: boolean;
105
105
  label: string;
106
106
  listReference: RelatedListReferenceRepresentation_RelatedListReferenceRepresentation;
107
107
  objectApiNames: Array<string>;
@@ -25254,7 +25254,7 @@
25254
25254
  }
25255
25255
 
25256
25256
  const TTL$h = 900000;
25257
- const VERSION$15 = "d7f25ef61c7467805940f28371ac1f20";
25257
+ const VERSION$15 = "c977d65d153a2b4e888ddd45fb083248";
25258
25258
  function validate$A(obj, path = 'RelatedListInfoRepresentation') {
25259
25259
  const v_error = (() => {
25260
25260
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -25317,6 +25317,11 @@
25317
25317
  if (typeof obj_filterLogicString !== 'string') {
25318
25318
  return new TypeError('Expected "string" but received "' + typeof obj_filterLogicString + '" (at "' + path_filterLogicString + '")');
25319
25319
  }
25320
+ const obj_filterable = obj.filterable;
25321
+ const path_filterable = path + '.filterable';
25322
+ if (typeof obj_filterable !== 'boolean') {
25323
+ return new TypeError('Expected "boolean" but received "' + typeof obj_filterable + '" (at "' + path_filterable + '")');
25324
+ }
25320
25325
  const obj_filteredByInfo = obj.filteredByInfo;
25321
25326
  const path_filteredByInfo = path + '.filteredByInfo';
25322
25327
  if (!ArrayIsArray(obj_filteredByInfo)) {
@@ -25332,11 +25337,6 @@
25332
25337
  return new TypeError(message);
25333
25338
  }
25334
25339
  }
25335
- const obj_isTransientFilterable = obj.isTransientFilterable;
25336
- const path_isTransientFilterable = path + '.isTransientFilterable';
25337
- if (typeof obj_isTransientFilterable !== 'boolean') {
25338
- return new TypeError('Expected "boolean" but received "' + typeof obj_isTransientFilterable + '" (at "' + path_isTransientFilterable + '")');
25339
- }
25340
25340
  const obj_label = obj.label;
25341
25341
  const path_label = path + '.label';
25342
25342
  if (typeof obj_label !== 'string') {
@@ -25476,15 +25476,15 @@
25476
25476
  name: 'filterLogicString',
25477
25477
  kind: 'Scalar'
25478
25478
  },
25479
+ {
25480
+ name: 'filterable',
25481
+ kind: 'Scalar'
25482
+ },
25479
25483
  {
25480
25484
  name: 'filteredByInfo',
25481
25485
  kind: 'Object',
25482
25486
  opaque: true
25483
25487
  },
25484
- {
25485
- name: 'isTransientFilterable',
25486
- kind: 'Scalar'
25487
- },
25488
25488
  {
25489
25489
  name: 'label',
25490
25490
  kind: 'Scalar'
@@ -25354,7 +25354,7 @@
25354
25354
  }
25355
25355
 
25356
25356
  var TTL$h = 900000;
25357
- var VERSION$15 = "d7f25ef61c7467805940f28371ac1f20";
25357
+ var VERSION$15 = "c977d65d153a2b4e888ddd45fb083248";
25358
25358
  function validate$A(obj, path) {
25359
25359
  if (path === void 0) { path = 'RelatedListInfoRepresentation'; }
25360
25360
  var v_error = (function () {
@@ -25418,6 +25418,11 @@
25418
25418
  if (typeof obj_filterLogicString !== 'string') {
25419
25419
  return new TypeError('Expected "string" but received "' + typeof obj_filterLogicString + '" (at "' + path_filterLogicString + '")');
25420
25420
  }
25421
+ var obj_filterable = obj.filterable;
25422
+ var path_filterable = path + '.filterable';
25423
+ if (typeof obj_filterable !== 'boolean') {
25424
+ return new TypeError('Expected "boolean" but received "' + typeof obj_filterable + '" (at "' + path_filterable + '")');
25425
+ }
25421
25426
  var obj_filteredByInfo = obj.filteredByInfo;
25422
25427
  var path_filteredByInfo = path + '.filteredByInfo';
25423
25428
  if (!ArrayIsArray(obj_filteredByInfo)) {
@@ -25433,11 +25438,6 @@
25433
25438
  return new TypeError(message);
25434
25439
  }
25435
25440
  }
25436
- var obj_isTransientFilterable = obj.isTransientFilterable;
25437
- var path_isTransientFilterable = path + '.isTransientFilterable';
25438
- if (typeof obj_isTransientFilterable !== 'boolean') {
25439
- return new TypeError('Expected "boolean" but received "' + typeof obj_isTransientFilterable + '" (at "' + path_isTransientFilterable + '")');
25440
- }
25441
25441
  var obj_label = obj.label;
25442
25442
  var path_label = path + '.label';
25443
25443
  if (typeof obj_label !== 'string') {
@@ -25577,15 +25577,15 @@
25577
25577
  name: 'filterLogicString',
25578
25578
  kind: 'Scalar'
25579
25579
  },
25580
+ {
25581
+ name: 'filterable',
25582
+ kind: 'Scalar'
25583
+ },
25580
25584
  {
25581
25585
  name: 'filteredByInfo',
25582
25586
  kind: 'Object',
25583
25587
  opaque: true
25584
25588
  },
25585
- {
25586
- name: 'isTransientFilterable',
25587
- kind: 'Scalar'
25588
- },
25589
25589
  {
25590
25590
  name: 'label',
25591
25591
  kind: 'Scalar'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-uiapi",
3
- "version": "1.119.4",
3
+ "version": "1.120.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters for record related UI API endpoints",
6
6
  "main": "dist/umd/es2018/uiapi-records-service.js",
@@ -15264,4 +15264,4 @@ register({
15264
15264
  });
15265
15265
 
15266
15266
  export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
15267
- // version: 1.119.4-5005ea637
15267
+ // version: 1.120.0-d7f610c36
package/sfdc/index.js CHANGED
@@ -24643,7 +24643,7 @@ function deepFreeze$l(input) {
24643
24643
  }
24644
24644
 
24645
24645
  const TTL$c = 900000;
24646
- const VERSION$k = "d7f25ef61c7467805940f28371ac1f20";
24646
+ const VERSION$k = "c977d65d153a2b4e888ddd45fb083248";
24647
24647
  function validate$w(obj, path = 'RelatedListInfoRepresentation') {
24648
24648
  const v_error = (() => {
24649
24649
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -24706,6 +24706,11 @@ function validate$w(obj, path = 'RelatedListInfoRepresentation') {
24706
24706
  if (typeof obj_filterLogicString !== 'string') {
24707
24707
  return new TypeError('Expected "string" but received "' + typeof obj_filterLogicString + '" (at "' + path_filterLogicString + '")');
24708
24708
  }
24709
+ const obj_filterable = obj.filterable;
24710
+ const path_filterable = path + '.filterable';
24711
+ if (typeof obj_filterable !== 'boolean') {
24712
+ return new TypeError('Expected "boolean" but received "' + typeof obj_filterable + '" (at "' + path_filterable + '")');
24713
+ }
24709
24714
  const obj_filteredByInfo = obj.filteredByInfo;
24710
24715
  const path_filteredByInfo = path + '.filteredByInfo';
24711
24716
  if (!ArrayIsArray(obj_filteredByInfo)) {
@@ -24721,11 +24726,6 @@ function validate$w(obj, path = 'RelatedListInfoRepresentation') {
24721
24726
  return new TypeError(message);
24722
24727
  }
24723
24728
  }
24724
- const obj_isTransientFilterable = obj.isTransientFilterable;
24725
- const path_isTransientFilterable = path + '.isTransientFilterable';
24726
- if (typeof obj_isTransientFilterable !== 'boolean') {
24727
- return new TypeError('Expected "boolean" but received "' + typeof obj_isTransientFilterable + '" (at "' + path_isTransientFilterable + '")');
24728
- }
24729
24729
  const obj_label = obj.label;
24730
24730
  const path_label = path + '.label';
24731
24731
  if (typeof obj_label !== 'string') {
@@ -24865,15 +24865,15 @@ const select$w = function RelatedListInfoRepresentationSelect() {
24865
24865
  name: 'filterLogicString',
24866
24866
  kind: 'Scalar'
24867
24867
  },
24868
+ {
24869
+ name: 'filterable',
24870
+ kind: 'Scalar'
24871
+ },
24868
24872
  {
24869
24873
  name: 'filteredByInfo',
24870
24874
  kind: 'Object',
24871
24875
  opaque: true
24872
24876
  },
24873
- {
24874
- name: 'isTransientFilterable',
24875
- kind: 'Scalar'
24876
- },
24877
24877
  {
24878
24878
  name: 'label',
24879
24879
  kind: 'Scalar'
@@ -35959,4 +35959,4 @@ withDefaultLuvio((luvio) => {
35959
35959
  });
35960
35960
 
35961
35961
  export { InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoRepresentationType, RepresentationType$N as RecordRepresentationRepresentationType, TTL$v as RecordRepresentationTTL, RepresentationType$N as RecordRepresentationType, VERSION$14 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createRecord, deleteRecord, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActions_imperative, factory$e as getRecordAdapterFactory, getRecordAvatars, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$N as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$B as ingestObjectInfo, ingest$x as ingestQuickActionExecutionRepresentation, ingest$G as ingestRecord, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$x as keyBuilderFromTypeRecordRepresentation, keyBuilder$1F as keyBuilderObjectInfo, keyBuilder$1z as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1Q as keyBuilderRecord, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateLayoutUserState, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
35962
- // version: 1.119.4-5005ea637
35962
+ // version: 1.120.0-d7f610c36
package/src/raml/api.raml CHANGED
@@ -3009,6 +3009,9 @@ types:
3009
3009
  type: array
3010
3010
  items:
3011
3011
  type: string
3012
+ filterable:
3013
+ description: Indicates whether RelatedList supports QuickFilters.
3014
+ type: boolean
3012
3015
  filterLogicString:
3013
3016
  description: This is the filter logic such as "(1 OR 2) and 3". Indexes are
3014
3017
  1-based.
@@ -3018,9 +3021,6 @@ types:
3018
3021
  type: array
3019
3022
  items:
3020
3023
  type: ListFilterByInfoRepresentation
3021
- isTransientFilterable:
3022
- description: Indicates whether RelatedList supports QuickFilters.
3023
- type: boolean
3024
3024
  label:
3025
3025
  description: The list view's display label. E.g. "All Accounts".
3026
3026
  type: string