@salesforce/lds-worker-api 1.437.0 → 1.438.1
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.
|
@@ -1373,4 +1373,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1373
1373
|
}
|
|
1374
1374
|
|
|
1375
1375
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
1376
|
-
// version: 1.
|
|
1376
|
+
// version: 1.438.1-e193893fad
|
|
@@ -4276,7 +4276,7 @@ function withDefaultLuvio(callback) {
|
|
|
4276
4276
|
}
|
|
4277
4277
|
callbacks.push(callback);
|
|
4278
4278
|
}
|
|
4279
|
-
// version: 1.
|
|
4279
|
+
// version: 1.438.1-e193893fad
|
|
4280
4280
|
|
|
4281
4281
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4282
4282
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5320,7 +5320,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
5320
5320
|
const { apiFamily, name } = metadata;
|
|
5321
5321
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5322
5322
|
}
|
|
5323
|
-
// version: 1.
|
|
5323
|
+
// version: 1.438.1-e193893fad
|
|
5324
5324
|
|
|
5325
5325
|
function isSupportedEntity(_objectApiName) {
|
|
5326
5326
|
return true;
|
|
@@ -14373,7 +14373,7 @@ function coerceFormFactor$1(form) {
|
|
|
14373
14373
|
return undefined;
|
|
14374
14374
|
}
|
|
14375
14375
|
|
|
14376
|
-
const VERSION$10$2 = "
|
|
14376
|
+
const VERSION$10$2 = "885c858e27ff690e5f69edc41d68c32b";
|
|
14377
14377
|
const RepresentationType$G = 'PlatformActionRepresentation';
|
|
14378
14378
|
function keyBuilder$1P$1(luvio, config) {
|
|
14379
14379
|
return keyPrefix$3 + '::' + RepresentationType$G + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
|
|
@@ -14433,6 +14433,10 @@ const select$1G$2 = function PlatformActionRepresentationSelect() {
|
|
|
14433
14433
|
name: 'lwcComponent',
|
|
14434
14434
|
kind: 'Scalar'
|
|
14435
14435
|
},
|
|
14436
|
+
{
|
|
14437
|
+
name: 'pageDeveloperName',
|
|
14438
|
+
kind: 'Scalar'
|
|
14439
|
+
},
|
|
14436
14440
|
{
|
|
14437
14441
|
name: 'primaryColor',
|
|
14438
14442
|
kind: 'Scalar'
|
|
@@ -14461,6 +14465,10 @@ const select$1G$2 = function PlatformActionRepresentationSelect() {
|
|
|
14461
14465
|
name: 'targetObject',
|
|
14462
14466
|
kind: 'Scalar'
|
|
14463
14467
|
},
|
|
14468
|
+
{
|
|
14469
|
+
name: 'targetParentField',
|
|
14470
|
+
kind: 'Scalar'
|
|
14471
|
+
},
|
|
14464
14472
|
{
|
|
14465
14473
|
name: 'targetUrl',
|
|
14466
14474
|
kind: 'Scalar'
|
|
@@ -14533,6 +14541,11 @@ function equals$S(existing, incoming) {
|
|
|
14533
14541
|
if (!(existing_lwcComponent === incoming_lwcComponent)) {
|
|
14534
14542
|
return false;
|
|
14535
14543
|
}
|
|
14544
|
+
const existing_pageDeveloperName = existing.pageDeveloperName;
|
|
14545
|
+
const incoming_pageDeveloperName = incoming.pageDeveloperName;
|
|
14546
|
+
if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
|
|
14547
|
+
return false;
|
|
14548
|
+
}
|
|
14536
14549
|
const existing_primaryColor = existing.primaryColor;
|
|
14537
14550
|
const incoming_primaryColor = incoming.primaryColor;
|
|
14538
14551
|
if (!(existing_primaryColor === incoming_primaryColor)) {
|
|
@@ -14563,6 +14576,11 @@ function equals$S(existing, incoming) {
|
|
|
14563
14576
|
if (!(existing_targetObject === incoming_targetObject)) {
|
|
14564
14577
|
return false;
|
|
14565
14578
|
}
|
|
14579
|
+
const existing_targetParentField = existing.targetParentField;
|
|
14580
|
+
const incoming_targetParentField = incoming.targetParentField;
|
|
14581
|
+
if (!(existing_targetParentField === incoming_targetParentField)) {
|
|
14582
|
+
return false;
|
|
14583
|
+
}
|
|
14566
14584
|
const existing_targetUrl = existing.targetUrl;
|
|
14567
14585
|
const incoming_targetUrl = incoming.targetUrl;
|
|
14568
14586
|
if (!(existing_targetUrl === incoming_targetUrl)) {
|
|
@@ -32520,7 +32538,7 @@ withDefaultLuvio((luvio) => {
|
|
|
32520
32538
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
32521
32539
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
32522
32540
|
});
|
|
32523
|
-
// version: 1.
|
|
32541
|
+
// version: 1.438.1-b2ab20594e
|
|
32524
32542
|
|
|
32525
32543
|
var allowUpdatesForNonCachedRecords = {
|
|
32526
32544
|
isOpen: function (e) {
|
|
@@ -96650,7 +96668,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
96650
96668
|
},
|
|
96651
96669
|
};
|
|
96652
96670
|
}
|
|
96653
|
-
// version: 1.
|
|
96671
|
+
// version: 1.438.1-e193893fad
|
|
96654
96672
|
|
|
96655
96673
|
/**
|
|
96656
96674
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96676,7 +96694,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
96676
96694
|
},
|
|
96677
96695
|
};
|
|
96678
96696
|
}
|
|
96679
|
-
// version: 1.
|
|
96697
|
+
// version: 1.438.1-e193893fad
|
|
96680
96698
|
|
|
96681
96699
|
/*!
|
|
96682
96700
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -99404,7 +99422,7 @@ register$1({
|
|
|
99404
99422
|
id: '@salesforce/lds-network-adapter',
|
|
99405
99423
|
instrument: instrument$2,
|
|
99406
99424
|
});
|
|
99407
|
-
// version: 1.
|
|
99425
|
+
// version: 1.438.1-e193893fad
|
|
99408
99426
|
|
|
99409
99427
|
const { create: create$2, keys: keys$2 } = Object;
|
|
99410
99428
|
const { stringify, parse } = JSON;
|
|
@@ -107058,7 +107076,7 @@ function registerCallback(cb) {
|
|
|
107058
107076
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
107059
107077
|
}
|
|
107060
107078
|
}
|
|
107061
|
-
// version: 1.
|
|
107079
|
+
// version: 1.438.1-b2ab20594e
|
|
107062
107080
|
|
|
107063
107081
|
function createFragmentMap(documentNode) {
|
|
107064
107082
|
const fragments = {};
|
|
@@ -136265,7 +136283,7 @@ register$1({
|
|
|
136265
136283
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
136266
136284
|
instrument: instrument$1,
|
|
136267
136285
|
});
|
|
136268
|
-
// version: 1.
|
|
136286
|
+
// version: 1.438.1-b2ab20594e
|
|
136269
136287
|
|
|
136270
136288
|
// On core the unstable adapters are re-exported with different names,
|
|
136271
136289
|
// we want to match them here.
|
|
@@ -136417,7 +136435,7 @@ withDefaultLuvio((luvio) => {
|
|
|
136417
136435
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136418
136436
|
graphQLImperative = ldsAdapter;
|
|
136419
136437
|
});
|
|
136420
|
-
// version: 1.
|
|
136438
|
+
// version: 1.438.1-b2ab20594e
|
|
136421
136439
|
|
|
136422
136440
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136423
136441
|
__proto__: null,
|
|
@@ -137216,7 +137234,7 @@ const callbacks$1 = [];
|
|
|
137216
137234
|
function register(r) {
|
|
137217
137235
|
callbacks$1.forEach((callback) => callback(r));
|
|
137218
137236
|
}
|
|
137219
|
-
// version: 1.
|
|
137237
|
+
// version: 1.438.1-e193893fad
|
|
137220
137238
|
|
|
137221
137239
|
/**
|
|
137222
137240
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -138505,4 +138523,4 @@ const { luvio } = getRuntime();
|
|
|
138505
138523
|
setDefaultLuvio({ luvio });
|
|
138506
138524
|
|
|
138507
138525
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
138508
|
-
// version: 1.
|
|
138526
|
+
// version: 1.438.1-e193893fad
|
|
@@ -4282,7 +4282,7 @@
|
|
|
4282
4282
|
}
|
|
4283
4283
|
callbacks.push(callback);
|
|
4284
4284
|
}
|
|
4285
|
-
// version: 1.
|
|
4285
|
+
// version: 1.438.1-e193893fad
|
|
4286
4286
|
|
|
4287
4287
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4288
4288
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -5326,7 +5326,7 @@
|
|
|
5326
5326
|
const { apiFamily, name } = metadata;
|
|
5327
5327
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
5328
5328
|
}
|
|
5329
|
-
// version: 1.
|
|
5329
|
+
// version: 1.438.1-e193893fad
|
|
5330
5330
|
|
|
5331
5331
|
function isSupportedEntity(_objectApiName) {
|
|
5332
5332
|
return true;
|
|
@@ -14379,7 +14379,7 @@
|
|
|
14379
14379
|
return undefined;
|
|
14380
14380
|
}
|
|
14381
14381
|
|
|
14382
|
-
const VERSION$10$2 = "
|
|
14382
|
+
const VERSION$10$2 = "885c858e27ff690e5f69edc41d68c32b";
|
|
14383
14383
|
const RepresentationType$G = 'PlatformActionRepresentation';
|
|
14384
14384
|
function keyBuilder$1P$1(luvio, config) {
|
|
14385
14385
|
return keyPrefix$3 + '::' + RepresentationType$G + ':' + config.externalId + ':' + (config.relatedSourceObject === null ? '' : config.relatedSourceObject) + ':' + (config.relatedListRecordId === null ? '' : config.relatedListRecordId);
|
|
@@ -14439,6 +14439,10 @@
|
|
|
14439
14439
|
name: 'lwcComponent',
|
|
14440
14440
|
kind: 'Scalar'
|
|
14441
14441
|
},
|
|
14442
|
+
{
|
|
14443
|
+
name: 'pageDeveloperName',
|
|
14444
|
+
kind: 'Scalar'
|
|
14445
|
+
},
|
|
14442
14446
|
{
|
|
14443
14447
|
name: 'primaryColor',
|
|
14444
14448
|
kind: 'Scalar'
|
|
@@ -14467,6 +14471,10 @@
|
|
|
14467
14471
|
name: 'targetObject',
|
|
14468
14472
|
kind: 'Scalar'
|
|
14469
14473
|
},
|
|
14474
|
+
{
|
|
14475
|
+
name: 'targetParentField',
|
|
14476
|
+
kind: 'Scalar'
|
|
14477
|
+
},
|
|
14470
14478
|
{
|
|
14471
14479
|
name: 'targetUrl',
|
|
14472
14480
|
kind: 'Scalar'
|
|
@@ -14539,6 +14547,11 @@
|
|
|
14539
14547
|
if (!(existing_lwcComponent === incoming_lwcComponent)) {
|
|
14540
14548
|
return false;
|
|
14541
14549
|
}
|
|
14550
|
+
const existing_pageDeveloperName = existing.pageDeveloperName;
|
|
14551
|
+
const incoming_pageDeveloperName = incoming.pageDeveloperName;
|
|
14552
|
+
if (!(existing_pageDeveloperName === incoming_pageDeveloperName)) {
|
|
14553
|
+
return false;
|
|
14554
|
+
}
|
|
14542
14555
|
const existing_primaryColor = existing.primaryColor;
|
|
14543
14556
|
const incoming_primaryColor = incoming.primaryColor;
|
|
14544
14557
|
if (!(existing_primaryColor === incoming_primaryColor)) {
|
|
@@ -14569,6 +14582,11 @@
|
|
|
14569
14582
|
if (!(existing_targetObject === incoming_targetObject)) {
|
|
14570
14583
|
return false;
|
|
14571
14584
|
}
|
|
14585
|
+
const existing_targetParentField = existing.targetParentField;
|
|
14586
|
+
const incoming_targetParentField = incoming.targetParentField;
|
|
14587
|
+
if (!(existing_targetParentField === incoming_targetParentField)) {
|
|
14588
|
+
return false;
|
|
14589
|
+
}
|
|
14572
14590
|
const existing_targetUrl = existing.targetUrl;
|
|
14573
14591
|
const incoming_targetUrl = incoming.targetUrl;
|
|
14574
14592
|
if (!(existing_targetUrl === incoming_targetUrl)) {
|
|
@@ -32526,7 +32544,7 @@
|
|
|
32526
32544
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
32527
32545
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
32528
32546
|
});
|
|
32529
|
-
// version: 1.
|
|
32547
|
+
// version: 1.438.1-b2ab20594e
|
|
32530
32548
|
|
|
32531
32549
|
var allowUpdatesForNonCachedRecords = {
|
|
32532
32550
|
isOpen: function (e) {
|
|
@@ -96656,7 +96674,7 @@
|
|
|
96656
96674
|
},
|
|
96657
96675
|
};
|
|
96658
96676
|
}
|
|
96659
|
-
// version: 1.
|
|
96677
|
+
// version: 1.438.1-e193893fad
|
|
96660
96678
|
|
|
96661
96679
|
/**
|
|
96662
96680
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96682,7 +96700,7 @@
|
|
|
96682
96700
|
},
|
|
96683
96701
|
};
|
|
96684
96702
|
}
|
|
96685
|
-
// version: 1.
|
|
96703
|
+
// version: 1.438.1-e193893fad
|
|
96686
96704
|
|
|
96687
96705
|
/*!
|
|
96688
96706
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -99410,7 +99428,7 @@
|
|
|
99410
99428
|
id: '@salesforce/lds-network-adapter',
|
|
99411
99429
|
instrument: instrument$2,
|
|
99412
99430
|
});
|
|
99413
|
-
// version: 1.
|
|
99431
|
+
// version: 1.438.1-e193893fad
|
|
99414
99432
|
|
|
99415
99433
|
const { create: create$2, keys: keys$2 } = Object;
|
|
99416
99434
|
const { stringify, parse } = JSON;
|
|
@@ -107064,7 +107082,7 @@
|
|
|
107064
107082
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
107065
107083
|
}
|
|
107066
107084
|
}
|
|
107067
|
-
// version: 1.
|
|
107085
|
+
// version: 1.438.1-b2ab20594e
|
|
107068
107086
|
|
|
107069
107087
|
function createFragmentMap(documentNode) {
|
|
107070
107088
|
const fragments = {};
|
|
@@ -136271,7 +136289,7 @@
|
|
|
136271
136289
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
136272
136290
|
instrument: instrument$1,
|
|
136273
136291
|
});
|
|
136274
|
-
// version: 1.
|
|
136292
|
+
// version: 1.438.1-b2ab20594e
|
|
136275
136293
|
|
|
136276
136294
|
// On core the unstable adapters are re-exported with different names,
|
|
136277
136295
|
// we want to match them here.
|
|
@@ -136423,7 +136441,7 @@
|
|
|
136423
136441
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136424
136442
|
graphQLImperative = ldsAdapter;
|
|
136425
136443
|
});
|
|
136426
|
-
// version: 1.
|
|
136444
|
+
// version: 1.438.1-b2ab20594e
|
|
136427
136445
|
|
|
136428
136446
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136429
136447
|
__proto__: null,
|
|
@@ -137222,7 +137240,7 @@
|
|
|
137222
137240
|
function register(r) {
|
|
137223
137241
|
callbacks$1.forEach((callback) => callback(r));
|
|
137224
137242
|
}
|
|
137225
|
-
// version: 1.
|
|
137243
|
+
// version: 1.438.1-e193893fad
|
|
137226
137244
|
|
|
137227
137245
|
/**
|
|
137228
137246
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -138532,4 +138550,4 @@
|
|
|
138532
138550
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
138533
138551
|
|
|
138534
138552
|
}));
|
|
138535
|
-
// version: 1.
|
|
138553
|
+
// version: 1.438.1-e193893fad
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.438.1",
|
|
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.438.1",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.438.1",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.438.1",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.438.1",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.438.1",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.438.1",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.438.1",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.438.1",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|