@salesforce/lds-adapters-uiapi 1.179.0 → 1.181.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.
@@ -0,0 +1,23 @@
1
+ import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
2
+ import { ListFilterByInfoRepresentation as types_ListFilterByInfoRepresentation_ListFilterByInfoRepresentation } from '../types/ListFilterByInfoRepresentation';
3
+ import { ListScopeRepresentation as types_ListScopeRepresentation_ListScopeRepresentation } from '../types/ListScopeRepresentation';
4
+ import { ResourceRequestConfig as resources_patchUiApiListInfoByListViewApiNameAndObjectApiName_ResourceRequestConfig } from '../resources/patchUiApiListInfoByListViewApiNameAndObjectApiName';
5
+ import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
6
+ import { ListInfoRepresentation as types_ListInfoRepresentation_ListInfoRepresentation } from '../types/ListInfoRepresentation';
7
+ export declare const adapterName = "updateListInfoByName";
8
+ export declare const updateListInfoByName_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
9
+ export interface UpdateListInfoByNameConfig {
10
+ listViewApiName: string;
11
+ objectApiName: string;
12
+ filterLogicString?: string | null;
13
+ filteredByInfo?: Array<types_ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
14
+ label?: string;
15
+ scope?: types_ListScopeRepresentation_ListScopeRepresentation | null;
16
+ visibility?: string;
17
+ }
18
+ export declare function createResourceParams(config: UpdateListInfoByNameConfig): resources_patchUiApiListInfoByListViewApiNameAndObjectApiName_ResourceRequestConfig;
19
+ export declare function coerceConfig(config: adapter$45$utils_UncoercedConfiguration<UpdateListInfoByNameConfig, any>): adapter$45$utils_Untrusted<UpdateListInfoByNameConfig>;
20
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateListInfoByNameConfig>): adapter$45$utils_Untrusted<UpdateListInfoByNameConfig>;
21
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateListInfoByNameConfig | null;
22
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateListInfoByNameConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ListInfoRepresentation_ListInfoRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ListInfoRepresentation_ListInfoRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ListInfoRepresentation_ListInfoRepresentation, any>>;
23
+ export declare const updateListInfoByNameAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateListInfoByNameConfig, types_ListInfoRepresentation_ListInfoRepresentation>;
@@ -17,6 +17,7 @@ export { getLayoutAdapterFactory } from '../adapters/getLayout';
17
17
  export { getLayoutUserStateAdapterFactory } from '../adapters/getLayoutUserState';
18
18
  export { getListInfosByNameAdapterFactory } from '../adapters/getListInfosByName';
19
19
  export { getListInfoByNameAdapterFactory } from '../adapters/getListInfoByName';
20
+ export { updateListInfoByNameAdapterFactory } from '../adapters/updateListInfoByName';
20
21
  export { getListUiByListViewIdAdapterFactory } from '../adapters/getListUiByListViewId';
21
22
  export { getListViewSummaryCollectionAdapterFactory } from '../adapters/getListViewSummaryCollection';
22
23
  export { getListUiByApiNameAdapterFactory } from '../adapters/getListUiByApiName';
@@ -52,6 +52,7 @@ declare let getSearchFilterOptions: any;
52
52
  declare let getSearchResults: any;
53
53
  declare let performQuickAction: any;
54
54
  declare let performUpdateRecordQuickAction: any;
55
+ declare let updateListInfoByName: any;
55
56
  declare let updateRecord: any;
56
57
  declare let updateRecordAvatar: any;
57
58
  declare let getActionOverrides_imperative: any;
@@ -102,4 +103,4 @@ declare let getRelatedListsInfo_imperative: any;
102
103
  declare let getSearchFilterMetadata_imperative: any;
103
104
  declare let getSearchFilterOptions_imperative: any;
104
105
  declare let getSearchResults_imperative: any;
105
- export { createContentDocumentAndVersion, createContentVersion, createRecord, deleteRecord, getActionOverrides, getAllApps, getAppDetails, getDuplicateConfiguration, getDuplicates, getGlobalActions, getKeywordSearchResults, getLayout, getLayoutUserState, getListInfoByName, getListInfosByName, getListRecordsByName, getListUi, getLookupActions, getLookupMetadata, getLookupRecords, getNavItems, getObjectCreateActions, getObjectInfo, getObjectInfos, getPicklistValues, getPicklistValuesByRecordType, getQuickActionDefaults, getQuickActionLayout, getRecord, getRecordActions, getRecordAvatars, getRecordCreateDefaults, getRecordEditActions, getRecordTemplateClone, getRecordTemplateCreate, getRecordUi, getRecords, getRelatedListActions, getRelatedListCount, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListRecordActions, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListsActions, getRelatedListsCount, getRelatedListsInfo, getSearchFilterMetadata, getSearchFilterOptions, getSearchResults, performQuickAction, performUpdateRecordQuickAction, updateRecord, updateRecordAvatar, getActionOverrides_imperative, getAllApps_imperative, getAppDetails_imperative, getDuplicateConfiguration_imperative, getDuplicates_imperative, getGlobalActions_imperative, getKeywordSearchResults_imperative, getLayout_imperative, getLayoutUserState_imperative, getListInfoByName_imperative, getListInfosByName_imperative, getListRecordsByName_imperative, getListUi_imperative, getLookupActions_imperative, getLookupMetadata_imperative, getLookupRecords_imperative, getNavItems_imperative, getObjectCreateActions_imperative, getObjectInfo_imperative, getObjectInfos_imperative, getPicklistValues_imperative, getPicklistValuesByRecordType_imperative, getQuickActionDefaults_imperative, getQuickActionLayout_imperative, getRecord_imperative, getRecordActions_imperative, getRecordAvatars_imperative, getRecordCreateDefaults_imperative, getRecordEditActions_imperative, getRecordTemplateClone_imperative, getRecordTemplateCreate_imperative, getRecordUi_imperative, getRecords_imperative, getRelatedListActions_imperative, getRelatedListCount_imperative, getRelatedListInfo_imperative, getRelatedListInfoBatch_imperative, getRelatedListPreferences_imperative, getRelatedListPreferencesBatch_imperative, getRelatedListRecordActions_imperative, getRelatedListRecords_imperative, getRelatedListRecordsBatch_imperative, getRelatedListsActions_imperative, getRelatedListsCount_imperative, getRelatedListsInfo_imperative, getSearchFilterMetadata_imperative, getSearchFilterOptions_imperative, getSearchResults_imperative };
106
+ export { createContentDocumentAndVersion, createContentVersion, createRecord, deleteRecord, getActionOverrides, getAllApps, getAppDetails, getDuplicateConfiguration, getDuplicates, getGlobalActions, getKeywordSearchResults, getLayout, getLayoutUserState, getListInfoByName, getListInfosByName, getListRecordsByName, getListUi, getLookupActions, getLookupMetadata, getLookupRecords, getNavItems, getObjectCreateActions, getObjectInfo, getObjectInfos, getPicklistValues, getPicklistValuesByRecordType, getQuickActionDefaults, getQuickActionLayout, getRecord, getRecordActions, getRecordAvatars, getRecordCreateDefaults, getRecordEditActions, getRecordTemplateClone, getRecordTemplateCreate, getRecordUi, getRecords, getRelatedListActions, getRelatedListCount, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListRecordActions, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListsActions, getRelatedListsCount, getRelatedListsInfo, getSearchFilterMetadata, getSearchFilterOptions, getSearchResults, performQuickAction, performUpdateRecordQuickAction, updateListInfoByName, updateRecord, updateRecordAvatar, getActionOverrides_imperative, getAllApps_imperative, getAppDetails_imperative, getDuplicateConfiguration_imperative, getDuplicates_imperative, getGlobalActions_imperative, getKeywordSearchResults_imperative, getLayout_imperative, getLayoutUserState_imperative, getListInfoByName_imperative, getListInfosByName_imperative, getListRecordsByName_imperative, getListUi_imperative, getLookupActions_imperative, getLookupMetadata_imperative, getLookupRecords_imperative, getNavItems_imperative, getObjectCreateActions_imperative, getObjectInfo_imperative, getObjectInfos_imperative, getPicklistValues_imperative, getPicklistValuesByRecordType_imperative, getQuickActionDefaults_imperative, getQuickActionLayout_imperative, getRecord_imperative, getRecordActions_imperative, getRecordAvatars_imperative, getRecordCreateDefaults_imperative, getRecordEditActions_imperative, getRecordTemplateClone_imperative, getRecordTemplateCreate_imperative, getRecordUi_imperative, getRecords_imperative, getRelatedListActions_imperative, getRelatedListCount_imperative, getRelatedListInfo_imperative, getRelatedListInfoBatch_imperative, getRelatedListPreferences_imperative, getRelatedListPreferencesBatch_imperative, getRelatedListRecordActions_imperative, getRelatedListRecords_imperative, getRelatedListRecordsBatch_imperative, getRelatedListsActions_imperative, getRelatedListsCount_imperative, getRelatedListsInfo_imperative, getSearchFilterMetadata_imperative, getSearchFilterOptions_imperative, getSearchResults_imperative };
@@ -0,0 +1,22 @@
1
+ import { ListFilterByInfoRepresentation as types_ListFilterByInfoRepresentation_ListFilterByInfoRepresentation } from '../types/ListFilterByInfoRepresentation';
2
+ import { ListScopeRepresentation as types_ListScopeRepresentation_ListScopeRepresentation } from '../types/ListScopeRepresentation';
3
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
4
+ import { ListInfoRepresentation as types_ListInfoRepresentation_ListInfoRepresentation } from '../types/ListInfoRepresentation';
5
+ export interface ResourceRequestConfig {
6
+ urlParams: {
7
+ listViewApiName: string;
8
+ objectApiName: string;
9
+ };
10
+ body: {
11
+ filterLogicString?: string | null;
12
+ filteredByInfo?: Array<types_ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
13
+ label?: string;
14
+ scope?: types_ListScopeRepresentation_ListScopeRepresentation | null;
15
+ visibility?: string;
16
+ };
17
+ }
18
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
19
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ListInfoRepresentation_ListInfoRepresentation): void;
20
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListInfoRepresentation_ListInfoRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ListInfoRepresentation_ListInfoRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ListInfoRepresentation_ListInfoRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ListInfoRepresentation_ListInfoRepresentation, any>;
21
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
22
+ export default createResourceRequest;
@@ -0,0 +1,42 @@
1
+ import { ListFilterByInfoRepresentation as ListFilterByInfoRepresentation_ListFilterByInfoRepresentation } from './ListFilterByInfoRepresentation';
2
+ import { ListScopeRepresentation as ListScopeRepresentation_ListScopeRepresentation } from './ListScopeRepresentation';
3
+ 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';
4
+ export declare const VERSION = "8a23c6b6e87ab8397ebbc53cbb32270e";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: ListInfoInputRepresentation, existing: ListInfoInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListInfoInputRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: ListInfoInputRepresentationNormalized, incoming: ListInfoInputRepresentationNormalized): boolean;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ListInfoInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Representation of a List Info input.
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface ListInfoInputRepresentationNormalized {
19
+ /** Input representation for filterLogicString. */
20
+ filterLogicString?: string | null;
21
+ /** Describes how the list view is filtered. */
22
+ filteredByInfo?: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
23
+ /** Input representation for label. */
24
+ label?: string;
25
+ /** Input representation for filterLogicString. */
26
+ scope?: ListScopeRepresentation_ListScopeRepresentation | null;
27
+ /** Input representation for visibility. */
28
+ visibility?: string;
29
+ }
30
+ /**
31
+ * Representation of a List Info input.
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface ListInfoInputRepresentation {
37
+ filterLogicString?: string | null;
38
+ filteredByInfo?: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
39
+ label?: string;
40
+ scope?: ListScopeRepresentation_ListScopeRepresentation | null;
41
+ visibility?: string;
42
+ }