@salesforce/lds-worker-api 1.133.0 → 1.133.2
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.
|
@@ -761,4 +761,4 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
764
|
-
// version: 1.133.
|
|
764
|
+
// version: 1.133.2-0c6b84e3c
|
|
@@ -600,9 +600,8 @@ class StringKeyInMemoryStore {
|
|
|
600
600
|
}
|
|
601
601
|
return results;
|
|
602
602
|
}
|
|
603
|
-
|
|
603
|
+
put(recordId, record) {
|
|
604
604
|
const { records, insertedIds, pendingTrimKeys, retainedIds } = this;
|
|
605
|
-
// make sure we publish to the canonical record id in case it's been redirected
|
|
606
605
|
const canonicalKey = this.getCanonicalRecordId(recordId);
|
|
607
606
|
if (hasOwnProperty$3.call(records, canonicalKey) === false) {
|
|
608
607
|
insertedIds[canonicalKey] = true;
|
|
@@ -615,6 +614,11 @@ class StringKeyInMemoryStore {
|
|
|
615
614
|
if (retainedIds[canonicalKey] === undefined) {
|
|
616
615
|
pendingTrimKeys.add(canonicalKey);
|
|
617
616
|
}
|
|
617
|
+
}
|
|
618
|
+
publish(recordId, record) {
|
|
619
|
+
// make sure we publish to the canonical record id in case it's been redirected
|
|
620
|
+
const canonicalKey = this.getCanonicalRecordId(recordId);
|
|
621
|
+
this.put(canonicalKey, record);
|
|
618
622
|
this.markVisited(canonicalKey);
|
|
619
623
|
// TODO: Emit event for store publish once structured keys are used everywhere.
|
|
620
624
|
}
|
|
@@ -823,14 +827,7 @@ class StringKeyInMemoryStore {
|
|
|
823
827
|
// find and evict the canonical key
|
|
824
828
|
const canonicalKey = this.getCanonicalRecordId(key);
|
|
825
829
|
delete this.records[canonicalKey];
|
|
826
|
-
this.
|
|
827
|
-
// mark all redirects leading up to the canonical key as visited so
|
|
828
|
-
// affected snapshots are updated
|
|
829
|
-
let redirectKey = this.reverseRedirectKeys[canonicalKey];
|
|
830
|
-
while (redirectKey !== undefined) {
|
|
831
|
-
this.visitedIds[redirectKey] = true;
|
|
832
|
-
redirectKey = this.reverseRedirectKeys[redirectKey];
|
|
833
|
-
}
|
|
830
|
+
this.markVisited(canonicalKey);
|
|
834
831
|
}
|
|
835
832
|
/**
|
|
836
833
|
* Deallocates data at the canonical key location for in-memory (L1) cache
|
|
@@ -1208,9 +1205,9 @@ class InMemoryStore {
|
|
|
1208
1205
|
}
|
|
1209
1206
|
return results;
|
|
1210
1207
|
}
|
|
1211
|
-
|
|
1208
|
+
put(recordId, record) {
|
|
1212
1209
|
if (typeof recordId === 'string') {
|
|
1213
|
-
this.fallbackStringKeyInMemoryStore.
|
|
1210
|
+
this.fallbackStringKeyInMemoryStore.put(recordId, record);
|
|
1214
1211
|
return;
|
|
1215
1212
|
}
|
|
1216
1213
|
const { recordsMap, insertedIdsSet, pendingTrims, retainedIdsMap } = this;
|
|
@@ -1227,6 +1224,14 @@ class InMemoryStore {
|
|
|
1227
1224
|
if (retainedIdsMap.get(canonicalKey) === undefined) {
|
|
1228
1225
|
pendingTrims.add(canonicalKey);
|
|
1229
1226
|
}
|
|
1227
|
+
}
|
|
1228
|
+
publish(recordId, record) {
|
|
1229
|
+
if (typeof recordId === 'string') {
|
|
1230
|
+
this.fallbackStringKeyInMemoryStore.publish(recordId, record);
|
|
1231
|
+
return;
|
|
1232
|
+
}
|
|
1233
|
+
const canonicalKey = this.getCanonicalRecordId(recordId);
|
|
1234
|
+
this.put(canonicalKey, record);
|
|
1230
1235
|
this.markVisited(canonicalKey);
|
|
1231
1236
|
this.emitStorePublishEvent(recordId);
|
|
1232
1237
|
}
|
|
@@ -1463,14 +1468,7 @@ class InMemoryStore {
|
|
|
1463
1468
|
// find and evict the canonical key
|
|
1464
1469
|
const canonicalKey = this.getCanonicalRecordId(key);
|
|
1465
1470
|
this.recordsMap.delete(canonicalKey);
|
|
1466
|
-
this.
|
|
1467
|
-
// mark all redirects leading up to the canonical key as visited so
|
|
1468
|
-
// affected snapshots are updated
|
|
1469
|
-
let redirectKey = this.reverseRedirectKeysMap.get(canonicalKey);
|
|
1470
|
-
while (redirectKey !== undefined) {
|
|
1471
|
-
this.visitedIdsSet.add(redirectKey);
|
|
1472
|
-
redirectKey = this.reverseRedirectKeysMap.get(redirectKey);
|
|
1473
|
-
}
|
|
1471
|
+
this.markVisited(canonicalKey);
|
|
1474
1472
|
}
|
|
1475
1473
|
/**
|
|
1476
1474
|
* Deallocates data at the canonical key location for in-memory (L1) cache
|
|
@@ -2656,6 +2654,9 @@ class Reader {
|
|
|
2656
2654
|
}
|
|
2657
2655
|
const array = record[propertyName];
|
|
2658
2656
|
if (array === undefined) {
|
|
2657
|
+
if (selection.required === false) {
|
|
2658
|
+
return;
|
|
2659
|
+
}
|
|
2659
2660
|
return this.markMissing();
|
|
2660
2661
|
}
|
|
2661
2662
|
const sink = (data[propertyName] = []);
|
|
@@ -2780,6 +2781,9 @@ class Reader {
|
|
|
2780
2781
|
}
|
|
2781
2782
|
const array = record[propertyName];
|
|
2782
2783
|
if (array === undefined) {
|
|
2784
|
+
if (selection.required === false) {
|
|
2785
|
+
return;
|
|
2786
|
+
}
|
|
2783
2787
|
return this.markMissing();
|
|
2784
2788
|
}
|
|
2785
2789
|
const sink = (data[propertyName] = []);
|
|
@@ -2828,8 +2832,14 @@ class Reader {
|
|
|
2828
2832
|
}
|
|
2829
2833
|
freeze$4(sink);
|
|
2830
2834
|
}
|
|
2831
|
-
readScalarPlural(propertyName, record, data) {
|
|
2835
|
+
readScalarPlural(propertyName, record, data, required) {
|
|
2832
2836
|
const array = record[propertyName];
|
|
2837
|
+
if (array === undefined) {
|
|
2838
|
+
if (required === false) {
|
|
2839
|
+
return;
|
|
2840
|
+
}
|
|
2841
|
+
return this.markMissing();
|
|
2842
|
+
}
|
|
2833
2843
|
const sink = (data[propertyName] = []);
|
|
2834
2844
|
// If the current snapshot is already know to be different from
|
|
2835
2845
|
// previous snapshot, we can fast track and just copy the array
|
|
@@ -2938,7 +2948,7 @@ class Reader {
|
|
|
2938
2948
|
this.readScalarMap(key, record, data, selection.required !== false);
|
|
2939
2949
|
}
|
|
2940
2950
|
else if (selection.plural === true) {
|
|
2941
|
-
this.readScalarPlural(key, record, data);
|
|
2951
|
+
this.readScalarPlural(key, record, data, selection.required !== false);
|
|
2942
2952
|
}
|
|
2943
2953
|
else {
|
|
2944
2954
|
this.readScalar(key, record, data, selection.required);
|
|
@@ -3166,9 +3176,14 @@ class Environment {
|
|
|
3166
3176
|
// since broadcast only deals with cached recordIds
|
|
3167
3177
|
this.store.broadcastNonCachedSnapshot(key, errorSnapshot);
|
|
3168
3178
|
}
|
|
3179
|
+
// Adds the given data to the store at the given key and marks the key as visited. Will cause subscribers to rebuild.
|
|
3169
3180
|
storePublish(key, data) {
|
|
3170
3181
|
this.store.publish(key, data);
|
|
3171
3182
|
}
|
|
3183
|
+
// Adds the given data to the store at the given key (does NOT mark the key as visited). Will NOT cause subscribers to rebuild. NOTE: This should really only be used by internal Luvio APIs.
|
|
3184
|
+
storePut(key, data) {
|
|
3185
|
+
this.store.put(key, data);
|
|
3186
|
+
}
|
|
3172
3187
|
storeRedirect(existingKey, redirectKey) {
|
|
3173
3188
|
this.store.redirect(existingKey, redirectKey);
|
|
3174
3189
|
}
|
|
@@ -3649,7 +3664,7 @@ class Luvio {
|
|
|
3649
3664
|
return this.environment.buildStructuredKey(namespace, representationName, idValues);
|
|
3650
3665
|
}
|
|
3651
3666
|
}
|
|
3652
|
-
// engine version: 0.138.
|
|
3667
|
+
// engine version: 0.138.13-8fa39cd3
|
|
3653
3668
|
|
|
3654
3669
|
/**
|
|
3655
3670
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -3776,7 +3791,7 @@ function withDefaultLuvio(callback) {
|
|
|
3776
3791
|
}
|
|
3777
3792
|
callbacks.push(callback);
|
|
3778
3793
|
}
|
|
3779
|
-
// version: 1.133.
|
|
3794
|
+
// version: 1.133.2-0c6b84e3c
|
|
3780
3795
|
|
|
3781
3796
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3782
3797
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15200,7 +15215,7 @@ function parseAndVisit(source) {
|
|
|
15200
15215
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15201
15216
|
return luvioDocumentNode;
|
|
15202
15217
|
}
|
|
15203
|
-
// version: 1.133.
|
|
15218
|
+
// version: 1.133.2-0c6b84e3c
|
|
15204
15219
|
|
|
15205
15220
|
function unwrap(data) {
|
|
15206
15221
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16113,7 +16128,7 @@ function createGraphQLWireAdapterConstructor(luvio, adapter, metadata, astResolv
|
|
|
16113
16128
|
const { apiFamily, name } = metadata;
|
|
16114
16129
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16115
16130
|
}
|
|
16116
|
-
// version: 1.133.
|
|
16131
|
+
// version: 1.133.2-0c6b84e3c
|
|
16117
16132
|
|
|
16118
16133
|
/**
|
|
16119
16134
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16196,7 +16211,7 @@ var FragmentReadResultState;
|
|
|
16196
16211
|
({
|
|
16197
16212
|
state: FragmentReadResultState.Missing,
|
|
16198
16213
|
});
|
|
16199
|
-
// engine version: 0.138.
|
|
16214
|
+
// engine version: 0.138.13-8fa39cd3
|
|
16200
16215
|
|
|
16201
16216
|
const { keys: ObjectKeys$3, freeze: ObjectFreeze$3, create: ObjectCreate$3 } = Object;
|
|
16202
16217
|
|
|
@@ -19943,7 +19958,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
19943
19958
|
parent: path.parent,
|
|
19944
19959
|
propertyName: path.propertyName,
|
|
19945
19960
|
};
|
|
19946
|
-
let incomingRecord = childNormalize(input,
|
|
19961
|
+
let incomingRecord = childNormalize(input, existingRecord, recordPath, luvio, store, timestamp);
|
|
19947
19962
|
// read from the store again since it might have been ingested as a nested child ref
|
|
19948
19963
|
existingRecord = store.readEntry(key);
|
|
19949
19964
|
incomingRecord = merge$3(existingRecord, incomingRecord, luvio, path, recordConflictMap);
|
|
@@ -44413,7 +44428,7 @@ withDefaultLuvio((luvio) => {
|
|
|
44413
44428
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44414
44429
|
});
|
|
44415
44430
|
});
|
|
44416
|
-
// version: 1.133.
|
|
44431
|
+
// version: 1.133.2-56a001840
|
|
44417
44432
|
|
|
44418
44433
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44419
44434
|
|
|
@@ -45018,7 +45033,7 @@ function isStoreEntryError(storeRecord) {
|
|
|
45018
45033
|
* @param pendingWriter the PendingWriter (this is going away soon)
|
|
45019
45034
|
* @returns
|
|
45020
45035
|
*/
|
|
45021
|
-
function publishDurableStoreEntries(durableRecords,
|
|
45036
|
+
function publishDurableStoreEntries(durableRecords, put, publishMetadata) {
|
|
45022
45037
|
const revivedKeys = new StoreKeySet();
|
|
45023
45038
|
let hadUnexpectedShape = false;
|
|
45024
45039
|
if (durableRecords === undefined) {
|
|
@@ -45056,7 +45071,7 @@ function publishDurableStoreEntries(durableRecords, publish, publishMetadata) {
|
|
|
45056
45071
|
// freeze errors on way into L1
|
|
45057
45072
|
deepFreeze$2(data.error);
|
|
45058
45073
|
}
|
|
45059
|
-
|
|
45074
|
+
put(key, data);
|
|
45060
45075
|
revivedKeys.add(key);
|
|
45061
45076
|
}
|
|
45062
45077
|
return { revivedKeys, hadUnexpectedShape };
|
|
@@ -45096,7 +45111,7 @@ unavailableSnapshot, durableStoreErrorHandler, buildL1Snapshot, reviveMetrics =
|
|
|
45096
45111
|
// TODO [W-10072584]: instead of implicitly using L1 we should take in
|
|
45097
45112
|
// publish and publishMetadata funcs, so callers can decide where to
|
|
45098
45113
|
// revive to (like they pass in how to do the buildL1Snapshot)
|
|
45099
|
-
baseEnvironment.
|
|
45114
|
+
baseEnvironment.storePut.bind(baseEnvironment), baseEnvironment.publishStoreMetadata.bind(baseEnvironment));
|
|
45100
45115
|
// if the data coming back from DS had an unexpected shape then just
|
|
45101
45116
|
// return the L1 snapshot
|
|
45102
45117
|
if (hadUnexpectedShape === true) {
|
|
@@ -45219,16 +45234,6 @@ class DurableTTLStore {
|
|
|
45219
45234
|
}
|
|
45220
45235
|
}
|
|
45221
45236
|
|
|
45222
|
-
function copy(source) {
|
|
45223
|
-
if (typeof source !== 'object' || source === null) {
|
|
45224
|
-
return source;
|
|
45225
|
-
}
|
|
45226
|
-
if (isArray$5(source)) {
|
|
45227
|
-
// TS doesn't trust that this new array is an array unless we cast it
|
|
45228
|
-
return [...source];
|
|
45229
|
-
}
|
|
45230
|
-
return { ...source };
|
|
45231
|
-
}
|
|
45232
45237
|
function flushInMemoryStoreValuesToDurableStore(store, durableStore, durableStoreErrorHandler) {
|
|
45233
45238
|
const durableRecords = create$5(null);
|
|
45234
45239
|
const evictedRecords = create$5(null);
|
|
@@ -45247,9 +45252,7 @@ function flushInMemoryStoreValuesToDurableStore(store, durableStore, durableStor
|
|
|
45247
45252
|
}
|
|
45248
45253
|
const metadata = storeMetadata[key];
|
|
45249
45254
|
durableRecords[key] = {
|
|
45250
|
-
|
|
45251
|
-
// async setEntries call
|
|
45252
|
-
data: copy(record),
|
|
45255
|
+
data: record,
|
|
45253
45256
|
};
|
|
45254
45257
|
if (metadata !== undefined) {
|
|
45255
45258
|
durableRecords[key].metadata = {
|
|
@@ -45370,7 +45373,7 @@ function isUnfulfilledSnapshot(cachedSnapshotResult) {
|
|
|
45370
45373
|
function makeDurable(environment, { durableStore, instrumentation }) {
|
|
45371
45374
|
let ingestStagingStore = null;
|
|
45372
45375
|
const durableTTLStore = new DurableTTLStore(durableStore);
|
|
45373
|
-
const mergeKeysPromiseMap = new
|
|
45376
|
+
const mergeKeysPromiseMap = new Map();
|
|
45374
45377
|
// When a context store is mutated we write it to L2, which causes DS on change
|
|
45375
45378
|
// event. If this instance of makeDurable caused that L2 write we can ignore that
|
|
45376
45379
|
// on change event. This Set helps us do that.
|
|
@@ -60042,7 +60045,7 @@ register({
|
|
|
60042
60045
|
id: '@salesforce/lds-network-adapter',
|
|
60043
60046
|
instrument: instrument$1,
|
|
60044
60047
|
});
|
|
60045
|
-
// version: 1.133.
|
|
60048
|
+
// version: 1.133.2-0c6b84e3c
|
|
60046
60049
|
|
|
60047
60050
|
const { create: create$2, keys: keys$2 } = Object;
|
|
60048
60051
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -60403,7 +60406,7 @@ function keyBuilder$L(luvio, path, data) {
|
|
|
60403
60406
|
// }
|
|
60404
60407
|
function mergeData$G(existingData, newData) {
|
|
60405
60408
|
return {
|
|
60406
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
60409
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
60407
60410
|
};
|
|
60408
60411
|
}
|
|
60409
60412
|
function ingest$I(astNode, state) {
|
|
@@ -60562,7 +60565,7 @@ function keyBuilder$K(luvio, path, data) {
|
|
|
60562
60565
|
// }
|
|
60563
60566
|
function mergeData$F(existingData, newData) {
|
|
60564
60567
|
return {
|
|
60565
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
60568
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
60566
60569
|
};
|
|
60567
60570
|
}
|
|
60568
60571
|
function ingest$H(astNode, state) {
|
|
@@ -60721,7 +60724,7 @@ function keyBuilder$J(luvio, path, data) {
|
|
|
60721
60724
|
// }
|
|
60722
60725
|
function mergeData$E(existingData, newData) {
|
|
60723
60726
|
return {
|
|
60724
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
60727
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
60725
60728
|
};
|
|
60726
60729
|
}
|
|
60727
60730
|
function ingest$G(astNode, state) {
|
|
@@ -60962,7 +60965,7 @@ function keyBuilder$I(luvio, path, data) {
|
|
|
60962
60965
|
// }
|
|
60963
60966
|
function mergeData$D(existingData, newData) {
|
|
60964
60967
|
return {
|
|
60965
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
60968
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
60966
60969
|
};
|
|
60967
60970
|
}
|
|
60968
60971
|
function ingest$F(astNode, state) {
|
|
@@ -61121,7 +61124,7 @@ function keyBuilder$H(luvio, path, data) {
|
|
|
61121
61124
|
// }
|
|
61122
61125
|
function mergeData$C(existingData, newData) {
|
|
61123
61126
|
return {
|
|
61124
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61127
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61125
61128
|
};
|
|
61126
61129
|
}
|
|
61127
61130
|
function ingest$E(astNode, state) {
|
|
@@ -61348,7 +61351,7 @@ function keyBuilder$G(luvio, path, data) {
|
|
|
61348
61351
|
// }
|
|
61349
61352
|
function mergeData$B(existingData, newData) {
|
|
61350
61353
|
return {
|
|
61351
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61354
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61352
61355
|
};
|
|
61353
61356
|
}
|
|
61354
61357
|
function ingest$D(astNode, state) {
|
|
@@ -61501,7 +61504,7 @@ function keyBuilder$F(luvio, path, data) {
|
|
|
61501
61504
|
// }
|
|
61502
61505
|
function mergeData$A(existingData, newData) {
|
|
61503
61506
|
return {
|
|
61504
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61507
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61505
61508
|
};
|
|
61506
61509
|
}
|
|
61507
61510
|
function ingest$C(astNode, state) {
|
|
@@ -61660,7 +61663,7 @@ function keyBuilder$E(luvio, path, data) {
|
|
|
61660
61663
|
// }
|
|
61661
61664
|
function mergeData$z(existingData, newData) {
|
|
61662
61665
|
return {
|
|
61663
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61666
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61664
61667
|
};
|
|
61665
61668
|
}
|
|
61666
61669
|
function ingest$B(astNode, state) {
|
|
@@ -61813,7 +61816,7 @@ function keyBuilder$D(luvio, path, data) {
|
|
|
61813
61816
|
// }
|
|
61814
61817
|
function mergeData$y(existingData, newData) {
|
|
61815
61818
|
return {
|
|
61816
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61819
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61817
61820
|
};
|
|
61818
61821
|
}
|
|
61819
61822
|
function ingest$A(astNode, state) {
|
|
@@ -61972,7 +61975,7 @@ function keyBuilder$C(luvio, path, data) {
|
|
|
61972
61975
|
// }
|
|
61973
61976
|
function mergeData$x(existingData, newData) {
|
|
61974
61977
|
return {
|
|
61975
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61978
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61976
61979
|
};
|
|
61977
61980
|
}
|
|
61978
61981
|
function ingest$z(astNode, state) {
|
|
@@ -62131,7 +62134,7 @@ function keyBuilder$B(luvio, path, data) {
|
|
|
62131
62134
|
// }
|
|
62132
62135
|
function mergeData$w(existingData, newData) {
|
|
62133
62136
|
return {
|
|
62134
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62137
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62135
62138
|
};
|
|
62136
62139
|
}
|
|
62137
62140
|
function ingest$y(astNode, state) {
|
|
@@ -62284,7 +62287,7 @@ function keyBuilder$A(luvio, path, data) {
|
|
|
62284
62287
|
// }
|
|
62285
62288
|
function mergeData$v(existingData, newData) {
|
|
62286
62289
|
return {
|
|
62287
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62290
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62288
62291
|
};
|
|
62289
62292
|
}
|
|
62290
62293
|
function ingest$x(astNode, state) {
|
|
@@ -62437,7 +62440,7 @@ function keyBuilder$z(luvio, path, data) {
|
|
|
62437
62440
|
// }
|
|
62438
62441
|
function mergeData$u(existingData, newData) {
|
|
62439
62442
|
return {
|
|
62440
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62443
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62441
62444
|
};
|
|
62442
62445
|
}
|
|
62443
62446
|
function ingest$w(astNode, state) {
|
|
@@ -62590,7 +62593,7 @@ function keyBuilder$y(luvio, path, data) {
|
|
|
62590
62593
|
// }
|
|
62591
62594
|
function mergeData$t(existingData, newData) {
|
|
62592
62595
|
return {
|
|
62593
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62596
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62594
62597
|
};
|
|
62595
62598
|
}
|
|
62596
62599
|
function ingest$v(astNode, state) {
|
|
@@ -62743,7 +62746,7 @@ function keyBuilder$x(luvio, path, data) {
|
|
|
62743
62746
|
// }
|
|
62744
62747
|
function mergeData$s(existingData, newData) {
|
|
62745
62748
|
return {
|
|
62746
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62749
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62747
62750
|
};
|
|
62748
62751
|
}
|
|
62749
62752
|
function ingest$u(astNode, state) {
|
|
@@ -62896,7 +62899,7 @@ function keyBuilder$w(luvio, path, data) {
|
|
|
62896
62899
|
// }
|
|
62897
62900
|
function mergeData$r(existingData, newData) {
|
|
62898
62901
|
return {
|
|
62899
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62902
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62900
62903
|
};
|
|
62901
62904
|
}
|
|
62902
62905
|
function ingest$t(astNode, state) {
|
|
@@ -63049,7 +63052,7 @@ function keyBuilder$v(luvio, path, data) {
|
|
|
63049
63052
|
// }
|
|
63050
63053
|
function mergeData$q(existingData, newData) {
|
|
63051
63054
|
return {
|
|
63052
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63055
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63053
63056
|
};
|
|
63054
63057
|
}
|
|
63055
63058
|
function ingest$s(astNode, state) {
|
|
@@ -63202,7 +63205,7 @@ function keyBuilder$u(luvio, path, data) {
|
|
|
63202
63205
|
// }
|
|
63203
63206
|
function mergeData$p(existingData, newData) {
|
|
63204
63207
|
return {
|
|
63205
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63208
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63206
63209
|
};
|
|
63207
63210
|
}
|
|
63208
63211
|
function ingest$r(astNode, state) {
|
|
@@ -63361,7 +63364,7 @@ function keyBuilder$t(luvio, path, data) {
|
|
|
63361
63364
|
// }
|
|
63362
63365
|
function mergeData$o(existingData, newData) {
|
|
63363
63366
|
return {
|
|
63364
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63367
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63365
63368
|
};
|
|
63366
63369
|
}
|
|
63367
63370
|
function ingest$q(astNode, state) {
|
|
@@ -63514,7 +63517,7 @@ function keyBuilder$s(luvio, path, data) {
|
|
|
63514
63517
|
// }
|
|
63515
63518
|
function mergeData$n(existingData, newData) {
|
|
63516
63519
|
return {
|
|
63517
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63520
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63518
63521
|
};
|
|
63519
63522
|
}
|
|
63520
63523
|
function ingest$p(astNode, state) {
|
|
@@ -63667,7 +63670,7 @@ function keyBuilder$r(luvio, path, data) {
|
|
|
63667
63670
|
// }
|
|
63668
63671
|
function mergeData$m(existingData, newData) {
|
|
63669
63672
|
return {
|
|
63670
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63673
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63671
63674
|
};
|
|
63672
63675
|
}
|
|
63673
63676
|
function ingest$o(astNode, state) {
|
|
@@ -63826,7 +63829,7 @@ function keyBuilder$q(luvio, path, data) {
|
|
|
63826
63829
|
// }
|
|
63827
63830
|
function mergeData$l(existingData, newData) {
|
|
63828
63831
|
return {
|
|
63829
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63832
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63830
63833
|
};
|
|
63831
63834
|
}
|
|
63832
63835
|
function ingest$n(astNode, state) {
|
|
@@ -63985,7 +63988,7 @@ function keyBuilder$p(luvio, path, data) {
|
|
|
63985
63988
|
// }
|
|
63986
63989
|
function mergeData$k(existingData, newData) {
|
|
63987
63990
|
return {
|
|
63988
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63991
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63989
63992
|
};
|
|
63990
63993
|
}
|
|
63991
63994
|
function ingest$m(astNode, state) {
|
|
@@ -64138,7 +64141,7 @@ function keyBuilder$o(luvio, path, data) {
|
|
|
64138
64141
|
// }
|
|
64139
64142
|
function mergeData$j(existingData, newData) {
|
|
64140
64143
|
return {
|
|
64141
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
64144
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
64142
64145
|
};
|
|
64143
64146
|
}
|
|
64144
64147
|
function ingest$l(astNode, state) {
|
|
@@ -65150,7 +65153,7 @@ function keyBuilder$m(luvio, path, data) {
|
|
|
65150
65153
|
// }
|
|
65151
65154
|
function mergeData$i(existingData, newData) {
|
|
65152
65155
|
return {
|
|
65153
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
65156
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
65154
65157
|
};
|
|
65155
65158
|
}
|
|
65156
65159
|
function ingest$j(astNode, state) {
|
|
@@ -65373,8 +65376,8 @@ function keyBuilder$l(luvio, path, data) {
|
|
|
65373
65376
|
}
|
|
65374
65377
|
function mergeData$h(existingData, newData) {
|
|
65375
65378
|
return {
|
|
65376
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
65377
|
-
__link: ObjectAssign(existingData["__link"] || {}, newData["__link"] || {}),
|
|
65379
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
65380
|
+
__link: ObjectAssign({}, existingData["__link"] || {}, newData["__link"] || {}),
|
|
65378
65381
|
};
|
|
65379
65382
|
}
|
|
65380
65383
|
function ingest$i(astNode, state) {
|
|
@@ -66378,7 +66381,7 @@ function keyBuilder$k(luvio, path, data) {
|
|
|
66378
66381
|
// }
|
|
66379
66382
|
function mergeData$g(existingData, newData) {
|
|
66380
66383
|
return {
|
|
66381
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
66384
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
66382
66385
|
};
|
|
66383
66386
|
}
|
|
66384
66387
|
function ingest$h(astNode, state) {
|
|
@@ -66581,7 +66584,7 @@ function keyBuilder$j(luvio, path, data) {
|
|
|
66581
66584
|
// }
|
|
66582
66585
|
function mergeData$f(existingData, newData) {
|
|
66583
66586
|
return {
|
|
66584
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
66587
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
66585
66588
|
};
|
|
66586
66589
|
}
|
|
66587
66590
|
function ingestPaginationMetadata(astNode, state, key, sink, existingData) {
|
|
@@ -66847,7 +66850,7 @@ function keyBuilder$i(luvio, path, data) {
|
|
|
66847
66850
|
// }
|
|
66848
66851
|
function mergeData$e(existingData, newData) {
|
|
66849
66852
|
return {
|
|
66850
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
66853
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
66851
66854
|
};
|
|
66852
66855
|
}
|
|
66853
66856
|
function ingest$f(astNode, state) {
|
|
@@ -67025,7 +67028,7 @@ function keyBuilder$h(luvio, path, data) {
|
|
|
67025
67028
|
// }
|
|
67026
67029
|
function mergeData$d(existingData, newData) {
|
|
67027
67030
|
return {
|
|
67028
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
67031
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
67029
67032
|
};
|
|
67030
67033
|
}
|
|
67031
67034
|
function ingest$e(astNode, state) {
|
|
@@ -67251,7 +67254,7 @@ function keyBuilder$g(luvio, path, data) {
|
|
|
67251
67254
|
// }
|
|
67252
67255
|
function mergeData$c(existingData, newData) {
|
|
67253
67256
|
return {
|
|
67254
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
67257
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
67255
67258
|
};
|
|
67256
67259
|
}
|
|
67257
67260
|
function ingest$d(astNode, state) {
|
|
@@ -67408,7 +67411,7 @@ function keyBuilder$f(luvio, path, data) {
|
|
|
67408
67411
|
// }
|
|
67409
67412
|
function mergeData$b(existingData, newData) {
|
|
67410
67413
|
return {
|
|
67411
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
67414
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
67412
67415
|
};
|
|
67413
67416
|
}
|
|
67414
67417
|
function ingest$c(astNode, state) {
|
|
@@ -67579,7 +67582,7 @@ function keyBuilder$e(luvio, path, data) {
|
|
|
67579
67582
|
// }
|
|
67580
67583
|
function mergeData$a(existingData, newData) {
|
|
67581
67584
|
return {
|
|
67582
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
67585
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
67583
67586
|
};
|
|
67584
67587
|
}
|
|
67585
67588
|
function ingest$b(astNode, state) {
|
|
@@ -67787,7 +67790,7 @@ function keyBuilder$d(luvio, path, data) {
|
|
|
67787
67790
|
// }
|
|
67788
67791
|
function mergeData$9(existingData, newData) {
|
|
67789
67792
|
return {
|
|
67790
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
67793
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
67791
67794
|
};
|
|
67792
67795
|
}
|
|
67793
67796
|
function ingest$a(astNode, state) {
|
|
@@ -68217,7 +68220,7 @@ function keyBuilder$c(luvio, path, data) {
|
|
|
68217
68220
|
// }
|
|
68218
68221
|
function mergeData$8(existingData, newData) {
|
|
68219
68222
|
return {
|
|
68220
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
68223
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
68221
68224
|
};
|
|
68222
68225
|
}
|
|
68223
68226
|
function ingest$9(astNode, state) {
|
|
@@ -68408,7 +68411,7 @@ function keyBuilder$b(luvio, path, data) {
|
|
|
68408
68411
|
// }
|
|
68409
68412
|
function mergeData$7(existingData, newData) {
|
|
68410
68413
|
return {
|
|
68411
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
68414
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
68412
68415
|
};
|
|
68413
68416
|
}
|
|
68414
68417
|
function ingest$8(astNode, state) {
|
|
@@ -68566,7 +68569,7 @@ function keyBuilder$a(luvio, path, data) {
|
|
|
68566
68569
|
// }
|
|
68567
68570
|
function mergeData$6(existingData, newData) {
|
|
68568
68571
|
return {
|
|
68569
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
68572
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
68570
68573
|
};
|
|
68571
68574
|
}
|
|
68572
68575
|
function ingest$7(astNode, state) {
|
|
@@ -69028,7 +69031,7 @@ function keyBuilder$9(luvio, path, data) {
|
|
|
69028
69031
|
// }
|
|
69029
69032
|
function mergeData$5(existingData, newData) {
|
|
69030
69033
|
return {
|
|
69031
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
69034
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
69032
69035
|
};
|
|
69033
69036
|
}
|
|
69034
69037
|
function ingest$6(astNode, state) {
|
|
@@ -69205,7 +69208,7 @@ function keyBuilder$8(luvio, path, data) {
|
|
|
69205
69208
|
// }
|
|
69206
69209
|
function mergeData$4(existingData, newData) {
|
|
69207
69210
|
return {
|
|
69208
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
69211
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
69209
69212
|
};
|
|
69210
69213
|
}
|
|
69211
69214
|
function ingest$5(astNode, state) {
|
|
@@ -69371,7 +69374,7 @@ function keyBuilder$7(luvio, path, data) {
|
|
|
69371
69374
|
// }
|
|
69372
69375
|
function mergeData$3(existingData, newData) {
|
|
69373
69376
|
return {
|
|
69374
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
69377
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
69375
69378
|
};
|
|
69376
69379
|
}
|
|
69377
69380
|
function ingest$4(astNode, state) {
|
|
@@ -69641,7 +69644,7 @@ function keyBuilder$6(luvio, path, data) {
|
|
|
69641
69644
|
// }
|
|
69642
69645
|
function mergeData$2(existingData, newData) {
|
|
69643
69646
|
return {
|
|
69644
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
69647
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
69645
69648
|
};
|
|
69646
69649
|
}
|
|
69647
69650
|
function ingest$3(astNode, state) {
|
|
@@ -69913,7 +69916,7 @@ function keyBuilder$5(luvio, path, data) {
|
|
|
69913
69916
|
// }
|
|
69914
69917
|
function mergeData$1(existingData, newData) {
|
|
69915
69918
|
return {
|
|
69916
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
69919
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
69917
69920
|
};
|
|
69918
69921
|
}
|
|
69919
69922
|
function ingest$2(astNode, state) {
|
|
@@ -70098,7 +70101,7 @@ function keyBuilder$4(luvio, path, data) {
|
|
|
70098
70101
|
// }
|
|
70099
70102
|
function mergeData(existingData, newData) {
|
|
70100
70103
|
return {
|
|
70101
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
70104
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
70102
70105
|
};
|
|
70103
70106
|
}
|
|
70104
70107
|
function ingest$1(astNode, state) {
|
|
@@ -74350,7 +74353,7 @@ register({
|
|
|
74350
74353
|
configuration: { ...configurationForGraphQLAdapters },
|
|
74351
74354
|
instrument,
|
|
74352
74355
|
});
|
|
74353
|
-
// version: 1.133.
|
|
74356
|
+
// version: 1.133.2-56a001840
|
|
74354
74357
|
|
|
74355
74358
|
// On core the unstable adapters are re-exported with different names,
|
|
74356
74359
|
|
|
@@ -76479,7 +76482,7 @@ withDefaultLuvio((luvio) => {
|
|
|
76479
76482
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
76480
76483
|
graphQLImperative = ldsAdapter;
|
|
76481
76484
|
});
|
|
76482
|
-
// version: 1.133.
|
|
76485
|
+
// version: 1.133.2-56a001840
|
|
76483
76486
|
|
|
76484
76487
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
76485
76488
|
__proto__: null,
|
|
@@ -77171,4 +77174,4 @@ const { luvio } = getRuntime();
|
|
|
77171
77174
|
setDefaultLuvio({ luvio });
|
|
77172
77175
|
|
|
77173
77176
|
export { createPrimingSession, draftManager, draftQueue, executeAdapter, executeMutatingAdapter, getImperativeAdapterNames, invokeAdapter, invokeAdapterWithDraftToReplace, invokeAdapterWithMetadata, nimbusDraftQueue, registerReportObserver, setMetadataTTL, setUiApiRecordTTL, subscribeToAdapter };
|
|
77174
|
-
// version: 1.133.
|
|
77177
|
+
// version: 1.133.2-0c6b84e3c
|