@salesforce/lds-worker-api 1.266.0-dev2 → 1.266.0-dev20

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.
@@ -34,9 +34,17 @@
34
34
  const WeakSetCtor = WeakSet;
35
35
 
36
36
  const deeplyFrozen = new WeakSetCtor();
37
+ // Allow custom environments to bypass deep freeze for performance reasons
38
+ let bypassDeepFreeze = false;
39
+ function setBypassDeepFreeze(value) {
40
+ bypassDeepFreeze = value;
41
+ }
37
42
  function deepFreeze(value) {
38
43
  // No need to freeze primitives or already frozen stuff
39
- if (typeof value !== 'object' || value === null || deeplyFrozen.has(value)) {
44
+ if (bypassDeepFreeze ||
45
+ typeof value !== 'object' ||
46
+ value === null ||
47
+ deeplyFrozen.has(value)) {
40
48
  return;
41
49
  }
42
50
  deeplyFrozen.add(value);
@@ -990,7 +998,7 @@
990
998
  // is already in L1 prior to ingestion
991
999
  stagingStore.readEntry = (key) => {
992
1000
  const entry = originalReadEntry(key);
993
- if (!entry) {
1001
+ if (entry === undefined) {
994
1002
  return upstreamStore.readEntry(key);
995
1003
  }
996
1004
  return entry;
@@ -2284,6 +2292,13 @@
2284
2292
  return value !== undefined && value !== null;
2285
2293
  }
2286
2294
 
2295
+ /**
2296
+ * Checks if the given variable is an object
2297
+ */
2298
+ function isObject$1(value) {
2299
+ return typeof value === 'object' && value !== null;
2300
+ }
2301
+
2287
2302
  var StoreLinkStateValues$2;
2288
2303
  (function (StoreLinkStateValues) {
2289
2304
  StoreLinkStateValues[StoreLinkStateValues["NotPresent"] = 0] = "NotPresent";
@@ -2434,6 +2449,7 @@
2434
2449
  variables: {},
2435
2450
  });
2436
2451
  }
2452
+ const readerOpaqueReferenceMap = new WeakMap();
2437
2453
  class Reader {
2438
2454
  constructor(store, variables, refresh, baseSnapshot, ttlStrategy) {
2439
2455
  this.store = store;
@@ -2898,7 +2914,12 @@
2898
2914
  }
2899
2915
  if (fragment.opaque) {
2900
2916
  this.checkIfChanged(result.value, { useDeepEquals: true });
2901
- const opaqueValue = this.opaqueCopy(result.value);
2917
+ if (isObject$1(result.value) && !readerOpaqueReferenceMap.has(result.value)) {
2918
+ readerOpaqueReferenceMap.set(result.value, this.opaqueCopy(result.value));
2919
+ }
2920
+ const opaqueValue = isObject$1(result.value)
2921
+ ? readerOpaqueReferenceMap.get(result.value)
2922
+ : result.value;
2902
2923
  return {
2903
2924
  state: FragmentReadResultState$1.Success,
2904
2925
  value: opaqueValue,
@@ -3741,10 +3762,13 @@
3741
3762
  }
3742
3763
  publishStoreMetadata(key, storeMetadataParams) {
3743
3764
  const { ttl, namespace, representationName, version } = storeMetadataParams;
3744
- const now = Date.now();
3765
+ let { ingestionTimestamp } = storeMetadataParams;
3766
+ if (ingestionTimestamp === undefined) {
3767
+ ingestionTimestamp = Date.now();
3768
+ }
3745
3769
  const storeMetadata = {
3746
- ingestionTimestamp: now,
3747
- expirationTimestamp: now + ttl,
3770
+ ingestionTimestamp: ingestionTimestamp,
3771
+ expirationTimestamp: ingestionTimestamp + ttl,
3748
3772
  representationName,
3749
3773
  namespace,
3750
3774
  version,
@@ -3971,6 +3995,7 @@
3971
3995
  namespace,
3972
3996
  version,
3973
3997
  representationName,
3998
+ ingestionTimestamp: timestamp,
3974
3999
  };
3975
4000
  luvio.publishStoreMetadata(key, storeMetadataParams);
3976
4001
  }
@@ -4018,7 +4043,7 @@
4018
4043
  }
4019
4044
  return resourceParams;
4020
4045
  }
4021
- // engine version: 0.154.6-a3a5150a
4046
+ // engine version: 0.154.7-dev8-fca5df34
4022
4047
 
4023
4048
  /**
4024
4049
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -4146,7 +4171,7 @@
4146
4171
  }
4147
4172
  callbacks.push(callback);
4148
4173
  }
4149
- // version: 1.266.0-dev2-7c2f3615f
4174
+ // version: 1.266.0-dev20-117d849b4
4150
4175
 
4151
4176
  // TODO [TD-0081508]: once that TD is fulfilled we can probably change this file
4152
4177
  function instrumentAdapter$1(createFunction, _metadata) {
@@ -15654,7 +15679,7 @@
15654
15679
  }
15655
15680
  return superResult;
15656
15681
  }
15657
- // version: 1.266.0-dev2-7c2f3615f
15682
+ // version: 1.266.0-dev20-117d849b4
15658
15683
 
15659
15684
  function unwrap(data) {
15660
15685
  // The lwc-luvio bindings import a function from lwc called "unwrap".
@@ -16579,7 +16604,7 @@
16579
16604
  const { apiFamily, name } = metadata;
16580
16605
  return createGraphQLWireAdapterConstructor$1(adapter, `${apiFamily}.${name}`, luvio, astResolver);
16581
16606
  }
16582
- // version: 1.266.0-dev2-7c2f3615f
16607
+ // version: 1.266.0-dev20-117d849b4
16583
16608
 
16584
16609
  /**
16585
16610
  * Copyright (c) 2022, Salesforce, Inc.,
@@ -16678,7 +16703,7 @@
16678
16703
  TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
16679
16704
  TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
16680
16705
  })(TypeCheckShapes || (TypeCheckShapes = {}));
16681
- // engine version: 0.154.6-a3a5150a
16706
+ // engine version: 0.154.7-dev8-fca5df34
16682
16707
 
16683
16708
  const { keys: ObjectKeys$3, create: ObjectCreate$3 } = Object;
16684
16709
 
@@ -20806,6 +20831,7 @@
20806
20831
  representationName: RepresentationType$S,
20807
20832
  namespace: keyPrefix$2,
20808
20833
  version: VERSION$18$1,
20834
+ ingestionTimestamp: timestamp,
20809
20835
  });
20810
20836
  return createLink$3(key);
20811
20837
  };
@@ -21023,17 +21049,19 @@
21023
21049
  function buildNetworkSnapshot$13(luvio, config, serverRequestCount = 0, options) {
21024
21050
  const { request, key, allTrackedFields, resourceParams } = prepareRequest$6(luvio, config);
21025
21051
  return luvio.dispatchResourceRequest(request, options).then((response) => {
21052
+ // W-11964675 - Condition to dedupe a very specific set of requests for
21053
+ // Komaci - a batch record request with a single record followed by a single
21054
+ // record request. The fulfill logic sends the same network response, so
21055
+ // there is some TypeScript massaging to extract the RecordRepresentation
21056
+ //
21057
+ // W-14381091 - Ensure hoisting the response body happens prior to
21058
+ // calling `luvio.handleSuccessResponse`, since both arguments capture
21059
+ // the response.
21060
+ if (isSingleBatchRecordResponse(response.body)) {
21061
+ response.body = response.body.results[0]
21062
+ .result;
21063
+ }
21026
21064
  return luvio.handleSuccessResponse(() => {
21027
- // W-11964675 - Condition to dedupe a very specific set of requests for
21028
- // Komaci - a batch record request with a single record followed by a single
21029
- // record request. The fulfill logic sends the same network response, so
21030
- // there is some TypeScript massaging to extract the RecordRepresentation
21031
- if (isSingleBatchRecordResponse(response.body)) {
21032
- let recordResponse = response;
21033
- recordResponse.body = response.body.results[0]
21034
- .result;
21035
- return onResourceSuccess(luvio, config, key, allTrackedFields, recordResponse, serverRequestCount + 1);
21036
- }
21037
21065
  return onResourceSuccess(luvio, config, key, allTrackedFields, response, serverRequestCount + 1);
21038
21066
  }, () => {
21039
21067
  const cache = new StoreKeyMap();
@@ -21996,6 +22024,7 @@
21996
22024
  namespace: "UiApi",
21997
22025
  version: VERSION$16$1,
21998
22026
  representationName: RepresentationType$R,
22027
+ ingestionTimestamp: timestamp,
21999
22028
  };
22000
22029
  luvio.publishStoreMetadata(key, storeMetadataParams);
22001
22030
  }
@@ -22965,6 +22994,7 @@
22965
22994
  namespace: "UiApi",
22966
22995
  version: VERSION$13$1,
22967
22996
  representationName: RepresentationType$O,
22997
+ ingestionTimestamp: timestamp,
22968
22998
  };
22969
22999
  luvio.publishStoreMetadata(key, storeMetadataParams);
22970
23000
  }
@@ -25289,7 +25319,7 @@
25289
25319
  // Temp fix until we can mimic the server behavior for non-layoutable entities.
25290
25320
  let layoutMap = {};
25291
25321
  if (hasOwnProperty$1.call(layouts, apiName)) {
25292
- layoutMap = layouts[apiName][recordTypeId];
25322
+ layoutMap = layouts[apiName][recordTypeId] || {};
25293
25323
  }
25294
25324
  return {
25295
25325
  layoutMap,
@@ -27583,7 +27613,10 @@
27583
27613
  if (existingRecord === undefined || equals$N(existingRecord, incomingRecord) === false) {
27584
27614
  luvio.storePublish(key, incomingRecord);
27585
27615
  }
27586
- luvio.publishStoreMetadata(key, QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS);
27616
+ luvio.publishStoreMetadata(key, {
27617
+ ...QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS,
27618
+ ingestionTimestamp: timestamp,
27619
+ });
27587
27620
  return createLink$3(key);
27588
27621
  };
27589
27622
  };
@@ -28048,7 +28081,7 @@
28048
28081
  buildCachedSnapshotCachePolicy$C, buildNetworkSnapshotCachePolicy$D);
28049
28082
  };
28050
28083
 
28051
- function validate$1e(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28084
+ function validate$1f(obj, path = 'ActionRelatedListSingleBatchInputRepresentation') {
28052
28085
  const v_error = (() => {
28053
28086
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
28054
28087
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -28459,7 +28492,7 @@
28459
28492
  const untrustedConfig_relatedListsActionParameters_array = [];
28460
28493
  for (let i = 0, arrayLength = untrustedConfig_relatedListsActionParameters.length; i < arrayLength; i++) {
28461
28494
  const untrustedConfig_relatedListsActionParameters_item = untrustedConfig_relatedListsActionParameters[i];
28462
- const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1e(untrustedConfig_relatedListsActionParameters_item);
28495
+ const referenceActionRelatedListSingleBatchInputRepresentationValidationError = validate$1f(untrustedConfig_relatedListsActionParameters_item);
28463
28496
  if (referenceActionRelatedListSingleBatchInputRepresentationValidationError === null) {
28464
28497
  untrustedConfig_relatedListsActionParameters_array.push(untrustedConfig_relatedListsActionParameters_item);
28465
28498
  }
@@ -30698,7 +30731,7 @@
30698
30731
  buildCachedSnapshotCachePolicy$t, buildNetworkSnapshotCachePolicy$u);
30699
30732
  };
30700
30733
 
30701
- function validate$14(obj, path = 'ListFilterByInfoInputRepresentation') {
30734
+ function validate$15(obj, path = 'ListFilterByInfoInputRepresentation') {
30702
30735
  const v_error = (() => {
30703
30736
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
30704
30737
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -30729,7 +30762,7 @@
30729
30762
  return v_error === undefined ? null : v_error;
30730
30763
  }
30731
30764
 
30732
- function validate$13(obj, path = 'ListScopeInputRepresentation') {
30765
+ function validate$14(obj, path = 'ListScopeInputRepresentation') {
30733
30766
  const v_error = (() => {
30734
30767
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
30735
30768
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -30853,7 +30886,7 @@
30853
30886
  const untrustedConfig_filteredByInfo_array = [];
30854
30887
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
30855
30888
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
30856
- const referenceListFilterByInfoInputRepresentationValidationError = validate$14(untrustedConfig_filteredByInfo_item);
30889
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
30857
30890
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
30858
30891
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
30859
30892
  }
@@ -30861,7 +30894,7 @@
30861
30894
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
30862
30895
  }
30863
30896
  const untrustedConfig_scope = untrustedConfig.scope;
30864
- const referenceListScopeInputRepresentationValidationError = validate$13(untrustedConfig_scope);
30897
+ const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
30865
30898
  if (referenceListScopeInputRepresentationValidationError === null) {
30866
30899
  config.scope = untrustedConfig_scope;
30867
30900
  }
@@ -31129,7 +31162,7 @@
31129
31162
  const untrustedConfig_filteredByInfo_array = [];
31130
31163
  for (let i = 0, arrayLength = untrustedConfig_filteredByInfo.length; i < arrayLength; i++) {
31131
31164
  const untrustedConfig_filteredByInfo_item = untrustedConfig_filteredByInfo[i];
31132
- const referenceListFilterByInfoInputRepresentationValidationError = validate$14(untrustedConfig_filteredByInfo_item);
31165
+ const referenceListFilterByInfoInputRepresentationValidationError = validate$15(untrustedConfig_filteredByInfo_item);
31133
31166
  if (referenceListFilterByInfoInputRepresentationValidationError === null) {
31134
31167
  untrustedConfig_filteredByInfo_array.push(untrustedConfig_filteredByInfo_item);
31135
31168
  }
@@ -31137,7 +31170,7 @@
31137
31170
  config.filteredByInfo = untrustedConfig_filteredByInfo_array;
31138
31171
  }
31139
31172
  const untrustedConfig_scope = untrustedConfig.scope;
31140
- const referenceListScopeInputRepresentationValidationError = validate$13(untrustedConfig_scope);
31173
+ const referenceListScopeInputRepresentationValidationError = validate$14(untrustedConfig_scope);
31141
31174
  if (referenceListScopeInputRepresentationValidationError === null) {
31142
31175
  config.scope = untrustedConfig_scope;
31143
31176
  }
@@ -31888,7 +31921,7 @@
31888
31921
  buildCachedSnapshotCachePolicy$q, buildNetworkSnapshotCachePolicy$r);
31889
31922
  };
31890
31923
 
31891
- function validate$Y(obj, path = 'ListOrderedByInfoInputRepresentation') {
31924
+ function validate$Z(obj, path = 'ListOrderedByInfoInputRepresentation') {
31892
31925
  const v_error = (() => {
31893
31926
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
31894
31927
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -31991,7 +32024,7 @@
31991
32024
  const untrustedConfig_orderedBy_array = [];
31992
32025
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
31993
32026
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
31994
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedBy_item);
32027
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
31995
32028
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
31996
32029
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
31997
32030
  }
@@ -36053,7 +36086,7 @@
36053
36086
  buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$e);
36054
36087
  };
36055
36088
 
36056
- function validate$y(obj, path = 'ListUserPreferenceInputRepresentation') {
36089
+ function validate$z(obj, path = 'ListUserPreferenceInputRepresentation') {
36057
36090
  const v_error = (() => {
36058
36091
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36059
36092
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -36130,7 +36163,7 @@
36130
36163
  const untrustedConfig_orderedByInfo_array = [];
36131
36164
  for (let i = 0, arrayLength = untrustedConfig_orderedByInfo.length; i < arrayLength; i++) {
36132
36165
  const untrustedConfig_orderedByInfo_item = untrustedConfig_orderedByInfo[i];
36133
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedByInfo_item);
36166
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedByInfo_item);
36134
36167
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36135
36168
  untrustedConfig_orderedByInfo_array.push(untrustedConfig_orderedByInfo_item);
36136
36169
  }
@@ -36138,7 +36171,7 @@
36138
36171
  config.orderedByInfo = untrustedConfig_orderedByInfo_array;
36139
36172
  }
36140
36173
  const untrustedConfig_userPreferences = untrustedConfig.userPreferences;
36141
- const referenceListUserPreferenceInputRepresentationValidationError = validate$y(untrustedConfig_userPreferences);
36174
+ const referenceListUserPreferenceInputRepresentationValidationError = validate$z(untrustedConfig_userPreferences);
36142
36175
  if (referenceListUserPreferenceInputRepresentationValidationError === null) {
36143
36176
  config.userPreferences = untrustedConfig_userPreferences;
36144
36177
  }
@@ -36793,7 +36826,7 @@
36793
36826
  const untrustedConfig_orderedBy_array = [];
36794
36827
  for (let i = 0, arrayLength = untrustedConfig_orderedBy.length; i < arrayLength; i++) {
36795
36828
  const untrustedConfig_orderedBy_item = untrustedConfig_orderedBy[i];
36796
- const referenceListOrderedByInfoInputRepresentationValidationError = validate$Y(untrustedConfig_orderedBy_item);
36829
+ const referenceListOrderedByInfoInputRepresentationValidationError = validate$Z(untrustedConfig_orderedBy_item);
36797
36830
  if (referenceListOrderedByInfoInputRepresentationValidationError === null) {
36798
36831
  untrustedConfig_orderedBy_array.push(untrustedConfig_orderedBy_item);
36799
36832
  }
@@ -36841,7 +36874,7 @@
36841
36874
  };
36842
36875
  };
36843
36876
 
36844
- function validate$w(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
36877
+ function validate$x(obj, path = 'RelatedListRecordsSingleBatchInputRepresentation') {
36845
36878
  const v_error = (() => {
36846
36879
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
36847
36880
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -37389,6 +37422,7 @@
37389
37422
  namespace: "UiApi",
37390
37423
  version: VERSION$c$1,
37391
37424
  representationName: RepresentationType$d,
37425
+ ingestionTimestamp: timestamp,
37392
37426
  };
37393
37427
  luvio.publishStoreMetadata(key, storeMetadataParams);
37394
37428
  }
@@ -37794,7 +37828,7 @@
37794
37828
  const untrustedConfig_relatedListParameters_array = [];
37795
37829
  for (let i = 0, arrayLength = untrustedConfig_relatedListParameters.length; i < arrayLength; i++) {
37796
37830
  const untrustedConfig_relatedListParameters_item = untrustedConfig_relatedListParameters[i];
37797
- const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$w(untrustedConfig_relatedListParameters_item);
37831
+ const referenceRelatedListRecordsSingleBatchInputRepresentationValidationError = validate$x(untrustedConfig_relatedListParameters_item);
37798
37832
  if (referenceRelatedListRecordsSingleBatchInputRepresentationValidationError === null) {
37799
37833
  untrustedConfig_relatedListParameters_array.push(untrustedConfig_relatedListParameters_item);
37800
37834
  }
@@ -38588,7 +38622,7 @@
38588
38622
  buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$7);
38589
38623
  };
38590
38624
 
38591
- function validate$l(obj, path = 'SearchDataCategoryInputRepresentation') {
38625
+ function validate$m(obj, path = 'SearchDataCategoryInputRepresentation') {
38592
38626
  const v_error = (() => {
38593
38627
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38594
38628
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -38619,7 +38653,7 @@
38619
38653
  return v_error === undefined ? null : v_error;
38620
38654
  }
38621
38655
 
38622
- function validate$k(obj, path = 'SearchFilterInputRepresentation') {
38656
+ function validate$l(obj, path = 'SearchFilterInputRepresentation') {
38623
38657
  const v_error = (() => {
38624
38658
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38625
38659
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -38688,7 +38722,7 @@
38688
38722
  return v_error === undefined ? null : v_error;
38689
38723
  }
38690
38724
 
38691
- function validate$j(obj, path = 'SearchObjectOptionsRepresentation') {
38725
+ function validate$k(obj, path = 'SearchObjectOptionsRepresentation') {
38692
38726
  const v_error = (() => {
38693
38727
  if (typeof obj !== 'object' || ArrayIsArray$2(obj) || obj === null) {
38694
38728
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -38701,7 +38735,7 @@
38701
38735
  for (let i = 0; i < obj_dataCategories.length; i++) {
38702
38736
  const obj_dataCategories_item = obj_dataCategories[i];
38703
38737
  const path_dataCategories_item = path_dataCategories + '[' + i + ']';
38704
- const referencepath_dataCategories_itemValidationError = validate$l(obj_dataCategories_item, path_dataCategories_item);
38738
+ const referencepath_dataCategories_itemValidationError = validate$m(obj_dataCategories_item, path_dataCategories_item);
38705
38739
  if (referencepath_dataCategories_itemValidationError !== null) {
38706
38740
  let message = 'Object doesn\'t match SearchDataCategoryInputRepresentation (at "' + path_dataCategories_item + '")\n';
38707
38741
  message += referencepath_dataCategories_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -38716,7 +38750,7 @@
38716
38750
  for (let i = 0; i < obj_filters.length; i++) {
38717
38751
  const obj_filters_item = obj_filters[i];
38718
38752
  const path_filters_item = path_filters + '[' + i + ']';
38719
- const referencepath_filters_itemValidationError = validate$k(obj_filters_item, path_filters_item);
38753
+ const referencepath_filters_itemValidationError = validate$l(obj_filters_item, path_filters_item);
38720
38754
  if (referencepath_filters_itemValidationError !== null) {
38721
38755
  let message = 'Object doesn\'t match SearchFilterInputRepresentation (at "' + path_filters_item + '")\n';
38722
38756
  message += referencepath_filters_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
@@ -38847,7 +38881,7 @@
38847
38881
  for (let i = 0, arrayLength = untrustedConfig_searchObjectOptions_keys.length; i < arrayLength; i++) {
38848
38882
  const key = untrustedConfig_searchObjectOptions_keys[i];
38849
38883
  const untrustedConfig_searchObjectOptions_prop = untrustedConfig_searchObjectOptions[key];
38850
- const referenceSearchObjectOptionsRepresentationValidationError = validate$j(untrustedConfig_searchObjectOptions_prop);
38884
+ const referenceSearchObjectOptionsRepresentationValidationError = validate$k(untrustedConfig_searchObjectOptions_prop);
38851
38885
  if (referenceSearchObjectOptionsRepresentationValidationError === null) {
38852
38886
  if (untrustedConfig_searchObjectOptions_object !== undefined) {
38853
38887
  untrustedConfig_searchObjectOptions_object[key] = untrustedConfig_searchObjectOptions_prop;
@@ -39050,7 +39084,7 @@
39050
39084
  const untrustedConfig_filters_array = [];
39051
39085
  for (let i = 0, arrayLength = untrustedConfig_filters.length; i < arrayLength; i++) {
39052
39086
  const untrustedConfig_filters_item = untrustedConfig_filters[i];
39053
- const referenceSearchFilterInputRepresentationValidationError = validate$k(untrustedConfig_filters_item);
39087
+ const referenceSearchFilterInputRepresentationValidationError = validate$l(untrustedConfig_filters_item);
39054
39088
  if (referenceSearchFilterInputRepresentationValidationError === null) {
39055
39089
  untrustedConfig_filters_array.push(untrustedConfig_filters_item);
39056
39090
  }
@@ -43147,7 +43181,7 @@
43147
43181
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
43148
43182
  throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
43149
43183
  });
43150
- // version: 1.266.0-dev2-e69d357fb
43184
+ // version: 1.266.0-dev20-1e6923024
43151
43185
 
43152
43186
  var ldsIdempotencyWriteDisabled = {
43153
43187
  isOpen: function (e) {
@@ -44285,7 +44319,9 @@
44285
44319
  * @param durableStore A DurableStore implementation
44286
44320
  * @param instrumentation An instrumentation function implementation
44287
44321
  */
44288
- function makeDurable(environment, { durableStore, instrumentation, useRevivingStore, enableDurableMetadataRefresh = false, }) {
44322
+ function makeDurable(environment, { durableStore, instrumentation, useRevivingStore, enableDurableMetadataRefresh = false, disableDeepFreeze = false, }) {
44323
+ // runtimes can choose to disable deepFreeze, e.g. headless mobile runtime
44324
+ setBypassDeepFreeze(disableDeepFreeze);
44289
44325
  let stagingStore = null;
44290
44326
  const durableTTLStore = new DurableTTLStore(durableStore);
44291
44327
  const mergeKeysPromiseMap = new Map();
@@ -44656,6 +44692,10 @@
44656
44692
  }
44657
44693
  return {};
44658
44694
  };
44695
+ const getIngestStagingStore = function () {
44696
+ validateNotDisposed();
44697
+ return stagingStore === null || stagingStore === void 0 ? void 0 : stagingStore.fallbackStringKeyInMemoryStore;
44698
+ };
44659
44699
  const handleSuccessResponse = async function (ingestAndBroadcastFunc, getResponseCacheKeysFunc) {
44660
44700
  validateNotDisposed();
44661
44701
  const cacheKeyMap = getResponseCacheKeysFunc();
@@ -44848,6 +44888,7 @@
44848
44888
  applyCachePolicy: { value: applyCachePolicy },
44849
44889
  getIngestStagingStoreRecords: { value: getIngestStagingStoreRecords },
44850
44890
  getIngestStagingStoreMetadata: { value: getIngestStagingStoreMetadata },
44891
+ getIngestStagingStore: { value: getIngestStagingStore },
44851
44892
  handleSuccessResponse: { value: handleSuccessResponse },
44852
44893
  handleErrorResponse: { value: handleErrorResponse },
44853
44894
  getNotifyChangeStoreEntries: { value: getNotifyChangeStoreEntries },
@@ -47645,9 +47686,10 @@
47645
47686
  // If there is no metadata for this query or it somehow lacks a timestamp
47646
47687
  // skip setting the root timestamp
47647
47688
  if (queryMetadata !== undefined && queryMetadata.ingestionTimestamp !== undefined) {
47648
- // adjust the timestamp to account for ingestion processing time
47649
- // 30s is used because this is the default record TTL
47650
- input.rootTimestamp = queryMetadata.ingestionTimestamp - 30000;
47689
+ const timestamp = Number(queryMetadata.ingestionTimestamp);
47690
+ if (!isNaN(timestamp)) {
47691
+ input.rootTimestamp = timestamp;
47692
+ }
47651
47693
  }
47652
47694
  }
47653
47695
  return recordQuery(selection, alias, apiName, [], input);
@@ -49113,7 +49155,12 @@
49113
49155
  }
49114
49156
  finally {
49115
49157
  this.replacingAction = undefined;
49116
- await this.startQueueSafe();
49158
+ try {
49159
+ await this.startQueueSafe();
49160
+ }
49161
+ catch (_a) {
49162
+ // An error starting the queue should not bubble up from this method
49163
+ }
49117
49164
  }
49118
49165
  return updatedTarget;
49119
49166
  });
@@ -51262,6 +51309,9 @@
51262
51309
  else if (field.apiName === 'weakEtag') {
51263
51310
  leftPath = '$.weakEtag';
51264
51311
  }
51312
+ else if (field.apiName === 'RecordTypeId') {
51313
+ leftPath = '$.recordTypeId';
51314
+ }
51265
51315
  return {
51266
51316
  alias,
51267
51317
  leftPath,
@@ -52298,6 +52348,20 @@
52298
52348
  return values$2(objectInfo.fields).find((field) => field.apiName === fieldName ||
52299
52349
  (field.dataType === 'Reference' && field.relationshipName === fieldName));
52300
52350
  }
52351
+ async function readIngestionTimestampForKey(key, query) {
52352
+ let ingestionTimestamp = 0;
52353
+ const sql = `SELECT json_extract(metadata, '${JSON_EXTRACT_PATH_INGESTION_TIMESTAMP}') FROM lds_data WHERE key IS ?`;
52354
+ const results = await query(sql, [key]);
52355
+ const [timestamp] = results.rows.map((row) => row[0]);
52356
+ if (timestamp !== null) {
52357
+ const numericalTimestamp = Number(timestamp);
52358
+ if (isNaN(numericalTimestamp)) {
52359
+ return ingestionTimestamp;
52360
+ }
52361
+ ingestionTimestamp = numericalTimestamp;
52362
+ }
52363
+ return ingestionTimestamp;
52364
+ }
52301
52365
 
52302
52366
  function findSpanningField(name) {
52303
52367
  return (field) => {
@@ -52622,6 +52686,12 @@
52622
52686
  break;
52623
52687
  case 'LastModifiedDate':
52624
52688
  field.resolve = ({ recordRepresentation: record }) => {
52689
+ // In UIAPI record reps, LastModifiedDate might be present as a field,
52690
+ // which will include both the value and displayValue
52691
+ if (record.fields['LastModifiedDate']) {
52692
+ return record.fields['LastModifiedDate'];
52693
+ }
52694
+ // If the field is not present, just return the value of the root property
52625
52695
  return record.lastModifiedDate
52626
52696
  ? { value: record.lastModifiedDate }
52627
52697
  : null;
@@ -52656,16 +52726,26 @@
52656
52726
  : null;
52657
52727
  };
52658
52728
  const { recordRepresentation: record, ingestionTimestamp } = obj;
52659
- const fieldName = field.name.endsWith('__r')
52660
- ? field.name.replace('__r', '__c')
52661
- : field.name;
52662
- const id = (record.fields[fieldName] && record.fields[fieldName].value) ||
52663
- (record.fields[`${fieldName}Id`] &&
52664
- record.fields[`${fieldName}Id`].value);
52665
- if (!id)
52729
+ let id = undefined;
52730
+ if (field.name === 'RecordType') {
52731
+ // RecordTypeId has special handling during ingest and is
52732
+ // not in record.fields, so check for it at the UIAPI root property location
52733
+ id = record.recordTypeId;
52734
+ }
52735
+ else if (field.name.endsWith('__r')) {
52736
+ // Custom relationships end in `__r` and the corresponding ID field should be `__c`
52737
+ let fieldName = field.name.replace('__r', '__c');
52738
+ id = record.fields[fieldName] && record.fields[fieldName].value;
52739
+ }
52740
+ else {
52741
+ // Standard relationships are just FieldNameId
52742
+ let fieldName = field.name + 'Id';
52743
+ id = record.fields[fieldName] && record.fields[fieldName].value;
52744
+ }
52745
+ if (!id || typeof id !== 'string') {
52746
+ // possibly field injection did not inject the necessary Id field
52747
+ // for the relationship, or we found a non-string value.
52666
52748
  return null;
52667
- if (id['__ref'] !== undefined) {
52668
- return fetchRecordOrNull(record.fields[`${field.name}Id`].value);
52669
52749
  }
52670
52750
  seenRecordIds.add(id);
52671
52751
  return fetchRecordOrNull(id);
@@ -52817,18 +52897,7 @@
52817
52897
  const key = buildKeyStringForRecordQuery(operation,
52818
52898
  // join varables passed from query to the argument variables given from the AST
52819
52899
  { ...variableValues, ...args }, info.fieldNodes[0].arguments, apiName);
52820
- const sql = `
52821
- SELECT json_extract(metadata, '${JSON_EXTRACT_PATH_INGESTION_TIMESTAMP}')
52822
- FROM lds_data
52823
- WHERE key IS ?
52824
- `;
52825
- const results = await query(sql, [key]);
52826
- const [timestamp] = results.rows.map((row) => row[0]);
52827
- if (timestamp !== null && typeof timestamp === 'number') {
52828
- // adjust the timestamp to account for ingestion processing time
52829
- // 30s is used because this is the default record TTL
52830
- ingestionTimestamp = timestamp - 30000;
52831
- }
52900
+ return readIngestionTimestampForKey(key, query);
52832
52901
  }
52833
52902
  return ingestionTimestamp;
52834
52903
  }
@@ -54895,7 +54964,7 @@
54895
54964
  function createjsonOutput(selections, jsonInput, jsonOutput) {
54896
54965
  const keys$1 = keys$4(jsonInput);
54897
54966
  selections.filter(isFieldNode).forEach((subSelection) => {
54898
- const fieldName = subSelection.name.value;
54967
+ const fieldName = subSelection.alias ? subSelection.alias.value : subSelection.name.value;
54899
54968
  if (keys$1.includes(fieldName)) {
54900
54969
  if (isArray$2$1(jsonInput[fieldName])) {
54901
54970
  jsonOutput[fieldName] = [];
@@ -55615,13 +55684,21 @@
55615
55684
  draftFields[DEFAULT_FIELD_LAST_MODIFIED_DATE] = { value: timestampString, displayValue: null };
55616
55685
  draftFields[DEFAULT_FIELD_OWNER_ID] = { value: userId, displayValue: null };
55617
55686
  draftFields[DEFAULT_FIELD_ID] = { value: recordId, displayValue: null };
55618
- if (objectInfo !== undefined) {
55619
- const allObjectFields = keys$3$1(objectInfo.fields);
55620
- allObjectFields.forEach((fieldName) => {
55621
- if (draftFields[fieldName] === undefined) {
55622
- draftFields[fieldName] = { value: null, displayValue: null };
55623
- }
55624
- });
55687
+ const allObjectFields = keys$3$1(objectInfo.fields);
55688
+ allObjectFields.forEach((fieldName) => {
55689
+ if (draftFields[fieldName] === undefined) {
55690
+ draftFields[fieldName] = { value: null, displayValue: null };
55691
+ }
55692
+ });
55693
+ // TODO [W-14915806]: lightning-record-form injects the `IsPersonAccount`
55694
+ // field for all `Account` and `PersonAccount` records. However, not all
55695
+ // orgs use person accounts, and if that field is not present in the object
55696
+ // info then it is not synthesized. We force it to be synthesized here to
55697
+ // ensure lightning-record-form will work correctly with draft-created
55698
+ // accounts.
55699
+ if ((apiName === 'Account' || apiName === 'PersonAccount') &&
55700
+ draftFields['IsPersonAccount'] === undefined) {
55701
+ draftFields['IsPersonAccount'] = { value: null, displayValue: null };
55625
55702
  }
55626
55703
  return {
55627
55704
  id: recordId,
@@ -56208,10 +56285,13 @@
56208
56285
  * Transforms a record for storage in the durable store. The transformation involves denormalizing
56209
56286
  * scalar fields and persisting link metadata to transform back into a normalized representation
56210
56287
  *
56288
+ * If the record contains pending fields this will return undefined as pending records do not get persisted
56289
+ * to the durable store. There should be a refresh operation outbound that will bring in the updated record.
56290
+ *
56211
56291
  * @param normalizedRecord Record containing normalized field links
56212
56292
  * @param recordStore a store containing referenced record fields
56213
56293
  */
56214
- function buildDurableRecordRepresentation(normalizedRecord, records, pendingEntries) {
56294
+ function buildDurableRecordRepresentation(normalizedRecord, records, pendingEntries, store) {
56215
56295
  const fields = normalizedRecord.fields;
56216
56296
  const filteredFields = {};
56217
56297
  const links = {};
@@ -56222,7 +56302,9 @@
56222
56302
  // pending fields get filtered out of the durable store
56223
56303
  const { pending } = field;
56224
56304
  if (pending === true) {
56225
- continue;
56305
+ // do not write records with pending fields to the durable store
56306
+ // there should be a refresh operation outbound that will bring in the updated record
56307
+ return undefined;
56226
56308
  }
56227
56309
  const { __ref } = field;
56228
56310
  if (__ref !== undefined) {
@@ -56238,6 +56320,19 @@
56238
56320
  if (ref !== undefined) {
56239
56321
  filteredFields[fieldName] = ref;
56240
56322
  }
56323
+ else {
56324
+ // if we have a store to read, try to find the field there too
56325
+ // The durable ingest staging store may pass through to L1, and
56326
+ // not all fields are necessarily published every time, so it is
56327
+ // important to check L1 and not just the fields being published,
56328
+ // otherwise we risk truncating the fields on the record.
56329
+ if (store) {
56330
+ ref = store.readEntry(__ref);
56331
+ if (ref !== undefined) {
56332
+ filteredFields[fieldName] = ref;
56333
+ }
56334
+ }
56335
+ }
56241
56336
  }
56242
56337
  // we want to preserve fields that are missing nodes
56243
56338
  if (filteredFields[fieldName] !== undefined || field.isMissing === true) {
@@ -56259,7 +56354,7 @@
56259
56354
  }
56260
56355
  return keyBuilder$20(luvio, { recordId });
56261
56356
  }
56262
- function makeRecordDenormalizingDurableStore(luvio, durableStore, getStoreRecords, getStoreMetadata) {
56357
+ function makeRecordDenormalizingDurableStore(luvio, durableStore, getStoreRecords, getStoreMetadata, getStore) {
56263
56358
  const getEntries = function (entries, segment) {
56264
56359
  // this HOF only inspects records in the default segment
56265
56360
  if (segment !== DefaultDurableSegment) {
@@ -56327,6 +56422,7 @@
56327
56422
  const putRecordViews = {};
56328
56423
  const storeRecords = getStoreRecords !== undefined ? getStoreRecords() : {};
56329
56424
  const storeMetadata = getStoreMetadata !== undefined ? getStoreMetadata() : {};
56425
+ const store = getStore();
56330
56426
  for (let i = 0, len = keys$1.length; i < len; i++) {
56331
56427
  const key = keys$1[i];
56332
56428
  let value = entries[key];
@@ -56373,11 +56469,13 @@
56373
56469
  metadataVersion: DURABLE_METADATA_VERSION,
56374
56470
  };
56375
56471
  }
56376
- const denormalizedRecord = buildDurableRecordRepresentation(record, storeRecords, recordEntries);
56377
- putEntries[recordKey] = {
56378
- data: denormalizedRecord,
56379
- metadata,
56380
- };
56472
+ const denormalizedRecord = buildDurableRecordRepresentation(record, storeRecords, recordEntries, store);
56473
+ if (denormalizedRecord !== undefined) {
56474
+ putEntries[recordKey] = {
56475
+ data: denormalizedRecord,
56476
+ metadata,
56477
+ };
56478
+ }
56381
56479
  }
56382
56480
  else {
56383
56481
  putEntries[key] = value;
@@ -59871,6 +59969,7 @@
59871
59969
  function buildFieldUnionArray(existingRecord, incomingRecord, objectInfo) {
59872
59970
  const allFields = Array.from(new Set([...Object.keys(existingRecord.fields), ...Object.keys(incomingRecord.fields)]));
59873
59971
  const fieldUnion = [];
59972
+ let includesSpanningFields = false;
59874
59973
  allFields.forEach((fieldName) => {
59875
59974
  const objectInfoField = objectInfo.fields[fieldName];
59876
59975
  if (objectInfoField === undefined) {
@@ -59878,13 +59977,14 @@
59878
59977
  const referenceField = findReferenceFieldForSpanningField(fieldName, objectInfo);
59879
59978
  if (referenceField !== undefined) {
59880
59979
  fieldUnion.push(`${fieldName}.Id`);
59980
+ includesSpanningFields = true;
59881
59981
  }
59882
59982
  }
59883
59983
  else {
59884
59984
  fieldUnion.push(fieldName);
59885
59985
  }
59886
59986
  });
59887
- return fieldUnion;
59987
+ return { fields: fieldUnion, includesSpanningFields };
59888
59988
  }
59889
59989
  /**
59890
59990
  * Merges (if possible) an incoming record from a priming session with an existing record in the durable store.
@@ -59916,7 +60016,7 @@
59916
60016
  ok: false,
59917
60017
  code: 'conflict-drafts',
59918
60018
  hasDraft: true,
59919
- fieldUnion: buildFieldUnionArray(existingRecord, incomingRecord, objectInfo),
60019
+ fieldUnion: buildFieldUnionArray(existingRecord, incomingRecord, objectInfo).fields,
59920
60020
  };
59921
60021
  }
59922
60022
  // Check if incoming record's Etag is equal to the existing one
@@ -59978,10 +60078,19 @@
59978
60078
  };
59979
60079
  }
59980
60080
  // If Etags do not match and the incoming record does not contain all fields, re-request the record
60081
+ const { fields, includesSpanningFields } = buildFieldUnionArray(existingRecord, incomingRecord, objectInfo);
60082
+ if (includesSpanningFields) {
60083
+ return {
60084
+ ok: false,
60085
+ code: 'conflict-spanning-record',
60086
+ fieldUnion: fields,
60087
+ hasDraft: false,
60088
+ };
60089
+ }
59981
60090
  return {
59982
60091
  ok: false,
59983
60092
  code: 'conflict-missing-fields',
59984
- fieldUnion: buildFieldUnionArray(existingRecord, incomingRecord, objectInfo),
60093
+ fieldUnion: fields,
59985
60094
  hasDraft: false,
59986
60095
  };
59987
60096
  }
@@ -60905,30 +61014,36 @@
60905
61014
  const internalAdapterStore = new InMemoryStore();
60906
61015
  let getIngestRecordsForInternalAdapters;
60907
61016
  let getIngestMetadataForInternalAdapters;
61017
+ let getIngestStoreInternal;
60908
61018
  const internalAdapterDurableStore = makeRecordDenormalizingDurableStore(lazyLuvio, lazyBaseDurableStore, () => getIngestRecordsForInternalAdapters !== undefined
60909
61019
  ? getIngestRecordsForInternalAdapters()
60910
61020
  : {}, () => getIngestMetadataForInternalAdapters !== undefined
60911
61021
  ? getIngestMetadataForInternalAdapters()
60912
- : {});
61022
+ : {}, () => (getIngestStoreInternal !== undefined ? getIngestStoreInternal() : undefined));
60913
61023
  const { adapters: { getObjectInfo, getObjectInfos, getRecord, getObjectInfoDirectory }, durableEnvironment: internalAdapterDurableEnvironment, luvio: internalLuvio, } = buildInternalAdapters(internalAdapterStore, lazyNetworkAdapter, internalAdapterDurableStore, (apiName, objectInfo) => lazyObjectInfoService.ensureObjectInfoCached(apiName, objectInfo));
60914
61024
  lazyInternalLuvio = internalLuvio;
60915
61025
  getIngestRecordsForInternalAdapters =
60916
61026
  internalAdapterDurableEnvironment.getIngestStagingStoreRecords;
60917
61027
  getIngestMetadataForInternalAdapters =
60918
61028
  internalAdapterDurableEnvironment.getIngestStagingStoreRecords;
61029
+ getIngestStoreInternal = internalAdapterDurableEnvironment.getIngestStagingStore;
60919
61030
  lazyObjectInfoService = new ObjectInfoService(getObjectInfo, getObjectInfos, getObjectInfoDirectory, lazyBaseDurableStore);
60920
61031
  // creates a durable store that denormalizes scalar fields for records
60921
61032
  let getIngestRecords;
60922
61033
  let getIngestMetadata;
60923
- const recordDenormingStore = makeRecordDenormalizingDurableStore(lazyLuvio, lazyBaseDurableStore, () => (getIngestRecords !== undefined ? getIngestRecords() : {}), () => (getIngestMetadata !== undefined ? getIngestMetadata() : {}));
61034
+ let getIngestStore;
61035
+ const recordDenormingStore = makeRecordDenormalizingDurableStore(lazyLuvio, lazyBaseDurableStore, () => (getIngestRecords !== undefined ? getIngestRecords() : {}), () => (getIngestMetadata !== undefined ? getIngestMetadata() : {}), () => (getIngestStore !== undefined ? getIngestStore() : undefined));
60924
61036
  const baseEnv = new Environment(store, lazyNetworkAdapter);
60925
61037
  const gqlEnv = makeEnvironmentGraphqlAware(baseEnv);
60926
61038
  const durableEnv = makeDurable(gqlEnv, {
60927
61039
  durableStore: recordDenormingStore,
60928
61040
  enableDurableMetadataRefresh: ldsMetadataRefreshEnabled.isOpen({ fallback: false }),
61041
+ // disable luvio deep freeze in headless environments
61042
+ disableDeepFreeze: typeof window === 'undefined',
60929
61043
  });
60930
61044
  getIngestRecords = durableEnv.getIngestStagingStoreRecords;
60931
61045
  getIngestMetadata = durableEnv.getIngestStagingStoreMetadata;
61046
+ getIngestStore = durableEnv.getIngestStagingStore;
60932
61047
  // draft queue
60933
61048
  lazyDraftQueue = buildLdsDraftQueue(recordDenormingStore);
60934
61049
  const draftService = new UiApiDraftRecordService(lazyDraftQueue, () => lazyLuvio, recordDenormingStore, getObjectInfo, newRecordId, userId, formatDisplayValue);
@@ -61025,7 +61140,7 @@
61025
61140
  id: '@salesforce/lds-network-adapter',
61026
61141
  instrument: instrument$2,
61027
61142
  });
61028
- // version: 1.266.0-dev2-7c2f3615f
61143
+ // version: 1.266.0-dev20-117d849b4
61029
61144
 
61030
61145
  const { create: create$3, keys: keys$3 } = Object;
61031
61146
  const { stringify: stringify$1, parse: parse$1 } = JSON;
@@ -61802,7 +61917,7 @@
61802
61917
  };
61803
61918
  }
61804
61919
  function ingest$13(astNode, state) {
61805
- const { path, data, luvio } = state;
61920
+ const { path, data, timestamp, luvio } = state;
61806
61921
  const key = keyBuilder$16(luvio, path);
61807
61922
  return ingestNonCursorConnectionType(astNode, state, {
61808
61923
  key,
@@ -61816,7 +61931,8 @@
61816
61931
  ttl: TTL$1,
61817
61932
  namespace: keyPrefix$1,
61818
61933
  representationName: "DoubleValue",
61819
- version: VERSION$1c
61934
+ version: VERSION$1c,
61935
+ ingestionTimestamp: timestamp,
61820
61936
  },
61821
61937
  });
61822
61938
  }
@@ -61944,7 +62060,7 @@
61944
62060
  };
61945
62061
  }
61946
62062
  function ingest$12(astNode, state) {
61947
- const { path, data, luvio } = state;
62063
+ const { path, data, timestamp, luvio } = state;
61948
62064
  const key = keyBuilder$15(luvio, path);
61949
62065
  return ingestNonCursorConnectionType(astNode, state, {
61950
62066
  key,
@@ -61958,7 +62074,8 @@
61958
62074
  ttl: TTL$1,
61959
62075
  namespace: keyPrefix$1,
61960
62076
  representationName: "LongValue",
61961
- version: VERSION$1b
62077
+ version: VERSION$1b,
62078
+ ingestionTimestamp: timestamp,
61962
62079
  },
61963
62080
  });
61964
62081
  }
@@ -62086,7 +62203,7 @@
62086
62203
  };
62087
62204
  }
62088
62205
  function ingest$11(astNode, state) {
62089
- const { path, data, luvio } = state;
62206
+ const { path, data, timestamp, luvio } = state;
62090
62207
  const key = keyBuilder$14(luvio, path);
62091
62208
  return ingestNonCursorConnectionType(astNode, state, {
62092
62209
  key,
@@ -62100,7 +62217,8 @@
62100
62217
  ttl: TTL$1,
62101
62218
  namespace: keyPrefix$1,
62102
62219
  representationName: "PercentValue",
62103
- version: VERSION$1a
62220
+ version: VERSION$1a,
62221
+ ingestionTimestamp: timestamp,
62104
62222
  },
62105
62223
  });
62106
62224
  }
@@ -62228,7 +62346,7 @@
62228
62346
  };
62229
62347
  }
62230
62348
  function ingest$10(astNode, state) {
62231
- const { path, data, luvio } = state;
62349
+ const { path, data, timestamp, luvio } = state;
62232
62350
  const key = keyBuilder$13(luvio, path);
62233
62351
  return ingestNonCursorConnectionType(astNode, state, {
62234
62352
  key,
@@ -62242,7 +62360,8 @@
62242
62360
  ttl: TTL$1,
62243
62361
  namespace: keyPrefix$1,
62244
62362
  representationName: "PercentAggregate",
62245
- version: VERSION$19
62363
+ version: VERSION$19,
62364
+ ingestionTimestamp: timestamp,
62246
62365
  },
62247
62366
  });
62248
62367
  }
@@ -62490,7 +62609,7 @@
62490
62609
  };
62491
62610
  }
62492
62611
  function ingest$$(astNode, state) {
62493
- const { path, data, luvio } = state;
62612
+ const { path, data, timestamp, luvio } = state;
62494
62613
  const key = keyBuilder$12(luvio, path);
62495
62614
  return ingestNonCursorConnectionType(astNode, state, {
62496
62615
  key,
@@ -62504,7 +62623,8 @@
62504
62623
  ttl: TTL$1,
62505
62624
  namespace: keyPrefix$1,
62506
62625
  representationName: "IntValue",
62507
- version: VERSION$18
62626
+ version: VERSION$18,
62627
+ ingestionTimestamp: timestamp,
62508
62628
  },
62509
62629
  });
62510
62630
  }
@@ -62632,7 +62752,7 @@
62632
62752
  };
62633
62753
  }
62634
62754
  function ingest$_(astNode, state) {
62635
- const { path, data, luvio } = state;
62755
+ const { path, data, timestamp, luvio } = state;
62636
62756
  const key = keyBuilder$11(luvio, path);
62637
62757
  return ingestNonCursorConnectionType(astNode, state, {
62638
62758
  key,
@@ -62646,7 +62766,8 @@
62646
62766
  ttl: TTL$1,
62647
62767
  namespace: keyPrefix$1,
62648
62768
  representationName: "StringValue",
62649
- version: VERSION$17
62769
+ version: VERSION$17,
62770
+ ingestionTimestamp: timestamp,
62650
62771
  },
62651
62772
  });
62652
62773
  }
@@ -62765,7 +62886,7 @@
62765
62886
  };
62766
62887
  }
62767
62888
  function ingest$Z(astNode, state) {
62768
- const { path, data, luvio } = state;
62889
+ const { path, data, timestamp, luvio } = state;
62769
62890
  const key = keyBuilder$10(luvio, path);
62770
62891
  return ingestNonCursorConnectionType(astNode, state, {
62771
62892
  key,
@@ -62779,7 +62900,8 @@
62779
62900
  ttl: TTL$1,
62780
62901
  namespace: keyPrefix$1,
62781
62902
  representationName: "StringAggregate",
62782
- version: VERSION$16
62903
+ version: VERSION$16,
62904
+ ingestionTimestamp: timestamp,
62783
62905
  },
62784
62906
  });
62785
62907
  }
@@ -63007,7 +63129,7 @@
63007
63129
  };
63008
63130
  }
63009
63131
  function ingest$Y(astNode, state) {
63010
- const { path, data, luvio } = state;
63132
+ const { path, data, timestamp, luvio } = state;
63011
63133
  const key = keyBuilder$$(luvio, path);
63012
63134
  return ingestNonCursorConnectionType(astNode, state, {
63013
63135
  key,
@@ -63021,7 +63143,8 @@
63021
63143
  ttl: TTL$1,
63022
63144
  namespace: keyPrefix$1,
63023
63145
  representationName: "IDValue",
63024
- version: VERSION$15
63146
+ version: VERSION$15,
63147
+ ingestionTimestamp: timestamp,
63025
63148
  },
63026
63149
  });
63027
63150
  }
@@ -63143,7 +63266,7 @@
63143
63266
  };
63144
63267
  }
63145
63268
  function ingest$X(astNode, state) {
63146
- const { path, data, luvio } = state;
63269
+ const { path, data, timestamp, luvio } = state;
63147
63270
  const key = keyBuilder$_(luvio, path);
63148
63271
  return ingestNonCursorConnectionType(astNode, state, {
63149
63272
  key,
@@ -63157,7 +63280,8 @@
63157
63280
  ttl: TTL$1,
63158
63281
  namespace: keyPrefix$1,
63159
63282
  representationName: "DateTimeValue",
63160
- version: VERSION$14
63283
+ version: VERSION$14,
63284
+ ingestionTimestamp: timestamp,
63161
63285
  },
63162
63286
  });
63163
63287
  }
@@ -63285,7 +63409,7 @@
63285
63409
  };
63286
63410
  }
63287
63411
  function ingest$W(astNode, state) {
63288
- const { path, data, luvio } = state;
63412
+ const { path, data, timestamp, luvio } = state;
63289
63413
  const key = keyBuilder$Z(luvio, path);
63290
63414
  return ingestNonCursorConnectionType(astNode, state, {
63291
63415
  key,
@@ -63299,7 +63423,8 @@
63299
63423
  ttl: TTL$1,
63300
63424
  namespace: keyPrefix$1,
63301
63425
  representationName: "BooleanValue",
63302
- version: VERSION$13
63426
+ version: VERSION$13,
63427
+ ingestionTimestamp: timestamp,
63303
63428
  },
63304
63429
  });
63305
63430
  }
@@ -63421,7 +63546,7 @@
63421
63546
  };
63422
63547
  }
63423
63548
  function ingest$V(astNode, state) {
63424
- const { path, data, luvio } = state;
63549
+ const { path, data, timestamp, luvio } = state;
63425
63550
  const key = keyBuilder$Y(luvio, path);
63426
63551
  return ingestNonCursorConnectionType(astNode, state, {
63427
63552
  key,
@@ -63435,7 +63560,8 @@
63435
63560
  ttl: TTL$1,
63436
63561
  namespace: keyPrefix$1,
63437
63562
  representationName: "TimeValue",
63438
- version: VERSION$12
63563
+ version: VERSION$12,
63564
+ ingestionTimestamp: timestamp,
63439
63565
  },
63440
63566
  });
63441
63567
  }
@@ -63563,7 +63689,7 @@
63563
63689
  };
63564
63690
  }
63565
63691
  function ingest$U(astNode, state) {
63566
- const { path, data, luvio } = state;
63692
+ const { path, data, timestamp, luvio } = state;
63567
63693
  const key = keyBuilder$X(luvio, path);
63568
63694
  return ingestNonCursorConnectionType(astNode, state, {
63569
63695
  key,
@@ -63577,7 +63703,8 @@
63577
63703
  ttl: TTL$1,
63578
63704
  namespace: keyPrefix$1,
63579
63705
  representationName: "DateValue",
63580
- version: VERSION$11
63706
+ version: VERSION$11,
63707
+ ingestionTimestamp: timestamp,
63581
63708
  },
63582
63709
  });
63583
63710
  }
@@ -63705,7 +63832,7 @@
63705
63832
  };
63706
63833
  }
63707
63834
  function ingest$T(astNode, state) {
63708
- const { path, data, luvio } = state;
63835
+ const { path, data, timestamp, luvio } = state;
63709
63836
  const key = keyBuilder$W(luvio, path);
63710
63837
  return ingestNonCursorConnectionType(astNode, state, {
63711
63838
  key,
@@ -63719,7 +63846,8 @@
63719
63846
  ttl: TTL$1,
63720
63847
  namespace: keyPrefix$1,
63721
63848
  representationName: "TextAreaValue",
63722
- version: VERSION$10
63849
+ version: VERSION$10,
63850
+ ingestionTimestamp: timestamp,
63723
63851
  },
63724
63852
  });
63725
63853
  }
@@ -63841,7 +63969,7 @@
63841
63969
  };
63842
63970
  }
63843
63971
  function ingest$S(astNode, state) {
63844
- const { path, data, luvio } = state;
63972
+ const { path, data, timestamp, luvio } = state;
63845
63973
  const key = keyBuilder$V(luvio, path);
63846
63974
  return ingestNonCursorConnectionType(astNode, state, {
63847
63975
  key,
@@ -63855,7 +63983,8 @@
63855
63983
  ttl: TTL$1,
63856
63984
  namespace: keyPrefix$1,
63857
63985
  representationName: "LongTextAreaValue",
63858
- version: VERSION$$
63986
+ version: VERSION$$,
63987
+ ingestionTimestamp: timestamp,
63859
63988
  },
63860
63989
  });
63861
63990
  }
@@ -63977,7 +64106,7 @@
63977
64106
  };
63978
64107
  }
63979
64108
  function ingest$R(astNode, state) {
63980
- const { path, data, luvio } = state;
64109
+ const { path, data, timestamp, luvio } = state;
63981
64110
  const key = keyBuilder$U(luvio, path);
63982
64111
  return ingestNonCursorConnectionType(astNode, state, {
63983
64112
  key,
@@ -63991,7 +64120,8 @@
63991
64120
  ttl: TTL$1,
63992
64121
  namespace: keyPrefix$1,
63993
64122
  representationName: "RichTextAreaValue",
63994
- version: VERSION$_
64123
+ version: VERSION$_,
64124
+ ingestionTimestamp: timestamp,
63995
64125
  },
63996
64126
  });
63997
64127
  }
@@ -64113,7 +64243,7 @@
64113
64243
  };
64114
64244
  }
64115
64245
  function ingest$Q(astNode, state) {
64116
- const { path, data, luvio } = state;
64246
+ const { path, data, timestamp, luvio } = state;
64117
64247
  const key = keyBuilder$T(luvio, path);
64118
64248
  return ingestNonCursorConnectionType(astNode, state, {
64119
64249
  key,
@@ -64127,7 +64257,8 @@
64127
64257
  ttl: TTL$1,
64128
64258
  namespace: keyPrefix$1,
64129
64259
  representationName: "PhoneNumberValue",
64130
- version: VERSION$Z
64260
+ version: VERSION$Z,
64261
+ ingestionTimestamp: timestamp,
64131
64262
  },
64132
64263
  });
64133
64264
  }
@@ -64249,7 +64380,7 @@
64249
64380
  };
64250
64381
  }
64251
64382
  function ingest$P(astNode, state) {
64252
- const { path, data, luvio } = state;
64383
+ const { path, data, timestamp, luvio } = state;
64253
64384
  const key = keyBuilder$S(luvio, path);
64254
64385
  return ingestNonCursorConnectionType(astNode, state, {
64255
64386
  key,
@@ -64263,7 +64394,8 @@
64263
64394
  ttl: TTL$1,
64264
64395
  namespace: keyPrefix$1,
64265
64396
  representationName: "EmailValue",
64266
- version: VERSION$Y
64397
+ version: VERSION$Y,
64398
+ ingestionTimestamp: timestamp,
64267
64399
  },
64268
64400
  });
64269
64401
  }
@@ -64385,7 +64517,7 @@
64385
64517
  };
64386
64518
  }
64387
64519
  function ingest$O(astNode, state) {
64388
- const { path, data, luvio } = state;
64520
+ const { path, data, timestamp, luvio } = state;
64389
64521
  const key = keyBuilder$R(luvio, path);
64390
64522
  return ingestNonCursorConnectionType(astNode, state, {
64391
64523
  key,
@@ -64399,7 +64531,8 @@
64399
64531
  ttl: TTL$1,
64400
64532
  namespace: keyPrefix$1,
64401
64533
  representationName: "UrlValue",
64402
- version: VERSION$X
64534
+ version: VERSION$X,
64535
+ ingestionTimestamp: timestamp,
64403
64536
  },
64404
64537
  });
64405
64538
  }
@@ -64521,7 +64654,7 @@
64521
64654
  };
64522
64655
  }
64523
64656
  function ingest$N(astNode, state) {
64524
- const { path, data, luvio } = state;
64657
+ const { path, data, timestamp, luvio } = state;
64525
64658
  const key = keyBuilder$Q(luvio, path);
64526
64659
  return ingestNonCursorConnectionType(astNode, state, {
64527
64660
  key,
@@ -64535,7 +64668,8 @@
64535
64668
  ttl: TTL$1,
64536
64669
  namespace: keyPrefix$1,
64537
64670
  representationName: "EncryptedStringValue",
64538
- version: VERSION$W
64671
+ version: VERSION$W,
64672
+ ingestionTimestamp: timestamp,
64539
64673
  },
64540
64674
  });
64541
64675
  }
@@ -64657,7 +64791,7 @@
64657
64791
  };
64658
64792
  }
64659
64793
  function ingest$M(astNode, state) {
64660
- const { path, data, luvio } = state;
64794
+ const { path, data, timestamp, luvio } = state;
64661
64795
  const key = keyBuilder$P(luvio, path);
64662
64796
  return ingestNonCursorConnectionType(astNode, state, {
64663
64797
  key,
@@ -64671,7 +64805,8 @@
64671
64805
  ttl: TTL$1,
64672
64806
  namespace: keyPrefix$1,
64673
64807
  representationName: "CurrencyValue",
64674
- version: VERSION$V
64808
+ version: VERSION$V,
64809
+ ingestionTimestamp: timestamp,
64675
64810
  },
64676
64811
  });
64677
64812
  }
@@ -64799,7 +64934,7 @@
64799
64934
  };
64800
64935
  }
64801
64936
  function ingest$L(astNode, state) {
64802
- const { path, data, luvio } = state;
64937
+ const { path, data, timestamp, luvio } = state;
64803
64938
  const key = keyBuilder$O(luvio, path);
64804
64939
  return ingestNonCursorConnectionType(astNode, state, {
64805
64940
  key,
@@ -64813,7 +64948,8 @@
64813
64948
  ttl: TTL$1,
64814
64949
  namespace: keyPrefix$1,
64815
64950
  representationName: "LongitudeValue",
64816
- version: VERSION$U
64951
+ version: VERSION$U,
64952
+ ingestionTimestamp: timestamp,
64817
64953
  },
64818
64954
  });
64819
64955
  }
@@ -64935,7 +65071,7 @@
64935
65071
  };
64936
65072
  }
64937
65073
  function ingest$K(astNode, state) {
64938
- const { path, data, luvio } = state;
65074
+ const { path, data, timestamp, luvio } = state;
64939
65075
  const key = keyBuilder$N(luvio, path);
64940
65076
  return ingestNonCursorConnectionType(astNode, state, {
64941
65077
  key,
@@ -64949,7 +65085,8 @@
64949
65085
  ttl: TTL$1,
64950
65086
  namespace: keyPrefix$1,
64951
65087
  representationName: "LatitudeValue",
64952
- version: VERSION$T
65088
+ version: VERSION$T,
65089
+ ingestionTimestamp: timestamp,
64953
65090
  },
64954
65091
  });
64955
65092
  }
@@ -65071,7 +65208,7 @@
65071
65208
  };
65072
65209
  }
65073
65210
  function ingest$J(astNode, state) {
65074
- const { path, data, luvio } = state;
65211
+ const { path, data, timestamp, luvio } = state;
65075
65212
  const key = keyBuilder$M(luvio, path);
65076
65213
  return ingestNonCursorConnectionType(astNode, state, {
65077
65214
  key,
@@ -65085,7 +65222,8 @@
65085
65222
  ttl: TTL$1,
65086
65223
  namespace: keyPrefix$1,
65087
65224
  representationName: "PicklistValue",
65088
- version: VERSION$S
65225
+ version: VERSION$S,
65226
+ ingestionTimestamp: timestamp,
65089
65227
  },
65090
65228
  });
65091
65229
  }
@@ -65213,7 +65351,7 @@
65213
65351
  };
65214
65352
  }
65215
65353
  function ingest$I(astNode, state) {
65216
- const { path, data, luvio } = state;
65354
+ const { path, data, timestamp, luvio } = state;
65217
65355
  const key = keyBuilder$L(luvio, path);
65218
65356
  return ingestNonCursorConnectionType(astNode, state, {
65219
65357
  key,
@@ -65227,7 +65365,8 @@
65227
65365
  ttl: TTL$1,
65228
65366
  namespace: keyPrefix$1,
65229
65367
  representationName: "MultiPicklistValue",
65230
- version: VERSION$R
65368
+ version: VERSION$R,
65369
+ ingestionTimestamp: timestamp,
65231
65370
  },
65232
65371
  });
65233
65372
  }
@@ -65355,7 +65494,7 @@
65355
65494
  };
65356
65495
  }
65357
65496
  function ingest$H(astNode, state) {
65358
- const { path, data, luvio } = state;
65497
+ const { path, data, timestamp, luvio } = state;
65359
65498
  const key = keyBuilder$K(luvio, path);
65360
65499
  return ingestNonCursorConnectionType(astNode, state, {
65361
65500
  key,
@@ -65369,7 +65508,8 @@
65369
65508
  ttl: TTL$1,
65370
65509
  namespace: keyPrefix$1,
65371
65510
  representationName: "Base64Value",
65372
- version: VERSION$Q
65511
+ version: VERSION$Q,
65512
+ ingestionTimestamp: timestamp,
65373
65513
  },
65374
65514
  });
65375
65515
  }
@@ -65491,7 +65631,7 @@
65491
65631
  };
65492
65632
  }
65493
65633
  function ingest$G(astNode, state) {
65494
- const { path, data, luvio } = state;
65634
+ const { path, data, timestamp, luvio } = state;
65495
65635
  const key = keyBuilder$J(luvio, path);
65496
65636
  return ingestNonCursorConnectionType(astNode, state, {
65497
65637
  key,
@@ -65505,7 +65645,8 @@
65505
65645
  ttl: TTL$1,
65506
65646
  namespace: keyPrefix$1,
65507
65647
  representationName: "JSONValue",
65508
- version: VERSION$P
65648
+ version: VERSION$P,
65649
+ ingestionTimestamp: timestamp,
65509
65650
  },
65510
65651
  });
65511
65652
  }
@@ -66103,7 +66244,7 @@
66103
66244
  };
66104
66245
  }
66105
66246
  function ingest$E(astNode, state) {
66106
- const { path, data, luvio } = state;
66247
+ const { path, data, timestamp, luvio } = state;
66107
66248
  const key = keyBuilder$H(luvio, path);
66108
66249
  return ingestNonCursorConnectionType(astNode, state, {
66109
66250
  key,
@@ -66117,7 +66258,8 @@
66117
66258
  ttl: TTL$1,
66118
66259
  namespace: keyPrefix$1,
66119
66260
  representationName: "CompoundField",
66120
- version: VERSION$L
66261
+ version: VERSION$L,
66262
+ ingestionTimestamp: timestamp,
66121
66263
  },
66122
66264
  });
66123
66265
  }
@@ -67103,7 +67245,7 @@
67103
67245
  };
67104
67246
  }
67105
67247
  function ingest$D(astNode, state) {
67106
- const { path, data, luvio } = state;
67248
+ const { path, data, timestamp, luvio } = state;
67107
67249
  const key = keyBuilder$G(luvio, path);
67108
67250
  return ingestNonCursorConnectionType(astNode, state, {
67109
67251
  key,
@@ -67117,7 +67259,8 @@
67117
67259
  ttl: TTL$1,
67118
67260
  namespace: keyPrefix$1,
67119
67261
  representationName: "PageInfo",
67120
- version: VERSION$K
67262
+ version: VERSION$K,
67263
+ ingestionTimestamp: timestamp,
67121
67264
  },
67122
67265
  });
67123
67266
  }
@@ -67319,7 +67462,7 @@
67319
67462
  };
67320
67463
  }
67321
67464
  function ingest$C(astNode, state) {
67322
- const { path, data, luvio } = state;
67465
+ const { path, data, timestamp, luvio } = state;
67323
67466
  const key = keyBuilder$F(luvio, path, data);
67324
67467
  return ingestNonCursorConnectionType(astNode, state, {
67325
67468
  key,
@@ -67336,7 +67479,8 @@
67336
67479
  ttl: TTL$1,
67337
67480
  namespace: keyPrefix$1,
67338
67481
  representationName: "RecordRepresentation",
67339
- version: VERSION$J
67482
+ version: VERSION$J,
67483
+ ingestionTimestamp: timestamp,
67340
67484
  },
67341
67485
  });
67342
67486
  }
@@ -67858,7 +68002,7 @@
67858
68002
  };
67859
68003
  }
67860
68004
  function ingest$B(astNode, state) {
67861
- const { path, data, luvio } = state;
68005
+ const { path, data, timestamp, luvio } = state;
67862
68006
  const key = keyBuilder$E(luvio, path);
67863
68007
  return ingestNonCursorConnectionType(astNode, state, {
67864
68008
  key,
@@ -67872,7 +68016,8 @@
67872
68016
  ttl: TTL$1,
67873
68017
  namespace: keyPrefix$1,
67874
68018
  representationName: "RecordEdge",
67875
- version: VERSION$I
68019
+ version: VERSION$I,
68020
+ ingestionTimestamp: timestamp,
67876
68021
  },
67877
68022
  });
67878
68023
  }
@@ -68077,7 +68222,7 @@
68077
68222
  }
68078
68223
  }
68079
68224
  function ingest$A(astNode, state) {
68080
- const { path, data, luvio } = state;
68225
+ const { path, data, timestamp, luvio } = state;
68081
68226
  const key = keyBuilder$D(luvio, path);
68082
68227
  return ingestCursorConnectionType(astNode, state, {
68083
68228
  key,
@@ -68093,7 +68238,8 @@
68093
68238
  ttl: TTL$4,
68094
68239
  namespace: keyPrefix$1,
68095
68240
  representationName: "RecordConnection",
68096
- version: VERSION$H
68241
+ version: VERSION$H,
68242
+ ingestionTimestamp: timestamp,
68097
68243
  },
68098
68244
  });
68099
68245
  }
@@ -68262,7 +68408,7 @@
68262
68408
  };
68263
68409
  }
68264
68410
  function ingest$z(astNode, state) {
68265
- const { path, data, luvio } = state;
68411
+ const { path, data, timestamp, luvio } = state;
68266
68412
  const key = keyBuilder$C(luvio, path);
68267
68413
  return ingestNonCursorConnectionType(astNode, state, {
68268
68414
  key,
@@ -68276,7 +68422,8 @@
68276
68422
  ttl: TTL$1,
68277
68423
  namespace: keyPrefix$1,
68278
68424
  representationName: "RecordQuery",
68279
- version: VERSION$G
68425
+ version: VERSION$G,
68426
+ ingestionTimestamp: timestamp,
68280
68427
  },
68281
68428
  });
68282
68429
  }
@@ -68406,7 +68553,7 @@
68406
68553
  };
68407
68554
  }
68408
68555
  function ingest$y(astNode, state) {
68409
- const { path, data, luvio } = state;
68556
+ const { path, data, timestamp, luvio } = state;
68410
68557
  const key = keyBuilder$B(luvio, path);
68411
68558
  return ingestNonCursorConnectionType(astNode, state, {
68412
68559
  key,
@@ -68420,7 +68567,8 @@
68420
68567
  ttl: TTL$1,
68421
68568
  namespace: keyPrefix$1,
68422
68569
  representationName: "BooleanAggregate",
68423
- version: VERSION$F
68570
+ version: VERSION$F,
68571
+ ingestionTimestamp: timestamp,
68424
68572
  },
68425
68573
  });
68426
68574
  }
@@ -68589,7 +68737,7 @@
68589
68737
  };
68590
68738
  }
68591
68739
  function ingest$x(astNode, state) {
68592
- const { path, data, luvio } = state;
68740
+ const { path, data, timestamp, luvio } = state;
68593
68741
  const key = keyBuilder$A(luvio, path);
68594
68742
  return ingestNonCursorConnectionType(astNode, state, {
68595
68743
  key,
@@ -68603,7 +68751,8 @@
68603
68751
  ttl: TTL$1,
68604
68752
  namespace: keyPrefix$1,
68605
68753
  representationName: "CurrencyAggregate",
68606
- version: VERSION$E
68754
+ version: VERSION$E,
68755
+ ingestionTimestamp: timestamp,
68607
68756
  },
68608
68757
  });
68609
68758
  }
@@ -68851,7 +69000,7 @@
68851
69000
  };
68852
69001
  }
68853
69002
  function ingest$w(astNode, state) {
68854
- const { path, data, luvio } = state;
69003
+ const { path, data, timestamp, luvio } = state;
68855
69004
  const key = keyBuilder$z(luvio, path);
68856
69005
  return ingestNonCursorConnectionType(astNode, state, {
68857
69006
  key,
@@ -68865,7 +69014,8 @@
68865
69014
  ttl: TTL$1,
68866
69015
  namespace: keyPrefix$1,
68867
69016
  representationName: "DateFunctionAggregation",
68868
- version: VERSION$D
69017
+ version: VERSION$D,
69018
+ ingestionTimestamp: timestamp,
68869
69019
  },
68870
69020
  });
68871
69021
  }
@@ -68999,7 +69149,7 @@
68999
69149
  };
69000
69150
  }
69001
69151
  function ingest$v(astNode, state) {
69002
- const { path, data, luvio } = state;
69152
+ const { path, data, timestamp, luvio } = state;
69003
69153
  const key = keyBuilder$y(luvio, path);
69004
69154
  return ingestNonCursorConnectionType(astNode, state, {
69005
69155
  key,
@@ -69013,7 +69163,8 @@
69013
69163
  ttl: TTL$1,
69014
69164
  namespace: keyPrefix$1,
69015
69165
  representationName: "DateAggregate",
69016
- version: VERSION$C
69166
+ version: VERSION$C,
69167
+ ingestionTimestamp: timestamp,
69017
69168
  },
69018
69169
  });
69019
69170
  }
@@ -69380,7 +69531,7 @@
69380
69531
  };
69381
69532
  }
69382
69533
  function ingest$u(astNode, state) {
69383
- const { path, data, luvio } = state;
69534
+ const { path, data, timestamp, luvio } = state;
69384
69535
  const key = keyBuilder$x(luvio, path);
69385
69536
  return ingestNonCursorConnectionType(astNode, state, {
69386
69537
  key,
@@ -69394,7 +69545,8 @@
69394
69545
  ttl: TTL$1,
69395
69546
  namespace: keyPrefix$1,
69396
69547
  representationName: "DoubleAggregate",
69397
- version: VERSION$B
69548
+ version: VERSION$B,
69549
+ ingestionTimestamp: timestamp,
69398
69550
  },
69399
69551
  });
69400
69552
  }
@@ -69633,7 +69785,7 @@
69633
69785
  };
69634
69786
  }
69635
69787
  function ingest$t(astNode, state) {
69636
- const { path, data, luvio } = state;
69788
+ const { path, data, timestamp, luvio } = state;
69637
69789
  const key = keyBuilder$w(luvio, path);
69638
69790
  return ingestNonCursorConnectionType(astNode, state, {
69639
69791
  key,
@@ -69647,7 +69799,8 @@
69647
69799
  ttl: TTL$1,
69648
69800
  namespace: keyPrefix$1,
69649
69801
  representationName: "EmailAggregate",
69650
- version: VERSION$A
69802
+ version: VERSION$A,
69803
+ ingestionTimestamp: timestamp,
69651
69804
  },
69652
69805
  });
69653
69806
  }
@@ -69878,7 +70031,7 @@
69878
70031
  };
69879
70032
  }
69880
70033
  function ingest$s(astNode, state) {
69881
- const { path, data, luvio } = state;
70034
+ const { path, data, timestamp, luvio } = state;
69882
70035
  const key = keyBuilder$v(luvio, path);
69883
70036
  return ingestNonCursorConnectionType(astNode, state, {
69884
70037
  key,
@@ -69892,7 +70045,8 @@
69892
70045
  ttl: TTL$1,
69893
70046
  namespace: keyPrefix$1,
69894
70047
  representationName: "IDAggregate",
69895
- version: VERSION$z
70048
+ version: VERSION$z,
70049
+ ingestionTimestamp: timestamp,
69896
70050
  },
69897
70051
  });
69898
70052
  }
@@ -70123,7 +70277,7 @@
70123
70277
  };
70124
70278
  }
70125
70279
  function ingest$r(astNode, state) {
70126
- const { path, data, luvio } = state;
70280
+ const { path, data, timestamp, luvio } = state;
70127
70281
  const key = keyBuilder$u(luvio, path);
70128
70282
  return ingestNonCursorConnectionType(astNode, state, {
70129
70283
  key,
@@ -70137,7 +70291,8 @@
70137
70291
  ttl: TTL$1,
70138
70292
  namespace: keyPrefix$1,
70139
70293
  representationName: "IntAggregate",
70140
- version: VERSION$y
70294
+ version: VERSION$y,
70295
+ ingestionTimestamp: timestamp,
70141
70296
  },
70142
70297
  });
70143
70298
  }
@@ -70396,7 +70551,7 @@
70396
70551
  };
70397
70552
  }
70398
70553
  function ingest$q(astNode, state) {
70399
- const { path, data, luvio } = state;
70554
+ const { path, data, timestamp, luvio } = state;
70400
70555
  const key = keyBuilder$t(luvio, path);
70401
70556
  return ingestNonCursorConnectionType(astNode, state, {
70402
70557
  key,
@@ -70410,7 +70565,8 @@
70410
70565
  ttl: TTL$1,
70411
70566
  namespace: keyPrefix$1,
70412
70567
  representationName: "LatitudeAggregate",
70413
- version: VERSION$x
70568
+ version: VERSION$x,
70569
+ ingestionTimestamp: timestamp,
70414
70570
  },
70415
70571
  });
70416
70572
  }
@@ -70652,7 +70808,7 @@
70652
70808
  };
70653
70809
  }
70654
70810
  function ingest$p(astNode, state) {
70655
- const { path, data, luvio } = state;
70811
+ const { path, data, timestamp, luvio } = state;
70656
70812
  const key = keyBuilder$s(luvio, path);
70657
70813
  return ingestNonCursorConnectionType(astNode, state, {
70658
70814
  key,
@@ -70666,7 +70822,8 @@
70666
70822
  ttl: TTL$1,
70667
70823
  namespace: keyPrefix$1,
70668
70824
  representationName: "LongitudeAggregate",
70669
- version: VERSION$w
70825
+ version: VERSION$w,
70826
+ ingestionTimestamp: timestamp,
70670
70827
  },
70671
70828
  });
70672
70829
  }
@@ -70908,7 +71065,7 @@
70908
71065
  };
70909
71066
  }
70910
71067
  function ingest$o(astNode, state) {
70911
- const { path, data, luvio } = state;
71068
+ const { path, data, timestamp, luvio } = state;
70912
71069
  const key = keyBuilder$r(luvio, path);
70913
71070
  return ingestNonCursorConnectionType(astNode, state, {
70914
71071
  key,
@@ -70922,7 +71079,8 @@
70922
71079
  ttl: TTL$1,
70923
71080
  namespace: keyPrefix$1,
70924
71081
  representationName: "LongAggregate",
70925
- version: VERSION$v
71082
+ version: VERSION$v,
71083
+ ingestionTimestamp: timestamp,
70926
71084
  },
70927
71085
  });
70928
71086
  }
@@ -71181,7 +71339,7 @@
71181
71339
  };
71182
71340
  }
71183
71341
  function ingest$n(astNode, state) {
71184
- const { path, data, luvio } = state;
71342
+ const { path, data, timestamp, luvio } = state;
71185
71343
  const key = keyBuilder$q(luvio, path);
71186
71344
  return ingestNonCursorConnectionType(astNode, state, {
71187
71345
  key,
@@ -71195,7 +71353,8 @@
71195
71353
  ttl: TTL$1,
71196
71354
  namespace: keyPrefix$1,
71197
71355
  representationName: "PhoneNumberAggregate",
71198
- version: VERSION$u
71356
+ version: VERSION$u,
71357
+ ingestionTimestamp: timestamp,
71199
71358
  },
71200
71359
  });
71201
71360
  }
@@ -71426,7 +71585,7 @@
71426
71585
  };
71427
71586
  }
71428
71587
  function ingest$m(astNode, state) {
71429
- const { path, data, luvio } = state;
71588
+ const { path, data, timestamp, luvio } = state;
71430
71589
  const key = keyBuilder$p(luvio, path);
71431
71590
  return ingestNonCursorConnectionType(astNode, state, {
71432
71591
  key,
@@ -71440,7 +71599,8 @@
71440
71599
  ttl: TTL$1,
71441
71600
  namespace: keyPrefix$1,
71442
71601
  representationName: "PicklistAggregate",
71443
- version: VERSION$t
71602
+ version: VERSION$t,
71603
+ ingestionTimestamp: timestamp,
71444
71604
  },
71445
71605
  });
71446
71606
  }
@@ -71677,7 +71837,7 @@
71677
71837
  };
71678
71838
  }
71679
71839
  function ingest$l(astNode, state) {
71680
- const { path, data, luvio } = state;
71840
+ const { path, data, timestamp, luvio } = state;
71681
71841
  const key = keyBuilder$o(luvio, path);
71682
71842
  return ingestNonCursorConnectionType(astNode, state, {
71683
71843
  key,
@@ -71691,7 +71851,8 @@
71691
71851
  ttl: TTL$1,
71692
71852
  namespace: keyPrefix$1,
71693
71853
  representationName: "TextAreaAggregate",
71694
- version: VERSION$s
71854
+ version: VERSION$s,
71855
+ ingestionTimestamp: timestamp,
71695
71856
  },
71696
71857
  });
71697
71858
  }
@@ -71922,7 +72083,7 @@
71922
72083
  };
71923
72084
  }
71924
72085
  function ingest$k(astNode, state) {
71925
- const { path, data, luvio } = state;
72086
+ const { path, data, timestamp, luvio } = state;
71926
72087
  const key = keyBuilder$n(luvio, path);
71927
72088
  return ingestNonCursorConnectionType(astNode, state, {
71928
72089
  key,
@@ -71936,7 +72097,8 @@
71936
72097
  ttl: TTL$1,
71937
72098
  namespace: keyPrefix$1,
71938
72099
  representationName: "TimeAggregate",
71939
- version: VERSION$r
72100
+ version: VERSION$r,
72101
+ ingestionTimestamp: timestamp,
71940
72102
  },
71941
72103
  });
71942
72104
  }
@@ -72111,7 +72273,7 @@
72111
72273
  };
72112
72274
  }
72113
72275
  function ingest$j(astNode, state) {
72114
- const { path, data, luvio } = state;
72276
+ const { path, data, timestamp, luvio } = state;
72115
72277
  const key = keyBuilder$m(luvio, path);
72116
72278
  return ingestNonCursorConnectionType(astNode, state, {
72117
72279
  key,
@@ -72125,7 +72287,8 @@
72125
72287
  ttl: TTL$1,
72126
72288
  namespace: keyPrefix$1,
72127
72289
  representationName: "UrlAggregate",
72128
- version: VERSION$q
72290
+ version: VERSION$q,
72291
+ ingestionTimestamp: timestamp,
72129
72292
  },
72130
72293
  });
72131
72294
  }
@@ -72479,7 +72642,7 @@
72479
72642
  };
72480
72643
  }
72481
72644
  function ingest$i(astNode, state) {
72482
- const { path, data, luvio } = state;
72645
+ const { path, data, timestamp, luvio } = state;
72483
72646
  const key = keyBuilder$l(luvio, path);
72484
72647
  return ingestNonCursorConnectionType(astNode, state, {
72485
72648
  key,
@@ -72493,7 +72656,8 @@
72493
72656
  ttl: TTL$1,
72494
72657
  namespace: keyPrefix$1,
72495
72658
  representationName: "RecordAggregate",
72496
- version: VERSION$p
72659
+ version: VERSION$p,
72660
+ ingestionTimestamp: timestamp,
72497
72661
  },
72498
72662
  });
72499
72663
  }
@@ -72847,7 +73011,7 @@
72847
73011
  };
72848
73012
  }
72849
73013
  function ingest$h(astNode, state) {
72850
- const { path, data, luvio } = state;
73014
+ const { path, data, timestamp, luvio } = state;
72851
73015
  const key = keyBuilder$k(luvio, path);
72852
73016
  return ingestNonCursorConnectionType(astNode, state, {
72853
73017
  key,
@@ -72861,7 +73025,8 @@
72861
73025
  ttl: TTL$1,
72862
73026
  namespace: keyPrefix$1,
72863
73027
  representationName: "RecordResult",
72864
- version: VERSION$o
73028
+ version: VERSION$o,
73029
+ ingestionTimestamp: timestamp,
72865
73030
  },
72866
73031
  });
72867
73032
  }
@@ -73009,7 +73174,7 @@
73009
73174
  };
73010
73175
  }
73011
73176
  function ingest$g(astNode, state) {
73012
- const { path, data, luvio } = state;
73177
+ const { path, data, timestamp, luvio } = state;
73013
73178
  const key = keyBuilder$j(luvio, path);
73014
73179
  return ingestNonCursorConnectionType(astNode, state, {
73015
73180
  key,
@@ -73023,7 +73188,8 @@
73023
73188
  ttl: TTL$1,
73024
73189
  namespace: keyPrefix$1,
73025
73190
  representationName: "RecordAggregateEdge",
73026
- version: VERSION$n
73191
+ version: VERSION$n,
73192
+ ingestionTimestamp: timestamp,
73027
73193
  },
73028
73194
  });
73029
73195
  }
@@ -73227,7 +73393,7 @@
73227
73393
  }
73228
73394
  }
73229
73395
  function ingest$f(astNode, state) {
73230
- const { path, data, luvio } = state;
73396
+ const { path, data, timestamp, luvio } = state;
73231
73397
  const key = keyBuilder$i(luvio, path);
73232
73398
  return ingestCursorConnectionType(astNode, state, {
73233
73399
  key,
@@ -73243,7 +73409,8 @@
73243
73409
  ttl: TTL$1,
73244
73410
  namespace: keyPrefix$1,
73245
73411
  representationName: "RecordAggregateConnection",
73246
- version: VERSION$m
73412
+ version: VERSION$m,
73413
+ ingestionTimestamp: timestamp,
73247
73414
  },
73248
73415
  });
73249
73416
  }
@@ -73460,7 +73627,7 @@
73460
73627
  };
73461
73628
  }
73462
73629
  function ingest$e(astNode, state) {
73463
- const { path, data, luvio } = state;
73630
+ const { path, data, timestamp, luvio } = state;
73464
73631
  const key = keyBuilder$h(luvio, path);
73465
73632
  return ingestNonCursorConnectionType(astNode, state, {
73466
73633
  key,
@@ -73474,7 +73641,8 @@
73474
73641
  ttl: TTL$1,
73475
73642
  namespace: keyPrefix$1,
73476
73643
  representationName: "RecordQueryAggregate",
73477
- version: VERSION$l
73644
+ version: VERSION$l,
73645
+ ingestionTimestamp: timestamp,
73478
73646
  },
73479
73647
  });
73480
73648
  }
@@ -73604,7 +73772,7 @@
73604
73772
  };
73605
73773
  }
73606
73774
  function ingest$d(astNode, state) {
73607
- const { path, data, luvio } = state;
73775
+ const { path, data, timestamp, luvio } = state;
73608
73776
  const key = keyBuilder$g(luvio, path);
73609
73777
  return ingestNonCursorConnectionType(astNode, state, {
73610
73778
  key,
@@ -73618,7 +73786,8 @@
73618
73786
  ttl: TTL$1,
73619
73787
  namespace: keyPrefix$1,
73620
73788
  representationName: "ChildRelationship",
73621
- version: VERSION$k
73789
+ version: VERSION$k,
73790
+ ingestionTimestamp: timestamp,
73622
73791
  },
73623
73792
  });
73624
73793
  }
@@ -73796,7 +73965,7 @@
73796
73965
  };
73797
73966
  }
73798
73967
  function ingest$c(astNode, state) {
73799
- const { path, data, luvio } = state;
73968
+ const { path, data, timestamp, luvio } = state;
73800
73969
  const key = keyBuilder$f(luvio, path);
73801
73970
  return ingestNonCursorConnectionType(astNode, state, {
73802
73971
  key,
@@ -73810,7 +73979,8 @@
73810
73979
  ttl: TTL$1,
73811
73980
  namespace: keyPrefix$1,
73812
73981
  representationName: "DependentField",
73813
- version: VERSION$j
73982
+ version: VERSION$j,
73983
+ ingestionTimestamp: timestamp,
73814
73984
  },
73815
73985
  });
73816
73986
  }
@@ -73935,7 +74105,7 @@
73935
74105
  };
73936
74106
  }
73937
74107
  function ingest$b(astNode, state) {
73938
- const { path, data, luvio } = state;
74108
+ const { path, data, timestamp, luvio } = state;
73939
74109
  const key = keyBuilder$e(luvio, path);
73940
74110
  return ingestNonCursorConnectionType(astNode, state, {
73941
74111
  key,
@@ -73949,7 +74119,8 @@
73949
74119
  ttl: TTL$1,
73950
74120
  namespace: keyPrefix$1,
73951
74121
  representationName: "FilteredLookupInfo",
73952
- version: VERSION$i
74122
+ version: VERSION$i,
74123
+ ingestionTimestamp: timestamp,
73953
74124
  },
73954
74125
  });
73955
74126
  }
@@ -74089,7 +74260,7 @@
74089
74260
  };
74090
74261
  }
74091
74262
  function ingest$a(astNode, state) {
74092
- const { path, data, luvio } = state;
74263
+ const { path, data, timestamp, luvio } = state;
74093
74264
  const key = keyBuilder$d(luvio, path);
74094
74265
  return ingestNonCursorConnectionType(astNode, state, {
74095
74266
  key,
@@ -74103,7 +74274,8 @@
74103
74274
  ttl: TTL$1,
74104
74275
  namespace: keyPrefix$1,
74105
74276
  representationName: "ReferenceToInfo",
74106
- version: VERSION$h
74277
+ version: VERSION$h,
74278
+ ingestionTimestamp: timestamp,
74107
74279
  },
74108
74280
  });
74109
74281
  }
@@ -74263,7 +74435,7 @@
74263
74435
  };
74264
74436
  }
74265
74437
  function ingest$9(astNode, state) {
74266
- const { path, data, luvio } = state;
74438
+ const { path, data, timestamp, luvio } = state;
74267
74439
  const key = keyBuilder$c(luvio, path);
74268
74440
  return ingestNonCursorConnectionType(astNode, state, {
74269
74441
  key,
@@ -74277,7 +74449,8 @@
74277
74449
  ttl: TTL$1,
74278
74450
  namespace: keyPrefix$1,
74279
74451
  representationName: "Field",
74280
- version: VERSION$g
74452
+ version: VERSION$g,
74453
+ ingestionTimestamp: timestamp,
74281
74454
  },
74282
74455
  });
74283
74456
  }
@@ -74655,7 +74828,7 @@
74655
74828
  };
74656
74829
  }
74657
74830
  function ingest$8(astNode, state) {
74658
- const { path, data, luvio } = state;
74831
+ const { path, data, timestamp, luvio } = state;
74659
74832
  const key = keyBuilder$b(luvio, path);
74660
74833
  return ingestNonCursorConnectionType(astNode, state, {
74661
74834
  key,
@@ -74669,7 +74842,8 @@
74669
74842
  ttl: TTL$1,
74670
74843
  namespace: keyPrefix$1,
74671
74844
  representationName: "RecordTypeInfo",
74672
- version: VERSION$f
74845
+ version: VERSION$f,
74846
+ ingestionTimestamp: timestamp,
74673
74847
  },
74674
74848
  });
74675
74849
  }
@@ -74830,7 +75004,7 @@
74830
75004
  };
74831
75005
  }
74832
75006
  function ingest$7(astNode, state) {
74833
- const { path, data, luvio } = state;
75007
+ const { path, data, timestamp, luvio } = state;
74834
75008
  const key = keyBuilder$a(luvio, path);
74835
75009
  return ingestNonCursorConnectionType(astNode, state, {
74836
75010
  key,
@@ -74844,7 +75018,8 @@
74844
75018
  ttl: TTL$1,
74845
75019
  namespace: keyPrefix$1,
74846
75020
  representationName: "ThemeInfo",
74847
- version: VERSION$e
75021
+ version: VERSION$e,
75022
+ ingestionTimestamp: timestamp,
74848
75023
  },
74849
75024
  });
74850
75025
  }
@@ -74970,7 +75145,7 @@
74970
75145
  };
74971
75146
  }
74972
75147
  function ingest$6(astNode, state) {
74973
- const { path, data, luvio } = state;
75148
+ const { path, data, timestamp, luvio } = state;
74974
75149
  const key = keyBuilder$9(luvio, path);
74975
75150
  return ingestNonCursorConnectionType(astNode, state, {
74976
75151
  key,
@@ -74984,7 +75159,8 @@
74984
75159
  ttl: TTL$3,
74985
75160
  namespace: keyPrefix$1,
74986
75161
  representationName: "ObjectInfo",
74987
- version: VERSION$d
75162
+ version: VERSION$d,
75163
+ ingestionTimestamp: timestamp,
74988
75164
  },
74989
75165
  });
74990
75166
  }
@@ -75374,7 +75550,7 @@
75374
75550
  };
75375
75551
  }
75376
75552
  function ingest$5(astNode, state) {
75377
- const { path, data, luvio } = state;
75553
+ const { path, data, timestamp, luvio } = state;
75378
75554
  const key = keyBuilder$8(luvio, path);
75379
75555
  return ingestNonCursorConnectionType(astNode, state, {
75380
75556
  key,
@@ -75388,7 +75564,8 @@
75388
75564
  ttl: TTL$1,
75389
75565
  namespace: keyPrefix$1,
75390
75566
  representationName: "ListColumn",
75391
- version: VERSION$c
75567
+ version: VERSION$c,
75568
+ ingestionTimestamp: timestamp,
75392
75569
  },
75393
75570
  });
75394
75571
  }
@@ -75534,7 +75711,7 @@
75534
75711
  };
75535
75712
  }
75536
75713
  function ingest$4(astNode, state) {
75537
- const { path, data, luvio } = state;
75714
+ const { path, data, timestamp, luvio } = state;
75538
75715
  const key = keyBuilder$7(luvio, path);
75539
75716
  return ingestNonCursorConnectionType(astNode, state, {
75540
75717
  key,
@@ -75548,7 +75725,8 @@
75548
75725
  ttl: TTL$1,
75549
75726
  namespace: keyPrefix$1,
75550
75727
  representationName: "ListOrder",
75551
- version: VERSION$b
75728
+ version: VERSION$b,
75729
+ ingestionTimestamp: timestamp,
75552
75730
  },
75553
75731
  });
75554
75732
  }
@@ -75683,7 +75861,7 @@
75683
75861
  };
75684
75862
  }
75685
75863
  function ingest$3(astNode, state) {
75686
- const { path, data, luvio } = state;
75864
+ const { path, data, timestamp, luvio } = state;
75687
75865
  const key = keyBuilder$6(luvio, path);
75688
75866
  return ingestNonCursorConnectionType(astNode, state, {
75689
75867
  key,
@@ -75697,7 +75875,8 @@
75697
75875
  ttl: TTL$2,
75698
75876
  namespace: keyPrefix$1,
75699
75877
  representationName: "RelatedListInfo",
75700
- version: VERSION$a
75878
+ version: VERSION$a,
75879
+ ingestionTimestamp: timestamp,
75701
75880
  },
75702
75881
  });
75703
75882
  }
@@ -75919,7 +76098,7 @@
75919
76098
  };
75920
76099
  }
75921
76100
  function ingest$2(astNode, state) {
75922
- const { path, data, luvio } = state;
76101
+ const { path, data, timestamp, luvio } = state;
75923
76102
  const key = keyBuilder$5(luvio, path);
75924
76103
  return ingestNonCursorConnectionType(astNode, state, {
75925
76104
  key,
@@ -75933,7 +76112,8 @@
75933
76112
  ttl: TTL$1,
75934
76113
  namespace: keyPrefix$1,
75935
76114
  representationName: "UIAPI",
75936
- version: VERSION$9
76115
+ version: VERSION$9,
76116
+ ingestionTimestamp: timestamp,
75937
76117
  },
75938
76118
  });
75939
76119
  }
@@ -76157,7 +76337,7 @@
76157
76337
  };
76158
76338
  }
76159
76339
  function ingest$1(astNode, state) {
76160
- const { path, data, luvio } = state;
76340
+ const { path, data, timestamp, luvio } = state;
76161
76341
  const key = keyBuilder$4(luvio, astNode, state.variables, state.fragments);
76162
76342
  return ingestNonCursorConnectionType(astNode, state, {
76163
76343
  key,
@@ -76171,7 +76351,8 @@
76171
76351
  ttl: TTL$1,
76172
76352
  namespace: keyPrefix$1,
76173
76353
  representationName: "Query",
76174
- version: VERSION$8
76354
+ version: VERSION$8,
76355
+ ingestionTimestamp: timestamp,
76175
76356
  },
76176
76357
  });
76177
76358
  }
@@ -79354,7 +79535,7 @@
79354
79535
  configuration: { ...configurationForGraphQLAdapters$1 },
79355
79536
  instrument: instrument$1,
79356
79537
  });
79357
- // version: 1.266.0-dev2-e69d357fb
79538
+ // version: 1.266.0-dev20-1e6923024
79358
79539
 
79359
79540
  // On core the unstable adapters are re-exported with different names,
79360
79541
  // we want to match them here.
@@ -80005,6 +80186,7 @@
80005
80186
  namespace: namespace,
80006
80187
  ttl: DEFAULT_GRAPHQL_TTL,
80007
80188
  version: GRAPHQL_INGEST_VERSION,
80189
+ ingestionTimestamp: timestamp,
80008
80190
  });
80009
80191
  }
80010
80192
  return {
@@ -80100,6 +80282,7 @@
80100
80282
  namespace: namespace,
80101
80283
  ttl: DEFAULT_GRAPHQL_TTL,
80102
80284
  version: GRAPHQL_INGEST_VERSION,
80285
+ ingestionTimestamp: timestamp,
80103
80286
  });
80104
80287
  return {
80105
80288
  __ref: key,
@@ -80140,6 +80323,7 @@
80140
80323
  namespace: namespace,
80141
80324
  ttl: DEFAULT_GRAPHQL_TTL,
80142
80325
  version: GRAPHQL_INGEST_VERSION,
80326
+ ingestionTimestamp: timestamp,
80143
80327
  });
80144
80328
  return {
80145
80329
  __ref: key,
@@ -81605,7 +81789,7 @@
81605
81789
  unstable_graphQL_imperative = createImperativeAdapter(luvio, createInstrumentedAdapter(ldsAdapter, adapterMetadata), adapterMetadata);
81606
81790
  graphQLImperative = ldsAdapter;
81607
81791
  });
81608
- // version: 1.266.0-dev2-e69d357fb
81792
+ // version: 1.266.0-dev20-1e6923024
81609
81793
 
81610
81794
  var gqlApi = /*#__PURE__*/Object.freeze({
81611
81795
  __proto__: null,
@@ -81948,8 +82132,22 @@
81948
82132
  draftIds !== undefined &&
81949
82133
  draftIds.length > 0) {
81950
82134
  const draftId = draftIds[draftIds.length - 1];
81951
- draftManager.replaceAction(draftIdToReplace, draftId).then(() => {
82135
+ draftManager
82136
+ .replaceAction(draftIdToReplace, draftId)
82137
+ .then(() => {
81952
82138
  onResponse(responseValue);
82139
+ })
82140
+ .catch((error) => {
82141
+ let message = 'Unknown error replacing draft';
82142
+ if (error instanceof Error) {
82143
+ message = error.message;
82144
+ }
82145
+ else if (typeof error === 'string') {
82146
+ message = error;
82147
+ }
82148
+ onResponse({
82149
+ error: createNativeFetchErrorResponse(message),
82150
+ });
81953
82151
  });
81954
82152
  }
81955
82153
  else {
@@ -82303,7 +82501,7 @@
82303
82501
  function register(r) {
82304
82502
  callbacks$1.forEach((callback) => callback(r));
82305
82503
  }
82306
- // version: 1.266.0-dev2-7c2f3615f
82504
+ // version: 1.266.0-dev20-117d849b4
82307
82505
 
82308
82506
  /**
82309
82507
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -87226,4 +87424,4 @@
87226
87424
  exports.subscribeToAdapter = subscribeToAdapter;
87227
87425
 
87228
87426
  }));
87229
- // version: 1.266.0-dev2-7c2f3615f
87427
+ // version: 1.266.0-dev20-117d849b4