@salesforce/lds-runtime-bridge 1.280.0 → 1.281.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/ldsRuntimeBridge.js +7 -2
- package/package.json +8 -8
package/dist/ldsRuntimeBridge.js
CHANGED
|
@@ -3367,6 +3367,12 @@ function addResolversToSchema(schema, polyFields) {
|
|
|
3367
3367
|
break;
|
|
3368
3368
|
case 'LastModifiedDate':
|
|
3369
3369
|
field.resolve = ({ recordRepresentation: record }) => {
|
|
3370
|
+
// In UIAPI record reps, LastModifiedDate might be present as a field,
|
|
3371
|
+
// which will include both the value and displayValue
|
|
3372
|
+
if (record.fields['LastModifiedDate']) {
|
|
3373
|
+
return record.fields['LastModifiedDate'];
|
|
3374
|
+
}
|
|
3375
|
+
// If the field is not present, just return the value of the root property
|
|
3370
3376
|
return record.lastModifiedDate
|
|
3371
3377
|
? { value: record.lastModifiedDate }
|
|
3372
3378
|
: null;
|
|
@@ -3494,7 +3500,6 @@ _, { objectInfos }) {
|
|
|
3494
3500
|
}
|
|
3495
3501
|
}
|
|
3496
3502
|
}
|
|
3497
|
-
// TODO [W-14660068]: composite name fields
|
|
3498
3503
|
return null;
|
|
3499
3504
|
}
|
|
3500
3505
|
async function connectionEdgeResolver(obj, _args, context) {
|
|
@@ -4064,4 +4069,4 @@ function ldsRuntimeBridge() {
|
|
|
4064
4069
|
}
|
|
4065
4070
|
|
|
4066
4071
|
export { ldsRuntimeBridge as default };
|
|
4067
|
-
// version: 1.
|
|
4072
|
+
// version: 1.281.0-9a56a08f0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-bridge",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.281.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS runtime for bridge.app.",
|
|
6
6
|
"main": "dist/ldsRuntimeBridge.js",
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-bridge"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
38
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
37
|
+
"@salesforce/lds-adapters-uiapi": "^1.281.0",
|
|
38
|
+
"@salesforce/lds-instrumentation": "^1.281.0",
|
|
39
39
|
"@salesforce/user": "0.0.21",
|
|
40
40
|
"o11y": "244.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@salesforce/lds-drafts-adapters-uiapi": "^1.
|
|
44
|
-
"@salesforce/lds-network-aura": "^1.
|
|
45
|
-
"@salesforce/lds-runtime-aura": "^1.
|
|
46
|
-
"@salesforce/lds-store-nimbus": "^1.
|
|
47
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
43
|
+
"@salesforce/lds-drafts-adapters-uiapi": "^1.281.0",
|
|
44
|
+
"@salesforce/lds-network-aura": "^1.281.0",
|
|
45
|
+
"@salesforce/lds-runtime-aura": "^1.281.0",
|
|
46
|
+
"@salesforce/lds-store-nimbus": "^1.281.0",
|
|
47
|
+
"@salesforce/nimbus-plugin-lds": "^1.281.0",
|
|
48
48
|
"babel-plugin-dynamic-import-node": "^2.3.3"
|
|
49
49
|
},
|
|
50
50
|
"luvioBundlesize": [
|