@salesforce/lds-adapters-uiapi 1.271.0 → 1.273.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.
@@ -58,6 +58,7 @@ interface IngestBaseParams<AstNodeType, StateType> {
58
58
  namespace: string;
59
59
  representationName: string;
60
60
  version: string;
61
+ ingestionTimestamp: number;
61
62
  };
62
63
  }
63
64
  interface CursorBasedIngestParams<AstNodeType, StateType> extends IngestBaseParams<AstNodeType, StateType> {
@@ -104,3 +104,4 @@ export interface ListRecordCollectionRepresentation {
104
104
  searchTerm: string | null;
105
105
  sortBy: Array<string> | null;
106
106
  }
107
+ export declare const notifyUpdateAvailableFactory: (luvio: $64$luvio_engine_Luvio) => (configs: Partial<KeyParams>[]) => Promise<void>;
@@ -4,6 +4,7 @@ export * from './predictive-loading';
4
4
  export { MRU } from './wire/getListUi';
5
5
  export { notifyChangeFactory as GetRecordNotifyChange } from './wire/getRecord';
6
6
  export { notifyUpdateAvailableFactory as NotifyRecordUpdateAvailable } from './generated/types/RecordRepresentation';
7
+ export { notifyUpdateAvailableFactory as NotifyListRecordCollectionUpdateAvailable } from './generated/types/ListRecordCollectionRepresentation';
7
8
  export { ClientOptions as UpdateRecordClientOptions } from './wire/updateRecord';
8
9
  export { notifyUpdateAvailableFactory as NotifyListViewSummaryUpdateAvailable } from './generated/types/ListViewSummaryCollectionRepresentation';
9
10
  export { notifyUpdateAvailableFactory as NotifyListInfoUpdateAvailable } from './raml-artifacts/types/ListInfoRepresentation/notifyUpdateAvailableFactory';
@@ -17,6 +18,7 @@ export type { GetObjectInfosConfig } from './generated/adapters/getObjectInfos';
17
18
  export type { GetObjectInfoDirectoryConfig } from './generated/adapters/getObjectInfoDirectory';
18
19
  export type { GetRecordActionsConfig } from './generated/adapters/getRecordActions';
19
20
  export type { GetRecordAvatarsConfig } from './generated/adapters/getRecordAvatars';
21
+ export type { GetRelatedListsActionsConfig } from './generated/adapters/getRelatedListsActions';
20
22
  export { untrustedIsObject, keyPrefix as UiApiNamespace } from './generated/adapters/adapter-utils';
21
23
  export type { RecordRepresentation } from './generated/types/RecordRepresentation';
22
24
  export { RecordRepresentationNormalized, keyBuilder as keyBuilderRecord, KeyParams as KeyParamsRecord, RepresentationType as RecordRepresentationRepresentationType, VERSION as RecordRepresentationVersion, TTL as RecordRepresentationTTL, RepresentationType as RecordRepresentationType, } from './generated/types/RecordRepresentation';
@@ -13,6 +13,7 @@ export declare let notifyRecordUpdateAvailable: any;
13
13
  export declare let notifyListViewSummaryUpdateAvailable: any;
14
14
  export declare let notifyListInfoUpdateAvailable: any;
15
15
  export declare let notifyQuickActionDefaultsUpdateAvailable: any;
16
+ export declare let notifyListRecordCollectionUpdateAvailable: any;
16
17
  export { createRecordInputFilteredByEditedFields, generateRecordInputForCreate, generateRecordInputForUpdate, getFieldDisplayValue, getFieldValue, getRecordInput, } from './uiapi-static-functions';
17
18
  export { keyBuilder as keyBuilderRecord } from './generated/types/RecordRepresentation';
18
19
  export { ingest as ingestRecord, createIngestRecordWithFields, } from './raml-artifacts/types/RecordRepresentation/ingest';
@@ -21,5 +22,5 @@ export { keyBuilder as keyBuilderQuickActionExecutionRepresentation, ingest as i
21
22
  export { ConfigurationForRestAdapters as Configuration, configurationForRestAdapters as configuration, } from './configuration';
22
23
  export { instrument, Instrument, Registration } from './main';
23
24
  export { CachePolicy, CachePolicyCacheAndNetwork, CachePolicyCacheThenNetwork, CachePolicyNoCache, CachePolicyOnlyIfCached, CachePolicyStaleWhileRevalidate, CachePolicyValidAt, } from './main';
24
- export { getRecordId18, getRecordAdapterFactory, getRecordsAdapterFactory, getRecordActionsAdapterFactory, getRecordAvatarsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getObjectInfoDirectoryAdapterFactory, getTypeCacheKeysRecord, RecordRepresentationVersion, RecordRepresentationTTL, RecordRepresentationType, ObjectInfoRepresentationType, ObjectInfoDirectoryEntryRepresentationType, RecordRepresentationRepresentationType, keyBuilderFromTypeRecordRepresentation, keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderContentDocumentCompositeRepresentation, ingestContentDocumentCompositeRepresentation, getResponseCacheKeysContentDocumentCompositeRepresentation, } from './main';
25
+ export { getRecordId18, getRecordAdapterFactory, getRecordsAdapterFactory, getRecordActionsAdapterFactory, getRecordAvatarsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getObjectInfoDirectoryAdapterFactory, getRelatedListsActionsAdapterFactory, getTypeCacheKeysRecord, RecordRepresentationVersion, RecordRepresentationTTL, RecordRepresentationType, ObjectInfoRepresentationType, ObjectInfoDirectoryEntryRepresentationType, RecordRepresentationRepresentationType, keyBuilderFromTypeRecordRepresentation, keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderContentDocumentCompositeRepresentation, ingestContentDocumentCompositeRepresentation, getResponseCacheKeysContentDocumentCompositeRepresentation, } from './main';
25
26
  export { UiApiNamespace, InMemoryRecordRepresentationQueryEvaluator } from './main';
@@ -8,4 +8,11 @@ export interface GetRecordLayoutTypeConfig {
8
8
  modes?: LayoutMode[];
9
9
  optionalFields?: string[];
10
10
  }
11
+ /**
12
+ * W-14696113
13
+ * Merge fields into optionalFields and return the whole list.
14
+ * @param {string[]} fields
15
+ * @param {string[]} [optionalFields]
16
+ */
17
+ export declare function convertToImplicitFields(fields: string[], optionalFields?: string[]): string[];
11
18
  export declare function getRecordLayoutType(luvio: Luvio, config: GetRecordLayoutTypeConfig, adapterContext: AdapterContext, requestContext?: AdapterRequestContext): Snapshot<RecordRepresentation> | Promise<Snapshot<RecordRepresentation>>;