@salesforce/lds-worker-api 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/sfdc/es/ldsWorkerApi.js +1 -1
- package/dist/standalone/es/lds-worker-api.js +242 -241
- package/dist/standalone/umd/lds-worker-api.js +242 -241
- package/package.json +10 -10
|
@@ -4190,7 +4190,7 @@ function withDefaultLuvio(callback) {
|
|
|
4190
4190
|
}
|
|
4191
4191
|
callbacks.push(callback);
|
|
4192
4192
|
}
|
|
4193
|
-
// version: 1.
|
|
4193
|
+
// version: 1.290.0-18c27a6e9
|
|
4194
4194
|
|
|
4195
4195
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4196
4196
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15698,7 +15698,7 @@ function gql(literals, ...subs) {
|
|
|
15698
15698
|
}
|
|
15699
15699
|
return superResult;
|
|
15700
15700
|
}
|
|
15701
|
-
// version: 1.
|
|
15701
|
+
// version: 1.290.0-18c27a6e9
|
|
15702
15702
|
|
|
15703
15703
|
function unwrap(data) {
|
|
15704
15704
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16623,7 +16623,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16623
16623
|
const { apiFamily, name } = metadata;
|
|
16624
16624
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16625
16625
|
}
|
|
16626
|
-
// version: 1.
|
|
16626
|
+
// version: 1.290.0-18c27a6e9
|
|
16627
16627
|
|
|
16628
16628
|
/**
|
|
16629
16629
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -21023,7 +21023,7 @@ function getResponseCacheKeys$11(storeKeyMap, luvio, resourceParams, response) {
|
|
|
21023
21023
|
function createResourceRequest$1a(config) {
|
|
21024
21024
|
const headers = {};
|
|
21025
21025
|
return {
|
|
21026
|
-
baseUri: '/services/data/
|
|
21026
|
+
baseUri: '/services/data/v62.0',
|
|
21027
21027
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
21028
21028
|
method: 'get',
|
|
21029
21029
|
body: null,
|
|
@@ -21452,7 +21452,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
|
|
|
21452
21452
|
function createResourceRequest$19(config) {
|
|
21453
21453
|
const headers = {};
|
|
21454
21454
|
return {
|
|
21455
|
-
baseUri: '/services/data/
|
|
21455
|
+
baseUri: '/services/data/v62.0',
|
|
21456
21456
|
basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
|
|
21457
21457
|
method: 'get',
|
|
21458
21458
|
body: null,
|
|
@@ -22261,7 +22261,7 @@ function createPaginationParams$6(params) {
|
|
|
22261
22261
|
function createResourceRequest$18(config) {
|
|
22262
22262
|
const headers = {};
|
|
22263
22263
|
return {
|
|
22264
|
-
baseUri: '/services/data/
|
|
22264
|
+
baseUri: '/services/data/v62.0',
|
|
22265
22265
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
22266
22266
|
method: 'get',
|
|
22267
22267
|
body: null,
|
|
@@ -22311,7 +22311,7 @@ function createPaginationParams$5(params) {
|
|
|
22311
22311
|
function createResourceRequest$17(config) {
|
|
22312
22312
|
const headers = {};
|
|
22313
22313
|
return {
|
|
22314
|
-
baseUri: '/services/data/
|
|
22314
|
+
baseUri: '/services/data/v62.0',
|
|
22315
22315
|
basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
|
|
22316
22316
|
method: 'get',
|
|
22317
22317
|
body: null,
|
|
@@ -22353,7 +22353,7 @@ function validateAdapterConfig$17(untrustedConfig, configPropertyNames) {
|
|
|
22353
22353
|
function createResourceRequest$16(config) {
|
|
22354
22354
|
const headers = {};
|
|
22355
22355
|
return {
|
|
22356
|
-
baseUri: '/services/data/
|
|
22356
|
+
baseUri: '/services/data/v62.0',
|
|
22357
22357
|
basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
|
|
22358
22358
|
method: 'get',
|
|
22359
22359
|
body: null,
|
|
@@ -23172,7 +23172,7 @@ function ingestError$J(luvio, params, error, snapshotRefresh) {
|
|
|
23172
23172
|
function createResourceRequest$15(config) {
|
|
23173
23173
|
const headers = {};
|
|
23174
23174
|
return {
|
|
23175
|
-
baseUri: '/services/data/
|
|
23175
|
+
baseUri: '/services/data/v62.0',
|
|
23176
23176
|
basePath: '/ui-api/list-records/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
23177
23177
|
method: 'post',
|
|
23178
23178
|
body: config.body,
|
|
@@ -23643,7 +23643,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
23643
23643
|
function createResourceRequest$14(config) {
|
|
23644
23644
|
const headers = {};
|
|
23645
23645
|
return {
|
|
23646
|
-
baseUri: '/services/data/
|
|
23646
|
+
baseUri: '/services/data/v62.0',
|
|
23647
23647
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
|
|
23648
23648
|
method: 'get',
|
|
23649
23649
|
body: null,
|
|
@@ -23838,7 +23838,7 @@ function keyBuilder$1W(luvio, params) {
|
|
|
23838
23838
|
function createResourceRequest$13(config) {
|
|
23839
23839
|
const headers = {};
|
|
23840
23840
|
return {
|
|
23841
|
-
baseUri: '/services/data/
|
|
23841
|
+
baseUri: '/services/data/v62.0',
|
|
23842
23842
|
basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
|
|
23843
23843
|
method: 'get',
|
|
23844
23844
|
body: null,
|
|
@@ -23880,7 +23880,7 @@ function validateAdapterConfig$15(untrustedConfig, configPropertyNames) {
|
|
|
23880
23880
|
function createResourceRequest$12(config) {
|
|
23881
23881
|
const headers = {};
|
|
23882
23882
|
return {
|
|
23883
|
-
baseUri: '/services/data/
|
|
23883
|
+
baseUri: '/services/data/v62.0',
|
|
23884
23884
|
basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
|
|
23885
23885
|
method: 'get',
|
|
23886
23886
|
body: null,
|
|
@@ -24839,7 +24839,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
|
|
|
24839
24839
|
function createResourceRequest$11(config) {
|
|
24840
24840
|
const headers = {};
|
|
24841
24841
|
return {
|
|
24842
|
-
baseUri: '/services/data/
|
|
24842
|
+
baseUri: '/services/data/v62.0',
|
|
24843
24843
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '',
|
|
24844
24844
|
method: 'get',
|
|
24845
24845
|
body: null,
|
|
@@ -25286,7 +25286,7 @@ const ingest$D$1 = function RecordUiRepresentationIngest(input, path, luvio, sto
|
|
|
25286
25286
|
function createResourceRequest$10(config) {
|
|
25287
25287
|
const headers = {};
|
|
25288
25288
|
return {
|
|
25289
|
-
baseUri: '/services/data/
|
|
25289
|
+
baseUri: '/services/data/v62.0',
|
|
25290
25290
|
basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
|
|
25291
25291
|
method: 'get',
|
|
25292
25292
|
body: null,
|
|
@@ -27257,7 +27257,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
|
27257
27257
|
function createResourceRequest$$(config) {
|
|
27258
27258
|
const headers = {};
|
|
27259
27259
|
return {
|
|
27260
|
-
baseUri: '/services/data/
|
|
27260
|
+
baseUri: '/services/data/v62.0',
|
|
27261
27261
|
basePath: '/ui-api/actions/global',
|
|
27262
27262
|
method: 'get',
|
|
27263
27263
|
body: null,
|
|
@@ -27451,12 +27451,12 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
|
27451
27451
|
function createResourceRequest$_(config) {
|
|
27452
27452
|
const headers = {};
|
|
27453
27453
|
return {
|
|
27454
|
-
baseUri: '/services/data/
|
|
27454
|
+
baseUri: '/services/data/v62.0',
|
|
27455
27455
|
basePath: '/ui-api/actions/layout/' + config.urlParams.actionApiName + '',
|
|
27456
27456
|
method: 'get',
|
|
27457
27457
|
body: null,
|
|
27458
27458
|
urlParams: config.urlParams,
|
|
27459
|
-
queryParams:
|
|
27459
|
+
queryParams: config.queryParams,
|
|
27460
27460
|
headers,
|
|
27461
27461
|
priority: 'normal',
|
|
27462
27462
|
};
|
|
@@ -27465,6 +27465,8 @@ function createResourceRequest$_(config) {
|
|
|
27465
27465
|
const adapterName$X = 'getQuickActionLayout';
|
|
27466
27466
|
const getQuickActionLayout_ConfigPropertyMetadata = [
|
|
27467
27467
|
generateParamConfigMetadata$2('actionApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
27468
|
+
generateParamConfigMetadata$2('objectApiName', false, 1 /* QueryParameter */, 0 /* String */),
|
|
27469
|
+
generateParamConfigMetadata$2('recordTypeId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
27468
27470
|
];
|
|
27469
27471
|
const getQuickActionLayout_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$2(adapterName$X, getQuickActionLayout_ConfigPropertyMetadata);
|
|
27470
27472
|
const createResourceParams$V = /*#__PURE__*/ createResourceParams$13(getQuickActionLayout_ConfigPropertyMetadata);
|
|
@@ -27613,7 +27615,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
|
27613
27615
|
function createResourceRequest$Z(config) {
|
|
27614
27616
|
const headers = {};
|
|
27615
27617
|
return {
|
|
27616
|
-
baseUri: '/services/data/
|
|
27618
|
+
baseUri: '/services/data/v62.0',
|
|
27617
27619
|
basePath: '/ui-api/actions/lookup/' + config.urlParams.objectApiNames + '',
|
|
27618
27620
|
method: 'get',
|
|
27619
27621
|
body: null,
|
|
@@ -27747,7 +27749,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
|
27747
27749
|
function createResourceRequest$Y(config) {
|
|
27748
27750
|
const headers = {};
|
|
27749
27751
|
return {
|
|
27750
|
-
baseUri: '/services/data/
|
|
27752
|
+
baseUri: '/services/data/v62.0',
|
|
27751
27753
|
basePath: '/ui-api/actions/object/' + config.urlParams.objectApiName + '/record-create',
|
|
27752
27754
|
method: 'get',
|
|
27753
27755
|
body: null,
|
|
@@ -27910,7 +27912,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
27910
27912
|
function createResourceRequest$X(config) {
|
|
27911
27913
|
const headers = {};
|
|
27912
27914
|
return {
|
|
27913
|
-
baseUri: '/services/data/
|
|
27915
|
+
baseUri: '/services/data/v62.0',
|
|
27914
27916
|
basePath: '/ui-api/actions/overrides/' + config.urlParams.objectApiName + '',
|
|
27915
27917
|
method: 'get',
|
|
27916
27918
|
body: null,
|
|
@@ -28087,7 +28089,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
|
28087
28089
|
function createResourceRequest$W(config) {
|
|
28088
28090
|
const headers = {};
|
|
28089
28091
|
return {
|
|
28090
|
-
baseUri: '/services/data/
|
|
28092
|
+
baseUri: '/services/data/v62.0',
|
|
28091
28093
|
basePath: '/ui-api/actions/formula-activation/' + config.urlParams.actionFeature + '',
|
|
28092
28094
|
method: 'get',
|
|
28093
28095
|
body: null,
|
|
@@ -28290,7 +28292,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
28290
28292
|
function createResourceRequest$V(config) {
|
|
28291
28293
|
const headers = {};
|
|
28292
28294
|
return {
|
|
28293
|
-
baseUri: '/services/data/
|
|
28295
|
+
baseUri: '/services/data/v62.0',
|
|
28294
28296
|
basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
|
|
28295
28297
|
method: 'get',
|
|
28296
28298
|
body: null,
|
|
@@ -28446,7 +28448,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
|
28446
28448
|
function createResourceRequest$U(config) {
|
|
28447
28449
|
const headers = {};
|
|
28448
28450
|
return {
|
|
28449
|
-
baseUri: '/services/data/
|
|
28451
|
+
baseUri: '/services/data/v62.0',
|
|
28450
28452
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '',
|
|
28451
28453
|
method: 'get',
|
|
28452
28454
|
body: null,
|
|
@@ -28586,7 +28588,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
|
28586
28588
|
function createResourceRequest$T(config) {
|
|
28587
28589
|
const headers = {};
|
|
28588
28590
|
return {
|
|
28589
|
-
baseUri: '/services/data/
|
|
28591
|
+
baseUri: '/services/data/v62.0',
|
|
28590
28592
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/record-edit',
|
|
28591
28593
|
method: 'get',
|
|
28592
28594
|
body: null,
|
|
@@ -28790,7 +28792,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
|
28790
28792
|
function createResourceRequest$S(config) {
|
|
28791
28793
|
const headers = {};
|
|
28792
28794
|
return {
|
|
28793
|
-
baseUri: '/services/data/
|
|
28795
|
+
baseUri: '/services/data/v62.0',
|
|
28794
28796
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/' + config.urlParams.relatedListId + '',
|
|
28795
28797
|
method: 'post',
|
|
28796
28798
|
body: config.body,
|
|
@@ -29065,7 +29067,7 @@ function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
|
29065
29067
|
function createResourceRequest$R(config) {
|
|
29066
29068
|
const headers = {};
|
|
29067
29069
|
return {
|
|
29068
|
-
baseUri: '/services/data/
|
|
29070
|
+
baseUri: '/services/data/v62.0',
|
|
29069
29071
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/batch',
|
|
29070
29072
|
method: 'post',
|
|
29071
29073
|
body: config.body,
|
|
@@ -29299,7 +29301,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
|
29299
29301
|
function createResourceRequest$Q(config) {
|
|
29300
29302
|
const headers = {};
|
|
29301
29303
|
return {
|
|
29302
|
-
baseUri: '/services/data/
|
|
29304
|
+
baseUri: '/services/data/v62.0',
|
|
29303
29305
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list-record/' + config.urlParams.relatedListRecordIds + '',
|
|
29304
29306
|
method: 'get',
|
|
29305
29307
|
body: null,
|
|
@@ -30011,7 +30013,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
|
30011
30013
|
function createResourceRequest$P(config) {
|
|
30012
30014
|
const headers = {};
|
|
30013
30015
|
return {
|
|
30014
|
-
baseUri: '/services/data/
|
|
30016
|
+
baseUri: '/services/data/v62.0',
|
|
30015
30017
|
basePath: '/ui-api/apps',
|
|
30016
30018
|
method: 'get',
|
|
30017
30019
|
body: null,
|
|
@@ -30145,7 +30147,7 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
|
30145
30147
|
function createResourceRequest$O(config) {
|
|
30146
30148
|
const headers = {};
|
|
30147
30149
|
return {
|
|
30148
|
-
baseUri: '/services/data/
|
|
30150
|
+
baseUri: '/services/data/v62.0',
|
|
30149
30151
|
basePath: '/ui-api/apps/' + config.urlParams.appId + '',
|
|
30150
30152
|
method: 'get',
|
|
30151
30153
|
body: null,
|
|
@@ -30481,7 +30483,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
|
30481
30483
|
function createResourceRequest$N(config) {
|
|
30482
30484
|
const headers = {};
|
|
30483
30485
|
return {
|
|
30484
|
-
baseUri: '/services/data/
|
|
30486
|
+
baseUri: '/services/data/v62.0',
|
|
30485
30487
|
basePath: '/ui-api/duplicates/' + config.urlParams.objectApiName + '',
|
|
30486
30488
|
method: 'get',
|
|
30487
30489
|
body: null,
|
|
@@ -30617,7 +30619,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
|
30617
30619
|
function createResourceRequest$M(config) {
|
|
30618
30620
|
const headers = {};
|
|
30619
30621
|
return {
|
|
30620
|
-
baseUri: '/services/data/
|
|
30622
|
+
baseUri: '/services/data/v62.0',
|
|
30621
30623
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '',
|
|
30622
30624
|
method: 'get',
|
|
30623
30625
|
body: null,
|
|
@@ -30754,7 +30756,7 @@ function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
|
|
|
30754
30756
|
function createResourceRequest$L(config) {
|
|
30755
30757
|
const headers = {};
|
|
30756
30758
|
return {
|
|
30757
|
-
baseUri: '/services/data/
|
|
30759
|
+
baseUri: '/services/data/v62.0',
|
|
30758
30760
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
|
|
30759
30761
|
method: 'get',
|
|
30760
30762
|
body: null,
|
|
@@ -30980,7 +30982,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
|
30980
30982
|
function createResourceRequest$K(config) {
|
|
30981
30983
|
const headers = {};
|
|
30982
30984
|
return {
|
|
30983
|
-
baseUri: '/services/data/
|
|
30985
|
+
baseUri: '/services/data/v62.0',
|
|
30984
30986
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
30985
30987
|
method: 'get',
|
|
30986
30988
|
body: null,
|
|
@@ -31239,7 +31241,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
|
31239
31241
|
function createResourceRequest$J(config) {
|
|
31240
31242
|
const headers = {};
|
|
31241
31243
|
return {
|
|
31242
|
-
baseUri: '/services/data/
|
|
31244
|
+
baseUri: '/services/data/v62.0',
|
|
31243
31245
|
basePath: '/ui-api/list-info/batch',
|
|
31244
31246
|
method: 'get',
|
|
31245
31247
|
body: null,
|
|
@@ -31376,7 +31378,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
|
31376
31378
|
function createResourceRequest$I(config) {
|
|
31377
31379
|
const headers = {};
|
|
31378
31380
|
return {
|
|
31379
|
-
baseUri: '/services/data/
|
|
31381
|
+
baseUri: '/services/data/v62.0',
|
|
31380
31382
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
|
|
31381
31383
|
method: 'get',
|
|
31382
31384
|
body: null,
|
|
@@ -31674,7 +31676,7 @@ function ingestSuccess$w(luvio, resourceParams, response) {
|
|
|
31674
31676
|
function createResourceRequest$H(config) {
|
|
31675
31677
|
const headers = {};
|
|
31676
31678
|
return {
|
|
31677
|
-
baseUri: '/services/data/
|
|
31679
|
+
baseUri: '/services/data/v62.0',
|
|
31678
31680
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
|
|
31679
31681
|
method: 'post',
|
|
31680
31682
|
body: config.body,
|
|
@@ -31761,91 +31763,7 @@ const createListInfoAdapterFactory = (luvio) => {
|
|
|
31761
31763
|
};
|
|
31762
31764
|
};
|
|
31763
31765
|
|
|
31764
|
-
|
|
31765
|
-
const getListInfoByName_ConfigPropertyMetadata = [
|
|
31766
|
-
generateParamConfigMetadata$2('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
31767
|
-
generateParamConfigMetadata$2('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
31768
|
-
];
|
|
31769
|
-
const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$2(adapterName$E, getListInfoByName_ConfigPropertyMetadata);
|
|
31770
|
-
const createResourceParams$D = /*#__PURE__*/ createResourceParams$13(getListInfoByName_ConfigPropertyMetadata);
|
|
31771
|
-
function keyBuilder$17$1(luvio, config) {
|
|
31772
|
-
const resourceParams = createResourceParams$D(config);
|
|
31773
|
-
return keyBuilder$1c$1(luvio, resourceParams);
|
|
31774
|
-
}
|
|
31775
|
-
function typeCheckConfig$I(untrustedConfig) {
|
|
31776
|
-
const config = {};
|
|
31777
|
-
typeCheckConfig$19(untrustedConfig, config, getListInfoByName_ConfigPropertyMetadata);
|
|
31778
|
-
return config;
|
|
31779
|
-
}
|
|
31780
|
-
function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
31781
|
-
if (!untrustedIsObject$2(untrustedConfig)) {
|
|
31782
|
-
return null;
|
|
31783
|
-
}
|
|
31784
|
-
const config = typeCheckConfig$I(untrustedConfig);
|
|
31785
|
-
if (!areRequiredParametersPresent$1(config, configPropertyNames)) {
|
|
31786
|
-
return null;
|
|
31787
|
-
}
|
|
31788
|
-
return config;
|
|
31789
|
-
}
|
|
31790
|
-
function adapterFragment$o(luvio, config) {
|
|
31791
|
-
createResourceParams$D(config);
|
|
31792
|
-
return select$16$1();
|
|
31793
|
-
}
|
|
31794
|
-
function onFetchResponseSuccess$q(luvio, config, resourceParams, response) {
|
|
31795
|
-
const snapshot = ingestSuccess$z(luvio, resourceParams, response, {
|
|
31796
|
-
config,
|
|
31797
|
-
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions$1)
|
|
31798
|
-
});
|
|
31799
|
-
return luvio.storeBroadcast().then(() => snapshot);
|
|
31800
|
-
}
|
|
31801
|
-
function onFetchResponseError$q(luvio, config, resourceParams, response) {
|
|
31802
|
-
const snapshot = ingestError$q(luvio, resourceParams, response, {
|
|
31803
|
-
config,
|
|
31804
|
-
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions$1)
|
|
31805
|
-
});
|
|
31806
|
-
return luvio.storeBroadcast().then(() => snapshot);
|
|
31807
|
-
}
|
|
31808
|
-
function buildNetworkSnapshot$H(luvio, config, options) {
|
|
31809
|
-
const resourceParams = createResourceParams$D(config);
|
|
31810
|
-
const request = createResourceRequest$K(resourceParams);
|
|
31811
|
-
return luvio.dispatchResourceRequest(request, options)
|
|
31812
|
-
.then((response) => {
|
|
31813
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$q(luvio, config, resourceParams, response), () => {
|
|
31814
|
-
const cache = new StoreKeyMap();
|
|
31815
|
-
getResponseCacheKeys$H(cache, luvio, resourceParams, response.body);
|
|
31816
|
-
return cache;
|
|
31817
|
-
});
|
|
31818
|
-
}, (response) => {
|
|
31819
|
-
return luvio.handleErrorResponse(() => onFetchResponseError$q(luvio, config, resourceParams, response));
|
|
31820
|
-
});
|
|
31821
|
-
}
|
|
31822
|
-
function buildNetworkSnapshotCachePolicy$u(context, coercedAdapterRequestContext) {
|
|
31823
|
-
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$H, undefined, false);
|
|
31824
|
-
}
|
|
31825
|
-
function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
31826
|
-
const { luvio, config } = context;
|
|
31827
|
-
const selector = {
|
|
31828
|
-
recordId: keyBuilder$17$1(luvio, config),
|
|
31829
|
-
node: adapterFragment$o(luvio, config),
|
|
31830
|
-
variables: {},
|
|
31831
|
-
};
|
|
31832
|
-
const cacheSnapshot = storeLookup(selector, {
|
|
31833
|
-
config,
|
|
31834
|
-
resolve: () => buildNetworkSnapshot$H(luvio, config, snapshotRefreshOptions$1)
|
|
31835
|
-
});
|
|
31836
|
-
return cacheSnapshot;
|
|
31837
|
-
}
|
|
31838
|
-
const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoByName(untrustedConfig, requestContext) {
|
|
31839
|
-
const config = validateAdapterConfig$I(untrustedConfig, getListInfoByName_ConfigPropertyNames);
|
|
31840
|
-
// Invalid or incomplete config
|
|
31841
|
-
if (config === null) {
|
|
31842
|
-
return null;
|
|
31843
|
-
}
|
|
31844
|
-
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
31845
|
-
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
31846
|
-
};
|
|
31847
|
-
|
|
31848
|
-
function keyBuilder$16$1(luvio, params) {
|
|
31766
|
+
function keyBuilder$17$1(luvio, params) {
|
|
31849
31767
|
return keyBuilder$27(luvio, {
|
|
31850
31768
|
objectApiName: params.urlParams.objectApiName,
|
|
31851
31769
|
listViewApiName: params.urlParams.listViewApiName,
|
|
@@ -31853,7 +31771,7 @@ function keyBuilder$16$1(luvio, params) {
|
|
|
31853
31771
|
});
|
|
31854
31772
|
}
|
|
31855
31773
|
function getResponseCacheKeys$D(cacheKeyMap, luvio, resourceParams) {
|
|
31856
|
-
const key = keyBuilder$
|
|
31774
|
+
const key = keyBuilder$17$1(luvio, resourceParams);
|
|
31857
31775
|
cacheKeyMap.set(key, {
|
|
31858
31776
|
namespace: keyPrefix$2,
|
|
31859
31777
|
representationName: RepresentationType$X,
|
|
@@ -31861,13 +31779,13 @@ function getResponseCacheKeys$D(cacheKeyMap, luvio, resourceParams) {
|
|
|
31861
31779
|
});
|
|
31862
31780
|
}
|
|
31863
31781
|
function evictSuccess$1(luvio, resourceParams) {
|
|
31864
|
-
const key = keyBuilder$
|
|
31782
|
+
const key = keyBuilder$17$1(luvio, resourceParams);
|
|
31865
31783
|
luvio.storeEvict(key);
|
|
31866
31784
|
}
|
|
31867
31785
|
function createResourceRequest$G(config) {
|
|
31868
31786
|
const headers = {};
|
|
31869
31787
|
return {
|
|
31870
|
-
baseUri: '/services/data/
|
|
31788
|
+
baseUri: '/services/data/v62.0',
|
|
31871
31789
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
31872
31790
|
method: 'delete',
|
|
31873
31791
|
body: null,
|
|
@@ -31878,30 +31796,30 @@ function createResourceRequest$G(config) {
|
|
|
31878
31796
|
};
|
|
31879
31797
|
}
|
|
31880
31798
|
|
|
31881
|
-
const adapterName$
|
|
31799
|
+
const adapterName$E = 'deleteListInfo';
|
|
31882
31800
|
const deleteListInfo_ConfigPropertyMetadata = [
|
|
31883
31801
|
generateParamConfigMetadata$2('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
31884
31802
|
generateParamConfigMetadata$2('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
31885
31803
|
];
|
|
31886
|
-
const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$2(adapterName$
|
|
31887
|
-
const createResourceParams$
|
|
31888
|
-
function typeCheckConfig$
|
|
31804
|
+
const deleteListInfo_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$2(adapterName$E, deleteListInfo_ConfigPropertyMetadata);
|
|
31805
|
+
const createResourceParams$D = /*#__PURE__*/ createResourceParams$13(deleteListInfo_ConfigPropertyMetadata);
|
|
31806
|
+
function typeCheckConfig$I(untrustedConfig) {
|
|
31889
31807
|
const config = {};
|
|
31890
31808
|
typeCheckConfig$19(untrustedConfig, config, deleteListInfo_ConfigPropertyMetadata);
|
|
31891
31809
|
return config;
|
|
31892
31810
|
}
|
|
31893
|
-
function validateAdapterConfig$
|
|
31811
|
+
function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
31894
31812
|
if (!untrustedIsObject$2(untrustedConfig)) {
|
|
31895
31813
|
return null;
|
|
31896
31814
|
}
|
|
31897
|
-
const config = typeCheckConfig$
|
|
31815
|
+
const config = typeCheckConfig$I(untrustedConfig);
|
|
31898
31816
|
if (!areRequiredParametersPresent$1(config, configPropertyNames)) {
|
|
31899
31817
|
return null;
|
|
31900
31818
|
}
|
|
31901
31819
|
return config;
|
|
31902
31820
|
}
|
|
31903
|
-
function buildNetworkSnapshot$
|
|
31904
|
-
const resourceParams = createResourceParams$
|
|
31821
|
+
function buildNetworkSnapshot$H(luvio, config, options) {
|
|
31822
|
+
const resourceParams = createResourceParams$D(config);
|
|
31905
31823
|
const request = createResourceRequest$G(resourceParams);
|
|
31906
31824
|
return luvio.dispatchResourceRequest(request, options)
|
|
31907
31825
|
.then(() => {
|
|
@@ -31920,13 +31838,97 @@ function buildNetworkSnapshot$G(luvio, config, options) {
|
|
|
31920
31838
|
}
|
|
31921
31839
|
const deleteListInfoAdapterFactory = (luvio) => {
|
|
31922
31840
|
return function UiApideleteListInfo(untrustedConfig) {
|
|
31923
|
-
const config = validateAdapterConfig$
|
|
31841
|
+
const config = validateAdapterConfig$I(untrustedConfig, deleteListInfo_ConfigPropertyNames);
|
|
31924
31842
|
// Invalid or incomplete config
|
|
31925
31843
|
if (config === null) {
|
|
31926
|
-
throw new Error(`Invalid config for "${adapterName$
|
|
31844
|
+
throw new Error(`Invalid config for "${adapterName$E}"`);
|
|
31927
31845
|
}
|
|
31928
|
-
return buildNetworkSnapshot$
|
|
31846
|
+
return buildNetworkSnapshot$H(luvio, config);
|
|
31847
|
+
};
|
|
31848
|
+
};
|
|
31849
|
+
|
|
31850
|
+
const adapterName$D = 'getListInfoByName';
|
|
31851
|
+
const getListInfoByName_ConfigPropertyMetadata = [
|
|
31852
|
+
generateParamConfigMetadata$2('listViewApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
31853
|
+
generateParamConfigMetadata$2('objectApiName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
31854
|
+
];
|
|
31855
|
+
const getListInfoByName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig$2(adapterName$D, getListInfoByName_ConfigPropertyMetadata);
|
|
31856
|
+
const createResourceParams$C = /*#__PURE__*/ createResourceParams$13(getListInfoByName_ConfigPropertyMetadata);
|
|
31857
|
+
function keyBuilder$16$1(luvio, config) {
|
|
31858
|
+
const resourceParams = createResourceParams$C(config);
|
|
31859
|
+
return keyBuilder$1c$1(luvio, resourceParams);
|
|
31860
|
+
}
|
|
31861
|
+
function typeCheckConfig$H(untrustedConfig) {
|
|
31862
|
+
const config = {};
|
|
31863
|
+
typeCheckConfig$19(untrustedConfig, config, getListInfoByName_ConfigPropertyMetadata);
|
|
31864
|
+
return config;
|
|
31865
|
+
}
|
|
31866
|
+
function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
|
|
31867
|
+
if (!untrustedIsObject$2(untrustedConfig)) {
|
|
31868
|
+
return null;
|
|
31869
|
+
}
|
|
31870
|
+
const config = typeCheckConfig$H(untrustedConfig);
|
|
31871
|
+
if (!areRequiredParametersPresent$1(config, configPropertyNames)) {
|
|
31872
|
+
return null;
|
|
31873
|
+
}
|
|
31874
|
+
return config;
|
|
31875
|
+
}
|
|
31876
|
+
function adapterFragment$o(luvio, config) {
|
|
31877
|
+
createResourceParams$C(config);
|
|
31878
|
+
return select$16$1();
|
|
31879
|
+
}
|
|
31880
|
+
function onFetchResponseSuccess$q(luvio, config, resourceParams, response) {
|
|
31881
|
+
const snapshot = ingestSuccess$z(luvio, resourceParams, response, {
|
|
31882
|
+
config,
|
|
31883
|
+
resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions$1)
|
|
31884
|
+
});
|
|
31885
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
31886
|
+
}
|
|
31887
|
+
function onFetchResponseError$q(luvio, config, resourceParams, response) {
|
|
31888
|
+
const snapshot = ingestError$q(luvio, resourceParams, response, {
|
|
31889
|
+
config,
|
|
31890
|
+
resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions$1)
|
|
31891
|
+
});
|
|
31892
|
+
return luvio.storeBroadcast().then(() => snapshot);
|
|
31893
|
+
}
|
|
31894
|
+
function buildNetworkSnapshot$G(luvio, config, options) {
|
|
31895
|
+
const resourceParams = createResourceParams$C(config);
|
|
31896
|
+
const request = createResourceRequest$K(resourceParams);
|
|
31897
|
+
return luvio.dispatchResourceRequest(request, options)
|
|
31898
|
+
.then((response) => {
|
|
31899
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess$q(luvio, config, resourceParams, response), () => {
|
|
31900
|
+
const cache = new StoreKeyMap();
|
|
31901
|
+
getResponseCacheKeys$H(cache, luvio, resourceParams, response.body);
|
|
31902
|
+
return cache;
|
|
31903
|
+
});
|
|
31904
|
+
}, (response) => {
|
|
31905
|
+
return luvio.handleErrorResponse(() => onFetchResponseError$q(luvio, config, resourceParams, response));
|
|
31906
|
+
});
|
|
31907
|
+
}
|
|
31908
|
+
function buildNetworkSnapshotCachePolicy$u(context, coercedAdapterRequestContext) {
|
|
31909
|
+
return buildNetworkSnapshotCachePolicy$S(context, coercedAdapterRequestContext, buildNetworkSnapshot$G, undefined, false);
|
|
31910
|
+
}
|
|
31911
|
+
function buildCachedSnapshotCachePolicy$t(context, storeLookup) {
|
|
31912
|
+
const { luvio, config } = context;
|
|
31913
|
+
const selector = {
|
|
31914
|
+
recordId: keyBuilder$16$1(luvio, config),
|
|
31915
|
+
node: adapterFragment$o(luvio, config),
|
|
31916
|
+
variables: {},
|
|
31929
31917
|
};
|
|
31918
|
+
const cacheSnapshot = storeLookup(selector, {
|
|
31919
|
+
config,
|
|
31920
|
+
resolve: () => buildNetworkSnapshot$G(luvio, config, snapshotRefreshOptions$1)
|
|
31921
|
+
});
|
|
31922
|
+
return cacheSnapshot;
|
|
31923
|
+
}
|
|
31924
|
+
const getListInfoByNameAdapterFactory = (luvio) => function UiApi__getListInfoByName(untrustedConfig, requestContext) {
|
|
31925
|
+
const config = validateAdapterConfig$H(untrustedConfig, getListInfoByName_ConfigPropertyNames);
|
|
31926
|
+
// Invalid or incomplete config
|
|
31927
|
+
if (config === null) {
|
|
31928
|
+
return null;
|
|
31929
|
+
}
|
|
31930
|
+
return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
|
|
31931
|
+
buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
|
|
31930
31932
|
};
|
|
31931
31933
|
|
|
31932
31934
|
function select$12$1(luvio, params) {
|
|
@@ -31950,7 +31952,7 @@ function ingestSuccess$v(luvio, resourceParams, response) {
|
|
|
31950
31952
|
function createResourceRequest$F(config) {
|
|
31951
31953
|
const headers = {};
|
|
31952
31954
|
return {
|
|
31953
|
-
baseUri: '/services/data/
|
|
31955
|
+
baseUri: '/services/data/v62.0',
|
|
31954
31956
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
31955
31957
|
method: 'patch',
|
|
31956
31958
|
body: config.body,
|
|
@@ -32419,7 +32421,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
|
32419
32421
|
function createResourceRequest$E(config) {
|
|
32420
32422
|
const headers = {};
|
|
32421
32423
|
return {
|
|
32422
|
-
baseUri: '/services/data/
|
|
32424
|
+
baseUri: '/services/data/v62.0',
|
|
32423
32425
|
basePath: '/ui-api/list-object-info/' + config.urlParams.objectApiName + '',
|
|
32424
32426
|
method: 'get',
|
|
32425
32427
|
body: null,
|
|
@@ -32655,7 +32657,7 @@ function ingestError$m(luvio, params, error, snapshotRefresh) {
|
|
|
32655
32657
|
function createResourceRequest$D(config) {
|
|
32656
32658
|
const headers = {};
|
|
32657
32659
|
return {
|
|
32658
|
-
baseUri: '/services/data/
|
|
32660
|
+
baseUri: '/services/data/v62.0',
|
|
32659
32661
|
basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
32660
32662
|
method: 'get',
|
|
32661
32663
|
body: null,
|
|
@@ -32791,7 +32793,7 @@ function ingestSuccess$s(luvio, resourceParams, response) {
|
|
|
32791
32793
|
function createResourceRequest$C(config) {
|
|
32792
32794
|
const headers = {};
|
|
32793
32795
|
return {
|
|
32794
|
-
baseUri: '/services/data/
|
|
32796
|
+
baseUri: '/services/data/v62.0',
|
|
32795
32797
|
basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
32796
32798
|
method: 'patch',
|
|
32797
32799
|
body: config.body,
|
|
@@ -33031,7 +33033,7 @@ function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
|
33031
33033
|
function createResourceRequest$B(config) {
|
|
33032
33034
|
const headers = {};
|
|
33033
33035
|
return {
|
|
33034
|
-
baseUri: '/services/data/
|
|
33036
|
+
baseUri: '/services/data/v62.0',
|
|
33035
33037
|
basePath: '/ui-api/nav-items',
|
|
33036
33038
|
method: 'get',
|
|
33037
33039
|
body: null,
|
|
@@ -33159,7 +33161,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
|
|
|
33159
33161
|
function createResourceRequest$A(config) {
|
|
33160
33162
|
const headers = {};
|
|
33161
33163
|
return {
|
|
33162
|
-
baseUri: '/services/data/
|
|
33164
|
+
baseUri: '/services/data/v62.0',
|
|
33163
33165
|
basePath: '/ui-api/object-info',
|
|
33164
33166
|
method: 'get',
|
|
33165
33167
|
body: null,
|
|
@@ -33491,7 +33493,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
|
33491
33493
|
function createResourceRequest$z(config) {
|
|
33492
33494
|
const headers = {};
|
|
33493
33495
|
return {
|
|
33494
|
-
baseUri: '/services/data/
|
|
33496
|
+
baseUri: '/services/data/v62.0',
|
|
33495
33497
|
basePath: '/ui-api/object-info/batch/' + config.urlParams.objectApiNames + '',
|
|
33496
33498
|
method: 'get',
|
|
33497
33499
|
body: null,
|
|
@@ -33745,8 +33747,8 @@ const select$L$1 = function PicklistValueRepresentationSelect() {
|
|
|
33745
33747
|
const keyBuilderFromType$i =
|
|
33746
33748
|
/**
|
|
33747
33749
|
* custom key builder from PicklistValuesRepresentation.
|
|
33748
|
-
* PicklistValuesRepresentation.url is like /services/data/
|
|
33749
|
-
* the '/services/data/
|
|
33750
|
+
* PicklistValuesRepresentation.url is like /services/data/v62.0/ui-api/object-info/Account/picklist-values/012000000000000AAA/AccountSource
|
|
33751
|
+
* the '/services/data/v62.0' in the key make trouble for new js release. so chop it off make the key unique cross releases.
|
|
33750
33752
|
*/
|
|
33751
33753
|
function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
33752
33754
|
const id = object.url.substring(object.url.indexOf('/ui-api'));
|
|
@@ -33936,7 +33938,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
|
33936
33938
|
function createResourceRequest$y(config) {
|
|
33937
33939
|
const headers = {};
|
|
33938
33940
|
return {
|
|
33939
|
-
baseUri: '/services/data/
|
|
33941
|
+
baseUri: '/services/data/v62.0',
|
|
33940
33942
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '',
|
|
33941
33943
|
method: 'get',
|
|
33942
33944
|
body: null,
|
|
@@ -34038,7 +34040,7 @@ function getResponseCacheKeys$u(storeKeyMap, luvio, resourceParams, response) {
|
|
|
34038
34040
|
function createResourceRequest$x(config) {
|
|
34039
34041
|
const headers = {};
|
|
34040
34042
|
return {
|
|
34041
|
-
baseUri: '/services/data/
|
|
34043
|
+
baseUri: '/services/data/v62.0',
|
|
34042
34044
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '/' + config.urlParams.fieldApiName + '',
|
|
34043
34045
|
method: 'get',
|
|
34044
34046
|
body: null,
|
|
@@ -34243,7 +34245,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
34243
34245
|
function createResourceRequest$w(config) {
|
|
34244
34246
|
const headers = {};
|
|
34245
34247
|
return {
|
|
34246
|
-
baseUri: '/services/data/
|
|
34248
|
+
baseUri: '/services/data/v62.0',
|
|
34247
34249
|
basePath: '/ui-api/path/layout/' + config.urlParams.objectApiName + '',
|
|
34248
34250
|
method: 'get',
|
|
34249
34251
|
body: null,
|
|
@@ -34414,7 +34416,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
34414
34416
|
function createResourceRequest$v(config) {
|
|
34415
34417
|
const headers = {};
|
|
34416
34418
|
return {
|
|
34417
|
-
baseUri: '/services/data/
|
|
34419
|
+
baseUri: '/services/data/v62.0',
|
|
34418
34420
|
basePath: '/ui-api/predupe',
|
|
34419
34421
|
method: 'post',
|
|
34420
34422
|
body: config.body,
|
|
@@ -35096,7 +35098,7 @@ function getTypeCacheKeys$j$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
35096
35098
|
throw new Error(`Invalid discriminatorValue "${discriminatorValue}". Expected one of "200","400","404"`);
|
|
35097
35099
|
}
|
|
35098
35100
|
|
|
35099
|
-
const TTL$d =
|
|
35101
|
+
const TTL$d = 1800000;
|
|
35100
35102
|
const VERSION$i$1 = "c44c049fa6ad7cf7e932c0aab9107d86";
|
|
35101
35103
|
const RepresentationType$i = 'RecordAvatarBulkMapRepresentation';
|
|
35102
35104
|
function normalize$d(input, existing, path, luvio, store, timestamp) {
|
|
@@ -35194,7 +35196,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
|
35194
35196
|
function createResourceRequest$u(config) {
|
|
35195
35197
|
const headers = {};
|
|
35196
35198
|
return {
|
|
35197
|
-
baseUri: '/services/data/
|
|
35199
|
+
baseUri: '/services/data/v62.0',
|
|
35198
35200
|
basePath: '/ui-api/record-avatars/batch/' + config.urlParams.recordIds + '',
|
|
35199
35201
|
method: 'get',
|
|
35200
35202
|
body: null,
|
|
@@ -35804,7 +35806,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
35804
35806
|
function createResourceRequest$t(config) {
|
|
35805
35807
|
const headers = {};
|
|
35806
35808
|
return {
|
|
35807
|
-
baseUri: '/services/data/
|
|
35809
|
+
baseUri: '/services/data/v62.0',
|
|
35808
35810
|
basePath: '/ui-api/related-list-count/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
|
|
35809
35811
|
method: 'get',
|
|
35810
35812
|
body: null,
|
|
@@ -36059,7 +36061,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
|
|
|
36059
36061
|
function createResourceRequest$s(config) {
|
|
36060
36062
|
const headers = {};
|
|
36061
36063
|
return {
|
|
36062
|
-
baseUri: '/services/data/
|
|
36064
|
+
baseUri: '/services/data/v62.0',
|
|
36063
36065
|
basePath: '/ui-api/related-list-count/batch/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListNames + '',
|
|
36064
36066
|
method: 'get',
|
|
36065
36067
|
body: null,
|
|
@@ -36422,7 +36424,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
|
|
|
36422
36424
|
function createResourceRequest$r(config) {
|
|
36423
36425
|
const headers = {};
|
|
36424
36426
|
return {
|
|
36425
|
-
baseUri: '/services/data/
|
|
36427
|
+
baseUri: '/services/data/v62.0',
|
|
36426
36428
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
|
|
36427
36429
|
method: 'get',
|
|
36428
36430
|
body: null,
|
|
@@ -36682,7 +36684,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
|
36682
36684
|
function createResourceRequest$q(config) {
|
|
36683
36685
|
const headers = {};
|
|
36684
36686
|
return {
|
|
36685
|
-
baseUri: '/services/data/
|
|
36687
|
+
baseUri: '/services/data/v62.0',
|
|
36686
36688
|
basePath: '/ui-api/related-list-info/batch/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListNames + '',
|
|
36687
36689
|
method: 'get',
|
|
36688
36690
|
body: null,
|
|
@@ -36873,7 +36875,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
36873
36875
|
function createResourceRequest$p(config) {
|
|
36874
36876
|
const headers = {};
|
|
36875
36877
|
return {
|
|
36876
|
-
baseUri: '/services/data/
|
|
36878
|
+
baseUri: '/services/data/v62.0',
|
|
36877
36879
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '',
|
|
36878
36880
|
method: 'get',
|
|
36879
36881
|
body: null,
|
|
@@ -37116,7 +37118,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
|
|
|
37116
37118
|
function createResourceRequest$o(config) {
|
|
37117
37119
|
const headers = {};
|
|
37118
37120
|
return {
|
|
37119
|
-
baseUri: '/services/data/
|
|
37121
|
+
baseUri: '/services/data/v62.0',
|
|
37120
37122
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
|
|
37121
37123
|
method: 'patch',
|
|
37122
37124
|
body: config.body,
|
|
@@ -37286,7 +37288,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
37286
37288
|
function createResourceRequest$n(config) {
|
|
37287
37289
|
const headers = {};
|
|
37288
37290
|
return {
|
|
37289
|
-
baseUri: '/services/data/
|
|
37291
|
+
baseUri: '/services/data/v62.0',
|
|
37290
37292
|
basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
|
|
37291
37293
|
method: 'get',
|
|
37292
37294
|
body: null,
|
|
@@ -37538,7 +37540,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
37538
37540
|
function createResourceRequest$m(config) {
|
|
37539
37541
|
const headers = {};
|
|
37540
37542
|
return {
|
|
37541
|
-
baseUri: '/services/data/
|
|
37543
|
+
baseUri: '/services/data/v62.0',
|
|
37542
37544
|
basePath: '/ui-api/related-list-preferences/batch/' + config.urlParams.preferencesIds + '',
|
|
37543
37545
|
method: 'get',
|
|
37544
37546
|
body: null,
|
|
@@ -37736,7 +37738,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
|
|
|
37736
37738
|
function createResourceRequest$l(config) {
|
|
37737
37739
|
const headers = {};
|
|
37738
37740
|
return {
|
|
37739
|
-
baseUri: '/services/data/
|
|
37741
|
+
baseUri: '/services/data/v62.0',
|
|
37740
37742
|
basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
|
|
37741
37743
|
method: 'patch',
|
|
37742
37744
|
body: config.body,
|
|
@@ -38495,7 +38497,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
38495
38497
|
function createResourceRequest$k(config) {
|
|
38496
38498
|
const headers = {};
|
|
38497
38499
|
return {
|
|
38498
|
-
baseUri: '/services/data/
|
|
38500
|
+
baseUri: '/services/data/v62.0',
|
|
38499
38501
|
basePath: '/ui-api/related-list-records/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
|
|
38500
38502
|
method: 'post',
|
|
38501
38503
|
body: config.body,
|
|
@@ -38770,7 +38772,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
38770
38772
|
function createResourceRequest$j(config) {
|
|
38771
38773
|
const headers = {};
|
|
38772
38774
|
return {
|
|
38773
|
-
baseUri: '/services/data/
|
|
38775
|
+
baseUri: '/services/data/v62.0',
|
|
38774
38776
|
basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
|
|
38775
38777
|
method: 'post',
|
|
38776
38778
|
body: config.body,
|
|
@@ -39136,7 +39138,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
39136
39138
|
function createResourceRequest$i(config) {
|
|
39137
39139
|
const headers = {};
|
|
39138
39140
|
return {
|
|
39139
|
-
baseUri: '/services/data/
|
|
39141
|
+
baseUri: '/services/data/v62.0',
|
|
39140
39142
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters',
|
|
39141
39143
|
method: 'get',
|
|
39142
39144
|
body: null,
|
|
@@ -39318,7 +39320,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
39318
39320
|
function createResourceRequest$h(config) {
|
|
39319
39321
|
const headers = {};
|
|
39320
39322
|
return {
|
|
39321
|
-
baseUri: '/services/data/
|
|
39323
|
+
baseUri: '/services/data/v62.0',
|
|
39322
39324
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters/' + config.urlParams.filterApiName + '/options',
|
|
39323
39325
|
method: 'get',
|
|
39324
39326
|
body: null,
|
|
@@ -39499,7 +39501,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
39499
39501
|
function createResourceRequest$g(config) {
|
|
39500
39502
|
const headers = {};
|
|
39501
39503
|
return {
|
|
39502
|
-
baseUri: '/services/data/
|
|
39504
|
+
baseUri: '/services/data/v62.0',
|
|
39503
39505
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/lookup/' + config.urlParams.fieldApiName + '',
|
|
39504
39506
|
method: 'get',
|
|
39505
39507
|
body: null,
|
|
@@ -39818,7 +39820,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
39818
39820
|
function createResourceRequest$f(config) {
|
|
39819
39821
|
const headers = {};
|
|
39820
39822
|
return {
|
|
39821
|
-
baseUri: '/services/data/
|
|
39823
|
+
baseUri: '/services/data/v62.0',
|
|
39822
39824
|
basePath: '/ui-api/search/results',
|
|
39823
39825
|
method: 'post',
|
|
39824
39826
|
body: config.body,
|
|
@@ -40021,7 +40023,7 @@ function ingestError$1$1(luvio, params, error, snapshotRefresh) {
|
|
|
40021
40023
|
function createResourceRequest$e(config) {
|
|
40022
40024
|
const headers = {};
|
|
40023
40025
|
return {
|
|
40024
|
-
baseUri: '/services/data/
|
|
40026
|
+
baseUri: '/services/data/v62.0',
|
|
40025
40027
|
basePath: '/ui-api/search/results/keyword',
|
|
40026
40028
|
method: 'post',
|
|
40027
40029
|
body: config.body,
|
|
@@ -40261,7 +40263,7 @@ function ingestSuccess$4(luvio, response) {
|
|
|
40261
40263
|
function createResourceRequest$d(config) {
|
|
40262
40264
|
const headers = {};
|
|
40263
40265
|
return {
|
|
40264
|
-
baseUri: '/services/data/
|
|
40266
|
+
baseUri: '/services/data/v62.0',
|
|
40265
40267
|
basePath: '/ui-api/records/batch',
|
|
40266
40268
|
method: 'post',
|
|
40267
40269
|
body: config.body,
|
|
@@ -40375,7 +40377,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
40375
40377
|
function createResourceRequest$c(config) {
|
|
40376
40378
|
const headers = {};
|
|
40377
40379
|
return {
|
|
40378
|
-
baseUri: '/services/data/
|
|
40380
|
+
baseUri: '/services/data/v62.0',
|
|
40379
40381
|
basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
|
|
40380
40382
|
method: 'patch',
|
|
40381
40383
|
body: config.body,
|
|
@@ -40495,7 +40497,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
40495
40497
|
function createResourceRequest$b(config) {
|
|
40496
40498
|
const headers = {};
|
|
40497
40499
|
return {
|
|
40498
|
-
baseUri: '/services/data/
|
|
40500
|
+
baseUri: '/services/data/v62.0',
|
|
40499
40501
|
basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
|
|
40500
40502
|
method: 'post',
|
|
40501
40503
|
body: config.body,
|
|
@@ -40597,7 +40599,7 @@ const factory$c = performQuickActionAdapterFactory;
|
|
|
40597
40599
|
function createResourceRequest$a(config) {
|
|
40598
40600
|
const headers = {};
|
|
40599
40601
|
return {
|
|
40600
|
-
baseUri: '/services/data/
|
|
40602
|
+
baseUri: '/services/data/v62.0',
|
|
40601
40603
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
|
|
40602
40604
|
method: 'patch',
|
|
40603
40605
|
body: config.body,
|
|
@@ -41058,7 +41060,7 @@ function getResponseCacheKeys$7(storeKeyMap, luvio, resourceParams, response) {
|
|
|
41058
41060
|
function createResourceRequest$9(config) {
|
|
41059
41061
|
const headers = {};
|
|
41060
41062
|
return {
|
|
41061
|
-
baseUri: '/services/data/
|
|
41063
|
+
baseUri: '/services/data/v62.0',
|
|
41062
41064
|
basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
|
|
41063
41065
|
method: 'post',
|
|
41064
41066
|
body: config.body,
|
|
@@ -41282,7 +41284,7 @@ const factory$9 = (luvio) => {
|
|
|
41282
41284
|
function createResourceRequest$8(config) {
|
|
41283
41285
|
const headers = {};
|
|
41284
41286
|
return {
|
|
41285
|
-
baseUri: '/services/data/
|
|
41287
|
+
baseUri: '/services/data/v62.0',
|
|
41286
41288
|
basePath: '/ui-api/record-avatars/' + config.urlParams.recordId + '/association',
|
|
41287
41289
|
method: 'post',
|
|
41288
41290
|
body: config.body,
|
|
@@ -41634,7 +41636,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
|
41634
41636
|
function createResourceRequest$7(config) {
|
|
41635
41637
|
const headers = {};
|
|
41636
41638
|
return {
|
|
41637
|
-
baseUri: '/services/data/
|
|
41639
|
+
baseUri: '/services/data/v62.0',
|
|
41638
41640
|
basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
|
|
41639
41641
|
method: 'get',
|
|
41640
41642
|
body: null,
|
|
@@ -42165,7 +42167,7 @@ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
|
42165
42167
|
function createResourceRequest$6(config) {
|
|
42166
42168
|
const headers = {};
|
|
42167
42169
|
return {
|
|
42168
|
-
baseUri: '/services/data/
|
|
42170
|
+
baseUri: '/services/data/v62.0',
|
|
42169
42171
|
basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
|
|
42170
42172
|
method: 'get',
|
|
42171
42173
|
body: null,
|
|
@@ -42696,7 +42698,7 @@ function ingestError$M(luvio, params, error, snapshotRefresh) {
|
|
|
42696
42698
|
function createResourceRequest$5(config) {
|
|
42697
42699
|
const headers = {};
|
|
42698
42700
|
return {
|
|
42699
|
-
baseUri: '/services/data/
|
|
42701
|
+
baseUri: '/services/data/v62.0',
|
|
42700
42702
|
basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
|
|
42701
42703
|
method: 'get',
|
|
42702
42704
|
body: null,
|
|
@@ -42901,7 +42903,7 @@ function getResponseCacheKeys$3(storeKeyMap, luvio, resourceParams, response) {
|
|
|
42901
42903
|
function createResourceRequest$4(config) {
|
|
42902
42904
|
const headers = {};
|
|
42903
42905
|
return {
|
|
42904
|
-
baseUri: '/services/data/
|
|
42906
|
+
baseUri: '/services/data/v62.0',
|
|
42905
42907
|
basePath: '/ui-api/records',
|
|
42906
42908
|
method: 'post',
|
|
42907
42909
|
body: config.body,
|
|
@@ -42913,6 +42915,7 @@ function createResourceRequest$4(config) {
|
|
|
42913
42915
|
}
|
|
42914
42916
|
|
|
42915
42917
|
const createRecord_ConfigPropertyMetadata = [
|
|
42918
|
+
generateParamConfigMetadata$2('handleOwnerChange', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
42916
42919
|
generateParamConfigMetadata$2('includeFieldsInBody', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
42917
42920
|
generateParamConfigMetadata$2('triggerOtherEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
42918
42921
|
generateParamConfigMetadata$2('triggerUserEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
@@ -42995,7 +42998,7 @@ function evictSuccess(luvio, resourceParams) {
|
|
|
42995
42998
|
function createResourceRequest$3(config) {
|
|
42996
42999
|
const headers = {};
|
|
42997
43000
|
return {
|
|
42998
|
-
baseUri: '/services/data/
|
|
43001
|
+
baseUri: '/services/data/v62.0',
|
|
42999
43002
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
43000
43003
|
method: 'delete',
|
|
43001
43004
|
body: null,
|
|
@@ -43079,7 +43082,7 @@ function createResourceRequest$2$1(config) {
|
|
|
43079
43082
|
headers['If-Unmodified-Since'] = header_ifUnmodifiedSince;
|
|
43080
43083
|
}
|
|
43081
43084
|
return {
|
|
43082
|
-
baseUri: '/services/data/
|
|
43085
|
+
baseUri: '/services/data/v62.0',
|
|
43083
43086
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
43084
43087
|
method: 'patch',
|
|
43085
43088
|
body: config.body,
|
|
@@ -43093,6 +43096,7 @@ function createResourceRequest$2$1(config) {
|
|
|
43093
43096
|
const adapterName$13 = 'updateRecord';
|
|
43094
43097
|
const updateRecord_ConfigPropertyMetadata = [
|
|
43095
43098
|
generateParamConfigMetadata$2('recordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18),
|
|
43099
|
+
generateParamConfigMetadata$2('handleOwnerChange', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
43096
43100
|
generateParamConfigMetadata$2('triggerOtherEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
43097
43101
|
generateParamConfigMetadata$2('triggerUserEmail', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
43098
43102
|
generateParamConfigMetadata$2('useDefaultRule', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
@@ -43342,7 +43346,7 @@ function createResourceParams$1$1(config) {
|
|
|
43342
43346
|
function createResourceRequest$1$1(config) {
|
|
43343
43347
|
const headers = {};
|
|
43344
43348
|
return {
|
|
43345
|
-
baseUri: '/services/data/
|
|
43349
|
+
baseUri: '/services/data/v62.0',
|
|
43346
43350
|
basePath: '/ui-api/records/content-documents/' +
|
|
43347
43351
|
config.urlParams.contentDocumentId +
|
|
43348
43352
|
'/content-versions',
|
|
@@ -43455,7 +43459,7 @@ function createResourceParams$12(config) {
|
|
|
43455
43459
|
function createResourceRequest$1c(config) {
|
|
43456
43460
|
const headers = {};
|
|
43457
43461
|
return {
|
|
43458
|
-
baseUri: '/services/data/
|
|
43462
|
+
baseUri: '/services/data/v62.0',
|
|
43459
43463
|
basePath: '/ui-api/records/content-documents/content-versions',
|
|
43460
43464
|
method: 'post',
|
|
43461
43465
|
body: config.body,
|
|
@@ -43788,7 +43792,7 @@ const getGlobalActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$Y$1
|
|
|
43788
43792
|
const getKeywordSearchResultsMetadata = { apiFamily: keyPrefix$2, name: adapterName$a, ttl: 200 };
|
|
43789
43793
|
const getLayoutMetadata = { apiFamily: keyPrefix$2, name: adapterName$J, ttl: 900000 };
|
|
43790
43794
|
const getLayoutUserStateMetadata = { apiFamily: keyPrefix$2, name: adapterName$I, ttl: 900000 };
|
|
43791
|
-
const getListInfoByNameMetadata = { apiFamily: keyPrefix$2, name: adapterName$
|
|
43795
|
+
const getListInfoByNameMetadata = { apiFamily: keyPrefix$2, name: adapterName$D, ttl: 900000 };
|
|
43792
43796
|
const getListInfosByNameMetadata = { apiFamily: keyPrefix$2, name: adapterName$H };
|
|
43793
43797
|
const getListInfosByObjectNameMetadata = { apiFamily: keyPrefix$2, name: adapterName$G };
|
|
43794
43798
|
const getListObjectInfoMetadata = { apiFamily: keyPrefix$2, name: adapterName$B, ttl: 900000 };
|
|
@@ -43809,7 +43813,7 @@ const getQuickActionDefaultsMetadata = { apiFamily: keyPrefix$2, name: adapterNa
|
|
|
43809
43813
|
const getQuickActionLayoutMetadata = { apiFamily: keyPrefix$2, name: adapterName$X, ttl: 900000 };
|
|
43810
43814
|
const getRecordMetadata = { apiFamily: keyPrefix$2, name: 'getRecord', ttl: 30000 };
|
|
43811
43815
|
const getRecordActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$R, ttl: 300000 };
|
|
43812
|
-
const getRecordAvatarsMetadata = { apiFamily: keyPrefix$2, name: adapterName$r, ttl:
|
|
43816
|
+
const getRecordAvatarsMetadata = { apiFamily: keyPrefix$2, name: adapterName$r, ttl: 1800000 };
|
|
43813
43817
|
const getRecordCreateDefaultsMetadata = { apiFamily: keyPrefix$2, name: 'getRecordCreateDefaults', ttl: 900000 };
|
|
43814
43818
|
const getRecordEditActionsMetadata = { apiFamily: keyPrefix$2, name: adapterName$Q, ttl: 300000 };
|
|
43815
43819
|
const getRecordTemplateCloneMetadata = { apiFamily: keyPrefix$2, name: 'getRecordTemplateClone', ttl: 1000 };
|
|
@@ -43896,7 +43900,7 @@ function bindExportsTo$1(luvio) {
|
|
|
43896
43900
|
createContentVersion: unwrapSnapshotData(factory$j),
|
|
43897
43901
|
createListInfo: createLDSAdapter(luvio, adapterName$F, createListInfoAdapterFactory),
|
|
43898
43902
|
createRecord: unwrapSnapshotData(factory$4),
|
|
43899
|
-
deleteListInfo: createLDSAdapter(luvio, adapterName$
|
|
43903
|
+
deleteListInfo: createLDSAdapter(luvio, adapterName$E, deleteListInfoAdapterFactory),
|
|
43900
43904
|
deleteRecord: createLDSAdapter(luvio, 'deleteRecord', factory$3),
|
|
43901
43905
|
executeBatchRecordOperations: unwrapSnapshotData(factory$e),
|
|
43902
43906
|
getActionOverrides: createWireAdapterConstructor(luvio, getActionOverrides_ldsAdapter, getActionOverridesMetadata),
|
|
@@ -44184,7 +44188,7 @@ withDefaultLuvio((luvio) => {
|
|
|
44184
44188
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
44185
44189
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
44186
44190
|
});
|
|
44187
|
-
// version: 1.
|
|
44191
|
+
// version: 1.290.0-e2ccd0161
|
|
44188
44192
|
|
|
44189
44193
|
var ldsIdempotencyWriteDisabled = {
|
|
44190
44194
|
isOpen: function (e) {
|
|
@@ -44371,7 +44375,7 @@ const { join: join$2, push: push$2, unshift } = Array.prototype;
|
|
|
44371
44375
|
const { isArray: isArray$5 } = Array;
|
|
44372
44376
|
const { entries: entries$4, keys: keys$8 } = Object;
|
|
44373
44377
|
|
|
44374
|
-
const UI_API_BASE_URI = '/services/data/
|
|
44378
|
+
const UI_API_BASE_URI = '/services/data/v62.0/ui-api';
|
|
44375
44379
|
|
|
44376
44380
|
let instrumentation$2 = {
|
|
44377
44381
|
aggregateUiChunkCount: (_cb) => { },
|
|
@@ -56867,7 +56871,7 @@ function applyReferenceLinksToDraft(record, draftMetadata) {
|
|
|
56867
56871
|
const referencedRecord = referencedRecords.get(key);
|
|
56868
56872
|
recordFields[relationshipName] = {
|
|
56869
56873
|
displayValue: null,
|
|
56870
|
-
value: createLink$
|
|
56874
|
+
value: createLink$1$1(key),
|
|
56871
56875
|
};
|
|
56872
56876
|
// for custom objects, we select the 'Name' field
|
|
56873
56877
|
// otherwise we check the object info for name fields.
|
|
@@ -56895,7 +56899,7 @@ function applyReferenceLinksToDraft(record, draftMetadata) {
|
|
|
56895
56899
|
}
|
|
56896
56900
|
return { ...record, fields: recordFields };
|
|
56897
56901
|
}
|
|
56898
|
-
function createLink$
|
|
56902
|
+
function createLink$1$1(key) {
|
|
56899
56903
|
return { __ref: key };
|
|
56900
56904
|
}
|
|
56901
56905
|
function getReferenceInfoForKey(fieldName, field, luvio, objectInfo) {
|
|
@@ -56910,7 +56914,7 @@ function getReferenceInfoForKey(fieldName, field, luvio, objectInfo) {
|
|
|
56910
56914
|
referenceFieldName: relationshipName,
|
|
56911
56915
|
field: {
|
|
56912
56916
|
displayValue: null,
|
|
56913
|
-
value: createLink$
|
|
56917
|
+
value: createLink$1$1(key),
|
|
56914
56918
|
},
|
|
56915
56919
|
};
|
|
56916
56920
|
}
|
|
@@ -57373,6 +57377,9 @@ function isBackdatingFieldEditable(objectInfo, backdatingFieldName, attributeNam
|
|
|
57373
57377
|
!draftActionFieldNames.includes(backdatingFieldName));
|
|
57374
57378
|
}
|
|
57375
57379
|
|
|
57380
|
+
function createLink$2(key) {
|
|
57381
|
+
return { __ref: key };
|
|
57382
|
+
}
|
|
57376
57383
|
/**
|
|
57377
57384
|
* Records are stored in the durable store with scalar fields denormalized. This function takes that denoramlized
|
|
57378
57385
|
* durable store record representation and normalizes it back out into the format the the luvio store expects it
|
|
@@ -57383,26 +57390,25 @@ function isBackdatingFieldEditable(objectInfo, backdatingFieldName, attributeNam
|
|
|
57383
57390
|
function normalizeRecordFields(key, entry) {
|
|
57384
57391
|
const { data: record } = entry;
|
|
57385
57392
|
const { fields, links } = record;
|
|
57386
|
-
const
|
|
57393
|
+
const missingFieldLinks = keys$3$1(links);
|
|
57394
|
+
const fieldNames = keys$3$1(fields);
|
|
57387
57395
|
const normalizedFields = {};
|
|
57388
57396
|
const returnEntries = {};
|
|
57389
|
-
|
|
57390
|
-
|
|
57397
|
+
// restore fields
|
|
57398
|
+
for (let i = 0, len = fieldNames.length; i < len; i++) {
|
|
57399
|
+
const fieldName = fieldNames[i];
|
|
57391
57400
|
const field = fields[fieldName];
|
|
57401
|
+
const fieldKey = buildRecordFieldStoreKey(key, fieldName);
|
|
57402
|
+
returnEntries[fieldKey] = { data: field };
|
|
57403
|
+
normalizedFields[fieldName] = createLink$2(fieldKey);
|
|
57404
|
+
}
|
|
57405
|
+
// restore missing fields
|
|
57406
|
+
for (let i = 0, len = missingFieldLinks.length; i < len; i++) {
|
|
57407
|
+
const fieldName = missingFieldLinks[i];
|
|
57392
57408
|
const link = links[fieldName];
|
|
57393
|
-
// field is undefined for missing links
|
|
57394
|
-
if (field !== undefined) {
|
|
57395
|
-
const fieldKey = buildRecordFieldStoreKey(key, fieldName);
|
|
57396
|
-
returnEntries[fieldKey] = { data: field };
|
|
57397
|
-
}
|
|
57398
|
-
// we need to restore the undefined __ref node as it is
|
|
57399
|
-
// lost during serialization
|
|
57400
57409
|
if (link.isMissing === true) {
|
|
57401
57410
|
normalizedFields[fieldName] = { ...link, __ref: undefined };
|
|
57402
57411
|
}
|
|
57403
|
-
else {
|
|
57404
|
-
normalizedFields[fieldName] = link;
|
|
57405
|
-
}
|
|
57406
57412
|
}
|
|
57407
57413
|
returnEntries[key] = {
|
|
57408
57414
|
data: assign$3(record, { fields: normalizedFields }),
|
|
@@ -57464,7 +57470,7 @@ function buildDurableRecordRepresentation(normalizedRecord, records, pendingEntr
|
|
|
57464
57470
|
}
|
|
57465
57471
|
}
|
|
57466
57472
|
// we want to preserve fields that are missing nodes
|
|
57467
|
-
if (
|
|
57473
|
+
if (field.isMissing === true) {
|
|
57468
57474
|
links[fieldName] = field;
|
|
57469
57475
|
}
|
|
57470
57476
|
}
|
|
@@ -59748,7 +59754,7 @@ function mergePageUrls(first, second) {
|
|
|
59748
59754
|
/**
|
|
59749
59755
|
* merge to paging url with different set of fields or optional fields as combined one
|
|
59750
59756
|
* the paging url is like
|
|
59751
|
-
* /services/data/
|
|
59757
|
+
* /services/data/v62.0/ui-api/related-list-records/001R0000006l1xKIAQ/Contacts
|
|
59752
59758
|
* ?fields=Id%2CName&optionalFields=Contact.Id%2CContact.Name&pageSize=50&pageToken=0
|
|
59753
59759
|
* @param path1 url path and query parmeter without domain
|
|
59754
59760
|
* @param path2 url path and query parmeter without domain
|
|
@@ -61798,7 +61804,6 @@ class RecordLoaderGraphQL {
|
|
|
61798
61804
|
}, {});
|
|
61799
61805
|
fields['Id'] = { value: id, displayValue: null };
|
|
61800
61806
|
fields['RecordTypeId'] = { value: recordTypeId, displayValue: null };
|
|
61801
|
-
const links = this.generateFieldLinks(id, [...requestedFields, 'Id', 'RecordTypeId']);
|
|
61802
61807
|
return {
|
|
61803
61808
|
apiName: node[`${requiredPrefix}ApiName`],
|
|
61804
61809
|
childRelationships: {},
|
|
@@ -61820,18 +61825,9 @@ class RecordLoaderGraphQL {
|
|
|
61820
61825
|
: null,
|
|
61821
61826
|
weakEtag: node[`${requiredPrefix}WeakEtag`],
|
|
61822
61827
|
fields,
|
|
61823
|
-
links,
|
|
61828
|
+
links: {},
|
|
61824
61829
|
};
|
|
61825
61830
|
}
|
|
61826
|
-
generateFieldLinks(id, fields) {
|
|
61827
|
-
const links = {};
|
|
61828
|
-
for (const field of fields) {
|
|
61829
|
-
links[field] = {
|
|
61830
|
-
__ref: `UiApi::RecordRepresentation:${id}__fields__${field}`,
|
|
61831
|
-
};
|
|
61832
|
-
}
|
|
61833
|
-
return links;
|
|
61834
|
-
}
|
|
61835
61831
|
}
|
|
61836
61832
|
|
|
61837
61833
|
class RecordIngestor {
|
|
@@ -61878,7 +61874,7 @@ function instrumentPrimingSession(session) {
|
|
|
61878
61874
|
// so eslint doesn't complain about nimbus
|
|
61879
61875
|
/* global __nimbus */
|
|
61880
61876
|
// note this is automatically incremented by scripts/release/bump-api-version.js at each release
|
|
61881
|
-
const apiVersion = `
|
|
61877
|
+
const apiVersion = `v62.0`;
|
|
61882
61878
|
const batchEndPointPath = `/services/data/${apiVersion}/graphql/batch`;
|
|
61883
61879
|
const endPointPath = `/services/data/${apiVersion}/graphql`;
|
|
61884
61880
|
const batchObjectInfoEndpoint = `/services/data/${apiVersion}/ui-api/object-info/batch`;
|
|
@@ -62425,7 +62421,7 @@ register$1({
|
|
|
62425
62421
|
id: '@salesforce/lds-network-adapter',
|
|
62426
62422
|
instrument: instrument$2,
|
|
62427
62423
|
});
|
|
62428
|
-
// version: 1.
|
|
62424
|
+
// version: 1.290.0-18c27a6e9
|
|
62429
62425
|
|
|
62430
62426
|
const { create: create$3, keys: keys$3 } = Object;
|
|
62431
62427
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -78827,6 +78823,29 @@ function getInContextFragmentType$d(fragment, fragmentMap) {
|
|
|
78827
78823
|
return sharedGetFragmentType(fragment, fragmentMap);
|
|
78828
78824
|
}
|
|
78829
78825
|
|
|
78826
|
+
function getFieldType$b(field) {
|
|
78827
|
+
const fieldName = field.name.value;
|
|
78828
|
+
switch (fieldName) {
|
|
78829
|
+
case '__typename': {
|
|
78830
|
+
return {
|
|
78831
|
+
isArray: false,
|
|
78832
|
+
typename: 'String',
|
|
78833
|
+
};
|
|
78834
|
+
}
|
|
78835
|
+
/*
|
|
78836
|
+
Probably should use metaschema like the RecordQuery graphql-artifact,
|
|
78837
|
+
but this type only has one generic type possible. Also, the most likely scenario for future schema additions,
|
|
78838
|
+
is UISDK adding the the parent of this type, Setup__Setup. Therefore, we will just default to SetupConnection so that
|
|
78839
|
+
query authors don't need to use metaschema when there's no real decision point in this type.
|
|
78840
|
+
*/
|
|
78841
|
+
default:
|
|
78842
|
+
return {
|
|
78843
|
+
isArray: false,
|
|
78844
|
+
typename: 'Setup__SetupConnection',
|
|
78845
|
+
};
|
|
78846
|
+
}
|
|
78847
|
+
}
|
|
78848
|
+
|
|
78830
78849
|
const name$2 = 'Setup__SetupQuery';
|
|
78831
78850
|
const VERSION$a = 'b89cccb5fa5e458d89dc1137af3e5469';
|
|
78832
78851
|
function keyBuilder$6(luvio, path, data) {
|
|
@@ -78944,24 +78963,6 @@ function getTypeCacheKeys$3(cacheKeySink, astNode, state) {
|
|
|
78944
78963
|
}
|
|
78945
78964
|
// Deal with mapped types' cache keys
|
|
78946
78965
|
}
|
|
78947
|
-
function getFieldType$b(field) {
|
|
78948
|
-
switch (field.name.value) {
|
|
78949
|
-
case '__typename': {
|
|
78950
|
-
return {
|
|
78951
|
-
isArray: false,
|
|
78952
|
-
typename: 'String'
|
|
78953
|
-
};
|
|
78954
|
-
}
|
|
78955
|
-
case 'recordQuery': {
|
|
78956
|
-
return {
|
|
78957
|
-
isArray: false,
|
|
78958
|
-
typename: 'Setup__SetupConnection'
|
|
78959
|
-
};
|
|
78960
|
-
}
|
|
78961
|
-
default:
|
|
78962
|
-
return undefined;
|
|
78963
|
-
}
|
|
78964
|
-
}
|
|
78965
78966
|
function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
78966
78967
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
78967
78968
|
if (fieldData === null) {
|
|
@@ -81137,7 +81138,7 @@ function ingestError$1(luvio, config, params, error, snapshotRefresh) {
|
|
|
81137
81138
|
function createResourceRequest$2(config) {
|
|
81138
81139
|
const headers = {};
|
|
81139
81140
|
return {
|
|
81140
|
-
baseUri: '/services/data/
|
|
81141
|
+
baseUri: '/services/data/v62.0',
|
|
81141
81142
|
basePath: '/graphql',
|
|
81142
81143
|
method: 'post',
|
|
81143
81144
|
body: { ...config.body,
|
|
@@ -81528,7 +81529,7 @@ function createResourceRequest(config) {
|
|
|
81528
81529
|
const headers = {};
|
|
81529
81530
|
const transformedConfig = stripDocumentsOfMetaschema(config);
|
|
81530
81531
|
return {
|
|
81531
|
-
baseUri: '/services/data/
|
|
81532
|
+
baseUri: '/services/data/v62.0',
|
|
81532
81533
|
basePath: '/graphql/batch',
|
|
81533
81534
|
method: 'post',
|
|
81534
81535
|
body: transformedConfig.body,
|
|
@@ -82484,7 +82485,7 @@ register$1({
|
|
|
82484
82485
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
82485
82486
|
instrument: instrument$1,
|
|
82486
82487
|
});
|
|
82487
|
-
// version: 1.
|
|
82488
|
+
// version: 1.290.0-e2ccd0161
|
|
82488
82489
|
|
|
82489
82490
|
// On core the unstable adapters are re-exported with different names,
|
|
82490
82491
|
// we want to match them here.
|
|
@@ -84523,7 +84524,7 @@ function onFetchResponseError(luvio, config, response) {
|
|
|
84523
84524
|
function buildNetworkSnapshot(luvio, config, fragment, options) {
|
|
84524
84525
|
const { variables: queryVariables, query } = config;
|
|
84525
84526
|
const request = {
|
|
84526
|
-
baseUri: '/services/data/
|
|
84527
|
+
baseUri: '/services/data/v62.0',
|
|
84527
84528
|
basePath: '/graphql',
|
|
84528
84529
|
method: 'post',
|
|
84529
84530
|
priority: 'normal',
|
|
@@ -84740,7 +84741,7 @@ withDefaultLuvio((luvio) => {
|
|
|
84740
84741
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
84741
84742
|
graphQLImperative = ldsAdapter;
|
|
84742
84743
|
});
|
|
84743
|
-
// version: 1.
|
|
84744
|
+
// version: 1.290.0-e2ccd0161
|
|
84744
84745
|
|
|
84745
84746
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
84746
84747
|
__proto__: null,
|
|
@@ -85478,7 +85479,7 @@ const callbacks$1 = [];
|
|
|
85478
85479
|
function register(r) {
|
|
85479
85480
|
callbacks$1.forEach((callback) => callback(r));
|
|
85480
85481
|
}
|
|
85481
|
-
// version: 1.
|
|
85482
|
+
// version: 1.290.0-18c27a6e9
|
|
85482
85483
|
|
|
85483
85484
|
/**
|
|
85484
85485
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -90440,4 +90441,4 @@ const { luvio } = getRuntime();
|
|
|
90440
90441
|
setDefaultLuvio({ luvio });
|
|
90441
90442
|
|
|
90442
90443
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
90443
|
-
// version: 1.
|
|
90444
|
+
// version: 1.290.0-18c27a6e9
|