@salesforce/lds-worker-api 1.354.0-dev17 → 1.354.0-dev18
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.
|
@@ -1128,4 +1128,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
1130
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
1131
|
-
// version: 1.354.0-
|
|
1131
|
+
// version: 1.354.0-dev18-b16a41a60f
|
|
@@ -4274,7 +4274,7 @@ function withDefaultLuvio(callback) {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
callbacks.push(callback);
|
|
4276
4276
|
}
|
|
4277
|
-
// version: 1.354.0-
|
|
4277
|
+
// version: 1.354.0-dev18-b16a41a60f
|
|
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) {
|
|
@@ -5286,7 +5286,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
5286
5286
|
const { apiFamily, name } = metadata;
|
|
5287
5287
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5288
5288
|
}
|
|
5289
|
-
// version: 1.354.0-
|
|
5289
|
+
// version: 1.354.0-dev18-b16a41a60f
|
|
5290
5290
|
|
|
5291
5291
|
/**
|
|
5292
5292
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -27952,7 +27952,7 @@ function equalsMetadata$1(existingMetadata, incomingMetadata) {
|
|
|
27952
27952
|
}
|
|
27953
27953
|
|
|
27954
27954
|
const TTL$a$1 = 30000;
|
|
27955
|
-
const VERSION$c$2 = "
|
|
27955
|
+
const VERSION$c$2 = "ecedd058ac9cfc9b51de0f2c00276ce8";
|
|
27956
27956
|
const RepresentationType$d$1 = 'RelatedListRecordCollectionRepresentation';
|
|
27957
27957
|
function keyBuilder$t$2(luvio, config) {
|
|
27958
27958
|
return keyPrefix$3 + '::' + RepresentationType$d$1 + ':' + '[' + config.sortBy.join(',') + ']' + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId + ':' + (config.where === null ? '' : config.where);
|
|
@@ -28068,6 +28068,14 @@ const dynamicSelect$4$1 = function dynamicRelatedListRecordCollectionRepresentat
|
|
|
28068
28068
|
reader.enterPath('count');
|
|
28069
28069
|
reader.readScalar('count', metadataProperties, sink);
|
|
28070
28070
|
reader.exitPath();
|
|
28071
|
+
reader.enterPath('columnLabels');
|
|
28072
|
+
reader.readObject('columnLabels', {
|
|
28073
|
+
name: 'columnLabels',
|
|
28074
|
+
kind: 'Object',
|
|
28075
|
+
// Any
|
|
28076
|
+
required: false
|
|
28077
|
+
}, source, sink);
|
|
28078
|
+
reader.exitPath();
|
|
28071
28079
|
reader.enterPath('fields');
|
|
28072
28080
|
reader.readScalarPlural('fields', source, sink, true);
|
|
28073
28081
|
reader.exitPath();
|
|
@@ -28110,6 +28118,19 @@ function equals$c$1(existing, incoming) {
|
|
|
28110
28118
|
if (!(existing_currentPageToken === incoming_currentPageToken)) {
|
|
28111
28119
|
return false;
|
|
28112
28120
|
}
|
|
28121
|
+
const existing_columnLabels = existing.columnLabels;
|
|
28122
|
+
const incoming_columnLabels = incoming.columnLabels;
|
|
28123
|
+
// if at least one of these optionals is defined
|
|
28124
|
+
if (existing_columnLabels !== undefined || incoming_columnLabels !== undefined) {
|
|
28125
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
28126
|
+
// not equal
|
|
28127
|
+
if (existing_columnLabels === undefined || incoming_columnLabels === undefined) {
|
|
28128
|
+
return false;
|
|
28129
|
+
}
|
|
28130
|
+
if (JSONStringify$3(incoming_columnLabels) !== JSONStringify$3(existing_columnLabels)) {
|
|
28131
|
+
return false;
|
|
28132
|
+
}
|
|
28133
|
+
}
|
|
28113
28134
|
const existing_currentPageUrl = existing.currentPageUrl;
|
|
28114
28135
|
const incoming_currentPageUrl = incoming.currentPageUrl;
|
|
28115
28136
|
if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
|
|
@@ -28335,10 +28356,11 @@ function createPaginationParams$7(params) {
|
|
|
28335
28356
|
}
|
|
28336
28357
|
function keyBuilder$s$2(luvio, params) {
|
|
28337
28358
|
return keyBuilder$t$2(luvio, {
|
|
28359
|
+
includeColumnLabels: params.body.includeColumnLabels || null,
|
|
28360
|
+
relatedListId: params.urlParams.relatedListId,
|
|
28338
28361
|
sortBy: params.body.sortBy || [],
|
|
28339
|
-
where: params.body.where || null,
|
|
28340
28362
|
parentRecordId: params.urlParams.parentRecordId,
|
|
28341
|
-
|
|
28363
|
+
where: params.body.where || null
|
|
28342
28364
|
});
|
|
28343
28365
|
}
|
|
28344
28366
|
function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
|
|
@@ -28747,6 +28769,7 @@ const getRelatedListRecords_ConfigPropertyMetadata$1 = [
|
|
|
28747
28769
|
generateParamConfigMetadata$3('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18$1),
|
|
28748
28770
|
generateParamConfigMetadata$3('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
28749
28771
|
generateParamConfigMetadata$3('fields', false, 2 /* Body */, 0 /* String */, true),
|
|
28772
|
+
generateParamConfigMetadata$3('includeColumnLabels', false, 2 /* Body */, 1 /* Boolean */),
|
|
28750
28773
|
generateParamConfigMetadata$3('optionalFields', false, 2 /* Body */, 0 /* String */, true),
|
|
28751
28774
|
generateParamConfigMetadata$3('pageSize', false, 2 /* Body */, 3 /* Integer */),
|
|
28752
28775
|
generateParamConfigMetadata$3('pageToken', false, 2 /* Body */, 0 /* String */),
|
|
@@ -34062,7 +34085,7 @@ withDefaultLuvio((luvio) => {
|
|
|
34062
34085
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
34063
34086
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
34064
34087
|
});
|
|
34065
|
-
// version: 1.354.0-
|
|
34088
|
+
// version: 1.354.0-dev18-42dc52a64b
|
|
34066
34089
|
|
|
34067
34090
|
function requestIdleDetectedCallback(_callback) { }
|
|
34068
34091
|
function declareNotifierTaskSingle(_name) {
|
|
@@ -93366,7 +93389,7 @@ register$1({
|
|
|
93366
93389
|
id: '@salesforce/lds-network-adapter',
|
|
93367
93390
|
instrument: instrument$2,
|
|
93368
93391
|
});
|
|
93369
|
-
// version: 1.354.0-
|
|
93392
|
+
// version: 1.354.0-dev18-b16a41a60f
|
|
93370
93393
|
|
|
93371
93394
|
const { create: create$2, keys: keys$2 } = Object;
|
|
93372
93395
|
const { stringify, parse } = JSON;
|
|
@@ -118003,7 +118026,7 @@ register$1({
|
|
|
118003
118026
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
118004
118027
|
instrument: instrument$1,
|
|
118005
118028
|
});
|
|
118006
|
-
// version: 1.354.0-
|
|
118029
|
+
// version: 1.354.0-dev18-42dc52a64b
|
|
118007
118030
|
|
|
118008
118031
|
// On core the unstable adapters are re-exported with different names,
|
|
118009
118032
|
// we want to match them here.
|
|
@@ -118155,7 +118178,7 @@ withDefaultLuvio((luvio) => {
|
|
|
118155
118178
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
118156
118179
|
graphQLImperative = ldsAdapter;
|
|
118157
118180
|
});
|
|
118158
|
-
// version: 1.354.0-
|
|
118181
|
+
// version: 1.354.0-dev18-42dc52a64b
|
|
118159
118182
|
|
|
118160
118183
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
118161
118184
|
__proto__: null,
|
|
@@ -118947,7 +118970,7 @@ const callbacks$1 = [];
|
|
|
118947
118970
|
function register(r) {
|
|
118948
118971
|
callbacks$1.forEach((callback) => callback(r));
|
|
118949
118972
|
}
|
|
118950
|
-
// version: 1.354.0-
|
|
118973
|
+
// version: 1.354.0-dev18-b16a41a60f
|
|
118951
118974
|
|
|
118952
118975
|
/**
|
|
118953
118976
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -120027,4 +120050,4 @@ const { luvio } = getRuntime();
|
|
|
120027
120050
|
setDefaultLuvio({ luvio });
|
|
120028
120051
|
|
|
120029
120052
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
120030
|
-
// version: 1.354.0-
|
|
120053
|
+
// version: 1.354.0-dev18-b16a41a60f
|
|
@@ -4280,7 +4280,7 @@
|
|
|
4280
4280
|
}
|
|
4281
4281
|
callbacks.push(callback);
|
|
4282
4282
|
}
|
|
4283
|
-
// version: 1.354.0-
|
|
4283
|
+
// version: 1.354.0-dev18-b16a41a60f
|
|
4284
4284
|
|
|
4285
4285
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4286
4286
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5292,7 +5292,7 @@
|
|
|
5292
5292
|
const { apiFamily, name } = metadata;
|
|
5293
5293
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5294
5294
|
}
|
|
5295
|
-
// version: 1.354.0-
|
|
5295
|
+
// version: 1.354.0-dev18-b16a41a60f
|
|
5296
5296
|
|
|
5297
5297
|
/**
|
|
5298
5298
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -27958,7 +27958,7 @@
|
|
|
27958
27958
|
}
|
|
27959
27959
|
|
|
27960
27960
|
const TTL$a$1 = 30000;
|
|
27961
|
-
const VERSION$c$2 = "
|
|
27961
|
+
const VERSION$c$2 = "ecedd058ac9cfc9b51de0f2c00276ce8";
|
|
27962
27962
|
const RepresentationType$d$1 = 'RelatedListRecordCollectionRepresentation';
|
|
27963
27963
|
function keyBuilder$t$2(luvio, config) {
|
|
27964
27964
|
return keyPrefix$3 + '::' + RepresentationType$d$1 + ':' + '[' + config.sortBy.join(',') + ']' + ':' + (config.parentRecordId === null ? '' : config.parentRecordId) + ':' + config.relatedListId + ':' + (config.where === null ? '' : config.where);
|
|
@@ -28074,6 +28074,14 @@
|
|
|
28074
28074
|
reader.enterPath('count');
|
|
28075
28075
|
reader.readScalar('count', metadataProperties, sink);
|
|
28076
28076
|
reader.exitPath();
|
|
28077
|
+
reader.enterPath('columnLabels');
|
|
28078
|
+
reader.readObject('columnLabels', {
|
|
28079
|
+
name: 'columnLabels',
|
|
28080
|
+
kind: 'Object',
|
|
28081
|
+
// Any
|
|
28082
|
+
required: false
|
|
28083
|
+
}, source, sink);
|
|
28084
|
+
reader.exitPath();
|
|
28077
28085
|
reader.enterPath('fields');
|
|
28078
28086
|
reader.readScalarPlural('fields', source, sink, true);
|
|
28079
28087
|
reader.exitPath();
|
|
@@ -28116,6 +28124,19 @@
|
|
|
28116
28124
|
if (!(existing_currentPageToken === incoming_currentPageToken)) {
|
|
28117
28125
|
return false;
|
|
28118
28126
|
}
|
|
28127
|
+
const existing_columnLabels = existing.columnLabels;
|
|
28128
|
+
const incoming_columnLabels = incoming.columnLabels;
|
|
28129
|
+
// if at least one of these optionals is defined
|
|
28130
|
+
if (existing_columnLabels !== undefined || incoming_columnLabels !== undefined) {
|
|
28131
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
28132
|
+
// not equal
|
|
28133
|
+
if (existing_columnLabels === undefined || incoming_columnLabels === undefined) {
|
|
28134
|
+
return false;
|
|
28135
|
+
}
|
|
28136
|
+
if (JSONStringify$3(incoming_columnLabels) !== JSONStringify$3(existing_columnLabels)) {
|
|
28137
|
+
return false;
|
|
28138
|
+
}
|
|
28139
|
+
}
|
|
28119
28140
|
const existing_currentPageUrl = existing.currentPageUrl;
|
|
28120
28141
|
const incoming_currentPageUrl = incoming.currentPageUrl;
|
|
28121
28142
|
if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
|
|
@@ -28341,10 +28362,11 @@
|
|
|
28341
28362
|
}
|
|
28342
28363
|
function keyBuilder$s$2(luvio, params) {
|
|
28343
28364
|
return keyBuilder$t$2(luvio, {
|
|
28365
|
+
includeColumnLabels: params.body.includeColumnLabels || null,
|
|
28366
|
+
relatedListId: params.urlParams.relatedListId,
|
|
28344
28367
|
sortBy: params.body.sortBy || [],
|
|
28345
|
-
where: params.body.where || null,
|
|
28346
28368
|
parentRecordId: params.urlParams.parentRecordId,
|
|
28347
|
-
|
|
28369
|
+
where: params.body.where || null
|
|
28348
28370
|
});
|
|
28349
28371
|
}
|
|
28350
28372
|
function getResponseCacheKeys$h(storeKeyMap, luvio, resourceParams, response) {
|
|
@@ -28753,6 +28775,7 @@
|
|
|
28753
28775
|
generateParamConfigMetadata$3('parentRecordId', true, 0 /* UrlParameter */, 0 /* String */, false, getRecordId18$1),
|
|
28754
28776
|
generateParamConfigMetadata$3('relatedListId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
28755
28777
|
generateParamConfigMetadata$3('fields', false, 2 /* Body */, 0 /* String */, true),
|
|
28778
|
+
generateParamConfigMetadata$3('includeColumnLabels', false, 2 /* Body */, 1 /* Boolean */),
|
|
28756
28779
|
generateParamConfigMetadata$3('optionalFields', false, 2 /* Body */, 0 /* String */, true),
|
|
28757
28780
|
generateParamConfigMetadata$3('pageSize', false, 2 /* Body */, 3 /* Integer */),
|
|
28758
28781
|
generateParamConfigMetadata$3('pageToken', false, 2 /* Body */, 0 /* String */),
|
|
@@ -34068,7 +34091,7 @@
|
|
|
34068
34091
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
34069
34092
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
34070
34093
|
});
|
|
34071
|
-
// version: 1.354.0-
|
|
34094
|
+
// version: 1.354.0-dev18-42dc52a64b
|
|
34072
34095
|
|
|
34073
34096
|
function requestIdleDetectedCallback(_callback) { }
|
|
34074
34097
|
function declareNotifierTaskSingle(_name) {
|
|
@@ -93372,7 +93395,7 @@
|
|
|
93372
93395
|
id: '@salesforce/lds-network-adapter',
|
|
93373
93396
|
instrument: instrument$2,
|
|
93374
93397
|
});
|
|
93375
|
-
// version: 1.354.0-
|
|
93398
|
+
// version: 1.354.0-dev18-b16a41a60f
|
|
93376
93399
|
|
|
93377
93400
|
const { create: create$2, keys: keys$2 } = Object;
|
|
93378
93401
|
const { stringify, parse } = JSON;
|
|
@@ -118009,7 +118032,7 @@
|
|
|
118009
118032
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
118010
118033
|
instrument: instrument$1,
|
|
118011
118034
|
});
|
|
118012
|
-
// version: 1.354.0-
|
|
118035
|
+
// version: 1.354.0-dev18-42dc52a64b
|
|
118013
118036
|
|
|
118014
118037
|
// On core the unstable adapters are re-exported with different names,
|
|
118015
118038
|
// we want to match them here.
|
|
@@ -118161,7 +118184,7 @@
|
|
|
118161
118184
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
118162
118185
|
graphQLImperative = ldsAdapter;
|
|
118163
118186
|
});
|
|
118164
|
-
// version: 1.354.0-
|
|
118187
|
+
// version: 1.354.0-dev18-42dc52a64b
|
|
118165
118188
|
|
|
118166
118189
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
118167
118190
|
__proto__: null,
|
|
@@ -118953,7 +118976,7 @@
|
|
|
118953
118976
|
function register(r) {
|
|
118954
118977
|
callbacks$1.forEach((callback) => callback(r));
|
|
118955
118978
|
}
|
|
118956
|
-
// version: 1.354.0-
|
|
118979
|
+
// version: 1.354.0-dev18-b16a41a60f
|
|
118957
118980
|
|
|
118958
118981
|
/**
|
|
118959
118982
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -120052,4 +120075,4 @@
|
|
|
120052
120075
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
120053
120076
|
|
|
120054
120077
|
}));
|
|
120055
|
-
// version: 1.354.0-
|
|
120078
|
+
// version: 1.354.0-dev18-b16a41a60f
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.354.0-
|
|
3
|
+
"version": "1.354.0-dev18",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/standalone/es/lds-worker-api.js",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@oat-sa/rollup-plugin-wildcard-external": "^1.0.0",
|
|
38
|
-
"@salesforce/lds-adapters-graphql": "^1.354.0-
|
|
39
|
-
"@salesforce/lds-adapters-uiapi": "^1.354.0-
|
|
40
|
-
"@salesforce/lds-default-luvio": "^1.354.0-
|
|
41
|
-
"@salesforce/lds-drafts": "^1.354.0-
|
|
42
|
-
"@salesforce/lds-graphql-parser": "^1.354.0-
|
|
43
|
-
"@salesforce/lds-luvio-engine": "^1.354.0-
|
|
44
|
-
"@salesforce/lds-runtime-mobile": "^1.354.0-
|
|
45
|
-
"@salesforce/nimbus-plugin-lds": "^1.354.0-
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.354.0-dev18",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.354.0-dev18",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.354.0-dev18",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.354.0-dev18",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.354.0-dev18",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.354.0-dev18",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.354.0-dev18",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.354.0-dev18",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|