@salesforce/lds-adapters-uiapi 1.273.0 → 1.274.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/dist/es/es2018/types/src/generated/adapters/getListInfosByObjectName.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc_restAdapters.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/getUiApiListInfoByObjectApiName.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoSummaryCollectionRepresentation.d.ts +94 -0
- package/dist/es/es2018/types/src/generated/types/ListInfoSummaryRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/main.d.ts +3 -0
- package/dist/es/es2018/types/src/sfdc_rest.d.ts +2 -1
- package/dist/es/es2018/uiapi-records-service.js +2761 -1909
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +2691 -1829
- package/src/raml/api.raml +88 -0
- package/src/raml/luvio.raml +48 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getUiApiListInfoByObjectApiName_ResourceRequestConfig, createResourceRequest as resources_getUiApiListInfoByObjectApiName_createResourceRequest } from '../resources/getUiApiListInfoByObjectApiName';
|
|
4
|
+
import { ListInfoSummaryCollectionRepresentation as types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation } from '../types/ListInfoSummaryCollectionRepresentation';
|
|
5
|
+
export declare const adapterName = "getListInfosByObjectName";
|
|
6
|
+
export declare const getListInfosByObjectName_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getListInfosByObjectName_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetListInfosByObjectNameConfig {
|
|
9
|
+
objectApiName: string;
|
|
10
|
+
pageSize?: number;
|
|
11
|
+
pageToken?: string;
|
|
12
|
+
q?: string;
|
|
13
|
+
recentListsOnly?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const createResourceParams: (config: GetListInfosByObjectNameConfig) => resources_getUiApiListInfoByObjectApiName_ResourceRequestConfig;
|
|
16
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetListInfosByObjectNameConfig): string;
|
|
17
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetListInfosByObjectNameConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
18
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetListInfosByObjectNameConfig>): adapter$45$utils_Untrusted<GetListInfosByObjectNameConfig>;
|
|
19
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetListInfosByObjectNameConfig | null;
|
|
20
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetListInfosByObjectNameConfig): $64$luvio_engine_Fragment;
|
|
21
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListInfosByObjectNameConfig): $64$luvio_engine_Snapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation, any>;
|
|
22
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetListInfosByObjectNameConfig, resourceParams: resources_getUiApiListInfoByObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation, any>>;
|
|
23
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetListInfosByObjectNameConfig, resourceParams: resources_getUiApiListInfoByObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
24
|
+
export declare function prepareRequest(luvio: $64$luvio_engine_Luvio, config: GetListInfosByObjectNameConfig, resourceParams: resources_getUiApiListInfoByObjectApiName_ResourceRequestConfig, cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation>): ReturnType<typeof resources_getUiApiListInfoByObjectApiName_createResourceRequest>;
|
|
25
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListInfosByObjectNameConfig, options?: $64$luvio_engine_DispatchResourceRequestContext, cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation>): Promise<$64$luvio_engine_Snapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation, any>>;
|
|
26
|
+
export type BuildSnapshotContext = {
|
|
27
|
+
luvio: $64$luvio_engine_Luvio;
|
|
28
|
+
config: GetListInfosByObjectNameConfig;
|
|
29
|
+
cacheSnapshot?: $64$luvio_engine_UnfulfilledSnapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation>;
|
|
30
|
+
};
|
|
31
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation, any>>;
|
|
32
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation>): $64$luvio_engine_Snapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation, any>;
|
|
33
|
+
export declare const getListInfosByObjectNameAdapterFactory: $64$luvio_engine_AdapterFactory<GetListInfosByObjectNameConfig, types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation>;
|
|
@@ -17,6 +17,7 @@ export { getDuplicateConfigurationAdapterFactory } from '../adapters/getDuplicat
|
|
|
17
17
|
export { getLayoutAdapterFactory } from '../adapters/getLayout';
|
|
18
18
|
export { getLayoutUserStateAdapterFactory } from '../adapters/getLayoutUserState';
|
|
19
19
|
export { getListInfosByNameAdapterFactory } from '../adapters/getListInfosByName';
|
|
20
|
+
export { getListInfosByObjectNameAdapterFactory } from '../adapters/getListInfosByObjectName';
|
|
20
21
|
export { createListInfoAdapterFactory } from '../adapters/createListInfo';
|
|
21
22
|
export { getListInfoByNameAdapterFactory } from '../adapters/getListInfoByName';
|
|
22
23
|
export { deleteListInfoAdapterFactory } from '../adapters/deleteListInfo';
|
|
@@ -17,6 +17,7 @@ declare let getLayout: any;
|
|
|
17
17
|
declare let getLayoutUserState: any;
|
|
18
18
|
declare let getListInfoByName: any;
|
|
19
19
|
declare let getListInfosByName: any;
|
|
20
|
+
declare let getListInfosByObjectName: any;
|
|
20
21
|
declare let getListObjectInfo: any;
|
|
21
22
|
declare let getListPreferences: any;
|
|
22
23
|
declare let getListRecordsByName: any;
|
|
@@ -74,6 +75,7 @@ declare let getLayout_imperative: any;
|
|
|
74
75
|
declare let getLayoutUserState_imperative: any;
|
|
75
76
|
declare let getListInfoByName_imperative: any;
|
|
76
77
|
declare let getListInfosByName_imperative: any;
|
|
78
|
+
declare let getListInfosByObjectName_imperative: any;
|
|
77
79
|
declare let getListObjectInfo_imperative: any;
|
|
78
80
|
declare let getListPreferences_imperative: any;
|
|
79
81
|
declare let getListRecordsByName_imperative: any;
|
|
@@ -113,4 +115,4 @@ declare let getRelatedListsInfo_imperative: any;
|
|
|
113
115
|
declare let getSearchFilterMetadata_imperative: any;
|
|
114
116
|
declare let getSearchFilterOptions_imperative: any;
|
|
115
117
|
declare let getSearchResults_imperative: any;
|
|
116
|
-
export { createContentDocumentAndVersion, createContentVersion, createListInfo, createRecord, deleteListInfo, deleteRecord, executeBatchRecordOperations, getActionOverrides, getAllApps, getAppDetails, getDuplicateConfiguration, getDuplicates, getFlexipageFormulaOverrides, getGlobalActions, getKeywordSearchResults, getLayout, getLayoutUserState, getListInfoByName, getListInfosByName, getListObjectInfo, getListPreferences, 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, updateListPreferences, updateRecord, updateRecordAvatar, getActionOverrides_imperative, getAllApps_imperative, getAppDetails_imperative, getDuplicateConfiguration_imperative, getDuplicates_imperative, getFlexipageFormulaOverrides_imperative, getGlobalActions_imperative, getKeywordSearchResults_imperative, getLayout_imperative, getLayoutUserState_imperative, getListInfoByName_imperative, getListInfosByName_imperative, getListObjectInfo_imperative, getListPreferences_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 };
|
|
118
|
+
export { createContentDocumentAndVersion, createContentVersion, createListInfo, createRecord, deleteListInfo, deleteRecord, executeBatchRecordOperations, getActionOverrides, getAllApps, getAppDetails, getDuplicateConfiguration, getDuplicates, getFlexipageFormulaOverrides, getGlobalActions, getKeywordSearchResults, getLayout, getLayoutUserState, getListInfoByName, getListInfosByName, getListInfosByObjectName, getListObjectInfo, getListPreferences, 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, updateListPreferences, updateRecord, updateRecordAvatar, getActionOverrides_imperative, getAllApps_imperative, getAppDetails_imperative, getDuplicateConfiguration_imperative, getDuplicates_imperative, getFlexipageFormulaOverrides_imperative, getGlobalActions_imperative, getKeywordSearchResults_imperative, getLayout_imperative, getLayoutUserState_imperative, getListInfoByName_imperative, getListInfosByName_imperative, getListInfosByObjectName_imperative, getListObjectInfo_imperative, getListPreferences_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,23 @@
|
|
|
1
|
+
import { PaginationParams as pagination_cursor_PaginationParams } from '../pagination/cursor';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { ListInfoSummaryCollectionRepresentation as types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation } from '../types/ListInfoSummaryCollectionRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
objectApiName: string;
|
|
7
|
+
};
|
|
8
|
+
queryParams: {
|
|
9
|
+
pageSize?: number;
|
|
10
|
+
pageToken?: string;
|
|
11
|
+
q?: string;
|
|
12
|
+
recentListsOnly?: boolean;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare function createPaginationParams(params: ResourceRequestConfig): pagination_cursor_PaginationParams;
|
|
16
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
18
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
19
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation): void;
|
|
20
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation, any>;
|
|
21
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ListInfoSummaryCollectionRepresentation_ListInfoSummaryCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
22
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
23
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
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, ResourceIngest as $64$luvio_engine_ResourceIngest, ReaderFragment as $64$luvio_engine_ReaderFragment, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
import { ListInfoSummaryRepresentation as ListInfoSummaryRepresentation_ListInfoSummaryRepresentation } from './ListInfoSummaryRepresentation';
|
|
3
|
+
import { PaginationParams as pagination_cursor_PaginationParams, PaginationMetadata as pagination_cursor_PaginationMetadata, PageMetadata as pagination_cursor_PageMetadata } from '../pagination/cursor';
|
|
4
|
+
export declare const VERSION = "d0cadb0927f908b5b64694e1cff0b2d7";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
objectApiName: string;
|
|
9
|
+
queryString: string | null;
|
|
10
|
+
recentListsOnly: boolean;
|
|
11
|
+
}
|
|
12
|
+
export type ListInfoSummaryCollectionRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export type PartialListInfoSummaryCollectionRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ListInfoSummaryCollectionRepresentationNormalizedKeyMetadata;
|
|
16
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ListInfoSummaryCollectionRepresentation): string;
|
|
17
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ListInfoSummaryCollectionRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
18
|
+
export declare function paginationKeyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
19
|
+
export declare function paginationKeyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): $64$luvio_engine_NormalizedKeyMetadata;
|
|
20
|
+
export declare function normalize(input: ListInfoSummaryCollectionRepresentation, existing: ListInfoSummaryCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListInfoSummaryCollectionRepresentationNormalized;
|
|
21
|
+
export interface DynamicIngestParams {
|
|
22
|
+
lists: $64$luvio_engine_ResourceIngest;
|
|
23
|
+
}
|
|
24
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: ListInfoSummaryCollectionRepresentation, existing: ListInfoSummaryCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => ListInfoSummaryCollectionRepresentationNormalized;
|
|
25
|
+
export declare const select: (paginationParams?: pagination_cursor_PaginationParams) => $64$luvio_engine_ReaderFragment;
|
|
26
|
+
export declare function getPageMetadata(paginationMetadata: pagination_cursor_PaginationMetadata | undefined, paginationParams: pagination_cursor_PaginationParams): pagination_cursor_PageMetadata;
|
|
27
|
+
export interface DynamicSelectParams {
|
|
28
|
+
lists?: $64$luvio_engine_LinkSelection;
|
|
29
|
+
}
|
|
30
|
+
export declare const dynamicSelect: (params: DynamicSelectParams, paginationParams?: pagination_cursor_PaginationParams) => $64$luvio_engine_ReaderFragment;
|
|
31
|
+
export declare function equals(existing: ListInfoSummaryCollectionRepresentationNormalized, incoming: ListInfoSummaryCollectionRepresentationNormalized): boolean;
|
|
32
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
33
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ListInfoSummaryCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
34
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
35
|
+
/**
|
|
36
|
+
* ListInfoSummaryCollectionRepresentation
|
|
37
|
+
*
|
|
38
|
+
* Keys:
|
|
39
|
+
* objectApiName (string): objectApiName
|
|
40
|
+
* queryString (string | null): queryString
|
|
41
|
+
* recentListsOnly (boolean): recentListsOnly
|
|
42
|
+
*/
|
|
43
|
+
export interface ListInfoSummaryCollectionRepresentationNormalized {
|
|
44
|
+
/** The total count of list views returned. */
|
|
45
|
+
count: number;
|
|
46
|
+
/** The pageToken of the current page of list views. */
|
|
47
|
+
currentPageToken: string;
|
|
48
|
+
/** The URL of the current page of list views. */
|
|
49
|
+
currentPageUrl: string;
|
|
50
|
+
/** ETag like field, readOnly, handy while caching. */
|
|
51
|
+
eTag: string;
|
|
52
|
+
/** Collection of ListViewSummaryRepresentations */
|
|
53
|
+
lists: Array<$64$luvio_engine_StoreLink>;
|
|
54
|
+
/** The pageToken of the next page of list views. */
|
|
55
|
+
nextPageToken: string | null;
|
|
56
|
+
/** The URL of the next page of list views */
|
|
57
|
+
nextPageUrl: string | null;
|
|
58
|
+
/** The objectApiName given in the URL. */
|
|
59
|
+
objectApiName: string;
|
|
60
|
+
/** The pageSize given in the query parameter. If no pageSize is provided, this contains the default value used. */
|
|
61
|
+
pageSize: number;
|
|
62
|
+
/** The pageToken of the previous page of list views. */
|
|
63
|
+
previousPageToken: string | null;
|
|
64
|
+
/** The URL of the previous page of list views. */
|
|
65
|
+
previousPageUrl: string | null;
|
|
66
|
+
/** The queryString given in the query parameter. If no queryString is provided, this returns null. */
|
|
67
|
+
queryString: string | null;
|
|
68
|
+
/** The recentListsOnly value from the query parameter. If recentListsOnly is not provided, this returns the default value used (false). */
|
|
69
|
+
recentListsOnly: boolean;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* ListInfoSummaryCollectionRepresentation
|
|
73
|
+
*
|
|
74
|
+
* Keys:
|
|
75
|
+
* objectApiName (string): objectApiName
|
|
76
|
+
* queryString (string | null): queryString
|
|
77
|
+
* recentListsOnly (boolean): recentListsOnly
|
|
78
|
+
*/
|
|
79
|
+
export interface ListInfoSummaryCollectionRepresentation {
|
|
80
|
+
count: number;
|
|
81
|
+
currentPageToken: string;
|
|
82
|
+
currentPageUrl: string;
|
|
83
|
+
eTag: string;
|
|
84
|
+
lists: Array<ListInfoSummaryRepresentation_ListInfoSummaryRepresentation>;
|
|
85
|
+
nextPageToken: string | null;
|
|
86
|
+
nextPageUrl: string | null;
|
|
87
|
+
objectApiName: string;
|
|
88
|
+
pageSize: number;
|
|
89
|
+
previousPageToken: string | null;
|
|
90
|
+
previousPageUrl: string | null;
|
|
91
|
+
queryString: string | null;
|
|
92
|
+
recentListsOnly: boolean;
|
|
93
|
+
}
|
|
94
|
+
export declare const notifyUpdateAvailableFactory: (luvio: $64$luvio_engine_Luvio) => (configs: Partial<KeyParams>[]) => Promise<void>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "0b29241fd9ed04bb61fde26b3f558ac4";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
id: string | null;
|
|
7
|
+
}
|
|
8
|
+
export type ListInfoSummaryRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialListInfoSummaryRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ListInfoSummaryRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ListInfoSummaryRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ListInfoSummaryRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function normalize(input: ListInfoSummaryRepresentation, existing: ListInfoSummaryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListInfoSummaryRepresentationNormalized;
|
|
15
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
16
|
+
export declare function equals(existing: ListInfoSummaryRepresentationNormalized, incoming: ListInfoSummaryRepresentationNormalized): boolean;
|
|
17
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
18
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ListInfoSummaryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
/**
|
|
20
|
+
* ListInfoSummaryRepresentation
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* id (string | null): id
|
|
24
|
+
*/
|
|
25
|
+
export interface ListInfoSummaryRepresentationNormalized {
|
|
26
|
+
/** The list view's object API name. */
|
|
27
|
+
apiName: string;
|
|
28
|
+
/** Id of the list view. */
|
|
29
|
+
id: string | null;
|
|
30
|
+
/** List view's label. */
|
|
31
|
+
label: string;
|
|
32
|
+
/** List view ui url. */
|
|
33
|
+
url: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* ListInfoSummaryRepresentation
|
|
37
|
+
*
|
|
38
|
+
* Keys:
|
|
39
|
+
* id (string | null): id
|
|
40
|
+
*/
|
|
41
|
+
export interface ListInfoSummaryRepresentation {
|
|
42
|
+
apiName: string;
|
|
43
|
+
id: string | null;
|
|
44
|
+
label: string;
|
|
45
|
+
url: string;
|
|
46
|
+
}
|
|
@@ -7,6 +7,7 @@ export { notifyUpdateAvailableFactory as NotifyRecordUpdateAvailable } from './g
|
|
|
7
7
|
export { notifyUpdateAvailableFactory as NotifyListRecordCollectionUpdateAvailable } from './generated/types/ListRecordCollectionRepresentation';
|
|
8
8
|
export { ClientOptions as UpdateRecordClientOptions } from './wire/updateRecord';
|
|
9
9
|
export { notifyUpdateAvailableFactory as NotifyListViewSummaryUpdateAvailable } from './generated/types/ListViewSummaryCollectionRepresentation';
|
|
10
|
+
export { notifyUpdateAvailableFactory as NotifyListInfoSummaryUpdateAvailable } from './generated/types/ListInfoSummaryCollectionRepresentation';
|
|
10
11
|
export { notifyUpdateAvailableFactory as NotifyListInfoUpdateAvailable } from './raml-artifacts/types/ListInfoRepresentation/notifyUpdateAvailableFactory';
|
|
11
12
|
export type { GetRecordConfig } from './generated/adapters/getRecord';
|
|
12
13
|
export type { GetRecordsConfig } from './raml-artifacts/adapters/getRecords/GetRecordsConfig';
|
|
@@ -19,6 +20,8 @@ export type { GetObjectInfoDirectoryConfig } from './generated/adapters/getObjec
|
|
|
19
20
|
export type { GetRecordActionsConfig } from './generated/adapters/getRecordActions';
|
|
20
21
|
export type { GetRecordAvatarsConfig } from './generated/adapters/getRecordAvatars';
|
|
21
22
|
export type { GetRelatedListsActionsConfig } from './generated/adapters/getRelatedListsActions';
|
|
23
|
+
export type { GetRelatedListRecordsConfig } from './generated/adapters/getRelatedListRecords';
|
|
24
|
+
export type { GetRelatedListRecordsBatchConfig } from './generated/adapters/getRelatedListRecordsBatch';
|
|
22
25
|
export { untrustedIsObject, keyPrefix as UiApiNamespace } from './generated/adapters/adapter-utils';
|
|
23
26
|
export type { RecordRepresentation } from './generated/types/RecordRepresentation';
|
|
24
27
|
export { RecordRepresentationNormalized, keyBuilder as keyBuilderRecord, KeyParams as KeyParamsRecord, RepresentationType as RecordRepresentationRepresentationType, VERSION as RecordRepresentationVersion, TTL as RecordRepresentationTTL, RepresentationType as RecordRepresentationType, } from './generated/types/RecordRepresentation';
|
|
@@ -11,6 +11,7 @@ export declare const updateRelatedListPreferences: (config: Parameters<ReturnTyp
|
|
|
11
11
|
export declare let getRecordNotifyChange: any;
|
|
12
12
|
export declare let notifyRecordUpdateAvailable: any;
|
|
13
13
|
export declare let notifyListViewSummaryUpdateAvailable: any;
|
|
14
|
+
export declare let notifyListInfoSummaryUpdateAvailable: any;
|
|
14
15
|
export declare let notifyListInfoUpdateAvailable: any;
|
|
15
16
|
export declare let notifyQuickActionDefaultsUpdateAvailable: any;
|
|
16
17
|
export declare let notifyListRecordCollectionUpdateAvailable: any;
|
|
@@ -22,5 +23,5 @@ export { keyBuilder as keyBuilderQuickActionExecutionRepresentation, ingest as i
|
|
|
22
23
|
export { ConfigurationForRestAdapters as Configuration, configurationForRestAdapters as configuration, } from './configuration';
|
|
23
24
|
export { instrument, Instrument, Registration } from './main';
|
|
24
25
|
export { CachePolicy, CachePolicyCacheAndNetwork, CachePolicyCacheThenNetwork, CachePolicyNoCache, CachePolicyOnlyIfCached, CachePolicyStaleWhileRevalidate, CachePolicyValidAt, } 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';
|
|
26
|
+
export { getRecordId18, getRecordAdapterFactory, getRecordsAdapterFactory, getRecordActionsAdapterFactory, getRecordAvatarsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getObjectInfoDirectoryAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getTypeCacheKeysRecord, RecordRepresentationVersion, RecordRepresentationTTL, RecordRepresentationType, ObjectInfoRepresentationType, ObjectInfoDirectoryEntryRepresentationType, RecordRepresentationRepresentationType, keyBuilderFromTypeRecordRepresentation, keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderContentDocumentCompositeRepresentation, ingestContentDocumentCompositeRepresentation, getResponseCacheKeysContentDocumentCompositeRepresentation, } from './main';
|
|
26
27
|
export { UiApiNamespace, InMemoryRecordRepresentationQueryEvaluator } from './main';
|