@salesforce/lds-worker-api 1.105.0 → 1.106.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.
- package/dist/sfdc/es/ldsWorkerApi.js +1 -1
- package/dist/standalone/es/lds-worker-api.js +8 -8
- package/dist/standalone/umd/lds-worker-api.js +8 -8
- package/package.json +10 -10
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/adapter-forward-assignedtome.adapter-testcase.json +1 -1
- package/src/__tests__/data-driven-tests/fixtures/adapter-testcases/graphQL/assignedtome.adapter-testcase.json +1 -1
|
@@ -743,4 +743,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
743
743
|
}
|
|
744
744
|
|
|
745
745
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
746
|
-
// version: 1.
|
|
746
|
+
// version: 1.106.1-692acb37a
|
|
@@ -3776,7 +3776,7 @@ function withDefaultLuvio(callback) {
|
|
|
3776
3776
|
}
|
|
3777
3777
|
callbacks.push(callback);
|
|
3778
3778
|
}
|
|
3779
|
-
// version: 1.
|
|
3779
|
+
// version: 1.106.1-692acb37a
|
|
3780
3780
|
|
|
3781
3781
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3782
3782
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15200,7 +15200,7 @@ function parseAndVisit(source) {
|
|
|
15200
15200
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15201
15201
|
return luvioDocumentNode;
|
|
15202
15202
|
}
|
|
15203
|
-
// version: 1.
|
|
15203
|
+
// version: 1.106.1-692acb37a
|
|
15204
15204
|
|
|
15205
15205
|
function unwrap(data) {
|
|
15206
15206
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16081,7 +16081,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16081
16081
|
const { apiFamily, name } = metadata;
|
|
16082
16082
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16083
16083
|
}
|
|
16084
|
-
// version: 1.
|
|
16084
|
+
// version: 1.106.1-692acb37a
|
|
16085
16085
|
|
|
16086
16086
|
/**
|
|
16087
16087
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -43635,7 +43635,7 @@ withDefaultLuvio((luvio) => {
|
|
|
43635
43635
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
43636
43636
|
});
|
|
43637
43637
|
});
|
|
43638
|
-
// version: 1.
|
|
43638
|
+
// version: 1.106.1-692acb37a
|
|
43639
43639
|
|
|
43640
43640
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
43641
43641
|
|
|
@@ -58853,7 +58853,7 @@ register({
|
|
|
58853
58853
|
id: '@salesforce/lds-network-adapter',
|
|
58854
58854
|
instrument: instrument$1,
|
|
58855
58855
|
});
|
|
58856
|
-
// version: 1.
|
|
58856
|
+
// version: 1.106.1-692acb37a
|
|
58857
58857
|
|
|
58858
58858
|
const { create: create$2, keys: keys$2 } = Object;
|
|
58859
58859
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -76506,7 +76506,7 @@ register({
|
|
|
76506
76506
|
configuration: { ...configurationForGraphQLAdapters },
|
|
76507
76507
|
instrument,
|
|
76508
76508
|
});
|
|
76509
|
-
// version: 1.
|
|
76509
|
+
// version: 1.106.1-692acb37a
|
|
76510
76510
|
|
|
76511
76511
|
// On core the unstable adapters are re-exported with different names,
|
|
76512
76512
|
|
|
@@ -78635,7 +78635,7 @@ withDefaultLuvio((luvio) => {
|
|
|
78635
78635
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
78636
78636
|
graphQLImperative = ldsAdapter;
|
|
78637
78637
|
});
|
|
78638
|
-
// version: 1.
|
|
78638
|
+
// version: 1.106.1-692acb37a
|
|
78639
78639
|
|
|
78640
78640
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
78641
78641
|
__proto__: null,
|
|
@@ -79309,4 +79309,4 @@ const { luvio } = getRuntime();
|
|
|
79309
79309
|
setDefaultLuvio({ luvio });
|
|
79310
79310
|
|
|
79311
79311
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
79312
|
-
// version: 1.
|
|
79312
|
+
// version: 1.106.1-692acb37a
|
|
@@ -3782,7 +3782,7 @@
|
|
|
3782
3782
|
}
|
|
3783
3783
|
callbacks.push(callback);
|
|
3784
3784
|
}
|
|
3785
|
-
// version: 1.
|
|
3785
|
+
// version: 1.106.1-692acb37a
|
|
3786
3786
|
|
|
3787
3787
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3788
3788
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15206,7 +15206,7 @@
|
|
|
15206
15206
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15207
15207
|
return luvioDocumentNode;
|
|
15208
15208
|
}
|
|
15209
|
-
// version: 1.
|
|
15209
|
+
// version: 1.106.1-692acb37a
|
|
15210
15210
|
|
|
15211
15211
|
function unwrap(data) {
|
|
15212
15212
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16087,7 +16087,7 @@
|
|
|
16087
16087
|
const { apiFamily, name } = metadata;
|
|
16088
16088
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16089
16089
|
}
|
|
16090
|
-
// version: 1.
|
|
16090
|
+
// version: 1.106.1-692acb37a
|
|
16091
16091
|
|
|
16092
16092
|
/**
|
|
16093
16093
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -43641,7 +43641,7 @@
|
|
|
43641
43641
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
43642
43642
|
});
|
|
43643
43643
|
});
|
|
43644
|
-
// version: 1.
|
|
43644
|
+
// version: 1.106.1-692acb37a
|
|
43645
43645
|
|
|
43646
43646
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
43647
43647
|
|
|
@@ -58859,7 +58859,7 @@
|
|
|
58859
58859
|
id: '@salesforce/lds-network-adapter',
|
|
58860
58860
|
instrument: instrument$1,
|
|
58861
58861
|
});
|
|
58862
|
-
// version: 1.
|
|
58862
|
+
// version: 1.106.1-692acb37a
|
|
58863
58863
|
|
|
58864
58864
|
const { create: create$2, keys: keys$2 } = Object;
|
|
58865
58865
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -76512,7 +76512,7 @@
|
|
|
76512
76512
|
configuration: { ...configurationForGraphQLAdapters },
|
|
76513
76513
|
instrument,
|
|
76514
76514
|
});
|
|
76515
|
-
// version: 1.
|
|
76515
|
+
// version: 1.106.1-692acb37a
|
|
76516
76516
|
|
|
76517
76517
|
// On core the unstable adapters are re-exported with different names,
|
|
76518
76518
|
|
|
@@ -78641,7 +78641,7 @@
|
|
|
78641
78641
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
78642
78642
|
graphQLImperative = ldsAdapter;
|
|
78643
78643
|
});
|
|
78644
|
-
// version: 1.
|
|
78644
|
+
// version: 1.106.1-692acb37a
|
|
78645
78645
|
|
|
78646
78646
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
78647
78647
|
__proto__: null,
|
|
@@ -79332,4 +79332,4 @@
|
|
|
79332
79332
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
79333
79333
|
|
|
79334
79334
|
}));
|
|
79335
|
-
// version: 1.
|
|
79335
|
+
// version: 1.106.1-692acb37a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.106.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "dist/standalone/umd/lds-worker-api.js",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"@luvio/engine": "0.135.4",
|
|
38
38
|
"@luvio/environments": "0.135.4",
|
|
39
39
|
"@oat-sa/rollup-plugin-wildcard-external": "^0.1.0",
|
|
40
|
-
"@salesforce/lds-adapters-graphql": "^1.
|
|
41
|
-
"@salesforce/lds-adapters-uiapi": "^1.
|
|
42
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
43
|
-
"@salesforce/lds-drafts": "^1.
|
|
44
|
-
"@salesforce/lds-graphql-parser": "^1.
|
|
45
|
-
"@salesforce/lds-luvio-engine": "^1.
|
|
46
|
-
"@salesforce/lds-priming": "^1.
|
|
47
|
-
"@salesforce/lds-runtime-mobile": "^1.
|
|
48
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
40
|
+
"@salesforce/lds-adapters-graphql": "^1.106.1",
|
|
41
|
+
"@salesforce/lds-adapters-uiapi": "^1.106.1",
|
|
42
|
+
"@salesforce/lds-default-luvio": "^1.106.1",
|
|
43
|
+
"@salesforce/lds-drafts": "^1.106.1",
|
|
44
|
+
"@salesforce/lds-graphql-parser": "^1.106.1",
|
|
45
|
+
"@salesforce/lds-luvio-engine": "^1.106.1",
|
|
46
|
+
"@salesforce/lds-priming": "^1.106.1",
|
|
47
|
+
"@salesforce/lds-runtime-mobile": "^1.106.1",
|
|
48
|
+
"@salesforce/nimbus-plugin-lds": "^1.106.1",
|
|
49
49
|
"ajv": "^8.11.0",
|
|
50
50
|
"glob": "^7.1.5",
|
|
51
51
|
"nimbus-types": "^2.0.0-alpha1",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{
|
|
17
17
|
"name": "graphQL",
|
|
18
18
|
"config": {
|
|
19
|
-
"query": "{ uiapi { query { ServiceAppointment(
|
|
19
|
+
"query": "{ uiapi { query { ServiceAppointment(scope: ASSIGNEDTOME, orderBy: {SchedStartTime: {order: ASC, nulls: FIRST}}) @connection { edges { node @resource(type: \"Record\") { Id ServiceResources @connection { edges { node @resource(type: \"Record\"){ Id } } } } } } } } }",
|
|
20
20
|
"variables": {},
|
|
21
21
|
"useUiApiAdapter": true
|
|
22
22
|
},
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{
|
|
17
17
|
"name": "graphql",
|
|
18
18
|
"config": {
|
|
19
|
-
"query": "query { uiapi { query { ServiceAppointment(
|
|
19
|
+
"query": "query { uiapi { query { ServiceAppointment(scope: ASSIGNEDTOME, orderBy: {SchedStartTime: {order: ASC, nulls: FIRST}}) @category(name: \"recordQuery\") { edges { node { Id ServiceResources @category(name: \"childRelationship\") { edges { node { Id } } } } } } } } }",
|
|
20
20
|
"variables": {}
|
|
21
21
|
},
|
|
22
22
|
"expectedToSucceed": true,
|