@salesforce/lds-worker-api 1.342.0 → 1.343.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.
|
@@ -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.
|
|
1131
|
+
// version: 1.343.0-f39f04aaf6
|
|
@@ -4265,7 +4265,7 @@ function withDefaultLuvio(callback) {
|
|
|
4265
4265
|
}
|
|
4266
4266
|
callbacks.push(callback);
|
|
4267
4267
|
}
|
|
4268
|
-
// version: 1.
|
|
4268
|
+
// version: 1.343.0-f39f04aaf6
|
|
4269
4269
|
|
|
4270
4270
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4271
4271
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5213,7 +5213,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
5213
5213
|
const { apiFamily, name } = metadata;
|
|
5214
5214
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5215
5215
|
}
|
|
5216
|
-
// version: 1.
|
|
5216
|
+
// version: 1.343.0-f39f04aaf6
|
|
5217
5217
|
|
|
5218
5218
|
/**
|
|
5219
5219
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -33894,7 +33894,7 @@ withDefaultLuvio((luvio) => {
|
|
|
33894
33894
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
33895
33895
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
33896
33896
|
});
|
|
33897
|
-
// version: 1.
|
|
33897
|
+
// version: 1.343.0-823df4356c
|
|
33898
33898
|
|
|
33899
33899
|
/**
|
|
33900
33900
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -45484,6 +45484,15 @@ var graphqlL2AdapterGate = {
|
|
|
45484
45484
|
},
|
|
45485
45485
|
};
|
|
45486
45486
|
|
|
45487
|
+
var productConsumedSideEffectsKillSwitch = {
|
|
45488
|
+
isOpen: function (e) {
|
|
45489
|
+
return e.fallback;
|
|
45490
|
+
},
|
|
45491
|
+
hasError: function () {
|
|
45492
|
+
return !0;
|
|
45493
|
+
},
|
|
45494
|
+
};
|
|
45495
|
+
|
|
45487
45496
|
/**
|
|
45488
45497
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
45489
45498
|
* All rights reserved.
|
|
@@ -48196,13 +48205,6 @@ var DraftQueueOperationType;
|
|
|
48196
48205
|
DraftQueueOperationType["ItemCompleted"] = "completed";
|
|
48197
48206
|
DraftQueueOperationType["ItemFailed"] = "failed";
|
|
48198
48207
|
DraftQueueOperationType["ItemUpdated"] = "updated";
|
|
48199
|
-
/** @deprecated in 252. All Queue state changed events are consolidated in QueueStateChanged
|
|
48200
|
-
* Planned to be removed in 256 (W-16217436) */
|
|
48201
|
-
DraftQueueOperationType["QueueStarted"] = "started";
|
|
48202
|
-
/** @deprecated in 252. All Queue state changed events are consolidated in QueueStateChanged
|
|
48203
|
-
* Planned to be removed in 256 (W-16217436) */
|
|
48204
|
-
DraftQueueOperationType["QueueStopped"] = "stopped";
|
|
48205
|
-
/** @since 252 */
|
|
48206
48208
|
DraftQueueOperationType["QueueStateChanged"] = "queueStateChanged";
|
|
48207
48209
|
})(DraftQueueOperationType || (DraftQueueOperationType = {}));
|
|
48208
48210
|
/**
|
|
@@ -48286,16 +48288,6 @@ class DraftManager {
|
|
|
48286
48288
|
throw Error('Unsupported event type');
|
|
48287
48289
|
}
|
|
48288
48290
|
}
|
|
48289
|
-
draftQueueStateToOperationType(state) {
|
|
48290
|
-
switch (state) {
|
|
48291
|
-
case DraftQueueState.Started:
|
|
48292
|
-
return DraftQueueOperationType.QueueStarted;
|
|
48293
|
-
case DraftQueueState.Stopped:
|
|
48294
|
-
return DraftQueueOperationType.QueueStopped;
|
|
48295
|
-
default:
|
|
48296
|
-
throw Error('Unsupported event type');
|
|
48297
|
-
}
|
|
48298
|
-
}
|
|
48299
48291
|
/**
|
|
48300
48292
|
* Enqueue a custom action on the DraftQueue for a handler
|
|
48301
48293
|
* @param handler the handler's id
|
|
@@ -48357,8 +48349,7 @@ class DraftManager {
|
|
|
48357
48349
|
*
|
|
48358
48350
|
* @param listener The listener closure to subscribe to changes
|
|
48359
48351
|
*/
|
|
48360
|
-
registerDraftQueueChangedListener(listener,
|
|
48361
|
-
this.listenerVersion = version;
|
|
48352
|
+
registerDraftQueueChangedListener(listener, _version = undefined) {
|
|
48362
48353
|
this.listeners.push(listener);
|
|
48363
48354
|
return () => {
|
|
48364
48355
|
this.listeners = this.listeners.filter((l) => {
|
|
@@ -48474,12 +48465,7 @@ class DraftManager {
|
|
|
48474
48465
|
const managerState = await this.getQueue();
|
|
48475
48466
|
let operationType, item;
|
|
48476
48467
|
if (isDraftQueueStateChangeEvent(event)) {
|
|
48477
|
-
|
|
48478
|
-
operationType = this.draftQueueStateToOperationType(event.state);
|
|
48479
|
-
}
|
|
48480
|
-
else {
|
|
48481
|
-
operationType = DraftQueueOperationType.QueueStateChanged;
|
|
48482
|
-
}
|
|
48468
|
+
operationType = DraftQueueOperationType.QueueStateChanged;
|
|
48483
48469
|
}
|
|
48484
48470
|
else {
|
|
48485
48471
|
const { action, type } = event;
|
|
@@ -82131,16 +82117,22 @@ function singlePredicateToSql(predicate, defaultAlias, isChildNotPredicate = fal
|
|
|
82131
82117
|
}
|
|
82132
82118
|
}
|
|
82133
82119
|
else {
|
|
82134
|
-
|
|
82135
|
-
|
|
82136
|
-
// For pick list includes or excludeds, prefix and suffix the field value with ';' to guarantee the query accuracy.
|
|
82137
|
-
if (dataType === 'MultiPicklist' && (operator === 'LIKE' || operator === 'NOT LIKE')) {
|
|
82138
|
-
sql = buildMultiPicklistSQL(predicate, valueBinding, questionSql);
|
|
82120
|
+
if (value === null && dataType !== 'MultiPicklist') {
|
|
82121
|
+
sql = `json_extract("${alias}".data, '${leftPath}') ${operator} NULL`;
|
|
82139
82122
|
}
|
|
82140
82123
|
else {
|
|
82141
|
-
|
|
82124
|
+
const { sql: questionSql, binding: valueBinding } = handleExtractedPredicateValue(boundValue, false);
|
|
82125
|
+
// SQLite is case sensitive by default, SOQL is case in-sensitive by default
|
|
82126
|
+
// For pick list includes or excludeds, prefix and suffix the field value with ';' to guarantee the query accuracy.
|
|
82127
|
+
if (dataType === 'MultiPicklist' &&
|
|
82128
|
+
(operator === 'LIKE' || operator === 'NOT LIKE')) {
|
|
82129
|
+
sql = buildMultiPicklistSQL(predicate, valueBinding, questionSql);
|
|
82130
|
+
}
|
|
82131
|
+
else {
|
|
82132
|
+
sql = `json_extract("${alias}".data, '${leftPath}') ${operator} ${questionSql}${isCaseSensitive === true ? '' : ` COLLATE NOCASE`}`;
|
|
82133
|
+
}
|
|
82134
|
+
binding.push(...valueBinding);
|
|
82142
82135
|
}
|
|
82143
|
-
binding.push(...valueBinding);
|
|
82144
82136
|
}
|
|
82145
82137
|
}
|
|
82146
82138
|
return { sql, binding };
|
|
@@ -92490,10 +92482,18 @@ function isStoreRecordError(storeRecord) {
|
|
|
92490
92482
|
return storeRecord.__type === 'error';
|
|
92491
92483
|
}
|
|
92492
92484
|
|
|
92493
|
-
|
|
92494
|
-
|
|
92495
|
-
|
|
92496
|
-
|
|
92485
|
+
function createSfsSideEffectHooks(durableRecordStore) {
|
|
92486
|
+
if (productConsumedSideEffectsKillSwitch.isOpen({ fallback: false })) {
|
|
92487
|
+
return [];
|
|
92488
|
+
}
|
|
92489
|
+
return [
|
|
92490
|
+
// SFS FSCore needs to implement code to bypass it's existing "side effect" code for Product Consumed.
|
|
92491
|
+
// W-17683696 is the work that will enable the code below after FSCore's W-17422735 is completed.
|
|
92492
|
+
// new ProductConsumedCreatedHook(),
|
|
92493
|
+
// new ProductConsumedUpdatedHook(durableRecordStore),
|
|
92494
|
+
// new ProductConsumedDeletedHook(durableRecordStore),
|
|
92495
|
+
];
|
|
92496
|
+
}
|
|
92497
92497
|
|
|
92498
92498
|
// so eslint doesn't complain about nimbus
|
|
92499
92499
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -92575,7 +92575,7 @@ function getRuntime() {
|
|
|
92575
92575
|
lazySideEffectService = new SideEffectService(lazyDurableRecordStore, lazyObjectInfoService, userId, formatDisplayValue);
|
|
92576
92576
|
const draftService = new UiApiDraftRecordService(() => lazyLuvio, lazyDurableStore, lazyObjectInfoService, newRecordId, lazySideEffectStore, lazyDurableRecordStore);
|
|
92577
92577
|
const uiApiRecordHandler = new UiApiActionHandler(() => lazyLuvio, lazyNetworkAdapter, lazyDraftQueue, getRecord, lazyObjectInfoService, isGenerated, draftService, lazySideEffectService, lazyDurableRecordStore);
|
|
92578
|
-
uiApiRecordHandler.setSideEffectHooks(
|
|
92578
|
+
uiApiRecordHandler.setSideEffectHooks(createSfsSideEffectHooks());
|
|
92579
92579
|
const quickActionHandler = new QuickActionExecutionRepresentationHandler(() => lazyLuvio, draftService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, lazySideEffectService, lazyObjectInfoService, getRecord);
|
|
92580
92580
|
const updateRecordQuickActionHandler = new UpdateRecordQuickActionExecutionRepresentationHandler(() => lazyLuvio, draftService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, lazySideEffectService);
|
|
92581
92581
|
const contentDocumentCompositeActionHandler = new ContentDocumentCompositeRepresentationActionHandler(() => lazyLuvio, userId, draftService, lazyObjectInfoService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, NimbusBinaryStore, lazySideEffectService);
|
|
@@ -92683,7 +92683,7 @@ register$1({
|
|
|
92683
92683
|
id: '@salesforce/lds-network-adapter',
|
|
92684
92684
|
instrument: instrument$2,
|
|
92685
92685
|
});
|
|
92686
|
-
// version: 1.
|
|
92686
|
+
// version: 1.343.0-f39f04aaf6
|
|
92687
92687
|
|
|
92688
92688
|
const { create: create$2, keys: keys$2 } = Object;
|
|
92689
92689
|
const { stringify, parse } = JSON;
|
|
@@ -115267,7 +115267,7 @@ register$1({
|
|
|
115267
115267
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
115268
115268
|
instrument: instrument$1,
|
|
115269
115269
|
});
|
|
115270
|
-
// version: 1.
|
|
115270
|
+
// version: 1.343.0-823df4356c
|
|
115271
115271
|
|
|
115272
115272
|
// On core the unstable adapters are re-exported with different names,
|
|
115273
115273
|
// we want to match them here.
|
|
@@ -115419,7 +115419,7 @@ withDefaultLuvio((luvio) => {
|
|
|
115419
115419
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
115420
115420
|
graphQLImperative = ldsAdapter;
|
|
115421
115421
|
});
|
|
115422
|
-
// version: 1.
|
|
115422
|
+
// version: 1.343.0-823df4356c
|
|
115423
115423
|
|
|
115424
115424
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
115425
115425
|
__proto__: null,
|
|
@@ -116211,7 +116211,7 @@ const callbacks$1 = [];
|
|
|
116211
116211
|
function register(r) {
|
|
116212
116212
|
callbacks$1.forEach((callback) => callback(r));
|
|
116213
116213
|
}
|
|
116214
|
-
// version: 1.
|
|
116214
|
+
// version: 1.343.0-f39f04aaf6
|
|
116215
116215
|
|
|
116216
116216
|
/**
|
|
116217
116217
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -117291,4 +117291,4 @@ const { luvio } = getRuntime();
|
|
|
117291
117291
|
setDefaultLuvio({ luvio });
|
|
117292
117292
|
|
|
117293
117293
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
117294
|
-
// version: 1.
|
|
117294
|
+
// version: 1.343.0-f39f04aaf6
|
|
@@ -4271,7 +4271,7 @@
|
|
|
4271
4271
|
}
|
|
4272
4272
|
callbacks.push(callback);
|
|
4273
4273
|
}
|
|
4274
|
-
// version: 1.
|
|
4274
|
+
// version: 1.343.0-f39f04aaf6
|
|
4275
4275
|
|
|
4276
4276
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4277
4277
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5219,7 +5219,7 @@
|
|
|
5219
5219
|
const { apiFamily, name } = metadata;
|
|
5220
5220
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5221
5221
|
}
|
|
5222
|
-
// version: 1.
|
|
5222
|
+
// version: 1.343.0-f39f04aaf6
|
|
5223
5223
|
|
|
5224
5224
|
/**
|
|
5225
5225
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -33900,7 +33900,7 @@
|
|
|
33900
33900
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
33901
33901
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
33902
33902
|
});
|
|
33903
|
-
// version: 1.
|
|
33903
|
+
// version: 1.343.0-823df4356c
|
|
33904
33904
|
|
|
33905
33905
|
/**
|
|
33906
33906
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -45490,6 +45490,15 @@
|
|
|
45490
45490
|
},
|
|
45491
45491
|
};
|
|
45492
45492
|
|
|
45493
|
+
var productConsumedSideEffectsKillSwitch = {
|
|
45494
|
+
isOpen: function (e) {
|
|
45495
|
+
return e.fallback;
|
|
45496
|
+
},
|
|
45497
|
+
hasError: function () {
|
|
45498
|
+
return !0;
|
|
45499
|
+
},
|
|
45500
|
+
};
|
|
45501
|
+
|
|
45493
45502
|
/**
|
|
45494
45503
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
45495
45504
|
* All rights reserved.
|
|
@@ -48202,13 +48211,6 @@
|
|
|
48202
48211
|
DraftQueueOperationType["ItemCompleted"] = "completed";
|
|
48203
48212
|
DraftQueueOperationType["ItemFailed"] = "failed";
|
|
48204
48213
|
DraftQueueOperationType["ItemUpdated"] = "updated";
|
|
48205
|
-
/** @deprecated in 252. All Queue state changed events are consolidated in QueueStateChanged
|
|
48206
|
-
* Planned to be removed in 256 (W-16217436) */
|
|
48207
|
-
DraftQueueOperationType["QueueStarted"] = "started";
|
|
48208
|
-
/** @deprecated in 252. All Queue state changed events are consolidated in QueueStateChanged
|
|
48209
|
-
* Planned to be removed in 256 (W-16217436) */
|
|
48210
|
-
DraftQueueOperationType["QueueStopped"] = "stopped";
|
|
48211
|
-
/** @since 252 */
|
|
48212
48214
|
DraftQueueOperationType["QueueStateChanged"] = "queueStateChanged";
|
|
48213
48215
|
})(DraftQueueOperationType || (DraftQueueOperationType = {}));
|
|
48214
48216
|
/**
|
|
@@ -48292,16 +48294,6 @@
|
|
|
48292
48294
|
throw Error('Unsupported event type');
|
|
48293
48295
|
}
|
|
48294
48296
|
}
|
|
48295
|
-
draftQueueStateToOperationType(state) {
|
|
48296
|
-
switch (state) {
|
|
48297
|
-
case DraftQueueState.Started:
|
|
48298
|
-
return DraftQueueOperationType.QueueStarted;
|
|
48299
|
-
case DraftQueueState.Stopped:
|
|
48300
|
-
return DraftQueueOperationType.QueueStopped;
|
|
48301
|
-
default:
|
|
48302
|
-
throw Error('Unsupported event type');
|
|
48303
|
-
}
|
|
48304
|
-
}
|
|
48305
48297
|
/**
|
|
48306
48298
|
* Enqueue a custom action on the DraftQueue for a handler
|
|
48307
48299
|
* @param handler the handler's id
|
|
@@ -48363,8 +48355,7 @@
|
|
|
48363
48355
|
*
|
|
48364
48356
|
* @param listener The listener closure to subscribe to changes
|
|
48365
48357
|
*/
|
|
48366
|
-
registerDraftQueueChangedListener(listener,
|
|
48367
|
-
this.listenerVersion = version;
|
|
48358
|
+
registerDraftQueueChangedListener(listener, _version = undefined) {
|
|
48368
48359
|
this.listeners.push(listener);
|
|
48369
48360
|
return () => {
|
|
48370
48361
|
this.listeners = this.listeners.filter((l) => {
|
|
@@ -48480,12 +48471,7 @@
|
|
|
48480
48471
|
const managerState = await this.getQueue();
|
|
48481
48472
|
let operationType, item;
|
|
48482
48473
|
if (isDraftQueueStateChangeEvent(event)) {
|
|
48483
|
-
|
|
48484
|
-
operationType = this.draftQueueStateToOperationType(event.state);
|
|
48485
|
-
}
|
|
48486
|
-
else {
|
|
48487
|
-
operationType = DraftQueueOperationType.QueueStateChanged;
|
|
48488
|
-
}
|
|
48474
|
+
operationType = DraftQueueOperationType.QueueStateChanged;
|
|
48489
48475
|
}
|
|
48490
48476
|
else {
|
|
48491
48477
|
const { action, type } = event;
|
|
@@ -82137,16 +82123,22 @@
|
|
|
82137
82123
|
}
|
|
82138
82124
|
}
|
|
82139
82125
|
else {
|
|
82140
|
-
|
|
82141
|
-
|
|
82142
|
-
// For pick list includes or excludeds, prefix and suffix the field value with ';' to guarantee the query accuracy.
|
|
82143
|
-
if (dataType === 'MultiPicklist' && (operator === 'LIKE' || operator === 'NOT LIKE')) {
|
|
82144
|
-
sql = buildMultiPicklistSQL(predicate, valueBinding, questionSql);
|
|
82126
|
+
if (value === null && dataType !== 'MultiPicklist') {
|
|
82127
|
+
sql = `json_extract("${alias}".data, '${leftPath}') ${operator} NULL`;
|
|
82145
82128
|
}
|
|
82146
82129
|
else {
|
|
82147
|
-
|
|
82130
|
+
const { sql: questionSql, binding: valueBinding } = handleExtractedPredicateValue(boundValue, false);
|
|
82131
|
+
// SQLite is case sensitive by default, SOQL is case in-sensitive by default
|
|
82132
|
+
// For pick list includes or excludeds, prefix and suffix the field value with ';' to guarantee the query accuracy.
|
|
82133
|
+
if (dataType === 'MultiPicklist' &&
|
|
82134
|
+
(operator === 'LIKE' || operator === 'NOT LIKE')) {
|
|
82135
|
+
sql = buildMultiPicklistSQL(predicate, valueBinding, questionSql);
|
|
82136
|
+
}
|
|
82137
|
+
else {
|
|
82138
|
+
sql = `json_extract("${alias}".data, '${leftPath}') ${operator} ${questionSql}${isCaseSensitive === true ? '' : ` COLLATE NOCASE`}`;
|
|
82139
|
+
}
|
|
82140
|
+
binding.push(...valueBinding);
|
|
82148
82141
|
}
|
|
82149
|
-
binding.push(...valueBinding);
|
|
82150
82142
|
}
|
|
82151
82143
|
}
|
|
82152
82144
|
return { sql, binding };
|
|
@@ -92496,10 +92488,18 @@
|
|
|
92496
92488
|
return storeRecord.__type === 'error';
|
|
92497
92489
|
}
|
|
92498
92490
|
|
|
92499
|
-
|
|
92500
|
-
|
|
92501
|
-
|
|
92502
|
-
|
|
92491
|
+
function createSfsSideEffectHooks(durableRecordStore) {
|
|
92492
|
+
if (productConsumedSideEffectsKillSwitch.isOpen({ fallback: false })) {
|
|
92493
|
+
return [];
|
|
92494
|
+
}
|
|
92495
|
+
return [
|
|
92496
|
+
// SFS FSCore needs to implement code to bypass it's existing "side effect" code for Product Consumed.
|
|
92497
|
+
// W-17683696 is the work that will enable the code below after FSCore's W-17422735 is completed.
|
|
92498
|
+
// new ProductConsumedCreatedHook(),
|
|
92499
|
+
// new ProductConsumedUpdatedHook(durableRecordStore),
|
|
92500
|
+
// new ProductConsumedDeletedHook(durableRecordStore),
|
|
92501
|
+
];
|
|
92502
|
+
}
|
|
92503
92503
|
|
|
92504
92504
|
// so eslint doesn't complain about nimbus
|
|
92505
92505
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -92581,7 +92581,7 @@
|
|
|
92581
92581
|
lazySideEffectService = new SideEffectService(lazyDurableRecordStore, lazyObjectInfoService, userId, formatDisplayValue);
|
|
92582
92582
|
const draftService = new UiApiDraftRecordService(() => lazyLuvio, lazyDurableStore, lazyObjectInfoService, newRecordId, lazySideEffectStore, lazyDurableRecordStore);
|
|
92583
92583
|
const uiApiRecordHandler = new UiApiActionHandler(() => lazyLuvio, lazyNetworkAdapter, lazyDraftQueue, getRecord, lazyObjectInfoService, isGenerated, draftService, lazySideEffectService, lazyDurableRecordStore);
|
|
92584
|
-
uiApiRecordHandler.setSideEffectHooks(
|
|
92584
|
+
uiApiRecordHandler.setSideEffectHooks(createSfsSideEffectHooks());
|
|
92585
92585
|
const quickActionHandler = new QuickActionExecutionRepresentationHandler(() => lazyLuvio, draftService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, lazySideEffectService, lazyObjectInfoService, getRecord);
|
|
92586
92586
|
const updateRecordQuickActionHandler = new UpdateRecordQuickActionExecutionRepresentationHandler(() => lazyLuvio, draftService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, lazySideEffectService);
|
|
92587
92587
|
const contentDocumentCompositeActionHandler = new ContentDocumentCompositeRepresentationActionHandler(() => lazyLuvio, userId, draftService, lazyObjectInfoService, lazyDraftQueue, lazyNetworkAdapter, isGenerated, NimbusBinaryStore, lazySideEffectService);
|
|
@@ -92689,7 +92689,7 @@
|
|
|
92689
92689
|
id: '@salesforce/lds-network-adapter',
|
|
92690
92690
|
instrument: instrument$2,
|
|
92691
92691
|
});
|
|
92692
|
-
// version: 1.
|
|
92692
|
+
// version: 1.343.0-f39f04aaf6
|
|
92693
92693
|
|
|
92694
92694
|
const { create: create$2, keys: keys$2 } = Object;
|
|
92695
92695
|
const { stringify, parse } = JSON;
|
|
@@ -115273,7 +115273,7 @@
|
|
|
115273
115273
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
115274
115274
|
instrument: instrument$1,
|
|
115275
115275
|
});
|
|
115276
|
-
// version: 1.
|
|
115276
|
+
// version: 1.343.0-823df4356c
|
|
115277
115277
|
|
|
115278
115278
|
// On core the unstable adapters are re-exported with different names,
|
|
115279
115279
|
// we want to match them here.
|
|
@@ -115425,7 +115425,7 @@
|
|
|
115425
115425
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
115426
115426
|
graphQLImperative = ldsAdapter;
|
|
115427
115427
|
});
|
|
115428
|
-
// version: 1.
|
|
115428
|
+
// version: 1.343.0-823df4356c
|
|
115429
115429
|
|
|
115430
115430
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
115431
115431
|
__proto__: null,
|
|
@@ -116217,7 +116217,7 @@
|
|
|
116217
116217
|
function register(r) {
|
|
116218
116218
|
callbacks$1.forEach((callback) => callback(r));
|
|
116219
116219
|
}
|
|
116220
|
-
// version: 1.
|
|
116220
|
+
// version: 1.343.0-f39f04aaf6
|
|
116221
116221
|
|
|
116222
116222
|
/**
|
|
116223
116223
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -117316,4 +117316,4 @@
|
|
|
117316
117316
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
117317
117317
|
|
|
117318
117318
|
}));
|
|
117319
|
-
// version: 1.
|
|
117319
|
+
// version: 1.343.0-f39f04aaf6
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.343.0",
|
|
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.
|
|
39
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
40
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
41
|
-
"@salesforce/lds-drafts": "^1.
|
|
42
|
-
"@salesforce/lds-graphql-parser": "^1.
|
|
43
|
-
"@salesforce/lds-luvio-engine": "^1.
|
|
44
|
-
"@salesforce/lds-runtime-mobile": "^1.
|
|
45
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.343.0",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.343.0",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.343.0",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.343.0",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.343.0",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.343.0",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.343.0",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.343.0",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|