@salesforce/lds-adapters-uiapi 1.229.0-dev6 → 1.229.0-dev8
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.
|
@@ -4239,7 +4239,7 @@ function extractTrackedFieldsToTrie(recordId, node, root, config, visitedRecordI
|
|
|
4239
4239
|
extractTrackedFieldsToTrie(spanningLink.data.__ref, spanning, next, config, spanningVisitedRecordIds, depth + 1);
|
|
4240
4240
|
// For a spanning record that is detected to be a circular reference, we add the field along with Id and Name.
|
|
4241
4241
|
// It's possible for spanning record lookup fields to sometimes be circular, and sometimes not - depending on the value of the lookup field.
|
|
4242
|
-
// For more information on scenarios that caused this fix:
|
|
4242
|
+
// For more information on scenarios that caused this fix: search "LDS Recursive Spanning Fields Problem" in Quip
|
|
4243
4243
|
if (keys(next.children).length === 0) {
|
|
4244
4244
|
addScalarFieldId(next);
|
|
4245
4245
|
addScalarFieldName(next);
|
|
@@ -11802,7 +11802,7 @@ function getLayoutMapAndObjectInfo(recordId, data) {
|
|
|
11802
11802
|
// Temp fix until we can mimic the server behavior for non-layoutable entities.
|
|
11803
11803
|
let layoutMap = {};
|
|
11804
11804
|
if (hasOwnProperty.call(layouts, apiName)) {
|
|
11805
|
-
layoutMap = layouts[apiName][recordTypeId];
|
|
11805
|
+
layoutMap = layouts[apiName][recordTypeId] || {};
|
|
11806
11806
|
}
|
|
11807
11807
|
return {
|
|
11808
11808
|
layoutMap,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-uiapi",
|
|
3
|
-
"version": "1.229.0-
|
|
3
|
+
"version": "1.229.0-dev8",
|
|
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",
|
|
@@ -68,15 +68,15 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@salesforce/lds-bindings": "1.229.0-
|
|
72
|
-
"@salesforce/lds-default-luvio": "1.229.0-
|
|
71
|
+
"@salesforce/lds-bindings": "1.229.0-dev8",
|
|
72
|
+
"@salesforce/lds-default-luvio": "1.229.0-dev8"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@databases/sqlite": "^3.0.0",
|
|
76
|
-
"@salesforce/lds-compiler-plugins": "1.229.0-
|
|
77
|
-
"@salesforce/lds-jest": "1.229.0-
|
|
78
|
-
"@salesforce/lds-store-binary": "1.229.0-
|
|
79
|
-
"@salesforce/lds-uiapi-record-utils": "1.229.0-
|
|
76
|
+
"@salesforce/lds-compiler-plugins": "1.229.0-dev8",
|
|
77
|
+
"@salesforce/lds-jest": "1.229.0-dev8",
|
|
78
|
+
"@salesforce/lds-store-binary": "1.229.0-dev8",
|
|
79
|
+
"@salesforce/lds-uiapi-record-utils": "1.229.0-dev8"
|
|
80
80
|
},
|
|
81
81
|
"luvioBundlesize": [
|
|
82
82
|
{
|
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -18107,4 +18107,4 @@ register({
|
|
|
18107
18107
|
});
|
|
18108
18108
|
|
|
18109
18109
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
18110
|
-
// version: 1.229.0-
|
|
18110
|
+
// version: 1.229.0-dev8-26b9af754
|
package/sfdc/index.js
CHANGED
|
@@ -4287,7 +4287,7 @@ function extractTrackedFieldsToTrie(recordId, node, root, config, visitedRecordI
|
|
|
4287
4287
|
extractTrackedFieldsToTrie(spanningLink.data.__ref, spanning, next, config, spanningVisitedRecordIds, depth + 1);
|
|
4288
4288
|
// For a spanning record that is detected to be a circular reference, we add the field along with Id and Name.
|
|
4289
4289
|
// It's possible for spanning record lookup fields to sometimes be circular, and sometimes not - depending on the value of the lookup field.
|
|
4290
|
-
// For more information on scenarios that caused this fix:
|
|
4290
|
+
// For more information on scenarios that caused this fix: search "LDS Recursive Spanning Fields Problem" in Quip
|
|
4291
4291
|
if (keys(next.children).length === 0) {
|
|
4292
4292
|
addScalarFieldId(next);
|
|
4293
4293
|
addScalarFieldName(next);
|
|
@@ -11334,7 +11334,7 @@ function getLayoutMapAndObjectInfo(recordId, data) {
|
|
|
11334
11334
|
// Temp fix until we can mimic the server behavior for non-layoutable entities.
|
|
11335
11335
|
let layoutMap = {};
|
|
11336
11336
|
if (hasOwnProperty.call(layouts, apiName)) {
|
|
11337
|
-
layoutMap = layouts[apiName][recordTypeId];
|
|
11337
|
+
layoutMap = layouts[apiName][recordTypeId] || {};
|
|
11338
11338
|
}
|
|
11339
11339
|
return {
|
|
11340
11340
|
layoutMap,
|
|
@@ -32867,4 +32867,4 @@ withDefaultLuvio((luvio) => {
|
|
|
32867
32867
|
});
|
|
32868
32868
|
|
|
32869
32869
|
export { InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$J as ObjectInfoRepresentationType, RepresentationType$O as RecordRepresentationRepresentationType, TTL$w as RecordRepresentationTTL, RepresentationType$O as RecordRepresentationType, VERSION$17 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, 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$C as ingestObjectInfo, ingest$y as ingestQuickActionExecutionRepresentation, ingest$H 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 };
|
|
32870
|
-
// version: 1.229.0-
|
|
32870
|
+
// version: 1.229.0-dev8-26b9af754
|