@salesforce/lds-worker-api 1.287.0-dev2 → 1.287.0-dev3
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.
|
@@ -1074,4 +1074,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1074
1074
|
}
|
|
1075
1075
|
|
|
1076
1076
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
1077
|
-
// version: 1.287.0-
|
|
1077
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
@@ -4190,7 +4190,7 @@ function withDefaultLuvio(callback) {
|
|
|
4190
4190
|
}
|
|
4191
4191
|
callbacks.push(callback);
|
|
4192
4192
|
}
|
|
4193
|
-
// version: 1.287.0-
|
|
4193
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
4194
4194
|
|
|
4195
4195
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4196
4196
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15698,7 +15698,7 @@ function gql(literals, ...subs) {
|
|
|
15698
15698
|
}
|
|
15699
15699
|
return superResult;
|
|
15700
15700
|
}
|
|
15701
|
-
// version: 1.287.0-
|
|
15701
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
15702
15702
|
|
|
15703
15703
|
function unwrap(data) {
|
|
15704
15704
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16623,7 +16623,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16623
16623
|
const { apiFamily, name } = metadata;
|
|
16624
16624
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16625
16625
|
}
|
|
16626
|
-
// version: 1.287.0-
|
|
16626
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
16627
16627
|
|
|
16628
16628
|
/**
|
|
16629
16629
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -44184,7 +44184,7 @@ withDefaultLuvio((luvio) => {
|
|
|
44184
44184
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
44185
44185
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
44186
44186
|
});
|
|
44187
|
-
// version: 1.287.0-
|
|
44187
|
+
// version: 1.287.0-dev3-b1b8160d0
|
|
44188
44188
|
|
|
44189
44189
|
var ldsIdempotencyWriteDisabled = {
|
|
44190
44190
|
isOpen: function (e) {
|
|
@@ -62423,7 +62423,7 @@ register$1({
|
|
|
62423
62423
|
id: '@salesforce/lds-network-adapter',
|
|
62424
62424
|
instrument: instrument$2,
|
|
62425
62425
|
});
|
|
62426
|
-
// version: 1.287.0-
|
|
62426
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
62427
62427
|
|
|
62428
62428
|
const { create: create$3, keys: keys$3 } = Object;
|
|
62429
62429
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -78825,6 +78825,29 @@ function getInContextFragmentType$d(fragment, fragmentMap) {
|
|
|
78825
78825
|
return sharedGetFragmentType(fragment, fragmentMap);
|
|
78826
78826
|
}
|
|
78827
78827
|
|
|
78828
|
+
function getFieldType$b(field) {
|
|
78829
|
+
const fieldName = field.name.value;
|
|
78830
|
+
switch (fieldName) {
|
|
78831
|
+
case '__typename': {
|
|
78832
|
+
return {
|
|
78833
|
+
isArray: false,
|
|
78834
|
+
typename: 'String',
|
|
78835
|
+
};
|
|
78836
|
+
}
|
|
78837
|
+
/*
|
|
78838
|
+
Probably should use metaschema like the RecordQuery graphql-artifact,
|
|
78839
|
+
but this type only has one generic type possible. Also, the most likely scenario for future schema additions,
|
|
78840
|
+
is UISDK adding the the parent of this type, Setup__Setup. Therefore, we will just default to SetupConnection so that
|
|
78841
|
+
query authors don't need to use metaschema when there's no real decision point in this type.
|
|
78842
|
+
*/
|
|
78843
|
+
default:
|
|
78844
|
+
return {
|
|
78845
|
+
isArray: false,
|
|
78846
|
+
typename: 'Setup__SetupConnection',
|
|
78847
|
+
};
|
|
78848
|
+
}
|
|
78849
|
+
}
|
|
78850
|
+
|
|
78828
78851
|
const name$2 = 'Setup__SetupQuery';
|
|
78829
78852
|
const VERSION$a = 'b89cccb5fa5e458d89dc1137af3e5469';
|
|
78830
78853
|
function keyBuilder$6(luvio, path, data) {
|
|
@@ -78942,24 +78965,6 @@ function getTypeCacheKeys$3(cacheKeySink, astNode, state) {
|
|
|
78942
78965
|
}
|
|
78943
78966
|
// Deal with mapped types' cache keys
|
|
78944
78967
|
}
|
|
78945
|
-
function getFieldType$b(field) {
|
|
78946
|
-
switch (field.name.value) {
|
|
78947
|
-
case '__typename': {
|
|
78948
|
-
return {
|
|
78949
|
-
isArray: false,
|
|
78950
|
-
typename: 'String'
|
|
78951
|
-
};
|
|
78952
|
-
}
|
|
78953
|
-
case 'recordQuery': {
|
|
78954
|
-
return {
|
|
78955
|
-
isArray: false,
|
|
78956
|
-
typename: 'Setup__SetupConnection'
|
|
78957
|
-
};
|
|
78958
|
-
}
|
|
78959
|
-
default:
|
|
78960
|
-
return undefined;
|
|
78961
|
-
}
|
|
78962
|
-
}
|
|
78963
78968
|
function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
78964
78969
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
78965
78970
|
if (fieldData === null) {
|
|
@@ -82482,7 +82487,7 @@ register$1({
|
|
|
82482
82487
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
82483
82488
|
instrument: instrument$1,
|
|
82484
82489
|
});
|
|
82485
|
-
// version: 1.287.0-
|
|
82490
|
+
// version: 1.287.0-dev3-b1b8160d0
|
|
82486
82491
|
|
|
82487
82492
|
// On core the unstable adapters are re-exported with different names,
|
|
82488
82493
|
// we want to match them here.
|
|
@@ -84738,7 +84743,7 @@ withDefaultLuvio((luvio) => {
|
|
|
84738
84743
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
84739
84744
|
graphQLImperative = ldsAdapter;
|
|
84740
84745
|
});
|
|
84741
|
-
// version: 1.287.0-
|
|
84746
|
+
// version: 1.287.0-dev3-b1b8160d0
|
|
84742
84747
|
|
|
84743
84748
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
84744
84749
|
__proto__: null,
|
|
@@ -85476,7 +85481,7 @@ const callbacks$1 = [];
|
|
|
85476
85481
|
function register(r) {
|
|
85477
85482
|
callbacks$1.forEach((callback) => callback(r));
|
|
85478
85483
|
}
|
|
85479
|
-
// version: 1.287.0-
|
|
85484
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
85480
85485
|
|
|
85481
85486
|
/**
|
|
85482
85487
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -90438,4 +90443,4 @@ const { luvio } = getRuntime();
|
|
|
90438
90443
|
setDefaultLuvio({ luvio });
|
|
90439
90444
|
|
|
90440
90445
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
90441
|
-
// version: 1.287.0-
|
|
90446
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
@@ -4196,7 +4196,7 @@
|
|
|
4196
4196
|
}
|
|
4197
4197
|
callbacks.push(callback);
|
|
4198
4198
|
}
|
|
4199
|
-
// version: 1.287.0-
|
|
4199
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
4200
4200
|
|
|
4201
4201
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
4202
4202
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15704,7 +15704,7 @@
|
|
|
15704
15704
|
}
|
|
15705
15705
|
return superResult;
|
|
15706
15706
|
}
|
|
15707
|
-
// version: 1.287.0-
|
|
15707
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
15708
15708
|
|
|
15709
15709
|
function unwrap(data) {
|
|
15710
15710
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16629,7 +16629,7 @@
|
|
|
16629
16629
|
const { apiFamily, name } = metadata;
|
|
16630
16630
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16631
16631
|
}
|
|
16632
|
-
// version: 1.287.0-
|
|
16632
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
16633
16633
|
|
|
16634
16634
|
/**
|
|
16635
16635
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -44190,7 +44190,7 @@
|
|
|
44190
44190
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
44191
44191
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
44192
44192
|
});
|
|
44193
|
-
// version: 1.287.0-
|
|
44193
|
+
// version: 1.287.0-dev3-b1b8160d0
|
|
44194
44194
|
|
|
44195
44195
|
var ldsIdempotencyWriteDisabled = {
|
|
44196
44196
|
isOpen: function (e) {
|
|
@@ -62429,7 +62429,7 @@
|
|
|
62429
62429
|
id: '@salesforce/lds-network-adapter',
|
|
62430
62430
|
instrument: instrument$2,
|
|
62431
62431
|
});
|
|
62432
|
-
// version: 1.287.0-
|
|
62432
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
62433
62433
|
|
|
62434
62434
|
const { create: create$3, keys: keys$3 } = Object;
|
|
62435
62435
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -78831,6 +78831,29 @@
|
|
|
78831
78831
|
return sharedGetFragmentType(fragment, fragmentMap);
|
|
78832
78832
|
}
|
|
78833
78833
|
|
|
78834
|
+
function getFieldType$b(field) {
|
|
78835
|
+
const fieldName = field.name.value;
|
|
78836
|
+
switch (fieldName) {
|
|
78837
|
+
case '__typename': {
|
|
78838
|
+
return {
|
|
78839
|
+
isArray: false,
|
|
78840
|
+
typename: 'String',
|
|
78841
|
+
};
|
|
78842
|
+
}
|
|
78843
|
+
/*
|
|
78844
|
+
Probably should use metaschema like the RecordQuery graphql-artifact,
|
|
78845
|
+
but this type only has one generic type possible. Also, the most likely scenario for future schema additions,
|
|
78846
|
+
is UISDK adding the the parent of this type, Setup__Setup. Therefore, we will just default to SetupConnection so that
|
|
78847
|
+
query authors don't need to use metaschema when there's no real decision point in this type.
|
|
78848
|
+
*/
|
|
78849
|
+
default:
|
|
78850
|
+
return {
|
|
78851
|
+
isArray: false,
|
|
78852
|
+
typename: 'Setup__SetupConnection',
|
|
78853
|
+
};
|
|
78854
|
+
}
|
|
78855
|
+
}
|
|
78856
|
+
|
|
78834
78857
|
const name$2 = 'Setup__SetupQuery';
|
|
78835
78858
|
const VERSION$a = 'b89cccb5fa5e458d89dc1137af3e5469';
|
|
78836
78859
|
function keyBuilder$6(luvio, path, data) {
|
|
@@ -78948,24 +78971,6 @@
|
|
|
78948
78971
|
}
|
|
78949
78972
|
// Deal with mapped types' cache keys
|
|
78950
78973
|
}
|
|
78951
|
-
function getFieldType$b(field) {
|
|
78952
|
-
switch (field.name.value) {
|
|
78953
|
-
case '__typename': {
|
|
78954
|
-
return {
|
|
78955
|
-
isArray: false,
|
|
78956
|
-
typename: 'String'
|
|
78957
|
-
};
|
|
78958
|
-
}
|
|
78959
|
-
case 'recordQuery': {
|
|
78960
|
-
return {
|
|
78961
|
-
isArray: false,
|
|
78962
|
-
typename: 'Setup__SetupConnection'
|
|
78963
|
-
};
|
|
78964
|
-
}
|
|
78965
|
-
default:
|
|
78966
|
-
return undefined;
|
|
78967
|
-
}
|
|
78968
|
-
}
|
|
78969
78974
|
function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
78970
78975
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
78971
78976
|
if (fieldData === null) {
|
|
@@ -82488,7 +82493,7 @@
|
|
|
82488
82493
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
82489
82494
|
instrument: instrument$1,
|
|
82490
82495
|
});
|
|
82491
|
-
// version: 1.287.0-
|
|
82496
|
+
// version: 1.287.0-dev3-b1b8160d0
|
|
82492
82497
|
|
|
82493
82498
|
// On core the unstable adapters are re-exported with different names,
|
|
82494
82499
|
// we want to match them here.
|
|
@@ -84744,7 +84749,7 @@
|
|
|
84744
84749
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
84745
84750
|
graphQLImperative = ldsAdapter;
|
|
84746
84751
|
});
|
|
84747
|
-
// version: 1.287.0-
|
|
84752
|
+
// version: 1.287.0-dev3-b1b8160d0
|
|
84748
84753
|
|
|
84749
84754
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
84750
84755
|
__proto__: null,
|
|
@@ -85482,7 +85487,7 @@
|
|
|
85482
85487
|
function register(r) {
|
|
85483
85488
|
callbacks$1.forEach((callback) => callback(r));
|
|
85484
85489
|
}
|
|
85485
|
-
// version: 1.287.0-
|
|
85490
|
+
// version: 1.287.0-dev3-63d7e5c23
|
|
85486
85491
|
|
|
85487
85492
|
/**
|
|
85488
85493
|
* Returns true if the value acts like a Promise, i.e. has a "then" function,
|
|
@@ -90463,4 +90468,4 @@
|
|
|
90463
90468
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
90464
90469
|
|
|
90465
90470
|
}));
|
|
90466
|
-
// version: 1.287.0-
|
|
90471
|
+
// version: 1.287.0-dev3-63d7e5c23
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.287.0-
|
|
3
|
+
"version": "1.287.0-dev3",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/standalone/es/lds-worker-api.js",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@oat-sa/rollup-plugin-wildcard-external": "^1.0.0",
|
|
38
|
-
"@salesforce/lds-adapters-graphql": "^1.287.0-
|
|
39
|
-
"@salesforce/lds-adapters-uiapi": "^1.287.0-
|
|
40
|
-
"@salesforce/lds-default-luvio": "^1.287.0-
|
|
41
|
-
"@salesforce/lds-drafts": "^1.287.0-
|
|
42
|
-
"@salesforce/lds-graphql-parser": "^1.287.0-
|
|
43
|
-
"@salesforce/lds-luvio-engine": "^1.287.0-
|
|
44
|
-
"@salesforce/lds-priming": "^1.287.0-
|
|
45
|
-
"@salesforce/lds-runtime-mobile": "^1.287.0-
|
|
46
|
-
"@salesforce/nimbus-plugin-lds": "^1.287.0-
|
|
38
|
+
"@salesforce/lds-adapters-graphql": "^1.287.0-dev3",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.287.0-dev3",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.287.0-dev3",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.287.0-dev3",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.287.0-dev3",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.287.0-dev3",
|
|
44
|
+
"@salesforce/lds-priming": "^1.287.0-dev3",
|
|
45
|
+
"@salesforce/lds-runtime-mobile": "^1.287.0-dev3",
|
|
46
|
+
"@salesforce/nimbus-plugin-lds": "^1.287.0-dev3",
|
|
47
47
|
"ajv": "^8.11.0",
|
|
48
48
|
"glob": "^7.1.5",
|
|
49
49
|
"nimbus-types": "^2.0.0-alpha1",
|