@salesforce/lwc-adapters-uiapi 1.288.0 → 1.290.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 +205 -196
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -13007,7 +13007,7 @@ function getResponseCacheKeys$16(storeKeyMap, luvio, resourceParams, response) {
|
|
|
13007
13007
|
function createResourceRequest$1e(config) {
|
|
13008
13008
|
const headers = {};
|
|
13009
13009
|
return {
|
|
13010
|
-
baseUri: '/services/data/
|
|
13010
|
+
baseUri: '/services/data/v62.0',
|
|
13011
13011
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
13012
13012
|
method: 'get',
|
|
13013
13013
|
body: null,
|
|
@@ -13449,7 +13449,7 @@ function ingestError$P(luvio, params, error, snapshotRefresh) {
|
|
|
13449
13449
|
function createResourceRequest$1d(config) {
|
|
13450
13450
|
const headers = {};
|
|
13451
13451
|
return {
|
|
13452
|
-
baseUri: '/services/data/
|
|
13452
|
+
baseUri: '/services/data/v62.0',
|
|
13453
13453
|
basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
|
|
13454
13454
|
method: 'get',
|
|
13455
13455
|
body: null,
|
|
@@ -14702,7 +14702,7 @@ function createPaginationParams$6(params) {
|
|
|
14702
14702
|
function createResourceRequest$1c(config) {
|
|
14703
14703
|
const headers = {};
|
|
14704
14704
|
return {
|
|
14705
|
-
baseUri: '/services/data/
|
|
14705
|
+
baseUri: '/services/data/v62.0',
|
|
14706
14706
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
14707
14707
|
method: 'get',
|
|
14708
14708
|
body: null,
|
|
@@ -14755,7 +14755,7 @@ function createPaginationParams$5(params) {
|
|
|
14755
14755
|
function createResourceRequest$1b(config) {
|
|
14756
14756
|
const headers = {};
|
|
14757
14757
|
return {
|
|
14758
|
-
baseUri: '/services/data/
|
|
14758
|
+
baseUri: '/services/data/v62.0',
|
|
14759
14759
|
basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
|
|
14760
14760
|
method: 'get',
|
|
14761
14761
|
body: null,
|
|
@@ -14800,7 +14800,7 @@ function validateAdapterConfig$1b(untrustedConfig, configPropertyNames) {
|
|
|
14800
14800
|
function createResourceRequest$1a(config) {
|
|
14801
14801
|
const headers = {};
|
|
14802
14802
|
return {
|
|
14803
|
-
baseUri: '/services/data/
|
|
14803
|
+
baseUri: '/services/data/v62.0',
|
|
14804
14804
|
basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
|
|
14805
14805
|
method: 'get',
|
|
14806
14806
|
body: null,
|
|
@@ -15761,7 +15761,7 @@ function ingestError$M(luvio, params, error, snapshotRefresh) {
|
|
|
15761
15761
|
function createResourceRequest$19(config) {
|
|
15762
15762
|
const headers = {};
|
|
15763
15763
|
return {
|
|
15764
|
-
baseUri: '/services/data/
|
|
15764
|
+
baseUri: '/services/data/v62.0',
|
|
15765
15765
|
basePath: '/ui-api/list-records/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
15766
15766
|
method: 'post',
|
|
15767
15767
|
body: config.body,
|
|
@@ -16483,7 +16483,7 @@ function ingestError$L(luvio, params, error, snapshotRefresh) {
|
|
|
16483
16483
|
function createResourceRequest$18(config) {
|
|
16484
16484
|
const headers = {};
|
|
16485
16485
|
return {
|
|
16486
|
-
baseUri: '/services/data/
|
|
16486
|
+
baseUri: '/services/data/v62.0',
|
|
16487
16487
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
|
|
16488
16488
|
method: 'get',
|
|
16489
16489
|
body: null,
|
|
@@ -16681,7 +16681,7 @@ function keyBuilder$37(luvio, params) {
|
|
|
16681
16681
|
function createResourceRequest$17(config) {
|
|
16682
16682
|
const headers = {};
|
|
16683
16683
|
return {
|
|
16684
|
-
baseUri: '/services/data/
|
|
16684
|
+
baseUri: '/services/data/v62.0',
|
|
16685
16685
|
basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
|
|
16686
16686
|
method: 'get',
|
|
16687
16687
|
body: null,
|
|
@@ -16726,7 +16726,7 @@ function validateAdapterConfig$19(untrustedConfig, configPropertyNames) {
|
|
|
16726
16726
|
function createResourceRequest$16(config) {
|
|
16727
16727
|
const headers = {};
|
|
16728
16728
|
return {
|
|
16729
|
-
baseUri: '/services/data/
|
|
16729
|
+
baseUri: '/services/data/v62.0',
|
|
16730
16730
|
basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
|
|
16731
16731
|
method: 'get',
|
|
16732
16732
|
body: null,
|
|
@@ -18474,7 +18474,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
|
|
|
18474
18474
|
function createResourceRequest$15(config) {
|
|
18475
18475
|
const headers = {};
|
|
18476
18476
|
return {
|
|
18477
|
-
baseUri: '/services/data/
|
|
18477
|
+
baseUri: '/services/data/v62.0',
|
|
18478
18478
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '',
|
|
18479
18479
|
method: 'get',
|
|
18480
18480
|
body: null,
|
|
@@ -19511,7 +19511,7 @@ const ingest$1R = function RecordUiRepresentationIngest(input, path, luvio, stor
|
|
|
19511
19511
|
function createResourceRequest$14(config) {
|
|
19512
19512
|
const headers = {};
|
|
19513
19513
|
return {
|
|
19514
|
-
baseUri: '/services/data/
|
|
19514
|
+
baseUri: '/services/data/v62.0',
|
|
19515
19515
|
basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
|
|
19516
19516
|
method: 'get',
|
|
19517
19517
|
body: null,
|
|
@@ -21849,7 +21849,7 @@ function ingestError$J(luvio, params, error, snapshotRefresh) {
|
|
|
21849
21849
|
function createResourceRequest$13(config) {
|
|
21850
21850
|
const headers = {};
|
|
21851
21851
|
return {
|
|
21852
|
-
baseUri: '/services/data/
|
|
21852
|
+
baseUri: '/services/data/v62.0',
|
|
21853
21853
|
basePath: '/ui-api/actions/global',
|
|
21854
21854
|
method: 'get',
|
|
21855
21855
|
body: null,
|
|
@@ -22083,12 +22083,12 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
22083
22083
|
function createResourceRequest$12(config) {
|
|
22084
22084
|
const headers = {};
|
|
22085
22085
|
return {
|
|
22086
|
-
baseUri: '/services/data/
|
|
22086
|
+
baseUri: '/services/data/v62.0',
|
|
22087
22087
|
basePath: '/ui-api/actions/layout/' + config.urlParams.actionApiName + '',
|
|
22088
22088
|
method: 'get',
|
|
22089
22089
|
body: null,
|
|
22090
22090
|
urlParams: config.urlParams,
|
|
22091
|
-
queryParams:
|
|
22091
|
+
queryParams: config.queryParams,
|
|
22092
22092
|
headers,
|
|
22093
22093
|
priority: 'normal',
|
|
22094
22094
|
};
|
|
@@ -22097,6 +22097,8 @@ function createResourceRequest$12(config) {
|
|
|
22097
22097
|
const adapterName$V = 'getQuickActionLayout';
|
|
22098
22098
|
const getQuickActionLayout_ConfigPropertyMetadata = [
|
|
22099
22099
|
generateParamConfigMetadata('actionApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
22100
|
+
generateParamConfigMetadata('objectApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
22101
|
+
generateParamConfigMetadata('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
22100
22102
|
];
|
|
22101
22103
|
const getQuickActionLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$V, getQuickActionLayout_ConfigPropertyMetadata);
|
|
22102
22104
|
const createResourceParams$Y = /*#__PURE__*/ createResourceParams$k(getQuickActionLayout_ConfigPropertyMetadata);
|
|
@@ -22253,7 +22255,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
|
|
|
22253
22255
|
function createResourceRequest$11(config) {
|
|
22254
22256
|
const headers = {};
|
|
22255
22257
|
return {
|
|
22256
|
-
baseUri: '/services/data/
|
|
22258
|
+
baseUri: '/services/data/v62.0',
|
|
22257
22259
|
basePath: '/ui-api/actions/lookup/' + config.urlParams.objectApiNames + '',
|
|
22258
22260
|
method: 'get',
|
|
22259
22261
|
body: null,
|
|
@@ -22395,7 +22397,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
|
22395
22397
|
function createResourceRequest$10(config) {
|
|
22396
22398
|
const headers = {};
|
|
22397
22399
|
return {
|
|
22398
|
-
baseUri: '/services/data/
|
|
22400
|
+
baseUri: '/services/data/v62.0',
|
|
22399
22401
|
basePath: '/ui-api/actions/object/' + config.urlParams.objectApiName + '/record-create',
|
|
22400
22402
|
method: 'get',
|
|
22401
22403
|
body: null,
|
|
@@ -22585,7 +22587,7 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
|
22585
22587
|
function createResourceRequest$$(config) {
|
|
22586
22588
|
const headers = {};
|
|
22587
22589
|
return {
|
|
22588
|
-
baseUri: '/services/data/
|
|
22590
|
+
baseUri: '/services/data/v62.0',
|
|
22589
22591
|
basePath: '/ui-api/actions/overrides/' + config.urlParams.objectApiName + '',
|
|
22590
22592
|
method: 'get',
|
|
22591
22593
|
body: null,
|
|
@@ -22849,7 +22851,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
|
22849
22851
|
function createResourceRequest$_(config) {
|
|
22850
22852
|
const headers = {};
|
|
22851
22853
|
return {
|
|
22852
|
-
baseUri: '/services/data/
|
|
22854
|
+
baseUri: '/services/data/v62.0',
|
|
22853
22855
|
basePath: '/ui-api/actions/formula-activation/' + config.urlParams.actionFeature + '',
|
|
22854
22856
|
method: 'get',
|
|
22855
22857
|
body: null,
|
|
@@ -23061,7 +23063,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
|
23061
23063
|
function createResourceRequest$Z(config) {
|
|
23062
23064
|
const headers = {};
|
|
23063
23065
|
return {
|
|
23064
|
-
baseUri: '/services/data/
|
|
23066
|
+
baseUri: '/services/data/v62.0',
|
|
23065
23067
|
basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
|
|
23066
23068
|
method: 'get',
|
|
23067
23069
|
body: null,
|
|
@@ -23230,7 +23232,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
23230
23232
|
function createResourceRequest$Y(config) {
|
|
23231
23233
|
const headers = {};
|
|
23232
23234
|
return {
|
|
23233
|
-
baseUri: '/services/data/
|
|
23235
|
+
baseUri: '/services/data/v62.0',
|
|
23234
23236
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '',
|
|
23235
23237
|
method: 'get',
|
|
23236
23238
|
body: null,
|
|
@@ -23382,7 +23384,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
|
23382
23384
|
function createResourceRequest$X(config) {
|
|
23383
23385
|
const headers = {};
|
|
23384
23386
|
return {
|
|
23385
|
-
baseUri: '/services/data/
|
|
23387
|
+
baseUri: '/services/data/v62.0',
|
|
23386
23388
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/record-edit',
|
|
23387
23389
|
method: 'get',
|
|
23388
23390
|
body: null,
|
|
@@ -23594,7 +23596,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
23594
23596
|
function createResourceRequest$W(config) {
|
|
23595
23597
|
const headers = {};
|
|
23596
23598
|
return {
|
|
23597
|
-
baseUri: '/services/data/
|
|
23599
|
+
baseUri: '/services/data/v62.0',
|
|
23598
23600
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/' + config.urlParams.relatedListId + '',
|
|
23599
23601
|
method: 'post',
|
|
23600
23602
|
body: config.body,
|
|
@@ -23879,7 +23881,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
|
23879
23881
|
function createResourceRequest$V(config) {
|
|
23880
23882
|
const headers = {};
|
|
23881
23883
|
return {
|
|
23882
|
-
baseUri: '/services/data/
|
|
23884
|
+
baseUri: '/services/data/v62.0',
|
|
23883
23885
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/batch',
|
|
23884
23886
|
method: 'post',
|
|
23885
23887
|
body: config.body,
|
|
@@ -24124,7 +24126,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
|
24124
24126
|
function createResourceRequest$U(config) {
|
|
24125
24127
|
const headers = {};
|
|
24126
24128
|
return {
|
|
24127
|
-
baseUri: '/services/data/
|
|
24129
|
+
baseUri: '/services/data/v62.0',
|
|
24128
24130
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list-record/' + config.urlParams.relatedListRecordIds + '',
|
|
24129
24131
|
method: 'get',
|
|
24130
24132
|
body: null,
|
|
@@ -25367,7 +25369,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
|
25367
25369
|
function createResourceRequest$T(config) {
|
|
25368
25370
|
const headers = {};
|
|
25369
25371
|
return {
|
|
25370
|
-
baseUri: '/services/data/
|
|
25372
|
+
baseUri: '/services/data/v62.0',
|
|
25371
25373
|
basePath: '/ui-api/apps',
|
|
25372
25374
|
method: 'get',
|
|
25373
25375
|
body: null,
|
|
@@ -25509,7 +25511,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
|
25509
25511
|
function createResourceRequest$R(config) {
|
|
25510
25512
|
const headers = {};
|
|
25511
25513
|
return {
|
|
25512
|
-
baseUri: '/services/data/
|
|
25514
|
+
baseUri: '/services/data/v62.0',
|
|
25513
25515
|
basePath: '/ui-api/apps/' + config.urlParams.appId + '',
|
|
25514
25516
|
method: 'get',
|
|
25515
25517
|
body: null,
|
|
@@ -26112,7 +26114,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
|
26112
26114
|
function createResourceRequest$Q(config) {
|
|
26113
26115
|
const headers = {};
|
|
26114
26116
|
return {
|
|
26115
|
-
baseUri: '/services/data/
|
|
26117
|
+
baseUri: '/services/data/v62.0',
|
|
26116
26118
|
basePath: '/ui-api/duplicates/' + config.urlParams.objectApiName + '',
|
|
26117
26119
|
method: 'get',
|
|
26118
26120
|
body: null,
|
|
@@ -26251,7 +26253,7 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
|
26251
26253
|
function createResourceRequest$P(config) {
|
|
26252
26254
|
const headers = {};
|
|
26253
26255
|
return {
|
|
26254
|
-
baseUri: '/services/data/
|
|
26256
|
+
baseUri: '/services/data/v62.0',
|
|
26255
26257
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '',
|
|
26256
26258
|
method: 'get',
|
|
26257
26259
|
body: null,
|
|
@@ -26390,7 +26392,7 @@ function getResponseCacheKeys$K(storeKeyMap, luvio, resourceParams, response) {
|
|
|
26390
26392
|
function createResourceRequest$O(config) {
|
|
26391
26393
|
const headers = {};
|
|
26392
26394
|
return {
|
|
26393
|
-
baseUri: '/services/data/
|
|
26395
|
+
baseUri: '/services/data/v62.0',
|
|
26394
26396
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
|
|
26395
26397
|
method: 'get',
|
|
26396
26398
|
body: null,
|
|
@@ -26623,7 +26625,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
|
26623
26625
|
function createResourceRequest$N(config) {
|
|
26624
26626
|
const headers = {};
|
|
26625
26627
|
return {
|
|
26626
|
-
baseUri: '/services/data/
|
|
26628
|
+
baseUri: '/services/data/v62.0',
|
|
26627
26629
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
26628
26630
|
method: 'get',
|
|
26629
26631
|
body: null,
|
|
@@ -26892,7 +26894,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
|
26892
26894
|
function createResourceRequest$M(config) {
|
|
26893
26895
|
const headers = {};
|
|
26894
26896
|
return {
|
|
26895
|
-
baseUri: '/services/data/
|
|
26897
|
+
baseUri: '/services/data/v62.0',
|
|
26896
26898
|
basePath: '/ui-api/list-info/batch',
|
|
26897
26899
|
method: 'get',
|
|
26898
26900
|
body: null,
|
|
@@ -27037,7 +27039,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
|
27037
27039
|
function createResourceRequest$L(config) {
|
|
27038
27040
|
const headers = {};
|
|
27039
27041
|
return {
|
|
27040
|
-
baseUri: '/services/data/
|
|
27042
|
+
baseUri: '/services/data/v62.0',
|
|
27041
27043
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
|
|
27042
27044
|
method: 'get',
|
|
27043
27045
|
body: null,
|
|
@@ -27343,7 +27345,7 @@ function ingestSuccess$y(luvio, resourceParams, response) {
|
|
|
27343
27345
|
function createResourceRequest$K(config) {
|
|
27344
27346
|
const headers = {};
|
|
27345
27347
|
return {
|
|
27346
|
-
baseUri: '/services/data/
|
|
27348
|
+
baseUri: '/services/data/v62.0',
|
|
27347
27349
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
|
|
27348
27350
|
method: 'post',
|
|
27349
27351
|
body: config.body,
|
|
@@ -27433,94 +27435,7 @@ const createListInfoAdapterFactory = (luvio) => {
|
|
|
27433
27435
|
};
|
|
27434
27436
|
};
|
|
27435
27437
|
|
|
27436
|
-
|
|
27437
|
-
const getListInfoByName_ConfigPropertyMetadata = [
|
|
27438
|
-
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
27439
|
-
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
27440
|
-
];
|
|
27441
|
-
const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, getListInfoByName_ConfigPropertyMetadata);
|
|
27442
|
-
const createResourceParams$F = /*#__PURE__*/ createResourceParams$k(getListInfoByName_ConfigPropertyMetadata);
|
|
27443
|
-
function keyBuilder$2i(luvio, config) {
|
|
27444
|
-
const resourceParams = createResourceParams$F(config);
|
|
27445
|
-
return keyBuilder$2n(luvio, resourceParams);
|
|
27446
|
-
}
|
|
27447
|
-
function typeCheckConfig$K(untrustedConfig) {
|
|
27448
|
-
const config = {};
|
|
27449
|
-
typeCheckConfig$n(untrustedConfig, config, getListInfoByName_ConfigPropertyMetadata);
|
|
27450
|
-
return config;
|
|
27451
|
-
}
|
|
27452
|
-
function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
|
|
27453
|
-
if (!untrustedIsObject(untrustedConfig)) {
|
|
27454
|
-
return null;
|
|
27455
|
-
}
|
|
27456
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
27457
|
-
validateConfig(untrustedConfig, configPropertyNames);
|
|
27458
|
-
}
|
|
27459
|
-
const config = typeCheckConfig$K(untrustedConfig);
|
|
27460
|
-
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
27461
|
-
return null;
|
|
27462
|
-
}
|
|
27463
|
-
return config;
|
|
27464
|
-
}
|
|
27465
|
-
function adapterFragment$q(luvio, config) {
|
|
27466
|
-
createResourceParams$F(config);
|
|
27467
|
-
return select$2i();
|
|
27468
|
-
}
|
|
27469
|
-
function onFetchResponseSuccess$s(luvio, config, resourceParams, response) {
|
|
27470
|
-
const snapshot = ingestSuccess$B(luvio, resourceParams, response, {
|
|
27471
|
-
config,
|
|
27472
|
-
resolve: () => buildNetworkSnapshot$J(luvio, config, snapshotRefreshOptions)
|
|
27473
|
-
});
|
|
27474
|
-
return luvio.storeBroadcast().then(() => snapshot);
|
|
27475
|
-
}
|
|
27476
|
-
function onFetchResponseError$s(luvio, config, resourceParams, response) {
|
|
27477
|
-
const snapshot = ingestError$s(luvio, resourceParams, response, {
|
|
27478
|
-
config,
|
|
27479
|
-
resolve: () => buildNetworkSnapshot$J(luvio, config, snapshotRefreshOptions)
|
|
27480
|
-
});
|
|
27481
|
-
return luvio.storeBroadcast().then(() => snapshot);
|
|
27482
|
-
}
|
|
27483
|
-
function buildNetworkSnapshot$J(luvio, config, options) {
|
|
27484
|
-
const resourceParams = createResourceParams$F(config);
|
|
27485
|
-
const request = createResourceRequest$N(resourceParams);
|
|
27486
|
-
return luvio.dispatchResourceRequest(request, options)
|
|
27487
|
-
.then((response) => {
|
|
27488
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$s(luvio, config, resourceParams, response), () => {
|
|
27489
|
-
const cache = new StoreKeyMap();
|
|
27490
|
-
getResponseCacheKeys$J(cache, luvio, resourceParams, response.body);
|
|
27491
|
-
return cache;
|
|
27492
|
-
});
|
|
27493
|
-
}, (response) => {
|
|
27494
|
-
return luvio.handleErrorResponse(() => onFetchResponseError$s(luvio, config, resourceParams, response));
|
|
27495
|
-
});
|
|
27496
|
-
}
|
|
27497
|
-
function buildNetworkSnapshotCachePolicy$w(context, coercedAdapterRequestContext) {
|
|
27498
|
-
return buildNetworkSnapshotCachePolicy$s(context, coercedAdapterRequestContext, buildNetworkSnapshot$J, undefined, false);
|
|
27499
|
-
}
|
|
27500
|
-
function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
27501
|
-
const { luvio, config } = context;
|
|
27502
|
-
const selector = {
|
|
27503
|
-
recordId: keyBuilder$2i(luvio, config),
|
|
27504
|
-
node: adapterFragment$q(luvio, config),
|
|
27505
|
-
variables: {},
|
|
27506
|
-
};
|
|
27507
|
-
const cacheSnapshot = storeLookup(selector, {
|
|
27508
|
-
config,
|
|
27509
|
-
resolve: () => buildNetworkSnapshot$J(luvio, config, snapshotRefreshOptions)
|
|
27510
|
-
});
|
|
27511
|
-
return cacheSnapshot;
|
|
27512
|
-
}
|
|
27513
|
-
const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoByName(untrustedConfig, requestContext) {
|
|
27514
|
-
const config = validateAdapterConfig$L(untrustedConfig, getListInfoByName_ConfigPropertyNames);
|
|
27515
|
-
// Invalid or incomplete config
|
|
27516
|
-
if (config === null) {
|
|
27517
|
-
return null;
|
|
27518
|
-
}
|
|
27519
|
-
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
27520
|
-
buildCachedSnapshotCachePolicy$v, buildNetworkSnapshotCachePolicy$w);
|
|
27521
|
-
};
|
|
27522
|
-
|
|
27523
|
-
function keyBuilder$2h(luvio, params) {
|
|
27438
|
+
function keyBuilder$2i(luvio, params) {
|
|
27524
27439
|
return keyBuilder$3o(luvio, {
|
|
27525
27440
|
objectApiName: params.urlParams.objectApiName,
|
|
27526
27441
|
listViewApiName: params.urlParams.listViewApiName,
|
|
@@ -27528,7 +27443,7 @@ function keyBuilder$2h(luvio, params) {
|
|
|
27528
27443
|
});
|
|
27529
27444
|
}
|
|
27530
27445
|
function getResponseCacheKeys$F(cacheKeyMap, luvio, resourceParams) {
|
|
27531
|
-
const key = keyBuilder$
|
|
27446
|
+
const key = keyBuilder$2i(luvio, resourceParams);
|
|
27532
27447
|
cacheKeyMap.set(key, {
|
|
27533
27448
|
namespace: keyPrefix,
|
|
27534
27449
|
representationName: RepresentationType$10,
|
|
@@ -27536,13 +27451,13 @@ function getResponseCacheKeys$F(cacheKeyMap, luvio, resourceParams) {
|
|
|
27536
27451
|
});
|
|
27537
27452
|
}
|
|
27538
27453
|
function evictSuccess$1(luvio, resourceParams) {
|
|
27539
|
-
const key = keyBuilder$
|
|
27454
|
+
const key = keyBuilder$2i(luvio, resourceParams);
|
|
27540
27455
|
luvio.storeEvict(key);
|
|
27541
27456
|
}
|
|
27542
27457
|
function createResourceRequest$J(config) {
|
|
27543
27458
|
const headers = {};
|
|
27544
27459
|
return {
|
|
27545
|
-
baseUri: '/services/data/
|
|
27460
|
+
baseUri: '/services/data/v62.0',
|
|
27546
27461
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
27547
27462
|
method: 'delete',
|
|
27548
27463
|
body: null,
|
|
@@ -27553,33 +27468,33 @@ function createResourceRequest$J(config) {
|
|
|
27553
27468
|
};
|
|
27554
27469
|
}
|
|
27555
27470
|
|
|
27556
|
-
const adapterName$
|
|
27471
|
+
const adapterName$D = 'deleteListInfo';
|
|
27557
27472
|
const deleteListInfo_ConfigPropertyMetadata = [
|
|
27558
27473
|
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
27559
27474
|
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
27560
27475
|
];
|
|
27561
|
-
const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$
|
|
27562
|
-
const createResourceParams$
|
|
27563
|
-
function typeCheckConfig$
|
|
27476
|
+
const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, deleteListInfo_ConfigPropertyMetadata);
|
|
27477
|
+
const createResourceParams$F = /*#__PURE__*/ createResourceParams$k(deleteListInfo_ConfigPropertyMetadata);
|
|
27478
|
+
function typeCheckConfig$K(untrustedConfig) {
|
|
27564
27479
|
const config = {};
|
|
27565
27480
|
typeCheckConfig$n(untrustedConfig, config, deleteListInfo_ConfigPropertyMetadata);
|
|
27566
27481
|
return config;
|
|
27567
27482
|
}
|
|
27568
|
-
function validateAdapterConfig$
|
|
27483
|
+
function validateAdapterConfig$L(untrustedConfig, configPropertyNames) {
|
|
27569
27484
|
if (!untrustedIsObject(untrustedConfig)) {
|
|
27570
27485
|
return null;
|
|
27571
27486
|
}
|
|
27572
27487
|
if (process.env.NODE_ENV !== 'production') {
|
|
27573
27488
|
validateConfig(untrustedConfig, configPropertyNames);
|
|
27574
27489
|
}
|
|
27575
|
-
const config = typeCheckConfig$
|
|
27490
|
+
const config = typeCheckConfig$K(untrustedConfig);
|
|
27576
27491
|
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
27577
27492
|
return null;
|
|
27578
27493
|
}
|
|
27579
27494
|
return config;
|
|
27580
27495
|
}
|
|
27581
|
-
function buildNetworkSnapshot$
|
|
27582
|
-
const resourceParams = createResourceParams$
|
|
27496
|
+
function buildNetworkSnapshot$J(luvio, config, options) {
|
|
27497
|
+
const resourceParams = createResourceParams$F(config);
|
|
27583
27498
|
const request = createResourceRequest$J(resourceParams);
|
|
27584
27499
|
return luvio.dispatchResourceRequest(request, options)
|
|
27585
27500
|
.then(() => {
|
|
@@ -27598,13 +27513,100 @@ function buildNetworkSnapshot$I(luvio, config, options) {
|
|
|
27598
27513
|
}
|
|
27599
27514
|
const deleteListInfoAdapterFactory = (luvio) => {
|
|
27600
27515
|
return function UiApideleteListInfo(untrustedConfig) {
|
|
27601
|
-
const config = validateAdapterConfig$
|
|
27516
|
+
const config = validateAdapterConfig$L(untrustedConfig, deleteListInfo_ConfigPropertyNames);
|
|
27602
27517
|
// Invalid or incomplete config
|
|
27603
27518
|
if (config === null) {
|
|
27604
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
27519
|
+
throw new Error(`Invalid config for "${adapterName$D}"`);
|
|
27605
27520
|
}
|
|
27606
|
-
return buildNetworkSnapshot$
|
|
27521
|
+
return buildNetworkSnapshot$J(luvio, config);
|
|
27522
|
+
};
|
|
27523
|
+
};
|
|
27524
|
+
|
|
27525
|
+
const adapterName$C = 'getListInfoByName';
|
|
27526
|
+
const getListInfoByName_ConfigPropertyMetadata = [
|
|
27527
|
+
generateParamConfigMetadata('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
27528
|
+
generateParamConfigMetadata('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
27529
|
+
];
|
|
27530
|
+
const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$C, getListInfoByName_ConfigPropertyMetadata);
|
|
27531
|
+
const createResourceParams$E = /*#__PURE__*/ createResourceParams$k(getListInfoByName_ConfigPropertyMetadata);
|
|
27532
|
+
function keyBuilder$2h(luvio, config) {
|
|
27533
|
+
const resourceParams = createResourceParams$E(config);
|
|
27534
|
+
return keyBuilder$2n(luvio, resourceParams);
|
|
27535
|
+
}
|
|
27536
|
+
function typeCheckConfig$J(untrustedConfig) {
|
|
27537
|
+
const config = {};
|
|
27538
|
+
typeCheckConfig$n(untrustedConfig, config, getListInfoByName_ConfigPropertyMetadata);
|
|
27539
|
+
return config;
|
|
27540
|
+
}
|
|
27541
|
+
function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
|
|
27542
|
+
if (!untrustedIsObject(untrustedConfig)) {
|
|
27543
|
+
return null;
|
|
27544
|
+
}
|
|
27545
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
27546
|
+
validateConfig(untrustedConfig, configPropertyNames);
|
|
27547
|
+
}
|
|
27548
|
+
const config = typeCheckConfig$J(untrustedConfig);
|
|
27549
|
+
if (!areRequiredParametersPresent(config, configPropertyNames)) {
|
|
27550
|
+
return null;
|
|
27551
|
+
}
|
|
27552
|
+
return config;
|
|
27553
|
+
}
|
|
27554
|
+
function adapterFragment$q(luvio, config) {
|
|
27555
|
+
createResourceParams$E(config);
|
|
27556
|
+
return select$2i();
|
|
27557
|
+
}
|
|
27558
|
+
function onFetchResponseSuccess$s(luvio, config, resourceParams, response) {
|
|
27559
|
+
const snapshot = ingestSuccess$B(luvio, resourceParams, response, {
|
|
27560
|
+
config,
|
|
27561
|
+
resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
|
|
27562
|
+
});
|
|
27563
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
27564
|
+
}
|
|
27565
|
+
function onFetchResponseError$s(luvio, config, resourceParams, response) {
|
|
27566
|
+
const snapshot = ingestError$s(luvio, resourceParams, response, {
|
|
27567
|
+
config,
|
|
27568
|
+
resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
|
|
27569
|
+
});
|
|
27570
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
27571
|
+
}
|
|
27572
|
+
function buildNetworkSnapshot$I(luvio, config, options) {
|
|
27573
|
+
const resourceParams = createResourceParams$E(config);
|
|
27574
|
+
const request = createResourceRequest$N(resourceParams);
|
|
27575
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
27576
|
+
.then((response) => {
|
|
27577
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$s(luvio, config, resourceParams, response), () => {
|
|
27578
|
+
const cache = new StoreKeyMap();
|
|
27579
|
+
getResponseCacheKeys$J(cache, luvio, resourceParams, response.body);
|
|
27580
|
+
return cache;
|
|
27581
|
+
});
|
|
27582
|
+
}, (response) => {
|
|
27583
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$s(luvio, config, resourceParams, response));
|
|
27584
|
+
});
|
|
27585
|
+
}
|
|
27586
|
+
function buildNetworkSnapshotCachePolicy$w(context, coercedAdapterRequestContext) {
|
|
27587
|
+
return buildNetworkSnapshotCachePolicy$s(context, coercedAdapterRequestContext, buildNetworkSnapshot$I, undefined, false);
|
|
27588
|
+
}
|
|
27589
|
+
function buildCachedSnapshotCachePolicy$v(context, storeLookup) {
|
|
27590
|
+
const { luvio, config } = context;
|
|
27591
|
+
const selector = {
|
|
27592
|
+
recordId: keyBuilder$2h(luvio, config),
|
|
27593
|
+
node: adapterFragment$q(luvio, config),
|
|
27594
|
+
variables: {},
|
|
27607
27595
|
};
|
|
27596
|
+
const cacheSnapshot = storeLookup(selector, {
|
|
27597
|
+
config,
|
|
27598
|
+
resolve: () => buildNetworkSnapshot$I(luvio, config, snapshotRefreshOptions)
|
|
27599
|
+
});
|
|
27600
|
+
return cacheSnapshot;
|
|
27601
|
+
}
|
|
27602
|
+
const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoByName(untrustedConfig, requestContext) {
|
|
27603
|
+
const config = validateAdapterConfig$K(untrustedConfig, getListInfoByName_ConfigPropertyNames);
|
|
27604
|
+
// Invalid or incomplete config
|
|
27605
|
+
if (config === null) {
|
|
27606
|
+
return null;
|
|
27607
|
+
}
|
|
27608
|
+
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
27609
|
+
buildCachedSnapshotCachePolicy$v, buildNetworkSnapshotCachePolicy$w);
|
|
27608
27610
|
};
|
|
27609
27611
|
|
|
27610
27612
|
function select$2e(luvio, params) {
|
|
@@ -27633,7 +27635,7 @@ function ingestSuccess$x(luvio, resourceParams, response) {
|
|
|
27633
27635
|
function createResourceRequest$I(config) {
|
|
27634
27636
|
const headers = {};
|
|
27635
27637
|
return {
|
|
27636
|
-
baseUri: '/services/data/
|
|
27638
|
+
baseUri: '/services/data/v62.0',
|
|
27637
27639
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
27638
27640
|
method: 'patch',
|
|
27639
27641
|
body: config.body,
|
|
@@ -28360,7 +28362,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
|
28360
28362
|
function createResourceRequest$H(config) {
|
|
28361
28363
|
const headers = {};
|
|
28362
28364
|
return {
|
|
28363
|
-
baseUri: '/services/data/
|
|
28365
|
+
baseUri: '/services/data/v62.0',
|
|
28364
28366
|
basePath: '/ui-api/list-object-info/' + config.urlParams.objectApiName + '',
|
|
28365
28367
|
method: 'get',
|
|
28366
28368
|
body: null,
|
|
@@ -28669,7 +28671,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
|
28669
28671
|
function createResourceRequest$G(config) {
|
|
28670
28672
|
const headers = {};
|
|
28671
28673
|
return {
|
|
28672
|
-
baseUri: '/services/data/
|
|
28674
|
+
baseUri: '/services/data/v62.0',
|
|
28673
28675
|
basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
28674
28676
|
method: 'get',
|
|
28675
28677
|
body: null,
|
|
@@ -28813,7 +28815,7 @@ function ingestSuccess$u(luvio, resourceParams, response) {
|
|
|
28813
28815
|
function createResourceRequest$F(config) {
|
|
28814
28816
|
const headers = {};
|
|
28815
28817
|
return {
|
|
28816
|
-
baseUri: '/services/data/
|
|
28818
|
+
baseUri: '/services/data/v62.0',
|
|
28817
28819
|
basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
28818
28820
|
method: 'patch',
|
|
28819
28821
|
body: config.body,
|
|
@@ -29123,7 +29125,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
|
29123
29125
|
function createResourceRequest$E(config) {
|
|
29124
29126
|
const headers = {};
|
|
29125
29127
|
return {
|
|
29126
|
-
baseUri: '/services/data/
|
|
29128
|
+
baseUri: '/services/data/v62.0',
|
|
29127
29129
|
basePath: '/ui-api/nav-items',
|
|
29128
29130
|
method: 'get',
|
|
29129
29131
|
body: null,
|
|
@@ -29475,7 +29477,7 @@ function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
|
29475
29477
|
function createResourceRequest$C(config) {
|
|
29476
29478
|
const headers = {};
|
|
29477
29479
|
return {
|
|
29478
|
-
baseUri: '/services/data/
|
|
29480
|
+
baseUri: '/services/data/v62.0',
|
|
29479
29481
|
basePath: '/ui-api/object-info/batch/' + config.urlParams.objectApiNames + '',
|
|
29480
29482
|
method: 'get',
|
|
29481
29483
|
body: null,
|
|
@@ -29804,8 +29806,8 @@ const select$1X = function PicklistValueRepresentationSelect() {
|
|
|
29804
29806
|
const keyBuilderFromType$i =
|
|
29805
29807
|
/**
|
|
29806
29808
|
* custom key builder from PicklistValuesRepresentation.
|
|
29807
|
-
* PicklistValuesRepresentation.url is like /services/data/
|
|
29808
|
-
* the '/services/data/
|
|
29809
|
+
* PicklistValuesRepresentation.url is like /services/data/v62.0/ui-api/object-info/Account/picklist-values/012000000000000AAA/AccountSource
|
|
29810
|
+
* the '/services/data/v62.0' in the key make trouble for new js release. so chop it off make the key unique cross releases.
|
|
29809
29811
|
*/
|
|
29810
29812
|
function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
29811
29813
|
const id = object.url.substring(object.url.indexOf('/ui-api'));
|
|
@@ -30115,7 +30117,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
|
|
|
30115
30117
|
function createResourceRequest$B(config) {
|
|
30116
30118
|
const headers = {};
|
|
30117
30119
|
return {
|
|
30118
|
-
baseUri: '/services/data/
|
|
30120
|
+
baseUri: '/services/data/v62.0',
|
|
30119
30121
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '',
|
|
30120
30122
|
method: 'get',
|
|
30121
30123
|
body: null,
|
|
@@ -30220,7 +30222,7 @@ function getResponseCacheKeys$w(storeKeyMap, luvio, resourceParams, response) {
|
|
|
30220
30222
|
function createResourceRequest$A(config) {
|
|
30221
30223
|
const headers = {};
|
|
30222
30224
|
return {
|
|
30223
|
-
baseUri: '/services/data/
|
|
30225
|
+
baseUri: '/services/data/v62.0',
|
|
30224
30226
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '/' + config.urlParams.fieldApiName + '',
|
|
30225
30227
|
method: 'get',
|
|
30226
30228
|
body: null,
|
|
@@ -30432,7 +30434,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
|
30432
30434
|
function createResourceRequest$z(config) {
|
|
30433
30435
|
const headers = {};
|
|
30434
30436
|
return {
|
|
30435
|
-
baseUri: '/services/data/
|
|
30437
|
+
baseUri: '/services/data/v62.0',
|
|
30436
30438
|
basePath: '/ui-api/path/layout/' + config.urlParams.objectApiName + '',
|
|
30437
30439
|
method: 'get',
|
|
30438
30440
|
body: null,
|
|
@@ -30758,7 +30760,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
|
30758
30760
|
function createResourceRequest$y(config) {
|
|
30759
30761
|
const headers = {};
|
|
30760
30762
|
return {
|
|
30761
|
-
baseUri: '/services/data/
|
|
30763
|
+
baseUri: '/services/data/v62.0',
|
|
30762
30764
|
basePath: '/ui-api/predupe',
|
|
30763
30765
|
method: 'post',
|
|
30764
30766
|
body: config.body,
|
|
@@ -31856,7 +31858,7 @@ function getTypeCacheKeys$1t(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
31856
31858
|
throw new Error(`Invalid discriminatorValue "${discriminatorValue}". Expected one of "200","400","404"`);
|
|
31857
31859
|
}
|
|
31858
31860
|
|
|
31859
|
-
const TTL$j =
|
|
31861
|
+
const TTL$j = 1800000;
|
|
31860
31862
|
const VERSION$1w = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
31861
31863
|
function validate$N(obj, path = 'RecordAvatarBulkMapRepresentation') {
|
|
31862
31864
|
const v_error = (() => {
|
|
@@ -31977,7 +31979,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
31977
31979
|
function createResourceRequest$x(config) {
|
|
31978
31980
|
const headers = {};
|
|
31979
31981
|
return {
|
|
31980
|
-
baseUri: '/services/data/
|
|
31982
|
+
baseUri: '/services/data/v62.0',
|
|
31981
31983
|
basePath: '/ui-api/record-avatars/batch/' + config.urlParams.recordIds + '',
|
|
31982
31984
|
method: 'get',
|
|
31983
31985
|
body: null,
|
|
@@ -32841,7 +32843,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
32841
32843
|
function createResourceRequest$w(config) {
|
|
32842
32844
|
const headers = {};
|
|
32843
32845
|
return {
|
|
32844
|
-
baseUri: '/services/data/
|
|
32846
|
+
baseUri: '/services/data/v62.0',
|
|
32845
32847
|
basePath: '/ui-api/related-list-count/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
|
|
32846
32848
|
method: 'get',
|
|
32847
32849
|
body: null,
|
|
@@ -33106,7 +33108,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
|
33106
33108
|
function createResourceRequest$v(config) {
|
|
33107
33109
|
const headers = {};
|
|
33108
33110
|
return {
|
|
33109
|
-
baseUri: '/services/data/
|
|
33111
|
+
baseUri: '/services/data/v62.0',
|
|
33110
33112
|
basePath: '/ui-api/related-list-count/batch/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListNames + '',
|
|
33111
33113
|
method: 'get',
|
|
33112
33114
|
body: null,
|
|
@@ -33800,7 +33802,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
33800
33802
|
function createResourceRequest$u(config) {
|
|
33801
33803
|
const headers = {};
|
|
33802
33804
|
return {
|
|
33803
|
-
baseUri: '/services/data/
|
|
33805
|
+
baseUri: '/services/data/v62.0',
|
|
33804
33806
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
|
|
33805
33807
|
method: 'get',
|
|
33806
33808
|
body: null,
|
|
@@ -34070,7 +34072,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
|
|
|
34070
34072
|
function createResourceRequest$t(config) {
|
|
34071
34073
|
const headers = {};
|
|
34072
34074
|
return {
|
|
34073
|
-
baseUri: '/services/data/
|
|
34075
|
+
baseUri: '/services/data/v62.0',
|
|
34074
34076
|
basePath: '/ui-api/related-list-info/batch/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListNames + '',
|
|
34075
34077
|
method: 'get',
|
|
34076
34078
|
body: null,
|
|
@@ -34464,7 +34466,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
|
|
|
34464
34466
|
function createResourceRequest$s(config) {
|
|
34465
34467
|
const headers = {};
|
|
34466
34468
|
return {
|
|
34467
|
-
baseUri: '/services/data/
|
|
34469
|
+
baseUri: '/services/data/v62.0',
|
|
34468
34470
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '',
|
|
34469
34471
|
method: 'get',
|
|
34470
34472
|
body: null,
|
|
@@ -34805,7 +34807,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
|
34805
34807
|
function createResourceRequest$q(config) {
|
|
34806
34808
|
const headers = {};
|
|
34807
34809
|
return {
|
|
34808
|
-
baseUri: '/services/data/
|
|
34810
|
+
baseUri: '/services/data/v62.0',
|
|
34809
34811
|
basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
|
|
34810
34812
|
method: 'get',
|
|
34811
34813
|
body: null,
|
|
@@ -35067,7 +35069,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
35067
35069
|
function createResourceRequest$p(config) {
|
|
35068
35070
|
const headers = {};
|
|
35069
35071
|
return {
|
|
35070
|
-
baseUri: '/services/data/
|
|
35072
|
+
baseUri: '/services/data/v62.0',
|
|
35071
35073
|
basePath: '/ui-api/related-list-preferences/batch/' + config.urlParams.preferencesIds + '',
|
|
35072
35074
|
method: 'get',
|
|
35073
35075
|
body: null,
|
|
@@ -36172,7 +36174,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
36172
36174
|
function createResourceRequest$n(config) {
|
|
36173
36175
|
const headers = {};
|
|
36174
36176
|
return {
|
|
36175
|
-
baseUri: '/services/data/
|
|
36177
|
+
baseUri: '/services/data/v62.0',
|
|
36176
36178
|
basePath: '/ui-api/related-list-records/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
|
|
36177
36179
|
method: 'post',
|
|
36178
36180
|
body: config.body,
|
|
@@ -36457,7 +36459,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
36457
36459
|
function createResourceRequest$m(config) {
|
|
36458
36460
|
const headers = {};
|
|
36459
36461
|
return {
|
|
36460
|
-
baseUri: '/services/data/
|
|
36462
|
+
baseUri: '/services/data/v62.0',
|
|
36461
36463
|
basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
|
|
36462
36464
|
method: 'post',
|
|
36463
36465
|
body: config.body,
|
|
@@ -36971,7 +36973,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
36971
36973
|
function createResourceRequest$l(config) {
|
|
36972
36974
|
const headers = {};
|
|
36973
36975
|
return {
|
|
36974
|
-
baseUri: '/services/data/
|
|
36976
|
+
baseUri: '/services/data/v62.0',
|
|
36975
36977
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters',
|
|
36976
36978
|
method: 'get',
|
|
36977
36979
|
body: null,
|
|
@@ -37226,7 +37228,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
37226
37228
|
function createResourceRequest$k(config) {
|
|
37227
37229
|
const headers = {};
|
|
37228
37230
|
return {
|
|
37229
|
-
baseUri: '/services/data/
|
|
37231
|
+
baseUri: '/services/data/v62.0',
|
|
37230
37232
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters/' + config.urlParams.filterApiName + '/options',
|
|
37231
37233
|
method: 'get',
|
|
37232
37234
|
body: null,
|
|
@@ -37644,7 +37646,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
37644
37646
|
function createResourceRequest$j(config) {
|
|
37645
37647
|
const headers = {};
|
|
37646
37648
|
return {
|
|
37647
|
-
baseUri: '/services/data/
|
|
37649
|
+
baseUri: '/services/data/v62.0',
|
|
37648
37650
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/lookup/' + config.urlParams.fieldApiName + '',
|
|
37649
37651
|
method: 'get',
|
|
37650
37652
|
body: null,
|
|
@@ -38516,7 +38518,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
38516
38518
|
function createResourceRequest$i(config) {
|
|
38517
38519
|
const headers = {};
|
|
38518
38520
|
return {
|
|
38519
|
-
baseUri: '/services/data/
|
|
38521
|
+
baseUri: '/services/data/v62.0',
|
|
38520
38522
|
basePath: '/ui-api/search/results',
|
|
38521
38523
|
method: 'post',
|
|
38522
38524
|
body: config.body,
|
|
@@ -38790,7 +38792,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
38790
38792
|
function createResourceRequest$h(config) {
|
|
38791
38793
|
const headers = {};
|
|
38792
38794
|
return {
|
|
38793
|
-
baseUri: '/services/data/
|
|
38795
|
+
baseUri: '/services/data/v62.0',
|
|
38794
38796
|
basePath: '/ui-api/search/results/keyword',
|
|
38795
38797
|
method: 'post',
|
|
38796
38798
|
body: config.body,
|
|
@@ -54488,6 +54490,29 @@ function getInContextFragmentType$d(fragment, fragmentMap) {
|
|
|
54488
54490
|
return sharedGetFragmentType(fragment, fragmentMap);
|
|
54489
54491
|
}
|
|
54490
54492
|
|
|
54493
|
+
function getFieldType$b(field) {
|
|
54494
|
+
const fieldName = field.name.value;
|
|
54495
|
+
switch (fieldName) {
|
|
54496
|
+
case '__typename': {
|
|
54497
|
+
return {
|
|
54498
|
+
isArray: false,
|
|
54499
|
+
typename: 'String',
|
|
54500
|
+
};
|
|
54501
|
+
}
|
|
54502
|
+
/*
|
|
54503
|
+
Probably should use metaschema like the RecordQuery graphql-artifact,
|
|
54504
|
+
but this type only has one generic type possible. Also, the most likely scenario for future schema additions,
|
|
54505
|
+
is UISDK adding the the parent of this type, Setup__Setup. Therefore, we will just default to SetupConnection so that
|
|
54506
|
+
query authors don't need to use metaschema when there's no real decision point in this type.
|
|
54507
|
+
*/
|
|
54508
|
+
default:
|
|
54509
|
+
return {
|
|
54510
|
+
isArray: false,
|
|
54511
|
+
typename: 'Setup__SetupConnection',
|
|
54512
|
+
};
|
|
54513
|
+
}
|
|
54514
|
+
}
|
|
54515
|
+
|
|
54491
54516
|
const name$2 = 'Setup__SetupQuery';
|
|
54492
54517
|
const VERSION$e = 'b89cccb5fa5e458d89dc1137af3e5469';
|
|
54493
54518
|
function keyBuilder$g(luvio, path, data) {
|
|
@@ -54605,24 +54630,6 @@ function getTypeCacheKeys$b(cacheKeySink, astNode, state) {
|
|
|
54605
54630
|
}
|
|
54606
54631
|
// Deal with mapped types' cache keys
|
|
54607
54632
|
}
|
|
54608
|
-
function getFieldType$b(field) {
|
|
54609
|
-
switch (field.name.value) {
|
|
54610
|
-
case '__typename': {
|
|
54611
|
-
return {
|
|
54612
|
-
isArray: false,
|
|
54613
|
-
typename: 'String'
|
|
54614
|
-
};
|
|
54615
|
-
}
|
|
54616
|
-
case 'recordQuery': {
|
|
54617
|
-
return {
|
|
54618
|
-
isArray: false,
|
|
54619
|
-
typename: 'Setup__SetupConnection'
|
|
54620
|
-
};
|
|
54621
|
-
}
|
|
54622
|
-
default:
|
|
54623
|
-
return undefined;
|
|
54624
|
-
}
|
|
54625
|
-
}
|
|
54626
54633
|
function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
54627
54634
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
54628
54635
|
if (fieldData === null) {
|
|
@@ -56809,7 +56816,7 @@ function ingestError$2(luvio, config, params, error, snapshotRefresh) {
|
|
|
56809
56816
|
function createResourceRequest$g(config) {
|
|
56810
56817
|
const headers = {};
|
|
56811
56818
|
return {
|
|
56812
|
-
baseUri: '/services/data/
|
|
56819
|
+
baseUri: '/services/data/v62.0',
|
|
56813
56820
|
basePath: '/graphql',
|
|
56814
56821
|
method: 'post',
|
|
56815
56822
|
body: { ...config.body,
|
|
@@ -56860,7 +56867,7 @@ function createResourceRequest$e(config) {
|
|
|
56860
56867
|
const headers = {};
|
|
56861
56868
|
const transformedConfig = stripDocumentsOfMetaschema(config);
|
|
56862
56869
|
return {
|
|
56863
|
-
baseUri: '/services/data/
|
|
56870
|
+
baseUri: '/services/data/v62.0',
|
|
56864
56871
|
basePath: '/graphql/batch',
|
|
56865
56872
|
method: 'post',
|
|
56866
56873
|
body: transformedConfig.body,
|
|
@@ -57408,7 +57415,7 @@ function ingestSuccess$4(luvio, response) {
|
|
|
57408
57415
|
function createResourceRequest$d(config) {
|
|
57409
57416
|
const headers = {};
|
|
57410
57417
|
return {
|
|
57411
|
-
baseUri: '/services/data/
|
|
57418
|
+
baseUri: '/services/data/v62.0',
|
|
57412
57419
|
basePath: '/ui-api/records/batch',
|
|
57413
57420
|
method: 'post',
|
|
57414
57421
|
body: config.body,
|
|
@@ -57677,7 +57684,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
57677
57684
|
function createResourceRequest$c(config) {
|
|
57678
57685
|
const headers = {};
|
|
57679
57686
|
return {
|
|
57680
|
-
baseUri: '/services/data/
|
|
57687
|
+
baseUri: '/services/data/v62.0',
|
|
57681
57688
|
basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
|
|
57682
57689
|
method: 'patch',
|
|
57683
57690
|
body: config.body,
|
|
@@ -57805,7 +57812,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
57805
57812
|
function createResourceRequest$b(config) {
|
|
57806
57813
|
const headers = {};
|
|
57807
57814
|
return {
|
|
57808
|
-
baseUri: '/services/data/
|
|
57815
|
+
baseUri: '/services/data/v62.0',
|
|
57809
57816
|
basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
|
|
57810
57817
|
method: 'post',
|
|
57811
57818
|
body: config.body,
|
|
@@ -58224,7 +58231,7 @@ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
|
58224
58231
|
function createResourceRequest$9(config) {
|
|
58225
58232
|
const headers = {};
|
|
58226
58233
|
return {
|
|
58227
|
-
baseUri: '/services/data/
|
|
58234
|
+
baseUri: '/services/data/v62.0',
|
|
58228
58235
|
basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
|
|
58229
58236
|
method: 'post',
|
|
58230
58237
|
body: config.body,
|
|
@@ -58451,7 +58458,7 @@ const factory$9 = (luvio) => {
|
|
|
58451
58458
|
function createResourceRequest$8(config) {
|
|
58452
58459
|
const headers = {};
|
|
58453
58460
|
return {
|
|
58454
|
-
baseUri: '/services/data/
|
|
58461
|
+
baseUri: '/services/data/v62.0',
|
|
58455
58462
|
basePath: '/ui-api/record-avatars/' + config.urlParams.recordId + '/association',
|
|
58456
58463
|
method: 'post',
|
|
58457
58464
|
body: config.body,
|
|
@@ -59060,7 +59067,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
|
59060
59067
|
function createResourceRequest$7(config) {
|
|
59061
59068
|
const headers = {};
|
|
59062
59069
|
return {
|
|
59063
|
-
baseUri: '/services/data/
|
|
59070
|
+
baseUri: '/services/data/v62.0',
|
|
59064
59071
|
basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
|
|
59065
59072
|
method: 'get',
|
|
59066
59073
|
body: null,
|
|
@@ -59691,7 +59698,7 @@ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
|
59691
59698
|
function createResourceRequest$6(config) {
|
|
59692
59699
|
const headers = {};
|
|
59693
59700
|
return {
|
|
59694
|
-
baseUri: '/services/data/
|
|
59701
|
+
baseUri: '/services/data/v62.0',
|
|
59695
59702
|
basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
|
|
59696
59703
|
method: 'get',
|
|
59697
59704
|
body: null,
|
|
@@ -60322,7 +60329,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
60322
60329
|
function createResourceRequest$5(config) {
|
|
60323
60330
|
const headers = {};
|
|
60324
60331
|
return {
|
|
60325
|
-
baseUri: '/services/data/
|
|
60332
|
+
baseUri: '/services/data/v62.0',
|
|
60326
60333
|
basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
|
|
60327
60334
|
method: 'get',
|
|
60328
60335
|
body: null,
|
|
@@ -60535,7 +60542,7 @@ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
|
60535
60542
|
function createResourceRequest$4(config) {
|
|
60536
60543
|
const headers = {};
|
|
60537
60544
|
return {
|
|
60538
|
-
baseUri: '/services/data/
|
|
60545
|
+
baseUri: '/services/data/v62.0',
|
|
60539
60546
|
basePath: '/ui-api/records',
|
|
60540
60547
|
method: 'post',
|
|
60541
60548
|
body: config.body,
|
|
@@ -60547,6 +60554,7 @@ function createResourceRequest$4(config) {
|
|
|
60547
60554
|
}
|
|
60548
60555
|
|
|
60549
60556
|
const createRecord_ConfigPropertyMetadata = [
|
|
60557
|
+
generateParamConfigMetadata('handleOwnerChange', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
60550
60558
|
generateParamConfigMetadata('includeFieldsInBody', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
60551
60559
|
generateParamConfigMetadata('triggerOtherEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
60552
60560
|
generateParamConfigMetadata('triggerUserEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
@@ -60629,7 +60637,7 @@ function evictSuccess(luvio, resourceParams) {
|
|
|
60629
60637
|
function createResourceRequest$3(config) {
|
|
60630
60638
|
const headers = {};
|
|
60631
60639
|
return {
|
|
60632
|
-
baseUri: '/services/data/
|
|
60640
|
+
baseUri: '/services/data/v62.0',
|
|
60633
60641
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
60634
60642
|
method: 'delete',
|
|
60635
60643
|
body: null,
|
|
@@ -60716,7 +60724,7 @@ function createResourceRequest$2(config) {
|
|
|
60716
60724
|
headers['If-Unmodified-Since'] = header_ifUnmodifiedSince;
|
|
60717
60725
|
}
|
|
60718
60726
|
return {
|
|
60719
|
-
baseUri: '/services/data/
|
|
60727
|
+
baseUri: '/services/data/v62.0',
|
|
60720
60728
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
60721
60729
|
method: 'patch',
|
|
60722
60730
|
body: config.body,
|
|
@@ -60730,6 +60738,7 @@ function createResourceRequest$2(config) {
|
|
|
60730
60738
|
const adapterName = 'updateRecord';
|
|
60731
60739
|
const updateRecord_ConfigPropertyMetadata = [
|
|
60732
60740
|
generateParamConfigMetadata('recordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
60741
|
+
generateParamConfigMetadata('handleOwnerChange', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
60733
60742
|
generateParamConfigMetadata('triggerOtherEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
60734
60743
|
generateParamConfigMetadata('triggerUserEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
60735
60744
|
generateParamConfigMetadata('useDefaultRule', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
@@ -61018,7 +61027,7 @@ function createResourceParams$1(config) {
|
|
|
61018
61027
|
function createResourceRequest$1(config) {
|
|
61019
61028
|
const headers = {};
|
|
61020
61029
|
return {
|
|
61021
|
-
baseUri: '/services/data/
|
|
61030
|
+
baseUri: '/services/data/v62.0',
|
|
61022
61031
|
basePath: '/ui-api/records/content-documents/' +
|
|
61023
61032
|
config.urlParams.contentDocumentId +
|
|
61024
61033
|
'/content-versions',
|
|
@@ -61136,7 +61145,7 @@ function createResourceParams(config) {
|
|
|
61136
61145
|
function createResourceRequest(config) {
|
|
61137
61146
|
const headers = {};
|
|
61138
61147
|
return {
|
|
61139
|
-
baseUri: '/services/data/
|
|
61148
|
+
baseUri: '/services/data/v62.0',
|
|
61140
61149
|
basePath: '/ui-api/records/content-documents/content-versions',
|
|
61141
61150
|
method: 'post',
|
|
61142
61151
|
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.290.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.290.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@luvio/lwc-luvio": "0.154.18",
|
|
38
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
38
|
+
"@salesforce/lds-default-luvio": "^1.290.0"
|
|
39
39
|
}
|
|
40
40
|
}
|