@salesforce/lds-adapters-uiapi 1.200.0 → 1.201.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/generated/adapters/getListObjectInfo.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc_restAdapters.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/getUiApiListObjectInfoByObjectApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/ListObjectColumnRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/ListObjectInfoRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/ListObjectPicklistValueRepresentation.d.ts +31 -0
- package/dist/es/es2018/uiapi-records-service.js +2718 -2109
- package/package.json +3 -3
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +2543 -1925
- package/src/raml/api.raml +133 -0
- package/src/raml/luvio.raml +26 -0
package/src/raml/api.raml
CHANGED
|
@@ -1354,6 +1354,124 @@ types:
|
|
|
1354
1354
|
visibilityEditable:
|
|
1355
1355
|
description: Indicates whether the visibility of the listview can be edited.
|
|
1356
1356
|
type: boolean
|
|
1357
|
+
ListObjectColumnRepresentation:
|
|
1358
|
+
description: ListObjectColumnRepresentation
|
|
1359
|
+
type: object
|
|
1360
|
+
properties:
|
|
1361
|
+
alias:
|
|
1362
|
+
description: The alias for this column.
|
|
1363
|
+
type: string
|
|
1364
|
+
dataType:
|
|
1365
|
+
description: The data type for this column.
|
|
1366
|
+
type: string | nil
|
|
1367
|
+
enum:
|
|
1368
|
+
- Address
|
|
1369
|
+
- Anytype
|
|
1370
|
+
- Base64
|
|
1371
|
+
- Boolean
|
|
1372
|
+
- ComboBox
|
|
1373
|
+
- ComplexValue
|
|
1374
|
+
- Currency
|
|
1375
|
+
- Date
|
|
1376
|
+
- DateTime
|
|
1377
|
+
- Double
|
|
1378
|
+
- Email
|
|
1379
|
+
- EncryptedString
|
|
1380
|
+
- Int
|
|
1381
|
+
- JunctionIdList
|
|
1382
|
+
- Location
|
|
1383
|
+
- Long
|
|
1384
|
+
- MultiPicklist
|
|
1385
|
+
- Percent
|
|
1386
|
+
- Phone
|
|
1387
|
+
- Picklist
|
|
1388
|
+
- Reference
|
|
1389
|
+
- String
|
|
1390
|
+
- TextArea
|
|
1391
|
+
- Time
|
|
1392
|
+
- Url
|
|
1393
|
+
defaultFilterOperator:
|
|
1394
|
+
description: The default filter operator for this column.
|
|
1395
|
+
type: string
|
|
1396
|
+
enum:
|
|
1397
|
+
- Contains
|
|
1398
|
+
- Equals
|
|
1399
|
+
- Excludes
|
|
1400
|
+
- GreaterOrEqual
|
|
1401
|
+
- GreaterThan
|
|
1402
|
+
- Includes
|
|
1403
|
+
- LessOrEqual
|
|
1404
|
+
- LessThan
|
|
1405
|
+
- NotContain
|
|
1406
|
+
- NotEqual
|
|
1407
|
+
- StartsWith
|
|
1408
|
+
- Within
|
|
1409
|
+
displayable:
|
|
1410
|
+
description: Whether or not this column is displayable.
|
|
1411
|
+
type: boolean
|
|
1412
|
+
fieldApiName:
|
|
1413
|
+
description: The field API name for this column.
|
|
1414
|
+
type: string
|
|
1415
|
+
filterable:
|
|
1416
|
+
description: Whether or not this column is filterable.
|
|
1417
|
+
type: boolean
|
|
1418
|
+
label:
|
|
1419
|
+
description: The label for this column.
|
|
1420
|
+
type: string
|
|
1421
|
+
picklistValues:
|
|
1422
|
+
description: The list of allowed picklist values for this column.
|
|
1423
|
+
type: array
|
|
1424
|
+
items:
|
|
1425
|
+
type: ListObjectPicklistValueRepresentation
|
|
1426
|
+
sortable:
|
|
1427
|
+
description: Whether or not this column is sortable.
|
|
1428
|
+
type: boolean
|
|
1429
|
+
supportedFilterOperators:
|
|
1430
|
+
description: The supported filter operators for this column.
|
|
1431
|
+
type: array
|
|
1432
|
+
items:
|
|
1433
|
+
type: string
|
|
1434
|
+
enum:
|
|
1435
|
+
- Contains
|
|
1436
|
+
- Equals
|
|
1437
|
+
- Excludes
|
|
1438
|
+
- GreaterOrEqual
|
|
1439
|
+
- GreaterThan
|
|
1440
|
+
- Includes
|
|
1441
|
+
- LessOrEqual
|
|
1442
|
+
- LessThan
|
|
1443
|
+
- NotContain
|
|
1444
|
+
- NotEqual
|
|
1445
|
+
- StartsWith
|
|
1446
|
+
- Within
|
|
1447
|
+
ListObjectInfoRepresentation:
|
|
1448
|
+
description: ListObjectInfoRepresentation
|
|
1449
|
+
type: object
|
|
1450
|
+
properties:
|
|
1451
|
+
columns:
|
|
1452
|
+
description: Information about all available columns for the given entity.
|
|
1453
|
+
type: array
|
|
1454
|
+
items:
|
|
1455
|
+
type: ListObjectColumnRepresentation
|
|
1456
|
+
createable:
|
|
1457
|
+
description: Indicates whether a new listview for this listview's SObject can be created.
|
|
1458
|
+
type: boolean
|
|
1459
|
+
objectApiName:
|
|
1460
|
+
description: The requested object API name.
|
|
1461
|
+
type: string
|
|
1462
|
+
relatedEntityApiName:
|
|
1463
|
+
description: Null, or the type of related entity to which this LV can be scoped.
|
|
1464
|
+
type: string | nil
|
|
1465
|
+
ListObjectPicklistValueRepresentation:
|
|
1466
|
+
description: ListObjectPicklistValueRepresentation
|
|
1467
|
+
type: object
|
|
1468
|
+
properties:
|
|
1469
|
+
apiName:
|
|
1470
|
+
description: The API name for this picklist value.
|
|
1471
|
+
type: string
|
|
1472
|
+
label:
|
|
1473
|
+
description: The label name for this picklist value.
|
|
1474
|
+
type: string
|
|
1357
1475
|
ListOrderByInfoRepresentation:
|
|
1358
1476
|
description: ListOrderByInfoRepresentation
|
|
1359
1477
|
type: object
|
|
@@ -5583,6 +5701,21 @@ types:
|
|
|
5583
5701
|
objectApiName:
|
|
5584
5702
|
type: string
|
|
5585
5703
|
required: true
|
|
5704
|
+
/list-object-info:
|
|
5705
|
+
/{objectApiName}:
|
|
5706
|
+
get:
|
|
5707
|
+
displayName: getListObjectInfo
|
|
5708
|
+
description: Retrieve list object info.
|
|
5709
|
+
responses:
|
|
5710
|
+
'200':
|
|
5711
|
+
description: Success
|
|
5712
|
+
body:
|
|
5713
|
+
application/json:
|
|
5714
|
+
type: ListObjectInfoRepresentation
|
|
5715
|
+
uriParameters:
|
|
5716
|
+
objectApiName:
|
|
5717
|
+
type: string
|
|
5718
|
+
required: true
|
|
5586
5719
|
/list-records:
|
|
5587
5720
|
/{listViewId}:
|
|
5588
5721
|
get:
|
package/src/raml/luvio.raml
CHANGED
|
@@ -87,6 +87,12 @@ types:
|
|
|
87
87
|
ListInfoBatchRepresentation:
|
|
88
88
|
examples:
|
|
89
89
|
mockListInfosResponse: !include ../mocks/types/ListInfoBatchRepresentation/list-infos.json
|
|
90
|
+
ListObjectInfoRepresentation:
|
|
91
|
+
examples:
|
|
92
|
+
mockListObjectInfoAccount: !include ../mocks/types/ListObjectInfoRepresentation/list-object-info-Account.json
|
|
93
|
+
(luvio.key):
|
|
94
|
+
objectApiName: objectApiName
|
|
95
|
+
(luvio.ttl): 900000
|
|
90
96
|
ListRecordCollectionRepresentation:
|
|
91
97
|
(luvio.ttl): 30000
|
|
92
98
|
(luvio.private):
|
|
@@ -853,6 +859,26 @@ types:
|
|
|
853
859
|
name: updateListInfoByName
|
|
854
860
|
coercedParams:
|
|
855
861
|
objectApiName: SalesforceObjectId
|
|
862
|
+
/list-object-info:
|
|
863
|
+
'/{objectApiName}':
|
|
864
|
+
uriParameters:
|
|
865
|
+
objectApiName:
|
|
866
|
+
examples:
|
|
867
|
+
mockListObjectInfoAccount: Account
|
|
868
|
+
get:
|
|
869
|
+
(luvio.adapter):
|
|
870
|
+
name: getListObjectInfo
|
|
871
|
+
tests:
|
|
872
|
+
expectedResponses:
|
|
873
|
+
- configInput: |
|
|
874
|
+
{
|
|
875
|
+
"objectApiName": "Account"
|
|
876
|
+
}
|
|
877
|
+
mockPayloadId: mockListObjectInfoAccount
|
|
878
|
+
coercedParams:
|
|
879
|
+
objectApiName: SalesforceObjectId
|
|
880
|
+
(luvio.key):
|
|
881
|
+
objectApiName: urlParams.objectApiName
|
|
856
882
|
/list-records:
|
|
857
883
|
'/{listViewId}':
|
|
858
884
|
get:
|