@salesforce/lwc-adapters-uiapi 1.267.0 → 1.269.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/main.js +78 -78
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -10267,7 +10267,7 @@ const notifyUpdateAvailableFactory$3 = (luvio) => {
|
|
|
10267
10267
|
/**
|
|
10268
10268
|
* The master record type id.
|
|
10269
10269
|
*/
|
|
10270
|
-
const
|
|
10270
|
+
const MAIN_RECORD_TYPE_ID = '012000000000000AAA';
|
|
10271
10271
|
|
|
10272
10272
|
/**
|
|
10273
10273
|
* A set of the string names of known entities.
|
|
@@ -12343,7 +12343,7 @@ function getField(record, field) {
|
|
|
12343
12343
|
return r;
|
|
12344
12344
|
}
|
|
12345
12345
|
function getRecordTypeId$2(record) {
|
|
12346
|
-
return record.recordTypeId === null ?
|
|
12346
|
+
return record.recordTypeId === null ? MAIN_RECORD_TYPE_ID : record.recordTypeId;
|
|
12347
12347
|
}
|
|
12348
12348
|
// This function traverses through a record and marks missing
|
|
12349
12349
|
// optional fields as "missing"
|
|
@@ -12991,7 +12991,7 @@ function getResponseCacheKeys$14(storeKeyMap, luvio, resourceParams, response) {
|
|
|
12991
12991
|
function createResourceRequest$1c(config) {
|
|
12992
12992
|
const headers = {};
|
|
12993
12993
|
return {
|
|
12994
|
-
baseUri: '/services/data/
|
|
12994
|
+
baseUri: '/services/data/v61.0',
|
|
12995
12995
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
12996
12996
|
method: 'get',
|
|
12997
12997
|
body: null,
|
|
@@ -13431,7 +13431,7 @@ function ingestError$N(luvio, params, error, snapshotRefresh) {
|
|
|
13431
13431
|
function createResourceRequest$1b(config) {
|
|
13432
13432
|
const headers = {};
|
|
13433
13433
|
return {
|
|
13434
|
-
baseUri: '/services/data/
|
|
13434
|
+
baseUri: '/services/data/v61.0',
|
|
13435
13435
|
basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
|
|
13436
13436
|
method: 'get',
|
|
13437
13437
|
body: null,
|
|
@@ -14646,7 +14646,7 @@ function createPaginationParams$5(params) {
|
|
|
14646
14646
|
function createResourceRequest$1a(config) {
|
|
14647
14647
|
const headers = {};
|
|
14648
14648
|
return {
|
|
14649
|
-
baseUri: '/services/data/
|
|
14649
|
+
baseUri: '/services/data/v61.0',
|
|
14650
14650
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
14651
14651
|
method: 'get',
|
|
14652
14652
|
body: null,
|
|
@@ -14699,7 +14699,7 @@ function createPaginationParams$4(params) {
|
|
|
14699
14699
|
function createResourceRequest$19(config) {
|
|
14700
14700
|
const headers = {};
|
|
14701
14701
|
return {
|
|
14702
|
-
baseUri: '/services/data/
|
|
14702
|
+
baseUri: '/services/data/v61.0',
|
|
14703
14703
|
basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
|
|
14704
14704
|
method: 'get',
|
|
14705
14705
|
body: null,
|
|
@@ -14744,7 +14744,7 @@ function validateAdapterConfig$19(untrustedConfig, configPropertyNames) {
|
|
|
14744
14744
|
function createResourceRequest$18(config) {
|
|
14745
14745
|
const headers = {};
|
|
14746
14746
|
return {
|
|
14747
|
-
baseUri: '/services/data/
|
|
14747
|
+
baseUri: '/services/data/v61.0',
|
|
14748
14748
|
basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
|
|
14749
14749
|
method: 'get',
|
|
14750
14750
|
body: null,
|
|
@@ -15089,7 +15089,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
|
|
|
15089
15089
|
function createResourceRequest$17(config) {
|
|
15090
15090
|
const headers = {};
|
|
15091
15091
|
return {
|
|
15092
|
-
baseUri: '/services/data/
|
|
15092
|
+
baseUri: '/services/data/v61.0',
|
|
15093
15093
|
basePath: '/ui-api/list-records/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
15094
15094
|
method: 'get',
|
|
15095
15095
|
body: null,
|
|
@@ -15810,7 +15810,7 @@ function ingestError$J(luvio, params, error, snapshotRefresh) {
|
|
|
15810
15810
|
function createResourceRequest$16(config) {
|
|
15811
15811
|
const headers = {};
|
|
15812
15812
|
return {
|
|
15813
|
-
baseUri: '/services/data/
|
|
15813
|
+
baseUri: '/services/data/v61.0',
|
|
15814
15814
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
|
|
15815
15815
|
method: 'get',
|
|
15816
15816
|
body: null,
|
|
@@ -16008,7 +16008,7 @@ function keyBuilder$2_(luvio, params) {
|
|
|
16008
16008
|
function createResourceRequest$15(config) {
|
|
16009
16009
|
const headers = {};
|
|
16010
16010
|
return {
|
|
16011
|
-
baseUri: '/services/data/
|
|
16011
|
+
baseUri: '/services/data/v61.0',
|
|
16012
16012
|
basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
|
|
16013
16013
|
method: 'get',
|
|
16014
16014
|
body: null,
|
|
@@ -16053,7 +16053,7 @@ function validateAdapterConfig$17(untrustedConfig, configPropertyNames) {
|
|
|
16053
16053
|
function createResourceRequest$14(config) {
|
|
16054
16054
|
const headers = {};
|
|
16055
16055
|
return {
|
|
16056
|
-
baseUri: '/services/data/
|
|
16056
|
+
baseUri: '/services/data/v61.0',
|
|
16057
16057
|
basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
|
|
16058
16058
|
method: 'get',
|
|
16059
16059
|
body: null,
|
|
@@ -17790,7 +17790,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
17790
17790
|
function createResourceRequest$13(config) {
|
|
17791
17791
|
const headers = {};
|
|
17792
17792
|
return {
|
|
17793
|
-
baseUri: '/services/data/
|
|
17793
|
+
baseUri: '/services/data/v61.0',
|
|
17794
17794
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '',
|
|
17795
17795
|
method: 'get',
|
|
17796
17796
|
body: null,
|
|
@@ -18827,7 +18827,7 @@ const ingest$1L = function RecordUiRepresentationIngest(input, path, luvio, stor
|
|
|
18827
18827
|
function createResourceRequest$12(config) {
|
|
18828
18828
|
const headers = {};
|
|
18829
18829
|
return {
|
|
18830
|
-
baseUri: '/services/data/
|
|
18830
|
+
baseUri: '/services/data/v61.0',
|
|
18831
18831
|
basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
|
|
18832
18832
|
method: 'get',
|
|
18833
18833
|
body: null,
|
|
@@ -19454,7 +19454,7 @@ function getLayoutMapAndObjectInfo(recordId, data) {
|
|
|
19454
19454
|
// Temp fix until we can mimic the server behavior for non-layoutable entities.
|
|
19455
19455
|
let layoutMap = {};
|
|
19456
19456
|
if (hasOwnProperty.call(layouts, apiName)) {
|
|
19457
|
-
layoutMap = layouts[apiName][recordTypeId];
|
|
19457
|
+
layoutMap = layouts[apiName][recordTypeId] || {};
|
|
19458
19458
|
}
|
|
19459
19459
|
return {
|
|
19460
19460
|
layoutMap,
|
|
@@ -21149,7 +21149,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
|
|
|
21149
21149
|
function createResourceRequest$11(config) {
|
|
21150
21150
|
const headers = {};
|
|
21151
21151
|
return {
|
|
21152
|
-
baseUri: '/services/data/
|
|
21152
|
+
baseUri: '/services/data/v61.0',
|
|
21153
21153
|
basePath: '/ui-api/actions/global',
|
|
21154
21154
|
method: 'get',
|
|
21155
21155
|
body: null,
|
|
@@ -21383,7 +21383,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
|
21383
21383
|
function createResourceRequest$10(config) {
|
|
21384
21384
|
const headers = {};
|
|
21385
21385
|
return {
|
|
21386
|
-
baseUri: '/services/data/
|
|
21386
|
+
baseUri: '/services/data/v61.0',
|
|
21387
21387
|
basePath: '/ui-api/actions/layout/' + config.urlParams.actionApiName + '',
|
|
21388
21388
|
method: 'get',
|
|
21389
21389
|
body: null,
|
|
@@ -21553,7 +21553,7 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
|
21553
21553
|
function createResourceRequest$$(config) {
|
|
21554
21554
|
const headers = {};
|
|
21555
21555
|
return {
|
|
21556
|
-
baseUri: '/services/data/
|
|
21556
|
+
baseUri: '/services/data/v61.0',
|
|
21557
21557
|
basePath: '/ui-api/actions/lookup/' + config.urlParams.objectApiNames + '',
|
|
21558
21558
|
method: 'get',
|
|
21559
21559
|
body: null,
|
|
@@ -21695,7 +21695,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
|
21695
21695
|
function createResourceRequest$_(config) {
|
|
21696
21696
|
const headers = {};
|
|
21697
21697
|
return {
|
|
21698
|
-
baseUri: '/services/data/
|
|
21698
|
+
baseUri: '/services/data/v61.0',
|
|
21699
21699
|
basePath: '/ui-api/actions/object/' + config.urlParams.objectApiName + '/record-create',
|
|
21700
21700
|
method: 'get',
|
|
21701
21701
|
body: null,
|
|
@@ -21885,7 +21885,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
|
21885
21885
|
function createResourceRequest$Z(config) {
|
|
21886
21886
|
const headers = {};
|
|
21887
21887
|
return {
|
|
21888
|
-
baseUri: '/services/data/
|
|
21888
|
+
baseUri: '/services/data/v61.0',
|
|
21889
21889
|
basePath: '/ui-api/actions/overrides/' + config.urlParams.objectApiName + '',
|
|
21890
21890
|
method: 'get',
|
|
21891
21891
|
body: null,
|
|
@@ -22149,7 +22149,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
22149
22149
|
function createResourceRequest$Y(config) {
|
|
22150
22150
|
const headers = {};
|
|
22151
22151
|
return {
|
|
22152
|
-
baseUri: '/services/data/
|
|
22152
|
+
baseUri: '/services/data/v61.0',
|
|
22153
22153
|
basePath: '/ui-api/actions/formula-activation/' + config.urlParams.actionFeature + '',
|
|
22154
22154
|
method: 'get',
|
|
22155
22155
|
body: null,
|
|
@@ -22358,7 +22358,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
|
22358
22358
|
function createResourceRequest$X(config) {
|
|
22359
22359
|
const headers = {};
|
|
22360
22360
|
return {
|
|
22361
|
-
baseUri: '/services/data/
|
|
22361
|
+
baseUri: '/services/data/v61.0',
|
|
22362
22362
|
basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
|
|
22363
22363
|
method: 'get',
|
|
22364
22364
|
body: null,
|
|
@@ -22527,7 +22527,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
22527
22527
|
function createResourceRequest$W(config) {
|
|
22528
22528
|
const headers = {};
|
|
22529
22529
|
return {
|
|
22530
|
-
baseUri: '/services/data/
|
|
22530
|
+
baseUri: '/services/data/v61.0',
|
|
22531
22531
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '',
|
|
22532
22532
|
method: 'get',
|
|
22533
22533
|
body: null,
|
|
@@ -22679,7 +22679,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
|
22679
22679
|
function createResourceRequest$V(config) {
|
|
22680
22680
|
const headers = {};
|
|
22681
22681
|
return {
|
|
22682
|
-
baseUri: '/services/data/
|
|
22682
|
+
baseUri: '/services/data/v61.0',
|
|
22683
22683
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/record-edit',
|
|
22684
22684
|
method: 'get',
|
|
22685
22685
|
body: null,
|
|
@@ -22891,7 +22891,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
|
22891
22891
|
function createResourceRequest$U(config) {
|
|
22892
22892
|
const headers = {};
|
|
22893
22893
|
return {
|
|
22894
|
-
baseUri: '/services/data/
|
|
22894
|
+
baseUri: '/services/data/v61.0',
|
|
22895
22895
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/' + config.urlParams.relatedListId + '',
|
|
22896
22896
|
method: 'post',
|
|
22897
22897
|
body: config.body,
|
|
@@ -23176,7 +23176,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
|
23176
23176
|
function createResourceRequest$T(config) {
|
|
23177
23177
|
const headers = {};
|
|
23178
23178
|
return {
|
|
23179
|
-
baseUri: '/services/data/
|
|
23179
|
+
baseUri: '/services/data/v61.0',
|
|
23180
23180
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/batch',
|
|
23181
23181
|
method: 'post',
|
|
23182
23182
|
body: config.body,
|
|
@@ -23421,7 +23421,7 @@ function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
|
23421
23421
|
function createResourceRequest$S(config) {
|
|
23422
23422
|
const headers = {};
|
|
23423
23423
|
return {
|
|
23424
|
-
baseUri: '/services/data/
|
|
23424
|
+
baseUri: '/services/data/v61.0',
|
|
23425
23425
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list-record/' + config.urlParams.relatedListRecordIds + '',
|
|
23426
23426
|
method: 'get',
|
|
23427
23427
|
body: null,
|
|
@@ -24643,7 +24643,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
|
24643
24643
|
function createResourceRequest$R(config) {
|
|
24644
24644
|
const headers = {};
|
|
24645
24645
|
return {
|
|
24646
|
-
baseUri: '/services/data/
|
|
24646
|
+
baseUri: '/services/data/v61.0',
|
|
24647
24647
|
basePath: '/ui-api/apps',
|
|
24648
24648
|
method: 'get',
|
|
24649
24649
|
body: null,
|
|
@@ -24785,7 +24785,7 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
|
24785
24785
|
function createResourceRequest$P(config) {
|
|
24786
24786
|
const headers = {};
|
|
24787
24787
|
return {
|
|
24788
|
-
baseUri: '/services/data/
|
|
24788
|
+
baseUri: '/services/data/v61.0',
|
|
24789
24789
|
basePath: '/ui-api/apps/' + config.urlParams.appId + '',
|
|
24790
24790
|
method: 'get',
|
|
24791
24791
|
body: null,
|
|
@@ -25388,7 +25388,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
|
25388
25388
|
function createResourceRequest$O(config) {
|
|
25389
25389
|
const headers = {};
|
|
25390
25390
|
return {
|
|
25391
|
-
baseUri: '/services/data/
|
|
25391
|
+
baseUri: '/services/data/v61.0',
|
|
25392
25392
|
basePath: '/ui-api/duplicates/' + config.urlParams.objectApiName + '',
|
|
25393
25393
|
method: 'get',
|
|
25394
25394
|
body: null,
|
|
@@ -25527,7 +25527,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
|
25527
25527
|
function createResourceRequest$N(config) {
|
|
25528
25528
|
const headers = {};
|
|
25529
25529
|
return {
|
|
25530
|
-
baseUri: '/services/data/
|
|
25530
|
+
baseUri: '/services/data/v61.0',
|
|
25531
25531
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '',
|
|
25532
25532
|
method: 'get',
|
|
25533
25533
|
body: null,
|
|
@@ -25574,7 +25574,7 @@ function validateAdapterConfig$Q(untrustedConfig, _configPropertyNames) {
|
|
|
25574
25574
|
if (untrustedConfig.recordTypeId !== null) {
|
|
25575
25575
|
return null;
|
|
25576
25576
|
}
|
|
25577
|
-
recordTypeId =
|
|
25577
|
+
recordTypeId = MAIN_RECORD_TYPE_ID;
|
|
25578
25578
|
}
|
|
25579
25579
|
// layoutType and mode are required during validation.
|
|
25580
25580
|
// They will always be valid at this point.
|
|
@@ -25666,7 +25666,7 @@ function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
|
|
|
25666
25666
|
function createResourceRequest$M(config) {
|
|
25667
25667
|
const headers = {};
|
|
25668
25668
|
return {
|
|
25669
|
-
baseUri: '/services/data/
|
|
25669
|
+
baseUri: '/services/data/v61.0',
|
|
25670
25670
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
|
|
25671
25671
|
method: 'get',
|
|
25672
25672
|
body: null,
|
|
@@ -25899,7 +25899,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
|
25899
25899
|
function createResourceRequest$L(config) {
|
|
25900
25900
|
const headers = {};
|
|
25901
25901
|
return {
|
|
25902
|
-
baseUri: '/services/data/
|
|
25902
|
+
baseUri: '/services/data/v61.0',
|
|
25903
25903
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
25904
25904
|
method: 'get',
|
|
25905
25905
|
body: null,
|
|
@@ -26168,7 +26168,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
|
26168
26168
|
function createResourceRequest$K(config) {
|
|
26169
26169
|
const headers = {};
|
|
26170
26170
|
return {
|
|
26171
|
-
baseUri: '/services/data/
|
|
26171
|
+
baseUri: '/services/data/v61.0',
|
|
26172
26172
|
basePath: '/ui-api/list-info/batch',
|
|
26173
26173
|
method: 'get',
|
|
26174
26174
|
body: null,
|
|
@@ -26393,7 +26393,7 @@ function ingestSuccess$x(luvio, resourceParams, response) {
|
|
|
26393
26393
|
function createResourceRequest$J(config) {
|
|
26394
26394
|
const headers = {};
|
|
26395
26395
|
return {
|
|
26396
|
-
baseUri: '/services/data/
|
|
26396
|
+
baseUri: '/services/data/v61.0',
|
|
26397
26397
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
|
|
26398
26398
|
method: 'post',
|
|
26399
26399
|
body: config.body,
|
|
@@ -26592,7 +26592,7 @@ function evictSuccess$1(luvio, resourceParams) {
|
|
|
26592
26592
|
function createResourceRequest$I(config) {
|
|
26593
26593
|
const headers = {};
|
|
26594
26594
|
return {
|
|
26595
|
-
baseUri: '/services/data/
|
|
26595
|
+
baseUri: '/services/data/v61.0',
|
|
26596
26596
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
26597
26597
|
method: 'delete',
|
|
26598
26598
|
body: null,
|
|
@@ -26683,7 +26683,7 @@ function ingestSuccess$w(luvio, resourceParams, response) {
|
|
|
26683
26683
|
function createResourceRequest$H(config) {
|
|
26684
26684
|
const headers = {};
|
|
26685
26685
|
return {
|
|
26686
|
-
baseUri: '/services/data/
|
|
26686
|
+
baseUri: '/services/data/v61.0',
|
|
26687
26687
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
26688
26688
|
method: 'patch',
|
|
26689
26689
|
body: config.body,
|
|
@@ -27396,7 +27396,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
|
27396
27396
|
function createResourceRequest$G(config) {
|
|
27397
27397
|
const headers = {};
|
|
27398
27398
|
return {
|
|
27399
|
-
baseUri: '/services/data/
|
|
27399
|
+
baseUri: '/services/data/v61.0',
|
|
27400
27400
|
basePath: '/ui-api/list-object-info/' + config.urlParams.objectApiName + '',
|
|
27401
27401
|
method: 'get',
|
|
27402
27402
|
body: null,
|
|
@@ -27705,7 +27705,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
|
27705
27705
|
function createResourceRequest$F(config) {
|
|
27706
27706
|
const headers = {};
|
|
27707
27707
|
return {
|
|
27708
|
-
baseUri: '/services/data/
|
|
27708
|
+
baseUri: '/services/data/v61.0',
|
|
27709
27709
|
basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
27710
27710
|
method: 'get',
|
|
27711
27711
|
body: null,
|
|
@@ -27849,7 +27849,7 @@ function ingestSuccess$t(luvio, resourceParams, response) {
|
|
|
27849
27849
|
function createResourceRequest$E(config) {
|
|
27850
27850
|
const headers = {};
|
|
27851
27851
|
return {
|
|
27852
|
-
baseUri: '/services/data/
|
|
27852
|
+
baseUri: '/services/data/v61.0',
|
|
27853
27853
|
basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
27854
27854
|
method: 'patch',
|
|
27855
27855
|
body: config.body,
|
|
@@ -28159,7 +28159,7 @@ function ingestError$m(luvio, params, error, snapshotRefresh) {
|
|
|
28159
28159
|
function createResourceRequest$D(config) {
|
|
28160
28160
|
const headers = {};
|
|
28161
28161
|
return {
|
|
28162
|
-
baseUri: '/services/data/
|
|
28162
|
+
baseUri: '/services/data/v61.0',
|
|
28163
28163
|
basePath: '/ui-api/nav-items',
|
|
28164
28164
|
method: 'get',
|
|
28165
28165
|
body: null,
|
|
@@ -28511,7 +28511,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
|
|
|
28511
28511
|
function createResourceRequest$B(config) {
|
|
28512
28512
|
const headers = {};
|
|
28513
28513
|
return {
|
|
28514
|
-
baseUri: '/services/data/
|
|
28514
|
+
baseUri: '/services/data/v61.0',
|
|
28515
28515
|
basePath: '/ui-api/object-info/batch/' + config.urlParams.objectApiNames + '',
|
|
28516
28516
|
method: 'get',
|
|
28517
28517
|
body: null,
|
|
@@ -28840,8 +28840,8 @@ const select$1Q = function PicklistValueRepresentationSelect() {
|
|
|
28840
28840
|
const keyBuilderFromType$i =
|
|
28841
28841
|
/**
|
|
28842
28842
|
* custom key builder from PicklistValuesRepresentation.
|
|
28843
|
-
* PicklistValuesRepresentation.url is like /services/data/
|
|
28844
|
-
* the '/services/data/
|
|
28843
|
+
* PicklistValuesRepresentation.url is like /services/data/v61.0/ui-api/object-info/Account/picklist-values/012000000000000AAA/AccountSource
|
|
28844
|
+
* the '/services/data/v61.0' in the key make trouble for new js release. so chop it off make the key unique cross releases.
|
|
28845
28845
|
*/
|
|
28846
28846
|
function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
28847
28847
|
const id = object.url.substring(object.url.indexOf('/ui-api'));
|
|
@@ -29151,7 +29151,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
|
29151
29151
|
function createResourceRequest$A(config) {
|
|
29152
29152
|
const headers = {};
|
|
29153
29153
|
return {
|
|
29154
|
-
baseUri: '/services/data/
|
|
29154
|
+
baseUri: '/services/data/v61.0',
|
|
29155
29155
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '',
|
|
29156
29156
|
method: 'get',
|
|
29157
29157
|
body: null,
|
|
@@ -29256,7 +29256,7 @@ function getResponseCacheKeys$v(storeKeyMap, luvio, resourceParams, response) {
|
|
|
29256
29256
|
function createResourceRequest$z(config) {
|
|
29257
29257
|
const headers = {};
|
|
29258
29258
|
return {
|
|
29259
|
-
baseUri: '/services/data/
|
|
29259
|
+
baseUri: '/services/data/v61.0',
|
|
29260
29260
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '/' + config.urlParams.fieldApiName + '',
|
|
29261
29261
|
method: 'get',
|
|
29262
29262
|
body: null,
|
|
@@ -29644,7 +29644,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
|
29644
29644
|
function createResourceRequest$y(config) {
|
|
29645
29645
|
const headers = {};
|
|
29646
29646
|
return {
|
|
29647
|
-
baseUri: '/services/data/
|
|
29647
|
+
baseUri: '/services/data/v61.0',
|
|
29648
29648
|
basePath: '/ui-api/predupe',
|
|
29649
29649
|
method: 'post',
|
|
29650
29650
|
body: config.body,
|
|
@@ -30863,7 +30863,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
30863
30863
|
function createResourceRequest$x(config) {
|
|
30864
30864
|
const headers = {};
|
|
30865
30865
|
return {
|
|
30866
|
-
baseUri: '/services/data/
|
|
30866
|
+
baseUri: '/services/data/v61.0',
|
|
30867
30867
|
basePath: '/ui-api/record-avatars/batch/' + config.urlParams.recordIds + '',
|
|
30868
30868
|
method: 'get',
|
|
30869
30869
|
body: null,
|
|
@@ -31727,7 +31727,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
31727
31727
|
function createResourceRequest$w(config) {
|
|
31728
31728
|
const headers = {};
|
|
31729
31729
|
return {
|
|
31730
|
-
baseUri: '/services/data/
|
|
31730
|
+
baseUri: '/services/data/v61.0',
|
|
31731
31731
|
basePath: '/ui-api/related-list-count/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
|
|
31732
31732
|
method: 'get',
|
|
31733
31733
|
body: null,
|
|
@@ -31992,7 +31992,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
|
31992
31992
|
function createResourceRequest$v(config) {
|
|
31993
31993
|
const headers = {};
|
|
31994
31994
|
return {
|
|
31995
|
-
baseUri: '/services/data/
|
|
31995
|
+
baseUri: '/services/data/v61.0',
|
|
31996
31996
|
basePath: '/ui-api/related-list-count/batch/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListNames + '',
|
|
31997
31997
|
method: 'get',
|
|
31998
31998
|
body: null,
|
|
@@ -32686,7 +32686,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
32686
32686
|
function createResourceRequest$u(config) {
|
|
32687
32687
|
const headers = {};
|
|
32688
32688
|
return {
|
|
32689
|
-
baseUri: '/services/data/
|
|
32689
|
+
baseUri: '/services/data/v61.0',
|
|
32690
32690
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
|
|
32691
32691
|
method: 'get',
|
|
32692
32692
|
body: null,
|
|
@@ -32956,7 +32956,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
|
|
|
32956
32956
|
function createResourceRequest$t(config) {
|
|
32957
32957
|
const headers = {};
|
|
32958
32958
|
return {
|
|
32959
|
-
baseUri: '/services/data/
|
|
32959
|
+
baseUri: '/services/data/v61.0',
|
|
32960
32960
|
basePath: '/ui-api/related-list-info/batch/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListNames + '',
|
|
32961
32961
|
method: 'get',
|
|
32962
32962
|
body: null,
|
|
@@ -33350,7 +33350,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
|
|
|
33350
33350
|
function createResourceRequest$s(config) {
|
|
33351
33351
|
const headers = {};
|
|
33352
33352
|
return {
|
|
33353
|
-
baseUri: '/services/data/
|
|
33353
|
+
baseUri: '/services/data/v61.0',
|
|
33354
33354
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '',
|
|
33355
33355
|
method: 'get',
|
|
33356
33356
|
body: null,
|
|
@@ -33691,7 +33691,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
|
33691
33691
|
function createResourceRequest$q(config) {
|
|
33692
33692
|
const headers = {};
|
|
33693
33693
|
return {
|
|
33694
|
-
baseUri: '/services/data/
|
|
33694
|
+
baseUri: '/services/data/v61.0',
|
|
33695
33695
|
basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
|
|
33696
33696
|
method: 'get',
|
|
33697
33697
|
body: null,
|
|
@@ -33953,7 +33953,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
33953
33953
|
function createResourceRequest$p(config) {
|
|
33954
33954
|
const headers = {};
|
|
33955
33955
|
return {
|
|
33956
|
-
baseUri: '/services/data/
|
|
33956
|
+
baseUri: '/services/data/v61.0',
|
|
33957
33957
|
basePath: '/ui-api/related-list-preferences/batch/' + config.urlParams.preferencesIds + '',
|
|
33958
33958
|
method: 'get',
|
|
33959
33959
|
body: null,
|
|
@@ -35057,7 +35057,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
35057
35057
|
function createResourceRequest$n(config) {
|
|
35058
35058
|
const headers = {};
|
|
35059
35059
|
return {
|
|
35060
|
-
baseUri: '/services/data/
|
|
35060
|
+
baseUri: '/services/data/v61.0',
|
|
35061
35061
|
basePath: '/ui-api/related-list-records/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
|
|
35062
35062
|
method: 'post',
|
|
35063
35063
|
body: config.body,
|
|
@@ -35342,7 +35342,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
35342
35342
|
function createResourceRequest$m(config) {
|
|
35343
35343
|
const headers = {};
|
|
35344
35344
|
return {
|
|
35345
|
-
baseUri: '/services/data/
|
|
35345
|
+
baseUri: '/services/data/v61.0',
|
|
35346
35346
|
basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
|
|
35347
35347
|
method: 'post',
|
|
35348
35348
|
body: config.body,
|
|
@@ -35856,7 +35856,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
35856
35856
|
function createResourceRequest$l(config) {
|
|
35857
35857
|
const headers = {};
|
|
35858
35858
|
return {
|
|
35859
|
-
baseUri: '/services/data/
|
|
35859
|
+
baseUri: '/services/data/v61.0',
|
|
35860
35860
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters',
|
|
35861
35861
|
method: 'get',
|
|
35862
35862
|
body: null,
|
|
@@ -36111,7 +36111,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
36111
36111
|
function createResourceRequest$k(config) {
|
|
36112
36112
|
const headers = {};
|
|
36113
36113
|
return {
|
|
36114
|
-
baseUri: '/services/data/
|
|
36114
|
+
baseUri: '/services/data/v61.0',
|
|
36115
36115
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters/' + config.urlParams.filterApiName + '/options',
|
|
36116
36116
|
method: 'get',
|
|
36117
36117
|
body: null,
|
|
@@ -36464,7 +36464,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
36464
36464
|
function createResourceRequest$j(config) {
|
|
36465
36465
|
const headers = {};
|
|
36466
36466
|
return {
|
|
36467
|
-
baseUri: '/services/data/
|
|
36467
|
+
baseUri: '/services/data/v61.0',
|
|
36468
36468
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/lookup/' + config.urlParams.fieldApiName + '',
|
|
36469
36469
|
method: 'get',
|
|
36470
36470
|
body: null,
|
|
@@ -37290,7 +37290,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
37290
37290
|
function createResourceRequest$i(config) {
|
|
37291
37291
|
const headers = {};
|
|
37292
37292
|
return {
|
|
37293
|
-
baseUri: '/services/data/
|
|
37293
|
+
baseUri: '/services/data/v61.0',
|
|
37294
37294
|
basePath: '/ui-api/search/results',
|
|
37295
37295
|
method: 'post',
|
|
37296
37296
|
body: config.body,
|
|
@@ -37564,7 +37564,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
37564
37564
|
function createResourceRequest$h(config) {
|
|
37565
37565
|
const headers = {};
|
|
37566
37566
|
return {
|
|
37567
|
-
baseUri: '/services/data/
|
|
37567
|
+
baseUri: '/services/data/v61.0',
|
|
37568
37568
|
basePath: '/ui-api/search/results/keyword',
|
|
37569
37569
|
method: 'post',
|
|
37570
37570
|
body: config.body,
|
|
@@ -53910,7 +53910,7 @@ function ingestError$2(luvio, config, params, error, snapshotRefresh) {
|
|
|
53910
53910
|
function createResourceRequest$g(config) {
|
|
53911
53911
|
const headers = {};
|
|
53912
53912
|
return {
|
|
53913
|
-
baseUri: '/services/data/
|
|
53913
|
+
baseUri: '/services/data/v61.0',
|
|
53914
53914
|
basePath: '/graphql',
|
|
53915
53915
|
method: 'post',
|
|
53916
53916
|
body: { ...config.body,
|
|
@@ -53961,7 +53961,7 @@ function createResourceRequest$e(config) {
|
|
|
53961
53961
|
const headers = {};
|
|
53962
53962
|
const transformedConfig = stripDocumentsOfMetaschema(config);
|
|
53963
53963
|
return {
|
|
53964
|
-
baseUri: '/services/data/
|
|
53964
|
+
baseUri: '/services/data/v61.0',
|
|
53965
53965
|
basePath: '/graphql/batch',
|
|
53966
53966
|
method: 'post',
|
|
53967
53967
|
body: transformedConfig.body,
|
|
@@ -54505,7 +54505,7 @@ function ingestSuccess$4(luvio, response) {
|
|
|
54505
54505
|
function createResourceRequest$d(config) {
|
|
54506
54506
|
const headers = {};
|
|
54507
54507
|
return {
|
|
54508
|
-
baseUri: '/services/data/
|
|
54508
|
+
baseUri: '/services/data/v61.0',
|
|
54509
54509
|
basePath: '/ui-api/records/batch',
|
|
54510
54510
|
method: 'post',
|
|
54511
54511
|
body: config.body,
|
|
@@ -54774,7 +54774,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
54774
54774
|
function createResourceRequest$c(config) {
|
|
54775
54775
|
const headers = {};
|
|
54776
54776
|
return {
|
|
54777
|
-
baseUri: '/services/data/
|
|
54777
|
+
baseUri: '/services/data/v61.0',
|
|
54778
54778
|
basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
|
|
54779
54779
|
method: 'patch',
|
|
54780
54780
|
body: config.body,
|
|
@@ -54902,7 +54902,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
54902
54902
|
function createResourceRequest$b(config) {
|
|
54903
54903
|
const headers = {};
|
|
54904
54904
|
return {
|
|
54905
|
-
baseUri: '/services/data/
|
|
54905
|
+
baseUri: '/services/data/v61.0',
|
|
54906
54906
|
basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
|
|
54907
54907
|
method: 'post',
|
|
54908
54908
|
body: config.body,
|
|
@@ -55319,7 +55319,7 @@ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
|
55319
55319
|
function createResourceRequest$9(config) {
|
|
55320
55320
|
const headers = {};
|
|
55321
55321
|
return {
|
|
55322
|
-
baseUri: '/services/data/
|
|
55322
|
+
baseUri: '/services/data/v61.0',
|
|
55323
55323
|
basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
|
|
55324
55324
|
method: 'post',
|
|
55325
55325
|
body: config.body,
|
|
@@ -55546,7 +55546,7 @@ const factory$9 = (luvio) => {
|
|
|
55546
55546
|
function createResourceRequest$8(config) {
|
|
55547
55547
|
const headers = {};
|
|
55548
55548
|
return {
|
|
55549
|
-
baseUri: '/services/data/
|
|
55549
|
+
baseUri: '/services/data/v61.0',
|
|
55550
55550
|
basePath: '/ui-api/record-avatars/' + config.urlParams.recordId + '/association',
|
|
55551
55551
|
method: 'post',
|
|
55552
55552
|
body: config.body,
|
|
@@ -56155,7 +56155,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
|
56155
56155
|
function createResourceRequest$7(config) {
|
|
56156
56156
|
const headers = {};
|
|
56157
56157
|
return {
|
|
56158
|
-
baseUri: '/services/data/
|
|
56158
|
+
baseUri: '/services/data/v61.0',
|
|
56159
56159
|
basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
|
|
56160
56160
|
method: 'get',
|
|
56161
56161
|
body: null,
|
|
@@ -56280,7 +56280,7 @@ function coerceConfigWithDefaults(untrusted) {
|
|
|
56280
56280
|
return null;
|
|
56281
56281
|
}
|
|
56282
56282
|
}
|
|
56283
|
-
const recordTypeId = config.recordTypeId === undefined ?
|
|
56283
|
+
const recordTypeId = config.recordTypeId === undefined ? MAIN_RECORD_TYPE_ID : config.recordTypeId;
|
|
56284
56284
|
const optionalFields = config.optionalFields === undefined ? [] : config.optionalFields;
|
|
56285
56285
|
return {
|
|
56286
56286
|
...config,
|
|
@@ -56786,7 +56786,7 @@ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
|
56786
56786
|
function createResourceRequest$6(config) {
|
|
56787
56787
|
const headers = {};
|
|
56788
56788
|
return {
|
|
56789
|
-
baseUri: '/services/data/
|
|
56789
|
+
baseUri: '/services/data/v61.0',
|
|
56790
56790
|
basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
|
|
56791
56791
|
method: 'get',
|
|
56792
56792
|
body: null,
|
|
@@ -57417,7 +57417,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
57417
57417
|
function createResourceRequest$5(config) {
|
|
57418
57418
|
const headers = {};
|
|
57419
57419
|
return {
|
|
57420
|
-
baseUri: '/services/data/
|
|
57420
|
+
baseUri: '/services/data/v61.0',
|
|
57421
57421
|
basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
|
|
57422
57422
|
method: 'get',
|
|
57423
57423
|
body: null,
|
|
@@ -57630,7 +57630,7 @@ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
|
57630
57630
|
function createResourceRequest$4(config) {
|
|
57631
57631
|
const headers = {};
|
|
57632
57632
|
return {
|
|
57633
|
-
baseUri: '/services/data/
|
|
57633
|
+
baseUri: '/services/data/v61.0',
|
|
57634
57634
|
basePath: '/ui-api/records',
|
|
57635
57635
|
method: 'post',
|
|
57636
57636
|
body: config.body,
|
|
@@ -57724,7 +57724,7 @@ function evictSuccess(luvio, resourceParams) {
|
|
|
57724
57724
|
function createResourceRequest$3(config) {
|
|
57725
57725
|
const headers = {};
|
|
57726
57726
|
return {
|
|
57727
|
-
baseUri: '/services/data/
|
|
57727
|
+
baseUri: '/services/data/v61.0',
|
|
57728
57728
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
57729
57729
|
method: 'delete',
|
|
57730
57730
|
body: null,
|
|
@@ -57811,7 +57811,7 @@ function createResourceRequest$2(config) {
|
|
|
57811
57811
|
headers['If-Unmodified-Since'] = header_ifUnmodifiedSince;
|
|
57812
57812
|
}
|
|
57813
57813
|
return {
|
|
57814
|
-
baseUri: '/services/data/
|
|
57814
|
+
baseUri: '/services/data/v61.0',
|
|
57815
57815
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
57816
57816
|
method: 'patch',
|
|
57817
57817
|
body: config.body,
|
|
@@ -58113,7 +58113,7 @@ function createResourceParams$1(config) {
|
|
|
58113
58113
|
function createResourceRequest$1(config) {
|
|
58114
58114
|
const headers = {};
|
|
58115
58115
|
return {
|
|
58116
|
-
baseUri: '/services/data/
|
|
58116
|
+
baseUri: '/services/data/v61.0',
|
|
58117
58117
|
basePath: '/ui-api/records/content-documents/' +
|
|
58118
58118
|
config.urlParams.contentDocumentId +
|
|
58119
58119
|
'/content-versions',
|
|
@@ -58231,7 +58231,7 @@ function createResourceParams(config) {
|
|
|
58231
58231
|
function createResourceRequest(config) {
|
|
58232
58232
|
const headers = {};
|
|
58233
58233
|
return {
|
|
58234
|
-
baseUri: '/services/data/
|
|
58234
|
+
baseUri: '/services/data/v61.0',
|
|
58235
58235
|
basePath: '/ui-api/records/content-documents/content-versions',
|
|
58236
58236
|
method: 'post',
|
|
58237
58237
|
body: config.body,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lwc-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.269.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "UIAPI adapters with LWC bindings",
|
|
6
6
|
"module": "dist/main.js",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"clean": "rm -rf dist src/generated"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
34
|
+
"@salesforce/lds-adapters-uiapi": "^1.269.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@luvio/lwc-luvio": "0.154.6",
|
|
38
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
38
|
+
"@salesforce/lds-default-luvio": "^1.269.0"
|
|
39
39
|
}
|
|
40
40
|
}
|