@salesforce/lds-worker-api 1.438.1 → 1.439.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.
|
@@ -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.439.0-e3dc0cfb2a
|
|
@@ -4276,7 +4276,7 @@ function withDefaultLuvio(callback) {
|
|
|
4276
4276
|
}
|
|
4277
4277
|
callbacks.push(callback);
|
|
4278
4278
|
}
|
|
4279
|
-
// version: 1.
|
|
4279
|
+
// version: 1.439.0-e3dc0cfb2a
|
|
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.439.0-e3dc0cfb2a
|
|
5324
5324
|
|
|
5325
5325
|
function isSupportedEntity(_objectApiName) {
|
|
5326
5326
|
return true;
|
|
@@ -32538,7 +32538,7 @@ withDefaultLuvio((luvio) => {
|
|
|
32538
32538
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
32539
32539
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
32540
32540
|
});
|
|
32541
|
-
// version: 1.
|
|
32541
|
+
// version: 1.439.0-1d518350b5
|
|
32542
32542
|
|
|
32543
32543
|
var allowUpdatesForNonCachedRecords = {
|
|
32544
32544
|
isOpen: function (e) {
|
|
@@ -96668,7 +96668,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
96668
96668
|
},
|
|
96669
96669
|
};
|
|
96670
96670
|
}
|
|
96671
|
-
// version: 1.
|
|
96671
|
+
// version: 1.439.0-e3dc0cfb2a
|
|
96672
96672
|
|
|
96673
96673
|
/**
|
|
96674
96674
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96694,7 +96694,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
96694
96694
|
},
|
|
96695
96695
|
};
|
|
96696
96696
|
}
|
|
96697
|
-
// version: 1.
|
|
96697
|
+
// version: 1.439.0-e3dc0cfb2a
|
|
96698
96698
|
|
|
96699
96699
|
/*!
|
|
96700
96700
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -99422,7 +99422,7 @@ register$1({
|
|
|
99422
99422
|
id: '@salesforce/lds-network-adapter',
|
|
99423
99423
|
instrument: instrument$2,
|
|
99424
99424
|
});
|
|
99425
|
-
// version: 1.
|
|
99425
|
+
// version: 1.439.0-e3dc0cfb2a
|
|
99426
99426
|
|
|
99427
99427
|
const { create: create$2, keys: keys$2 } = Object;
|
|
99428
99428
|
const { stringify, parse } = JSON;
|
|
@@ -106312,7 +106312,6 @@ function buildCommandClass(baseClass) {
|
|
|
106312
106312
|
this.config = config;
|
|
106313
106313
|
this.documentRootType = documentRootType;
|
|
106314
106314
|
this.services = services;
|
|
106315
|
-
this.endpoint = 'RecordUiController.executeGraphQL';
|
|
106316
106315
|
}
|
|
106317
106316
|
get url() {
|
|
106318
106317
|
return '/services/data/v68.0/graphql';
|
|
@@ -106324,22 +106323,6 @@ function buildCommandClass(baseClass) {
|
|
|
106324
106323
|
now: Date.now() / 1000,
|
|
106325
106324
|
};
|
|
106326
106325
|
}
|
|
106327
|
-
get auraBodyWrapperName() {
|
|
106328
|
-
return 'queryInput';
|
|
106329
|
-
}
|
|
106330
|
-
get auraParams() {
|
|
106331
|
-
const params = super.auraParams;
|
|
106332
|
-
const body = params[this.auraBodyWrapperName];
|
|
106333
|
-
return {
|
|
106334
|
-
...params,
|
|
106335
|
-
[this.auraBodyWrapperName]: {
|
|
106336
|
-
...body,
|
|
106337
|
-
extensions: {
|
|
106338
|
-
requiredTypeFields,
|
|
106339
|
-
},
|
|
106340
|
-
},
|
|
106341
|
-
};
|
|
106342
|
-
}
|
|
106343
106326
|
get fetchParams() {
|
|
106344
106327
|
const [url, params] = super.fetchParams;
|
|
106345
106328
|
const body = JSON.parse(params.body);
|
|
@@ -106913,6 +106896,26 @@ function cloneConfig(config) {
|
|
|
106913
106896
|
return cloned;
|
|
106914
106897
|
}
|
|
106915
106898
|
|
|
106899
|
+
const requiredKeys = ['query'];
|
|
106900
|
+
const optionalKeys = ['variables', 'operationName'];
|
|
106901
|
+
/**
|
|
106902
|
+
* Factory that builds the graphql adapter-state-manager from a `getCommand`
|
|
106903
|
+
* function. Used on-core (with the platform-supplied command constructor that
|
|
106904
|
+
* provisions services from `_conduit_client_service_provisioner_v1`) and reused
|
|
106905
|
+
* off-core (with a host-provided command, e.g. an MCP-backed command synthesized
|
|
106906
|
+
* by `vite-plugin-lwc-ui-bundle`'s runtime).
|
|
106907
|
+
*
|
|
106908
|
+
* Mirrors the shape of `createSmRecord` / `createSmObjectInfo` in
|
|
106909
|
+
* `@salesforce/state-managers-uiapi`: factory + fixed config-key contract,
|
|
106910
|
+
* adapter supplied by the caller.
|
|
106911
|
+
*
|
|
106912
|
+
* @param getCommand - Function that takes a config and returns a `GraphQLCommand`
|
|
106913
|
+
* @returns The graphql adapter-state-manager definition
|
|
106914
|
+
*/
|
|
106915
|
+
function createSmGraphQL(getCommand) {
|
|
106916
|
+
return createStateManager(getCommand, requiredKeys, optionalKeys);
|
|
106917
|
+
}
|
|
106918
|
+
|
|
106916
106919
|
let graphql$1;
|
|
106917
106920
|
let graphql_v1_import;
|
|
106918
106921
|
let graphql_imperative$1;
|
|
@@ -106961,19 +106964,13 @@ const serviceRequirements = {
|
|
|
106961
106964
|
type: 'lwcGraphQLWireBindings',
|
|
106962
106965
|
version: '1.0',
|
|
106963
106966
|
},
|
|
106964
|
-
|
|
106965
|
-
type: '
|
|
106967
|
+
httpGraphQLNormalizedCacheControlCommand: {
|
|
106968
|
+
type: 'httpGraphQLNormalizedCacheControlCommand',
|
|
106966
106969
|
version: '1.0',
|
|
106967
106970
|
},
|
|
106968
|
-
auraNetwork: {
|
|
106969
|
-
type: 'auraNetwork',
|
|
106970
|
-
version: '1.0',
|
|
106971
|
-
optional: true,
|
|
106972
|
-
},
|
|
106973
106971
|
fetch: {
|
|
106974
106972
|
type: 'fetch',
|
|
106975
106973
|
version: '1.0',
|
|
106976
|
-
optional: true,
|
|
106977
106974
|
},
|
|
106978
106975
|
luvio: {
|
|
106979
106976
|
type: 'luvio',
|
|
@@ -106999,7 +106996,7 @@ getServices(serviceRequirements).then((services) => {
|
|
|
106999
106996
|
const graphqlTypeRegistry = new CustomGraphQLTypeRegistry(services);
|
|
107000
106997
|
const documentRootType = graphqlTypeRegistry.Query;
|
|
107001
106998
|
const mutationType = graphqlTypeRegistry.Mutation;
|
|
107002
|
-
const graphql_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
106999
|
+
const graphql_ctor = services.instrumentCommand(buildCommandClass(services.httpGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
107003
107000
|
graphql$1 = services.lwcGraphQLWireBindings.bind((config) => new graphql_ctor(config, documentRootType, services), CONFIG_SCHEMA, true);
|
|
107004
107001
|
class GraphqlV1ImportAdapter extends graphql$1 {
|
|
107005
107002
|
update(config, _context) {
|
|
@@ -107013,7 +107010,7 @@ getServices(serviceRequirements).then((services) => {
|
|
|
107013
107010
|
}
|
|
107014
107011
|
}
|
|
107015
107012
|
graphql_v1_import = GraphqlV1ImportAdapter;
|
|
107016
|
-
const graphql_imperative_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
107013
|
+
const graphql_imperative_ctor = services.instrumentCommand(buildCommandClass(services.httpGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
107017
107014
|
graphql_imperative$1 = services.graphQLImperativeBindings.bind(({ params, assertIsValid }) => {
|
|
107018
107015
|
const config = params[0];
|
|
107019
107016
|
const options = params[1];
|
|
@@ -107041,7 +107038,7 @@ getServices(serviceRequirements).then((services) => {
|
|
|
107041
107038
|
/*
|
|
107042
107039
|
* State Manager
|
|
107043
107040
|
*/
|
|
107044
|
-
const graphql_state_manager_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
107041
|
+
const graphql_state_manager_ctor = services.instrumentCommand(buildCommandClass(services.httpGraphQLNormalizedCacheControlCommand), 'graphql_state_manager');
|
|
107045
107042
|
const factory = (config) => {
|
|
107046
107043
|
assertIsValid$1(config, CONFIG_SCHEMA);
|
|
107047
107044
|
const validatedConfig = resolveAndValidateGraphQLConfig(config, {
|
|
@@ -107053,8 +107050,8 @@ getServices(serviceRequirements).then((services) => {
|
|
|
107053
107050
|
}
|
|
107054
107051
|
return new graphql_state_manager_ctor(validatedConfig.value, documentRootType, services);
|
|
107055
107052
|
};
|
|
107056
|
-
graphql_state_manager =
|
|
107057
|
-
const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
107053
|
+
graphql_state_manager = createSmGraphQL(factory);
|
|
107054
|
+
const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.httpGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
107058
107055
|
services.graphQLMutationBindings.bind(({ params, assertIsValid }) => {
|
|
107059
107056
|
const config = params[0];
|
|
107060
107057
|
const options = params[1];
|
|
@@ -107076,7 +107073,7 @@ function registerCallback(cb) {
|
|
|
107076
107073
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
107077
107074
|
}
|
|
107078
107075
|
}
|
|
107079
|
-
// version: 1.
|
|
107076
|
+
// version: 1.439.0-1d518350b5
|
|
107080
107077
|
|
|
107081
107078
|
function createFragmentMap(documentNode) {
|
|
107082
107079
|
const fragments = {};
|
|
@@ -136283,7 +136280,7 @@ register$1({
|
|
|
136283
136280
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
136284
136281
|
instrument: instrument$1,
|
|
136285
136282
|
});
|
|
136286
|
-
// version: 1.
|
|
136283
|
+
// version: 1.439.0-1d518350b5
|
|
136287
136284
|
|
|
136288
136285
|
// On core the unstable adapters are re-exported with different names,
|
|
136289
136286
|
// we want to match them here.
|
|
@@ -136435,7 +136432,7 @@ withDefaultLuvio((luvio) => {
|
|
|
136435
136432
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136436
136433
|
graphQLImperative = ldsAdapter;
|
|
136437
136434
|
});
|
|
136438
|
-
// version: 1.
|
|
136435
|
+
// version: 1.439.0-1d518350b5
|
|
136439
136436
|
|
|
136440
136437
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136441
136438
|
__proto__: null,
|
|
@@ -137234,7 +137231,7 @@ const callbacks$1 = [];
|
|
|
137234
137231
|
function register(r) {
|
|
137235
137232
|
callbacks$1.forEach((callback) => callback(r));
|
|
137236
137233
|
}
|
|
137237
|
-
// version: 1.
|
|
137234
|
+
// version: 1.439.0-e3dc0cfb2a
|
|
137238
137235
|
|
|
137239
137236
|
/**
|
|
137240
137237
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -138523,4 +138520,4 @@ const { luvio } = getRuntime();
|
|
|
138523
138520
|
setDefaultLuvio({ luvio });
|
|
138524
138521
|
|
|
138525
138522
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
138526
|
-
// version: 1.
|
|
138523
|
+
// version: 1.439.0-e3dc0cfb2a
|
|
@@ -4282,7 +4282,7 @@
|
|
|
4282
4282
|
}
|
|
4283
4283
|
callbacks.push(callback);
|
|
4284
4284
|
}
|
|
4285
|
-
// version: 1.
|
|
4285
|
+
// version: 1.439.0-e3dc0cfb2a
|
|
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.439.0-e3dc0cfb2a
|
|
5330
5330
|
|
|
5331
5331
|
function isSupportedEntity(_objectApiName) {
|
|
5332
5332
|
return true;
|
|
@@ -32544,7 +32544,7 @@
|
|
|
32544
32544
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
32545
32545
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
32546
32546
|
});
|
|
32547
|
-
// version: 1.
|
|
32547
|
+
// version: 1.439.0-1d518350b5
|
|
32548
32548
|
|
|
32549
32549
|
var allowUpdatesForNonCachedRecords = {
|
|
32550
32550
|
isOpen: function (e) {
|
|
@@ -96674,7 +96674,7 @@
|
|
|
96674
96674
|
},
|
|
96675
96675
|
};
|
|
96676
96676
|
}
|
|
96677
|
-
// version: 1.
|
|
96677
|
+
// version: 1.439.0-e3dc0cfb2a
|
|
96678
96678
|
|
|
96679
96679
|
/**
|
|
96680
96680
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96700,7 +96700,7 @@
|
|
|
96700
96700
|
},
|
|
96701
96701
|
};
|
|
96702
96702
|
}
|
|
96703
|
-
// version: 1.
|
|
96703
|
+
// version: 1.439.0-e3dc0cfb2a
|
|
96704
96704
|
|
|
96705
96705
|
/*!
|
|
96706
96706
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -99428,7 +99428,7 @@
|
|
|
99428
99428
|
id: '@salesforce/lds-network-adapter',
|
|
99429
99429
|
instrument: instrument$2,
|
|
99430
99430
|
});
|
|
99431
|
-
// version: 1.
|
|
99431
|
+
// version: 1.439.0-e3dc0cfb2a
|
|
99432
99432
|
|
|
99433
99433
|
const { create: create$2, keys: keys$2 } = Object;
|
|
99434
99434
|
const { stringify, parse } = JSON;
|
|
@@ -106318,7 +106318,6 @@
|
|
|
106318
106318
|
this.config = config;
|
|
106319
106319
|
this.documentRootType = documentRootType;
|
|
106320
106320
|
this.services = services;
|
|
106321
|
-
this.endpoint = 'RecordUiController.executeGraphQL';
|
|
106322
106321
|
}
|
|
106323
106322
|
get url() {
|
|
106324
106323
|
return '/services/data/v68.0/graphql';
|
|
@@ -106330,22 +106329,6 @@
|
|
|
106330
106329
|
now: Date.now() / 1000,
|
|
106331
106330
|
};
|
|
106332
106331
|
}
|
|
106333
|
-
get auraBodyWrapperName() {
|
|
106334
|
-
return 'queryInput';
|
|
106335
|
-
}
|
|
106336
|
-
get auraParams() {
|
|
106337
|
-
const params = super.auraParams;
|
|
106338
|
-
const body = params[this.auraBodyWrapperName];
|
|
106339
|
-
return {
|
|
106340
|
-
...params,
|
|
106341
|
-
[this.auraBodyWrapperName]: {
|
|
106342
|
-
...body,
|
|
106343
|
-
extensions: {
|
|
106344
|
-
requiredTypeFields,
|
|
106345
|
-
},
|
|
106346
|
-
},
|
|
106347
|
-
};
|
|
106348
|
-
}
|
|
106349
106332
|
get fetchParams() {
|
|
106350
106333
|
const [url, params] = super.fetchParams;
|
|
106351
106334
|
const body = JSON.parse(params.body);
|
|
@@ -106919,6 +106902,26 @@
|
|
|
106919
106902
|
return cloned;
|
|
106920
106903
|
}
|
|
106921
106904
|
|
|
106905
|
+
const requiredKeys = ['query'];
|
|
106906
|
+
const optionalKeys = ['variables', 'operationName'];
|
|
106907
|
+
/**
|
|
106908
|
+
* Factory that builds the graphql adapter-state-manager from a `getCommand`
|
|
106909
|
+
* function. Used on-core (with the platform-supplied command constructor that
|
|
106910
|
+
* provisions services from `_conduit_client_service_provisioner_v1`) and reused
|
|
106911
|
+
* off-core (with a host-provided command, e.g. an MCP-backed command synthesized
|
|
106912
|
+
* by `vite-plugin-lwc-ui-bundle`'s runtime).
|
|
106913
|
+
*
|
|
106914
|
+
* Mirrors the shape of `createSmRecord` / `createSmObjectInfo` in
|
|
106915
|
+
* `@salesforce/state-managers-uiapi`: factory + fixed config-key contract,
|
|
106916
|
+
* adapter supplied by the caller.
|
|
106917
|
+
*
|
|
106918
|
+
* @param getCommand - Function that takes a config and returns a `GraphQLCommand`
|
|
106919
|
+
* @returns The graphql adapter-state-manager definition
|
|
106920
|
+
*/
|
|
106921
|
+
function createSmGraphQL(getCommand) {
|
|
106922
|
+
return createStateManager(getCommand, requiredKeys, optionalKeys);
|
|
106923
|
+
}
|
|
106924
|
+
|
|
106922
106925
|
let graphql$1;
|
|
106923
106926
|
let graphql_v1_import;
|
|
106924
106927
|
let graphql_imperative$1;
|
|
@@ -106967,19 +106970,13 @@
|
|
|
106967
106970
|
type: 'lwcGraphQLWireBindings',
|
|
106968
106971
|
version: '1.0',
|
|
106969
106972
|
},
|
|
106970
|
-
|
|
106971
|
-
type: '
|
|
106973
|
+
httpGraphQLNormalizedCacheControlCommand: {
|
|
106974
|
+
type: 'httpGraphQLNormalizedCacheControlCommand',
|
|
106972
106975
|
version: '1.0',
|
|
106973
106976
|
},
|
|
106974
|
-
auraNetwork: {
|
|
106975
|
-
type: 'auraNetwork',
|
|
106976
|
-
version: '1.0',
|
|
106977
|
-
optional: true,
|
|
106978
|
-
},
|
|
106979
106977
|
fetch: {
|
|
106980
106978
|
type: 'fetch',
|
|
106981
106979
|
version: '1.0',
|
|
106982
|
-
optional: true,
|
|
106983
106980
|
},
|
|
106984
106981
|
luvio: {
|
|
106985
106982
|
type: 'luvio',
|
|
@@ -107005,7 +107002,7 @@
|
|
|
107005
107002
|
const graphqlTypeRegistry = new CustomGraphQLTypeRegistry(services);
|
|
107006
107003
|
const documentRootType = graphqlTypeRegistry.Query;
|
|
107007
107004
|
const mutationType = graphqlTypeRegistry.Mutation;
|
|
107008
|
-
const graphql_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
107005
|
+
const graphql_ctor = services.instrumentCommand(buildCommandClass(services.httpGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
107009
107006
|
graphql$1 = services.lwcGraphQLWireBindings.bind((config) => new graphql_ctor(config, documentRootType, services), CONFIG_SCHEMA, true);
|
|
107010
107007
|
class GraphqlV1ImportAdapter extends graphql$1 {
|
|
107011
107008
|
update(config, _context) {
|
|
@@ -107019,7 +107016,7 @@
|
|
|
107019
107016
|
}
|
|
107020
107017
|
}
|
|
107021
107018
|
graphql_v1_import = GraphqlV1ImportAdapter;
|
|
107022
|
-
const graphql_imperative_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
107019
|
+
const graphql_imperative_ctor = services.instrumentCommand(buildCommandClass(services.httpGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
107023
107020
|
graphql_imperative$1 = services.graphQLImperativeBindings.bind(({ params, assertIsValid }) => {
|
|
107024
107021
|
const config = params[0];
|
|
107025
107022
|
const options = params[1];
|
|
@@ -107047,7 +107044,7 @@
|
|
|
107047
107044
|
/*
|
|
107048
107045
|
* State Manager
|
|
107049
107046
|
*/
|
|
107050
|
-
const graphql_state_manager_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
107047
|
+
const graphql_state_manager_ctor = services.instrumentCommand(buildCommandClass(services.httpGraphQLNormalizedCacheControlCommand), 'graphql_state_manager');
|
|
107051
107048
|
const factory = (config) => {
|
|
107052
107049
|
assertIsValid$1(config, CONFIG_SCHEMA);
|
|
107053
107050
|
const validatedConfig = resolveAndValidateGraphQLConfig(config, {
|
|
@@ -107059,8 +107056,8 @@
|
|
|
107059
107056
|
}
|
|
107060
107057
|
return new graphql_state_manager_ctor(validatedConfig.value, documentRootType, services);
|
|
107061
107058
|
};
|
|
107062
|
-
graphql_state_manager =
|
|
107063
|
-
const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
107059
|
+
graphql_state_manager = createSmGraphQL(factory);
|
|
107060
|
+
const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.httpGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
107064
107061
|
services.graphQLMutationBindings.bind(({ params, assertIsValid }) => {
|
|
107065
107062
|
const config = params[0];
|
|
107066
107063
|
const options = params[1];
|
|
@@ -107082,7 +107079,7 @@
|
|
|
107082
107079
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
107083
107080
|
}
|
|
107084
107081
|
}
|
|
107085
|
-
// version: 1.
|
|
107082
|
+
// version: 1.439.0-1d518350b5
|
|
107086
107083
|
|
|
107087
107084
|
function createFragmentMap(documentNode) {
|
|
107088
107085
|
const fragments = {};
|
|
@@ -136289,7 +136286,7 @@
|
|
|
136289
136286
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
136290
136287
|
instrument: instrument$1,
|
|
136291
136288
|
});
|
|
136292
|
-
// version: 1.
|
|
136289
|
+
// version: 1.439.0-1d518350b5
|
|
136293
136290
|
|
|
136294
136291
|
// On core the unstable adapters are re-exported with different names,
|
|
136295
136292
|
// we want to match them here.
|
|
@@ -136441,7 +136438,7 @@
|
|
|
136441
136438
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136442
136439
|
graphQLImperative = ldsAdapter;
|
|
136443
136440
|
});
|
|
136444
|
-
// version: 1.
|
|
136441
|
+
// version: 1.439.0-1d518350b5
|
|
136445
136442
|
|
|
136446
136443
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136447
136444
|
__proto__: null,
|
|
@@ -137240,7 +137237,7 @@
|
|
|
137240
137237
|
function register(r) {
|
|
137241
137238
|
callbacks$1.forEach((callback) => callback(r));
|
|
137242
137239
|
}
|
|
137243
|
-
// version: 1.
|
|
137240
|
+
// version: 1.439.0-e3dc0cfb2a
|
|
137244
137241
|
|
|
137245
137242
|
/**
|
|
137246
137243
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -138550,4 +138547,4 @@
|
|
|
138550
138547
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
138551
138548
|
|
|
138552
138549
|
}));
|
|
138553
|
-
// version: 1.
|
|
138550
|
+
// version: 1.439.0-e3dc0cfb2a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.439.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.439.0",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.439.0",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.439.0",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.439.0",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.439.0",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.439.0",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.439.0",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.439.0",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|