@salesforce/lds-worker-api 1.440.0 → 1.441.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.441.0-5e7d04c146
|
|
@@ -4276,7 +4276,7 @@ function withDefaultLuvio(callback) {
|
|
|
4276
4276
|
}
|
|
4277
4277
|
callbacks.push(callback);
|
|
4278
4278
|
}
|
|
4279
|
-
// version: 1.
|
|
4279
|
+
// version: 1.441.0-5e7d04c146
|
|
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.441.0-5e7d04c146
|
|
5324
5324
|
|
|
5325
5325
|
function isSupportedEntity(_objectApiName) {
|
|
5326
5326
|
return true;
|
|
@@ -32520,7 +32520,7 @@ withDefaultLuvio((luvio) => {
|
|
|
32520
32520
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
32521
32521
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
32522
32522
|
});
|
|
32523
|
-
// version: 1.
|
|
32523
|
+
// version: 1.441.0-0055bd971e
|
|
32524
32524
|
|
|
32525
32525
|
var allowUpdatesForNonCachedRecords = {
|
|
32526
32526
|
isOpen: function (e) {
|
|
@@ -95432,9 +95432,12 @@ const _FetchNetworkCommand = class _FetchNetworkCommand extends NetworkCommand {
|
|
|
95432
95432
|
this.services = services;
|
|
95433
95433
|
this.additionalNullResponses = [];
|
|
95434
95434
|
}
|
|
95435
|
-
fetch() {
|
|
95435
|
+
fetch(contextSeed) {
|
|
95436
95436
|
try {
|
|
95437
|
-
|
|
95437
|
+
const [input, init] = this.fetchParams;
|
|
95438
|
+
const initWithSeed = contextSeed === void 0 ? init : { ...init, __contextSeed: contextSeed };
|
|
95439
|
+
const fetchCall = initWithSeed === void 0 ? this.services.fetch(input) : this.services.fetch(input, initWithSeed);
|
|
95440
|
+
return this.convertFetchResponseToData(fetchCall);
|
|
95438
95441
|
} catch (reason) {
|
|
95439
95442
|
return resolvedPromiseLike$2(err$1(toError(reason)));
|
|
95440
95443
|
}
|
|
@@ -96507,7 +96510,7 @@ function buildServiceDescriptor$b(luvio) {
|
|
|
96507
96510
|
},
|
|
96508
96511
|
};
|
|
96509
96512
|
}
|
|
96510
|
-
// version: 1.
|
|
96513
|
+
// version: 1.441.0-5e7d04c146
|
|
96511
96514
|
|
|
96512
96515
|
/**
|
|
96513
96516
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96533,7 +96536,7 @@ function buildServiceDescriptor$a(notifyRecordUpdateAvailable, getNormalizedLuvi
|
|
|
96533
96536
|
},
|
|
96534
96537
|
};
|
|
96535
96538
|
}
|
|
96536
|
-
// version: 1.
|
|
96539
|
+
// version: 1.441.0-5e7d04c146
|
|
96537
96540
|
|
|
96538
96541
|
function findExecutableOperation$1(input) {
|
|
96539
96542
|
const operations = input.query.definitions.filter(
|
|
@@ -98168,8 +98171,17 @@ function buildServiceDescriptor$1(interceptors = {
|
|
|
98168
98171
|
return {
|
|
98169
98172
|
type: "fetch",
|
|
98170
98173
|
version: "1.0",
|
|
98171
|
-
service: function(
|
|
98172
|
-
|
|
98174
|
+
service: function(input, init) {
|
|
98175
|
+
let contextSeed;
|
|
98176
|
+
let cleanInit = init;
|
|
98177
|
+
if (init !== void 0 && "__contextSeed" in init) {
|
|
98178
|
+
const { __contextSeed, ...initWithoutSeed } = init;
|
|
98179
|
+
contextSeed = __contextSeed;
|
|
98180
|
+
cleanInit = Object.keys(initWithoutSeed).length === 0 ? void 0 : initWithoutSeed;
|
|
98181
|
+
}
|
|
98182
|
+
const fetchArgs = cleanInit === void 0 ? [input] : [input, cleanInit];
|
|
98183
|
+
const baseContext = interceptors.createContext?.();
|
|
98184
|
+
const context = contextSeed === void 0 ? baseContext : { ...baseContext, ...contextSeed };
|
|
98173
98185
|
const {
|
|
98174
98186
|
request: requestInterceptors = [],
|
|
98175
98187
|
retry: retryInterceptor = void 0,
|
|
@@ -98177,17 +98189,17 @@ function buildServiceDescriptor$1(interceptors = {
|
|
|
98177
98189
|
finally: finallyInterceptors = []
|
|
98178
98190
|
} = interceptors;
|
|
98179
98191
|
const pending = requestInterceptors.reduce(
|
|
98180
|
-
(previousPromise, interceptor) => previousPromise.then((
|
|
98181
|
-
resolvedPromiseLike$2(
|
|
98192
|
+
(previousPromise, interceptor) => previousPromise.then((args) => interceptor(args, context)),
|
|
98193
|
+
resolvedPromiseLike$2(fetchArgs)
|
|
98182
98194
|
);
|
|
98183
|
-
return Promise.resolve(pending).then((
|
|
98195
|
+
return Promise.resolve(pending).then((args) => {
|
|
98184
98196
|
if (retryInterceptor) {
|
|
98185
|
-
return retryInterceptor(
|
|
98197
|
+
return retryInterceptor(args, retryService, context);
|
|
98186
98198
|
} else {
|
|
98187
98199
|
if (retryService) {
|
|
98188
|
-
return retryService.applyRetry(() => fetch(...
|
|
98200
|
+
return retryService.applyRetry(() => fetch(...args));
|
|
98189
98201
|
}
|
|
98190
|
-
return fetch(...
|
|
98202
|
+
return fetch(...args);
|
|
98191
98203
|
}
|
|
98192
98204
|
}).then((response) => {
|
|
98193
98205
|
return responseInterceptors.reduce(
|
|
@@ -99201,7 +99213,7 @@ register$1({
|
|
|
99201
99213
|
id: '@salesforce/lds-network-adapter',
|
|
99202
99214
|
instrument: instrument$2,
|
|
99203
99215
|
});
|
|
99204
|
-
// version: 1.
|
|
99216
|
+
// version: 1.441.0-5e7d04c146
|
|
99205
99217
|
|
|
99206
99218
|
const { create: create$2, keys: keys$2 } = Object;
|
|
99207
99219
|
const { stringify, parse } = JSON;
|
|
@@ -105920,6 +105932,7 @@ function buildCommandClass(baseClass) {
|
|
|
105920
105932
|
this.config = config;
|
|
105921
105933
|
this.documentRootType = documentRootType;
|
|
105922
105934
|
this.services = services;
|
|
105935
|
+
this.endpoint = 'RecordUiController.executeGraphQL';
|
|
105923
105936
|
}
|
|
105924
105937
|
get url() {
|
|
105925
105938
|
return '/services/data/v68.0/graphql';
|
|
@@ -105931,6 +105944,22 @@ function buildCommandClass(baseClass) {
|
|
|
105931
105944
|
now: Date.now() / 1000,
|
|
105932
105945
|
};
|
|
105933
105946
|
}
|
|
105947
|
+
get auraBodyWrapperName() {
|
|
105948
|
+
return 'queryInput';
|
|
105949
|
+
}
|
|
105950
|
+
get auraParams() {
|
|
105951
|
+
const params = super.auraParams;
|
|
105952
|
+
const body = params[this.auraBodyWrapperName];
|
|
105953
|
+
return {
|
|
105954
|
+
...params,
|
|
105955
|
+
[this.auraBodyWrapperName]: {
|
|
105956
|
+
...body,
|
|
105957
|
+
extensions: {
|
|
105958
|
+
requiredTypeFields,
|
|
105959
|
+
},
|
|
105960
|
+
},
|
|
105961
|
+
};
|
|
105962
|
+
}
|
|
105934
105963
|
get fetchParams() {
|
|
105935
105964
|
const [url, params] = super.fetchParams;
|
|
105936
105965
|
const body = JSON.parse(params.body);
|
|
@@ -106572,13 +106601,19 @@ const serviceRequirements = {
|
|
|
106572
106601
|
type: 'lwcGraphQLWireBindings',
|
|
106573
106602
|
version: '1.0',
|
|
106574
106603
|
},
|
|
106575
|
-
|
|
106576
|
-
type: '
|
|
106604
|
+
auraGraphQLNormalizedCacheControlCommand: {
|
|
106605
|
+
type: 'auraGraphQLNormalizedCacheControlCommand',
|
|
106606
|
+
version: '1.0',
|
|
106607
|
+
},
|
|
106608
|
+
auraNetwork: {
|
|
106609
|
+
type: 'auraNetwork',
|
|
106577
106610
|
version: '1.0',
|
|
106611
|
+
optional: true,
|
|
106578
106612
|
},
|
|
106579
106613
|
fetch: {
|
|
106580
106614
|
type: 'fetch',
|
|
106581
106615
|
version: '1.0',
|
|
106616
|
+
optional: true,
|
|
106582
106617
|
},
|
|
106583
106618
|
luvio: {
|
|
106584
106619
|
type: 'luvio',
|
|
@@ -106604,7 +106639,7 @@ getServices(serviceRequirements).then((services) => {
|
|
|
106604
106639
|
const graphqlTypeRegistry = new CustomGraphQLTypeRegistry(services);
|
|
106605
106640
|
const documentRootType = graphqlTypeRegistry.Query;
|
|
106606
106641
|
const mutationType = graphqlTypeRegistry.Mutation;
|
|
106607
|
-
const graphql_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
106642
|
+
const graphql_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
106608
106643
|
graphql$1 = services.lwcGraphQLWireBindings.bind((config) => new graphql_ctor(config, documentRootType, services), CONFIG_SCHEMA, true);
|
|
106609
106644
|
class GraphqlV1ImportAdapter extends graphql$1 {
|
|
106610
106645
|
update(config, _context) {
|
|
@@ -106618,7 +106653,7 @@ getServices(serviceRequirements).then((services) => {
|
|
|
106618
106653
|
}
|
|
106619
106654
|
}
|
|
106620
106655
|
graphql_v1_import = GraphqlV1ImportAdapter;
|
|
106621
|
-
const graphql_imperative_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
106656
|
+
const graphql_imperative_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
106622
106657
|
graphql_imperative$1 = services.graphQLImperativeBindings.bind(({ params, assertIsValid }) => {
|
|
106623
106658
|
const config = params[0];
|
|
106624
106659
|
const options = params[1];
|
|
@@ -106646,7 +106681,7 @@ getServices(serviceRequirements).then((services) => {
|
|
|
106646
106681
|
/*
|
|
106647
106682
|
* State Manager
|
|
106648
106683
|
*/
|
|
106649
|
-
const graphql_state_manager_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
106684
|
+
const graphql_state_manager_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphql_state_manager');
|
|
106650
106685
|
const factory = (config) => {
|
|
106651
106686
|
assertIsValid$1(config, CONFIG_SCHEMA);
|
|
106652
106687
|
const validatedConfig = resolveAndValidateGraphQLConfig(config, {
|
|
@@ -106659,7 +106694,7 @@ getServices(serviceRequirements).then((services) => {
|
|
|
106659
106694
|
return new graphql_state_manager_ctor(validatedConfig.value, documentRootType, services);
|
|
106660
106695
|
};
|
|
106661
106696
|
graphql_state_manager = createSmGraphQL(factory);
|
|
106662
|
-
const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
106697
|
+
const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
106663
106698
|
services.graphQLMutationBindings.bind(({ params, assertIsValid }) => {
|
|
106664
106699
|
const config = params[0];
|
|
106665
106700
|
const options = params[1];
|
|
@@ -106681,7 +106716,7 @@ function registerCallback(cb) {
|
|
|
106681
106716
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
106682
106717
|
}
|
|
106683
106718
|
}
|
|
106684
|
-
// version: 1.
|
|
106719
|
+
// version: 1.441.0-0055bd971e
|
|
106685
106720
|
|
|
106686
106721
|
function createFragmentMap(documentNode) {
|
|
106687
106722
|
const fragments = {};
|
|
@@ -135888,7 +135923,7 @@ register$1({
|
|
|
135888
135923
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
135889
135924
|
instrument: instrument$1,
|
|
135890
135925
|
});
|
|
135891
|
-
// version: 1.
|
|
135926
|
+
// version: 1.441.0-0055bd971e
|
|
135892
135927
|
|
|
135893
135928
|
// On core the unstable adapters are re-exported with different names,
|
|
135894
135929
|
// we want to match them here.
|
|
@@ -136040,7 +136075,7 @@ withDefaultLuvio((luvio) => {
|
|
|
136040
136075
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136041
136076
|
graphQLImperative = ldsAdapter;
|
|
136042
136077
|
});
|
|
136043
|
-
// version: 1.
|
|
136078
|
+
// version: 1.441.0-0055bd971e
|
|
136044
136079
|
|
|
136045
136080
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136046
136081
|
__proto__: null,
|
|
@@ -136839,7 +136874,7 @@ const callbacks$1 = [];
|
|
|
136839
136874
|
function register(r) {
|
|
136840
136875
|
callbacks$1.forEach((callback) => callback(r));
|
|
136841
136876
|
}
|
|
136842
|
-
// version: 1.
|
|
136877
|
+
// version: 1.441.0-5e7d04c146
|
|
136843
136878
|
|
|
136844
136879
|
/**
|
|
136845
136880
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -138128,4 +138163,4 @@ const { luvio } = getRuntime();
|
|
|
138128
138163
|
setDefaultLuvio({ luvio });
|
|
138129
138164
|
|
|
138130
138165
|
export { createPrimingSession, draftManager, draftQueue, evictCacheRecordsByIds, evictExpiredCacheEntries, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, importLuvioAdapterModule, importOneStoreAdapterModule, invokeAdapter, invokeAdapterWithDraftToMerge, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, stopEviction, subscribeToAdapter };
|
|
138131
|
-
// version: 1.
|
|
138166
|
+
// version: 1.441.0-5e7d04c146
|
|
@@ -4282,7 +4282,7 @@
|
|
|
4282
4282
|
}
|
|
4283
4283
|
callbacks.push(callback);
|
|
4284
4284
|
}
|
|
4285
|
-
// version: 1.
|
|
4285
|
+
// version: 1.441.0-5e7d04c146
|
|
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.441.0-5e7d04c146
|
|
5330
5330
|
|
|
5331
5331
|
function isSupportedEntity(_objectApiName) {
|
|
5332
5332
|
return true;
|
|
@@ -32526,7 +32526,7 @@
|
|
|
32526
32526
|
throttle(60, 60000, setupNotifyAllListRecordUpdateAvailable(luvio));
|
|
32527
32527
|
throttle(60, 60000, setupNotifyAllListInfoSummaryUpdateAvailable(luvio));
|
|
32528
32528
|
});
|
|
32529
|
-
// version: 1.
|
|
32529
|
+
// version: 1.441.0-0055bd971e
|
|
32530
32530
|
|
|
32531
32531
|
var allowUpdatesForNonCachedRecords = {
|
|
32532
32532
|
isOpen: function (e) {
|
|
@@ -95438,9 +95438,12 @@
|
|
|
95438
95438
|
this.services = services;
|
|
95439
95439
|
this.additionalNullResponses = [];
|
|
95440
95440
|
}
|
|
95441
|
-
fetch() {
|
|
95441
|
+
fetch(contextSeed) {
|
|
95442
95442
|
try {
|
|
95443
|
-
|
|
95443
|
+
const [input, init] = this.fetchParams;
|
|
95444
|
+
const initWithSeed = contextSeed === void 0 ? init : { ...init, __contextSeed: contextSeed };
|
|
95445
|
+
const fetchCall = initWithSeed === void 0 ? this.services.fetch(input) : this.services.fetch(input, initWithSeed);
|
|
95446
|
+
return this.convertFetchResponseToData(fetchCall);
|
|
95444
95447
|
} catch (reason) {
|
|
95445
95448
|
return resolvedPromiseLike$2(err$1(toError(reason)));
|
|
95446
95449
|
}
|
|
@@ -96513,7 +96516,7 @@
|
|
|
96513
96516
|
},
|
|
96514
96517
|
};
|
|
96515
96518
|
}
|
|
96516
|
-
// version: 1.
|
|
96519
|
+
// version: 1.441.0-5e7d04c146
|
|
96517
96520
|
|
|
96518
96521
|
/**
|
|
96519
96522
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -96539,7 +96542,7 @@
|
|
|
96539
96542
|
},
|
|
96540
96543
|
};
|
|
96541
96544
|
}
|
|
96542
|
-
// version: 1.
|
|
96545
|
+
// version: 1.441.0-5e7d04c146
|
|
96543
96546
|
|
|
96544
96547
|
function findExecutableOperation$1(input) {
|
|
96545
96548
|
const operations = input.query.definitions.filter(
|
|
@@ -98174,8 +98177,17 @@
|
|
|
98174
98177
|
return {
|
|
98175
98178
|
type: "fetch",
|
|
98176
98179
|
version: "1.0",
|
|
98177
|
-
service: function(
|
|
98178
|
-
|
|
98180
|
+
service: function(input, init) {
|
|
98181
|
+
let contextSeed;
|
|
98182
|
+
let cleanInit = init;
|
|
98183
|
+
if (init !== void 0 && "__contextSeed" in init) {
|
|
98184
|
+
const { __contextSeed, ...initWithoutSeed } = init;
|
|
98185
|
+
contextSeed = __contextSeed;
|
|
98186
|
+
cleanInit = Object.keys(initWithoutSeed).length === 0 ? void 0 : initWithoutSeed;
|
|
98187
|
+
}
|
|
98188
|
+
const fetchArgs = cleanInit === void 0 ? [input] : [input, cleanInit];
|
|
98189
|
+
const baseContext = interceptors.createContext?.();
|
|
98190
|
+
const context = contextSeed === void 0 ? baseContext : { ...baseContext, ...contextSeed };
|
|
98179
98191
|
const {
|
|
98180
98192
|
request: requestInterceptors = [],
|
|
98181
98193
|
retry: retryInterceptor = void 0,
|
|
@@ -98183,17 +98195,17 @@
|
|
|
98183
98195
|
finally: finallyInterceptors = []
|
|
98184
98196
|
} = interceptors;
|
|
98185
98197
|
const pending = requestInterceptors.reduce(
|
|
98186
|
-
(previousPromise, interceptor) => previousPromise.then((
|
|
98187
|
-
resolvedPromiseLike$2(
|
|
98198
|
+
(previousPromise, interceptor) => previousPromise.then((args) => interceptor(args, context)),
|
|
98199
|
+
resolvedPromiseLike$2(fetchArgs)
|
|
98188
98200
|
);
|
|
98189
|
-
return Promise.resolve(pending).then((
|
|
98201
|
+
return Promise.resolve(pending).then((args) => {
|
|
98190
98202
|
if (retryInterceptor) {
|
|
98191
|
-
return retryInterceptor(
|
|
98203
|
+
return retryInterceptor(args, retryService, context);
|
|
98192
98204
|
} else {
|
|
98193
98205
|
if (retryService) {
|
|
98194
|
-
return retryService.applyRetry(() => fetch(...
|
|
98206
|
+
return retryService.applyRetry(() => fetch(...args));
|
|
98195
98207
|
}
|
|
98196
|
-
return fetch(...
|
|
98208
|
+
return fetch(...args);
|
|
98197
98209
|
}
|
|
98198
98210
|
}).then((response) => {
|
|
98199
98211
|
return responseInterceptors.reduce(
|
|
@@ -99207,7 +99219,7 @@
|
|
|
99207
99219
|
id: '@salesforce/lds-network-adapter',
|
|
99208
99220
|
instrument: instrument$2,
|
|
99209
99221
|
});
|
|
99210
|
-
// version: 1.
|
|
99222
|
+
// version: 1.441.0-5e7d04c146
|
|
99211
99223
|
|
|
99212
99224
|
const { create: create$2, keys: keys$2 } = Object;
|
|
99213
99225
|
const { stringify, parse } = JSON;
|
|
@@ -105926,6 +105938,7 @@
|
|
|
105926
105938
|
this.config = config;
|
|
105927
105939
|
this.documentRootType = documentRootType;
|
|
105928
105940
|
this.services = services;
|
|
105941
|
+
this.endpoint = 'RecordUiController.executeGraphQL';
|
|
105929
105942
|
}
|
|
105930
105943
|
get url() {
|
|
105931
105944
|
return '/services/data/v68.0/graphql';
|
|
@@ -105937,6 +105950,22 @@
|
|
|
105937
105950
|
now: Date.now() / 1000,
|
|
105938
105951
|
};
|
|
105939
105952
|
}
|
|
105953
|
+
get auraBodyWrapperName() {
|
|
105954
|
+
return 'queryInput';
|
|
105955
|
+
}
|
|
105956
|
+
get auraParams() {
|
|
105957
|
+
const params = super.auraParams;
|
|
105958
|
+
const body = params[this.auraBodyWrapperName];
|
|
105959
|
+
return {
|
|
105960
|
+
...params,
|
|
105961
|
+
[this.auraBodyWrapperName]: {
|
|
105962
|
+
...body,
|
|
105963
|
+
extensions: {
|
|
105964
|
+
requiredTypeFields,
|
|
105965
|
+
},
|
|
105966
|
+
},
|
|
105967
|
+
};
|
|
105968
|
+
}
|
|
105940
105969
|
get fetchParams() {
|
|
105941
105970
|
const [url, params] = super.fetchParams;
|
|
105942
105971
|
const body = JSON.parse(params.body);
|
|
@@ -106578,13 +106607,19 @@
|
|
|
106578
106607
|
type: 'lwcGraphQLWireBindings',
|
|
106579
106608
|
version: '1.0',
|
|
106580
106609
|
},
|
|
106581
|
-
|
|
106582
|
-
type: '
|
|
106610
|
+
auraGraphQLNormalizedCacheControlCommand: {
|
|
106611
|
+
type: 'auraGraphQLNormalizedCacheControlCommand',
|
|
106612
|
+
version: '1.0',
|
|
106613
|
+
},
|
|
106614
|
+
auraNetwork: {
|
|
106615
|
+
type: 'auraNetwork',
|
|
106583
106616
|
version: '1.0',
|
|
106617
|
+
optional: true,
|
|
106584
106618
|
},
|
|
106585
106619
|
fetch: {
|
|
106586
106620
|
type: 'fetch',
|
|
106587
106621
|
version: '1.0',
|
|
106622
|
+
optional: true,
|
|
106588
106623
|
},
|
|
106589
106624
|
luvio: {
|
|
106590
106625
|
type: 'luvio',
|
|
@@ -106610,7 +106645,7 @@
|
|
|
106610
106645
|
const graphqlTypeRegistry = new CustomGraphQLTypeRegistry(services);
|
|
106611
106646
|
const documentRootType = graphqlTypeRegistry.Query;
|
|
106612
106647
|
const mutationType = graphqlTypeRegistry.Mutation;
|
|
106613
|
-
const graphql_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
106648
|
+
const graphql_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
106614
106649
|
graphql$1 = services.lwcGraphQLWireBindings.bind((config) => new graphql_ctor(config, documentRootType, services), CONFIG_SCHEMA, true);
|
|
106615
106650
|
class GraphqlV1ImportAdapter extends graphql$1 {
|
|
106616
106651
|
update(config, _context) {
|
|
@@ -106624,7 +106659,7 @@
|
|
|
106624
106659
|
}
|
|
106625
106660
|
}
|
|
106626
106661
|
graphql_v1_import = GraphqlV1ImportAdapter;
|
|
106627
|
-
const graphql_imperative_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
106662
|
+
const graphql_imperative_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
106628
106663
|
graphql_imperative$1 = services.graphQLImperativeBindings.bind(({ params, assertIsValid }) => {
|
|
106629
106664
|
const config = params[0];
|
|
106630
106665
|
const options = params[1];
|
|
@@ -106652,7 +106687,7 @@
|
|
|
106652
106687
|
/*
|
|
106653
106688
|
* State Manager
|
|
106654
106689
|
*/
|
|
106655
|
-
const graphql_state_manager_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
106690
|
+
const graphql_state_manager_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphql_state_manager');
|
|
106656
106691
|
const factory = (config) => {
|
|
106657
106692
|
assertIsValid$1(config, CONFIG_SCHEMA);
|
|
106658
106693
|
const validatedConfig = resolveAndValidateGraphQLConfig(config, {
|
|
@@ -106665,7 +106700,7 @@
|
|
|
106665
106700
|
return new graphql_state_manager_ctor(validatedConfig.value, documentRootType, services);
|
|
106666
106701
|
};
|
|
106667
106702
|
graphql_state_manager = createSmGraphQL(factory);
|
|
106668
|
-
const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.
|
|
106703
|
+
const executeMutation_ctor = services.instrumentCommand(buildCommandClass(services.auraGraphQLNormalizedCacheControlCommand), 'graphqlCommand');
|
|
106669
106704
|
services.graphQLMutationBindings.bind(({ params, assertIsValid }) => {
|
|
106670
106705
|
const config = params[0];
|
|
106671
106706
|
const options = params[1];
|
|
@@ -106687,7 +106722,7 @@
|
|
|
106687
106722
|
cb(graphql_v1_import, graphql_imperative$1, graphql_imperative_legacy_v1_import, graphql_state_manager, useOneStoreGraphQL);
|
|
106688
106723
|
}
|
|
106689
106724
|
}
|
|
106690
|
-
// version: 1.
|
|
106725
|
+
// version: 1.441.0-0055bd971e
|
|
106691
106726
|
|
|
106692
106727
|
function createFragmentMap(documentNode) {
|
|
106693
106728
|
const fragments = {};
|
|
@@ -135894,7 +135929,7 @@
|
|
|
135894
135929
|
configuration: { ...configurationForGraphQLAdapters$1 },
|
|
135895
135930
|
instrument: instrument$1,
|
|
135896
135931
|
});
|
|
135897
|
-
// version: 1.
|
|
135932
|
+
// version: 1.441.0-0055bd971e
|
|
135898
135933
|
|
|
135899
135934
|
// On core the unstable adapters are re-exported with different names,
|
|
135900
135935
|
// we want to match them here.
|
|
@@ -136046,7 +136081,7 @@
|
|
|
136046
136081
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
136047
136082
|
graphQLImperative = ldsAdapter;
|
|
136048
136083
|
});
|
|
136049
|
-
// version: 1.
|
|
136084
|
+
// version: 1.441.0-0055bd971e
|
|
136050
136085
|
|
|
136051
136086
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
136052
136087
|
__proto__: null,
|
|
@@ -136845,7 +136880,7 @@
|
|
|
136845
136880
|
function register(r) {
|
|
136846
136881
|
callbacks$1.forEach((callback) => callback(r));
|
|
136847
136882
|
}
|
|
136848
|
-
// version: 1.
|
|
136883
|
+
// version: 1.441.0-5e7d04c146
|
|
136849
136884
|
|
|
136850
136885
|
/**
|
|
136851
136886
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -138155,4 +138190,4 @@
|
|
|
138155
138190
|
exports.subscribeToAdapter = subscribeToAdapter;
|
|
138156
138191
|
|
|
138157
138192
|
}));
|
|
138158
|
-
// version: 1.
|
|
138193
|
+
// version: 1.441.0-5e7d04c146
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-worker-api",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.441.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.441.0",
|
|
39
|
+
"@salesforce/lds-adapters-uiapi": "^1.441.0",
|
|
40
|
+
"@salesforce/lds-default-luvio": "^1.441.0",
|
|
41
|
+
"@salesforce/lds-drafts": "^1.441.0",
|
|
42
|
+
"@salesforce/lds-graphql-parser": "^1.441.0",
|
|
43
|
+
"@salesforce/lds-luvio-engine": "^1.441.0",
|
|
44
|
+
"@salesforce/lds-runtime-mobile": "^1.441.0",
|
|
45
|
+
"@salesforce/nimbus-plugin-lds": "^1.441.0",
|
|
46
46
|
"ajv": "^8.11.0",
|
|
47
47
|
"glob": "^7.1.5",
|
|
48
48
|
"nimbus-types": "^2.0.0-alpha1",
|