@salesforce/lds-adapters-uiapi 1.111.4 → 1.112.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/uiapi-records-service.js +1356 -1038
- package/dist/types/src/generated/adapters/getQuickActionLayout.d.ts +27 -0
- package/dist/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/types/src/generated/artifacts/sfdc_restAdapters.d.ts +3 -1
- package/dist/types/src/generated/resources/getUiApiActionsLayoutByActionApiName.d.ts +5 -4
- package/dist/types/src/generated/types/QuickActionLayoutRepresentation.d.ts +45 -0
- package/dist/types/src/generated/types/RecordLayoutRepresentation.d.ts +11 -11
- package/dist/umd/es2018/uiapi-records-service.js +1372 -1053
- package/dist/umd/es5/uiapi-records-service.js +1374 -1054
- package/package.json +7 -7
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +1412 -1085
- package/src/raml/api.raml +17 -3
- package/src/raml/luvio.raml +17 -0
package/src/raml/api.raml
CHANGED
|
@@ -2386,6 +2386,20 @@ types:
|
|
|
2386
2386
|
successMessage:
|
|
2387
2387
|
description: The success message of the operation.
|
|
2388
2388
|
type: string
|
|
2389
|
+
QuickActionLayoutRepresentation:
|
|
2390
|
+
description: Representation of a quick action create / update layout.
|
|
2391
|
+
type: object
|
|
2392
|
+
properties:
|
|
2393
|
+
eTag:
|
|
2394
|
+
description: ETag like field, readOnly, handy while caching.
|
|
2395
|
+
type: string
|
|
2396
|
+
(oas-readOnly): true
|
|
2397
|
+
actionApiName:
|
|
2398
|
+
description: quick action name
|
|
2399
|
+
type: string
|
|
2400
|
+
layout:
|
|
2401
|
+
description: quick action layout
|
|
2402
|
+
type: RecordLayoutRepresentation
|
|
2389
2403
|
RecordCollectionRepresentation:
|
|
2390
2404
|
description: Record Collection Representation.
|
|
2391
2405
|
type: object
|
|
@@ -2590,10 +2604,10 @@ types:
|
|
|
2590
2604
|
- View
|
|
2591
2605
|
objectApiName:
|
|
2592
2606
|
description: Object API name.
|
|
2593
|
-
type: string
|
|
2607
|
+
type: string | nil
|
|
2594
2608
|
recordTypeId:
|
|
2595
2609
|
description: Record type ID.
|
|
2596
|
-
type: string
|
|
2610
|
+
type: string | nil
|
|
2597
2611
|
saveOptions:
|
|
2598
2612
|
description: Layout save options.
|
|
2599
2613
|
type: array # TODO: remove nil union hand rolled
|
|
@@ -4166,7 +4180,7 @@ types:
|
|
|
4166
4180
|
description: Success
|
|
4167
4181
|
body:
|
|
4168
4182
|
application/json:
|
|
4169
|
-
type:
|
|
4183
|
+
type: QuickActionLayoutRepresentation
|
|
4170
4184
|
uriParameters:
|
|
4171
4185
|
actionApiName:
|
|
4172
4186
|
type: string
|
package/src/raml/luvio.raml
CHANGED
|
@@ -220,6 +220,17 @@ types:
|
|
|
220
220
|
(luvio.opaque): true
|
|
221
221
|
AbstractRecordAvatarBatchRepresentation:
|
|
222
222
|
(luvio.ttl): 300000
|
|
223
|
+
QuickActionLayoutRepresentation:
|
|
224
|
+
examples:
|
|
225
|
+
mockQuickActionCreate: !include ../mocks/types/QuickActionLayoutRepresentation/quick_action_create.json
|
|
226
|
+
(luvio.integrity):
|
|
227
|
+
- eTag
|
|
228
|
+
(luvio.ttl): 900000
|
|
229
|
+
(luvio.key):
|
|
230
|
+
actionApiName: actionApiName
|
|
231
|
+
(luvio.opaque): true
|
|
232
|
+
(luvio.private):
|
|
233
|
+
- eTag
|
|
223
234
|
RecordLayoutRepresentation:
|
|
224
235
|
examples:
|
|
225
236
|
mockLayoutOpportunityFull: !include ../mocks/types/RecordLayoutRepresentation/layout-Opportunity-Full.json
|
|
@@ -586,6 +597,12 @@ types:
|
|
|
586
597
|
{
|
|
587
598
|
}
|
|
588
599
|
mockPayloadId: mockGetGlobalActionsResponse
|
|
600
|
+
'/layout/{actionApiName}':
|
|
601
|
+
get:
|
|
602
|
+
(luvio.adapter):
|
|
603
|
+
name: getQuickActionLayout
|
|
604
|
+
(luvio.key):
|
|
605
|
+
actionApiName: urlParams.actionApiName
|
|
589
606
|
'/record/{recordIds}':
|
|
590
607
|
uriParameters:
|
|
591
608
|
recordIds:
|