@salesforce/lds-runtime-mobile 1.334.0 → 1.336.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +64 -36
- package/dist/types/priming/recordLoaders/api.d.ts +1 -1
- package/package.json +14 -14
- package/sfdc/main.js +64 -36
- package/sfdc/types/priming/recordLoaders/api.d.ts +1 -1
package/dist/main.js
CHANGED
|
@@ -19,6 +19,7 @@ import { withRegistration, register } from '@salesforce/lds-default-luvio';
|
|
|
19
19
|
import { setupInstrumentation, instrumentAdapter as instrumentAdapter$1, instrumentLuvio, setLdsAdaptersUiapiInstrumentation, setLdsNetworkAdapterInstrumentation } from '@salesforce/lds-instrumentation';
|
|
20
20
|
import { HttpStatusCode, setBypassDeepFreeze, StoreKeySet, serializeStructuredKey, StringKeyInMemoryStore, Reader, deepFreeze, emitAdapterEvent, ingestShape, coerceConfig as coerceConfig$1, typeCheckConfig as typeCheckConfig$h, createResourceParams as createResourceParams$h, StoreKeyMap, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$f, resolveLink, createCustomAdapterEventEmitter, isFileReference, Environment, Luvio, InMemoryStore } from '@luvio/engine';
|
|
21
21
|
import { isSupportedEntity, configuration, getObjectInfoAdapterFactory, RECORD_ID_PREFIX, RECORD_FIELDS_KEY_JUNCTION, isStoreKeyRecordViewEntity, extractRecordIdFromStoreKey, buildRecordRepKeyFromId, keyBuilderRecord, RecordRepresentationTTL, keyBuilderQuickActionExecutionRepresentation, ingestQuickActionExecutionRepresentation, getRecordId18 as getRecordId18$1, getRecordsAdapterFactory as getRecordsAdapterFactory$1, RecordRepresentationRepresentationType, ObjectInfoRepresentationType, getObjectInfosAdapterFactory, getObjectInfoDirectoryAdapterFactory, UiApiNamespace, RecordRepresentationType, RecordRepresentationVersion } from '@salesforce/lds-adapters-uiapi';
|
|
22
|
+
import graphqlRecordTypeIdFixGate from '@salesforce/gate/lmr.graphqlRecordTypeIdFix';
|
|
22
23
|
import { Kind as Kind$1, visit as visit$1, isObjectType, defaultFieldResolver, buildSchema, parse as parse$5, extendSchema, isScalarType, execute, print } from '@luvio/graphql-parser';
|
|
23
24
|
import FIRST_DAY_OF_WEEK from '@salesforce/i18n/firstDayOfWeek';
|
|
24
25
|
import graphqQueryFieldLimit from '@salesforce/gate/lmr.graphqQueryFieldLimit';
|
|
@@ -50,7 +51,7 @@ const { join: join$1, push: push$2, unshift } = Array.prototype;
|
|
|
50
51
|
const { isArray: isArray$3 } = Array;
|
|
51
52
|
const { entries: entries$4, keys: keys$6 } = Object;
|
|
52
53
|
|
|
53
|
-
const UI_API_BASE_URI = '/services/data/
|
|
54
|
+
const UI_API_BASE_URI = '/services/data/v64.0/ui-api';
|
|
54
55
|
|
|
55
56
|
let instrumentation = {
|
|
56
57
|
aggregateUiChunkCount: (_cb) => { },
|
|
@@ -7360,7 +7361,7 @@ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
|
|
|
7360
7361
|
function createResourceRequest$l(config) {
|
|
7361
7362
|
const headers = {};
|
|
7362
7363
|
return {
|
|
7363
|
-
baseUri: '/services/data/
|
|
7364
|
+
baseUri: '/services/data/v64.0',
|
|
7364
7365
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
7365
7366
|
method: 'get',
|
|
7366
7367
|
body: null,
|
|
@@ -7826,7 +7827,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
7826
7827
|
function createResourceRequest$k(config) {
|
|
7827
7828
|
const headers = {};
|
|
7828
7829
|
return {
|
|
7829
|
-
baseUri: '/services/data/
|
|
7830
|
+
baseUri: '/services/data/v64.0',
|
|
7830
7831
|
basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
|
|
7831
7832
|
method: 'get',
|
|
7832
7833
|
body: null,
|
|
@@ -9322,7 +9323,7 @@ function createPaginationParams$5(params) {
|
|
|
9322
9323
|
function createResourceRequest$j(config) {
|
|
9323
9324
|
const headers = {};
|
|
9324
9325
|
return {
|
|
9325
|
-
baseUri: '/services/data/
|
|
9326
|
+
baseUri: '/services/data/v64.0',
|
|
9326
9327
|
basePath: '/ui-api/list-ui/' +
|
|
9327
9328
|
config.urlParams.objectApiName +
|
|
9328
9329
|
'/' +
|
|
@@ -9380,7 +9381,7 @@ function createPaginationParams$4(params) {
|
|
|
9380
9381
|
function createResourceRequest$i(config) {
|
|
9381
9382
|
const headers = {};
|
|
9382
9383
|
return {
|
|
9383
|
-
baseUri: '/services/data/
|
|
9384
|
+
baseUri: '/services/data/v64.0',
|
|
9384
9385
|
basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
|
|
9385
9386
|
method: 'get',
|
|
9386
9387
|
body: null,
|
|
@@ -9426,7 +9427,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
|
9426
9427
|
function createResourceRequest$h(config) {
|
|
9427
9428
|
const headers = {};
|
|
9428
9429
|
return {
|
|
9429
|
-
baseUri: '/services/data/
|
|
9430
|
+
baseUri: '/services/data/v64.0',
|
|
9430
9431
|
basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
|
|
9431
9432
|
method: 'get',
|
|
9432
9433
|
body: null,
|
|
@@ -9785,7 +9786,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
9785
9786
|
function createResourceRequest$g(config) {
|
|
9786
9787
|
const headers = {};
|
|
9787
9788
|
return {
|
|
9788
|
-
baseUri: '/services/data/
|
|
9789
|
+
baseUri: '/services/data/v64.0',
|
|
9789
9790
|
basePath: '/ui-api/list-records/' +
|
|
9790
9791
|
config.urlParams.objectApiName +
|
|
9791
9792
|
'/' +
|
|
@@ -10681,7 +10682,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
10681
10682
|
function createResourceRequest$f(config) {
|
|
10682
10683
|
const headers = {};
|
|
10683
10684
|
return {
|
|
10684
|
-
baseUri: '/services/data/
|
|
10685
|
+
baseUri: '/services/data/v64.0',
|
|
10685
10686
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
|
|
10686
10687
|
method: 'get',
|
|
10687
10688
|
body: null,
|
|
@@ -10881,7 +10882,7 @@ function keyBuilder$1D(luvio, params) {
|
|
|
10881
10882
|
function createResourceRequest$e(config) {
|
|
10882
10883
|
const headers = {};
|
|
10883
10884
|
return {
|
|
10884
|
-
baseUri: '/services/data/
|
|
10885
|
+
baseUri: '/services/data/v64.0',
|
|
10885
10886
|
basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
|
|
10886
10887
|
method: 'get',
|
|
10887
10888
|
body: null,
|
|
@@ -10927,7 +10928,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
|
10927
10928
|
function createResourceRequest$d(config) {
|
|
10928
10929
|
const headers = {};
|
|
10929
10930
|
return {
|
|
10930
|
-
baseUri: '/services/data/
|
|
10931
|
+
baseUri: '/services/data/v64.0',
|
|
10931
10932
|
basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
|
|
10932
10933
|
method: 'get',
|
|
10933
10934
|
body: null,
|
|
@@ -14528,7 +14529,7 @@ const ingest$1g = function RecordUiRepresentationIngest(input, path, luvio, stor
|
|
|
14528
14529
|
function createResourceRequest$c(config) {
|
|
14529
14530
|
const headers = {};
|
|
14530
14531
|
return {
|
|
14531
|
-
baseUri: '/services/data/
|
|
14532
|
+
baseUri: '/services/data/v64.0',
|
|
14532
14533
|
basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
|
|
14533
14534
|
method: 'get',
|
|
14534
14535
|
body: null,
|
|
@@ -15876,7 +15877,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
15876
15877
|
function createResourceRequest$b(config) {
|
|
15877
15878
|
const headers = {};
|
|
15878
15879
|
return {
|
|
15879
|
-
baseUri: '/services/data/
|
|
15880
|
+
baseUri: '/services/data/v64.0',
|
|
15880
15881
|
basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
|
|
15881
15882
|
method: 'get',
|
|
15882
15883
|
body: null,
|
|
@@ -17721,7 +17722,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
17721
17722
|
function createResourceRequest$a(config) {
|
|
17722
17723
|
const headers = {};
|
|
17723
17724
|
return {
|
|
17724
|
-
baseUri: '/services/data/
|
|
17725
|
+
baseUri: '/services/data/v64.0',
|
|
17725
17726
|
basePath: '/ui-api/related-list-records/' +
|
|
17726
17727
|
config.urlParams.parentRecordId +
|
|
17727
17728
|
'/' +
|
|
@@ -18055,7 +18056,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
18055
18056
|
function createResourceRequest$9(config) {
|
|
18056
18057
|
const headers = {};
|
|
18057
18058
|
return {
|
|
18058
|
-
baseUri: '/services/data/
|
|
18059
|
+
baseUri: '/services/data/v64.0',
|
|
18059
18060
|
basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
|
|
18060
18061
|
method: 'post',
|
|
18061
18062
|
body: config.body,
|
|
@@ -19632,7 +19633,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
19632
19633
|
function createResourceRequest$8(config) {
|
|
19633
19634
|
const headers = {};
|
|
19634
19635
|
return {
|
|
19635
|
-
baseUri: '/services/data/
|
|
19636
|
+
baseUri: '/services/data/v64.0',
|
|
19636
19637
|
basePath: '/ui-api/search/results',
|
|
19637
19638
|
method: 'post',
|
|
19638
19639
|
body: config.body,
|
|
@@ -19956,7 +19957,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
19956
19957
|
function createResourceRequest$7(config) {
|
|
19957
19958
|
const headers = {};
|
|
19958
19959
|
return {
|
|
19959
|
-
baseUri: '/services/data/
|
|
19960
|
+
baseUri: '/services/data/v64.0',
|
|
19960
19961
|
basePath: '/ui-api/search/results/keyword',
|
|
19961
19962
|
method: 'post',
|
|
19962
19963
|
body: config.body,
|
|
@@ -20478,7 +20479,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
|
20478
20479
|
function createResourceRequest$6(config) {
|
|
20479
20480
|
const headers = {};
|
|
20480
20481
|
return {
|
|
20481
|
-
baseUri: '/services/data/
|
|
20482
|
+
baseUri: '/services/data/v64.0',
|
|
20482
20483
|
basePath: '/ui-api/lookups/' +
|
|
20483
20484
|
config.urlParams.objectApiName +
|
|
20484
20485
|
'/' +
|
|
@@ -21414,7 +21415,7 @@ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
|
21414
21415
|
function createResourceRequest$5(config) {
|
|
21415
21416
|
const headers = {};
|
|
21416
21417
|
return {
|
|
21417
|
-
baseUri: '/services/data/
|
|
21418
|
+
baseUri: '/services/data/v64.0',
|
|
21418
21419
|
basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
|
|
21419
21420
|
method: 'get',
|
|
21420
21421
|
body: null,
|
|
@@ -22114,7 +22115,7 @@ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
|
|
|
22114
22115
|
function createResourceRequest$4(config) {
|
|
22115
22116
|
const headers = {};
|
|
22116
22117
|
return {
|
|
22117
|
-
baseUri: '/services/data/
|
|
22118
|
+
baseUri: '/services/data/v64.0',
|
|
22118
22119
|
basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
|
|
22119
22120
|
method: 'get',
|
|
22120
22121
|
body: null,
|
|
@@ -22810,7 +22811,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
22810
22811
|
function createResourceRequest$3(config) {
|
|
22811
22812
|
const headers = {};
|
|
22812
22813
|
return {
|
|
22813
|
-
baseUri: '/services/data/
|
|
22814
|
+
baseUri: '/services/data/v64.0',
|
|
22814
22815
|
basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
|
|
22815
22816
|
method: 'get',
|
|
22816
22817
|
body: null,
|
|
@@ -28433,13 +28434,27 @@ function convertGraphQLToRaml(astNode, state) {
|
|
|
28433
28434
|
? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$H)
|
|
28434
28435
|
: new Map();
|
|
28435
28436
|
const { fieldsBag, trie } = createFieldsBagAndTrie(data, requestedFields, state);
|
|
28437
|
+
const recordTypeId = data.ldsRecordTypeId === null ? null : data.ldsRecordTypeId.value;
|
|
28438
|
+
if (graphqlRecordTypeIdFixGate.isOpen({ fallback: false }) &&
|
|
28439
|
+
recordTypeId &&
|
|
28440
|
+
recordTypeId !== MAIN_RECORD_TYPE_ID) {
|
|
28441
|
+
const fieldName = 'RecordTypeId';
|
|
28442
|
+
fieldsBag[fieldName] = {
|
|
28443
|
+
value: recordTypeId,
|
|
28444
|
+
displayValue: null,
|
|
28445
|
+
};
|
|
28446
|
+
trie.children[fieldName] = {
|
|
28447
|
+
name: fieldName,
|
|
28448
|
+
children: {},
|
|
28449
|
+
};
|
|
28450
|
+
}
|
|
28436
28451
|
const recordRepresentation = {
|
|
28437
28452
|
apiName: data.ApiName,
|
|
28438
28453
|
eTag: '',
|
|
28439
28454
|
lastModifiedById: data.LastModifiedById.value,
|
|
28440
28455
|
lastModifiedDate: data.LastModifiedDate.value,
|
|
28441
28456
|
systemModstamp: data.SystemModstamp.value,
|
|
28442
|
-
recordTypeId:
|
|
28457
|
+
recordTypeId: recordTypeId,
|
|
28443
28458
|
recordTypeInfo: null,
|
|
28444
28459
|
childRelationships: {},
|
|
28445
28460
|
id: data.Id,
|
|
@@ -50408,9 +50423,9 @@ function buildLdsResponse(response) {
|
|
|
50408
50423
|
|
|
50409
50424
|
// so eslint doesn't complain about nimbus
|
|
50410
50425
|
/* global __nimbus */
|
|
50411
|
-
const tasker = idleDetector.declareNotifierTaskMulti('NimbusNetworkAdapter');
|
|
50426
|
+
const tasker$1 = idleDetector.declareNotifierTaskMulti('NimbusNetworkAdapter');
|
|
50412
50427
|
const NimbusNetworkAdapter = (request, resourceRequestContext) => {
|
|
50413
|
-
tasker.add();
|
|
50428
|
+
tasker$1.add();
|
|
50414
50429
|
return new Promise((resolve, reject) => {
|
|
50415
50430
|
try {
|
|
50416
50431
|
__nimbus.plugins.LdsNetworkAdapter.sendRequest(buildNimbusNetworkPluginRequest(request, resourceRequestContext), (response) => {
|
|
@@ -50431,7 +50446,7 @@ const NimbusNetworkAdapter = (request, resourceRequestContext) => {
|
|
|
50431
50446
|
// fails to parse the request), and call reject
|
|
50432
50447
|
reject(error);
|
|
50433
50448
|
}
|
|
50434
|
-
}).finally(() => tasker.done());
|
|
50449
|
+
}).finally(() => tasker$1.done());
|
|
50435
50450
|
};
|
|
50436
50451
|
|
|
50437
50452
|
/**
|
|
@@ -51964,6 +51979,7 @@ class LdsInternalDataTable {
|
|
|
51964
51979
|
}
|
|
51965
51980
|
}
|
|
51966
51981
|
|
|
51982
|
+
const tasker = idleDetector.declareNotifierTaskMulti('NimbusSqliteStore');
|
|
51967
51983
|
class NimbusSqliteStore {
|
|
51968
51984
|
constructor(plugin, additionalTableMap = {}) {
|
|
51969
51985
|
this.plugin = plugin;
|
|
@@ -51977,26 +51993,37 @@ class NimbusSqliteStore {
|
|
|
51977
51993
|
return true;
|
|
51978
51994
|
}
|
|
51979
51995
|
query(sql, params) {
|
|
51996
|
+
tasker.add();
|
|
51980
51997
|
return new Promise((resolve, reject) => {
|
|
51981
51998
|
this.plugin.query(sql, params, (result) => {
|
|
51982
51999
|
resolve(result);
|
|
51983
52000
|
}, (error) => {
|
|
51984
52001
|
reject(error);
|
|
51985
52002
|
});
|
|
51986
|
-
});
|
|
52003
|
+
}).finally(() => tasker.done());
|
|
51987
52004
|
}
|
|
51988
52005
|
batchQuery(queries) {
|
|
51989
52006
|
const promises = queries.map((q) => this.query(q.sql, q.params));
|
|
51990
|
-
|
|
52007
|
+
tasker.add();
|
|
52008
|
+
return Promise.all(promises).finally(() => tasker.done());
|
|
51991
52009
|
}
|
|
51992
52010
|
async getEntries(entryIds, segment) {
|
|
51993
|
-
|
|
52011
|
+
tasker.add();
|
|
52012
|
+
return this.getTable(segment)
|
|
52013
|
+
.getByKeys(entryIds, segment)
|
|
52014
|
+
.finally(() => tasker.done());
|
|
51994
52015
|
}
|
|
51995
52016
|
async getMetadata(entryIds, segment) {
|
|
51996
|
-
|
|
52017
|
+
tasker.add();
|
|
52018
|
+
return this.getTable(segment)
|
|
52019
|
+
.getMetadataByKeys(entryIds, segment)
|
|
52020
|
+
.finally(() => tasker.done());
|
|
51997
52021
|
}
|
|
51998
52022
|
getAllEntries(segment) {
|
|
51999
|
-
|
|
52023
|
+
tasker.add();
|
|
52024
|
+
return this.getTable(segment)
|
|
52025
|
+
.getAll(segment)
|
|
52026
|
+
.finally(() => tasker.done());
|
|
52000
52027
|
}
|
|
52001
52028
|
setEntries(entries, segment) {
|
|
52002
52029
|
if (keys$1(entries).length === 0) {
|
|
@@ -52092,6 +52119,7 @@ class NimbusSqliteStore {
|
|
|
52092
52119
|
};
|
|
52093
52120
|
}
|
|
52094
52121
|
batchOperationAsPromise(sqliteOperations) {
|
|
52122
|
+
tasker.add();
|
|
52095
52123
|
return new Promise((resolve, reject) => {
|
|
52096
52124
|
this.plugin.batchOperations(sqliteOperations, (error) => {
|
|
52097
52125
|
if (error && error !== null) {
|
|
@@ -52101,7 +52129,7 @@ class NimbusSqliteStore {
|
|
|
52101
52129
|
resolve();
|
|
52102
52130
|
}
|
|
52103
52131
|
});
|
|
52104
|
-
});
|
|
52132
|
+
}).finally(() => tasker.done());
|
|
52105
52133
|
}
|
|
52106
52134
|
}
|
|
52107
52135
|
|
|
@@ -52968,7 +52996,7 @@ class PrimingNetworkError extends Error {
|
|
|
52968
52996
|
}
|
|
52969
52997
|
|
|
52970
52998
|
// note this is automatically incremented by scripts/release/bump-api-version.js at each release
|
|
52971
|
-
const apiVersion$1 = `
|
|
52999
|
+
const apiVersion$1 = `v64.0`;
|
|
52972
53000
|
const basePath = `/services/data/${apiVersion$1}`;
|
|
52973
53001
|
|
|
52974
53002
|
class NetworkRecordLoader {
|
|
@@ -53445,7 +53473,7 @@ function instrumentPrimingSession(session) {
|
|
|
53445
53473
|
// so eslint doesn't complain about nimbus
|
|
53446
53474
|
/* global __nimbus */
|
|
53447
53475
|
// note this is automatically incremented by scripts/release/bump-api-version.js at each release
|
|
53448
|
-
const apiVersion = `
|
|
53476
|
+
const apiVersion = `v64.0`;
|
|
53449
53477
|
const batchObjectInfoEndpoint = `/services/data/${apiVersion}/ui-api/object-info/batch`;
|
|
53450
53478
|
const objectInfoDirectoryEndpoint = `/services/data/${apiVersion}/ui-api/object-info`;
|
|
53451
53479
|
class NimbusPrimingNetworkAdapter {
|
|
@@ -53937,7 +53965,7 @@ function ingestError$1(luvio, config, params, error, snapshotRefresh) {
|
|
|
53937
53965
|
function createResourceRequest$2(config) {
|
|
53938
53966
|
const headers = {};
|
|
53939
53967
|
return {
|
|
53940
|
-
baseUri: '/services/data/
|
|
53968
|
+
baseUri: '/services/data/v64.0',
|
|
53941
53969
|
basePath: '/graphql',
|
|
53942
53970
|
method: 'post',
|
|
53943
53971
|
body: { ...config.body, query: print(config.body.query) },
|
|
@@ -54063,7 +54091,7 @@ function createResourceRequest(config) {
|
|
|
54063
54091
|
const headers = {};
|
|
54064
54092
|
const transformedConfig = stripDocumentsOfMetaschema(config);
|
|
54065
54093
|
return {
|
|
54066
|
-
baseUri: '/services/data/
|
|
54094
|
+
baseUri: '/services/data/v64.0',
|
|
54067
54095
|
basePath: '/graphql/batch',
|
|
54068
54096
|
method: 'post',
|
|
54069
54097
|
body: transformedConfig.body,
|
|
@@ -54659,7 +54687,7 @@ class SideEffectService {
|
|
|
54659
54687
|
const objectInfo = await this.ensureObjectInfo(apiName);
|
|
54660
54688
|
const recordFields = {};
|
|
54661
54689
|
for (const fieldName of keys$3(fields)) {
|
|
54662
|
-
const draftField = fields[fieldName];
|
|
54690
|
+
const draftField = fields[fieldName] ?? null;
|
|
54663
54691
|
recordFields[fieldName] = { value: draftField, displayValue: null };
|
|
54664
54692
|
const fieldInfo = objectInfo.fields[fieldName];
|
|
54665
54693
|
if (fieldInfo) {
|
|
@@ -55325,4 +55353,4 @@ register({
|
|
|
55325
55353
|
});
|
|
55326
55354
|
|
|
55327
55355
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
55328
|
-
// version: 1.
|
|
55356
|
+
// version: 1.336.0-7d2c781c74
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const apiVersion = "
|
|
1
|
+
export declare const apiVersion = "v64.0";
|
|
2
2
|
export declare const basePath: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-runtime-mobile",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.336.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS runtime for mobile/hybrid environments.",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
"release:corejar": "yarn build && ../core-build/scripts/core.js --name=lds-runtime-mobile"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
36
|
-
"@salesforce/lds-bindings": "^1.
|
|
37
|
-
"@salesforce/lds-instrumentation": "^1.
|
|
35
|
+
"@salesforce/lds-adapters-uiapi": "^1.336.0",
|
|
36
|
+
"@salesforce/lds-bindings": "^1.336.0",
|
|
37
|
+
"@salesforce/lds-instrumentation": "^1.336.0",
|
|
38
38
|
"@salesforce/user": "0.0.21",
|
|
39
39
|
"o11y": "250.7.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@salesforce/lds-adapters-graphql": "^1.
|
|
43
|
-
"@salesforce/lds-drafts": "^1.
|
|
44
|
-
"@salesforce/lds-durable-records": "^1.
|
|
45
|
-
"@salesforce/lds-network-adapter": "^1.
|
|
46
|
-
"@salesforce/lds-network-nimbus": "^1.
|
|
47
|
-
"@salesforce/lds-store-binary": "^1.
|
|
48
|
-
"@salesforce/lds-store-nimbus": "^1.
|
|
49
|
-
"@salesforce/lds-store-sql": "^1.
|
|
50
|
-
"@salesforce/lds-utils-adapters": "^1.
|
|
51
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
42
|
+
"@salesforce/lds-adapters-graphql": "^1.336.0",
|
|
43
|
+
"@salesforce/lds-drafts": "^1.336.0",
|
|
44
|
+
"@salesforce/lds-durable-records": "^1.336.0",
|
|
45
|
+
"@salesforce/lds-network-adapter": "^1.336.0",
|
|
46
|
+
"@salesforce/lds-network-nimbus": "^1.336.0",
|
|
47
|
+
"@salesforce/lds-store-binary": "^1.336.0",
|
|
48
|
+
"@salesforce/lds-store-nimbus": "^1.336.0",
|
|
49
|
+
"@salesforce/lds-store-sql": "^1.336.0",
|
|
50
|
+
"@salesforce/lds-utils-adapters": "^1.336.0",
|
|
51
|
+
"@salesforce/nimbus-plugin-lds": "^1.336.0",
|
|
52
52
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
53
53
|
"wait-for-expect": "^3.0.2"
|
|
54
54
|
},
|
package/sfdc/main.js
CHANGED
|
@@ -19,6 +19,7 @@ import { withRegistration, register } from 'force/ldsEngine';
|
|
|
19
19
|
import { setupInstrumentation, instrumentAdapter as instrumentAdapter$1, instrumentLuvio, setLdsAdaptersUiapiInstrumentation, setLdsNetworkAdapterInstrumentation } from 'force/ldsInstrumentation';
|
|
20
20
|
import { HttpStatusCode, setBypassDeepFreeze, StoreKeySet, serializeStructuredKey, StringKeyInMemoryStore, Reader, deepFreeze, emitAdapterEvent, ingestShape, coerceConfig as coerceConfig$1, typeCheckConfig as typeCheckConfig$h, createResourceParams as createResourceParams$h, StoreKeyMap, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$f, resolveLink, createCustomAdapterEventEmitter, isFileReference, Environment, Luvio, InMemoryStore } from 'force/luvioEngine';
|
|
21
21
|
import { isSupportedEntity, configuration, getObjectInfoAdapterFactory, RECORD_ID_PREFIX, RECORD_FIELDS_KEY_JUNCTION, isStoreKeyRecordViewEntity, extractRecordIdFromStoreKey, buildRecordRepKeyFromId, keyBuilderRecord, RecordRepresentationTTL, keyBuilderQuickActionExecutionRepresentation, ingestQuickActionExecutionRepresentation, getRecordId18 as getRecordId18$1, getRecordsAdapterFactory as getRecordsAdapterFactory$1, RecordRepresentationRepresentationType, ObjectInfoRepresentationType, getObjectInfosAdapterFactory, getObjectInfoDirectoryAdapterFactory, UiApiNamespace, RecordRepresentationType, RecordRepresentationVersion } from 'force/ldsAdaptersUiapi';
|
|
22
|
+
import graphqlRecordTypeIdFixGate from '@salesforce/gate/lmr.graphqlRecordTypeIdFix';
|
|
22
23
|
import { Kind as Kind$1, visit as visit$1, isObjectType, defaultFieldResolver, buildSchema, parse as parse$5, extendSchema, isScalarType, execute, print } from 'force/ldsGraphqlParser';
|
|
23
24
|
import FIRST_DAY_OF_WEEK from '@salesforce/i18n/firstDayOfWeek';
|
|
24
25
|
import graphqQueryFieldLimit from '@salesforce/gate/lmr.graphqQueryFieldLimit';
|
|
@@ -50,7 +51,7 @@ const { join: join$1, push: push$2, unshift } = Array.prototype;
|
|
|
50
51
|
const { isArray: isArray$3 } = Array;
|
|
51
52
|
const { entries: entries$4, keys: keys$6 } = Object;
|
|
52
53
|
|
|
53
|
-
const UI_API_BASE_URI = '/services/data/
|
|
54
|
+
const UI_API_BASE_URI = '/services/data/v64.0/ui-api';
|
|
54
55
|
|
|
55
56
|
let instrumentation = {
|
|
56
57
|
aggregateUiChunkCount: (_cb) => { },
|
|
@@ -7360,7 +7361,7 @@ function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
|
|
|
7360
7361
|
function createResourceRequest$l(config) {
|
|
7361
7362
|
const headers = {};
|
|
7362
7363
|
return {
|
|
7363
|
-
baseUri: '/services/data/
|
|
7364
|
+
baseUri: '/services/data/v64.0',
|
|
7364
7365
|
basePath: '/ui-api/records/' + config.urlParams.recordId + '',
|
|
7365
7366
|
method: 'get',
|
|
7366
7367
|
body: null,
|
|
@@ -7826,7 +7827,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
7826
7827
|
function createResourceRequest$k(config) {
|
|
7827
7828
|
const headers = {};
|
|
7828
7829
|
return {
|
|
7829
|
-
baseUri: '/services/data/
|
|
7830
|
+
baseUri: '/services/data/v64.0',
|
|
7830
7831
|
basePath: '/ui-api/records/batch/' + config.urlParams.recordIds + '',
|
|
7831
7832
|
method: 'get',
|
|
7832
7833
|
body: null,
|
|
@@ -9322,7 +9323,7 @@ function createPaginationParams$5(params) {
|
|
|
9322
9323
|
function createResourceRequest$j(config) {
|
|
9323
9324
|
const headers = {};
|
|
9324
9325
|
return {
|
|
9325
|
-
baseUri: '/services/data/
|
|
9326
|
+
baseUri: '/services/data/v64.0',
|
|
9326
9327
|
basePath: '/ui-api/list-ui/' +
|
|
9327
9328
|
config.urlParams.objectApiName +
|
|
9328
9329
|
'/' +
|
|
@@ -9380,7 +9381,7 @@ function createPaginationParams$4(params) {
|
|
|
9380
9381
|
function createResourceRequest$i(config) {
|
|
9381
9382
|
const headers = {};
|
|
9382
9383
|
return {
|
|
9383
|
-
baseUri: '/services/data/
|
|
9384
|
+
baseUri: '/services/data/v64.0',
|
|
9384
9385
|
basePath: '/ui-api/list-ui/' + config.urlParams.listViewId + '',
|
|
9385
9386
|
method: 'get',
|
|
9386
9387
|
body: null,
|
|
@@ -9426,7 +9427,7 @@ function validateAdapterConfig$e(untrustedConfig, configPropertyNames) {
|
|
|
9426
9427
|
function createResourceRequest$h(config) {
|
|
9427
9428
|
const headers = {};
|
|
9428
9429
|
return {
|
|
9429
|
-
baseUri: '/services/data/
|
|
9430
|
+
baseUri: '/services/data/v64.0',
|
|
9430
9431
|
basePath: '/ui-api/list-records/' + config.urlParams.listViewId + '',
|
|
9431
9432
|
method: 'get',
|
|
9432
9433
|
body: null,
|
|
@@ -9785,7 +9786,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
9785
9786
|
function createResourceRequest$g(config) {
|
|
9786
9787
|
const headers = {};
|
|
9787
9788
|
return {
|
|
9788
|
-
baseUri: '/services/data/
|
|
9789
|
+
baseUri: '/services/data/v64.0',
|
|
9789
9790
|
basePath: '/ui-api/list-records/' +
|
|
9790
9791
|
config.urlParams.objectApiName +
|
|
9791
9792
|
'/' +
|
|
@@ -10681,7 +10682,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
10681
10682
|
function createResourceRequest$f(config) {
|
|
10682
10683
|
const headers = {};
|
|
10683
10684
|
return {
|
|
10684
|
-
baseUri: '/services/data/
|
|
10685
|
+
baseUri: '/services/data/v64.0',
|
|
10685
10686
|
basePath: '/ui-api/list-ui/' + config.urlParams.objectApiName + '',
|
|
10686
10687
|
method: 'get',
|
|
10687
10688
|
body: null,
|
|
@@ -10881,7 +10882,7 @@ function keyBuilder$1D(luvio, params) {
|
|
|
10881
10882
|
function createResourceRequest$e(config) {
|
|
10882
10883
|
const headers = {};
|
|
10883
10884
|
return {
|
|
10884
|
-
baseUri: '/services/data/
|
|
10885
|
+
baseUri: '/services/data/v64.0',
|
|
10885
10886
|
basePath: '/ui-api/mru-list-ui/' + config.urlParams.objectApiName + '',
|
|
10886
10887
|
method: 'get',
|
|
10887
10888
|
body: null,
|
|
@@ -10927,7 +10928,7 @@ function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
|
|
|
10927
10928
|
function createResourceRequest$d(config) {
|
|
10928
10929
|
const headers = {};
|
|
10929
10930
|
return {
|
|
10930
|
-
baseUri: '/services/data/
|
|
10931
|
+
baseUri: '/services/data/v64.0',
|
|
10931
10932
|
basePath: '/ui-api/mru-list-records/' + config.urlParams.objectApiName + '',
|
|
10932
10933
|
method: 'get',
|
|
10933
10934
|
body: null,
|
|
@@ -14528,7 +14529,7 @@ const ingest$1g = function RecordUiRepresentationIngest(input, path, luvio, stor
|
|
|
14528
14529
|
function createResourceRequest$c(config) {
|
|
14529
14530
|
const headers = {};
|
|
14530
14531
|
return {
|
|
14531
|
-
baseUri: '/services/data/
|
|
14532
|
+
baseUri: '/services/data/v64.0',
|
|
14532
14533
|
basePath: '/ui-api/record-ui/' + config.urlParams.recordIds + '',
|
|
14533
14534
|
method: 'get',
|
|
14534
14535
|
body: null,
|
|
@@ -15876,7 +15877,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
15876
15877
|
function createResourceRequest$b(config) {
|
|
15877
15878
|
const headers = {};
|
|
15878
15879
|
return {
|
|
15879
|
-
baseUri: '/services/data/
|
|
15880
|
+
baseUri: '/services/data/v64.0',
|
|
15880
15881
|
basePath: '/ui-api/actions/record-defaults/' + config.urlParams.actionApiName + '',
|
|
15881
15882
|
method: 'get',
|
|
15882
15883
|
body: null,
|
|
@@ -17721,7 +17722,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
17721
17722
|
function createResourceRequest$a(config) {
|
|
17722
17723
|
const headers = {};
|
|
17723
17724
|
return {
|
|
17724
|
-
baseUri: '/services/data/
|
|
17725
|
+
baseUri: '/services/data/v64.0',
|
|
17725
17726
|
basePath: '/ui-api/related-list-records/' +
|
|
17726
17727
|
config.urlParams.parentRecordId +
|
|
17727
17728
|
'/' +
|
|
@@ -18055,7 +18056,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
18055
18056
|
function createResourceRequest$9(config) {
|
|
18056
18057
|
const headers = {};
|
|
18057
18058
|
return {
|
|
18058
|
-
baseUri: '/services/data/
|
|
18059
|
+
baseUri: '/services/data/v64.0',
|
|
18059
18060
|
basePath: '/ui-api/related-list-records/batch/' + config.urlParams.parentRecordId + '',
|
|
18060
18061
|
method: 'post',
|
|
18061
18062
|
body: config.body,
|
|
@@ -19632,7 +19633,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
19632
19633
|
function createResourceRequest$8(config) {
|
|
19633
19634
|
const headers = {};
|
|
19634
19635
|
return {
|
|
19635
|
-
baseUri: '/services/data/
|
|
19636
|
+
baseUri: '/services/data/v64.0',
|
|
19636
19637
|
basePath: '/ui-api/search/results',
|
|
19637
19638
|
method: 'post',
|
|
19638
19639
|
body: config.body,
|
|
@@ -19956,7 +19957,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
19956
19957
|
function createResourceRequest$7(config) {
|
|
19957
19958
|
const headers = {};
|
|
19958
19959
|
return {
|
|
19959
|
-
baseUri: '/services/data/
|
|
19960
|
+
baseUri: '/services/data/v64.0',
|
|
19960
19961
|
basePath: '/ui-api/search/results/keyword',
|
|
19961
19962
|
method: 'post',
|
|
19962
19963
|
body: config.body,
|
|
@@ -20478,7 +20479,7 @@ function getResponseCacheKeys$6(storeKeyMap, luvio, resourceParams, response) {
|
|
|
20478
20479
|
function createResourceRequest$6(config) {
|
|
20479
20480
|
const headers = {};
|
|
20480
20481
|
return {
|
|
20481
|
-
baseUri: '/services/data/
|
|
20482
|
+
baseUri: '/services/data/v64.0',
|
|
20482
20483
|
basePath: '/ui-api/lookups/' +
|
|
20483
20484
|
config.urlParams.objectApiName +
|
|
20484
20485
|
'/' +
|
|
@@ -21414,7 +21415,7 @@ function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
|
21414
21415
|
function createResourceRequest$5(config) {
|
|
21415
21416
|
const headers = {};
|
|
21416
21417
|
return {
|
|
21417
|
-
baseUri: '/services/data/
|
|
21418
|
+
baseUri: '/services/data/v64.0',
|
|
21418
21419
|
basePath: '/ui-api/record-defaults/create/' + config.urlParams.objectApiName + '',
|
|
21419
21420
|
method: 'get',
|
|
21420
21421
|
body: null,
|
|
@@ -22114,7 +22115,7 @@ function getResponseCacheKeys$4(storeKeyMap, luvio, resourceParams, response) {
|
|
|
22114
22115
|
function createResourceRequest$4(config) {
|
|
22115
22116
|
const headers = {};
|
|
22116
22117
|
return {
|
|
22117
|
-
baseUri: '/services/data/
|
|
22118
|
+
baseUri: '/services/data/v64.0',
|
|
22118
22119
|
basePath: '/ui-api/record-defaults/template/clone/' + config.urlParams.recordId + '',
|
|
22119
22120
|
method: 'get',
|
|
22120
22121
|
body: null,
|
|
@@ -22810,7 +22811,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
22810
22811
|
function createResourceRequest$3(config) {
|
|
22811
22812
|
const headers = {};
|
|
22812
22813
|
return {
|
|
22813
|
-
baseUri: '/services/data/
|
|
22814
|
+
baseUri: '/services/data/v64.0',
|
|
22814
22815
|
basePath: '/ui-api/record-defaults/template/create/' + config.urlParams.objectApiName + '',
|
|
22815
22816
|
method: 'get',
|
|
22816
22817
|
body: null,
|
|
@@ -28433,13 +28434,27 @@ function convertGraphQLToRaml(astNode, state) {
|
|
|
28433
28434
|
? getRequestedFieldsForType(data.__typename, astNode.selectionSet, state.fragments, isFragmentApplicable$H)
|
|
28434
28435
|
: new Map();
|
|
28435
28436
|
const { fieldsBag, trie } = createFieldsBagAndTrie(data, requestedFields, state);
|
|
28437
|
+
const recordTypeId = data.ldsRecordTypeId === null ? null : data.ldsRecordTypeId.value;
|
|
28438
|
+
if (graphqlRecordTypeIdFixGate.isOpen({ fallback: false }) &&
|
|
28439
|
+
recordTypeId &&
|
|
28440
|
+
recordTypeId !== MAIN_RECORD_TYPE_ID) {
|
|
28441
|
+
const fieldName = 'RecordTypeId';
|
|
28442
|
+
fieldsBag[fieldName] = {
|
|
28443
|
+
value: recordTypeId,
|
|
28444
|
+
displayValue: null,
|
|
28445
|
+
};
|
|
28446
|
+
trie.children[fieldName] = {
|
|
28447
|
+
name: fieldName,
|
|
28448
|
+
children: {},
|
|
28449
|
+
};
|
|
28450
|
+
}
|
|
28436
28451
|
const recordRepresentation = {
|
|
28437
28452
|
apiName: data.ApiName,
|
|
28438
28453
|
eTag: '',
|
|
28439
28454
|
lastModifiedById: data.LastModifiedById.value,
|
|
28440
28455
|
lastModifiedDate: data.LastModifiedDate.value,
|
|
28441
28456
|
systemModstamp: data.SystemModstamp.value,
|
|
28442
|
-
recordTypeId:
|
|
28457
|
+
recordTypeId: recordTypeId,
|
|
28443
28458
|
recordTypeInfo: null,
|
|
28444
28459
|
childRelationships: {},
|
|
28445
28460
|
id: data.Id,
|
|
@@ -50408,9 +50423,9 @@ function buildLdsResponse(response) {
|
|
|
50408
50423
|
|
|
50409
50424
|
// so eslint doesn't complain about nimbus
|
|
50410
50425
|
/* global __nimbus */
|
|
50411
|
-
const tasker = idleDetector.declareNotifierTaskMulti('NimbusNetworkAdapter');
|
|
50426
|
+
const tasker$1 = idleDetector.declareNotifierTaskMulti('NimbusNetworkAdapter');
|
|
50412
50427
|
const NimbusNetworkAdapter = (request, resourceRequestContext) => {
|
|
50413
|
-
tasker.add();
|
|
50428
|
+
tasker$1.add();
|
|
50414
50429
|
return new Promise((resolve, reject) => {
|
|
50415
50430
|
try {
|
|
50416
50431
|
__nimbus.plugins.LdsNetworkAdapter.sendRequest(buildNimbusNetworkPluginRequest(request, resourceRequestContext), (response) => {
|
|
@@ -50431,7 +50446,7 @@ const NimbusNetworkAdapter = (request, resourceRequestContext) => {
|
|
|
50431
50446
|
// fails to parse the request), and call reject
|
|
50432
50447
|
reject(error);
|
|
50433
50448
|
}
|
|
50434
|
-
}).finally(() => tasker.done());
|
|
50449
|
+
}).finally(() => tasker$1.done());
|
|
50435
50450
|
};
|
|
50436
50451
|
|
|
50437
50452
|
/**
|
|
@@ -51964,6 +51979,7 @@ class LdsInternalDataTable {
|
|
|
51964
51979
|
}
|
|
51965
51980
|
}
|
|
51966
51981
|
|
|
51982
|
+
const tasker = idleDetector.declareNotifierTaskMulti('NimbusSqliteStore');
|
|
51967
51983
|
class NimbusSqliteStore {
|
|
51968
51984
|
constructor(plugin, additionalTableMap = {}) {
|
|
51969
51985
|
this.plugin = plugin;
|
|
@@ -51977,26 +51993,37 @@ class NimbusSqliteStore {
|
|
|
51977
51993
|
return true;
|
|
51978
51994
|
}
|
|
51979
51995
|
query(sql, params) {
|
|
51996
|
+
tasker.add();
|
|
51980
51997
|
return new Promise((resolve, reject) => {
|
|
51981
51998
|
this.plugin.query(sql, params, (result) => {
|
|
51982
51999
|
resolve(result);
|
|
51983
52000
|
}, (error) => {
|
|
51984
52001
|
reject(error);
|
|
51985
52002
|
});
|
|
51986
|
-
});
|
|
52003
|
+
}).finally(() => tasker.done());
|
|
51987
52004
|
}
|
|
51988
52005
|
batchQuery(queries) {
|
|
51989
52006
|
const promises = queries.map((q) => this.query(q.sql, q.params));
|
|
51990
|
-
|
|
52007
|
+
tasker.add();
|
|
52008
|
+
return Promise.all(promises).finally(() => tasker.done());
|
|
51991
52009
|
}
|
|
51992
52010
|
async getEntries(entryIds, segment) {
|
|
51993
|
-
|
|
52011
|
+
tasker.add();
|
|
52012
|
+
return this.getTable(segment)
|
|
52013
|
+
.getByKeys(entryIds, segment)
|
|
52014
|
+
.finally(() => tasker.done());
|
|
51994
52015
|
}
|
|
51995
52016
|
async getMetadata(entryIds, segment) {
|
|
51996
|
-
|
|
52017
|
+
tasker.add();
|
|
52018
|
+
return this.getTable(segment)
|
|
52019
|
+
.getMetadataByKeys(entryIds, segment)
|
|
52020
|
+
.finally(() => tasker.done());
|
|
51997
52021
|
}
|
|
51998
52022
|
getAllEntries(segment) {
|
|
51999
|
-
|
|
52023
|
+
tasker.add();
|
|
52024
|
+
return this.getTable(segment)
|
|
52025
|
+
.getAll(segment)
|
|
52026
|
+
.finally(() => tasker.done());
|
|
52000
52027
|
}
|
|
52001
52028
|
setEntries(entries, segment) {
|
|
52002
52029
|
if (keys$1(entries).length === 0) {
|
|
@@ -52092,6 +52119,7 @@ class NimbusSqliteStore {
|
|
|
52092
52119
|
};
|
|
52093
52120
|
}
|
|
52094
52121
|
batchOperationAsPromise(sqliteOperations) {
|
|
52122
|
+
tasker.add();
|
|
52095
52123
|
return new Promise((resolve, reject) => {
|
|
52096
52124
|
this.plugin.batchOperations(sqliteOperations, (error) => {
|
|
52097
52125
|
if (error && error !== null) {
|
|
@@ -52101,7 +52129,7 @@ class NimbusSqliteStore {
|
|
|
52101
52129
|
resolve();
|
|
52102
52130
|
}
|
|
52103
52131
|
});
|
|
52104
|
-
});
|
|
52132
|
+
}).finally(() => tasker.done());
|
|
52105
52133
|
}
|
|
52106
52134
|
}
|
|
52107
52135
|
|
|
@@ -52968,7 +52996,7 @@ class PrimingNetworkError extends Error {
|
|
|
52968
52996
|
}
|
|
52969
52997
|
|
|
52970
52998
|
// note this is automatically incremented by scripts/release/bump-api-version.js at each release
|
|
52971
|
-
const apiVersion$1 = `
|
|
52999
|
+
const apiVersion$1 = `v64.0`;
|
|
52972
53000
|
const basePath = `/services/data/${apiVersion$1}`;
|
|
52973
53001
|
|
|
52974
53002
|
class NetworkRecordLoader {
|
|
@@ -53445,7 +53473,7 @@ function instrumentPrimingSession(session) {
|
|
|
53445
53473
|
// so eslint doesn't complain about nimbus
|
|
53446
53474
|
/* global __nimbus */
|
|
53447
53475
|
// note this is automatically incremented by scripts/release/bump-api-version.js at each release
|
|
53448
|
-
const apiVersion = `
|
|
53476
|
+
const apiVersion = `v64.0`;
|
|
53449
53477
|
const batchObjectInfoEndpoint = `/services/data/${apiVersion}/ui-api/object-info/batch`;
|
|
53450
53478
|
const objectInfoDirectoryEndpoint = `/services/data/${apiVersion}/ui-api/object-info`;
|
|
53451
53479
|
class NimbusPrimingNetworkAdapter {
|
|
@@ -53937,7 +53965,7 @@ function ingestError$1(luvio, config, params, error, snapshotRefresh) {
|
|
|
53937
53965
|
function createResourceRequest$2(config) {
|
|
53938
53966
|
const headers = {};
|
|
53939
53967
|
return {
|
|
53940
|
-
baseUri: '/services/data/
|
|
53968
|
+
baseUri: '/services/data/v64.0',
|
|
53941
53969
|
basePath: '/graphql',
|
|
53942
53970
|
method: 'post',
|
|
53943
53971
|
body: { ...config.body, query: print(config.body.query) },
|
|
@@ -54063,7 +54091,7 @@ function createResourceRequest(config) {
|
|
|
54063
54091
|
const headers = {};
|
|
54064
54092
|
const transformedConfig = stripDocumentsOfMetaschema(config);
|
|
54065
54093
|
return {
|
|
54066
|
-
baseUri: '/services/data/
|
|
54094
|
+
baseUri: '/services/data/v64.0',
|
|
54067
54095
|
basePath: '/graphql/batch',
|
|
54068
54096
|
method: 'post',
|
|
54069
54097
|
body: transformedConfig.body,
|
|
@@ -54659,7 +54687,7 @@ class SideEffectService {
|
|
|
54659
54687
|
const objectInfo = await this.ensureObjectInfo(apiName);
|
|
54660
54688
|
const recordFields = {};
|
|
54661
54689
|
for (const fieldName of keys$3(fields)) {
|
|
54662
|
-
const draftField = fields[fieldName];
|
|
54690
|
+
const draftField = fields[fieldName] ?? null;
|
|
54663
54691
|
recordFields[fieldName] = { value: draftField, displayValue: null };
|
|
54664
54692
|
const fieldInfo = objectInfo.fields[fieldName];
|
|
54665
54693
|
if (fieldInfo) {
|
|
@@ -55325,4 +55353,4 @@ register({
|
|
|
55325
55353
|
});
|
|
55326
55354
|
|
|
55327
55355
|
export { O11Y_NAMESPACE_LDS_MOBILE, getRuntime, registerReportObserver, reportGraphqlQueryParseError };
|
|
55328
|
-
// version: 1.
|
|
55356
|
+
// version: 1.336.0-7d2c781c74
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const apiVersion = "
|
|
1
|
+
export declare const apiVersion = "v64.0";
|
|
2
2
|
export declare const basePath: string;
|