@salesforce/lds-worker-api 1.412.1 → 1.414.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/sfdc/es/types/__mocks__/o11y_schema/sf_pdp.d.ts +1 -0
- package/dist/sfdc/es/types/standalone-stubs/o11y_schema_sf_pdp.d.ts +1 -0
- package/dist/standalone/es/lds-worker-api.js +397 -285
- package/dist/standalone/es/types/__mocks__/o11y_schema/sf_pdp.d.ts +1 -0
- package/dist/standalone/es/types/standalone-stubs/o11y_schema_sf_pdp.d.ts +1 -0
- package/dist/standalone/umd/lds-worker-api.js +397 -285
- package/dist/standalone/umd/types/__mocks__/o11y_schema/sf_pdp.d.ts +1 -0
- package/dist/standalone/umd/types/standalone-stubs/o11y_schema_sf_pdp.d.ts +1 -0
- package/package.json +9 -9
|
@@ -4274,7 +4274,7 @@ function withDefaultLuvio(callback) {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
callbacks.push(callback);
|
|
4276
4276
|
}
|
|
4277
|
-
// version: 1.
|
|
4277
|
+
// version: 1.414.0-ff06871479
|
|
4278
4278
|
|
|
4279
4279
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4280
4280
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5318,7 +5318,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
5318
5318
|
const { apiFamily, name } = metadata;
|
|
5319
5319
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5320
5320
|
}
|
|
5321
|
-
// version: 1.
|
|
5321
|
+
// version: 1.414.0-ff06871479
|
|
5322
5322
|
|
|
5323
5323
|
/**
|
|
5324
5324
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -11476,7 +11476,7 @@ function getResponseCacheKeys$12(storeKeyMap, luvio, resourceParams, response) {
|
|
|
11476
11476
|
function createResourceRequest$1c(config) {
|
|
11477
11477
|
const headers = {};
|
|
11478
11478
|
return {
|
|
11479
|
-
baseUri: '/services/data/
|
|
11479
|
+
baseUri: '/services/data/v67.0',
|
|
11480
11480
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
11481
11481
|
method: 'get',
|
|
11482
11482
|
body: null,
|
|
@@ -11905,7 +11905,7 @@ function ingestError$L(luvio, params, error, snapshotRefresh) {
|
|
|
11905
11905
|
function createResourceRequest$1b(config) {
|
|
11906
11906
|
const headers = {};
|
|
11907
11907
|
return {
|
|
11908
|
-
baseUri: '/services/data/
|
|
11908
|
+
baseUri: '/services/data/v67.0',
|
|
11909
11909
|
basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
|
|
11910
11910
|
method: 'get',
|
|
11911
11911
|
body: null,
|
|
@@ -12725,7 +12725,7 @@ function createPaginationParams$6(params) {
|
|
|
12725
12725
|
function createResourceRequest$1a(config) {
|
|
12726
12726
|
const headers = {};
|
|
12727
12727
|
return {
|
|
12728
|
-
baseUri: '/services/data/
|
|
12728
|
+
baseUri: '/services/data/v67.0',
|
|
12729
12729
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
12730
12730
|
method: 'get',
|
|
12731
12731
|
body: null,
|
|
@@ -12775,7 +12775,7 @@ function createPaginationParams$5$1(params) {
|
|
|
12775
12775
|
function createResourceRequest$19(config) {
|
|
12776
12776
|
const headers = {};
|
|
12777
12777
|
return {
|
|
12778
|
-
baseUri: '/services/data/
|
|
12778
|
+
baseUri: '/services/data/v67.0',
|
|
12779
12779
|
basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
|
|
12780
12780
|
method: 'get',
|
|
12781
12781
|
body: null,
|
|
@@ -12817,7 +12817,7 @@ function validateAdapterConfig$16(untrustedConfig, configPropertyNames) {
|
|
|
12817
12817
|
function createResourceRequest$18(config) {
|
|
12818
12818
|
const headers = {};
|
|
12819
12819
|
return {
|
|
12820
|
-
baseUri: '/services/data/
|
|
12820
|
+
baseUri: '/services/data/v67.0',
|
|
12821
12821
|
basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
|
|
12822
12822
|
method: 'get',
|
|
12823
12823
|
body: null,
|
|
@@ -13642,7 +13642,7 @@ function ingestError$K(luvio, params, error, snapshotRefresh) {
|
|
|
13642
13642
|
function createResourceRequest$17(config) {
|
|
13643
13643
|
const headers = {};
|
|
13644
13644
|
return {
|
|
13645
|
-
baseUri: '/services/data/
|
|
13645
|
+
baseUri: '/services/data/v67.0',
|
|
13646
13646
|
basePath: '/ui-api/list-records/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
13647
13647
|
method: 'post',
|
|
13648
13648
|
body: config.body,
|
|
@@ -14113,7 +14113,7 @@ function ingestError$J(luvio, params, error, snapshotRefresh) {
|
|
|
14113
14113
|
function createResourceRequest$16(config) {
|
|
14114
14114
|
const headers = {};
|
|
14115
14115
|
return {
|
|
14116
|
-
baseUri: '/services/data/
|
|
14116
|
+
baseUri: '/services/data/v67.0',
|
|
14117
14117
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
|
|
14118
14118
|
method: 'get',
|
|
14119
14119
|
body: null,
|
|
@@ -14308,7 +14308,7 @@ function keyBuilder$1Z(luvio, params) {
|
|
|
14308
14308
|
function createResourceRequest$15(config) {
|
|
14309
14309
|
const headers = {};
|
|
14310
14310
|
return {
|
|
14311
|
-
baseUri: '/services/data/
|
|
14311
|
+
baseUri: '/services/data/v67.0',
|
|
14312
14312
|
basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
|
|
14313
14313
|
method: 'get',
|
|
14314
14314
|
body: null,
|
|
@@ -14350,7 +14350,7 @@ function validateAdapterConfig$14(untrustedConfig, configPropertyNames) {
|
|
|
14350
14350
|
function createResourceRequest$14(config) {
|
|
14351
14351
|
const headers = {};
|
|
14352
14352
|
return {
|
|
14353
|
-
baseUri: '/services/data/
|
|
14353
|
+
baseUri: '/services/data/v67.0',
|
|
14354
14354
|
basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
|
|
14355
14355
|
method: 'get',
|
|
14356
14356
|
body: null,
|
|
@@ -15325,7 +15325,7 @@ function ingestError$I(luvio, params, error, snapshotRefresh) {
|
|
|
15325
15325
|
function createResourceRequest$13(config) {
|
|
15326
15326
|
const headers = {};
|
|
15327
15327
|
return {
|
|
15328
|
-
baseUri: '/services/data/
|
|
15328
|
+
baseUri: '/services/data/v67.0',
|
|
15329
15329
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '',
|
|
15330
15330
|
method: 'get',
|
|
15331
15331
|
body: null,
|
|
@@ -15772,7 +15772,7 @@ const ingest$E$2 = function RecordUiRepresentationIngest(input, path, luvio, sto
|
|
|
15772
15772
|
function createResourceRequest$12(config) {
|
|
15773
15773
|
const headers = {};
|
|
15774
15774
|
return {
|
|
15775
|
-
baseUri: '/services/data/
|
|
15775
|
+
baseUri: '/services/data/v67.0',
|
|
15776
15776
|
basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
|
|
15777
15777
|
method: 'get',
|
|
15778
15778
|
body: null,
|
|
@@ -17774,7 +17774,7 @@ function ingestError$H(luvio, params, error, snapshotRefresh) {
|
|
|
17774
17774
|
function createResourceRequest$11(config) {
|
|
17775
17775
|
const headers = {};
|
|
17776
17776
|
return {
|
|
17777
|
-
baseUri: '/services/data/
|
|
17777
|
+
baseUri: '/services/data/v67.0',
|
|
17778
17778
|
basePath: '/ui-api/actions/global',
|
|
17779
17779
|
method: 'get',
|
|
17780
17780
|
body: null,
|
|
@@ -17968,7 +17968,7 @@ function ingestError$G(luvio, params, error, snapshotRefresh) {
|
|
|
17968
17968
|
function createResourceRequest$10(config) {
|
|
17969
17969
|
const headers = {};
|
|
17970
17970
|
return {
|
|
17971
|
-
baseUri: '/services/data/
|
|
17971
|
+
baseUri: '/services/data/v67.0',
|
|
17972
17972
|
basePath: '/ui-api/actions/layout/' + config.urlParams.actionApiName + '',
|
|
17973
17973
|
method: 'get',
|
|
17974
17974
|
body: null,
|
|
@@ -18132,7 +18132,7 @@ function ingestError$F(luvio, params, error, snapshotRefresh) {
|
|
|
18132
18132
|
function createResourceRequest$$(config) {
|
|
18133
18133
|
const headers = {};
|
|
18134
18134
|
return {
|
|
18135
|
-
baseUri: '/services/data/
|
|
18135
|
+
baseUri: '/services/data/v67.0',
|
|
18136
18136
|
basePath: '/ui-api/actions/lookup/' + config.urlParams.objectApiNames + '',
|
|
18137
18137
|
method: 'get',
|
|
18138
18138
|
body: null,
|
|
@@ -18266,7 +18266,7 @@ function ingestError$E(luvio, params, error, snapshotRefresh) {
|
|
|
18266
18266
|
function createResourceRequest$_(config) {
|
|
18267
18267
|
const headers = {};
|
|
18268
18268
|
return {
|
|
18269
|
-
baseUri: '/services/data/
|
|
18269
|
+
baseUri: '/services/data/v67.0',
|
|
18270
18270
|
basePath: '/ui-api/actions/object/' + config.urlParams.objectApiName + '/record-create',
|
|
18271
18271
|
method: 'get',
|
|
18272
18272
|
body: null,
|
|
@@ -18429,7 +18429,7 @@ function ingestError$D(luvio, params, error, snapshotRefresh) {
|
|
|
18429
18429
|
function createResourceRequest$Z(config) {
|
|
18430
18430
|
const headers = {};
|
|
18431
18431
|
return {
|
|
18432
|
-
baseUri: '/services/data/
|
|
18432
|
+
baseUri: '/services/data/v67.0',
|
|
18433
18433
|
basePath: '/ui-api/actions/overrides/' + config.urlParams.objectApiName + '',
|
|
18434
18434
|
method: 'get',
|
|
18435
18435
|
body: null,
|
|
@@ -18606,7 +18606,7 @@ function ingestError$C(luvio, params, error, snapshotRefresh) {
|
|
|
18606
18606
|
function createResourceRequest$Y(config) {
|
|
18607
18607
|
const headers = {};
|
|
18608
18608
|
return {
|
|
18609
|
-
baseUri: '/services/data/
|
|
18609
|
+
baseUri: '/services/data/v67.0',
|
|
18610
18610
|
basePath: '/ui-api/actions/formula-activation/' + config.urlParams.actionFeature + '',
|
|
18611
18611
|
method: 'get',
|
|
18612
18612
|
body: null,
|
|
@@ -19213,7 +19213,7 @@ function ingestError$B(luvio, params, error, snapshotRefresh) {
|
|
|
19213
19213
|
function createResourceRequest$X(config) {
|
|
19214
19214
|
const headers = {};
|
|
19215
19215
|
return {
|
|
19216
|
-
baseUri: '/services/data/
|
|
19216
|
+
baseUri: '/services/data/v67.0',
|
|
19217
19217
|
basePath: '/ui-api/actions/quick-action-info/' + config.urlParams.actionApiName + '',
|
|
19218
19218
|
method: 'get',
|
|
19219
19219
|
body: null,
|
|
@@ -19415,7 +19415,7 @@ function ingestError$A(luvio, params, error, snapshotRefresh) {
|
|
|
19415
19415
|
function createResourceRequest$W(config) {
|
|
19416
19416
|
const headers = {};
|
|
19417
19417
|
return {
|
|
19418
|
-
baseUri: '/services/data/
|
|
19418
|
+
baseUri: '/services/data/v67.0',
|
|
19419
19419
|
basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
|
|
19420
19420
|
method: 'get',
|
|
19421
19421
|
body: null,
|
|
@@ -19571,7 +19571,7 @@ function ingestError$z(luvio, params, error, snapshotRefresh) {
|
|
|
19571
19571
|
function createResourceRequest$V(config) {
|
|
19572
19572
|
const headers = {};
|
|
19573
19573
|
return {
|
|
19574
|
-
baseUri: '/services/data/
|
|
19574
|
+
baseUri: '/services/data/v67.0',
|
|
19575
19575
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '',
|
|
19576
19576
|
method: 'get',
|
|
19577
19577
|
body: null,
|
|
@@ -19711,7 +19711,7 @@ function ingestError$y(luvio, params, error, snapshotRefresh) {
|
|
|
19711
19711
|
function createResourceRequest$U(config) {
|
|
19712
19712
|
const headers = {};
|
|
19713
19713
|
return {
|
|
19714
|
-
baseUri: '/services/data/
|
|
19714
|
+
baseUri: '/services/data/v67.0',
|
|
19715
19715
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/record-edit',
|
|
19716
19716
|
method: 'get',
|
|
19717
19717
|
body: null,
|
|
@@ -19915,7 +19915,7 @@ function ingestError$x(luvio, params, error, snapshotRefresh) {
|
|
|
19915
19915
|
function createResourceRequest$T(config) {
|
|
19916
19916
|
const headers = {};
|
|
19917
19917
|
return {
|
|
19918
|
-
baseUri: '/services/data/
|
|
19918
|
+
baseUri: '/services/data/v67.0',
|
|
19919
19919
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/' + config.urlParams.relatedListId + '',
|
|
19920
19920
|
method: 'post',
|
|
19921
19921
|
body: config.body,
|
|
@@ -20190,7 +20190,7 @@ function ingestError$w(luvio, params, error, snapshotRefresh) {
|
|
|
20190
20190
|
function createResourceRequest$S(config) {
|
|
20191
20191
|
const headers = {};
|
|
20192
20192
|
return {
|
|
20193
|
-
baseUri: '/services/data/
|
|
20193
|
+
baseUri: '/services/data/v67.0',
|
|
20194
20194
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list/batch',
|
|
20195
20195
|
method: 'post',
|
|
20196
20196
|
body: config.body,
|
|
@@ -20424,7 +20424,7 @@ function ingestError$v(luvio, params, error, snapshotRefresh) {
|
|
|
20424
20424
|
function createResourceRequest$R(config) {
|
|
20425
20425
|
const headers = {};
|
|
20426
20426
|
return {
|
|
20427
|
-
baseUri: '/services/data/
|
|
20427
|
+
baseUri: '/services/data/v67.0',
|
|
20428
20428
|
basePath: '/ui-api/actions/record/' + config.urlParams.recordIds + '/related-list-record/' + config.urlParams.relatedListRecordIds + '',
|
|
20429
20429
|
method: 'get',
|
|
20430
20430
|
body: null,
|
|
@@ -21145,7 +21145,7 @@ function ingestError$u(luvio, params, error, snapshotRefresh) {
|
|
|
21145
21145
|
function createResourceRequest$Q(config) {
|
|
21146
21146
|
const headers = {};
|
|
21147
21147
|
return {
|
|
21148
|
-
baseUri: '/services/data/
|
|
21148
|
+
baseUri: '/services/data/v67.0',
|
|
21149
21149
|
basePath: '/ui-api/apps',
|
|
21150
21150
|
method: 'get',
|
|
21151
21151
|
body: null,
|
|
@@ -21279,7 +21279,7 @@ function ingestError$t(luvio, params, error, snapshotRefresh) {
|
|
|
21279
21279
|
function createResourceRequest$P(config) {
|
|
21280
21280
|
const headers = {};
|
|
21281
21281
|
return {
|
|
21282
|
-
baseUri: '/services/data/
|
|
21282
|
+
baseUri: '/services/data/v67.0',
|
|
21283
21283
|
basePath: '/ui-api/apps/' + config.urlParams.appId + '',
|
|
21284
21284
|
method: 'get',
|
|
21285
21285
|
body: null,
|
|
@@ -21615,7 +21615,7 @@ function ingestError$s(luvio, params, error, snapshotRefresh) {
|
|
|
21615
21615
|
function createResourceRequest$O(config) {
|
|
21616
21616
|
const headers = {};
|
|
21617
21617
|
return {
|
|
21618
|
-
baseUri: '/services/data/
|
|
21618
|
+
baseUri: '/services/data/v67.0',
|
|
21619
21619
|
basePath: '/ui-api/duplicates/' + config.urlParams.objectApiName + '',
|
|
21620
21620
|
method: 'get',
|
|
21621
21621
|
body: null,
|
|
@@ -21751,7 +21751,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
|
21751
21751
|
function createResourceRequest$N(config) {
|
|
21752
21752
|
const headers = {};
|
|
21753
21753
|
return {
|
|
21754
|
-
baseUri: '/services/data/
|
|
21754
|
+
baseUri: '/services/data/v67.0',
|
|
21755
21755
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '',
|
|
21756
21756
|
method: 'get',
|
|
21757
21757
|
body: null,
|
|
@@ -21888,7 +21888,7 @@ function getResponseCacheKeys$I(storeKeyMap, luvio, resourceParams, response) {
|
|
|
21888
21888
|
function createResourceRequest$M(config) {
|
|
21889
21889
|
const headers = {};
|
|
21890
21890
|
return {
|
|
21891
|
-
baseUri: '/services/data/
|
|
21891
|
+
baseUri: '/services/data/v67.0',
|
|
21892
21892
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
|
|
21893
21893
|
method: 'get',
|
|
21894
21894
|
body: null,
|
|
@@ -22114,7 +22114,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
|
22114
22114
|
function createResourceRequest$L(config) {
|
|
22115
22115
|
const headers = {};
|
|
22116
22116
|
return {
|
|
22117
|
-
baseUri: '/services/data/
|
|
22117
|
+
baseUri: '/services/data/v67.0',
|
|
22118
22118
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
22119
22119
|
method: 'get',
|
|
22120
22120
|
body: null,
|
|
@@ -22373,7 +22373,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
|
22373
22373
|
function createResourceRequest$K(config) {
|
|
22374
22374
|
const headers = {};
|
|
22375
22375
|
return {
|
|
22376
|
-
baseUri: '/services/data/
|
|
22376
|
+
baseUri: '/services/data/v67.0',
|
|
22377
22377
|
basePath: '/ui-api/list-info/batch',
|
|
22378
22378
|
method: 'get',
|
|
22379
22379
|
body: null,
|
|
@@ -22510,7 +22510,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
|
22510
22510
|
function createResourceRequest$J(config) {
|
|
22511
22511
|
const headers = {};
|
|
22512
22512
|
return {
|
|
22513
|
-
baseUri: '/services/data/
|
|
22513
|
+
baseUri: '/services/data/v67.0',
|
|
22514
22514
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
|
|
22515
22515
|
method: 'get',
|
|
22516
22516
|
body: null,
|
|
@@ -22808,7 +22808,7 @@ function ingestSuccess$w(luvio, resourceParams, response) {
|
|
|
22808
22808
|
function createResourceRequest$I(config) {
|
|
22809
22809
|
const headers = {};
|
|
22810
22810
|
return {
|
|
22811
|
-
baseUri: '/services/data/
|
|
22811
|
+
baseUri: '/services/data/v67.0',
|
|
22812
22812
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '',
|
|
22813
22813
|
method: 'post',
|
|
22814
22814
|
body: config.body,
|
|
@@ -22918,7 +22918,7 @@ function evictSuccess$1(luvio, resourceParams) {
|
|
|
22918
22918
|
function createResourceRequest$H(config) {
|
|
22919
22919
|
const headers = {};
|
|
22920
22920
|
return {
|
|
22921
|
-
baseUri: '/services/data/
|
|
22921
|
+
baseUri: '/services/data/v67.0',
|
|
22922
22922
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
22923
22923
|
method: 'delete',
|
|
22924
22924
|
body: null,
|
|
@@ -23085,7 +23085,7 @@ function ingestSuccess$v(luvio, resourceParams, response) {
|
|
|
23085
23085
|
function createResourceRequest$G(config) {
|
|
23086
23086
|
const headers = {};
|
|
23087
23087
|
return {
|
|
23088
|
-
baseUri: '/services/data/
|
|
23088
|
+
baseUri: '/services/data/v67.0',
|
|
23089
23089
|
basePath: '/ui-api/list-info/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
23090
23090
|
method: 'patch',
|
|
23091
23091
|
body: config.body,
|
|
@@ -23630,7 +23630,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
|
23630
23630
|
function createResourceRequest$F(config) {
|
|
23631
23631
|
const headers = {};
|
|
23632
23632
|
return {
|
|
23633
|
-
baseUri: '/services/data/
|
|
23633
|
+
baseUri: '/services/data/v67.0',
|
|
23634
23634
|
basePath: '/ui-api/list-object-info/' + config.urlParams.objectApiName + '',
|
|
23635
23635
|
method: 'get',
|
|
23636
23636
|
body: null,
|
|
@@ -23866,7 +23866,7 @@ function ingestError$m(luvio, params, error, snapshotRefresh) {
|
|
|
23866
23866
|
function createResourceRequest$E(config) {
|
|
23867
23867
|
const headers = {};
|
|
23868
23868
|
return {
|
|
23869
|
-
baseUri: '/services/data/
|
|
23869
|
+
baseUri: '/services/data/v67.0',
|
|
23870
23870
|
basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
23871
23871
|
method: 'get',
|
|
23872
23872
|
body: null,
|
|
@@ -24002,7 +24002,7 @@ function ingestSuccess$s(luvio, resourceParams, response) {
|
|
|
24002
24002
|
function createResourceRequest$D(config) {
|
|
24003
24003
|
const headers = {};
|
|
24004
24004
|
return {
|
|
24005
|
-
baseUri: '/services/data/
|
|
24005
|
+
baseUri: '/services/data/v67.0',
|
|
24006
24006
|
basePath: '/ui-api/list-preferences/' + config.urlParams.objectApiName + '/' + config.urlParams.listViewApiName + '',
|
|
24007
24007
|
method: 'patch',
|
|
24008
24008
|
body: config.body,
|
|
@@ -24242,7 +24242,7 @@ function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
|
24242
24242
|
function createResourceRequest$C(config) {
|
|
24243
24243
|
const headers = {};
|
|
24244
24244
|
return {
|
|
24245
|
-
baseUri: '/services/data/
|
|
24245
|
+
baseUri: '/services/data/v67.0',
|
|
24246
24246
|
basePath: '/ui-api/nav-items',
|
|
24247
24247
|
method: 'get',
|
|
24248
24248
|
body: null,
|
|
@@ -24370,7 +24370,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
|
|
|
24370
24370
|
function createResourceRequest$B(config) {
|
|
24371
24371
|
const headers = {};
|
|
24372
24372
|
return {
|
|
24373
|
-
baseUri: '/services/data/
|
|
24373
|
+
baseUri: '/services/data/v67.0',
|
|
24374
24374
|
basePath: '/ui-api/object-info',
|
|
24375
24375
|
method: 'get',
|
|
24376
24376
|
body: null,
|
|
@@ -24702,7 +24702,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
|
24702
24702
|
function createResourceRequest$A(config) {
|
|
24703
24703
|
const headers = {};
|
|
24704
24704
|
return {
|
|
24705
|
-
baseUri: '/services/data/
|
|
24705
|
+
baseUri: '/services/data/v67.0',
|
|
24706
24706
|
basePath: '/ui-api/object-info/batch/' + config.urlParams.objectApiNames + '',
|
|
24707
24707
|
method: 'get',
|
|
24708
24708
|
body: null,
|
|
@@ -24956,8 +24956,8 @@ const select$L$2 = function PicklistValueRepresentationSelect() {
|
|
|
24956
24956
|
const keyBuilderFromType$i$1 =
|
|
24957
24957
|
/**
|
|
24958
24958
|
* custom key builder from PicklistValuesRepresentation.
|
|
24959
|
-
* PicklistValuesRepresentation.url is like /services/data/
|
|
24960
|
-
* the '/services/data/
|
|
24959
|
+
* PicklistValuesRepresentation.url is like /services/data/v67.0/ui-api/object-info/Account/picklist-values/012000000000000AAA/AccountSource
|
|
24960
|
+
* the '/services/data/v67.0' in the key make trouble for new js release. so chop it off make the key unique cross releases.
|
|
24961
24961
|
*/
|
|
24962
24962
|
function PicklistValuesRepresentationKeyBuilderFromType(luvio, object) {
|
|
24963
24963
|
const id = object.url.substring(object.url.indexOf('/ui-api'));
|
|
@@ -25147,7 +25147,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
|
25147
25147
|
function createResourceRequest$z(config) {
|
|
25148
25148
|
const headers = {};
|
|
25149
25149
|
return {
|
|
25150
|
-
baseUri: '/services/data/
|
|
25150
|
+
baseUri: '/services/data/v67.0',
|
|
25151
25151
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '',
|
|
25152
25152
|
method: 'get',
|
|
25153
25153
|
body: null,
|
|
@@ -25249,7 +25249,7 @@ function getResponseCacheKeys$u(storeKeyMap, luvio, resourceParams, response) {
|
|
|
25249
25249
|
function createResourceRequest$y(config) {
|
|
25250
25250
|
const headers = {};
|
|
25251
25251
|
return {
|
|
25252
|
-
baseUri: '/services/data/
|
|
25252
|
+
baseUri: '/services/data/v67.0',
|
|
25253
25253
|
basePath: '/ui-api/object-info/' + config.urlParams.objectApiName + '/picklist-values/' + config.urlParams.recordTypeId + '/' + config.urlParams.fieldApiName + '',
|
|
25254
25254
|
method: 'get',
|
|
25255
25255
|
body: null,
|
|
@@ -25454,7 +25454,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
25454
25454
|
function createResourceRequest$x(config) {
|
|
25455
25455
|
const headers = {};
|
|
25456
25456
|
return {
|
|
25457
|
-
baseUri: '/services/data/
|
|
25457
|
+
baseUri: '/services/data/v67.0',
|
|
25458
25458
|
basePath: '/ui-api/path/layout/' + config.urlParams.objectApiName + '',
|
|
25459
25459
|
method: 'get',
|
|
25460
25460
|
body: null,
|
|
@@ -25625,7 +25625,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
25625
25625
|
function createResourceRequest$w(config) {
|
|
25626
25626
|
const headers = {};
|
|
25627
25627
|
return {
|
|
25628
|
-
baseUri: '/services/data/
|
|
25628
|
+
baseUri: '/services/data/v67.0',
|
|
25629
25629
|
basePath: '/ui-api/predupe',
|
|
25630
25630
|
method: 'post',
|
|
25631
25631
|
body: config.body,
|
|
@@ -26417,7 +26417,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
|
26417
26417
|
function createResourceRequest$v(config) {
|
|
26418
26418
|
const headers = {};
|
|
26419
26419
|
return {
|
|
26420
|
-
baseUri: '/services/data/
|
|
26420
|
+
baseUri: '/services/data/v67.0',
|
|
26421
26421
|
basePath: '/ui-api/record-avatars/batch/' + config.urlParams.recordIds + '',
|
|
26422
26422
|
method: 'get',
|
|
26423
26423
|
body: null,
|
|
@@ -27027,7 +27027,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
27027
27027
|
function createResourceRequest$u(config) {
|
|
27028
27028
|
const headers = {};
|
|
27029
27029
|
return {
|
|
27030
|
-
baseUri: '/services/data/
|
|
27030
|
+
baseUri: '/services/data/v67.0',
|
|
27031
27031
|
basePath: '/ui-api/related-list-count/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
|
|
27032
27032
|
method: 'get',
|
|
27033
27033
|
body: null,
|
|
@@ -27282,7 +27282,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
|
|
|
27282
27282
|
function createResourceRequest$t(config) {
|
|
27283
27283
|
const headers = {};
|
|
27284
27284
|
return {
|
|
27285
|
-
baseUri: '/services/data/
|
|
27285
|
+
baseUri: '/services/data/v67.0',
|
|
27286
27286
|
basePath: '/ui-api/related-list-count/batch/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListNames + '',
|
|
27287
27287
|
method: 'get',
|
|
27288
27288
|
body: null,
|
|
@@ -27645,7 +27645,7 @@ function ingestError$c$1(luvio, params, error, snapshotRefresh) {
|
|
|
27645
27645
|
function createResourceRequest$s(config) {
|
|
27646
27646
|
const headers = {};
|
|
27647
27647
|
return {
|
|
27648
|
-
baseUri: '/services/data/
|
|
27648
|
+
baseUri: '/services/data/v67.0',
|
|
27649
27649
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
|
|
27650
27650
|
method: 'get',
|
|
27651
27651
|
body: null,
|
|
@@ -27905,7 +27905,7 @@ function ingestError$b$1(luvio, params, error, snapshotRefresh) {
|
|
|
27905
27905
|
function createResourceRequest$r(config) {
|
|
27906
27906
|
const headers = {};
|
|
27907
27907
|
return {
|
|
27908
|
-
baseUri: '/services/data/
|
|
27908
|
+
baseUri: '/services/data/v67.0',
|
|
27909
27909
|
basePath: '/ui-api/related-list-info/batch/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListNames + '',
|
|
27910
27910
|
method: 'get',
|
|
27911
27911
|
body: null,
|
|
@@ -28096,7 +28096,7 @@ function ingestError$a$1(luvio, params, error, snapshotRefresh) {
|
|
|
28096
28096
|
function createResourceRequest$q(config) {
|
|
28097
28097
|
const headers = {};
|
|
28098
28098
|
return {
|
|
28099
|
-
baseUri: '/services/data/
|
|
28099
|
+
baseUri: '/services/data/v67.0',
|
|
28100
28100
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '',
|
|
28101
28101
|
method: 'get',
|
|
28102
28102
|
body: null,
|
|
@@ -28339,7 +28339,7 @@ function ingestSuccess$f(luvio, resourceParams, response) {
|
|
|
28339
28339
|
function createResourceRequest$p(config) {
|
|
28340
28340
|
const headers = {};
|
|
28341
28341
|
return {
|
|
28342
|
-
baseUri: '/services/data/
|
|
28342
|
+
baseUri: '/services/data/v67.0',
|
|
28343
28343
|
basePath: '/ui-api/related-list-info/' + config.urlParams.parentObjectApiName + '/' + config.urlParams.relatedListId + '',
|
|
28344
28344
|
method: 'patch',
|
|
28345
28345
|
body: config.body,
|
|
@@ -28509,7 +28509,7 @@ function ingestError$9$1(luvio, params, error, snapshotRefresh) {
|
|
|
28509
28509
|
function createResourceRequest$o(config) {
|
|
28510
28510
|
const headers = {};
|
|
28511
28511
|
return {
|
|
28512
|
-
baseUri: '/services/data/
|
|
28512
|
+
baseUri: '/services/data/v67.0',
|
|
28513
28513
|
basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
|
|
28514
28514
|
method: 'get',
|
|
28515
28515
|
body: null,
|
|
@@ -28761,7 +28761,7 @@ function ingestError$8$1(luvio, params, error, snapshotRefresh) {
|
|
|
28761
28761
|
function createResourceRequest$n$1(config) {
|
|
28762
28762
|
const headers = {};
|
|
28763
28763
|
return {
|
|
28764
|
-
baseUri: '/services/data/
|
|
28764
|
+
baseUri: '/services/data/v67.0',
|
|
28765
28765
|
basePath: '/ui-api/related-list-preferences/batch/' + config.urlParams.preferencesIds + '',
|
|
28766
28766
|
method: 'get',
|
|
28767
28767
|
body: null,
|
|
@@ -28959,7 +28959,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
|
|
|
28959
28959
|
function createResourceRequest$m$1(config) {
|
|
28960
28960
|
const headers = {};
|
|
28961
28961
|
return {
|
|
28962
|
-
baseUri: '/services/data/
|
|
28962
|
+
baseUri: '/services/data/v67.0',
|
|
28963
28963
|
basePath: '/ui-api/related-list-preferences/' + config.urlParams.preferencesId + '',
|
|
28964
28964
|
method: 'patch',
|
|
28965
28965
|
body: config.body,
|
|
@@ -29740,7 +29740,7 @@ function ingestError$7$1(luvio, params, error, snapshotRefresh) {
|
|
|
29740
29740
|
function createResourceRequest$l$1(config) {
|
|
29741
29741
|
const headers = {};
|
|
29742
29742
|
return {
|
|
29743
|
-
baseUri: '/services/data/
|
|
29743
|
+
baseUri: '/services/data/v67.0',
|
|
29744
29744
|
basePath: '/ui-api/related-list-records/' + config.urlParams.parentRecordId + '/' + config.urlParams.relatedListId + '',
|
|
29745
29745
|
method: 'post',
|
|
29746
29746
|
body: config.body,
|
|
@@ -30015,7 +30015,7 @@ function ingestError$6$1(luvio, params, error, snapshotRefresh) {
|
|
|
30015
30015
|
function createResourceRequest$k$1(config) {
|
|
30016
30016
|
const headers = {};
|
|
30017
30017
|
return {
|
|
30018
|
-
baseUri: '/services/data/
|
|
30018
|
+
baseUri: '/services/data/v67.0',
|
|
30019
30019
|
basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
|
|
30020
30020
|
method: 'post',
|
|
30021
30021
|
body: config.body,
|
|
@@ -30384,7 +30384,7 @@ function ingestError$5$1(luvio, params, error, snapshotRefresh) {
|
|
|
30384
30384
|
function createResourceRequest$j$1(config) {
|
|
30385
30385
|
const headers = {};
|
|
30386
30386
|
return {
|
|
30387
|
-
baseUri: '/services/data/
|
|
30387
|
+
baseUri: '/services/data/v67.0',
|
|
30388
30388
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters',
|
|
30389
30389
|
method: 'get',
|
|
30390
30390
|
body: null,
|
|
@@ -30567,7 +30567,7 @@ function ingestError$4$1(luvio, params, error, snapshotRefresh) {
|
|
|
30567
30567
|
function createResourceRequest$i$1(config) {
|
|
30568
30568
|
const headers = {};
|
|
30569
30569
|
return {
|
|
30570
|
-
baseUri: '/services/data/
|
|
30570
|
+
baseUri: '/services/data/v67.0',
|
|
30571
30571
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/filters/' + config.urlParams.filterApiName + '/options',
|
|
30572
30572
|
method: 'get',
|
|
30573
30573
|
body: null,
|
|
@@ -30748,7 +30748,7 @@ function ingestError$3$1(luvio, params, error, snapshotRefresh) {
|
|
|
30748
30748
|
function createResourceRequest$h$1(config) {
|
|
30749
30749
|
const headers = {};
|
|
30750
30750
|
return {
|
|
30751
|
-
baseUri: '/services/data/
|
|
30751
|
+
baseUri: '/services/data/v67.0',
|
|
30752
30752
|
basePath: '/ui-api/search-info/' + config.urlParams.objectApiName + '/lookup/' + config.urlParams.fieldApiName + '',
|
|
30753
30753
|
method: 'get',
|
|
30754
30754
|
body: null,
|
|
@@ -31067,7 +31067,7 @@ function ingestError$2$1(luvio, params, error, snapshotRefresh) {
|
|
|
31067
31067
|
function createResourceRequest$g$1(config) {
|
|
31068
31068
|
const headers = {};
|
|
31069
31069
|
return {
|
|
31070
|
-
baseUri: '/services/data/
|
|
31070
|
+
baseUri: '/services/data/v67.0',
|
|
31071
31071
|
basePath: '/ui-api/search/results',
|
|
31072
31072
|
method: 'post',
|
|
31073
31073
|
body: config.body,
|
|
@@ -31270,7 +31270,7 @@ function ingestError$1$2(luvio, params, error, snapshotRefresh) {
|
|
|
31270
31270
|
function createResourceRequest$f$1(config) {
|
|
31271
31271
|
const headers = {};
|
|
31272
31272
|
return {
|
|
31273
|
-
baseUri: '/services/data/
|
|
31273
|
+
baseUri: '/services/data/v67.0',
|
|
31274
31274
|
basePath: '/ui-api/search/results/keyword',
|
|
31275
31275
|
method: 'post',
|
|
31276
31276
|
body: config.body,
|
|
@@ -31526,7 +31526,7 @@ function ingestSuccess$4$1(luvio, response) {
|
|
|
31526
31526
|
function createResourceRequest$e$1(config) {
|
|
31527
31527
|
const headers = {};
|
|
31528
31528
|
return {
|
|
31529
|
-
baseUri: '/services/data/
|
|
31529
|
+
baseUri: '/services/data/v67.0',
|
|
31530
31530
|
basePath: '/ui-api/records/batch',
|
|
31531
31531
|
method: 'post',
|
|
31532
31532
|
body: config.body,
|
|
@@ -31646,7 +31646,7 @@ function ingestSuccess$3$1(luvio, resourceParams, response) {
|
|
|
31646
31646
|
function createResourceRequest$d$1(config) {
|
|
31647
31647
|
const headers = {};
|
|
31648
31648
|
return {
|
|
31649
|
-
baseUri: '/services/data/
|
|
31649
|
+
baseUri: '/services/data/v67.0',
|
|
31650
31650
|
basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
|
|
31651
31651
|
method: 'patch',
|
|
31652
31652
|
body: config.body,
|
|
@@ -31705,7 +31705,7 @@ function ingestSuccess$2$1(luvio, resourceParams, response) {
|
|
|
31705
31705
|
function createResourceRequest$c$1(config) {
|
|
31706
31706
|
const headers = {};
|
|
31707
31707
|
return {
|
|
31708
|
-
baseUri: '/services/data/
|
|
31708
|
+
baseUri: '/services/data/v67.0',
|
|
31709
31709
|
basePath: '/ui-api/actions/perform-quick-action/' + config.urlParams.actionApiName + '',
|
|
31710
31710
|
method: 'post',
|
|
31711
31711
|
body: config.body,
|
|
@@ -31774,7 +31774,7 @@ const factory$c = (luvio) => {
|
|
|
31774
31774
|
function createResourceRequest$b$1(config) {
|
|
31775
31775
|
const headers = {};
|
|
31776
31776
|
return {
|
|
31777
|
-
baseUri: '/services/data/
|
|
31777
|
+
baseUri: '/services/data/v67.0',
|
|
31778
31778
|
basePath: '/ui-api/layout/' + config.urlParams.objectApiName + '/user-state',
|
|
31779
31779
|
method: 'patch',
|
|
31780
31780
|
body: config.body,
|
|
@@ -32252,7 +32252,7 @@ function getResponseCacheKeys$7$1(storeKeyMap, luvio, resourceParams, response)
|
|
|
32252
32252
|
function createResourceRequest$a$1(config) {
|
|
32253
32253
|
const headers = {};
|
|
32254
32254
|
return {
|
|
32255
|
-
baseUri: '/services/data/
|
|
32255
|
+
baseUri: '/services/data/v67.0',
|
|
32256
32256
|
basePath: '/ui-api/lookups/' + config.urlParams.objectApiName + '/' + config.urlParams.fieldApiName + '',
|
|
32257
32257
|
method: 'post',
|
|
32258
32258
|
body: config.body,
|
|
@@ -32491,7 +32491,7 @@ const factory$9$1 = (luvio) => {
|
|
|
32491
32491
|
function createResourceRequest$9$1(config) {
|
|
32492
32492
|
const headers = {};
|
|
32493
32493
|
return {
|
|
32494
|
-
baseUri: '/services/data/
|
|
32494
|
+
baseUri: '/services/data/v67.0',
|
|
32495
32495
|
basePath: '/ui-api/record-avatars/' + config.urlParams.recordId + '/association',
|
|
32496
32496
|
method: 'post',
|
|
32497
32497
|
body: config.body,
|
|
@@ -32843,7 +32843,7 @@ function getResponseCacheKeys$6$1(storeKeyMap, luvio, resourceParams, response)
|
|
|
32843
32843
|
function createResourceRequest$8$1(config) {
|
|
32844
32844
|
const headers = {};
|
|
32845
32845
|
return {
|
|
32846
|
-
baseUri: '/services/data/
|
|
32846
|
+
baseUri: '/services/data/v67.0',
|
|
32847
32847
|
basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
|
|
32848
32848
|
method: 'get',
|
|
32849
32849
|
body: null,
|
|
@@ -33385,7 +33385,7 @@ function getResponseCacheKeys$5$1(storeKeyMap, luvio, resourceParams, response)
|
|
|
33385
33385
|
function createResourceRequest$7$1(config) {
|
|
33386
33386
|
const headers = {};
|
|
33387
33387
|
return {
|
|
33388
|
-
baseUri: '/services/data/
|
|
33388
|
+
baseUri: '/services/data/v67.0',
|
|
33389
33389
|
basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
|
|
33390
33390
|
method: 'get',
|
|
33391
33391
|
body: null,
|
|
@@ -33916,7 +33916,7 @@ function ingestError$N(luvio, params, error, snapshotRefresh) {
|
|
|
33916
33916
|
function createResourceRequest$6$1(config) {
|
|
33917
33917
|
const headers = {};
|
|
33918
33918
|
return {
|
|
33919
|
-
baseUri: '/services/data/
|
|
33919
|
+
baseUri: '/services/data/v67.0',
|
|
33920
33920
|
basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
|
|
33921
33921
|
method: 'get',
|
|
33922
33922
|
body: null,
|
|
@@ -34121,7 +34121,7 @@ function getResponseCacheKeys$3$1(storeKeyMap, luvio, resourceParams, response)
|
|
|
34121
34121
|
function createResourceRequest$5$1(config) {
|
|
34122
34122
|
const headers = {};
|
|
34123
34123
|
return {
|
|
34124
|
-
baseUri: '/services/data/
|
|
34124
|
+
baseUri: '/services/data/v67.0',
|
|
34125
34125
|
basePath: '/ui-api/records',
|
|
34126
34126
|
method: 'post',
|
|
34127
34127
|
body: config.body,
|
|
@@ -34227,7 +34227,7 @@ function evictSuccess(luvio, resourceParams) {
|
|
|
34227
34227
|
function createResourceRequest$3$1(config) {
|
|
34228
34228
|
const headers = {};
|
|
34229
34229
|
return {
|
|
34230
|
-
baseUri: '/services/data/
|
|
34230
|
+
baseUri: '/services/data/v67.0',
|
|
34231
34231
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
34232
34232
|
method: 'delete',
|
|
34233
34233
|
body: null,
|
|
@@ -34314,7 +34314,7 @@ function createResourceRequest$2$2(config) {
|
|
|
34314
34314
|
headers['If-Unmodified-Since'] = header_ifUnmodifiedSince;
|
|
34315
34315
|
}
|
|
34316
34316
|
return {
|
|
34317
|
-
baseUri: '/services/data/
|
|
34317
|
+
baseUri: '/services/data/v67.0',
|
|
34318
34318
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
34319
34319
|
method: 'patch',
|
|
34320
34320
|
body: config.body,
|
|
@@ -34614,7 +34614,7 @@ function createResourceParams$1$2(config) {
|
|
|
34614
34614
|
function createResourceRequest$1$2(config) {
|
|
34615
34615
|
const headers = {};
|
|
34616
34616
|
return {
|
|
34617
|
-
baseUri: '/services/data/
|
|
34617
|
+
baseUri: '/services/data/v67.0',
|
|
34618
34618
|
basePath: '/ui-api/records/content-documents/' +
|
|
34619
34619
|
config.urlParams.contentDocumentId +
|
|
34620
34620
|
'/content-versions',
|
|
@@ -34727,7 +34727,7 @@ function createResourceParams$13(config) {
|
|
|
34727
34727
|
function createResourceRequest$1e(config) {
|
|
34728
34728
|
const headers = {};
|
|
34729
34729
|
return {
|
|
34730
|
-
baseUri: '/services/data/
|
|
34730
|
+
baseUri: '/services/data/v67.0',
|
|
34731
34731
|
basePath: '/ui-api/records/content-documents/content-versions',
|
|
34732
34732
|
method: 'post',
|
|
34733
34733
|
body: config.body,
|
|
@@ -35473,7 +35473,7 @@ withDefaultLuvio((luvio) => {
|
|
|
35473
35473
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
35474
35474
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
35475
35475
|
});
|
|
35476
|
-
// version: 1.
|
|
35476
|
+
// version: 1.414.0-3d95b40524
|
|
35477
35477
|
|
|
35478
35478
|
var allowUpdatesForNonCachedRecords = {
|
|
35479
35479
|
isOpen: function (e) {
|
|
@@ -47119,7 +47119,7 @@ const { create: create$7, freeze: freeze$4, keys: keys$8, entries: entries$6 } =
|
|
|
47119
47119
|
const { hasOwnProperty: hasOwnProperty$5 } = Object.prototype;
|
|
47120
47120
|
const { isArray: isArray$7 } = Array;
|
|
47121
47121
|
const { stringify: stringify$9, parse: parse$9 } = JSON;
|
|
47122
|
-
let Ok$
|
|
47122
|
+
let Ok$4 = class Ok {
|
|
47123
47123
|
constructor(value) {
|
|
47124
47124
|
this.value = value;
|
|
47125
47125
|
}
|
|
@@ -47130,7 +47130,7 @@ let Ok$3 = class Ok {
|
|
|
47130
47130
|
return !this.isOk();
|
|
47131
47131
|
}
|
|
47132
47132
|
};
|
|
47133
|
-
let Err$
|
|
47133
|
+
let Err$4 = class Err {
|
|
47134
47134
|
constructor(error) {
|
|
47135
47135
|
this.error = error;
|
|
47136
47136
|
}
|
|
@@ -47141,8 +47141,8 @@ let Err$3 = class Err {
|
|
|
47141
47141
|
return !this.isOk();
|
|
47142
47142
|
}
|
|
47143
47143
|
};
|
|
47144
|
-
const ok$
|
|
47145
|
-
const err$
|
|
47144
|
+
const ok$4 = (value) => new Ok$4(value);
|
|
47145
|
+
const err$4 = (err2) => new Err$4(err2);
|
|
47146
47146
|
function resolvedPromiseLike$4(result) {
|
|
47147
47147
|
if (isPromiseLike$4(result)) {
|
|
47148
47148
|
return result.then((nextResult) => nextResult);
|
|
@@ -47291,40 +47291,33 @@ function satisfies(provided, requested) {
|
|
|
47291
47291
|
* All rights reserved.
|
|
47292
47292
|
* For full license text, see the LICENSE.txt file
|
|
47293
47293
|
*/
|
|
47294
|
-
function
|
|
47295
|
-
|
|
47296
|
-
|
|
47297
|
-
|
|
47298
|
-
|
|
47299
|
-
|
|
47300
|
-
|
|
47301
|
-
|
|
47302
|
-
|
|
47303
|
-
|
|
47304
|
-
return ((_a = s.tags) == null ? void 0 : _a[tag]) === request.tags[tag];
|
|
47305
|
-
}))
|
|
47306
|
-
)
|
|
47307
|
-
);
|
|
47308
|
-
if (matchingService) {
|
|
47309
|
-
result[name] = matchingService.service;
|
|
47310
|
-
} else if (!("optional" in request && request.optional)) {
|
|
47311
|
-
return;
|
|
47312
|
-
}
|
|
47313
|
-
}
|
|
47314
|
-
return result;
|
|
47294
|
+
function serviceSatisfies(service, request) {
|
|
47295
|
+
return (
|
|
47296
|
+
// service types must match
|
|
47297
|
+
service.type === request.type && // version of the service must satisfy the requested version
|
|
47298
|
+
satisfies(service.version, request.version) && // no tags requested, or the service matches every requested tag value
|
|
47299
|
+
(request.tags === void 0 || Object.keys(request.tags).every((tag) => {
|
|
47300
|
+
var _a;
|
|
47301
|
+
return ((_a = service.tags) == null ? void 0 : _a[tag]) === request.tags[tag];
|
|
47302
|
+
}))
|
|
47303
|
+
);
|
|
47315
47304
|
}
|
|
47316
|
-
let
|
|
47317
|
-
let
|
|
47318
|
-
(resolve2) =>
|
|
47305
|
+
let resolverAvailable;
|
|
47306
|
+
let waitForResolver = new Promise(
|
|
47307
|
+
(resolve2) => resolverAvailable = resolve2
|
|
47319
47308
|
);
|
|
47320
47309
|
function getServices(request, timeout = 3e4) {
|
|
47321
|
-
const servicesPromise =
|
|
47322
|
-
|
|
47323
|
-
|
|
47324
|
-
|
|
47325
|
-
|
|
47326
|
-
|
|
47327
|
-
|
|
47310
|
+
const servicesPromise = waitForResolver.then(
|
|
47311
|
+
(resolver) => (
|
|
47312
|
+
// try to resolve the requested services against our services
|
|
47313
|
+
resolver(request).then(([resolved, unresolved]) => {
|
|
47314
|
+
if (unresolved.length === 0) {
|
|
47315
|
+
return resolved;
|
|
47316
|
+
}
|
|
47317
|
+
throw new Error("no matches found for one or more requested services");
|
|
47318
|
+
})
|
|
47319
|
+
)
|
|
47320
|
+
);
|
|
47328
47321
|
let timeoutId;
|
|
47329
47322
|
let timeoutPromise = new Promise((_, reject) => {
|
|
47330
47323
|
timeoutId = setTimeout(() => reject(new Error("OneStore services unavailable")), timeout);
|
|
@@ -47342,8 +47335,26 @@ function getServices(request, timeout = 3e4) {
|
|
|
47342
47335
|
);
|
|
47343
47336
|
}
|
|
47344
47337
|
function setServices(services) {
|
|
47345
|
-
|
|
47346
|
-
|
|
47338
|
+
setServiceResolver(buildStaticServiceResolver(services));
|
|
47339
|
+
}
|
|
47340
|
+
function setServiceResolver(resolver) {
|
|
47341
|
+
waitForResolver = resolvedPromiseLike$4(resolver);
|
|
47342
|
+
resolverAvailable(resolver);
|
|
47343
|
+
}
|
|
47344
|
+
function buildStaticServiceResolver(services) {
|
|
47345
|
+
return (requested) => {
|
|
47346
|
+
const resolved = {};
|
|
47347
|
+
const unresolved = [];
|
|
47348
|
+
for (const [name, req] of Object.entries(requested)) {
|
|
47349
|
+
const matchingService = services.find((s) => serviceSatisfies(s, req));
|
|
47350
|
+
if (matchingService) {
|
|
47351
|
+
resolved[name] = matchingService.service;
|
|
47352
|
+
} else if (!("optional" in req && req.optional)) {
|
|
47353
|
+
unresolved.push(name);
|
|
47354
|
+
}
|
|
47355
|
+
}
|
|
47356
|
+
return resolvedPromiseLike$4([resolved, unresolved]);
|
|
47357
|
+
};
|
|
47347
47358
|
}
|
|
47348
47359
|
|
|
47349
47360
|
/*!
|
|
@@ -47373,20 +47384,20 @@ class IdentifiableTypeRepository {
|
|
|
47373
47384
|
const existingNormalizedData = (_a = cache.get(key)) == null ? void 0 : _a.value;
|
|
47374
47385
|
const normalized = this.normalizeData(cache, { ...input, existingNormalizedData });
|
|
47375
47386
|
if (normalized.isErr()) {
|
|
47376
|
-
return err$
|
|
47387
|
+
return err$4(normalized.error);
|
|
47377
47388
|
}
|
|
47378
47389
|
cache.set(key, {
|
|
47379
47390
|
value: normalized.value,
|
|
47380
47391
|
metadata: this.cacheMetadata
|
|
47381
47392
|
});
|
|
47382
|
-
return ok$
|
|
47393
|
+
return ok$4({
|
|
47383
47394
|
type: "link",
|
|
47384
47395
|
linkedKey: key
|
|
47385
47396
|
});
|
|
47386
47397
|
}
|
|
47387
47398
|
validateEntry(entry) {
|
|
47388
47399
|
if (!isCacheEntryForType(entry, this)) {
|
|
47389
|
-
return err$
|
|
47400
|
+
return err$4([
|
|
47390
47401
|
{
|
|
47391
47402
|
type: "incorrectType",
|
|
47392
47403
|
expectedType: this.typeName,
|
|
@@ -47394,7 +47405,7 @@ class IdentifiableTypeRepository {
|
|
|
47394
47405
|
}
|
|
47395
47406
|
]);
|
|
47396
47407
|
}
|
|
47397
|
-
return ok$
|
|
47408
|
+
return ok$4(void 0);
|
|
47398
47409
|
}
|
|
47399
47410
|
query(cache, query) {
|
|
47400
47411
|
return this.read(cache, {
|
|
@@ -47412,12 +47423,12 @@ class IdentifiableTypeRepository {
|
|
|
47412
47423
|
if (cacheEntry) {
|
|
47413
47424
|
const validationResult = this.validateEntry(cacheEntry);
|
|
47414
47425
|
if (validationResult.isErr()) {
|
|
47415
|
-
return err$
|
|
47426
|
+
return err$4([...validationResult.error]);
|
|
47416
47427
|
}
|
|
47417
47428
|
const normalizedData = cacheEntry.value;
|
|
47418
47429
|
return this.denormalizeData(cache, { ...input, normalizedData });
|
|
47419
47430
|
}
|
|
47420
|
-
return err$
|
|
47431
|
+
return err$4([this.buildMissingDataError()]);
|
|
47421
47432
|
}
|
|
47422
47433
|
equals(x, y) {
|
|
47423
47434
|
return deepEquals$2(x, y);
|
|
@@ -47440,9 +47451,9 @@ function extractReadWriteData(result, errorCollector) {
|
|
|
47440
47451
|
}
|
|
47441
47452
|
function buildReadWriteResult(data, errors) {
|
|
47442
47453
|
if (errors.length > 0) {
|
|
47443
|
-
return err$
|
|
47454
|
+
return err$4(errors);
|
|
47444
47455
|
}
|
|
47445
|
-
return ok$
|
|
47456
|
+
return ok$4(data);
|
|
47446
47457
|
}
|
|
47447
47458
|
|
|
47448
47459
|
/**
|
|
@@ -48290,8 +48301,40 @@ function hasMultilineItems(maybeArray) {
|
|
|
48290
48301
|
}
|
|
48291
48302
|
const referenceMap = /* @__PURE__ */ new WeakMap();
|
|
48292
48303
|
const astResolver = function(astReference) {
|
|
48304
|
+
if (typeof astReference !== "object" || astReference === null) {
|
|
48305
|
+
return void 0;
|
|
48306
|
+
}
|
|
48293
48307
|
return referenceMap.get(astReference);
|
|
48294
48308
|
};
|
|
48309
|
+
/*!
|
|
48310
|
+
* Copyright (c) 2022, Salesforce, Inc.,
|
|
48311
|
+
* All rights reserved.
|
|
48312
|
+
* For full license text, see the LICENSE.txt file
|
|
48313
|
+
*/
|
|
48314
|
+
let Ok$3 = class Ok {
|
|
48315
|
+
constructor(value) {
|
|
48316
|
+
this.value = value;
|
|
48317
|
+
}
|
|
48318
|
+
isOk() {
|
|
48319
|
+
return true;
|
|
48320
|
+
}
|
|
48321
|
+
isErr() {
|
|
48322
|
+
return !this.isOk();
|
|
48323
|
+
}
|
|
48324
|
+
};
|
|
48325
|
+
let Err$3 = class Err {
|
|
48326
|
+
constructor(error) {
|
|
48327
|
+
this.error = error;
|
|
48328
|
+
}
|
|
48329
|
+
isOk() {
|
|
48330
|
+
return false;
|
|
48331
|
+
}
|
|
48332
|
+
isErr() {
|
|
48333
|
+
return !this.isOk();
|
|
48334
|
+
}
|
|
48335
|
+
};
|
|
48336
|
+
const ok$3 = (value) => new Ok$3(value);
|
|
48337
|
+
const err$3 = (err2) => new Err$3(err2);
|
|
48295
48338
|
function findExecutableOperation$2(document, operationName) {
|
|
48296
48339
|
const operations = document.definitions.filter(
|
|
48297
48340
|
(def) => def.kind === Kind$2.OPERATION_DEFINITION
|
|
@@ -48324,25 +48367,40 @@ function validateGraphQLOperations(config, options) {
|
|
|
48324
48367
|
}
|
|
48325
48368
|
function resolveAst(ast) {
|
|
48326
48369
|
if (ast === null || ast === void 0) {
|
|
48327
|
-
return;
|
|
48370
|
+
return void 0;
|
|
48328
48371
|
}
|
|
48329
|
-
|
|
48330
|
-
|
|
48331
|
-
|
|
48372
|
+
return astResolver(ast);
|
|
48373
|
+
}
|
|
48374
|
+
function resolveAndValidateGraphQLConfig(config, options) {
|
|
48375
|
+
const query = config.query;
|
|
48376
|
+
if (query === null || query === void 0) {
|
|
48377
|
+
return void 0;
|
|
48332
48378
|
}
|
|
48333
|
-
|
|
48379
|
+
const result = resolveAndValidateGraphQLDocument(query, config.operationName, options);
|
|
48380
|
+
if (result.isErr()) {
|
|
48381
|
+
return err$3(result.error);
|
|
48382
|
+
}
|
|
48383
|
+
return ok$3({
|
|
48384
|
+
...config,
|
|
48385
|
+
query: result.value
|
|
48386
|
+
});
|
|
48334
48387
|
}
|
|
48335
|
-
function
|
|
48336
|
-
|
|
48337
|
-
|
|
48338
|
-
|
|
48339
|
-
throw new Error("Internal error in GraphQL adapter occurred: Unable to resolve query");
|
|
48340
|
-
}
|
|
48341
|
-
validateGraphQLOperations(config, {
|
|
48342
|
-
acceptedOperations: (options == null ? void 0 : options.acceptedOperations) ?? ["query"]
|
|
48343
|
-
});
|
|
48388
|
+
function resolveAndValidateGraphQLDocument(query, operationName, options) {
|
|
48389
|
+
const resolved = resolveAst(query);
|
|
48390
|
+
if (resolved === void 0) {
|
|
48391
|
+
throw new Error("Could not resolve AST. Did you parse the query with gql?");
|
|
48344
48392
|
}
|
|
48345
|
-
|
|
48393
|
+
if (resolved.type === "error") {
|
|
48394
|
+
return err$3(resolved.error);
|
|
48395
|
+
}
|
|
48396
|
+
const document = resolved.document;
|
|
48397
|
+
validateGraphQLOperations(
|
|
48398
|
+
{ query: document, operationName },
|
|
48399
|
+
{
|
|
48400
|
+
acceptedOperations: (options == null ? void 0 : options.acceptedOperations) ?? ["query"]
|
|
48401
|
+
}
|
|
48402
|
+
);
|
|
48403
|
+
return ok$3(document);
|
|
48346
48404
|
}
|
|
48347
48405
|
|
|
48348
48406
|
var productConsumedSideEffects = {
|
|
@@ -48373,7 +48431,7 @@ const { join: join$1, push: push$2, unshift } = Array.prototype;
|
|
|
48373
48431
|
const { isArray: isArray$5 } = Array;
|
|
48374
48432
|
const { entries: entries$4, keys: keys$6 } = Object;
|
|
48375
48433
|
|
|
48376
|
-
const UI_API_BASE_URI = '/services/data/
|
|
48434
|
+
const UI_API_BASE_URI = '/services/data/v67.0/ui-api';
|
|
48377
48435
|
|
|
48378
48436
|
let instrumentation$3 = {
|
|
48379
48437
|
aggregateUiChunkCount: (_cb) => { },
|
|
@@ -53693,7 +53751,7 @@ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
|
|
|
53693
53751
|
function createResourceRequest$l(config) {
|
|
53694
53752
|
const headers = {};
|
|
53695
53753
|
return {
|
|
53696
|
-
baseUri: '/services/data/
|
|
53754
|
+
baseUri: '/services/data/v67.0',
|
|
53697
53755
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
53698
53756
|
method: 'get',
|
|
53699
53757
|
body: null,
|
|
@@ -54147,7 +54205,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
54147
54205
|
function createResourceRequest$k(config) {
|
|
54148
54206
|
const headers = {};
|
|
54149
54207
|
return {
|
|
54150
|
-
baseUri: '/services/data/
|
|
54208
|
+
baseUri: '/services/data/v67.0',
|
|
54151
54209
|
basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
|
|
54152
54210
|
method: 'get',
|
|
54153
54211
|
body: null,
|
|
@@ -55090,7 +55148,7 @@ function createPaginationParams$5(params) {
|
|
|
55090
55148
|
function createResourceRequest$j(config) {
|
|
55091
55149
|
const headers = {};
|
|
55092
55150
|
return {
|
|
55093
|
-
baseUri: '/services/data/
|
|
55151
|
+
baseUri: '/services/data/v67.0',
|
|
55094
55152
|
basePath: '/ui-api/list-ui/' +
|
|
55095
55153
|
config.urlParams.objectApiName +
|
|
55096
55154
|
'/' +
|
|
@@ -55145,7 +55203,7 @@ function createPaginationParams$4(params) {
|
|
|
55145
55203
|
function createResourceRequest$i(config) {
|
|
55146
55204
|
const headers = {};
|
|
55147
55205
|
return {
|
|
55148
|
-
baseUri: '/services/data/
|
|
55206
|
+
baseUri: '/services/data/v67.0',
|
|
55149
55207
|
basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
|
|
55150
55208
|
method: 'get',
|
|
55151
55209
|
body: null,
|
|
@@ -55188,7 +55246,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
|
55188
55246
|
function createResourceRequest$h(config) {
|
|
55189
55247
|
const headers = {};
|
|
55190
55248
|
return {
|
|
55191
|
-
baseUri: '/services/data/
|
|
55249
|
+
baseUri: '/services/data/v67.0',
|
|
55192
55250
|
basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
|
|
55193
55251
|
method: 'get',
|
|
55194
55252
|
body: null,
|
|
@@ -55547,7 +55605,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
55547
55605
|
function createResourceRequest$g(config) {
|
|
55548
55606
|
const headers = {};
|
|
55549
55607
|
return {
|
|
55550
|
-
baseUri: '/services/data/
|
|
55608
|
+
baseUri: '/services/data/v67.0',
|
|
55551
55609
|
basePath: '/ui-api/list-records/' +
|
|
55552
55610
|
config.urlParams.objectApiName +
|
|
55553
55611
|
'/' +
|
|
@@ -56030,7 +56088,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
56030
56088
|
function createResourceRequest$f(config) {
|
|
56031
56089
|
const headers = {};
|
|
56032
56090
|
return {
|
|
56033
|
-
baseUri: '/services/data/
|
|
56091
|
+
baseUri: '/services/data/v67.0',
|
|
56034
56092
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
|
|
56035
56093
|
method: 'get',
|
|
56036
56094
|
body: null,
|
|
@@ -56227,7 +56285,7 @@ function keyBuilder$1D$1(luvio, params) {
|
|
|
56227
56285
|
function createResourceRequest$e(config) {
|
|
56228
56286
|
const headers = {};
|
|
56229
56287
|
return {
|
|
56230
|
-
baseUri: '/services/data/
|
|
56288
|
+
baseUri: '/services/data/v67.0',
|
|
56231
56289
|
basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
|
|
56232
56290
|
method: 'get',
|
|
56233
56291
|
body: null,
|
|
@@ -56270,7 +56328,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
|
56270
56328
|
function createResourceRequest$d(config) {
|
|
56271
56329
|
const headers = {};
|
|
56272
56330
|
return {
|
|
56273
|
-
baseUri: '/services/data/
|
|
56331
|
+
baseUri: '/services/data/v67.0',
|
|
56274
56332
|
basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
|
|
56275
56333
|
method: 'get',
|
|
56276
56334
|
body: null,
|
|
@@ -57564,7 +57622,7 @@ const ingest$1g$1 = function RecordUiRepresentationIngest(input, path, luvio, st
|
|
|
57564
57622
|
function createResourceRequest$c(config) {
|
|
57565
57623
|
const headers = {};
|
|
57566
57624
|
return {
|
|
57567
|
-
baseUri: '/services/data/
|
|
57625
|
+
baseUri: '/services/data/v67.0',
|
|
57568
57626
|
basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
|
|
57569
57627
|
method: 'get',
|
|
57570
57628
|
body: null,
|
|
@@ -58840,7 +58898,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
58840
58898
|
function createResourceRequest$b(config) {
|
|
58841
58899
|
const headers = {};
|
|
58842
58900
|
return {
|
|
58843
|
-
baseUri: '/services/data/
|
|
58901
|
+
baseUri: '/services/data/v67.0',
|
|
58844
58902
|
basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
|
|
58845
58903
|
method: 'get',
|
|
58846
58904
|
body: null,
|
|
@@ -59927,7 +59985,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
59927
59985
|
function createResourceRequest$a(config) {
|
|
59928
59986
|
const headers = {};
|
|
59929
59987
|
return {
|
|
59930
|
-
baseUri: '/services/data/
|
|
59988
|
+
baseUri: '/services/data/v67.0',
|
|
59931
59989
|
basePath: '/ui-api/related-list-records/' +
|
|
59932
59990
|
config.urlParams.parentRecordId +
|
|
59933
59991
|
'/' +
|
|
@@ -60245,7 +60303,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
60245
60303
|
function createResourceRequest$9(config) {
|
|
60246
60304
|
const headers = {};
|
|
60247
60305
|
return {
|
|
60248
|
-
baseUri: '/services/data/
|
|
60306
|
+
baseUri: '/services/data/v67.0',
|
|
60249
60307
|
basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
|
|
60250
60308
|
method: 'post',
|
|
60251
60309
|
body: config.body,
|
|
@@ -60828,7 +60886,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
60828
60886
|
function createResourceRequest$8(config) {
|
|
60829
60887
|
const headers = {};
|
|
60830
60888
|
return {
|
|
60831
|
-
baseUri: '/services/data/
|
|
60889
|
+
baseUri: '/services/data/v67.0',
|
|
60832
60890
|
basePath: '/ui-api/search/results',
|
|
60833
60891
|
method: 'post',
|
|
60834
60892
|
body: config.body,
|
|
@@ -61044,7 +61102,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
61044
61102
|
function createResourceRequest$7(config) {
|
|
61045
61103
|
const headers = {};
|
|
61046
61104
|
return {
|
|
61047
|
-
baseUri: '/services/data/
|
|
61105
|
+
baseUri: '/services/data/v67.0',
|
|
61048
61106
|
basePath: '/ui-api/search/results/keyword',
|
|
61049
61107
|
method: 'post',
|
|
61050
61108
|
body: config.body,
|
|
@@ -61592,7 +61650,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
|
61592
61650
|
function createResourceRequest$6(config) {
|
|
61593
61651
|
const headers = {};
|
|
61594
61652
|
return {
|
|
61595
|
-
baseUri: '/services/data/
|
|
61653
|
+
baseUri: '/services/data/v67.0',
|
|
61596
61654
|
basePath: '/ui-api/lookups/' +
|
|
61597
61655
|
config.urlParams.objectApiName +
|
|
61598
61656
|
'/' +
|
|
@@ -62107,7 +62165,7 @@ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
|
62107
62165
|
function createResourceRequest$5(config) {
|
|
62108
62166
|
const headers = {};
|
|
62109
62167
|
return {
|
|
62110
|
-
baseUri: '/services/data/
|
|
62168
|
+
baseUri: '/services/data/v67.0',
|
|
62111
62169
|
basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
|
|
62112
62170
|
method: 'get',
|
|
62113
62171
|
body: null,
|
|
@@ -62655,7 +62713,7 @@ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
|
|
|
62655
62713
|
function createResourceRequest$4(config) {
|
|
62656
62714
|
const headers = {};
|
|
62657
62715
|
return {
|
|
62658
|
-
baseUri: '/services/data/
|
|
62716
|
+
baseUri: '/services/data/v67.0',
|
|
62659
62717
|
basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
|
|
62660
62718
|
method: 'get',
|
|
62661
62719
|
body: null,
|
|
@@ -63203,7 +63261,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
63203
63261
|
function createResourceRequest$3(config) {
|
|
63204
63262
|
const headers = {};
|
|
63205
63263
|
return {
|
|
63206
|
-
baseUri: '/services/data/
|
|
63264
|
+
baseUri: '/services/data/v67.0',
|
|
63207
63265
|
basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
|
|
63208
63266
|
method: 'get',
|
|
63209
63267
|
body: null,
|
|
@@ -93831,7 +93889,7 @@ class PrimingNetworkError extends Error {
|
|
|
93831
93889
|
}
|
|
93832
93890
|
|
|
93833
93891
|
// note this is automatically incremented by scripts/release/bump-api-version.js at each release
|
|
93834
|
-
const apiVersion$1 = `
|
|
93892
|
+
const apiVersion$1 = `v67.0`;
|
|
93835
93893
|
const basePath = `/services/data/${apiVersion$1}`;
|
|
93836
93894
|
|
|
93837
93895
|
class NetworkRecordLoader {
|
|
@@ -94335,7 +94393,7 @@ function instrumentPrimingSession(session) {
|
|
|
94335
94393
|
// so eslint doesn't complain about nimbus
|
|
94336
94394
|
/* global __nimbus */
|
|
94337
94395
|
// note this is automatically incremented by scripts/release/bump-api-version.js at each release
|
|
94338
|
-
const apiVersion = `
|
|
94396
|
+
const apiVersion = `v67.0`;
|
|
94339
94397
|
const batchObjectInfoEndpoint = `/services/data/${apiVersion}/ui-api/object-info/batch`;
|
|
94340
94398
|
const objectInfoDirectoryEndpoint = `/services/data/${apiVersion}/ui-api/object-info`;
|
|
94341
94399
|
class NimbusPrimingNetworkAdapter {
|
|
@@ -94759,7 +94817,7 @@ function ingestError$1$1(luvio, config, params, error, snapshotRefresh) {
|
|
|
94759
94817
|
function createResourceRequest$2$1(config) {
|
|
94760
94818
|
const headers = {};
|
|
94761
94819
|
return {
|
|
94762
|
-
baseUri: '/services/data/
|
|
94820
|
+
baseUri: '/services/data/v67.0',
|
|
94763
94821
|
basePath: '/graphql',
|
|
94764
94822
|
method: 'post',
|
|
94765
94823
|
body: { ...config.body, query: print$1(config.body.query) },
|
|
@@ -94885,7 +94943,7 @@ function createResourceRequest$n(config) {
|
|
|
94885
94943
|
const headers = {};
|
|
94886
94944
|
const transformedConfig = stripDocumentsOfMetaschema$1(config);
|
|
94887
94945
|
return {
|
|
94888
|
-
baseUri: '/services/data/
|
|
94946
|
+
baseUri: '/services/data/v67.0',
|
|
94889
94947
|
basePath: '/graphql/batch',
|
|
94890
94948
|
method: 'post',
|
|
94891
94949
|
body: transformedConfig.body,
|
|
@@ -96517,7 +96575,10 @@ class AuraNetworkCommand extends NetworkCommand$1 {
|
|
|
96517
96575
|
coerceAuraErrors(auraErrors) {
|
|
96518
96576
|
return toError(auraErrors[0]);
|
|
96519
96577
|
}
|
|
96520
|
-
|
|
96578
|
+
/**
|
|
96579
|
+
* Customize how non-2xx fetch fallback responses are converted into errors.
|
|
96580
|
+
*/
|
|
96581
|
+
async coerceError(errorResponse) {
|
|
96521
96582
|
return toError(errorResponse.statusText);
|
|
96522
96583
|
}
|
|
96523
96584
|
convertAuraResponseToData(responsePromise, coerceError) {
|
|
@@ -96555,7 +96616,7 @@ class AuraNetworkCommand extends NetworkCommand$1 {
|
|
|
96555
96616
|
}
|
|
96556
96617
|
});
|
|
96557
96618
|
} else {
|
|
96558
|
-
return this.
|
|
96619
|
+
return this.coerceError(response2).then((coercedError) => {
|
|
96559
96620
|
return err$1(coercedError);
|
|
96560
96621
|
}).finally(() => {
|
|
96561
96622
|
try {
|
|
@@ -97196,7 +97257,7 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
|
|
|
97196
97257
|
coerceAuraErrors(auraErrors) {
|
|
97197
97258
|
return toError(auraErrors[0]);
|
|
97198
97259
|
}
|
|
97199
|
-
async
|
|
97260
|
+
async coerceError(errorResponse) {
|
|
97200
97261
|
return toError(errorResponse.statusText);
|
|
97201
97262
|
}
|
|
97202
97263
|
processAuraReturnValue(auraReturnValue) {
|
|
@@ -97242,7 +97303,7 @@ let AuraCacheControlCommand$1 = class AuraCacheControlCommand extends CacheContr
|
|
|
97242
97303
|
}
|
|
97243
97304
|
});
|
|
97244
97305
|
} else {
|
|
97245
|
-
return this.
|
|
97306
|
+
return this.coerceError(response2).then((coercedError) => {
|
|
97246
97307
|
return err$1(coercedError);
|
|
97247
97308
|
}).finally(() => {
|
|
97248
97309
|
try {
|
|
@@ -97340,7 +97401,7 @@ class AuraCacheControlCommand extends CacheControlCommand {
|
|
|
97340
97401
|
coerceAuraErrors(auraErrors) {
|
|
97341
97402
|
return toError(auraErrors[0]);
|
|
97342
97403
|
}
|
|
97343
|
-
async
|
|
97404
|
+
async coerceError(errorResponse) {
|
|
97344
97405
|
return toError(errorResponse.statusText);
|
|
97345
97406
|
}
|
|
97346
97407
|
processAuraReturnValue(auraReturnValue) {
|
|
@@ -97386,7 +97447,7 @@ class AuraCacheControlCommand extends CacheControlCommand {
|
|
|
97386
97447
|
}
|
|
97387
97448
|
});
|
|
97388
97449
|
} else {
|
|
97389
|
-
return this.
|
|
97450
|
+
return this.coerceError(response2).then((coercedError) => {
|
|
97390
97451
|
return err$1(coercedError);
|
|
97391
97452
|
}).finally(() => {
|
|
97392
97453
|
try {
|
|
@@ -98630,7 +98691,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
98630
98691
|
},
|
|
98631
98692
|
};
|
|
98632
98693
|
}
|
|
98633
|
-
// version: 1.
|
|
98694
|
+
// version: 1.414.0-3d95b40524
|
|
98634
98695
|
|
|
98635
98696
|
/**
|
|
98636
98697
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -98656,7 +98717,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
98656
98717
|
},
|
|
98657
98718
|
};
|
|
98658
98719
|
}
|
|
98659
|
-
// version: 1.
|
|
98720
|
+
// version: 1.414.0-3d95b40524
|
|
98660
98721
|
|
|
98661
98722
|
/*!
|
|
98662
98723
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -99659,7 +99720,16 @@ class GraphQLImperativeBindingsService {
|
|
|
99659
99720
|
return async (...params) => {
|
|
99660
99721
|
try {
|
|
99661
99722
|
if (params.length) {
|
|
99662
|
-
|
|
99723
|
+
const options = {
|
|
99724
|
+
acceptedOperations: ["query"]
|
|
99725
|
+
};
|
|
99726
|
+
const result = resolveAndValidateGraphQLConfig(params[0], options);
|
|
99727
|
+
if (result == null ? void 0 : result.isErr()) {
|
|
99728
|
+
return result.error;
|
|
99729
|
+
}
|
|
99730
|
+
if (result == null ? void 0 : result.isOk()) {
|
|
99731
|
+
params[0] = result.value;
|
|
99732
|
+
}
|
|
99663
99733
|
}
|
|
99664
99734
|
return await buildBaseImperativeInvoker(getCommand, (result) => this.transformResult(result, exposeRefresh))(...params);
|
|
99665
99735
|
} catch (error) {
|
|
@@ -99750,7 +99820,19 @@ function buildServiceDescriptor$2$1() {
|
|
|
99750
99820
|
class GraphQLLegacyImperativeBindingsService {
|
|
99751
99821
|
bind(getCommand) {
|
|
99752
99822
|
const invoke = async (config, requestContext, callback) => {
|
|
99753
|
-
|
|
99823
|
+
if (config) {
|
|
99824
|
+
const options = {
|
|
99825
|
+
acceptedOperations: ["query"]
|
|
99826
|
+
};
|
|
99827
|
+
const result = resolveAndValidateGraphQLConfig(config, options);
|
|
99828
|
+
if (result == null ? void 0 : result.isErr()) {
|
|
99829
|
+
callback(result.error);
|
|
99830
|
+
return;
|
|
99831
|
+
}
|
|
99832
|
+
if (result == null ? void 0 : result.isOk()) {
|
|
99833
|
+
config = result.value;
|
|
99834
|
+
}
|
|
99835
|
+
}
|
|
99754
99836
|
const command = getCommand({ config, assertIsValid: assertIsValid$1 });
|
|
99755
99837
|
try {
|
|
99756
99838
|
const overrides = getOverridesForLegacyRequestContext(requestContext);
|
|
@@ -99779,7 +99861,20 @@ class GraphQLLegacyImperativeBindingsService {
|
|
|
99779
99861
|
}
|
|
99780
99862
|
};
|
|
99781
99863
|
const subscribe = (config, requestContext, callback) => {
|
|
99782
|
-
|
|
99864
|
+
if (config) {
|
|
99865
|
+
const options = {
|
|
99866
|
+
acceptedOperations: ["query"]
|
|
99867
|
+
};
|
|
99868
|
+
const result = resolveAndValidateGraphQLConfig(config, options);
|
|
99869
|
+
if (result == null ? void 0 : result.isErr()) {
|
|
99870
|
+
callback(result.error);
|
|
99871
|
+
return () => {
|
|
99872
|
+
};
|
|
99873
|
+
}
|
|
99874
|
+
if (result == null ? void 0 : result.isOk()) {
|
|
99875
|
+
config = result.value;
|
|
99876
|
+
}
|
|
99877
|
+
}
|
|
99783
99878
|
const command = getCommand({ config, assertIsValid: assertIsValid$1 });
|
|
99784
99879
|
let unsubscribe = () => {
|
|
99785
99880
|
};
|
|
@@ -99828,9 +99923,19 @@ class GraphQLMutationBindingsService {
|
|
|
99828
99923
|
return async (...params) => {
|
|
99829
99924
|
try {
|
|
99830
99925
|
if (params.length) {
|
|
99831
|
-
|
|
99926
|
+
const options = {
|
|
99832
99927
|
acceptedOperations: ["mutation"]
|
|
99833
|
-
}
|
|
99928
|
+
};
|
|
99929
|
+
const result2 = resolveAndValidateGraphQLConfig(params[0], options);
|
|
99930
|
+
if (result2 == null ? void 0 : result2.isErr()) {
|
|
99931
|
+
return {
|
|
99932
|
+
data: void 0,
|
|
99933
|
+
errors: result2.error.errors
|
|
99934
|
+
};
|
|
99935
|
+
}
|
|
99936
|
+
if (result2 == null ? void 0 : result2.isOk()) {
|
|
99937
|
+
params[0] = result2.value;
|
|
99938
|
+
}
|
|
99834
99939
|
}
|
|
99835
99940
|
const command = getCommand({ params, assertIsValid: assertIsValid$1 });
|
|
99836
99941
|
const result = await command.execute({ cacheControlConfig: { type: "no-cache" } });
|
|
@@ -100160,16 +100265,25 @@ class GraphQLCommandWireAdapterConstructor extends CommandWireAdapterConstructor
|
|
|
100160
100265
|
}
|
|
100161
100266
|
update(config, _context) {
|
|
100162
100267
|
this.unsubscribe();
|
|
100163
|
-
const
|
|
100164
|
-
|
|
100165
|
-
|
|
100166
|
-
|
|
100167
|
-
|
|
100168
|
-
|
|
100268
|
+
const options = {
|
|
100269
|
+
acceptedOperations: ["query"]
|
|
100270
|
+
};
|
|
100271
|
+
const result = resolveAndValidateGraphQLConfig(config, options);
|
|
100272
|
+
if (!result) {
|
|
100273
|
+
return;
|
|
100169
100274
|
}
|
|
100275
|
+
if (result.isErr()) {
|
|
100276
|
+
const error = result.error;
|
|
100277
|
+
this.callback({
|
|
100278
|
+
data: void 0,
|
|
100279
|
+
errors: error.errors
|
|
100280
|
+
});
|
|
100281
|
+
return;
|
|
100282
|
+
}
|
|
100283
|
+
const { query, ...rest } = result.value;
|
|
100170
100284
|
this.config = {
|
|
100171
|
-
|
|
100172
|
-
|
|
100285
|
+
query,
|
|
100286
|
+
...sanitize(rest)
|
|
100173
100287
|
};
|
|
100174
100288
|
this.invokeAdapter();
|
|
100175
100289
|
}
|
|
@@ -101241,7 +101355,7 @@ register$1({
|
|
|
101241
101355
|
id: '@salesforce/lds-network-adapter',
|
|
101242
101356
|
instrument: instrument$2,
|
|
101243
101357
|
});
|
|
101244
|
-
// version: 1.
|
|
101358
|
+
// version: 1.414.0-ff06871479
|
|
101245
101359
|
|
|
101246
101360
|
const { create: create$3, keys: keys$3 } = Object;
|
|
101247
101361
|
const { stringify, parse } = JSON;
|
|
@@ -101290,7 +101404,7 @@ class JsonSchemaErrorCollector {
|
|
|
101290
101404
|
this.errors.unshift(error);
|
|
101291
101405
|
}
|
|
101292
101406
|
toValidationResponse() {
|
|
101293
|
-
return !this.hasErrors() ? ok$
|
|
101407
|
+
return !this.hasErrors() ? ok$4(true) : err$4(this.errors);
|
|
101294
101408
|
}
|
|
101295
101409
|
}
|
|
101296
101410
|
function createThrowableError(errors) {
|
|
@@ -101326,10 +101440,10 @@ function incorrectTypeError(expected, actual, path) {
|
|
|
101326
101440
|
);
|
|
101327
101441
|
}
|
|
101328
101442
|
function validSchemaResponse() {
|
|
101329
|
-
return ok$
|
|
101443
|
+
return ok$4(true);
|
|
101330
101444
|
}
|
|
101331
101445
|
function invalidSchemaResponseWithError(error) {
|
|
101332
|
-
return err$
|
|
101446
|
+
return err$4([error]);
|
|
101333
101447
|
}
|
|
101334
101448
|
function validateJsonSchema(data, schema, path = "$", document = schema) {
|
|
101335
101449
|
if (schema === true) return validSchemaResponse();
|
|
@@ -101842,35 +101956,35 @@ function extractValue(valueNode, variableDefinitions, expectedType) {
|
|
|
101842
101956
|
function extractVariableValue(variableName, variableDefinitions) {
|
|
101843
101957
|
const variable = variableDefinitions[variableName];
|
|
101844
101958
|
if (!variable) {
|
|
101845
|
-
return err$
|
|
101959
|
+
return err$4(
|
|
101846
101960
|
new Error(`Variable '${variableName}' was used in the query but was not defined`)
|
|
101847
101961
|
);
|
|
101848
101962
|
}
|
|
101849
101963
|
if (variable.value !== void 0) {
|
|
101850
|
-
return ok$
|
|
101964
|
+
return ok$4(variable.value);
|
|
101851
101965
|
}
|
|
101852
101966
|
if (variable.definition.defaultValue) {
|
|
101853
101967
|
return extractValue(variable.definition.defaultValue, variableDefinitions);
|
|
101854
101968
|
}
|
|
101855
|
-
return ok$
|
|
101969
|
+
return ok$4(void 0);
|
|
101856
101970
|
}
|
|
101857
101971
|
function validateExpectedType(value, expectedType) {
|
|
101858
101972
|
if (!expectedType) {
|
|
101859
|
-
return ok$
|
|
101973
|
+
return ok$4(value);
|
|
101860
101974
|
}
|
|
101861
101975
|
if (value === null) {
|
|
101862
101976
|
if (expectedType.nullable) {
|
|
101863
|
-
return ok$
|
|
101977
|
+
return ok$4(value);
|
|
101864
101978
|
} else {
|
|
101865
|
-
return err$
|
|
101979
|
+
return err$4(new Error(`Expected ${expectedType.type}, but got null`));
|
|
101866
101980
|
}
|
|
101867
101981
|
}
|
|
101868
101982
|
const actualType = typeof value;
|
|
101869
101983
|
if (actualType === expectedType.type) {
|
|
101870
|
-
return ok$
|
|
101984
|
+
return ok$4(value);
|
|
101871
101985
|
}
|
|
101872
101986
|
const expectedTypeString = expectedType.nullable ? `${expectedType.type} | null` : expectedType.type;
|
|
101873
|
-
return err$
|
|
101987
|
+
return err$4(
|
|
101874
101988
|
new Error(`Expected ${expectedTypeString}, but got ${actualType}: ${JSON.stringify(value)}`)
|
|
101875
101989
|
);
|
|
101876
101990
|
}
|
|
@@ -101913,10 +102027,10 @@ function findExecutableOperation(input) {
|
|
|
101913
102027
|
(def) => def.kind === Kind.OPERATION_DEFINITION
|
|
101914
102028
|
);
|
|
101915
102029
|
if (operations.length === 0) {
|
|
101916
|
-
return err$
|
|
102030
|
+
return err$4(new Error("No operations found in query"));
|
|
101917
102031
|
}
|
|
101918
102032
|
if (operations.length === 1 && !input.operationName) {
|
|
101919
|
-
return ok$
|
|
102033
|
+
return ok$4(operations[0]);
|
|
101920
102034
|
}
|
|
101921
102035
|
if (input.operationName) {
|
|
101922
102036
|
const specifiedOperation = operations.find((op) => {
|
|
@@ -101924,16 +102038,16 @@ function findExecutableOperation(input) {
|
|
|
101924
102038
|
return ((_a = op.name) == null ? void 0 : _a.value) === input.operationName;
|
|
101925
102039
|
});
|
|
101926
102040
|
if (specifiedOperation) {
|
|
101927
|
-
return ok$
|
|
102041
|
+
return ok$4(specifiedOperation);
|
|
101928
102042
|
}
|
|
101929
|
-
return err$
|
|
102043
|
+
return err$4(new Error(`Operation "${input.operationName}" not found in query`));
|
|
101930
102044
|
}
|
|
101931
|
-
return err$
|
|
102045
|
+
return err$4(new Error("Multiple operations found in query, and no operation name provided"));
|
|
101932
102046
|
}
|
|
101933
102047
|
function buildGraphQLInputExtension(input) {
|
|
101934
102048
|
const operationResult = findExecutableOperation(input);
|
|
101935
102049
|
if (operationResult.isErr()) {
|
|
101936
|
-
return err$
|
|
102050
|
+
return err$4(operationResult.error);
|
|
101937
102051
|
}
|
|
101938
102052
|
const operation = operationResult.value;
|
|
101939
102053
|
const selections = operation.selectionSet.selections;
|
|
@@ -101950,7 +102064,7 @@ function buildGraphQLInputExtension(input) {
|
|
|
101950
102064
|
prev[fragment.name.value] = fragment;
|
|
101951
102065
|
return prev;
|
|
101952
102066
|
}, {});
|
|
101953
|
-
return ok$
|
|
102067
|
+
return ok$4({
|
|
101954
102068
|
selections,
|
|
101955
102069
|
request: { definitions: { variables, fragments } },
|
|
101956
102070
|
parentFieldSelection: void 0
|
|
@@ -102106,13 +102220,13 @@ function collectFieldNames(selections, fragments) {
|
|
|
102106
102220
|
}
|
|
102107
102221
|
function buildFieldKey(canonicalFieldName, fieldArguments, variables) {
|
|
102108
102222
|
if (fieldArguments === void 0 || fieldArguments.length === 0) {
|
|
102109
|
-
return ok$
|
|
102223
|
+
return ok$4(canonicalFieldName);
|
|
102110
102224
|
}
|
|
102111
102225
|
const formattedArguments = {};
|
|
102112
102226
|
for (const arg of fieldArguments) {
|
|
102113
102227
|
const result = extractValue(arg.value, variables);
|
|
102114
102228
|
if (result.isErr()) {
|
|
102115
|
-
return err$
|
|
102229
|
+
return err$4(
|
|
102116
102230
|
new Error(
|
|
102117
102231
|
`Failed to extract argument '${arg.name.value}' for field '${canonicalFieldName}': ${result.error.message}`
|
|
102118
102232
|
)
|
|
@@ -102120,7 +102234,7 @@ function buildFieldKey(canonicalFieldName, fieldArguments, variables) {
|
|
|
102120
102234
|
}
|
|
102121
102235
|
formattedArguments[arg.name.value] = result.value;
|
|
102122
102236
|
}
|
|
102123
|
-
return ok$
|
|
102237
|
+
return ok$4(`${canonicalFieldName}::${stableJSONStringify$3({ args: formattedArguments })}`);
|
|
102124
102238
|
}
|
|
102125
102239
|
({
|
|
102126
102240
|
kind: Kind.FIELD,
|
|
@@ -102145,17 +102259,17 @@ function extractIfArgument(directive, variables, directiveName) {
|
|
|
102145
102259
|
var _a;
|
|
102146
102260
|
const ifArg = (_a = directive.arguments) == null ? void 0 : _a.find((arg) => arg.name.value === "if");
|
|
102147
102261
|
if (!ifArg) {
|
|
102148
|
-
return err$
|
|
102262
|
+
return err$4(new Error(`@${directiveName} directive requires an 'if' argument`));
|
|
102149
102263
|
}
|
|
102150
102264
|
const result = extractValue(ifArg.value, variables, { type: "boolean", nullable: false });
|
|
102151
102265
|
if (result.isErr()) {
|
|
102152
|
-
return err$
|
|
102266
|
+
return err$4(result.error);
|
|
102153
102267
|
}
|
|
102154
|
-
return ok$
|
|
102268
|
+
return ok$4(result.value);
|
|
102155
102269
|
}
|
|
102156
102270
|
function shouldSkip(selection, variables) {
|
|
102157
102271
|
if (!selection.directives || selection.directives.length === 0) {
|
|
102158
|
-
return ok$
|
|
102272
|
+
return ok$4(false);
|
|
102159
102273
|
}
|
|
102160
102274
|
for (const directive of selection.directives) {
|
|
102161
102275
|
if (directive.name.value === "skip") {
|
|
@@ -102164,7 +102278,7 @@ function shouldSkip(selection, variables) {
|
|
|
102164
102278
|
return ifResult;
|
|
102165
102279
|
}
|
|
102166
102280
|
if (ifResult.value === true) {
|
|
102167
|
-
return ok$
|
|
102281
|
+
return ok$4(true);
|
|
102168
102282
|
}
|
|
102169
102283
|
}
|
|
102170
102284
|
if (directive.name.value === "include") {
|
|
@@ -102173,11 +102287,11 @@ function shouldSkip(selection, variables) {
|
|
|
102173
102287
|
return ifResult;
|
|
102174
102288
|
}
|
|
102175
102289
|
if (ifResult.value === false) {
|
|
102176
|
-
return ok$
|
|
102290
|
+
return ok$4(true);
|
|
102177
102291
|
}
|
|
102178
102292
|
}
|
|
102179
102293
|
}
|
|
102180
|
-
return ok$
|
|
102294
|
+
return ok$4(false);
|
|
102181
102295
|
}
|
|
102182
102296
|
class BaseScalarFieldDef {
|
|
102183
102297
|
constructor(nullable) {
|
|
@@ -102185,11 +102299,11 @@ class BaseScalarFieldDef {
|
|
|
102185
102299
|
}
|
|
102186
102300
|
write(_cache, input) {
|
|
102187
102301
|
if (input.data === void 0) {
|
|
102188
|
-
return ok$
|
|
102302
|
+
return ok$4({ type: "missing" });
|
|
102189
102303
|
}
|
|
102190
102304
|
if (input.data === null) {
|
|
102191
102305
|
if (!this.nullable) {
|
|
102192
|
-
return err$
|
|
102306
|
+
return err$4([
|
|
102193
102307
|
{
|
|
102194
102308
|
type: "unknown",
|
|
102195
102309
|
error: new Error(
|
|
@@ -102199,14 +102313,14 @@ class BaseScalarFieldDef {
|
|
|
102199
102313
|
]);
|
|
102200
102314
|
}
|
|
102201
102315
|
}
|
|
102202
|
-
return ok$
|
|
102316
|
+
return ok$4({ type: "data", data: input.data });
|
|
102203
102317
|
}
|
|
102204
102318
|
read(_cache, input) {
|
|
102205
102319
|
const normalizedData = input.normalizedData;
|
|
102206
102320
|
if (normalizedData.type === "missing") {
|
|
102207
|
-
return ok$
|
|
102321
|
+
return ok$4(void 0);
|
|
102208
102322
|
}
|
|
102209
|
-
return ok$
|
|
102323
|
+
return ok$4(normalizedData.data);
|
|
102210
102324
|
}
|
|
102211
102325
|
augmentSelections(input) {
|
|
102212
102326
|
return input;
|
|
@@ -102228,11 +102342,11 @@ class BaseArrayFieldDef {
|
|
|
102228
102342
|
}
|
|
102229
102343
|
write(cache, input) {
|
|
102230
102344
|
if (input.data === void 0) {
|
|
102231
|
-
return ok$
|
|
102345
|
+
return ok$4({ type: "missing" });
|
|
102232
102346
|
}
|
|
102233
102347
|
if (input.data === null) {
|
|
102234
102348
|
if (!this.nullable) {
|
|
102235
|
-
return err$
|
|
102349
|
+
return err$4([
|
|
102236
102350
|
{
|
|
102237
102351
|
type: "unknown",
|
|
102238
102352
|
error: new Error(
|
|
@@ -102241,10 +102355,10 @@ class BaseArrayFieldDef {
|
|
|
102241
102355
|
}
|
|
102242
102356
|
]);
|
|
102243
102357
|
}
|
|
102244
|
-
return ok$
|
|
102358
|
+
return ok$4({ type: "data", data: input.data });
|
|
102245
102359
|
}
|
|
102246
102360
|
if (!Array.isArray(input.data)) {
|
|
102247
|
-
return err$
|
|
102361
|
+
return err$4([
|
|
102248
102362
|
{
|
|
102249
102363
|
type: "unknown",
|
|
102250
102364
|
error: new Error(
|
|
@@ -102272,18 +102386,18 @@ class BaseArrayFieldDef {
|
|
|
102272
102386
|
}
|
|
102273
102387
|
});
|
|
102274
102388
|
if (arrayNormalizationErrors.length > 0) {
|
|
102275
|
-
return err$
|
|
102389
|
+
return err$4(arrayNormalizationErrors);
|
|
102276
102390
|
}
|
|
102277
|
-
return ok$
|
|
102391
|
+
return ok$4({ type: "data", data: normalizedArray });
|
|
102278
102392
|
}
|
|
102279
102393
|
read(cache, input) {
|
|
102280
102394
|
const normalizedData = input.normalizedData;
|
|
102281
102395
|
if (normalizedData.type === "missing") {
|
|
102282
|
-
return ok$
|
|
102396
|
+
return ok$4(void 0);
|
|
102283
102397
|
}
|
|
102284
102398
|
if (normalizedData.data === null) {
|
|
102285
102399
|
if (!this.nullable) {
|
|
102286
|
-
return err$
|
|
102400
|
+
return err$4([
|
|
102287
102401
|
{
|
|
102288
102402
|
type: "unknown",
|
|
102289
102403
|
error: new Error(
|
|
@@ -102292,10 +102406,10 @@ class BaseArrayFieldDef {
|
|
|
102292
102406
|
}
|
|
102293
102407
|
]);
|
|
102294
102408
|
}
|
|
102295
|
-
return ok$
|
|
102409
|
+
return ok$4({ type: "data", data: null });
|
|
102296
102410
|
}
|
|
102297
102411
|
if (!Array.isArray(normalizedData.data)) {
|
|
102298
|
-
return err$
|
|
102412
|
+
return err$4([
|
|
102299
102413
|
{
|
|
102300
102414
|
type: "unknown",
|
|
102301
102415
|
error: new Error(
|
|
@@ -102320,9 +102434,9 @@ class BaseArrayFieldDef {
|
|
|
102320
102434
|
}
|
|
102321
102435
|
});
|
|
102322
102436
|
if (arrayDenormalizationErrors.length > 0) {
|
|
102323
|
-
return err$
|
|
102437
|
+
return err$4(arrayDenormalizationErrors);
|
|
102324
102438
|
}
|
|
102325
|
-
return ok$
|
|
102439
|
+
return ok$4(denormalizedArray);
|
|
102326
102440
|
}
|
|
102327
102441
|
}
|
|
102328
102442
|
class BaseObjectFieldDef {
|
|
@@ -102339,7 +102453,7 @@ class BaseObjectFieldDef {
|
|
|
102339
102453
|
write(cache, input) {
|
|
102340
102454
|
var _a;
|
|
102341
102455
|
if (!input.selection.selectionSet) {
|
|
102342
|
-
return err$
|
|
102456
|
+
return err$4([
|
|
102343
102457
|
{
|
|
102344
102458
|
type: "unknown",
|
|
102345
102459
|
error: new Error(
|
|
@@ -102349,11 +102463,11 @@ class BaseObjectFieldDef {
|
|
|
102349
102463
|
]);
|
|
102350
102464
|
}
|
|
102351
102465
|
if (input.data === void 0) {
|
|
102352
|
-
return ok$
|
|
102466
|
+
return ok$4({ type: "missing" });
|
|
102353
102467
|
}
|
|
102354
102468
|
if (input.data === null) {
|
|
102355
102469
|
if (!this.nullable) {
|
|
102356
|
-
return err$
|
|
102470
|
+
return err$4([
|
|
102357
102471
|
{
|
|
102358
102472
|
type: "unknown",
|
|
102359
102473
|
error: new Error(
|
|
@@ -102362,7 +102476,7 @@ class BaseObjectFieldDef {
|
|
|
102362
102476
|
}
|
|
102363
102477
|
]);
|
|
102364
102478
|
}
|
|
102365
|
-
return ok$
|
|
102479
|
+
return ok$4({ type: "data", data: null });
|
|
102366
102480
|
}
|
|
102367
102481
|
const writeResult = this.repository.write(cache, {
|
|
102368
102482
|
...input,
|
|
@@ -102375,12 +102489,12 @@ class BaseObjectFieldDef {
|
|
|
102375
102489
|
if (writeResult.isErr()) {
|
|
102376
102490
|
return writeResult;
|
|
102377
102491
|
}
|
|
102378
|
-
return ok$
|
|
102492
|
+
return ok$4({ type: "data", data: writeResult.value });
|
|
102379
102493
|
}
|
|
102380
102494
|
read(cache, input) {
|
|
102381
102495
|
var _a;
|
|
102382
102496
|
if (!input.selection.selectionSet) {
|
|
102383
|
-
return err$
|
|
102497
|
+
return err$4([
|
|
102384
102498
|
{
|
|
102385
102499
|
type: "unknown",
|
|
102386
102500
|
error: new Error(
|
|
@@ -102391,11 +102505,11 @@ class BaseObjectFieldDef {
|
|
|
102391
102505
|
}
|
|
102392
102506
|
const normalizedData = input.normalizedData;
|
|
102393
102507
|
if (normalizedData.type === "missing") {
|
|
102394
|
-
return ok$
|
|
102508
|
+
return ok$4(void 0);
|
|
102395
102509
|
}
|
|
102396
102510
|
if (normalizedData.data === null) {
|
|
102397
102511
|
if (!this.nullable) {
|
|
102398
|
-
return err$
|
|
102512
|
+
return err$4([
|
|
102399
102513
|
{
|
|
102400
102514
|
type: "unknown",
|
|
102401
102515
|
error: new Error(
|
|
@@ -102404,7 +102518,7 @@ class BaseObjectFieldDef {
|
|
|
102404
102518
|
}
|
|
102405
102519
|
]);
|
|
102406
102520
|
}
|
|
102407
|
-
return ok$
|
|
102521
|
+
return ok$4(null);
|
|
102408
102522
|
}
|
|
102409
102523
|
return this.repository.read(cache, {
|
|
102410
102524
|
...input,
|
|
@@ -102687,7 +102801,7 @@ class BaseGraphQLTypeRepository {
|
|
|
102687
102801
|
var _a;
|
|
102688
102802
|
const fieldDef = this.getFieldDef(input, selection);
|
|
102689
102803
|
if (!fieldDef) {
|
|
102690
|
-
return err$
|
|
102804
|
+
return err$4(
|
|
102691
102805
|
new Error(
|
|
102692
102806
|
`Unknown field "${selection.name.value}" on type "${this.typeName}". Expected one of fields ${Object.keys(this.fields)}.`
|
|
102693
102807
|
)
|
|
@@ -102698,10 +102812,10 @@ class BaseGraphQLTypeRepository {
|
|
|
102698
102812
|
input.request.definitions.variables
|
|
102699
102813
|
);
|
|
102700
102814
|
if (cacheFieldKeyResult.isErr()) {
|
|
102701
|
-
return err$
|
|
102815
|
+
return err$4(cacheFieldKeyResult.error);
|
|
102702
102816
|
}
|
|
102703
102817
|
const cacheFieldKey = cacheFieldKeyResult.value;
|
|
102704
|
-
return ok$
|
|
102818
|
+
return ok$4((_a = input.existingNormalizedData || input.normalizedData) == null ? void 0 : _a[cacheFieldKey]);
|
|
102705
102819
|
}
|
|
102706
102820
|
denormalizeFieldSelection(cache, input, selection, errorCollector) {
|
|
102707
102821
|
var _a;
|
|
@@ -102807,22 +102921,22 @@ class BaseGraphQLTypeRepository {
|
|
|
102807
102921
|
return shouldSkipResult;
|
|
102808
102922
|
}
|
|
102809
102923
|
if (shouldSkipResult.value) {
|
|
102810
|
-
return ok$
|
|
102924
|
+
return ok$4(false);
|
|
102811
102925
|
}
|
|
102812
102926
|
return this.satisfiesFragmentTypeCondition(input, fragment);
|
|
102813
102927
|
}
|
|
102814
102928
|
satisfiesFragmentTypeCondition(_input, fragment) {
|
|
102815
102929
|
if (!fragment.typeCondition) {
|
|
102816
|
-
return ok$
|
|
102930
|
+
return ok$4(true);
|
|
102817
102931
|
}
|
|
102818
102932
|
const conditionalTypeName = fragment.typeCondition.name.value;
|
|
102819
102933
|
if (conditionalTypeName === this.typeName) {
|
|
102820
|
-
return ok$
|
|
102934
|
+
return ok$4(true);
|
|
102821
102935
|
}
|
|
102822
102936
|
if (this.implementedInterfaces.includes(conditionalTypeName)) {
|
|
102823
|
-
return ok$
|
|
102937
|
+
return ok$4(true);
|
|
102824
102938
|
}
|
|
102825
|
-
return ok$
|
|
102939
|
+
return ok$4(false);
|
|
102826
102940
|
}
|
|
102827
102941
|
getCacheKeyFieldArguments(selection) {
|
|
102828
102942
|
return selection.arguments;
|
|
@@ -102881,7 +102995,7 @@ class IdentifiableGraphQLTypeRepository extends IdentifiableTypeRepository {
|
|
|
102881
102995
|
const key = this.buildKey(this.buildKeyParams(input));
|
|
102882
102996
|
const normalized = this.normalizeData(cache, input);
|
|
102883
102997
|
if (normalized.isErr()) {
|
|
102884
|
-
return err$
|
|
102998
|
+
return err$4(normalized.error);
|
|
102885
102999
|
}
|
|
102886
103000
|
const existing = cache.get(key);
|
|
102887
103001
|
if (!deepEquals$2(existing == null ? void 0 : existing.value, normalized.value)) {
|
|
@@ -102890,7 +103004,7 @@ class IdentifiableGraphQLTypeRepository extends IdentifiableTypeRepository {
|
|
|
102890
103004
|
metadata: this.cacheMetadata
|
|
102891
103005
|
});
|
|
102892
103006
|
}
|
|
102893
|
-
return ok$
|
|
103007
|
+
return ok$4({
|
|
102894
103008
|
type: "link",
|
|
102895
103009
|
linkedKey: key
|
|
102896
103010
|
});
|
|
@@ -102905,7 +103019,7 @@ class IdentifiableGraphQLTypeRepository extends IdentifiableTypeRepository {
|
|
|
102905
103019
|
if (normalizeDataResult.isErr()) {
|
|
102906
103020
|
return normalizeDataResult;
|
|
102907
103021
|
}
|
|
102908
|
-
return ok$
|
|
103022
|
+
return ok$4(
|
|
102909
103023
|
deepMerge$2(
|
|
102910
103024
|
{},
|
|
102911
103025
|
(existingNormalizedData == null ? void 0 : existingNormalizedData.value) || {},
|
|
@@ -102975,7 +103089,7 @@ class GraphQLDocumentRootTypeRepository extends IdentifiableGraphQLTypeRepositor
|
|
|
102975
103089
|
if (result.isErr()) {
|
|
102976
103090
|
return result;
|
|
102977
103091
|
}
|
|
102978
|
-
return ok$
|
|
103092
|
+
return ok$4({
|
|
102979
103093
|
data: result.value
|
|
102980
103094
|
});
|
|
102981
103095
|
}
|
|
@@ -102983,7 +103097,7 @@ class GraphQLDocumentRootTypeRepository extends IdentifiableGraphQLTypeRepositor
|
|
|
102983
103097
|
var _a;
|
|
102984
103098
|
const operationResult = findExecutableOperation(input);
|
|
102985
103099
|
if (operationResult.isErr()) {
|
|
102986
|
-
return err$
|
|
103100
|
+
return err$4(operationResult.error);
|
|
102987
103101
|
}
|
|
102988
103102
|
const operation = operationResult.value;
|
|
102989
103103
|
const fragmentDefinitions = input.query.definitions.filter(
|
|
@@ -103006,7 +103120,7 @@ class GraphQLDocumentRootTypeRepository extends IdentifiableGraphQLTypeRepositor
|
|
|
103006
103120
|
...operation,
|
|
103007
103121
|
selectionSet: { kind: Kind.SELECTION_SET, selections: augmentedOperationSelections }
|
|
103008
103122
|
};
|
|
103009
|
-
return ok$
|
|
103123
|
+
return ok$4({
|
|
103010
103124
|
...input.query,
|
|
103011
103125
|
definitions: [
|
|
103012
103126
|
...input.query.definitions.filter((def) => def.kind !== Kind.FRAGMENT_DEFINITION).map((def) => {
|
|
@@ -103041,7 +103155,7 @@ class BaseInterfaceRepository {
|
|
|
103041
103155
|
}
|
|
103042
103156
|
write(cache, input) {
|
|
103043
103157
|
if (typeof input.data !== "object") {
|
|
103044
|
-
return err$
|
|
103158
|
+
return err$4([
|
|
103045
103159
|
{
|
|
103046
103160
|
type: "unknown",
|
|
103047
103161
|
error: new Error(`Got a non-object value for ${this.typeName} field"`)
|
|
@@ -103051,7 +103165,7 @@ class BaseInterfaceRepository {
|
|
|
103051
103165
|
const discriminator = this.getTypeDiscriminator(input.data, input.selections);
|
|
103052
103166
|
const concreteTypeRepository = this.possibleTypes[discriminator];
|
|
103053
103167
|
if (!concreteTypeRepository) {
|
|
103054
|
-
return err$
|
|
103168
|
+
return err$4([
|
|
103055
103169
|
{
|
|
103056
103170
|
type: "unknown",
|
|
103057
103171
|
error: new Error(
|
|
@@ -103062,7 +103176,7 @@ class BaseInterfaceRepository {
|
|
|
103062
103176
|
}
|
|
103063
103177
|
const selectionErr = this.verifyInterfaceFields(input.selections);
|
|
103064
103178
|
if (selectionErr) {
|
|
103065
|
-
return err$
|
|
103179
|
+
return err$4(selectionErr);
|
|
103066
103180
|
}
|
|
103067
103181
|
const normalizeInput = {
|
|
103068
103182
|
...input,
|
|
@@ -103074,14 +103188,14 @@ class BaseInterfaceRepository {
|
|
|
103074
103188
|
};
|
|
103075
103189
|
const result = concreteTypeRepository.write(cache, normalizeInput);
|
|
103076
103190
|
if (result.isOk()) {
|
|
103077
|
-
return ok$
|
|
103191
|
+
return ok$4({ discriminator, data: result.value });
|
|
103078
103192
|
}
|
|
103079
103193
|
return result;
|
|
103080
103194
|
}
|
|
103081
103195
|
read(cache, input) {
|
|
103082
103196
|
const unionRep = input.normalizedData;
|
|
103083
103197
|
if (typeof unionRep.data !== "object" || unionRep.data === null) {
|
|
103084
|
-
return err$
|
|
103198
|
+
return err$4([
|
|
103085
103199
|
{
|
|
103086
103200
|
type: "unknown",
|
|
103087
103201
|
error: new Error(`Got a non-object value for ${this.typeName} field.`)
|
|
@@ -103091,7 +103205,7 @@ class BaseInterfaceRepository {
|
|
|
103091
103205
|
const discriminator = unionRep.discriminator;
|
|
103092
103206
|
const concreteRepository = this.possibleTypes[discriminator];
|
|
103093
103207
|
if (!concreteRepository) {
|
|
103094
|
-
return err$
|
|
103208
|
+
return err$4([
|
|
103095
103209
|
{
|
|
103096
103210
|
type: "unknown",
|
|
103097
103211
|
error: new Error(
|
|
@@ -103102,7 +103216,7 @@ class BaseInterfaceRepository {
|
|
|
103102
103216
|
}
|
|
103103
103217
|
const selectionErr = this.verifyInterfaceFields(input.selections);
|
|
103104
103218
|
if (selectionErr) {
|
|
103105
|
-
return err$
|
|
103219
|
+
return err$4(selectionErr);
|
|
103106
103220
|
}
|
|
103107
103221
|
const denormalizeInput = {
|
|
103108
103222
|
...input,
|
|
@@ -103207,7 +103321,7 @@ class BaseUnionRepository {
|
|
|
103207
103321
|
}
|
|
103208
103322
|
write(cache, input) {
|
|
103209
103323
|
if (typeof input.data !== "object") {
|
|
103210
|
-
return err$
|
|
103324
|
+
return err$4([
|
|
103211
103325
|
{
|
|
103212
103326
|
type: "unknown",
|
|
103213
103327
|
error: new Error(`Got a non-object value for ${this.typeName} field"`)
|
|
@@ -103217,7 +103331,7 @@ class BaseUnionRepository {
|
|
|
103217
103331
|
const discriminator = this.getTypeDiscriminator(input.data, input.selections);
|
|
103218
103332
|
const concreteTypeRepository = this.possibleTypes[discriminator];
|
|
103219
103333
|
if (!concreteTypeRepository) {
|
|
103220
|
-
return err$
|
|
103334
|
+
return err$4([
|
|
103221
103335
|
{
|
|
103222
103336
|
type: "unknown",
|
|
103223
103337
|
error: new Error(
|
|
@@ -103228,7 +103342,7 @@ class BaseUnionRepository {
|
|
|
103228
103342
|
}
|
|
103229
103343
|
const selectionErr = this.verifyUnionFields(input.selections);
|
|
103230
103344
|
if (selectionErr) {
|
|
103231
|
-
return err$
|
|
103345
|
+
return err$4(selectionErr);
|
|
103232
103346
|
}
|
|
103233
103347
|
const normalizeInput = {
|
|
103234
103348
|
...input,
|
|
@@ -103240,14 +103354,14 @@ class BaseUnionRepository {
|
|
|
103240
103354
|
};
|
|
103241
103355
|
const result = concreteTypeRepository.write(cache, normalizeInput);
|
|
103242
103356
|
if (result.isOk()) {
|
|
103243
|
-
return ok$
|
|
103357
|
+
return ok$4({ discriminator, data: result.value });
|
|
103244
103358
|
}
|
|
103245
103359
|
return result;
|
|
103246
103360
|
}
|
|
103247
103361
|
read(cache, input) {
|
|
103248
103362
|
const unionRep = input.normalizedData;
|
|
103249
103363
|
if (typeof unionRep.data !== "object" || unionRep.data === null) {
|
|
103250
|
-
return err$
|
|
103364
|
+
return err$4([
|
|
103251
103365
|
{
|
|
103252
103366
|
type: "unknown",
|
|
103253
103367
|
error: new Error(`Got a non-object value for ${this.typeName} field.`)
|
|
@@ -103257,7 +103371,7 @@ class BaseUnionRepository {
|
|
|
103257
103371
|
const discriminator = unionRep.discriminator;
|
|
103258
103372
|
const concreteRepository = this.possibleTypes[discriminator];
|
|
103259
103373
|
if (!concreteRepository) {
|
|
103260
|
-
return err$
|
|
103374
|
+
return err$4([
|
|
103261
103375
|
{
|
|
103262
103376
|
type: "unknown",
|
|
103263
103377
|
error: new Error(
|
|
@@ -103268,7 +103382,7 @@ class BaseUnionRepository {
|
|
|
103268
103382
|
}
|
|
103269
103383
|
const selectionErr = this.verifyUnionFields(input.selections);
|
|
103270
103384
|
if (selectionErr) {
|
|
103271
|
-
return err$
|
|
103385
|
+
return err$4(selectionErr);
|
|
103272
103386
|
}
|
|
103273
103387
|
const denormalizeInput = {
|
|
103274
103388
|
...input,
|
|
@@ -107831,7 +107945,7 @@ function buildCommandClass(baseClass) {
|
|
|
107831
107945
|
this.endpoint = 'RecordUiController.executeGraphQL';
|
|
107832
107946
|
}
|
|
107833
107947
|
get url() {
|
|
107834
|
-
return '/services/data/
|
|
107948
|
+
return '/services/data/v67.0/graphql';
|
|
107835
107949
|
}
|
|
107836
107950
|
get cacheControlStrategyConfig() {
|
|
107837
107951
|
return {
|
|
@@ -115021,15 +115135,13 @@ getServices(serviceRequirements).then((services) => {
|
|
|
115021
115135
|
const graphql_state_manager_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphql_state_manager');
|
|
115022
115136
|
const factory = (config) => {
|
|
115023
115137
|
assertIsValid(config, CONFIG_SCHEMA);
|
|
115024
|
-
|
|
115025
|
-
|
|
115026
|
-
|
|
115027
|
-
|
|
115028
|
-
|
|
115029
|
-
}
|
|
115030
|
-
config = { ...config, query };
|
|
115138
|
+
const validatedConfig = resolveAndValidateGraphQLConfig(config, {
|
|
115139
|
+
acceptedOperations: ['query'],
|
|
115140
|
+
});
|
|
115141
|
+
if (validatedConfig === undefined || validatedConfig.isErr()) {
|
|
115142
|
+
throw new Error('Internal error in GraphQL adapter occurred: Unable to resolve query');
|
|
115031
115143
|
}
|
|
115032
|
-
return new graphql_state_manager_ctor(
|
|
115144
|
+
return new graphql_state_manager_ctor(validatedConfig.value, documentRootType, services);
|
|
115033
115145
|
};
|
|
115034
115146
|
graphql_state_manager = createStateManager(factory, ['query'], ['variables', 'operationName']);
|
|
115035
115147
|
const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
@@ -115054,7 +115166,7 @@ function registerCallback(cb) {
|
|
|
115054
115166
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
115055
115167
|
}
|
|
115056
115168
|
}
|
|
115057
|
-
// version: 1.
|
|
115169
|
+
// version: 1.414.0-3d95b40524
|
|
115058
115170
|
|
|
115059
115171
|
function createFragmentMap(documentNode) {
|
|
115060
115172
|
const fragments = {};
|
|
@@ -142881,7 +142993,7 @@ function ingestError$1(luvio, config, params, error, snapshotRefresh) {
|
|
|
142881
142993
|
function createResourceRequest$2(config) {
|
|
142882
142994
|
const headers = {};
|
|
142883
142995
|
return {
|
|
142884
|
-
baseUri: '/services/data/
|
|
142996
|
+
baseUri: '/services/data/v67.0',
|
|
142885
142997
|
basePath: '/graphql',
|
|
142886
142998
|
method: 'post',
|
|
142887
142999
|
body: { ...config.body,
|
|
@@ -143307,7 +143419,7 @@ function createResourceRequest(config) {
|
|
|
143307
143419
|
const headers = {};
|
|
143308
143420
|
const transformedConfig = stripDocumentsOfMetaschema(config);
|
|
143309
143421
|
return {
|
|
143310
|
-
baseUri: '/services/data/
|
|
143422
|
+
baseUri: '/services/data/v67.0',
|
|
143311
143423
|
basePath: '/graphql/batch',
|
|
143312
143424
|
method: 'post',
|
|
143313
143425
|
body: transformedConfig.body,
|
|
@@ -144279,7 +144391,7 @@ register$1({
|
|
|
144279
144391
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
144280
144392
|
instrument: instrument$1,
|
|
144281
144393
|
});
|
|
144282
|
-
// version: 1.
|
|
144394
|
+
// version: 1.414.0-3d95b40524
|
|
144283
144395
|
|
|
144284
144396
|
// On core the unstable adapters are re-exported with different names,
|
|
144285
144397
|
// we want to match them here.
|
|
@@ -144431,7 +144543,7 @@ withDefaultLuvio((luvio) => {
|
|
|
144431
144543
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
144432
144544
|
graphQLImperative = ldsAdapter;
|
|
144433
144545
|
});
|
|
144434
|
-
// version: 1.
|
|
144546
|
+
// version: 1.414.0-3d95b40524
|
|
144435
144547
|
|
|
144436
144548
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
144437
144549
|
__proto__: null,
|
|
@@ -145230,7 +145342,7 @@ const callbacks$1 = [];
|
|
|
145230
145342
|
function register(r) {
|
|
145231
145343
|
callbacks$1.forEach((callback) => callback(r));
|
|
145232
145344
|
}
|
|
145233
|
-
// version: 1.
|
|
145345
|
+
// version: 1.414.0-ff06871479
|
|
145234
145346
|
|
|
145235
145347
|
/**
|
|
145236
145348
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -146546,4 +146658,4 @@ const { luvio } = getRuntime();
|
|
|
146546
146658
|
setDefaultLuvio({ luvio });
|
|
146547
146659
|
|
|
146548
146660
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
146549
|
-
// version: 1.
|
|
146661
|
+
// version: 1.414.0-ff06871479
|