@salesforce/lds-worker-api 1.132.0 → 1.133.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.
|
@@ -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.
|
|
764
|
+
// version: 1.133.1-636752773
|
|
@@ -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.
|
|
3794
|
+
// version: 1.133.1-636752773
|
|
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.
|
|
15218
|
+
// version: 1.133.1-636752773
|
|
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.
|
|
16131
|
+
// version: 1.133.1-636752773
|
|
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
|
|
|
@@ -44413,7 +44428,7 @@ withDefaultLuvio((luvio) => {
|
|
|
44413
44428
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44414
44429
|
});
|
|
44415
44430
|
});
|
|
44416
|
-
// version: 1.
|
|
44431
|
+
// version: 1.133.1-8632ab1ba
|
|
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.
|
|
60048
|
+
// version: 1.133.1-636752773
|
|
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.
|
|
74356
|
+
// version: 1.133.1-8632ab1ba
|
|
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.
|
|
76485
|
+
// version: 1.133.1-8632ab1ba
|
|
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.
|
|
77177
|
+
// version: 1.133.1-636752773
|
|
@@ -606,9 +606,8 @@
|
|
|
606
606
|
}
|
|
607
607
|
return results;
|
|
608
608
|
}
|
|
609
|
-
|
|
609
|
+
put(recordId, record) {
|
|
610
610
|
const { records, insertedIds, pendingTrimKeys, retainedIds } = this;
|
|
611
|
-
// make sure we publish to the canonical record id in case it's been redirected
|
|
612
611
|
const canonicalKey = this.getCanonicalRecordId(recordId);
|
|
613
612
|
if (hasOwnProperty$3.call(records, canonicalKey) === false) {
|
|
614
613
|
insertedIds[canonicalKey] = true;
|
|
@@ -621,6 +620,11 @@
|
|
|
621
620
|
if (retainedIds[canonicalKey] === undefined) {
|
|
622
621
|
pendingTrimKeys.add(canonicalKey);
|
|
623
622
|
}
|
|
623
|
+
}
|
|
624
|
+
publish(recordId, record) {
|
|
625
|
+
// make sure we publish to the canonical record id in case it's been redirected
|
|
626
|
+
const canonicalKey = this.getCanonicalRecordId(recordId);
|
|
627
|
+
this.put(canonicalKey, record);
|
|
624
628
|
this.markVisited(canonicalKey);
|
|
625
629
|
// TODO: Emit event for store publish once structured keys are used everywhere.
|
|
626
630
|
}
|
|
@@ -829,14 +833,7 @@
|
|
|
829
833
|
// find and evict the canonical key
|
|
830
834
|
const canonicalKey = this.getCanonicalRecordId(key);
|
|
831
835
|
delete this.records[canonicalKey];
|
|
832
|
-
this.
|
|
833
|
-
// mark all redirects leading up to the canonical key as visited so
|
|
834
|
-
// affected snapshots are updated
|
|
835
|
-
let redirectKey = this.reverseRedirectKeys[canonicalKey];
|
|
836
|
-
while (redirectKey !== undefined) {
|
|
837
|
-
this.visitedIds[redirectKey] = true;
|
|
838
|
-
redirectKey = this.reverseRedirectKeys[redirectKey];
|
|
839
|
-
}
|
|
836
|
+
this.markVisited(canonicalKey);
|
|
840
837
|
}
|
|
841
838
|
/**
|
|
842
839
|
* Deallocates data at the canonical key location for in-memory (L1) cache
|
|
@@ -1214,9 +1211,9 @@
|
|
|
1214
1211
|
}
|
|
1215
1212
|
return results;
|
|
1216
1213
|
}
|
|
1217
|
-
|
|
1214
|
+
put(recordId, record) {
|
|
1218
1215
|
if (typeof recordId === 'string') {
|
|
1219
|
-
this.fallbackStringKeyInMemoryStore.
|
|
1216
|
+
this.fallbackStringKeyInMemoryStore.put(recordId, record);
|
|
1220
1217
|
return;
|
|
1221
1218
|
}
|
|
1222
1219
|
const { recordsMap, insertedIdsSet, pendingTrims, retainedIdsMap } = this;
|
|
@@ -1233,6 +1230,14 @@
|
|
|
1233
1230
|
if (retainedIdsMap.get(canonicalKey) === undefined) {
|
|
1234
1231
|
pendingTrims.add(canonicalKey);
|
|
1235
1232
|
}
|
|
1233
|
+
}
|
|
1234
|
+
publish(recordId, record) {
|
|
1235
|
+
if (typeof recordId === 'string') {
|
|
1236
|
+
this.fallbackStringKeyInMemoryStore.publish(recordId, record);
|
|
1237
|
+
return;
|
|
1238
|
+
}
|
|
1239
|
+
const canonicalKey = this.getCanonicalRecordId(recordId);
|
|
1240
|
+
this.put(canonicalKey, record);
|
|
1236
1241
|
this.markVisited(canonicalKey);
|
|
1237
1242
|
this.emitStorePublishEvent(recordId);
|
|
1238
1243
|
}
|
|
@@ -1469,14 +1474,7 @@
|
|
|
1469
1474
|
// find and evict the canonical key
|
|
1470
1475
|
const canonicalKey = this.getCanonicalRecordId(key);
|
|
1471
1476
|
this.recordsMap.delete(canonicalKey);
|
|
1472
|
-
this.
|
|
1473
|
-
// mark all redirects leading up to the canonical key as visited so
|
|
1474
|
-
// affected snapshots are updated
|
|
1475
|
-
let redirectKey = this.reverseRedirectKeysMap.get(canonicalKey);
|
|
1476
|
-
while (redirectKey !== undefined) {
|
|
1477
|
-
this.visitedIdsSet.add(redirectKey);
|
|
1478
|
-
redirectKey = this.reverseRedirectKeysMap.get(redirectKey);
|
|
1479
|
-
}
|
|
1477
|
+
this.markVisited(canonicalKey);
|
|
1480
1478
|
}
|
|
1481
1479
|
/**
|
|
1482
1480
|
* Deallocates data at the canonical key location for in-memory (L1) cache
|
|
@@ -2662,6 +2660,9 @@
|
|
|
2662
2660
|
}
|
|
2663
2661
|
const array = record[propertyName];
|
|
2664
2662
|
if (array === undefined) {
|
|
2663
|
+
if (selection.required === false) {
|
|
2664
|
+
return;
|
|
2665
|
+
}
|
|
2665
2666
|
return this.markMissing();
|
|
2666
2667
|
}
|
|
2667
2668
|
const sink = (data[propertyName] = []);
|
|
@@ -2786,6 +2787,9 @@
|
|
|
2786
2787
|
}
|
|
2787
2788
|
const array = record[propertyName];
|
|
2788
2789
|
if (array === undefined) {
|
|
2790
|
+
if (selection.required === false) {
|
|
2791
|
+
return;
|
|
2792
|
+
}
|
|
2789
2793
|
return this.markMissing();
|
|
2790
2794
|
}
|
|
2791
2795
|
const sink = (data[propertyName] = []);
|
|
@@ -2834,8 +2838,14 @@
|
|
|
2834
2838
|
}
|
|
2835
2839
|
freeze$4(sink);
|
|
2836
2840
|
}
|
|
2837
|
-
readScalarPlural(propertyName, record, data) {
|
|
2841
|
+
readScalarPlural(propertyName, record, data, required) {
|
|
2838
2842
|
const array = record[propertyName];
|
|
2843
|
+
if (array === undefined) {
|
|
2844
|
+
if (required === false) {
|
|
2845
|
+
return;
|
|
2846
|
+
}
|
|
2847
|
+
return this.markMissing();
|
|
2848
|
+
}
|
|
2839
2849
|
const sink = (data[propertyName] = []);
|
|
2840
2850
|
// If the current snapshot is already know to be different from
|
|
2841
2851
|
// previous snapshot, we can fast track and just copy the array
|
|
@@ -2944,7 +2954,7 @@
|
|
|
2944
2954
|
this.readScalarMap(key, record, data, selection.required !== false);
|
|
2945
2955
|
}
|
|
2946
2956
|
else if (selection.plural === true) {
|
|
2947
|
-
this.readScalarPlural(key, record, data);
|
|
2957
|
+
this.readScalarPlural(key, record, data, selection.required !== false);
|
|
2948
2958
|
}
|
|
2949
2959
|
else {
|
|
2950
2960
|
this.readScalar(key, record, data, selection.required);
|
|
@@ -3172,9 +3182,14 @@
|
|
|
3172
3182
|
// since broadcast only deals with cached recordIds
|
|
3173
3183
|
this.store.broadcastNonCachedSnapshot(key, errorSnapshot);
|
|
3174
3184
|
}
|
|
3185
|
+
// Adds the given data to the store at the given key and marks the key as visited. Will cause subscribers to rebuild.
|
|
3175
3186
|
storePublish(key, data) {
|
|
3176
3187
|
this.store.publish(key, data);
|
|
3177
3188
|
}
|
|
3189
|
+
// 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.
|
|
3190
|
+
storePut(key, data) {
|
|
3191
|
+
this.store.put(key, data);
|
|
3192
|
+
}
|
|
3178
3193
|
storeRedirect(existingKey, redirectKey) {
|
|
3179
3194
|
this.store.redirect(existingKey, redirectKey);
|
|
3180
3195
|
}
|
|
@@ -3655,7 +3670,7 @@
|
|
|
3655
3670
|
return this.environment.buildStructuredKey(namespace, representationName, idValues);
|
|
3656
3671
|
}
|
|
3657
3672
|
}
|
|
3658
|
-
// engine version: 0.138.
|
|
3673
|
+
// engine version: 0.138.13-8fa39cd3
|
|
3659
3674
|
|
|
3660
3675
|
/**
|
|
3661
3676
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -3782,7 +3797,7 @@
|
|
|
3782
3797
|
}
|
|
3783
3798
|
callbacks.push(callback);
|
|
3784
3799
|
}
|
|
3785
|
-
// version: 1.
|
|
3800
|
+
// version: 1.133.1-636752773
|
|
3786
3801
|
|
|
3787
3802
|
// TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
|
|
3788
3803
|
function instrumentAdapter$1(createFunction, _metadata) {
|
|
@@ -15206,7 +15221,7 @@
|
|
|
15206
15221
|
updateReferenceMapWithKnownKey(ast, luvioDocumentNode);
|
|
15207
15222
|
return luvioDocumentNode;
|
|
15208
15223
|
}
|
|
15209
|
-
// version: 1.
|
|
15224
|
+
// version: 1.133.1-636752773
|
|
15210
15225
|
|
|
15211
15226
|
function unwrap(data) {
|
|
15212
15227
|
// The lwc-luvio bindings import a function from lwc called "unwrap".
|
|
@@ -16119,7 +16134,7 @@
|
|
|
16119
16134
|
const { apiFamily, name } = metadata;
|
|
16120
16135
|
return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
|
|
16121
16136
|
}
|
|
16122
|
-
// version: 1.
|
|
16137
|
+
// version: 1.133.1-636752773
|
|
16123
16138
|
|
|
16124
16139
|
/**
|
|
16125
16140
|
* Copyright (c) 2022, Salesforce, Inc.,
|
|
@@ -16202,7 +16217,7 @@
|
|
|
16202
16217
|
({
|
|
16203
16218
|
state: FragmentReadResultState.Missing,
|
|
16204
16219
|
});
|
|
16205
|
-
// engine version: 0.138.
|
|
16220
|
+
// engine version: 0.138.13-8fa39cd3
|
|
16206
16221
|
|
|
16207
16222
|
const { keys: ObjectKeys$3, freeze: ObjectFreeze$3, create: ObjectCreate$3 } = Object;
|
|
16208
16223
|
|
|
@@ -44419,7 +44434,7 @@
|
|
|
44419
44434
|
dropFunction: instrumentation$2.notifyRecordUpdateAvailableDropped,
|
|
44420
44435
|
});
|
|
44421
44436
|
});
|
|
44422
|
-
// version: 1.
|
|
44437
|
+
// version: 1.133.1-8632ab1ba
|
|
44423
44438
|
|
|
44424
44439
|
var caseSensitiveUserId = '005B0000000GR4OIAW';
|
|
44425
44440
|
|
|
@@ -45024,7 +45039,7 @@
|
|
|
45024
45039
|
* @param pendingWriter the PendingWriter (this is going away soon)
|
|
45025
45040
|
* @returns
|
|
45026
45041
|
*/
|
|
45027
|
-
function publishDurableStoreEntries(durableRecords,
|
|
45042
|
+
function publishDurableStoreEntries(durableRecords, put, publishMetadata) {
|
|
45028
45043
|
const revivedKeys = new StoreKeySet();
|
|
45029
45044
|
let hadUnexpectedShape = false;
|
|
45030
45045
|
if (durableRecords === undefined) {
|
|
@@ -45062,7 +45077,7 @@
|
|
|
45062
45077
|
// freeze errors on way into L1
|
|
45063
45078
|
deepFreeze$2(data.error);
|
|
45064
45079
|
}
|
|
45065
|
-
|
|
45080
|
+
put(key, data);
|
|
45066
45081
|
revivedKeys.add(key);
|
|
45067
45082
|
}
|
|
45068
45083
|
return { revivedKeys, hadUnexpectedShape };
|
|
@@ -45102,7 +45117,7 @@
|
|
|
45102
45117
|
// TODO [W-10072584]: instead of implicitly using L1 we should take in
|
|
45103
45118
|
// publish and publishMetadata funcs, so callers can decide where to
|
|
45104
45119
|
// revive to (like they pass in how to do the buildL1Snapshot)
|
|
45105
|
-
baseEnvironment.
|
|
45120
|
+
baseEnvironment.storePut.bind(baseEnvironment), baseEnvironment.publishStoreMetadata.bind(baseEnvironment));
|
|
45106
45121
|
// if the data coming back from DS had an unexpected shape then just
|
|
45107
45122
|
// return the L1 snapshot
|
|
45108
45123
|
if (hadUnexpectedShape === true) {
|
|
@@ -45225,16 +45240,6 @@
|
|
|
45225
45240
|
}
|
|
45226
45241
|
}
|
|
45227
45242
|
|
|
45228
|
-
function copy(source) {
|
|
45229
|
-
if (typeof source !== 'object' || source === null) {
|
|
45230
|
-
return source;
|
|
45231
|
-
}
|
|
45232
|
-
if (isArray$5(source)) {
|
|
45233
|
-
// TS doesn't trust that this new array is an array unless we cast it
|
|
45234
|
-
return [...source];
|
|
45235
|
-
}
|
|
45236
|
-
return { ...source };
|
|
45237
|
-
}
|
|
45238
45243
|
function flushInMemoryStoreValuesToDurableStore(store, durableStore, durableStoreErrorHandler) {
|
|
45239
45244
|
const durableRecords = create$5(null);
|
|
45240
45245
|
const evictedRecords = create$5(null);
|
|
@@ -45253,9 +45258,7 @@
|
|
|
45253
45258
|
}
|
|
45254
45259
|
const metadata = storeMetadata[key];
|
|
45255
45260
|
durableRecords[key] = {
|
|
45256
|
-
|
|
45257
|
-
// async setEntries call
|
|
45258
|
-
data: copy(record),
|
|
45261
|
+
data: record,
|
|
45259
45262
|
};
|
|
45260
45263
|
if (metadata !== undefined) {
|
|
45261
45264
|
durableRecords[key].metadata = {
|
|
@@ -45376,7 +45379,7 @@
|
|
|
45376
45379
|
function makeDurable(environment, { durableStore, instrumentation }) {
|
|
45377
45380
|
let ingestStagingStore = null;
|
|
45378
45381
|
const durableTTLStore = new DurableTTLStore(durableStore);
|
|
45379
|
-
const mergeKeysPromiseMap = new
|
|
45382
|
+
const mergeKeysPromiseMap = new Map();
|
|
45380
45383
|
// When a context store is mutated we write it to L2, which causes DS on change
|
|
45381
45384
|
// event. If this instance of makeDurable caused that L2 write we can ignore that
|
|
45382
45385
|
// on change event. This Set helps us do that.
|
|
@@ -60048,7 +60051,7 @@
|
|
|
60048
60051
|
id: '@salesforce/lds-network-adapter',
|
|
60049
60052
|
instrument: instrument$1,
|
|
60050
60053
|
});
|
|
60051
|
-
// version: 1.
|
|
60054
|
+
// version: 1.133.1-636752773
|
|
60052
60055
|
|
|
60053
60056
|
const { create: create$2, keys: keys$2 } = Object;
|
|
60054
60057
|
const { stringify: stringify$1, parse: parse$1 } = JSON;
|
|
@@ -60409,7 +60412,7 @@
|
|
|
60409
60412
|
// }
|
|
60410
60413
|
function mergeData$G(existingData, newData) {
|
|
60411
60414
|
return {
|
|
60412
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
60415
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
60413
60416
|
};
|
|
60414
60417
|
}
|
|
60415
60418
|
function ingest$I(astNode, state) {
|
|
@@ -60568,7 +60571,7 @@
|
|
|
60568
60571
|
// }
|
|
60569
60572
|
function mergeData$F(existingData, newData) {
|
|
60570
60573
|
return {
|
|
60571
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
60574
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
60572
60575
|
};
|
|
60573
60576
|
}
|
|
60574
60577
|
function ingest$H(astNode, state) {
|
|
@@ -60727,7 +60730,7 @@
|
|
|
60727
60730
|
// }
|
|
60728
60731
|
function mergeData$E(existingData, newData) {
|
|
60729
60732
|
return {
|
|
60730
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
60733
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
60731
60734
|
};
|
|
60732
60735
|
}
|
|
60733
60736
|
function ingest$G(astNode, state) {
|
|
@@ -60968,7 +60971,7 @@
|
|
|
60968
60971
|
// }
|
|
60969
60972
|
function mergeData$D(existingData, newData) {
|
|
60970
60973
|
return {
|
|
60971
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
60974
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
60972
60975
|
};
|
|
60973
60976
|
}
|
|
60974
60977
|
function ingest$F(astNode, state) {
|
|
@@ -61127,7 +61130,7 @@
|
|
|
61127
61130
|
// }
|
|
61128
61131
|
function mergeData$C(existingData, newData) {
|
|
61129
61132
|
return {
|
|
61130
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61133
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61131
61134
|
};
|
|
61132
61135
|
}
|
|
61133
61136
|
function ingest$E(astNode, state) {
|
|
@@ -61354,7 +61357,7 @@
|
|
|
61354
61357
|
// }
|
|
61355
61358
|
function mergeData$B(existingData, newData) {
|
|
61356
61359
|
return {
|
|
61357
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61360
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61358
61361
|
};
|
|
61359
61362
|
}
|
|
61360
61363
|
function ingest$D(astNode, state) {
|
|
@@ -61507,7 +61510,7 @@
|
|
|
61507
61510
|
// }
|
|
61508
61511
|
function mergeData$A(existingData, newData) {
|
|
61509
61512
|
return {
|
|
61510
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61513
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61511
61514
|
};
|
|
61512
61515
|
}
|
|
61513
61516
|
function ingest$C(astNode, state) {
|
|
@@ -61666,7 +61669,7 @@
|
|
|
61666
61669
|
// }
|
|
61667
61670
|
function mergeData$z(existingData, newData) {
|
|
61668
61671
|
return {
|
|
61669
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61672
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61670
61673
|
};
|
|
61671
61674
|
}
|
|
61672
61675
|
function ingest$B(astNode, state) {
|
|
@@ -61819,7 +61822,7 @@
|
|
|
61819
61822
|
// }
|
|
61820
61823
|
function mergeData$y(existingData, newData) {
|
|
61821
61824
|
return {
|
|
61822
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61825
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61823
61826
|
};
|
|
61824
61827
|
}
|
|
61825
61828
|
function ingest$A(astNode, state) {
|
|
@@ -61978,7 +61981,7 @@
|
|
|
61978
61981
|
// }
|
|
61979
61982
|
function mergeData$x(existingData, newData) {
|
|
61980
61983
|
return {
|
|
61981
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
61984
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
61982
61985
|
};
|
|
61983
61986
|
}
|
|
61984
61987
|
function ingest$z(astNode, state) {
|
|
@@ -62137,7 +62140,7 @@
|
|
|
62137
62140
|
// }
|
|
62138
62141
|
function mergeData$w(existingData, newData) {
|
|
62139
62142
|
return {
|
|
62140
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62143
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62141
62144
|
};
|
|
62142
62145
|
}
|
|
62143
62146
|
function ingest$y(astNode, state) {
|
|
@@ -62290,7 +62293,7 @@
|
|
|
62290
62293
|
// }
|
|
62291
62294
|
function mergeData$v(existingData, newData) {
|
|
62292
62295
|
return {
|
|
62293
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62296
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62294
62297
|
};
|
|
62295
62298
|
}
|
|
62296
62299
|
function ingest$x(astNode, state) {
|
|
@@ -62443,7 +62446,7 @@
|
|
|
62443
62446
|
// }
|
|
62444
62447
|
function mergeData$u(existingData, newData) {
|
|
62445
62448
|
return {
|
|
62446
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62449
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62447
62450
|
};
|
|
62448
62451
|
}
|
|
62449
62452
|
function ingest$w(astNode, state) {
|
|
@@ -62596,7 +62599,7 @@
|
|
|
62596
62599
|
// }
|
|
62597
62600
|
function mergeData$t(existingData, newData) {
|
|
62598
62601
|
return {
|
|
62599
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62602
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62600
62603
|
};
|
|
62601
62604
|
}
|
|
62602
62605
|
function ingest$v(astNode, state) {
|
|
@@ -62749,7 +62752,7 @@
|
|
|
62749
62752
|
// }
|
|
62750
62753
|
function mergeData$s(existingData, newData) {
|
|
62751
62754
|
return {
|
|
62752
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62755
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62753
62756
|
};
|
|
62754
62757
|
}
|
|
62755
62758
|
function ingest$u(astNode, state) {
|
|
@@ -62902,7 +62905,7 @@
|
|
|
62902
62905
|
// }
|
|
62903
62906
|
function mergeData$r(existingData, newData) {
|
|
62904
62907
|
return {
|
|
62905
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
62908
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
62906
62909
|
};
|
|
62907
62910
|
}
|
|
62908
62911
|
function ingest$t(astNode, state) {
|
|
@@ -63055,7 +63058,7 @@
|
|
|
63055
63058
|
// }
|
|
63056
63059
|
function mergeData$q(existingData, newData) {
|
|
63057
63060
|
return {
|
|
63058
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63061
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63059
63062
|
};
|
|
63060
63063
|
}
|
|
63061
63064
|
function ingest$s(astNode, state) {
|
|
@@ -63208,7 +63211,7 @@
|
|
|
63208
63211
|
// }
|
|
63209
63212
|
function mergeData$p(existingData, newData) {
|
|
63210
63213
|
return {
|
|
63211
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63214
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63212
63215
|
};
|
|
63213
63216
|
}
|
|
63214
63217
|
function ingest$r(astNode, state) {
|
|
@@ -63367,7 +63370,7 @@
|
|
|
63367
63370
|
// }
|
|
63368
63371
|
function mergeData$o(existingData, newData) {
|
|
63369
63372
|
return {
|
|
63370
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63373
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63371
63374
|
};
|
|
63372
63375
|
}
|
|
63373
63376
|
function ingest$q(astNode, state) {
|
|
@@ -63520,7 +63523,7 @@
|
|
|
63520
63523
|
// }
|
|
63521
63524
|
function mergeData$n(existingData, newData) {
|
|
63522
63525
|
return {
|
|
63523
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63526
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63524
63527
|
};
|
|
63525
63528
|
}
|
|
63526
63529
|
function ingest$p(astNode, state) {
|
|
@@ -63673,7 +63676,7 @@
|
|
|
63673
63676
|
// }
|
|
63674
63677
|
function mergeData$m(existingData, newData) {
|
|
63675
63678
|
return {
|
|
63676
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63679
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63677
63680
|
};
|
|
63678
63681
|
}
|
|
63679
63682
|
function ingest$o(astNode, state) {
|
|
@@ -63832,7 +63835,7 @@
|
|
|
63832
63835
|
// }
|
|
63833
63836
|
function mergeData$l(existingData, newData) {
|
|
63834
63837
|
return {
|
|
63835
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63838
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63836
63839
|
};
|
|
63837
63840
|
}
|
|
63838
63841
|
function ingest$n(astNode, state) {
|
|
@@ -63991,7 +63994,7 @@
|
|
|
63991
63994
|
// }
|
|
63992
63995
|
function mergeData$k(existingData, newData) {
|
|
63993
63996
|
return {
|
|
63994
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
63997
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
63995
63998
|
};
|
|
63996
63999
|
}
|
|
63997
64000
|
function ingest$m(astNode, state) {
|
|
@@ -64144,7 +64147,7 @@
|
|
|
64144
64147
|
// }
|
|
64145
64148
|
function mergeData$j(existingData, newData) {
|
|
64146
64149
|
return {
|
|
64147
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
64150
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
64148
64151
|
};
|
|
64149
64152
|
}
|
|
64150
64153
|
function ingest$l(astNode, state) {
|
|
@@ -65156,7 +65159,7 @@
|
|
|
65156
65159
|
// }
|
|
65157
65160
|
function mergeData$i(existingData, newData) {
|
|
65158
65161
|
return {
|
|
65159
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
65162
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
65160
65163
|
};
|
|
65161
65164
|
}
|
|
65162
65165
|
function ingest$j(astNode, state) {
|
|
@@ -65379,8 +65382,8 @@
|
|
|
65379
65382
|
}
|
|
65380
65383
|
function mergeData$h(existingData, newData) {
|
|
65381
65384
|
return {
|
|
65382
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
65383
|
-
__link: ObjectAssign(existingData["__link"] || {}, newData["__link"] || {}),
|
|
65385
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
65386
|
+
__link: ObjectAssign({}, existingData["__link"] || {}, newData["__link"] || {}),
|
|
65384
65387
|
};
|
|
65385
65388
|
}
|
|
65386
65389
|
function ingest$i(astNode, state) {
|
|
@@ -66384,7 +66387,7 @@
|
|
|
66384
66387
|
// }
|
|
66385
66388
|
function mergeData$g(existingData, newData) {
|
|
66386
66389
|
return {
|
|
66387
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
66390
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
66388
66391
|
};
|
|
66389
66392
|
}
|
|
66390
66393
|
function ingest$h(astNode, state) {
|
|
@@ -66587,7 +66590,7 @@
|
|
|
66587
66590
|
// }
|
|
66588
66591
|
function mergeData$f(existingData, newData) {
|
|
66589
66592
|
return {
|
|
66590
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
66593
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
66591
66594
|
};
|
|
66592
66595
|
}
|
|
66593
66596
|
function ingestPaginationMetadata(astNode, state, key, sink, existingData) {
|
|
@@ -66853,7 +66856,7 @@
|
|
|
66853
66856
|
// }
|
|
66854
66857
|
function mergeData$e(existingData, newData) {
|
|
66855
66858
|
return {
|
|
66856
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
66859
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
66857
66860
|
};
|
|
66858
66861
|
}
|
|
66859
66862
|
function ingest$f(astNode, state) {
|
|
@@ -67031,7 +67034,7 @@
|
|
|
67031
67034
|
// }
|
|
67032
67035
|
function mergeData$d(existingData, newData) {
|
|
67033
67036
|
return {
|
|
67034
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
67037
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
67035
67038
|
};
|
|
67036
67039
|
}
|
|
67037
67040
|
function ingest$e(astNode, state) {
|
|
@@ -67257,7 +67260,7 @@
|
|
|
67257
67260
|
// }
|
|
67258
67261
|
function mergeData$c(existingData, newData) {
|
|
67259
67262
|
return {
|
|
67260
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
67263
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
67261
67264
|
};
|
|
67262
67265
|
}
|
|
67263
67266
|
function ingest$d(astNode, state) {
|
|
@@ -67414,7 +67417,7 @@
|
|
|
67414
67417
|
// }
|
|
67415
67418
|
function mergeData$b(existingData, newData) {
|
|
67416
67419
|
return {
|
|
67417
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
67420
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
67418
67421
|
};
|
|
67419
67422
|
}
|
|
67420
67423
|
function ingest$c(astNode, state) {
|
|
@@ -67585,7 +67588,7 @@
|
|
|
67585
67588
|
// }
|
|
67586
67589
|
function mergeData$a(existingData, newData) {
|
|
67587
67590
|
return {
|
|
67588
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
67591
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
67589
67592
|
};
|
|
67590
67593
|
}
|
|
67591
67594
|
function ingest$b(astNode, state) {
|
|
@@ -67793,7 +67796,7 @@
|
|
|
67793
67796
|
// }
|
|
67794
67797
|
function mergeData$9(existingData, newData) {
|
|
67795
67798
|
return {
|
|
67796
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
67799
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
67797
67800
|
};
|
|
67798
67801
|
}
|
|
67799
67802
|
function ingest$a(astNode, state) {
|
|
@@ -68223,7 +68226,7 @@
|
|
|
68223
68226
|
// }
|
|
68224
68227
|
function mergeData$8(existingData, newData) {
|
|
68225
68228
|
return {
|
|
68226
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
68229
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
68227
68230
|
};
|
|
68228
68231
|
}
|
|
68229
68232
|
function ingest$9(astNode, state) {
|
|
@@ -68414,7 +68417,7 @@
|
|
|
68414
68417
|
// }
|
|
68415
68418
|
function mergeData$7(existingData, newData) {
|
|
68416
68419
|
return {
|
|
68417
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
68420
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
68418
68421
|
};
|
|
68419
68422
|
}
|
|
68420
68423
|
function ingest$8(astNode, state) {
|
|
@@ -68572,7 +68575,7 @@
|
|
|
68572
68575
|
// }
|
|
68573
68576
|
function mergeData$6(existingData, newData) {
|
|
68574
68577
|
return {
|
|
68575
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
68578
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
68576
68579
|
};
|
|
68577
68580
|
}
|
|
68578
68581
|
function ingest$7(astNode, state) {
|
|
@@ -69034,7 +69037,7 @@
|
|
|
69034
69037
|
// }
|
|
69035
69038
|
function mergeData$5(existingData, newData) {
|
|
69036
69039
|
return {
|
|
69037
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
69040
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
69038
69041
|
};
|
|
69039
69042
|
}
|
|
69040
69043
|
function ingest$6(astNode, state) {
|
|
@@ -69211,7 +69214,7 @@
|
|
|
69211
69214
|
// }
|
|
69212
69215
|
function mergeData$4(existingData, newData) {
|
|
69213
69216
|
return {
|
|
69214
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
69217
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
69215
69218
|
};
|
|
69216
69219
|
}
|
|
69217
69220
|
function ingest$5(astNode, state) {
|
|
@@ -69377,7 +69380,7 @@
|
|
|
69377
69380
|
// }
|
|
69378
69381
|
function mergeData$3(existingData, newData) {
|
|
69379
69382
|
return {
|
|
69380
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
69383
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
69381
69384
|
};
|
|
69382
69385
|
}
|
|
69383
69386
|
function ingest$4(astNode, state) {
|
|
@@ -69647,7 +69650,7 @@
|
|
|
69647
69650
|
// }
|
|
69648
69651
|
function mergeData$2(existingData, newData) {
|
|
69649
69652
|
return {
|
|
69650
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
69653
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
69651
69654
|
};
|
|
69652
69655
|
}
|
|
69653
69656
|
function ingest$3(astNode, state) {
|
|
@@ -69919,7 +69922,7 @@
|
|
|
69919
69922
|
// }
|
|
69920
69923
|
function mergeData$1(existingData, newData) {
|
|
69921
69924
|
return {
|
|
69922
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
69925
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
69923
69926
|
};
|
|
69924
69927
|
}
|
|
69925
69928
|
function ingest$2(astNode, state) {
|
|
@@ -70104,7 +70107,7 @@
|
|
|
70104
70107
|
// }
|
|
70105
70108
|
function mergeData(existingData, newData) {
|
|
70106
70109
|
return {
|
|
70107
|
-
data: ObjectAssign(existingData["data"], newData["data"]),
|
|
70110
|
+
data: ObjectAssign({}, existingData["data"], newData["data"]),
|
|
70108
70111
|
};
|
|
70109
70112
|
}
|
|
70110
70113
|
function ingest$1(astNode, state) {
|
|
@@ -74356,7 +74359,7 @@
|
|
|
74356
74359
|
configuration: { ...configurationForGraphQLAdapters },
|
|
74357
74360
|
instrument,
|
|
74358
74361
|
});
|
|
74359
|
-
// version: 1.
|
|
74362
|
+
// version: 1.133.1-8632ab1ba
|
|
74360
74363
|
|
|
74361
74364
|
// On core the unstable adapters are re-exported with different names,
|
|
74362
74365
|
|
|
@@ -76485,7 +76488,7 @@
|
|
|
76485
76488
|
unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
|
|
76486
76489
|
graphQLImperative = ldsAdapter;
|
|
76487
76490
|
});
|
|
76488
|
-
// version: 1.
|
|
76491
|
+
// version: 1.133.1-8632ab1ba
|
|
76489
76492
|
|
|
76490
76493
|
var gqlApi = /*#__PURE__*/Object.freeze({
|
|
76491
76494
|
__proto__: null,
|
|
@@ -77194,4 +77197,4 @@
|
|
|
77194
77197
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
77195
77198
|
|
|
77196
77199
|
}));
|
|
77197
|
-
// version: 1.
|
|
77200
|
+
// version: 1.133.1-636752773
|