@salesforce/lds-adapters-uiapi 1.229.0-dev4 → 1.229.0-dev5
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.
|
@@ -12,7 +12,7 @@ declare const assign: {
|
|
|
12
12
|
[idx: string]: object | U | null | undefined;
|
|
13
13
|
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
14
14
|
<T_2>(o: T_2): Readonly<T_2>;
|
|
15
|
-
}, keys: {
|
|
15
|
+
}, isFrozen: (o: any) => boolean, keys: {
|
|
16
16
|
(o: object): string[];
|
|
17
17
|
(o: {}): string[];
|
|
18
18
|
};
|
|
@@ -39,4 +39,4 @@ declare const parse: (text: string, reviver?: ((this: any, key: string, value: a
|
|
|
39
39
|
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
40
40
|
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
41
41
|
};
|
|
42
|
-
export { assign as ObjectAssign, create as ObjectCreate, freeze as ObjectFreeze, keys as ObjectKeys, hasOwnProperty as ObjectPrototypeHasOwnProperty, isArray as ArrayIsArray, concat as ArrayPrototypeConcat, filter as ArrayPrototypeFilter, includes as ArrayPrototypeIncludes, push as ArrayPrototypePush, reduce as ArrayPrototypeReduce, split as StringPrototypeSplit, endsWith as StringPrototypeEndsWith, parse as JSONParse, stringify as JSONStringify, };
|
|
42
|
+
export { assign as ObjectAssign, create as ObjectCreate, freeze as ObjectFreeze, isFrozen as ObjectIsFrozen, keys as ObjectKeys, hasOwnProperty as ObjectPrototypeHasOwnProperty, isArray as ArrayIsArray, concat as ArrayPrototypeConcat, filter as ArrayPrototypeFilter, includes as ArrayPrototypeIncludes, push as ArrayPrototypePush, reduce as ArrayPrototypeReduce, split as StringPrototypeSplit, endsWith as StringPrototypeEndsWith, parse as JSONParse, stringify as JSONStringify, };
|
|
@@ -355,7 +355,7 @@ function buildAdapterValidationConfig(displayName, paramsMeta) {
|
|
|
355
355
|
}
|
|
356
356
|
const keyPrefix = 'UiApi';
|
|
357
357
|
|
|
358
|
-
const { assign, create, freeze, keys } = Object;
|
|
358
|
+
const { assign, create, freeze, isFrozen, keys } = Object;
|
|
359
359
|
const { hasOwnProperty } = Object.prototype;
|
|
360
360
|
const { split, endsWith } = String.prototype;
|
|
361
361
|
const { isArray } = Array;
|
|
@@ -4574,7 +4574,11 @@ function markNulledOutPath(record, path) {
|
|
|
4574
4574
|
}
|
|
4575
4575
|
const link = fieldValueRepresentation.link(fieldName);
|
|
4576
4576
|
const resolved = link.follow();
|
|
4577
|
-
if (isGraphNode(resolved) &&
|
|
4577
|
+
if (isGraphNode(resolved) &&
|
|
4578
|
+
resolved.isScalar('value') &&
|
|
4579
|
+
path.length > 0 &&
|
|
4580
|
+
// TODO [W-14082782]: temporary fix
|
|
4581
|
+
!isFrozen(link.data)) {
|
|
4578
4582
|
const linkState = link.linkData();
|
|
4579
4583
|
const fields = linkState === undefined ? [] : linkState.fields;
|
|
4580
4584
|
link.writeLinkData({
|
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-dev5",
|
|
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-dev5",
|
|
72
|
+
"@salesforce/lds-default-luvio": "1.229.0-dev5"
|
|
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-dev5",
|
|
77
|
+
"@salesforce/lds-jest": "1.229.0-dev5",
|
|
78
|
+
"@salesforce/lds-store-binary": "1.229.0-dev5",
|
|
79
|
+
"@salesforce/lds-uiapi-record-utils": "1.229.0-dev5"
|
|
80
80
|
},
|
|
81
81
|
"luvioBundlesize": [
|
|
82
82
|
{
|
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -12954,7 +12954,7 @@ function getFieldType$6(field) {
|
|
|
12954
12954
|
}
|
|
12955
12955
|
}
|
|
12956
12956
|
|
|
12957
|
-
const { assign, create, freeze, keys } = Object;
|
|
12957
|
+
const { assign, create, freeze, isFrozen, keys } = Object;
|
|
12958
12958
|
const { isArray } = Array;
|
|
12959
12959
|
const { concat, filter, includes, push, reduce } = Array.prototype;
|
|
12960
12960
|
|
|
@@ -18122,4 +18122,4 @@ register({
|
|
|
18122
18122
|
});
|
|
18123
18123
|
|
|
18124
18124
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
18125
|
-
// version: 1.229.0-
|
|
18125
|
+
// version: 1.229.0-dev5-577daa79a
|
package/sfdc/index.js
CHANGED
|
@@ -403,7 +403,7 @@ function buildAdapterValidationConfig(displayName, paramsMeta) {
|
|
|
403
403
|
}
|
|
404
404
|
const keyPrefix = 'UiApi';
|
|
405
405
|
|
|
406
|
-
const { assign, create, freeze, keys } = Object;
|
|
406
|
+
const { assign, create, freeze, isFrozen, keys } = Object;
|
|
407
407
|
const { hasOwnProperty } = Object.prototype;
|
|
408
408
|
const { split, endsWith } = String.prototype;
|
|
409
409
|
const { isArray } = Array;
|
|
@@ -4440,7 +4440,11 @@ function markNulledOutPath(record, path) {
|
|
|
4440
4440
|
}
|
|
4441
4441
|
const link = fieldValueRepresentation.link(fieldName);
|
|
4442
4442
|
const resolved = link.follow();
|
|
4443
|
-
if (isGraphNode(resolved) &&
|
|
4443
|
+
if (isGraphNode(resolved) &&
|
|
4444
|
+
resolved.isScalar('value') &&
|
|
4445
|
+
path.length > 0 &&
|
|
4446
|
+
// TODO [W-14082782]: temporary fix
|
|
4447
|
+
!isFrozen(link.data)) {
|
|
4444
4448
|
const linkState = link.linkData();
|
|
4445
4449
|
const fields = linkState === undefined ? [] : linkState.fields;
|
|
4446
4450
|
link.writeLinkData({
|
|
@@ -32863,4 +32867,4 @@ withDefaultLuvio((luvio) => {
|
|
|
32863
32867
|
});
|
|
32864
32868
|
|
|
32865
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 };
|
|
32866
|
-
// version: 1.229.0-
|
|
32870
|
+
// version: 1.229.0-dev5-577daa79a
|
|
@@ -99,7 +99,7 @@ var TypeCheckShapes;
|
|
|
99
99
|
|
|
100
100
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
101
101
|
|
|
102
|
-
const { assign, create, freeze, keys } = Object;
|
|
102
|
+
const { assign, create, freeze, isFrozen, keys } = Object;
|
|
103
103
|
|
|
104
104
|
function isString(value) {
|
|
105
105
|
return typeof value === 'string';
|