@salesforce/lds-adapters-uiapi 1.241.0 → 1.242.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/main.d.ts +1 -0
- package/dist/es/es2018/types/src/sfdc_rest.d.ts +1 -0
- package/dist/es/es2018/types/src/util/store-utils.d.ts +9 -0
- package/dist/es/es2018/uiapi-records-service.js +5 -11
- package/package.json +6 -7
- package/sfdc/graphqlAdapters.js +5 -11
- package/sfdc/index.js +24 -2
|
@@ -33,6 +33,7 @@ export type { GraphQLBatchRepresentation } from './wire/graphqlBatch/postGraphql
|
|
|
33
33
|
export type { GraphQLInputRepresentation } from './generated/types/GraphQLInputRepresentation';
|
|
34
34
|
export type { GraphqlConfig as GraphQLConfig, BuildSnapshotContext as GraphQLBuildSnapshotContext, } from './generated/adapters/graphql';
|
|
35
35
|
export * from './generated/artifacts/main';
|
|
36
|
+
export * from './util/store-utils';
|
|
36
37
|
export type { CreateContentVersionConfig } from './wire/createContentVersion/AdapterConfig';
|
|
37
38
|
export type { CreateContentDocumentAndVersionConfig } from './wire/createContentDocumentAndVersion/AdapterConfig';
|
|
38
39
|
export type { ResourceRequestConfig as CreateContentDocumentAndVersionResourceRequestConfig } from './wire/createContentDocumentAndVersion/ResourceRequestConfig';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { updateRelatedListInfoAdapterFactory, updateRelatedListPreferencesAdapterFactory } from './main';
|
|
2
2
|
export { MRU } from './wire/getListUi';
|
|
3
3
|
export * from './generated/artifacts/sfdc_restAdapters';
|
|
4
|
+
export * from './util/store-utils';
|
|
4
5
|
export declare const refresh: <D>(data: D) => Promise<undefined> | undefined;
|
|
5
6
|
export declare const updateLayoutUserState: (apiName: unknown, recordTypeId: unknown, layoutType: unknown, mode: unknown, layoutUserStateInput: unknown) => Promise<undefined>;
|
|
6
7
|
export declare const updateRelatedListInfo: (config: Parameters<ReturnType<typeof updateRelatedListInfoAdapterFactory>>[0]) => Promise<import("./generated/types/RelatedListInfoRepresentation").RelatedListInfoRepresentation | undefined> | undefined;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const API_NAMESPACE = "UiApi";
|
|
2
|
+
export declare const RECORD_REPRESENTATION_NAME = "RecordRepresentation";
|
|
3
|
+
export declare const RECORD_VIEW_ENTITY_REPRESENTATION_NAME = "RecordViewEntityRepresentation";
|
|
4
|
+
export declare const RECORD_ID_PREFIX: string;
|
|
5
|
+
export declare const RECORD_VIEW_ENTITY_ID_PREFIX: string;
|
|
6
|
+
export declare const RECORD_FIELDS_KEY_JUNCTION = "__fields__";
|
|
7
|
+
export declare function extractRecordIdFromStoreKey(key: string): string | undefined;
|
|
8
|
+
export declare function isStoreKeyRecordViewEntity(key: string): boolean;
|
|
9
|
+
export declare function buildRecordRepKeyFromId(recordId: string): string;
|
|
@@ -34684,22 +34684,12 @@ function selectType$E(typename, sel, fieldData, reader, key, sink, variables, fr
|
|
|
34684
34684
|
return sink;
|
|
34685
34685
|
}
|
|
34686
34686
|
|
|
34687
|
-
/**
|
|
34688
|
-
* Copyright (c) 2022, Salesforce, Inc.,
|
|
34689
|
-
* All rights reserved.
|
|
34690
|
-
* For full license text, see the LICENSE.txt file
|
|
34691
|
-
*/
|
|
34692
|
-
|
|
34693
34687
|
const API_NAMESPACE = 'UiApi';
|
|
34694
34688
|
const RECORD_REPRESENTATION_NAME = 'RecordRepresentation';
|
|
34695
34689
|
const RECORD_VIEW_ENTITY_REPRESENTATION_NAME = 'RecordViewEntityRepresentation';
|
|
34696
34690
|
const RECORD_ID_PREFIX = `${API_NAMESPACE}::${RECORD_REPRESENTATION_NAME}:`;
|
|
34697
34691
|
const RECORD_VIEW_ENTITY_ID_PREFIX = `${API_NAMESPACE}::${RECORD_VIEW_ENTITY_REPRESENTATION_NAME}:Name:`;
|
|
34698
34692
|
const RECORD_FIELDS_KEY_JUNCTION = '__fields__';
|
|
34699
|
-
function isStoreKeyRecordViewEntity(key) {
|
|
34700
|
-
return (key.indexOf(RECORD_VIEW_ENTITY_ID_PREFIX) > -1 &&
|
|
34701
|
-
key.indexOf(RECORD_FIELDS_KEY_JUNCTION) === -1);
|
|
34702
|
-
}
|
|
34703
34693
|
function extractRecordIdFromStoreKey(key) {
|
|
34704
34694
|
if (key === undefined ||
|
|
34705
34695
|
(key.indexOf(RECORD_ID_PREFIX) === -1 && key.indexOf(RECORD_VIEW_ENTITY_ID_PREFIX) === -1)) {
|
|
@@ -34708,6 +34698,10 @@ function extractRecordIdFromStoreKey(key) {
|
|
|
34708
34698
|
const parts = key.split(':');
|
|
34709
34699
|
return parts[parts.length - 1].split('_')[0];
|
|
34710
34700
|
}
|
|
34701
|
+
function isStoreKeyRecordViewEntity(key) {
|
|
34702
|
+
return (key.indexOf(RECORD_VIEW_ENTITY_ID_PREFIX) > -1 &&
|
|
34703
|
+
key.indexOf(RECORD_FIELDS_KEY_JUNCTION) === -1);
|
|
34704
|
+
}
|
|
34711
34705
|
function buildRecordRepKeyFromId(recordId) {
|
|
34712
34706
|
return `${API_NAMESPACE}::${RECORD_REPRESENTATION_NAME}:${recordId}`;
|
|
34713
34707
|
}
|
|
@@ -50806,4 +50800,4 @@ ensureRegisteredOnce({
|
|
|
50806
50800
|
instrument,
|
|
50807
50801
|
});
|
|
50808
50802
|
|
|
50809
|
-
export { notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory$1 as NotifyListInfoUpdateAvailable, notifyUpdateAvailableFactory$2 as NotifyListViewSummaryUpdateAvailable, notifyUpdateAvailableFactory as NotifyQuickActionDefaultsUpdateAvailable, notifyUpdateAvailableFactory$3 as NotifyRecordUpdateAvailable, RepresentationType$O as ObjectInfoRepresentationType, RepresentationType$T as RecordRepresentationRepresentationType, TTL$B as RecordRepresentationTTL, RepresentationType$T as RecordRepresentationType, VERSION$2j as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildSelectionFromFields, buildSelectionFromRecord, configuration, factory$1 as createContentDocumentAndVersionAdapterFactory, factory as createContentVersionAdapterFactory, createIngestRecordWithFields, createListInfoAdapterFactory, factory$4 as createRecordAdapterFactory, createRecordInputFilteredByEditedFields, factory$3 as deleteRecordAdapterFactory, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverridesAdapterFactory, getAllAppsAdapterFactory, getAppDetailsAdapterFactory, getDuplicateConfigurationAdapterFactory, getDuplicatesAdapterFactory, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getGlobalActionsAdapterFactory, getKeywordSearchResultsAdapterFactory, getLayoutAdapterFactory, getLayoutUserStateAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByNameAdapterFactory, getListObjectInfoAdapterFactory, factory$a as getListRecordsByNameAdapterFactory, factory$i as getListUiAdapterFactory, getListUiByApiNameAdapterFactory, getListUiByListViewIdAdapterFactory, getListViewSummaryCollectionAdapterFactory, getLookupActionsAdapterFactory, getLookupMetadataAdapterFactory, factory$9 as getLookupRecordsAdapterFactory, factory$j as getMruListUiAdapterFactory, getNavItemsAdapterFactory, getObjectCreateActionsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getPicklistValuesAdapterFactory, getPicklistValuesByRecordTypeAdapterFactory, getQuickActionDefaultsAdapterFactory, getQuickActionLayoutAdapterFactory, getRecordActionsAdapterFactory, factory$g as getRecordAdapterFactory, getRecordAvatarsAdapterFactory, factory$7 as getRecordCreateDefaultsAdapterFactory, getRecordEditActionsAdapterFactory, getRecordId18, getRecordInput, createFieldsIngestSuccess$3 as getRecordResourceIngest, factory$6 as getRecordTemplateCloneAdapterFactory, factory$5 as getRecordTemplateCreateAdapterFactory, factory$h as getRecordUiAdapterFactory, getRecordsAdapterFactory, getRelatedListActionsAdapterFactory, getRelatedListCountAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListPreferencesAdapterFactory, getRelatedListPreferencesBatchAdapterFactory, getRelatedListRecordActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListsCountAdapterFactory, getRelatedListsInfoAdapterFactory, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadataAdapterFactory, getSearchFilterOptionsAdapterFactory, getSearchResultsAdapterFactory, getSelectedAppAdapterFactory, getTypeCacheKeys$1V as getTypeCacheKeysRecord, factory$e as graphqlAdapterFactory, factory$f as graphqlBatchAdapterFactory, ingest$4 as ingestContentDocumentCompositeRepresentation, ingest$1y as ingestDuplicateConfiguration, ingest$1t as ingestDuplicatesRepresentation, ingest$1U as ingestListInfo, ingest$1Q as ingestListRecords, ingest$1M as ingestObjectInfo, ingest$1I as ingestQuickActionExecutionRepresentation, ingest$1R as ingestRecord, ingest$1J as ingestRecordUi, ingest$1l as ingestRelatedListInfo, ingest$2 as ingestRelatedListInfoBatch, ingest$1i as ingestRelatedListRecords, ingest as ingestRelatedListRecordsBatch, ingest$1k as ingestRelatedListSummaryInfoCollection, ingest$8 as ingestUiApiGraphql, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$y as keyBuilderFromTypeRecordRepresentation, keyBuilder$2S as keyBuilderObjectInfo, keyBuilder$2M as keyBuilderQuickActionExecutionRepresentation, keyBuilder$35 as keyBuilderRecord, factory$c as performQuickActionAdapterFactory, factory$d as performUpdateRecordQuickActionAdapterFactory, untrustedIsObject, factory$b as updateLayoutUserStateAdapterFactory, updateListInfoByNameAdapterFactory, factory$2 as updateRecordAdapterFactory, factory$8 as updateRecordAvatarAdapterFactory, updateRelatedListInfoAdapterFactory, updateRelatedListPreferencesAdapterFactory };
|
|
50803
|
+
export { API_NAMESPACE, notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory$1 as NotifyListInfoUpdateAvailable, notifyUpdateAvailableFactory$2 as NotifyListViewSummaryUpdateAvailable, notifyUpdateAvailableFactory as NotifyQuickActionDefaultsUpdateAvailable, notifyUpdateAvailableFactory$3 as NotifyRecordUpdateAvailable, RepresentationType$O as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$T as RecordRepresentationRepresentationType, TTL$B as RecordRepresentationTTL, RepresentationType$T as RecordRepresentationType, VERSION$2j as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, buildSelectionFromFields, buildSelectionFromRecord, configuration, factory$1 as createContentDocumentAndVersionAdapterFactory, factory as createContentVersionAdapterFactory, createIngestRecordWithFields, createListInfoAdapterFactory, factory$4 as createRecordAdapterFactory, createRecordInputFilteredByEditedFields, factory$3 as deleteRecordAdapterFactory, extractRecordIdFromStoreKey, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverridesAdapterFactory, getAllAppsAdapterFactory, getAppDetailsAdapterFactory, getDuplicateConfigurationAdapterFactory, getDuplicatesAdapterFactory, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getGlobalActionsAdapterFactory, getKeywordSearchResultsAdapterFactory, getLayoutAdapterFactory, getLayoutUserStateAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByNameAdapterFactory, getListObjectInfoAdapterFactory, factory$a as getListRecordsByNameAdapterFactory, factory$i as getListUiAdapterFactory, getListUiByApiNameAdapterFactory, getListUiByListViewIdAdapterFactory, getListViewSummaryCollectionAdapterFactory, getLookupActionsAdapterFactory, getLookupMetadataAdapterFactory, factory$9 as getLookupRecordsAdapterFactory, factory$j as getMruListUiAdapterFactory, getNavItemsAdapterFactory, getObjectCreateActionsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getPicklistValuesAdapterFactory, getPicklistValuesByRecordTypeAdapterFactory, getQuickActionDefaultsAdapterFactory, getQuickActionLayoutAdapterFactory, getRecordActionsAdapterFactory, factory$g as getRecordAdapterFactory, getRecordAvatarsAdapterFactory, factory$7 as getRecordCreateDefaultsAdapterFactory, getRecordEditActionsAdapterFactory, getRecordId18, getRecordInput, createFieldsIngestSuccess$3 as getRecordResourceIngest, factory$6 as getRecordTemplateCloneAdapterFactory, factory$5 as getRecordTemplateCreateAdapterFactory, factory$h as getRecordUiAdapterFactory, getRecordsAdapterFactory, getRelatedListActionsAdapterFactory, getRelatedListCountAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListPreferencesAdapterFactory, getRelatedListPreferencesBatchAdapterFactory, getRelatedListRecordActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListsCountAdapterFactory, getRelatedListsInfoAdapterFactory, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadataAdapterFactory, getSearchFilterOptionsAdapterFactory, getSearchResultsAdapterFactory, getSelectedAppAdapterFactory, getTypeCacheKeys$1V as getTypeCacheKeysRecord, factory$e as graphqlAdapterFactory, factory$f as graphqlBatchAdapterFactory, ingest$4 as ingestContentDocumentCompositeRepresentation, ingest$1y as ingestDuplicateConfiguration, ingest$1t as ingestDuplicatesRepresentation, ingest$1U as ingestListInfo, ingest$1Q as ingestListRecords, ingest$1M as ingestObjectInfo, ingest$1I as ingestQuickActionExecutionRepresentation, ingest$1R as ingestRecord, ingest$1J as ingestRecordUi, ingest$1l as ingestRelatedListInfo, ingest$2 as ingestRelatedListInfoBatch, ingest$1i as ingestRelatedListRecords, ingest as ingestRelatedListRecordsBatch, ingest$1k as ingestRelatedListSummaryInfoCollection, ingest$8 as ingestUiApiGraphql, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$y as keyBuilderFromTypeRecordRepresentation, keyBuilder$2S as keyBuilderObjectInfo, keyBuilder$2M as keyBuilderQuickActionExecutionRepresentation, keyBuilder$35 as keyBuilderRecord, factory$c as performQuickActionAdapterFactory, factory$d as performUpdateRecordQuickActionAdapterFactory, untrustedIsObject, factory$b as updateLayoutUserStateAdapterFactory, updateListInfoByNameAdapterFactory, factory$2 as updateRecordAdapterFactory, factory$8 as updateRecordAvatarAdapterFactory, updateRelatedListInfoAdapterFactory, updateRelatedListPreferencesAdapterFactory };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.242.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for record related UI API endpoints",
|
|
6
6
|
"main": "dist/es/es2018/uiapi-records-service.js",
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
"@databases/sqlite": "^3.0.0",
|
|
77
77
|
"@salesforce/lds-compiler-plugins": "*",
|
|
78
78
|
"@salesforce/lds-jest": "*",
|
|
79
|
-
"@salesforce/lds-store-binary": "*"
|
|
80
|
-
"@salesforce/lds-uiapi-record-utils": "*"
|
|
79
|
+
"@salesforce/lds-store-binary": "*"
|
|
81
80
|
},
|
|
82
81
|
"luvioBundlesize": [
|
|
83
82
|
{
|
|
@@ -101,10 +100,10 @@
|
|
|
101
100
|
"targets": {
|
|
102
101
|
"build": {
|
|
103
102
|
"outputs": [
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
103
|
+
"{projectRoot}/dist",
|
|
104
|
+
"{projectRoot}/karma/dist",
|
|
105
|
+
"{projectRoot}/sfdc",
|
|
106
|
+
"{projectRoot}/src/generated"
|
|
108
107
|
]
|
|
109
108
|
}
|
|
110
109
|
}
|
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -5621,22 +5621,12 @@ function selectType$E(typename, sel, fieldData, reader, key, sink, variables, fr
|
|
|
5621
5621
|
return sink;
|
|
5622
5622
|
}
|
|
5623
5623
|
|
|
5624
|
-
/**
|
|
5625
|
-
* Copyright (c) 2022, Salesforce, Inc.,
|
|
5626
|
-
* All rights reserved.
|
|
5627
|
-
* For full license text, see the LICENSE.txt file
|
|
5628
|
-
*/
|
|
5629
|
-
|
|
5630
5624
|
const API_NAMESPACE = 'UiApi';
|
|
5631
5625
|
const RECORD_REPRESENTATION_NAME = 'RecordRepresentation';
|
|
5632
5626
|
const RECORD_VIEW_ENTITY_REPRESENTATION_NAME = 'RecordViewEntityRepresentation';
|
|
5633
5627
|
const RECORD_ID_PREFIX = `${API_NAMESPACE}::${RECORD_REPRESENTATION_NAME}:`;
|
|
5634
5628
|
const RECORD_VIEW_ENTITY_ID_PREFIX = `${API_NAMESPACE}::${RECORD_VIEW_ENTITY_REPRESENTATION_NAME}:Name:`;
|
|
5635
5629
|
const RECORD_FIELDS_KEY_JUNCTION = '__fields__';
|
|
5636
|
-
function isStoreKeyRecordViewEntity(key) {
|
|
5637
|
-
return (key.indexOf(RECORD_VIEW_ENTITY_ID_PREFIX) > -1 &&
|
|
5638
|
-
key.indexOf(RECORD_FIELDS_KEY_JUNCTION) === -1);
|
|
5639
|
-
}
|
|
5640
5630
|
function extractRecordIdFromStoreKey(key) {
|
|
5641
5631
|
if (key === undefined ||
|
|
5642
5632
|
(key.indexOf(RECORD_ID_PREFIX) === -1 && key.indexOf(RECORD_VIEW_ENTITY_ID_PREFIX) === -1)) {
|
|
@@ -5645,6 +5635,10 @@ function extractRecordIdFromStoreKey(key) {
|
|
|
5645
5635
|
const parts = key.split(':');
|
|
5646
5636
|
return parts[parts.length - 1].split('_')[0];
|
|
5647
5637
|
}
|
|
5638
|
+
function isStoreKeyRecordViewEntity(key) {
|
|
5639
|
+
return (key.indexOf(RECORD_VIEW_ENTITY_ID_PREFIX) > -1 &&
|
|
5640
|
+
key.indexOf(RECORD_FIELDS_KEY_JUNCTION) === -1);
|
|
5641
|
+
}
|
|
5648
5642
|
function buildRecordRepKeyFromId(recordId) {
|
|
5649
5643
|
return `${API_NAMESPACE}::${RECORD_REPRESENTATION_NAME}:${recordId}`;
|
|
5650
5644
|
}
|
|
@@ -18148,4 +18142,4 @@ register({
|
|
|
18148
18142
|
});
|
|
18149
18143
|
|
|
18150
18144
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
18151
|
-
// version: 1.
|
|
18145
|
+
// version: 1.242.0-a5da424f9
|
package/sfdc/index.js
CHANGED
|
@@ -28918,6 +28918,28 @@ const getKeywordSearchResultsAdapterFactory = (luvio) => function UiApi__getKeyw
|
|
|
28918
28918
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
28919
28919
|
};
|
|
28920
28920
|
|
|
28921
|
+
const API_NAMESPACE = 'UiApi';
|
|
28922
|
+
const RECORD_REPRESENTATION_NAME = 'RecordRepresentation';
|
|
28923
|
+
const RECORD_VIEW_ENTITY_REPRESENTATION_NAME = 'RecordViewEntityRepresentation';
|
|
28924
|
+
const RECORD_ID_PREFIX = `${API_NAMESPACE}::${RECORD_REPRESENTATION_NAME}:`;
|
|
28925
|
+
const RECORD_VIEW_ENTITY_ID_PREFIX = `${API_NAMESPACE}::${RECORD_VIEW_ENTITY_REPRESENTATION_NAME}:Name:`;
|
|
28926
|
+
const RECORD_FIELDS_KEY_JUNCTION = '__fields__';
|
|
28927
|
+
function extractRecordIdFromStoreKey(key) {
|
|
28928
|
+
if (key === undefined ||
|
|
28929
|
+
(key.indexOf(RECORD_ID_PREFIX) === -1 && key.indexOf(RECORD_VIEW_ENTITY_ID_PREFIX) === -1)) {
|
|
28930
|
+
return undefined;
|
|
28931
|
+
}
|
|
28932
|
+
const parts = key.split(':');
|
|
28933
|
+
return parts[parts.length - 1].split('_')[0];
|
|
28934
|
+
}
|
|
28935
|
+
function isStoreKeyRecordViewEntity(key) {
|
|
28936
|
+
return (key.indexOf(RECORD_VIEW_ENTITY_ID_PREFIX) > -1 &&
|
|
28937
|
+
key.indexOf(RECORD_FIELDS_KEY_JUNCTION) === -1);
|
|
28938
|
+
}
|
|
28939
|
+
function buildRecordRepKeyFromId(recordId) {
|
|
28940
|
+
return `${API_NAMESPACE}::${RECORD_REPRESENTATION_NAME}:${recordId}`;
|
|
28941
|
+
}
|
|
28942
|
+
|
|
28921
28943
|
// The rest of this is copy-pasted. Sorry.
|
|
28922
28944
|
ObjectCreate$1(null);
|
|
28923
28945
|
|
|
@@ -33430,5 +33452,5 @@ withDefaultLuvio((luvio) => {
|
|
|
33430
33452
|
notifyQuickActionDefaultsUpdateAvailable = throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
33431
33453
|
});
|
|
33432
33454
|
|
|
33433
|
-
export { InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$J as ObjectInfoRepresentationType, RepresentationType$O as RecordRepresentationRepresentationType, TTL$w as RecordRepresentationTTL, RepresentationType$O as RecordRepresentationType, VERSION$1a as RecordRepresentationVersion, keyPrefix as UiApiNamespace, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createListInfo, createRecord, deleteRecord, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActions_imperative, factory$e as getRecordAdapterFactory, getRecordAvatars, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$Q as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$D as ingestObjectInfo, ingest$z as ingestQuickActionExecutionRepresentation, ingest$I as ingestRecord, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$y as keyBuilderFromTypeRecordRepresentation, keyBuilder$1J as keyBuilderObjectInfo, keyBuilder$1D as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1U as keyBuilderRecord, notifyListInfoUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateLayoutUserState, updateListInfoByName, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
33434
|
-
// version: 1.
|
|
33455
|
+
export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$J as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$O as RecordRepresentationRepresentationType, TTL$w as RecordRepresentationTTL, RepresentationType$O as RecordRepresentationType, VERSION$1a as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createListInfo, createRecord, deleteRecord, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActions_imperative, factory$e as getRecordAdapterFactory, getRecordAvatars, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$Q as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$D as ingestObjectInfo, ingest$z as ingestQuickActionExecutionRepresentation, ingest$I as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$y as keyBuilderFromTypeRecordRepresentation, keyBuilder$1J as keyBuilderObjectInfo, keyBuilder$1D as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1U as keyBuilderRecord, notifyListInfoUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateLayoutUserState, updateListInfoByName, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
33456
|
+
// version: 1.242.0-a5da424f9
|