@salesforce/lds-adapters-uiapi 1.245.0 → 1.247.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/deleteListInfo.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/getListPreferences.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getListRecordsByName.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/getObjectInfoDirectory.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc_restAdapters.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/graphql/types/DateLiteral.d.ts +16 -16
- package/dist/es/es2018/types/src/generated/graphql/types/NullOrder.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/graphql/types/ObjectInfo.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/graphql/types/Query.d.ts +1 -3
- package/dist/es/es2018/types/src/generated/resources/deleteUiApiListInfoByListViewApiNameAndObjectApiName.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListPreferencesByListViewApiNameAndObjectApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListRecordsByListViewApiNameAndObjectApiName.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/getUiApiListRecordsByListViewId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/ListPreferencesRepresentation.d.ts +59 -0
- package/dist/es/es2018/types/src/generated/types/ListRecordCollectionRepresentation.d.ts +13 -7
- package/dist/es/es2018/types/src/generated/types/ObjectInfoDirectoryEntryRepresentation.d.ts +13 -4
- package/dist/es/es2018/types/src/generated/types/ObjectInfoDirectoryRepresentation.d.ts +12 -3
- package/dist/es/es2018/types/src/main.d.ts +6 -0
- package/dist/es/es2018/types/src/predictive-loading/index.d.ts +1 -0
- package/dist/es/es2018/types/src/predictive-loading/registry.d.ts +7 -0
- package/dist/es/es2018/types/src/sfdc_rest.d.ts +2 -1
- package/dist/es/es2018/uiapi-records-service.js +5932 -5187
- package/package.json +14 -10
- package/sfdc/graphqlAdapters.js +2303 -2449
- package/sfdc/index.js +3030 -2128
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +57 -0
- package/src/raml/luvio.raml +48 -0
- package/src/raml/uiapi.graphql +40 -36
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, DeleteAdapterFactory as $64$luvio_engine_DeleteAdapterFactory } 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_deleteUiApiListInfoByListViewApiNameAndObjectApiName_ResourceRequestConfig } from '../resources/deleteUiApiListInfoByListViewApiNameAndObjectApiName';
|
|
4
|
+
export declare const adapterName = "deleteListInfo";
|
|
5
|
+
export declare const deleteListInfo_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
6
|
+
export declare const deleteListInfo_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface DeleteListInfoConfig {
|
|
8
|
+
listViewApiName: string;
|
|
9
|
+
objectApiName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: DeleteListInfoConfig) => resources_deleteUiApiListInfoByListViewApiNameAndObjectApiName_ResourceRequestConfig;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeleteListInfoConfig>): adapter$45$utils_Untrusted<DeleteListInfoConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeleteListInfoConfig | null;
|
|
14
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeleteListInfoConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<void>;
|
|
15
|
+
export declare const deleteListInfoAdapterFactory: $64$luvio_engine_DeleteAdapterFactory<DeleteListInfoConfig>;
|
|
@@ -0,0 +1,28 @@
|
|
|
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, 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_getUiApiListPreferencesByListViewApiNameAndObjectApiName_ResourceRequestConfig } from '../resources/getUiApiListPreferencesByListViewApiNameAndObjectApiName';
|
|
4
|
+
import { ListPreferencesRepresentation as types_ListPreferencesRepresentation_ListPreferencesRepresentation } from '../types/ListPreferencesRepresentation';
|
|
5
|
+
export declare const adapterName = "getListPreferences";
|
|
6
|
+
export declare const getListPreferences_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getListPreferences_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetListPreferencesConfig {
|
|
9
|
+
listViewApiName: string;
|
|
10
|
+
objectApiName: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetListPreferencesConfig) => resources_getUiApiListPreferencesByListViewApiNameAndObjectApiName_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetListPreferencesConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetListPreferencesConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetListPreferencesConfig>): adapter$45$utils_Untrusted<GetListPreferencesConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetListPreferencesConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetListPreferencesConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListPreferencesConfig): $64$luvio_engine_Snapshot<types_ListPreferencesRepresentation_ListPreferencesRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetListPreferencesConfig, resourceParams: resources_getUiApiListPreferencesByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListPreferencesRepresentation_ListPreferencesRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ListPreferencesRepresentation_ListPreferencesRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ListPreferencesRepresentation_ListPreferencesRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ListPreferencesRepresentation_ListPreferencesRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetListPreferencesConfig, resourceParams: resources_getUiApiListPreferencesByListViewApiNameAndObjectApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetListPreferencesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ListPreferencesRepresentation_ListPreferencesRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetListPreferencesConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ListPreferencesRepresentation_ListPreferencesRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ListPreferencesRepresentation_ListPreferencesRepresentation>): $64$luvio_engine_Snapshot<types_ListPreferencesRepresentation_ListPreferencesRepresentation, any>;
|
|
28
|
+
export declare const getListPreferencesAdapterFactory: $64$luvio_engine_AdapterFactory<GetListPreferencesConfig, types_ListPreferencesRepresentation_ListPreferencesRepresentation>;
|
|
@@ -12,6 +12,7 @@ export interface GetListRecordsByNameConfig {
|
|
|
12
12
|
optionalFields?: Array<string>;
|
|
13
13
|
pageSize?: number;
|
|
14
14
|
pageToken?: string;
|
|
15
|
+
searchTerm?: string;
|
|
15
16
|
sortBy?: Array<string>;
|
|
16
17
|
}
|
|
17
18
|
export declare const createResourceParams: (config: GetListRecordsByNameConfig) => resources_getUiApiListRecordsByListViewApiNameAndObjectApiName_ResourceRequestConfig;
|
|
@@ -0,0 +1,26 @@
|
|
|
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, 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_getUiApiObjectInfo_ResourceRequestConfig } from '../resources/getUiApiObjectInfo';
|
|
4
|
+
import { ObjectInfoDirectoryRepresentation as types_ObjectInfoDirectoryRepresentation_ObjectInfoDirectoryRepresentation } from '../types/ObjectInfoDirectoryRepresentation';
|
|
5
|
+
export declare const adapterName = "getObjectInfoDirectory";
|
|
6
|
+
export declare const getObjectInfoDirectory_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getObjectInfoDirectory_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetObjectInfoDirectoryConfig {
|
|
9
|
+
}
|
|
10
|
+
export declare const createResourceParams: (config: GetObjectInfoDirectoryConfig) => resources_getUiApiObjectInfo_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetObjectInfoDirectoryConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetObjectInfoDirectoryConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetObjectInfoDirectoryConfig>): adapter$45$utils_Untrusted<GetObjectInfoDirectoryConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetObjectInfoDirectoryConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetObjectInfoDirectoryConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetObjectInfoDirectoryConfig): $64$luvio_engine_Snapshot<types_ObjectInfoDirectoryRepresentation_ObjectInfoDirectoryRepresentation, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetObjectInfoDirectoryConfig, resourceParams: resources_getUiApiObjectInfo_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ObjectInfoDirectoryRepresentation_ObjectInfoDirectoryRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ObjectInfoDirectoryRepresentation_ObjectInfoDirectoryRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ObjectInfoDirectoryRepresentation_ObjectInfoDirectoryRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ObjectInfoDirectoryRepresentation_ObjectInfoDirectoryRepresentation, any>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetObjectInfoDirectoryConfig, resourceParams: resources_getUiApiObjectInfo_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetObjectInfoDirectoryConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ObjectInfoDirectoryRepresentation_ObjectInfoDirectoryRepresentation, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetObjectInfoDirectoryConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ObjectInfoDirectoryRepresentation_ObjectInfoDirectoryRepresentation, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ObjectInfoDirectoryRepresentation_ObjectInfoDirectoryRepresentation>): $64$luvio_engine_Snapshot<types_ObjectInfoDirectoryRepresentation_ObjectInfoDirectoryRepresentation, any>;
|
|
26
|
+
export declare const getObjectInfoDirectoryAdapterFactory: $64$luvio_engine_AdapterFactory<GetObjectInfoDirectoryConfig, types_ObjectInfoDirectoryRepresentation_ObjectInfoDirectoryRepresentation>;
|
|
@@ -18,12 +18,15 @@ export { getLayoutUserStateAdapterFactory } from '../adapters/getLayoutUserState
|
|
|
18
18
|
export { getListInfosByNameAdapterFactory } from '../adapters/getListInfosByName';
|
|
19
19
|
export { createListInfoAdapterFactory } from '../adapters/createListInfo';
|
|
20
20
|
export { getListInfoByNameAdapterFactory } from '../adapters/getListInfoByName';
|
|
21
|
+
export { deleteListInfoAdapterFactory } from '../adapters/deleteListInfo';
|
|
21
22
|
export { updateListInfoByNameAdapterFactory } from '../adapters/updateListInfoByName';
|
|
22
23
|
export { getListObjectInfoAdapterFactory } from '../adapters/getListObjectInfo';
|
|
24
|
+
export { getListPreferencesAdapterFactory } from '../adapters/getListPreferences';
|
|
23
25
|
export { getListUiByListViewIdAdapterFactory } from '../adapters/getListUiByListViewId';
|
|
24
26
|
export { getListViewSummaryCollectionAdapterFactory } from '../adapters/getListViewSummaryCollection';
|
|
25
27
|
export { getListUiByApiNameAdapterFactory } from '../adapters/getListUiByApiName';
|
|
26
28
|
export { getNavItemsAdapterFactory } from '../adapters/getNavItems';
|
|
29
|
+
export { getObjectInfoDirectoryAdapterFactory } from '../adapters/getObjectInfoDirectory';
|
|
27
30
|
export { getObjectInfosAdapterFactory } from '../adapters/getObjectInfos';
|
|
28
31
|
export { getObjectInfoAdapterFactory } from '../adapters/getObjectInfo';
|
|
29
32
|
export { getPicklistValuesByRecordTypeAdapterFactory } from '../adapters/getPicklistValuesByRecordType';
|
|
@@ -2,6 +2,7 @@ declare let createContentDocumentAndVersion: any;
|
|
|
2
2
|
declare let createContentVersion: any;
|
|
3
3
|
declare let createListInfo: any;
|
|
4
4
|
declare let createRecord: any;
|
|
5
|
+
declare let deleteListInfo: any;
|
|
5
6
|
declare let deleteRecord: any;
|
|
6
7
|
declare let getActionOverrides: any;
|
|
7
8
|
declare let getAllApps: any;
|
|
@@ -15,6 +16,7 @@ declare let getLayoutUserState: any;
|
|
|
15
16
|
declare let getListInfoByName: any;
|
|
16
17
|
declare let getListInfosByName: any;
|
|
17
18
|
declare let getListObjectInfo: any;
|
|
19
|
+
declare let getListPreferences: any;
|
|
18
20
|
declare let getListRecordsByName: any;
|
|
19
21
|
declare let getListUi: any;
|
|
20
22
|
declare let getLookupActions: any;
|
|
@@ -69,6 +71,7 @@ declare let getLayoutUserState_imperative: any;
|
|
|
69
71
|
declare let getListInfoByName_imperative: any;
|
|
70
72
|
declare let getListInfosByName_imperative: any;
|
|
71
73
|
declare let getListObjectInfo_imperative: any;
|
|
74
|
+
declare let getListPreferences_imperative: any;
|
|
72
75
|
declare let getListRecordsByName_imperative: any;
|
|
73
76
|
declare let getListUi_imperative: any;
|
|
74
77
|
declare let getLookupActions_imperative: any;
|
|
@@ -106,4 +109,4 @@ declare let getRelatedListsInfo_imperative: any;
|
|
|
106
109
|
declare let getSearchFilterMetadata_imperative: any;
|
|
107
110
|
declare let getSearchFilterOptions_imperative: any;
|
|
108
111
|
declare let getSearchResults_imperative: any;
|
|
109
|
-
export { createContentDocumentAndVersion, createContentVersion, createListInfo, createRecord, deleteRecord, getActionOverrides, getAllApps, getAppDetails, getDuplicateConfiguration, getDuplicates, getGlobalActions, getKeywordSearchResults, getLayout, getLayoutUserState, getListInfoByName, getListInfosByName, getListObjectInfo, 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, getListObjectInfo_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 };
|
|
112
|
+
export { createContentDocumentAndVersion, createContentVersion, createListInfo, createRecord, deleteListInfo, deleteRecord, getActionOverrides, getAllApps, getAppDetails, getDuplicateConfiguration, getDuplicates, 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, updateRecord, updateRecordAvatar, getActionOverrides_imperative, getAllApps_imperative, getAppDetails_imperative, getDuplicateConfiguration_imperative, getDuplicates_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 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export declare const name = "DateLiteral";
|
|
2
2
|
export declare enum Interface {
|
|
3
|
-
TODAY = "TODAY",
|
|
4
|
-
LAST_90_DAYS = "LAST_90_DAYS",
|
|
5
|
-
LAST_YEAR = "LAST_YEAR",
|
|
6
|
-
NEXT_YEAR = "NEXT_YEAR",
|
|
7
|
-
TOMORROW = "TOMORROW",
|
|
8
3
|
NEXT_QUARTER = "NEXT_QUARTER",
|
|
9
|
-
LAST_WEEK = "LAST_WEEK",
|
|
10
|
-
NEXT_90_DAYS = "NEXT_90_DAYS",
|
|
11
|
-
THIS_YEAR = "THIS_YEAR",
|
|
12
|
-
LAST_FISCAL_QUARTER = "LAST_FISCAL_QUARTER",
|
|
13
|
-
LAST_QUARTER = "LAST_QUARTER",
|
|
14
4
|
THIS_FISCAL_YEAR = "THIS_FISCAL_YEAR",
|
|
15
|
-
THIS_MONTH = "THIS_MONTH",
|
|
16
|
-
THIS_FISCAL_QUARTER = "THIS_FISCAL_QUARTER",
|
|
17
|
-
THIS_QUARTER = "THIS_QUARTER",
|
|
18
|
-
NEXT_FISCAL_QUARTER = "NEXT_FISCAL_QUARTER",
|
|
19
5
|
NEXT_FISCAL_YEAR = "NEXT_FISCAL_YEAR",
|
|
6
|
+
THIS_WEEK = "THIS_WEEK",
|
|
7
|
+
LAST_YEAR = "LAST_YEAR",
|
|
8
|
+
NEXT_FISCAL_QUARTER = "NEXT_FISCAL_QUARTER",
|
|
9
|
+
THIS_MONTH = "THIS_MONTH",
|
|
10
|
+
THIS_YEAR = "THIS_YEAR",
|
|
20
11
|
LAST_FISCAL_YEAR = "LAST_FISCAL_YEAR",
|
|
12
|
+
LAST_WEEK = "LAST_WEEK",
|
|
13
|
+
LAST_90_DAYS = "LAST_90_DAYS",
|
|
14
|
+
THIS_FISCAL_QUARTER = "THIS_FISCAL_QUARTER",
|
|
15
|
+
NEXT_YEAR = "NEXT_YEAR",
|
|
16
|
+
NEXT_90_DAYS = "NEXT_90_DAYS",
|
|
17
|
+
LAST_QUARTER = "LAST_QUARTER",
|
|
18
|
+
LAST_FISCAL_QUARTER = "LAST_FISCAL_QUARTER",
|
|
21
19
|
NEXT_WEEK = "NEXT_WEEK",
|
|
20
|
+
TODAY = "TODAY",
|
|
22
21
|
YESTERDAY = "YESTERDAY",
|
|
23
|
-
|
|
22
|
+
LAST_MONTH = "LAST_MONTH",
|
|
23
|
+
TOMORROW = "TOMORROW",
|
|
24
24
|
NEXT_MONTH = "NEXT_MONTH",
|
|
25
|
-
|
|
25
|
+
THIS_QUARTER = "THIS_QUARTER"
|
|
26
26
|
}
|
|
@@ -9,7 +9,7 @@ import { FieldNode as $64$luvio_graphql$45$parser_FieldNode, OperationDefinition
|
|
|
9
9
|
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap } from '@luvio/graphql';
|
|
10
10
|
export declare const name = "ObjectInfo";
|
|
11
11
|
export declare const TTL = 900000;
|
|
12
|
-
export declare const VERSION = "
|
|
12
|
+
export declare const VERSION = "f8f627dd56d42a39e1a6642edb039182";
|
|
13
13
|
export interface Interface {
|
|
14
14
|
ApiName: string;
|
|
15
15
|
childRelationships: ChildRelationship_Interface[];
|
|
@@ -31,6 +31,7 @@ export interface Interface {
|
|
|
31
31
|
searchable: boolean;
|
|
32
32
|
themeInfo: ThemeInfo_Interface | undefined;
|
|
33
33
|
updateable: boolean;
|
|
34
|
+
locale: string | undefined;
|
|
34
35
|
}
|
|
35
36
|
export interface MinimumInterface {
|
|
36
37
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { Interface as UIAPI_Interface } from './UIAPI';
|
|
2
|
-
import { Interface as RateLimit_Interface } from './RateLimit';
|
|
3
2
|
import { Luvio as $64$luvio_engine_Luvio, Reader as $64$luvio_engine_Reader, SelectionPropertyKey as $64$luvio_engine_SelectionPropertyKey, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
3
|
import { OperationDefinitionNode as $64$luvio_graphql$45$parser_OperationDefinitionNode, FieldNode as $64$luvio_graphql$45$parser_FieldNode, SelectionNode as $64$luvio_graphql$45$parser_SelectionNode, FragmentDefinitionNode as $64$luvio_graphql$45$parser_FragmentDefinitionNode, InlineFragmentNode as $64$luvio_graphql$45$parser_InlineFragmentNode, FragmentSpreadNode as $64$luvio_graphql$45$parser_FragmentSpreadNode } from '@luvio/graphql-parser';
|
|
5
4
|
import { GraphQLVariables as $64$luvio_graphql_GraphQLVariables, GraphQLFragmentMap as $64$luvio_graphql_GraphQLFragmentMap } from '@luvio/graphql';
|
|
6
5
|
import { NormalizedGraphQL as type$45$util_NormalizedGraphQL, GraphQLIngestState as type$45$util_GraphQLIngestState, GraphQLLuvioState as type$45$util_GraphQLLuvioState } from './type-util';
|
|
7
6
|
export declare const name = "Query";
|
|
8
|
-
export declare const VERSION = "
|
|
7
|
+
export declare const VERSION = "f71fbcd91b8357360927bb51e163b5a6";
|
|
9
8
|
export interface Interface {
|
|
10
9
|
uiapi: UIAPI_Interface;
|
|
11
|
-
rateLimit: RateLimit_Interface | undefined;
|
|
12
10
|
}
|
|
13
11
|
export interface MinimumInterface {
|
|
14
12
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
export interface ResourceRequestConfig {
|
|
3
|
+
urlParams: {
|
|
4
|
+
listViewApiName: string;
|
|
5
|
+
objectApiName: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
9
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export declare function getResponseCacheKeys(cacheKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): void;
|
|
11
|
+
export declare function evictSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): void;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
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';
|
|
2
|
+
import { ListPreferencesRepresentation as types_ListPreferencesRepresentation_ListPreferencesRepresentation } from '../types/ListPreferencesRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
listViewApiName: string;
|
|
6
|
+
objectApiName: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ListPreferencesRepresentation_ListPreferencesRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ListPreferencesRepresentation_ListPreferencesRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ListPreferencesRepresentation_ListPreferencesRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ListPreferencesRepresentation_ListPreferencesRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ListPreferencesRepresentation_ListPreferencesRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ListPreferencesRepresentation_ListPreferencesRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ListPreferencesRepresentation_ListPreferencesRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ListReferenceRepresentation as ListReferenceRepresentation_ListReferenceRepresentation } from './ListReferenceRepresentation';
|
|
2
|
+
import { ListOrderByInfoRepresentation as ListOrderByInfoRepresentation_ListOrderByInfoRepresentation } from './ListOrderByInfoRepresentation';
|
|
3
|
+
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';
|
|
4
|
+
export declare const TTL = 900000;
|
|
5
|
+
export declare const VERSION = "458d4a6a30201e422e8daec5fcb03845";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
9
|
+
objectApiName: string;
|
|
10
|
+
listViewApiName: string | null;
|
|
11
|
+
}
|
|
12
|
+
export type ListPreferencesRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export type PartialListPreferencesRepresentationNormalizedKeyMetadata = 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): ListPreferencesRepresentationNormalizedKeyMetadata;
|
|
16
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ListPreferencesRepresentation): string;
|
|
17
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ListPreferencesRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
18
|
+
export declare function normalize(input: ListPreferencesRepresentation, existing: ListPreferencesRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListPreferencesRepresentationNormalized;
|
|
19
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
20
|
+
export declare function equals(existing: ListPreferencesRepresentationNormalized, incoming: ListPreferencesRepresentationNormalized): boolean;
|
|
21
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
22
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ListPreferencesRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
23
|
+
/**
|
|
24
|
+
* ListPreferencesRepresentation
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* objectApiName (string): listReference.objectApiName
|
|
28
|
+
* listViewApiName (string | null): listReference.listViewApiName
|
|
29
|
+
*/
|
|
30
|
+
export interface ListPreferencesRepresentationNormalized {
|
|
31
|
+
/** Column width preferences for the list. */
|
|
32
|
+
columnWidths: {
|
|
33
|
+
[key: string]: number;
|
|
34
|
+
};
|
|
35
|
+
/** Column wrapping preferences for the list. */
|
|
36
|
+
columnWrap: {
|
|
37
|
+
[key: string]: boolean;
|
|
38
|
+
};
|
|
39
|
+
listReference: ListReferenceRepresentation_ListReferenceRepresentation;
|
|
40
|
+
/** Ordering preference for the list. */
|
|
41
|
+
orderedBy: Array<ListOrderByInfoRepresentation_ListOrderByInfoRepresentation>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* ListPreferencesRepresentation
|
|
45
|
+
*
|
|
46
|
+
* Keys:
|
|
47
|
+
* objectApiName (string): listReference.objectApiName
|
|
48
|
+
* listViewApiName (string | null): listReference.listViewApiName
|
|
49
|
+
*/
|
|
50
|
+
export interface ListPreferencesRepresentation {
|
|
51
|
+
columnWidths: {
|
|
52
|
+
[key: string]: number;
|
|
53
|
+
};
|
|
54
|
+
columnWrap: {
|
|
55
|
+
[key: string]: boolean;
|
|
56
|
+
};
|
|
57
|
+
listReference: ListReferenceRepresentation_ListReferenceRepresentation;
|
|
58
|
+
orderedBy: Array<ListOrderByInfoRepresentation_ListOrderByInfoRepresentation>;
|
|
59
|
+
}
|
|
@@ -3,13 +3,14 @@ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $
|
|
|
3
3
|
import { PaginationParams as pagination_cursor_PaginationParams, PaginationMetadata as pagination_cursor_PaginationMetadata, PageMetadata as pagination_cursor_PageMetadata } from '../pagination/cursor';
|
|
4
4
|
import { RecordRepresentation as RecordRepresentation_RecordRepresentation } from './RecordRepresentation';
|
|
5
5
|
export declare const TTL = 30000;
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "b8270d0d7a5953587f98a9625cad85db";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
9
9
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
10
|
-
listViewId: string | null;
|
|
11
|
-
sortBy: Array<string> | null;
|
|
12
10
|
objectApiName: string;
|
|
11
|
+
searchTerm: string | null;
|
|
12
|
+
sortBy: Array<string> | null;
|
|
13
|
+
listViewId: string | null;
|
|
13
14
|
listViewApiName: string | null;
|
|
14
15
|
}
|
|
15
16
|
export type ListRecordCollectionRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
@@ -39,9 +40,10 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
|
|
|
39
40
|
* ListRecordCollectionRepresentation
|
|
40
41
|
*
|
|
41
42
|
* Keys:
|
|
42
|
-
* listViewId (string | null): listInfoETag
|
|
43
|
-
* sortBy (Array<string> | null): sortBy
|
|
44
43
|
* objectApiName (string): listReference.objectApiName
|
|
44
|
+
* searchTerm (string | null): searchTerm
|
|
45
|
+
* sortBy (Array<string> | null): sortBy
|
|
46
|
+
* listViewId (string | null): listInfoETag
|
|
45
47
|
* listViewApiName (string | null): listReference.listViewApiName
|
|
46
48
|
*/
|
|
47
49
|
export interface ListRecordCollectionRepresentationNormalized {
|
|
@@ -70,6 +72,8 @@ export interface ListRecordCollectionRepresentationNormalized {
|
|
|
70
72
|
previousPageUrl: string | null;
|
|
71
73
|
/** List data. */
|
|
72
74
|
records: Array<$64$luvio_engine_StoreLink>;
|
|
75
|
+
/** The searchTerm field requested when these records were fetched. */
|
|
76
|
+
searchTerm: string | null;
|
|
73
77
|
/** The sortBy field requested when these records were fetched. */
|
|
74
78
|
sortBy: Array<string> | null;
|
|
75
79
|
}
|
|
@@ -77,9 +81,10 @@ export interface ListRecordCollectionRepresentationNormalized {
|
|
|
77
81
|
* ListRecordCollectionRepresentation
|
|
78
82
|
*
|
|
79
83
|
* Keys:
|
|
80
|
-
* listViewId (string | null): listInfoETag
|
|
81
|
-
* sortBy (Array<string> | null): sortBy
|
|
82
84
|
* objectApiName (string): listReference.objectApiName
|
|
85
|
+
* searchTerm (string | null): searchTerm
|
|
86
|
+
* sortBy (Array<string> | null): sortBy
|
|
87
|
+
* listViewId (string | null): listInfoETag
|
|
83
88
|
* listViewApiName (string | null): listReference.listViewApiName
|
|
84
89
|
*/
|
|
85
90
|
export interface ListRecordCollectionRepresentation {
|
|
@@ -96,5 +101,6 @@ export interface ListRecordCollectionRepresentation {
|
|
|
96
101
|
previousPageToken: string | null;
|
|
97
102
|
previousPageUrl: string | null;
|
|
98
103
|
records: Array<RecordRepresentation_RecordRepresentation>;
|
|
104
|
+
searchTerm: string | null;
|
|
99
105
|
sortBy: Array<string> | null;
|
|
100
106
|
}
|
package/dist/es/es2018/types/src/generated/types/ObjectInfoDirectoryEntryRepresentation.d.ts
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const VERSION = "
|
|
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 = "4aa37812ee37c752a099b29026217c85";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
6
|
+
objectInfoUrl: string;
|
|
7
|
+
}
|
|
8
|
+
export type ObjectInfoDirectoryEntryRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export type PartialObjectInfoDirectoryEntryRepresentationNormalizedKeyMetadata = 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): ObjectInfoDirectoryEntryRepresentationNormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ObjectInfoDirectoryEntryRepresentation): string;
|
|
13
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ObjectInfoDirectoryEntryRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
5
14
|
export declare function normalize(input: ObjectInfoDirectoryEntryRepresentation, existing: ObjectInfoDirectoryEntryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ObjectInfoDirectoryEntryRepresentationNormalized;
|
|
6
15
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
16
|
export declare function equals(existing: ObjectInfoDirectoryEntryRepresentationNormalized, incoming: ObjectInfoDirectoryEntryRepresentationNormalized): boolean;
|
|
@@ -11,7 +20,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
11
20
|
* Entry for an object info within the directory of objects.
|
|
12
21
|
*
|
|
13
22
|
* Keys:
|
|
14
|
-
* (
|
|
23
|
+
* objectInfoUrl (string): objectInfoUrl
|
|
15
24
|
*/
|
|
16
25
|
export interface ObjectInfoDirectoryEntryRepresentationNormalized {
|
|
17
26
|
/** The API name of the object info corresponding to this entry. */
|
|
@@ -31,7 +40,7 @@ export interface ObjectInfoDirectoryEntryRepresentationNormalized {
|
|
|
31
40
|
* Entry for an object info within the directory of objects.
|
|
32
41
|
*
|
|
33
42
|
* Keys:
|
|
34
|
-
* (
|
|
43
|
+
* objectInfoUrl (string): objectInfoUrl
|
|
35
44
|
*/
|
|
36
45
|
export interface ObjectInfoDirectoryEntryRepresentation {
|
|
37
46
|
apiName: string;
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, PathSelection as $64$luvio_engine_PathSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
1
2
|
import { ObjectInfoDirectoryEntryRepresentation as ObjectInfoDirectoryEntryRepresentation_ObjectInfoDirectoryEntryRepresentation } from './ObjectInfoDirectoryEntryRepresentation';
|
|
2
|
-
|
|
3
|
-
export declare const VERSION = "c040e955efdc64a496f748f728dcbe5f";
|
|
3
|
+
export declare const VERSION = "37fd8c0154ee743c9defbf03e9b4b067";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: ObjectInfoDirectoryRepresentation, existing: ObjectInfoDirectoryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ObjectInfoDirectoryRepresentationNormalized;
|
|
7
|
+
export interface DynamicIngestParams {
|
|
8
|
+
objects: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
}
|
|
10
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: ObjectInfoDirectoryRepresentation, existing: ObjectInfoDirectoryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => ObjectInfoDirectoryRepresentationNormalized;
|
|
7
11
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export interface DynamicSelectParams {
|
|
13
|
+
objects?: $64$luvio_engine_PathSelection;
|
|
14
|
+
}
|
|
15
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
8
16
|
export declare function equals(existing: ObjectInfoDirectoryRepresentationNormalized, incoming: ObjectInfoDirectoryRepresentationNormalized): boolean;
|
|
9
17
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
18
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ObjectInfoDirectoryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
11
20
|
/**
|
|
12
21
|
* Directory of objects that can be used within UI API end-points.
|
|
13
22
|
*
|
|
@@ -17,7 +26,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
26
|
export interface ObjectInfoDirectoryRepresentationNormalized {
|
|
18
27
|
/** The object info entries corresponding to the objects that can be used within UI API. */
|
|
19
28
|
objects: {
|
|
20
|
-
[key: string]:
|
|
29
|
+
[key: string]: $64$luvio_engine_StoreLink;
|
|
21
30
|
};
|
|
22
31
|
}
|
|
23
32
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ConfigurationForRestAdapters, ConfigurationForGraphQLAdapters } from './configuration';
|
|
2
2
|
import type { Instrument } from './instrumentation';
|
|
3
|
+
export * from './predictive-loading';
|
|
3
4
|
export { MRU } from './wire/getListUi';
|
|
4
5
|
export { notifyChangeFactory as GetRecordNotifyChange } from './wire/getRecord';
|
|
5
6
|
export { notifyUpdateAvailableFactory as NotifyRecordUpdateAvailable } from './generated/types/RecordRepresentation';
|
|
@@ -12,12 +13,17 @@ export type { UpdateRecordConfig } from './generated/adapters/updateRecord';
|
|
|
12
13
|
export type { CreateRecordConfig } from './generated/adapters/createRecord';
|
|
13
14
|
export type { DeleteRecordConfig } from './generated/adapters/deleteRecord';
|
|
14
15
|
export type { GetObjectInfoConfig } from './generated/adapters/getObjectInfo';
|
|
16
|
+
export type { GetObjectInfosConfig } from './generated/adapters/getObjectInfos';
|
|
17
|
+
export type { GetObjectInfoDirectoryConfig } from './generated/adapters/getObjectInfoDirectory';
|
|
18
|
+
export type { GetRecordActionsConfig } from './generated/adapters/getRecordActions';
|
|
19
|
+
export type { GetRecordAvatarsConfig } from './generated/adapters/getRecordAvatars';
|
|
15
20
|
export { untrustedIsObject, keyPrefix as UiApiNamespace } from './generated/adapters/adapter-utils';
|
|
16
21
|
export type { RecordRepresentation } from './generated/types/RecordRepresentation';
|
|
17
22
|
export { RecordRepresentationNormalized, keyBuilder as keyBuilderRecord, KeyParams as KeyParamsRecord, RepresentationType as RecordRepresentationRepresentationType, VERSION as RecordRepresentationVersion, TTL as RecordRepresentationTTL, RepresentationType as RecordRepresentationType, } from './generated/types/RecordRepresentation';
|
|
18
23
|
export { ingest as ingestRecord, createIngestRecordWithFields, } from './raml-artifacts/types/RecordRepresentation/ingest';
|
|
19
24
|
export { getTypeCacheKeys as getTypeCacheKeysRecord } from './raml-artifacts/types/RecordRepresentation/getTypeCacheKeys';
|
|
20
25
|
export { ObjectInfoRepresentation, keyBuilder as keyBuilderObjectInfo, ingest as ingestObjectInfo, RepresentationType as ObjectInfoRepresentationType, } from './generated/types/ObjectInfoRepresentation';
|
|
26
|
+
export { ObjectInfoDirectoryRepresentation, RepresentationType as ObjectInfoDirectoryEntryRepresentationType, } from './generated/types/ObjectInfoDirectoryRepresentation';
|
|
21
27
|
export { FieldValueRepresentation, FieldValueRepresentationNormalized, } from './generated/types/FieldValueRepresentation';
|
|
22
28
|
export { BatchRepresentation } from './generated/types/BatchRepresentation';
|
|
23
29
|
export { SimplifiedBatchRepresentation } from './generated/types/SimplifiedBatchRepresentation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './registry';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Adapter, Luvio } from '@luvio/engine';
|
|
2
|
+
interface Prefetcher {
|
|
3
|
+
saveRequest: (request: any) => Promise<void>;
|
|
4
|
+
}
|
|
5
|
+
export declare function registerPrefetcher(luvio: Luvio, prefetcher: Prefetcher): void;
|
|
6
|
+
export declare function createLDSAdapterWithPrediction<C, D>(adapter: Adapter<C, D>, luvio: Luvio, name: string): Adapter<C, D>;
|
|
7
|
+
export {};
|
|
@@ -2,6 +2,7 @@ import { updateRelatedListInfoAdapterFactory, updateRelatedListPreferencesAdapte
|
|
|
2
2
|
export { MRU } from './wire/getListUi';
|
|
3
3
|
export * from './generated/artifacts/sfdc_restAdapters';
|
|
4
4
|
export * from './util/store-utils';
|
|
5
|
+
export * from './predictive-loading';
|
|
5
6
|
export declare const refresh: <D>(data: D) => Promise<undefined> | undefined;
|
|
6
7
|
export declare const updateLayoutUserState: (apiName: unknown, recordTypeId: unknown, layoutType: unknown, mode: unknown, layoutUserStateInput: unknown) => Promise<undefined>;
|
|
7
8
|
export declare const updateRelatedListInfo: (config: Parameters<ReturnType<typeof updateRelatedListInfoAdapterFactory>>[0]) => Promise<import("./generated/types/RelatedListInfoRepresentation").RelatedListInfoRepresentation | undefined> | undefined;
|
|
@@ -20,5 +21,5 @@ export { keyBuilder as keyBuilderQuickActionExecutionRepresentation, ingest as i
|
|
|
20
21
|
export { ConfigurationForRestAdapters as Configuration, configurationForRestAdapters as configuration, } from './configuration';
|
|
21
22
|
export { instrument, Instrument, Registration } from './main';
|
|
22
23
|
export { CachePolicy, CachePolicyCacheAndNetwork, CachePolicyCacheThenNetwork, CachePolicyNoCache, CachePolicyOnlyIfCached, CachePolicyStaleWhileRevalidate, CachePolicyValidAt, } from './main';
|
|
23
|
-
export { getRecordId18, getRecordAdapterFactory, getRecordsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getTypeCacheKeysRecord, RecordRepresentationVersion, RecordRepresentationTTL, RecordRepresentationType, ObjectInfoRepresentationType, RecordRepresentationRepresentationType, keyBuilderFromTypeRecordRepresentation, keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderContentDocumentCompositeRepresentation, ingestContentDocumentCompositeRepresentation, getResponseCacheKeysContentDocumentCompositeRepresentation, } 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';
|
|
24
25
|
export { UiApiNamespace, InMemoryRecordRepresentationQueryEvaluator } from './main';
|