@salesforce/lds-adapters-uiapi 1.263.0 → 1.264.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.
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "ad91d41fef86d335ecd5766a23c8634d";
2
+ export declare const VERSION = "bcebe6534390a1f2d867d7763a5c3946";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: SearchFilterOutputRepresentation, existing: SearchFilterOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchFilterOutputRepresentationNormalized;
@@ -16,6 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  export interface SearchFilterOutputRepresentationNormalized {
17
17
  /** Field path where we should apply the filter */
18
18
  fieldPath: string;
19
+ /** Label for the filter */
20
+ label: string;
19
21
  /** Operator for the filter */
20
22
  operator: string;
21
23
  /** Values applied for the filter */
@@ -29,6 +31,7 @@ export interface SearchFilterOutputRepresentationNormalized {
29
31
  */
30
32
  export interface SearchFilterOutputRepresentation {
31
33
  fieldPath: string;
34
+ label: string;
32
35
  operator: string;
33
36
  values: Array<string>;
34
37
  }
@@ -30856,6 +30856,11 @@ function validate$g(obj, path = 'SearchFilterOutputRepresentation') {
30856
30856
  if (typeof obj_fieldPath !== 'string') {
30857
30857
  return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
30858
30858
  }
30859
+ const obj_label = obj.label;
30860
+ const path_label = path + '.label';
30861
+ if (typeof obj_label !== 'string') {
30862
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
30863
+ }
30859
30864
  const obj_operator = obj.operator;
30860
30865
  const path_operator = path + '.operator';
30861
30866
  if (typeof obj_operator !== 'string') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-uiapi",
3
- "version": "1.263.0",
3
+ "version": "1.264.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters for record related UI API endpoints",
6
6
  "main": "dist/es/es2018/uiapi-records-service.js",
@@ -68,14 +68,14 @@
68
68
  }
69
69
  },
70
70
  "dependencies": {
71
- "@salesforce/lds-bindings": "^1.263.0",
72
- "@salesforce/lds-default-luvio": "^1.263.0"
71
+ "@salesforce/lds-bindings": "^1.264.0",
72
+ "@salesforce/lds-default-luvio": "^1.264.0"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@databases/sqlite": "^3.0.0",
76
- "@salesforce/lds-compiler-plugins": "^1.263.0",
77
- "@salesforce/lds-jest": "^1.263.0",
78
- "@salesforce/lds-store-binary": "^1.263.0"
76
+ "@salesforce/lds-compiler-plugins": "^1.264.0",
77
+ "@salesforce/lds-jest": "^1.264.0",
78
+ "@salesforce/lds-store-binary": "^1.264.0"
79
79
  },
80
80
  "luvioBundlesize": [
81
81
  {
@@ -18003,4 +18003,4 @@ register({
18003
18003
  });
18004
18004
 
18005
18005
  export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
18006
- // version: 1.263.0-378177d88
18006
+ // version: 1.264.0-76ebb1758
package/sfdc/index.js CHANGED
@@ -30253,6 +30253,11 @@ function validate$c(obj, path = 'SearchFilterOutputRepresentation') {
30253
30253
  if (typeof obj_fieldPath !== 'string') {
30254
30254
  return new TypeError('Expected "string" but received "' + typeof obj_fieldPath + '" (at "' + path_fieldPath + '")');
30255
30255
  }
30256
+ const obj_label = obj.label;
30257
+ const path_label = path + '.label';
30258
+ if (typeof obj_label !== 'string') {
30259
+ return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
30260
+ }
30256
30261
  const obj_operator = obj.operator;
30257
30262
  const path_operator = path + '.operator';
30258
30263
  if (typeof obj_operator !== 'string') {
@@ -35573,4 +35578,4 @@ withDefaultLuvio((luvio) => {
35573
35578
  });
35574
35579
 
35575
35580
  export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$N as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$S as RecordRepresentationRepresentationType, TTL$y as RecordRepresentationTTL, RepresentationType$S as RecordRepresentationType, VERSION$18 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, 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, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, 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, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, 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$U as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$G as ingestObjectInfo, ingest$A as ingestQuickActionExecutionRepresentation, ingest$L as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$A as keyBuilderFromTypeRecordRepresentation, keyBuilder$1R as keyBuilderObjectInfo, keyBuilder$1K as keyBuilderQuickActionExecutionRepresentation, keyBuilder$20 as keyBuilderRecord, notifyListInfoUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
35576
- // version: 1.263.0-378177d88
35581
+ // version: 1.264.0-76ebb1758
package/src/raml/api.raml CHANGED
@@ -4289,6 +4289,9 @@ types:
4289
4289
  description: Search filter output response.
4290
4290
  type: object
4291
4291
  properties:
4292
+ label:
4293
+ description: Label for the filter
4294
+ type: string
4292
4295
  fieldPath:
4293
4296
  description: Field path where we should apply the filter
4294
4297
  type: string