@salesforce/lwc-adapters-uiapi 1.134.6 → 1.134.8

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.
Files changed (2) hide show
  1. package/dist/main.js +89 -609
  2. package/package.json +2 -2
package/dist/main.js CHANGED
@@ -20,6 +20,25 @@ const { create: create$1, entries, freeze: freeze$1, keys: keys$1, values } = Ob
20
20
  const { isArray: isArray$1 } = Array;
21
21
  const { parse: parse$2, stringify: stringify$1 } = JSON;
22
22
 
23
+ function deepFreeze(value) {
24
+ // No need to freeze primitives
25
+ if (typeof value !== 'object' || value === null) {
26
+ return;
27
+ }
28
+ if (isArray$1(value)) {
29
+ for (let i = 0, len = value.length; i < len; i += 1) {
30
+ deepFreeze(value[i]);
31
+ }
32
+ }
33
+ else {
34
+ const keys$1$1 = keys$1(value);
35
+ for (let i = 0, len = keys$1$1.length; i < len; i += 1) {
36
+ deepFreeze(value[keys$1$1[i]]);
37
+ }
38
+ }
39
+ freeze$1(value);
40
+ }
41
+
23
42
  Promise.resolve();
24
43
 
25
44
  var StoreErrorStatus;
@@ -345,7 +364,7 @@ var FragmentReadResultState;
345
364
  ({
346
365
  state: FragmentReadResultState.Missing,
347
366
  });
348
- // engine version: 0.139.1-f7268217
367
+ // engine version: 0.139.6-cfd5fd23
349
368
 
350
369
  /**
351
370
  * Returns true if the value acts like a Promise, i.e. has a "then" function,
@@ -7658,7 +7677,7 @@ function instrument(newInstrumentation) {
7658
7677
  }
7659
7678
 
7660
7679
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
7661
- const { keys: ObjectKeys$1, freeze: ObjectFreeze$1, create: ObjectCreate$1 } = Object;
7680
+ const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
7662
7681
  const { stringify: JSONStringify$1 } = JSON;
7663
7682
  const { isArray: ArrayIsArray$1 } = Array;
7664
7683
  const { push: ArrayPrototypePush } = Array.prototype;
@@ -7780,7 +7799,7 @@ function isUnfulfilledSnapshot$1(snapshot) {
7780
7799
  }
7781
7800
  const keyPrefix = 'UiApi';
7782
7801
 
7783
- const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
7802
+ const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
7784
7803
  const { isArray: ArrayIsArray } = Array;
7785
7804
  const { stringify: JSONStringify } = JSON;
7786
7805
  function equalsArray(a, b, equalsItem) {
@@ -7815,24 +7834,6 @@ function equalsObject(a, b, equalsProp) {
7815
7834
  }
7816
7835
  return true;
7817
7836
  }
7818
- function deepFreeze$P(value) {
7819
- // No need to freeze primitives
7820
- if (typeof value !== 'object' || value === null) {
7821
- return;
7822
- }
7823
- if (ArrayIsArray(value)) {
7824
- for (let i = 0, len = value.length; i < len; i += 1) {
7825
- deepFreeze$P(value[i]);
7826
- }
7827
- }
7828
- else {
7829
- const keys = ObjectKeys(value);
7830
- for (let i = 0, len = keys.length; i < len; i += 1) {
7831
- deepFreeze$P(value[keys[i]]);
7832
- }
7833
- }
7834
- ObjectFreeze(value);
7835
- }
7836
7837
  function createLink$1(ref) {
7837
7838
  return {
7838
7839
  __ref: serializeStructuredKey(ref),
@@ -7980,11 +7981,6 @@ const select$2t = function ListFilterByInfoRepresentationSelect() {
7980
7981
  ]
7981
7982
  };
7982
7983
  };
7983
- function deepFreeze$O(input) {
7984
- const input_operandLabels = input.operandLabels;
7985
- ObjectFreeze(input_operandLabels);
7986
- ObjectFreeze(input);
7987
- }
7988
7984
 
7989
7985
  const VERSION$1Y = "76042ff4af603b2ac0ec69fa0bd12046";
7990
7986
  function validate$1C(obj, path = 'ListReferenceRepresentation') {
@@ -8172,9 +8168,6 @@ const select$2r = function ListOrderByInfoRepresentationSelect() {
8172
8168
  ]
8173
8169
  };
8174
8170
  };
8175
- function deepFreeze$N(input) {
8176
- ObjectFreeze(input);
8177
- }
8178
8171
 
8179
8172
  const VERSION$1W = "6506134f4d72fdfa349fe60ef1af2413";
8180
8173
  function validate$1A(obj, path = 'ListUserPreferenceRepresentation') {
@@ -8232,23 +8225,6 @@ const select$2q = function ListUserPreferenceRepresentationSelect() {
8232
8225
  ]
8233
8226
  };
8234
8227
  };
8235
- function deepFreeze$M(input) {
8236
- const input_columnWidths = input.columnWidths;
8237
- const input_columnWidths_keys = Object.keys(input_columnWidths);
8238
- const input_columnWidths_length = input_columnWidths_keys.length;
8239
- for (let i = 0; i < input_columnWidths_length; i++) {
8240
- input_columnWidths_keys[i];
8241
- }
8242
- ObjectFreeze(input_columnWidths);
8243
- const input_columnWrap = input.columnWrap;
8244
- const input_columnWrap_keys = Object.keys(input_columnWrap);
8245
- const input_columnWrap_length = input_columnWrap_keys.length;
8246
- for (let i = 0; i < input_columnWrap_length; i++) {
8247
- input_columnWrap_keys[i];
8248
- }
8249
- ObjectFreeze(input_columnWrap);
8250
- ObjectFreeze(input);
8251
- }
8252
8228
 
8253
8229
  const TTL$C = 900000;
8254
8230
  const VERSION$1V = "8f469cbf563d2ed6b2d3a7b2ee422e1f";
@@ -8658,9 +8634,6 @@ function equals$Z(existing, incoming) {
8658
8634
  }
8659
8635
  return true;
8660
8636
  }
8661
- function deepFreeze$L(input) {
8662
- ObjectFreeze(input);
8663
- }
8664
8637
 
8665
8638
  const VERSION$1T = "195d918987a35f45e1aa4dce9a11d8c5";
8666
8639
  function validate$1x(obj, path = 'FieldValueRepresentation') {
@@ -8808,13 +8781,6 @@ function equals$Y(existing, incoming) {
8808
8781
  }
8809
8782
  return true;
8810
8783
  }
8811
- function deepFreeze$K(input) {
8812
- const input_value = input.value;
8813
- if (input_value !== null && typeof input_value === 'object') {
8814
- deepFreeze$I(input_value);
8815
- }
8816
- ObjectFreeze(input);
8817
- }
8818
8784
  const ingest$1t = function FieldValueRepresentationIngest(input, path, luvio, store, timestamp) {
8819
8785
  if (process.env.NODE_ENV !== 'production') {
8820
8786
  const validateError = validate$1x(input);
@@ -9170,15 +9136,6 @@ function equals$X(existing, incoming) {
9170
9136
  }
9171
9137
  return true;
9172
9138
  }
9173
- function deepFreeze$J(input) {
9174
- const input_records = input.records;
9175
- for (let i = 0; i < input_records.length; i++) {
9176
- const input_records_item = input_records[i];
9177
- deepFreeze$I(input_records_item);
9178
- }
9179
- ObjectFreeze(input_records);
9180
- ObjectFreeze(input);
9181
- }
9182
9139
  const ingest$1s = function RecordCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
9183
9140
  if (process.env.NODE_ENV !== 'production') {
9184
9141
  const validateError = validate$1w(input);
@@ -9662,31 +9619,6 @@ function equals$W(existing, incoming) {
9662
9619
  }
9663
9620
  return true;
9664
9621
  }
9665
- function deepFreeze$I(input) {
9666
- const input_childRelationships = input.childRelationships;
9667
- const input_childRelationships_keys = Object.keys(input_childRelationships);
9668
- const input_childRelationships_length = input_childRelationships_keys.length;
9669
- for (let i = 0; i < input_childRelationships_length; i++) {
9670
- const key = input_childRelationships_keys[i];
9671
- const input_childRelationships_prop = input_childRelationships[key];
9672
- deepFreeze$J(input_childRelationships_prop);
9673
- }
9674
- ObjectFreeze(input_childRelationships);
9675
- const input_fields = input.fields;
9676
- const input_fields_keys = Object.keys(input_fields);
9677
- const input_fields_length = input_fields_keys.length;
9678
- for (let i = 0; i < input_fields_length; i++) {
9679
- const key = input_fields_keys[i];
9680
- const input_fields_prop = input_fields[key];
9681
- deepFreeze$K(input_fields_prop);
9682
- }
9683
- ObjectFreeze(input_fields);
9684
- const input_recordTypeInfo = input.recordTypeInfo;
9685
- if (input_recordTypeInfo !== null && typeof input_recordTypeInfo === 'object') {
9686
- deepFreeze$L(input_recordTypeInfo);
9687
- }
9688
- ObjectFreeze(input);
9689
- }
9690
9622
  function getTypeCacheKeys$1t(luvio, input, fullPathFactory) {
9691
9623
  const rootKeySet = new StoreKeyMap();
9692
9624
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
@@ -11544,7 +11476,7 @@ function convertTrieToFieldsRecursively(root) {
11544
11476
  }
11545
11477
  return reduce.call(childKeys, (acc, cur) => concat.call(acc, convertTrieToFieldsRecursively(root.children[cur]).map((i) => `${root.name}.${i}`)), []);
11546
11478
  }
11547
- const BLANK_RECORD_FIELDS_TRIE = ObjectFreeze$1({
11479
+ const BLANK_RECORD_FIELDS_TRIE = freeze({
11548
11480
  name: '',
11549
11481
  children: {},
11550
11482
  });
@@ -12790,7 +12722,6 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
12790
12722
  statusCode: childStatusCode,
12791
12723
  result: childSnapshot.data,
12792
12724
  };
12793
- ObjectFreeze$1(childValue);
12794
12725
  childSnapshotDataResponses.push(childValue);
12795
12726
  }
12796
12727
  else {
@@ -12813,7 +12744,6 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
12813
12744
  statusCode: childStatusCode,
12814
12745
  result: childBody,
12815
12746
  };
12816
- ObjectFreeze$1(childValue);
12817
12747
  childSnapshotDataResponses.push(childValue);
12818
12748
  }
12819
12749
  // track non-cached responses so rebuilds work properly
@@ -12828,12 +12758,12 @@ function ingestSuccessChildResourceParams$6(luvio, childResourceParamsArray, chi
12828
12758
  delete nonCachedErrors$7[childKey];
12829
12759
  }
12830
12760
  }
12831
- ObjectFreeze$1(childSnapshotDataResponses);
12832
12761
  const childSnapshotData = {
12833
12762
  results: childSnapshotDataResponses,
12834
12763
  };
12764
+ deepFreeze(childSnapshotData);
12835
12765
  return {
12836
- childSnapshotData: ObjectFreeze$1(childSnapshotData),
12766
+ childSnapshotData,
12837
12767
  seenRecords,
12838
12768
  snapshotState,
12839
12769
  };
@@ -12946,12 +12876,11 @@ function selectChildResourceParams$7(luvio, childResources, resourceParams) {
12946
12876
  reader.markPending();
12947
12877
  break;
12948
12878
  }
12949
- ObjectFreeze$1(childSink);
12950
12879
  ArrayPrototypePush.call(results, childSink);
12951
12880
  reader.exitPath();
12952
12881
  }
12953
12882
  reader.assignNonScalar(sink, envelopePath, results);
12954
- ObjectFreeze$1(sink);
12883
+ deepFreeze(sink);
12955
12884
  reader.exitPath();
12956
12885
  return sink;
12957
12886
  },
@@ -13699,7 +13628,6 @@ const select$2k = function ListRecordCollectionRepresentationSelect(paginationPa
13699
13628
  reader.exitPath();
13700
13629
  }
13701
13630
  reader.exitPath();
13702
- ObjectFreeze(itemsSink);
13703
13631
  reader.assignNonScalar(sink, itemsProperty, itemsSink);
13704
13632
  }
13705
13633
  reader.enterPath('currentPageToken');
@@ -13810,7 +13738,6 @@ const dynamicSelect$7 = function dynamicListRecordCollectionRepresentationSelect
13810
13738
  reader.exitPath();
13811
13739
  }
13812
13740
  reader.exitPath();
13813
- ObjectFreeze(itemsSink);
13814
13741
  reader.assignNonScalar(sink, itemsProperty, itemsSink);
13815
13742
  }
13816
13743
  reader.enterPath('currentPageToken');
@@ -15289,7 +15216,6 @@ const select$2e = function ListViewSummaryCollectionRepresentationSelect(paginat
15289
15216
  reader.exitPath();
15290
15217
  }
15291
15218
  reader.exitPath();
15292
- ObjectFreeze(itemsSink);
15293
15219
  reader.assignNonScalar(sink, itemsProperty, itemsSink);
15294
15220
  }
15295
15221
  reader.enterPath('currentPageToken');
@@ -15554,6 +15480,7 @@ function ingestSuccess$I(luvio, resourceParams, response, snapshotRefresh) {
15554
15480
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
15555
15481
  }
15556
15482
  }
15483
+ deepFreeze(snapshot.data);
15557
15484
  return snapshot;
15558
15485
  }
15559
15486
  function ingestError$F(luvio, params, error, snapshotRefresh) {
@@ -16728,13 +16655,6 @@ function validate$1q(obj, path = 'ChildRelationshipRepresentation') {
16728
16655
  })();
16729
16656
  return v_error === undefined ? null : v_error;
16730
16657
  }
16731
- function deepFreeze$H(input) {
16732
- const input_junctionIdListNames = input.junctionIdListNames;
16733
- ObjectFreeze(input_junctionIdListNames);
16734
- const input_junctionReferenceTo = input.junctionReferenceTo;
16735
- ObjectFreeze(input_junctionReferenceTo);
16736
- ObjectFreeze(input);
16737
- }
16738
16658
 
16739
16659
  function validate$1p(obj, path = 'FilteredLookupInfoRepresentation') {
16740
16660
  const v_error = (() => {
@@ -16766,11 +16686,6 @@ function validate$1p(obj, path = 'FilteredLookupInfoRepresentation') {
16766
16686
  })();
16767
16687
  return v_error === undefined ? null : v_error;
16768
16688
  }
16769
- function deepFreeze$G(input) {
16770
- const input_controllingFields = input.controllingFields;
16771
- ObjectFreeze(input_controllingFields);
16772
- ObjectFreeze(input);
16773
- }
16774
16689
 
16775
16690
  function validate$1o(obj, path = 'ReferenceToInfoRepresentation') {
16776
16691
  const v_error = (() => {
@@ -16797,11 +16712,6 @@ function validate$1o(obj, path = 'ReferenceToInfoRepresentation') {
16797
16712
  })();
16798
16713
  return v_error === undefined ? null : v_error;
16799
16714
  }
16800
- function deepFreeze$F(input) {
16801
- const input_nameFields = input.nameFields;
16802
- ObjectFreeze(input_nameFields);
16803
- ObjectFreeze(input);
16804
- }
16805
16715
 
16806
16716
  function validate$1n(obj, path = 'FieldRepresentation') {
16807
16717
  const v_error = (() => {
@@ -17154,21 +17064,6 @@ function validate$1n(obj, path = 'FieldRepresentation') {
17154
17064
  })();
17155
17065
  return v_error === undefined ? null : v_error;
17156
17066
  }
17157
- function deepFreeze$E(input) {
17158
- const input_controllingFields = input.controllingFields;
17159
- ObjectFreeze(input_controllingFields);
17160
- const input_filteredLookupInfo = input.filteredLookupInfo;
17161
- if (input_filteredLookupInfo !== null && typeof input_filteredLookupInfo === 'object') {
17162
- deepFreeze$G(input_filteredLookupInfo);
17163
- }
17164
- const input_referenceToInfos = input.referenceToInfos;
17165
- for (let i = 0; i < input_referenceToInfos.length; i++) {
17166
- const input_referenceToInfos_item = input_referenceToInfos[i];
17167
- deepFreeze$F(input_referenceToInfos_item);
17168
- }
17169
- ObjectFreeze(input_referenceToInfos);
17170
- ObjectFreeze(input);
17171
- }
17172
17067
 
17173
17068
  function validate$1m(obj, path = 'ThemeInfoRepresentation') {
17174
17069
  const v_error = (() => {
@@ -17209,9 +17104,6 @@ function validate$1m(obj, path = 'ThemeInfoRepresentation') {
17209
17104
  })();
17210
17105
  return v_error === undefined ? null : v_error;
17211
17106
  }
17212
- function deepFreeze$D(input) {
17213
- ObjectFreeze(input);
17214
- }
17215
17107
 
17216
17108
  const TTL$y = 900000;
17217
17109
  const VERSION$1L = "ec9370a0cd56f4769fe9ec5cd942ff30";
@@ -17620,48 +17512,6 @@ function equals$R(existing, incoming) {
17620
17512
  }
17621
17513
  return true;
17622
17514
  }
17623
- function deepFreeze$C(input) {
17624
- const input_childRelationships = input.childRelationships;
17625
- for (let i = 0; i < input_childRelationships.length; i++) {
17626
- const input_childRelationships_item = input_childRelationships[i];
17627
- deepFreeze$H(input_childRelationships_item);
17628
- }
17629
- ObjectFreeze(input_childRelationships);
17630
- const input_dependentFields = input.dependentFields;
17631
- const input_dependentFields_keys = Object.keys(input_dependentFields);
17632
- const input_dependentFields_length = input_dependentFields_keys.length;
17633
- for (let i = 0; i < input_dependentFields_length; i++) {
17634
- const key = input_dependentFields_keys[i];
17635
- const input_dependentFields_prop = input_dependentFields[key];
17636
- ObjectFreeze(input_dependentFields_prop);
17637
- }
17638
- ObjectFreeze(input_dependentFields);
17639
- const input_fields = input.fields;
17640
- const input_fields_keys = Object.keys(input_fields);
17641
- const input_fields_length = input_fields_keys.length;
17642
- for (let i = 0; i < input_fields_length; i++) {
17643
- const key = input_fields_keys[i];
17644
- const input_fields_prop = input_fields[key];
17645
- deepFreeze$E(input_fields_prop);
17646
- }
17647
- ObjectFreeze(input_fields);
17648
- const input_nameFields = input.nameFields;
17649
- ObjectFreeze(input_nameFields);
17650
- const input_recordTypeInfos = input.recordTypeInfos;
17651
- const input_recordTypeInfos_keys = Object.keys(input_recordTypeInfos);
17652
- const input_recordTypeInfos_length = input_recordTypeInfos_keys.length;
17653
- for (let i = 0; i < input_recordTypeInfos_length; i++) {
17654
- const key = input_recordTypeInfos_keys[i];
17655
- const input_recordTypeInfos_prop = input_recordTypeInfos[key];
17656
- deepFreeze$L(input_recordTypeInfos_prop);
17657
- }
17658
- ObjectFreeze(input_recordTypeInfos);
17659
- const input_themeInfo = input.themeInfo;
17660
- if (input_themeInfo !== null && typeof input_themeInfo === 'object') {
17661
- deepFreeze$D(input_themeInfo);
17662
- }
17663
- ObjectFreeze(input);
17664
- }
17665
17515
  const ingest$1m = function ObjectInfoRepresentationIngest(input, path, luvio, store, timestamp) {
17666
17516
  if (process.env.NODE_ENV !== 'production') {
17667
17517
  const validateError = validate$1l(input);
@@ -17678,7 +17528,6 @@ const ingest$1m = function ObjectInfoRepresentationIngest(input, path, luvio, st
17678
17528
  propertyName: path.propertyName,
17679
17529
  ttl: ttlToUse
17680
17530
  });
17681
- deepFreeze$C(input);
17682
17531
  if (existingRecord === undefined || equals$R(existingRecord, incomingRecord) === false) {
17683
17532
  luvio.storePublish(key, incomingRecord);
17684
17533
  }
@@ -17730,6 +17579,7 @@ function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
17730
17579
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
17731
17580
  }
17732
17581
  }
17582
+ deepFreeze(snapshot.data);
17733
17583
  return snapshot;
17734
17584
  }
17735
17585
  function ingestError$E(luvio, params, error, snapshotRefresh) {
@@ -17913,9 +17763,6 @@ function validate$1k(obj, path = 'RecordLayoutSaveOptionRepresentation') {
17913
17763
  })();
17914
17764
  return v_error === undefined ? null : v_error;
17915
17765
  }
17916
- function deepFreeze$B(input) {
17917
- ObjectFreeze(input);
17918
- }
17919
17766
 
17920
17767
  var DiscriminatorValues$4;
17921
17768
  (function (DiscriminatorValues) {
@@ -17965,9 +17812,6 @@ function validate$1j(obj, path = 'AbstractRecordLayoutComponentRepresentation')
17965
17812
  })();
17966
17813
  return v_error === undefined ? null : v_error;
17967
17814
  }
17968
- function deepFreeze$A(input) {
17969
- ObjectFreeze(input);
17970
- }
17971
17815
 
17972
17816
  function validate$1i(obj, path = 'RecordLayoutItemRepresentation') {
17973
17817
  const v_error = (() => {
@@ -18043,15 +17887,6 @@ function validate$1i(obj, path = 'RecordLayoutItemRepresentation') {
18043
17887
  })();
18044
17888
  return v_error === undefined ? null : v_error;
18045
17889
  }
18046
- function deepFreeze$z(input) {
18047
- const input_layoutComponents = input.layoutComponents;
18048
- for (let i = 0; i < input_layoutComponents.length; i++) {
18049
- const input_layoutComponents_item = input_layoutComponents[i];
18050
- deepFreeze$A(input_layoutComponents_item);
18051
- }
18052
- ObjectFreeze(input_layoutComponents);
18053
- ObjectFreeze(input);
18054
- }
18055
17890
 
18056
17891
  function validate$1h(obj, path = 'RecordLayoutRowRepresentation') {
18057
17892
  const v_error = (() => {
@@ -18076,15 +17911,6 @@ function validate$1h(obj, path = 'RecordLayoutRowRepresentation') {
18076
17911
  })();
18077
17912
  return v_error === undefined ? null : v_error;
18078
17913
  }
18079
- function deepFreeze$y(input) {
18080
- const input_layoutItems = input.layoutItems;
18081
- for (let i = 0; i < input_layoutItems.length; i++) {
18082
- const input_layoutItems_item = input_layoutItems[i];
18083
- deepFreeze$z(input_layoutItems_item);
18084
- }
18085
- ObjectFreeze(input_layoutItems);
18086
- ObjectFreeze(input);
18087
- }
18088
17914
 
18089
17915
  function validate$1g(obj, path = 'RecordLayoutSectionRepresentation') {
18090
17916
  const v_error = (() => {
@@ -18181,15 +18007,6 @@ function validate$1g(obj, path = 'RecordLayoutSectionRepresentation') {
18181
18007
  })();
18182
18008
  return v_error === undefined ? null : v_error;
18183
18009
  }
18184
- function deepFreeze$x(input) {
18185
- const input_layoutRows = input.layoutRows;
18186
- for (let i = 0; i < input_layoutRows.length; i++) {
18187
- const input_layoutRows_item = input_layoutRows[i];
18188
- deepFreeze$y(input_layoutRows_item);
18189
- }
18190
- ObjectFreeze(input_layoutRows);
18191
- ObjectFreeze(input);
18192
- }
18193
18010
 
18194
18011
  const TTL$x = 900000;
18195
18012
  const VERSION$1K = "fb515e25a89ca1ec154dc865e72b913a";
@@ -18387,21 +18204,6 @@ function equals$Q(existing, incoming) {
18387
18204
  }
18388
18205
  return true;
18389
18206
  }
18390
- function deepFreeze$w(input) {
18391
- const input_saveOptions = input.saveOptions;
18392
- for (let i = 0; i < input_saveOptions.length; i++) {
18393
- const input_saveOptions_item = input_saveOptions[i];
18394
- deepFreeze$B(input_saveOptions_item);
18395
- }
18396
- ObjectFreeze(input_saveOptions);
18397
- const input_sections = input.sections;
18398
- for (let i = 0; i < input_sections.length; i++) {
18399
- const input_sections_item = input_sections[i];
18400
- deepFreeze$x(input_sections_item);
18401
- }
18402
- ObjectFreeze(input_sections);
18403
- ObjectFreeze(input);
18404
- }
18405
18207
  const ingest$1l = function RecordLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
18406
18208
  if (process.env.NODE_ENV !== 'production') {
18407
18209
  const validateError = validate$1f(input);
@@ -18418,7 +18220,6 @@ const ingest$1l = function RecordLayoutRepresentationIngest(input, path, luvio,
18418
18220
  propertyName: path.propertyName,
18419
18221
  ttl: ttlToUse
18420
18222
  });
18421
- deepFreeze$w(input);
18422
18223
  if (existingRecord === undefined || equals$Q(existingRecord, incomingRecord) === false) {
18423
18224
  luvio.storePublish(key, incomingRecord);
18424
18225
  }
@@ -18463,9 +18264,6 @@ function validate$1e(obj, path = 'RecordLayoutSectionUserStateRepresentation') {
18463
18264
  })();
18464
18265
  return v_error === undefined ? null : v_error;
18465
18266
  }
18466
- function deepFreeze$v(input) {
18467
- ObjectFreeze(input);
18468
- }
18469
18267
 
18470
18268
  const TTL$w = 900000;
18471
18269
  const VERSION$1J = "4ba42e1fa0fb00cf78fce86082da41c9";
@@ -18564,18 +18362,6 @@ function equals$P(existing, incoming) {
18564
18362
  }
18565
18363
  return true;
18566
18364
  }
18567
- function deepFreeze$u(input) {
18568
- const input_sectionUserStates = input.sectionUserStates;
18569
- const input_sectionUserStates_keys = Object.keys(input_sectionUserStates);
18570
- const input_sectionUserStates_length = input_sectionUserStates_keys.length;
18571
- for (let i = 0; i < input_sectionUserStates_length; i++) {
18572
- const key = input_sectionUserStates_keys[i];
18573
- const input_sectionUserStates_prop = input_sectionUserStates[key];
18574
- deepFreeze$v(input_sectionUserStates_prop);
18575
- }
18576
- ObjectFreeze(input_sectionUserStates);
18577
- ObjectFreeze(input);
18578
- }
18579
18365
  const ingest$1k = function RecordLayoutUserStateRepresentationIngest(input, path, luvio, store, timestamp) {
18580
18366
  if (process.env.NODE_ENV !== 'production') {
18581
18367
  const validateError = validate$1d(input);
@@ -18592,7 +18378,6 @@ const ingest$1k = function RecordLayoutUserStateRepresentationIngest(input, path
18592
18378
  propertyName: path.propertyName,
18593
18379
  ttl: ttlToUse
18594
18380
  });
18595
- deepFreeze$u(input);
18596
18381
  if (existingRecord === undefined || equals$P(existingRecord, incomingRecord) === false) {
18597
18382
  luvio.storePublish(key, incomingRecord);
18598
18383
  }
@@ -21175,6 +20960,7 @@ function ingestSuccess$G(luvio, resourceParams, response, snapshotRefresh) {
21175
20960
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
21176
20961
  }
21177
20962
  }
20963
+ deepFreeze(snapshot.data);
21178
20964
  return snapshot;
21179
20965
  }
21180
20966
  function ingestError$D(luvio, params, error, snapshotRefresh) {
@@ -21462,11 +21248,6 @@ function equals$J(existing, incoming) {
21462
21248
  }
21463
21249
  return true;
21464
21250
  }
21465
- function deepFreeze$t(input) {
21466
- const input_layout = input.layout;
21467
- deepFreeze$w(input_layout);
21468
- ObjectFreeze(input);
21469
- }
21470
21251
  const ingest$1e = function QuickActionLayoutRepresentationIngest(input, path, luvio, store, timestamp) {
21471
21252
  if (process.env.NODE_ENV !== 'production') {
21472
21253
  const validateError = validate$17(input);
@@ -21483,7 +21264,6 @@ const ingest$1e = function QuickActionLayoutRepresentationIngest(input, path, lu
21483
21264
  propertyName: path.propertyName,
21484
21265
  ttl: ttlToUse
21485
21266
  });
21486
- deepFreeze$t(input);
21487
21267
  if (existingRecord === undefined || equals$J(existingRecord, incomingRecord) === false) {
21488
21268
  luvio.storePublish(key, incomingRecord);
21489
21269
  }
@@ -21535,6 +21315,7 @@ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
21535
21315
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
21536
21316
  }
21537
21317
  }
21318
+ deepFreeze(snapshot.data);
21538
21319
  return snapshot;
21539
21320
  }
21540
21321
  function ingestError$C(luvio, params, error, snapshotRefresh) {
@@ -21694,6 +21475,7 @@ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
21694
21475
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
21695
21476
  }
21696
21477
  }
21478
+ deepFreeze(snapshot.data);
21697
21479
  return snapshot;
21698
21480
  }
21699
21481
  function ingestError$B(luvio, params, error, snapshotRefresh) {
@@ -21942,6 +21724,7 @@ function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
21942
21724
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
21943
21725
  }
21944
21726
  }
21727
+ deepFreeze(snapshot.data);
21945
21728
  return snapshot;
21946
21729
  }
21947
21730
  function ingestError$A(luvio, params, error, snapshotRefresh) {
@@ -22160,11 +21943,6 @@ function equals$I(existing, incoming) {
22160
21943
  }
22161
21944
  return true;
22162
21945
  }
22163
- function deepFreeze$s(input) {
22164
- const input_records = input.records;
22165
- ObjectFreeze(input_records);
22166
- ObjectFreeze(input);
22167
- }
22168
21946
  const ingest$1d = function ActionOverrideRepresentationIngest(input, path, luvio, store, timestamp) {
22169
21947
  if (process.env.NODE_ENV !== 'production') {
22170
21948
  const validateError = validate$16(input);
@@ -22181,7 +21959,6 @@ const ingest$1d = function ActionOverrideRepresentationIngest(input, path, luvio
22181
21959
  propertyName: path.propertyName,
22182
21960
  ttl: ttlToUse
22183
21961
  });
22184
- deepFreeze$s(input);
22185
21962
  if (existingRecord === undefined || equals$I(existingRecord, incomingRecord) === false) {
22186
21963
  luvio.storePublish(key, incomingRecord);
22187
21964
  }
@@ -22231,6 +22008,7 @@ function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
22231
22008
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
22232
22009
  }
22233
22010
  }
22011
+ deepFreeze(snapshot.data);
22234
22012
  return snapshot;
22235
22013
  }
22236
22014
  function ingestError$z(luvio, params, error, snapshotRefresh) {
@@ -22842,6 +22620,7 @@ function ingestSuccess$B(luvio, resourceParams, response, snapshotRefresh) {
22842
22620
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
22843
22621
  }
22844
22622
  }
22623
+ deepFreeze(snapshot.data);
22845
22624
  return snapshot;
22846
22625
  }
22847
22626
  function ingestError$x(luvio, params, error, snapshotRefresh) {
@@ -23089,6 +22868,7 @@ function ingestSuccess$A(luvio, resourceParams, response, snapshotRefresh) {
23089
22868
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
23090
22869
  }
23091
22870
  }
22871
+ deepFreeze(snapshot.data);
23092
22872
  return snapshot;
23093
22873
  }
23094
22874
  function ingestError$w(luvio, params, error, snapshotRefresh) {
@@ -23375,6 +23155,7 @@ function ingestSuccess$z(luvio, resourceParams, response, snapshotRefresh) {
23375
23155
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
23376
23156
  }
23377
23157
  }
23158
+ deepFreeze(snapshot.data);
23378
23159
  return snapshot;
23379
23160
  }
23380
23161
  function ingestError$v(luvio, params, error, snapshotRefresh) {
@@ -23490,12 +23271,11 @@ function select$1W(luvio, resourceParams) {
23490
23271
  reader.markStale();
23491
23272
  break;
23492
23273
  }
23493
- ObjectFreeze$1(childSink);
23494
23274
  ArrayPrototypePush.call(results, childSink);
23495
23275
  reader.exitPath();
23496
23276
  }
23497
23277
  reader.assignNonScalar(sink, envelopePath, results);
23498
- ObjectFreeze$1(sink);
23278
+ deepFreeze(sink);
23499
23279
  reader.exitPath();
23500
23280
  return sink;
23501
23281
  },
@@ -23548,7 +23328,6 @@ function ingestSuccess$y(luvio, resourceParams, response, _snapshotRefresh) {
23548
23328
  statusCode: childStatusCode,
23549
23329
  result: childSnapshot.data,
23550
23330
  };
23551
- ObjectFreeze$1(childValue);
23552
23331
  childSnapshotDataResponses.push(childValue);
23553
23332
  }
23554
23333
  else {
@@ -23567,15 +23346,13 @@ function ingestSuccess$y(luvio, resourceParams, response, _snapshotRefresh) {
23567
23346
  statusCode: childStatusCode,
23568
23347
  result: childBody,
23569
23348
  };
23570
- ObjectFreeze$1(childValue);
23571
23349
  childSnapshotDataResponses.push(childValue);
23572
23350
  }
23573
23351
  }
23574
- ObjectFreeze$1(childSnapshotDataResponses);
23575
23352
  const childSnapshotData = {
23576
23353
  results: childSnapshotDataResponses,
23577
23354
  };
23578
- ObjectFreeze$1(childSnapshotData);
23355
+ deepFreeze(childSnapshotData);
23579
23356
  return {
23580
23357
  recordId: key,
23581
23358
  data: childSnapshotData,
@@ -24013,6 +23790,7 @@ function ingestSuccess$x(luvio, resourceParams, response, snapshotRefresh) {
24013
23790
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
24014
23791
  }
24015
23792
  }
23793
+ deepFreeze(snapshot.data);
24016
23794
  return snapshot;
24017
23795
  }
24018
23796
  function ingestError$t(luvio, params, error, snapshotRefresh) {
@@ -24281,27 +24059,6 @@ function equals$G(existing, incoming) {
24281
24059
  }
24282
24060
  return true;
24283
24061
  }
24284
- function deepFreeze$r(input) {
24285
- const input_attributes = input.attributes;
24286
- const input_attributes_keys = Object.keys(input_attributes);
24287
- const input_attributes_length = input_attributes_keys.length;
24288
- for (let i = 0; i < input_attributes_length; i++) {
24289
- const key = input_attributes_keys[i];
24290
- const input_attributes_prop = input_attributes[key];
24291
- deepFreeze$P(input_attributes_prop);
24292
- }
24293
- ObjectFreeze(input_attributes);
24294
- const input_state = input.state;
24295
- const input_state_keys = Object.keys(input_state);
24296
- const input_state_length = input_state_keys.length;
24297
- for (let i = 0; i < input_state_length; i++) {
24298
- const key = input_state_keys[i];
24299
- const input_state_prop = input_state[key];
24300
- ObjectFreeze(input_state_prop);
24301
- }
24302
- ObjectFreeze(input_state);
24303
- ObjectFreeze(input);
24304
- }
24305
24062
  const ingest$1c = function PageReferenceRepresentationIngest(input, path, luvio, store, timestamp) {
24306
24063
  if (process.env.NODE_ENV !== 'production') {
24307
24064
  const validateError = validate$13(input);
@@ -24318,7 +24075,6 @@ const ingest$1c = function PageReferenceRepresentationIngest(input, path, luvio,
24318
24075
  propertyName: path.propertyName,
24319
24076
  ttl: ttlToUse
24320
24077
  });
24321
- deepFreeze$r(input);
24322
24078
  if (existingRecord === undefined || equals$G(existingRecord, incomingRecord) === false) {
24323
24079
  luvio.storePublish(key, incomingRecord);
24324
24080
  }
@@ -25384,6 +25140,7 @@ function ingestSuccess$w(luvio, resourceParams, response, snapshotRefresh) {
25384
25140
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
25385
25141
  }
25386
25142
  }
25143
+ deepFreeze(snapshot.data);
25387
25144
  return snapshot;
25388
25145
  }
25389
25146
  function ingestError$s(luvio, params, error, snapshotRefresh) {
@@ -25562,6 +25319,7 @@ function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
25562
25319
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
25563
25320
  }
25564
25321
  }
25322
+ deepFreeze(snapshot.data);
25565
25323
  return snapshot;
25566
25324
  }
25567
25325
  function ingestError$q(luvio, params, error, snapshotRefresh) {
@@ -26231,6 +25989,7 @@ function ingestSuccess$t(luvio, resourceParams, response, snapshotRefresh) {
26231
25989
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
26232
25990
  }
26233
25991
  }
25992
+ deepFreeze(snapshot.data);
26234
25993
  return snapshot;
26235
25994
  }
26236
25995
  function ingestError$p(luvio, params, error, snapshotRefresh) {
@@ -26872,6 +26631,7 @@ function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
26872
26631
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
26873
26632
  }
26874
26633
  }
26634
+ deepFreeze(snapshot.data);
26875
26635
  return snapshot;
26876
26636
  }
26877
26637
  function ingestError$n(luvio, params, error, snapshotRefresh) {
@@ -27027,12 +26787,11 @@ function selectChildResourceParams$6(luvio, childResources, resourceParams) {
27027
26787
  reader.markPending();
27028
26788
  break;
27029
26789
  }
27030
- ObjectFreeze$1(childSink);
27031
26790
  ArrayPrototypePush.call(results, childSink);
27032
26791
  reader.exitPath();
27033
26792
  }
27034
26793
  reader.assignNonScalar(sink, envelopePath, results);
27035
- ObjectFreeze$1(sink);
26794
+ deepFreeze(sink);
27036
26795
  reader.exitPath();
27037
26796
  return sink;
27038
26797
  },
@@ -27112,7 +26871,6 @@ function ingestSuccessChildResourceParams$5(luvio, childResourceParamsArray, chi
27112
26871
  statusCode: 200,
27113
26872
  result: childSnapshot.data,
27114
26873
  };
27115
- ObjectFreeze$1(childValue);
27116
26874
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
27117
26875
  }
27118
26876
  else {
@@ -27131,7 +26889,6 @@ function ingestSuccessChildResourceParams$5(luvio, childResourceParamsArray, chi
27131
26889
  statusCode: childStatusCode,
27132
26890
  result: childBody,
27133
26891
  };
27134
- ObjectFreeze$1(childValue);
27135
26892
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
27136
26893
  }
27137
26894
  // track non-cached responses so rebuilds work properly
@@ -27146,11 +26903,11 @@ function ingestSuccessChildResourceParams$5(luvio, childResourceParamsArray, chi
27146
26903
  delete nonCachedErrors$6[childKey];
27147
26904
  }
27148
26905
  }
27149
- ObjectFreeze$1(childSnapshotDataResponses);
27150
26906
  const childSnapshotData = {
27151
26907
  results: childSnapshotDataResponses,
27152
26908
  };
27153
- return { childSnapshotData: ObjectFreeze$1(childSnapshotData), seenRecords, snapshotState };
26909
+ deepFreeze(childSnapshotData);
26910
+ return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
27154
26911
  }
27155
26912
  function ingestSuccess$r(luvio, resourceParams, response, snapshotRefresh) {
27156
26913
  const childEnvelopes = response.body.results;
@@ -27636,6 +27393,7 @@ function ingestSuccess$q(luvio, resourceParams, response, snapshotRefresh) {
27636
27393
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
27637
27394
  }
27638
27395
  }
27396
+ deepFreeze(snapshot.data);
27639
27397
  return snapshot;
27640
27398
  }
27641
27399
  function ingestError$l(luvio, params, error, snapshotRefresh) {
@@ -27921,12 +27679,10 @@ function selectChildResourceParams$5(luvio, childResources, resourceParams) {
27921
27679
  reader.markPending();
27922
27680
  break;
27923
27681
  }
27924
- ObjectFreeze$1(childSink);
27925
27682
  ArrayPrototypePush.call(results, childSink);
27926
27683
  reader.exitPath();
27927
27684
  }
27928
27685
  reader.assignNonScalar(sink, envelopePath, results);
27929
- ObjectFreeze$1(sink);
27930
27686
  reader.exitPath();
27931
27687
  return sink;
27932
27688
  }
@@ -27996,7 +27752,7 @@ function ingestSuccessChildResourceParams$4(luvio, childResourceParamsArray, chi
27996
27752
  statusCode: 200,
27997
27753
  result: childSnapshot.data,
27998
27754
  };
27999
- ObjectFreeze$1(childValue);
27755
+ deepFreeze(childValue);
28000
27756
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
28001
27757
  }
28002
27758
  else {
@@ -28015,7 +27771,7 @@ function ingestSuccessChildResourceParams$4(luvio, childResourceParamsArray, chi
28015
27771
  statusCode: childStatusCode,
28016
27772
  result: childBody,
28017
27773
  };
28018
- ObjectFreeze$1(childValue);
27774
+ deepFreeze(childValue);
28019
27775
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
28020
27776
  }
28021
27777
  // track non-cached responses so rebuilds work properly
@@ -28026,11 +27782,11 @@ function ingestSuccessChildResourceParams$4(luvio, childResourceParamsArray, chi
28026
27782
  delete nonCachedErrors$5[childKey];
28027
27783
  }
28028
27784
  }
28029
- ObjectFreeze$1(childSnapshotDataResponses);
28030
27785
  const childSnapshotData = {
28031
27786
  results: childSnapshotDataResponses
28032
27787
  };
28033
- return { childSnapshotData: ObjectFreeze$1(childSnapshotData), seenRecords, snapshotState };
27788
+ deepFreeze(childSnapshotData);
27789
+ return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
28034
27790
  }
28035
27791
  function ingestSuccess$p(luvio, resourceParams, response, snapshotRefresh) {
28036
27792
  const childEnvelopes = response.body.results;
@@ -28739,6 +28495,7 @@ function ingestSuccess$o(luvio, resourceParams, response, snapshotRefresh) {
28739
28495
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
28740
28496
  }
28741
28497
  }
28498
+ deepFreeze(snapshot.data);
28742
28499
  return snapshot;
28743
28500
  }
28744
28501
  function ingestError$j(luvio, params, error, snapshotRefresh) {
@@ -29106,11 +28863,6 @@ function validate$R(obj, path = 'MatchResultInfoRepresentation') {
29106
28863
  })();
29107
28864
  return v_error === undefined ? null : v_error;
29108
28865
  }
29109
- function deepFreeze$q(input) {
29110
- const input_recordIds = input.recordIds;
29111
- ObjectFreeze(input_recordIds);
29112
- ObjectFreeze(input);
29113
- }
29114
28866
 
29115
28867
  function validate$Q(obj, path = 'DuplicateResultInfoRepresentation') {
29116
28868
  const v_error = (() => {
@@ -29138,11 +28890,6 @@ function validate$Q(obj, path = 'DuplicateResultInfoRepresentation') {
29138
28890
  })();
29139
28891
  return v_error === undefined ? null : v_error;
29140
28892
  }
29141
- function deepFreeze$p(input) {
29142
- const input_matchResultInfo = input.matchResultInfo;
29143
- deepFreeze$q(input_matchResultInfo);
29144
- ObjectFreeze(input);
29145
- }
29146
28893
 
29147
28894
  function validate$P(obj, path = 'MatchRepresentation') {
29148
28895
  const v_error = (() => {
@@ -29186,20 +28933,6 @@ function validate$P(obj, path = 'MatchRepresentation') {
29186
28933
  })();
29187
28934
  return v_error === undefined ? null : v_error;
29188
28935
  }
29189
- function deepFreeze$o(input) {
29190
- const input_duplicateResultInfos = input.duplicateResultInfos;
29191
- const input_duplicateResultInfos_keys = Object.keys(input_duplicateResultInfos);
29192
- const input_duplicateResultInfos_length = input_duplicateResultInfos_keys.length;
29193
- for (let i = 0; i < input_duplicateResultInfos_length; i++) {
29194
- const key = input_duplicateResultInfos_keys[i];
29195
- const input_duplicateResultInfos_prop = input_duplicateResultInfos[key];
29196
- deepFreeze$p(input_duplicateResultInfos_prop);
29197
- }
29198
- ObjectFreeze(input_duplicateResultInfos);
29199
- const input_recordIds = input.recordIds;
29200
- ObjectFreeze(input_recordIds);
29201
- ObjectFreeze(input);
29202
- }
29203
28936
 
29204
28937
  const TTL$k = 30000;
29205
28938
  const VERSION$1i = "583c38564fa15ce0fb3dd2807be1bdc6";
@@ -29266,17 +28999,6 @@ function equals$y(existing, incoming) {
29266
28999
  }
29267
29000
  return true;
29268
29001
  }
29269
- function deepFreeze$n(input) {
29270
- const input_duplicateRules = input.duplicateRules;
29271
- ObjectFreeze(input_duplicateRules);
29272
- const input_matches = input.matches;
29273
- for (let i = 0; i < input_matches.length; i++) {
29274
- const input_matches_item = input_matches[i];
29275
- deepFreeze$o(input_matches_item);
29276
- }
29277
- ObjectFreeze(input_matches);
29278
- ObjectFreeze(input);
29279
- }
29280
29002
  const ingest$14 = function DuplicatesRepresentationIngest(input, path, luvio, store, timestamp) {
29281
29003
  if (process.env.NODE_ENV !== 'production') {
29282
29004
  const validateError = validate$O(input);
@@ -29293,7 +29015,6 @@ const ingest$14 = function DuplicatesRepresentationIngest(input, path, luvio, st
29293
29015
  propertyName: path.propertyName,
29294
29016
  ttl: ttlToUse
29295
29017
  });
29296
- deepFreeze$n(input);
29297
29018
  if (existingRecord === undefined || equals$y(existingRecord, incomingRecord) === false) {
29298
29019
  luvio.storePublish(key, incomingRecord);
29299
29020
  }
@@ -29343,6 +29064,7 @@ function ingestSuccess$n(luvio, resourceParams, response, snapshotRefresh) {
29343
29064
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
29344
29065
  }
29345
29066
  }
29067
+ deepFreeze(snapshot.data);
29346
29068
  return snapshot;
29347
29069
  }
29348
29070
  function ingestError$i(luvio, params, error, snapshotRefresh) {
@@ -31442,9 +31164,6 @@ function equals$n(existing, incoming) {
31442
31164
  }
31443
31165
  return true;
31444
31166
  }
31445
- function deepFreeze$m(input) {
31446
- ObjectFreeze(input);
31447
- }
31448
31167
 
31449
31168
  const VERSION$16 = "836b875b519813e7499efc62f0f1d04b";
31450
31169
  function validate$C(obj, path = 'RelatedListRecordCountRepresentation') {
@@ -31629,6 +31348,7 @@ function ingestSuccess$l(luvio, resourceParams, response, snapshotRefresh) {
31629
31348
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
31630
31349
  }
31631
31350
  }
31351
+ deepFreeze(snapshot.data);
31632
31352
  return snapshot;
31633
31353
  }
31634
31354
  function ingestError$g(luvio, params, error, snapshotRefresh) {
@@ -31764,12 +31484,10 @@ function selectChildResourceParams$4(luvio, childResources, resourceParams) {
31764
31484
  reader.markPending();
31765
31485
  break;
31766
31486
  }
31767
- ObjectFreeze$1(childSink);
31768
31487
  ArrayPrototypePush.call(results, childSink);
31769
31488
  reader.exitPath();
31770
31489
  }
31771
31490
  reader.assignNonScalar(sink, envelopePath, results);
31772
- ObjectFreeze$1(sink);
31773
31491
  reader.exitPath();
31774
31492
  return sink;
31775
31493
  }
@@ -31838,7 +31556,7 @@ function ingestSuccessChildResourceParams$3(luvio, childResourceParamsArray, chi
31838
31556
  statusCode: 200,
31839
31557
  result: childSnapshot.data,
31840
31558
  };
31841
- ObjectFreeze$1(childValue);
31559
+ deepFreeze(childValue);
31842
31560
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
31843
31561
  }
31844
31562
  else {
@@ -31857,7 +31575,7 @@ function ingestSuccessChildResourceParams$3(luvio, childResourceParamsArray, chi
31857
31575
  statusCode: childStatusCode,
31858
31576
  result: childBody,
31859
31577
  };
31860
- ObjectFreeze$1(childValue);
31578
+ deepFreeze(childValue);
31861
31579
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
31862
31580
  }
31863
31581
  // track non-cached responses so rebuilds work properly
@@ -31868,11 +31586,11 @@ function ingestSuccessChildResourceParams$3(luvio, childResourceParamsArray, chi
31868
31586
  delete nonCachedErrors$4[childKey];
31869
31587
  }
31870
31588
  }
31871
- ObjectFreeze$1(childSnapshotDataResponses);
31872
31589
  const childSnapshotData = {
31873
31590
  results: childSnapshotDataResponses
31874
31591
  };
31875
- return { childSnapshotData: ObjectFreeze$1(childSnapshotData), seenRecords, snapshotState };
31592
+ deepFreeze(childSnapshotData);
31593
+ return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
31876
31594
  }
31877
31595
  function ingestSuccess$k(luvio, resourceParams, response, snapshotRefresh) {
31878
31596
  const childEnvelopes = response.body.results;
@@ -32331,20 +32049,6 @@ function validate$B(obj, path = 'RelatedListColumnRepresentation') {
32331
32049
  })();
32332
32050
  return v_error === undefined ? null : v_error;
32333
32051
  }
32334
- function deepFreeze$l(input) {
32335
- const input_picklistValues = input.picklistValues;
32336
- for (let i = 0; i < input_picklistValues.length; i++) {
32337
- const input_picklistValues_item = input_picklistValues[i];
32338
- const input_picklistValues_item_keys = Object.keys(input_picklistValues_item);
32339
- const input_picklistValues_item_length = input_picklistValues_item_keys.length;
32340
- for (let i = 0; i < input_picklistValues_item_length; i++) {
32341
- input_picklistValues_item_keys[i];
32342
- }
32343
- ObjectFreeze(input_picklistValues_item);
32344
- }
32345
- ObjectFreeze(input_picklistValues);
32346
- ObjectFreeze(input);
32347
- }
32348
32052
 
32349
32053
  const TTL$h = 900000;
32350
32054
  const VERSION$15 = "c977d65d153a2b4e888ddd45fb083248";
@@ -32632,37 +32336,6 @@ function equals$l(existing, incoming) {
32632
32336
  }
32633
32337
  return true;
32634
32338
  }
32635
- function deepFreeze$k(input) {
32636
- const input_displayColumns = input.displayColumns;
32637
- for (let i = 0; i < input_displayColumns.length; i++) {
32638
- const input_displayColumns_item = input_displayColumns[i];
32639
- deepFreeze$l(input_displayColumns_item);
32640
- }
32641
- ObjectFreeze(input_displayColumns);
32642
- const input_fields = input.fields;
32643
- ObjectFreeze(input_fields);
32644
- const input_filteredByInfo = input.filteredByInfo;
32645
- for (let i = 0; i < input_filteredByInfo.length; i++) {
32646
- const input_filteredByInfo_item = input_filteredByInfo[i];
32647
- deepFreeze$O(input_filteredByInfo_item);
32648
- }
32649
- ObjectFreeze(input_filteredByInfo);
32650
- const input_listReference = input.listReference;
32651
- deepFreeze$m(input_listReference);
32652
- const input_objectApiNames = input.objectApiNames;
32653
- ObjectFreeze(input_objectApiNames);
32654
- const input_optionalFields = input.optionalFields;
32655
- ObjectFreeze(input_optionalFields);
32656
- const input_orderedByInfo = input.orderedByInfo;
32657
- for (let i = 0; i < input_orderedByInfo.length; i++) {
32658
- const input_orderedByInfo_item = input_orderedByInfo[i];
32659
- deepFreeze$N(input_orderedByInfo_item);
32660
- }
32661
- ObjectFreeze(input_orderedByInfo);
32662
- const input_userPreferences = input.userPreferences;
32663
- deepFreeze$M(input_userPreferences);
32664
- ObjectFreeze(input);
32665
- }
32666
32339
  const ingest$Y = function RelatedListInfoRepresentationIngest(input, path, luvio, store, timestamp) {
32667
32340
  if (process.env.NODE_ENV !== 'production') {
32668
32341
  const validateError = validate$A(input);
@@ -32679,7 +32352,6 @@ const ingest$Y = function RelatedListInfoRepresentationIngest(input, path, luvio
32679
32352
  propertyName: path.propertyName,
32680
32353
  ttl: ttlToUse
32681
32354
  });
32682
- deepFreeze$k(input);
32683
32355
  if (existingRecord === undefined || equals$l(existingRecord, incomingRecord) === false) {
32684
32356
  luvio.storePublish(key, incomingRecord);
32685
32357
  }
@@ -32736,6 +32408,7 @@ function ingestSuccess$j(luvio, resourceParams, response, snapshotRefresh) {
32736
32408
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
32737
32409
  }
32738
32410
  }
32411
+ deepFreeze(snapshot.data);
32739
32412
  return snapshot;
32740
32413
  }
32741
32414
  function ingestError$e(luvio, params, error, snapshotRefresh) {
@@ -32881,12 +32554,10 @@ function selectChildResourceParams$3(luvio, childResources, resourceParams) {
32881
32554
  reader.markPending();
32882
32555
  break;
32883
32556
  }
32884
- ObjectFreeze$1(childSink);
32885
32557
  ArrayPrototypePush.call(results, childSink);
32886
32558
  reader.exitPath();
32887
32559
  }
32888
32560
  reader.assignNonScalar(sink, envelopePath, results);
32889
- ObjectFreeze$1(sink);
32890
32561
  reader.exitPath();
32891
32562
  return sink;
32892
32563
  }
@@ -32956,7 +32627,7 @@ function ingestSuccessChildResourceParams$2(luvio, childResourceParamsArray, chi
32956
32627
  statusCode: 200,
32957
32628
  result: childSnapshot.data,
32958
32629
  };
32959
- ObjectFreeze$1(childValue);
32630
+ deepFreeze(childValue);
32960
32631
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
32961
32632
  }
32962
32633
  else {
@@ -32975,7 +32646,7 @@ function ingestSuccessChildResourceParams$2(luvio, childResourceParamsArray, chi
32975
32646
  statusCode: childStatusCode,
32976
32647
  result: childBody,
32977
32648
  };
32978
- ObjectFreeze$1(childValue);
32649
+ deepFreeze(childValue);
32979
32650
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
32980
32651
  }
32981
32652
  // track non-cached responses so rebuilds work properly
@@ -32986,11 +32657,11 @@ function ingestSuccessChildResourceParams$2(luvio, childResourceParamsArray, chi
32986
32657
  delete nonCachedErrors$3[childKey];
32987
32658
  }
32988
32659
  }
32989
- ObjectFreeze$1(childSnapshotDataResponses);
32990
32660
  const childSnapshotData = {
32991
32661
  results: childSnapshotDataResponses
32992
32662
  };
32993
- return { childSnapshotData: ObjectFreeze$1(childSnapshotData), seenRecords, snapshotState };
32663
+ deepFreeze(childSnapshotData);
32664
+ return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
32994
32665
  }
32995
32666
  function ingestSuccess$i(luvio, resourceParams, response, snapshotRefresh) {
32996
32667
  const childEnvelopes = response.body.results;
@@ -33311,13 +32982,6 @@ function validate$z(obj, path = 'RelatedListSummaryInfoRepresentation') {
33311
32982
  })();
33312
32983
  return v_error === undefined ? null : v_error;
33313
32984
  }
33314
- function deepFreeze$j(input) {
33315
- const input_themeInfo = input.themeInfo;
33316
- if (input_themeInfo !== null && typeof input_themeInfo === 'object') {
33317
- deepFreeze$D(input_themeInfo);
33318
- }
33319
- ObjectFreeze(input);
33320
- }
33321
32985
 
33322
32986
  const VERSION$14 = "2a1722afba0e1ee52d6b7b0a25ccd9f4";
33323
32987
  function validate$y(obj, path = 'RelatedListSummaryInfoCollectionRepresentation') {
@@ -33423,15 +33087,6 @@ function equals$k(existing, incoming) {
33423
33087
  }
33424
33088
  return true;
33425
33089
  }
33426
- function deepFreeze$i(input) {
33427
- const input_relatedLists = input.relatedLists;
33428
- for (let i = 0; i < input_relatedLists.length; i++) {
33429
- const input_relatedLists_item = input_relatedLists[i];
33430
- deepFreeze$j(input_relatedLists_item);
33431
- }
33432
- ObjectFreeze(input_relatedLists);
33433
- ObjectFreeze(input);
33434
- }
33435
33090
  const ingest$X = function RelatedListSummaryInfoCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
33436
33091
  if (process.env.NODE_ENV !== 'production') {
33437
33092
  const validateError = validate$y(input);
@@ -33448,7 +33103,6 @@ const ingest$X = function RelatedListSummaryInfoCollectionRepresentationIngest(i
33448
33103
  propertyName: path.propertyName,
33449
33104
  ttl: ttlToUse
33450
33105
  });
33451
- deepFreeze$i(input);
33452
33106
  if (existingRecord === undefined || equals$k(existingRecord, incomingRecord) === false) {
33453
33107
  luvio.storePublish(key, incomingRecord);
33454
33108
  }
@@ -33501,6 +33155,7 @@ function ingestSuccess$h(luvio, resourceParams, response, snapshotRefresh) {
33501
33155
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
33502
33156
  }
33503
33157
  }
33158
+ deepFreeze(snapshot.data);
33504
33159
  return snapshot;
33505
33160
  }
33506
33161
  function ingestError$c(luvio, params, error, snapshotRefresh) {
@@ -33910,29 +33565,6 @@ function equals$j(existing, incoming) {
33910
33565
  }
33911
33566
  return true;
33912
33567
  }
33913
- function deepFreeze$h(input) {
33914
- const input_columnWidths = input.columnWidths;
33915
- const input_columnWidths_keys = Object.keys(input_columnWidths);
33916
- const input_columnWidths_length = input_columnWidths_keys.length;
33917
- for (let i = 0; i < input_columnWidths_length; i++) {
33918
- input_columnWidths_keys[i];
33919
- }
33920
- ObjectFreeze(input_columnWidths);
33921
- const input_columnWrap = input.columnWrap;
33922
- const input_columnWrap_keys = Object.keys(input_columnWrap);
33923
- const input_columnWrap_length = input_columnWrap_keys.length;
33924
- for (let i = 0; i < input_columnWrap_length; i++) {
33925
- input_columnWrap_keys[i];
33926
- }
33927
- ObjectFreeze(input_columnWrap);
33928
- const input_orderedBy = input.orderedBy;
33929
- for (let i = 0; i < input_orderedBy.length; i++) {
33930
- const input_orderedBy_item = input_orderedBy[i];
33931
- deepFreeze$N(input_orderedBy_item);
33932
- }
33933
- ObjectFreeze(input_orderedBy);
33934
- ObjectFreeze(input);
33935
- }
33936
33568
  const ingest$W = function RelatedListUserPreferencesRepresentationIngest(input, path, luvio, store, timestamp) {
33937
33569
  if (process.env.NODE_ENV !== 'production') {
33938
33570
  const validateError = validate$v(input);
@@ -33949,7 +33581,6 @@ const ingest$W = function RelatedListUserPreferencesRepresentationIngest(input,
33949
33581
  propertyName: path.propertyName,
33950
33582
  ttl: ttlToUse
33951
33583
  });
33952
- deepFreeze$h(input);
33953
33584
  if (existingRecord === undefined || equals$j(existingRecord, incomingRecord) === false) {
33954
33585
  luvio.storePublish(key, incomingRecord);
33955
33586
  }
@@ -34001,6 +33632,7 @@ function ingestSuccess$f(luvio, resourceParams, response, snapshotRefresh) {
34001
33632
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
34002
33633
  }
34003
33634
  }
33635
+ deepFreeze(snapshot.data);
34004
33636
  return snapshot;
34005
33637
  }
34006
33638
  function ingestError$b(luvio, params, error, snapshotRefresh) {
@@ -34138,12 +33770,10 @@ function selectChildResourceParams$2(luvio, childResources, resourceParams) {
34138
33770
  reader.markPending();
34139
33771
  break;
34140
33772
  }
34141
- ObjectFreeze$1(childSink);
34142
33773
  ArrayPrototypePush.call(results, childSink);
34143
33774
  reader.exitPath();
34144
33775
  }
34145
33776
  reader.assignNonScalar(sink, envelopePath, results);
34146
- ObjectFreeze$1(sink);
34147
33777
  reader.exitPath();
34148
33778
  return sink;
34149
33779
  }
@@ -34213,7 +33843,7 @@ function ingestSuccessChildResourceParams$1(luvio, childResourceParamsArray, chi
34213
33843
  statusCode: 200,
34214
33844
  result: childSnapshot.data,
34215
33845
  };
34216
- ObjectFreeze$1(childValue);
33846
+ deepFreeze(childValue);
34217
33847
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
34218
33848
  }
34219
33849
  else {
@@ -34232,7 +33862,7 @@ function ingestSuccessChildResourceParams$1(luvio, childResourceParamsArray, chi
34232
33862
  statusCode: childStatusCode,
34233
33863
  result: childBody,
34234
33864
  };
34235
- ObjectFreeze$1(childValue);
33865
+ deepFreeze(childValue);
34236
33866
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
34237
33867
  }
34238
33868
  // track non-cached responses so rebuilds work properly
@@ -34243,11 +33873,11 @@ function ingestSuccessChildResourceParams$1(luvio, childResourceParamsArray, chi
34243
33873
  delete nonCachedErrors$2[childKey];
34244
33874
  }
34245
33875
  }
34246
- ObjectFreeze$1(childSnapshotDataResponses);
34247
33876
  const childSnapshotData = {
34248
33877
  results: childSnapshotDataResponses
34249
33878
  };
34250
- return { childSnapshotData: ObjectFreeze$1(childSnapshotData), seenRecords, snapshotState };
33879
+ deepFreeze(childSnapshotData);
33880
+ return { childSnapshotData: childSnapshotData, seenRecords, snapshotState };
34251
33881
  }
34252
33882
  function ingestSuccess$e(luvio, resourceParams, response, snapshotRefresh) {
34253
33883
  const childEnvelopes = response.body.results;
@@ -35121,7 +34751,6 @@ const dynamicSelect$4 = function dynamicRelatedListRecordCollectionRepresentatio
35121
34751
  reader.exitPath();
35122
34752
  }
35123
34753
  reader.exitPath();
35124
- ObjectFreeze(itemsSink);
35125
34754
  reader.assignNonScalar(sink, itemsProperty, itemsSink);
35126
34755
  }
35127
34756
  reader.enterPath('currentPageToken');
@@ -35590,12 +35219,11 @@ function selectChildResourceParams$1(luvio, childResources, resourceParams) {
35590
35219
  reader.markPending();
35591
35220
  break;
35592
35221
  }
35593
- ObjectFreeze$1(childSink);
35594
35222
  ArrayPrototypePush.call(results, childSink);
35595
35223
  reader.exitPath();
35596
35224
  }
35597
35225
  reader.assignNonScalar(sink, envelopePath, results);
35598
- ObjectFreeze$1(sink);
35226
+ deepFreeze(sink);
35599
35227
  reader.exitPath();
35600
35228
  return sink;
35601
35229
  },
@@ -35687,7 +35315,6 @@ function ingestSuccess$b(luvio, resourceParams, response, _snapshotRefresh) {
35687
35315
  statusCode: childStatusCode,
35688
35316
  result: childSnapshot.data,
35689
35317
  };
35690
- ObjectFreeze$1(childValue);
35691
35318
  childSnapshotDataResponses.push(childValue);
35692
35319
  }
35693
35320
  else {
@@ -35706,15 +35333,13 @@ function ingestSuccess$b(luvio, resourceParams, response, _snapshotRefresh) {
35706
35333
  statusCode: childStatusCode,
35707
35334
  result: childBody,
35708
35335
  };
35709
- ObjectFreeze$1(childValue);
35710
35336
  childSnapshotDataResponses.push(childValue);
35711
35337
  }
35712
35338
  }
35713
- ObjectFreeze$1(childSnapshotDataResponses);
35714
35339
  const childSnapshotData = {
35715
35340
  results: childSnapshotDataResponses,
35716
35341
  };
35717
- ObjectFreeze$1(childSnapshotData);
35342
+ deepFreeze(childSnapshotData);
35718
35343
  return {
35719
35344
  recordId: key,
35720
35345
  data: childSnapshotData,
@@ -36150,9 +35775,6 @@ const select$13 = function SearchFilterOptionRepresentationSelect() {
36150
35775
  ]
36151
35776
  };
36152
35777
  };
36153
- function deepFreeze$g(input) {
36154
- ObjectFreeze(input);
36155
- }
36156
35778
 
36157
35779
  const VERSION$10 = "c00590d1dd241d43de42d1be20a6a179";
36158
35780
  const select$12 = function SearchFilterSelectAttributesRepresentationSelect() {
@@ -36533,6 +36155,7 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
36533
36155
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
36534
36156
  }
36535
36157
  }
36158
+ deepFreeze(snapshot.data);
36536
36159
  return snapshot;
36537
36160
  }
36538
36161
  function ingestError$7(luvio, params, error, snapshotRefresh) {
@@ -36759,15 +36382,6 @@ function equals$e(existing, incoming) {
36759
36382
  }
36760
36383
  return true;
36761
36384
  }
36762
- function deepFreeze$f(input) {
36763
- const input_options = input.options;
36764
- for (let i = 0; i < input_options.length; i++) {
36765
- const input_options_item = input_options[i];
36766
- deepFreeze$g(input_options_item);
36767
- }
36768
- ObjectFreeze(input_options);
36769
- ObjectFreeze(input);
36770
- }
36771
36385
  const ingest$T = function SearchFilterOptionCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
36772
36386
  if (process.env.NODE_ENV !== 'production') {
36773
36387
  const validateError = validate$o(input);
@@ -36784,7 +36398,6 @@ const ingest$T = function SearchFilterOptionCollectionRepresentationIngest(input
36784
36398
  propertyName: path.propertyName,
36785
36399
  ttl: ttlToUse
36786
36400
  });
36787
- deepFreeze$f(input);
36788
36401
  if (existingRecord === undefined || equals$e(existingRecord, incomingRecord) === false) {
36789
36402
  luvio.storePublish(key, incomingRecord);
36790
36403
  }
@@ -36838,6 +36451,7 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
36838
36451
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
36839
36452
  }
36840
36453
  }
36454
+ deepFreeze(snapshot.data);
36841
36455
  return snapshot;
36842
36456
  }
36843
36457
  function ingestError$6(luvio, params, error, snapshotRefresh) {
@@ -37005,11 +36619,6 @@ function validate$n(obj, path = 'DisplayLayoutRepresentation') {
37005
36619
  })();
37006
36620
  return v_error === undefined ? null : v_error;
37007
36621
  }
37008
- function deepFreeze$e(input) {
37009
- const input_displayFields = input.displayFields;
37010
- ObjectFreeze(input_displayFields);
37011
- ObjectFreeze(input);
37012
- }
37013
36622
 
37014
36623
  function validate$m(obj, path = 'MatchingInfoRepresentation') {
37015
36624
  const v_error = (() => {
@@ -37031,11 +36640,6 @@ function validate$m(obj, path = 'MatchingInfoRepresentation') {
37031
36640
  })();
37032
36641
  return v_error === undefined ? null : v_error;
37033
36642
  }
37034
- function deepFreeze$d(input) {
37035
- const input_matchingFields = input.matchingFields;
37036
- ObjectFreeze(input_matchingFields);
37037
- ObjectFreeze(input);
37038
- }
37039
36643
 
37040
36644
  function validate$l(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
37041
36645
  const v_error = (() => {
@@ -37061,13 +36665,6 @@ function validate$l(obj, path = 'DisplayLayoutAndMatchingInfoRepresentation') {
37061
36665
  })();
37062
36666
  return v_error === undefined ? null : v_error;
37063
36667
  }
37064
- function deepFreeze$c(input) {
37065
- const input_displayLayout = input.displayLayout;
37066
- deepFreeze$e(input_displayLayout);
37067
- const input_matchingInfo = input.matchingInfo;
37068
- deepFreeze$d(input_matchingInfo);
37069
- ObjectFreeze(input);
37070
- }
37071
36668
 
37072
36669
  function validate$k(obj, path = 'LookupMetadataTargetInfoRepresentation') {
37073
36670
  const v_error = (() => {
@@ -37098,13 +36695,6 @@ function validate$k(obj, path = 'LookupMetadataTargetInfoRepresentation') {
37098
36695
  })();
37099
36696
  return v_error === undefined ? null : v_error;
37100
36697
  }
37101
- function deepFreeze$b(input) {
37102
- const input_fullSearchInfo = input.fullSearchInfo;
37103
- deepFreeze$c(input_fullSearchInfo);
37104
- const input_suggestionsInfo = input.suggestionsInfo;
37105
- deepFreeze$c(input_suggestionsInfo);
37106
- ObjectFreeze(input);
37107
- }
37108
36698
 
37109
36699
  const TTL$c = 30000;
37110
36700
  const VERSION$W = "ab99b79a5e8a78e051ec92b39d76a6bd";
@@ -37197,18 +36787,6 @@ function equals$d(existing, incoming) {
37197
36787
  }
37198
36788
  return true;
37199
36789
  }
37200
- function deepFreeze$a(input) {
37201
- const input_targetInfo = input.targetInfo;
37202
- const input_targetInfo_keys = Object.keys(input_targetInfo);
37203
- const input_targetInfo_length = input_targetInfo_keys.length;
37204
- for (let i = 0; i < input_targetInfo_length; i++) {
37205
- const key = input_targetInfo_keys[i];
37206
- const input_targetInfo_prop = input_targetInfo[key];
37207
- deepFreeze$b(input_targetInfo_prop);
37208
- }
37209
- ObjectFreeze(input_targetInfo);
37210
- ObjectFreeze(input);
37211
- }
37212
36790
  const ingest$S = function LookupMetadataRepresentationIngest(input, path, luvio, store, timestamp) {
37213
36791
  if (process.env.NODE_ENV !== 'production') {
37214
36792
  const validateError = validate$j(input);
@@ -37225,7 +36803,6 @@ const ingest$S = function LookupMetadataRepresentationIngest(input, path, luvio,
37225
36803
  propertyName: path.propertyName,
37226
36804
  ttl: ttlToUse
37227
36805
  });
37228
- deepFreeze$a(input);
37229
36806
  if (existingRecord === undefined || equals$d(existingRecord, incomingRecord) === false) {
37230
36807
  luvio.storePublish(key, incomingRecord);
37231
36808
  }
@@ -37278,6 +36855,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
37278
36855
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
37279
36856
  }
37280
36857
  }
36858
+ deepFreeze(snapshot.data);
37281
36859
  return snapshot;
37282
36860
  }
37283
36861
  function ingestError$5(luvio, params, error, snapshotRefresh) {
@@ -37457,36 +37035,6 @@ function validate$i(obj, path = 'ErrorMessageRepresentation') {
37457
37035
  })();
37458
37036
  return v_error === undefined ? null : v_error;
37459
37037
  }
37460
- function deepFreeze$9(input) {
37461
- ObjectFreeze(input);
37462
- }
37463
-
37464
- function deepFreeze$8(input) {
37465
- const input_fields = input.fields;
37466
- const input_fields_keys = Object.keys(input_fields);
37467
- const input_fields_length = input_fields_keys.length;
37468
- for (let i = 0; i < input_fields_length; i++) {
37469
- input_fields_keys[i];
37470
- }
37471
- ObjectFreeze(input_fields);
37472
- ObjectFreeze(input);
37473
- }
37474
-
37475
- function deepFreeze$7(input) {
37476
- ObjectFreeze(input);
37477
- }
37478
-
37479
- function deepFreeze$6(input) {
37480
- const input_highlightInfo = input.highlightInfo;
37481
- if (input_highlightInfo !== undefined) {
37482
- deepFreeze$8(input_highlightInfo);
37483
- }
37484
- const input_record = input.record;
37485
- deepFreeze$I(input_record);
37486
- const input_searchInfo = input.searchInfo;
37487
- deepFreeze$7(input_searchInfo);
37488
- ObjectFreeze(input);
37489
- }
37490
37038
 
37491
37039
  function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
37492
37040
  const v_error = (() => {
@@ -37631,27 +37179,6 @@ function validate$h(obj, path = 'SearchResultCollectionRepresentation') {
37631
37179
  })();
37632
37180
  return v_error === undefined ? null : v_error;
37633
37181
  }
37634
- function deepFreeze$5(input) {
37635
- const input_error = input.error;
37636
- if (input_error !== null && typeof input_error === 'object') {
37637
- deepFreeze$9(input_error);
37638
- }
37639
- const input_orderBy = input.orderBy;
37640
- for (let i = 0; i < input_orderBy.length; i++) {
37641
- const input_orderBy_item = input_orderBy[i];
37642
- deepFreeze$N(input_orderBy_item);
37643
- }
37644
- ObjectFreeze(input_orderBy);
37645
- const input_records = input.records;
37646
- for (let i = 0; i < input_records.length; i++) {
37647
- const input_records_item = input_records[i];
37648
- deepFreeze$6(input_records_item);
37649
- }
37650
- ObjectFreeze(input_records);
37651
- const input_relatedObjectApiNames = input.relatedObjectApiNames;
37652
- ObjectFreeze(input_relatedObjectApiNames);
37653
- ObjectFreeze(input);
37654
- }
37655
37182
 
37656
37183
  function validate$g(obj, path = 'KeywordSearchResultsRepresentation') {
37657
37184
  const v_error = (() => {
@@ -37673,15 +37200,6 @@ function validate$g(obj, path = 'KeywordSearchResultsRepresentation') {
37673
37200
  })();
37674
37201
  return v_error === undefined ? null : v_error;
37675
37202
  }
37676
- function deepFreeze$4(input) {
37677
- const input_results = input.results;
37678
- for (let i = 0; i < input_results.length; i++) {
37679
- const input_results_item = input_results[i];
37680
- deepFreeze$5(input_results_item);
37681
- }
37682
- ObjectFreeze(input_results);
37683
- ObjectFreeze(input);
37684
- }
37685
37203
 
37686
37204
  function validate$f(obj, path = 'QnASearchResultRepresentation') {
37687
37205
  const v_error = (() => {
@@ -37716,9 +37234,6 @@ function validate$f(obj, path = 'QnASearchResultRepresentation') {
37716
37234
  })();
37717
37235
  return v_error === undefined ? null : v_error;
37718
37236
  }
37719
- function deepFreeze$3(input) {
37720
- ObjectFreeze(input);
37721
- }
37722
37237
 
37723
37238
  const TTL$b = 200;
37724
37239
  const VERSION$V = "9760c93d10288bb6889882c757514189";
@@ -37825,17 +37340,6 @@ function equals$c(existing, incoming) {
37825
37340
  }
37826
37341
  return true;
37827
37342
  }
37828
- function deepFreeze$2(input) {
37829
- const input_keywordSearchResults = input.keywordSearchResults;
37830
- if (input_keywordSearchResults !== null && typeof input_keywordSearchResults === 'object') {
37831
- deepFreeze$4(input_keywordSearchResults);
37832
- }
37833
- const input_qnaResult = input.qnaResult;
37834
- if (input_qnaResult !== null && typeof input_qnaResult === 'object') {
37835
- deepFreeze$3(input_qnaResult);
37836
- }
37837
- ObjectFreeze(input);
37838
- }
37839
37343
  const ingest$R = function SearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
37840
37344
  if (process.env.NODE_ENV !== 'production') {
37841
37345
  const validateError = validate$e(input);
@@ -37852,7 +37356,6 @@ const ingest$R = function SearchResultsSummaryRepresentationIngest(input, path,
37852
37356
  propertyName: path.propertyName,
37853
37357
  ttl: ttlToUse
37854
37358
  });
37855
- deepFreeze$2(input);
37856
37359
  if (existingRecord === undefined || equals$c(existingRecord, incomingRecord) === false) {
37857
37360
  luvio.storePublish(key, incomingRecord);
37858
37361
  }
@@ -37904,6 +37407,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
37904
37407
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
37905
37408
  }
37906
37409
  }
37410
+ deepFreeze(snapshot.data);
37907
37411
  return snapshot;
37908
37412
  }
37909
37413
  function ingestError$4(luvio, params, error, snapshotRefresh) {
@@ -38199,11 +37703,6 @@ function equals$b(existing, incoming) {
38199
37703
  }
38200
37704
  return true;
38201
37705
  }
38202
- function deepFreeze$1(input) {
38203
- const input_keywordSearchResult = input.keywordSearchResult;
38204
- deepFreeze$5(input_keywordSearchResult);
38205
- ObjectFreeze(input);
38206
- }
38207
37706
  const ingest$Q = function KeywordSearchResultsSummaryRepresentationIngest(input, path, luvio, store, timestamp) {
38208
37707
  if (process.env.NODE_ENV !== 'production') {
38209
37708
  const validateError = validate$c(input);
@@ -38220,7 +37719,6 @@ const ingest$Q = function KeywordSearchResultsSummaryRepresentationIngest(input,
38220
37719
  propertyName: path.propertyName,
38221
37720
  ttl: ttlToUse
38222
37721
  });
38223
- deepFreeze$1(input);
38224
37722
  if (existingRecord === undefined || equals$b(existingRecord, incomingRecord) === false) {
38225
37723
  luvio.storePublish(key, incomingRecord);
38226
37724
  }
@@ -38273,6 +37771,7 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
38273
37771
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
38274
37772
  }
38275
37773
  }
37774
+ deepFreeze(snapshot.data);
38276
37775
  return snapshot;
38277
37776
  }
38278
37777
  function ingestError$3(luvio, params, error, snapshotRefresh) {
@@ -50182,7 +49681,7 @@ function ingestTypeWithStrategy(astNode, state, isCursorConnectionType, { key, i
50182
49681
  const fieldKey = getSerializedKeyForField(requestedField, variables, fieldType);
50183
49682
  if (fieldType === undefined) {
50184
49683
  console.warn(`Unknown Field: ${requestedField}. This field or nested fields cannot participate in normalization`);
50185
- deepFreeze$P(fieldData);
49684
+ deepFreeze(fieldData);
50186
49685
  sink[fieldKey] = fieldData;
50187
49686
  continue;
50188
49687
  }
@@ -51102,10 +50601,11 @@ function selectTypeLinkWithPagination(resolvedLink, sel, fieldData, reader, key,
51102
50601
  }
51103
50602
  }
51104
50603
  }
50604
+ deepFreeze(trimmedEdges);
51105
50605
  const paginatedData = {
51106
50606
  data: {
51107
50607
  ...source,
51108
- edges: ObjectFreeze(trimmedEdges),
50608
+ edges: trimmedEdges,
51109
50609
  }
51110
50610
  };
51111
50611
  reader.markSeenId(parentRecordId);
@@ -51508,12 +51008,11 @@ function selectChildResourceParams(luvio, childResources, resourceParams) {
51508
51008
  reader.markPending();
51509
51009
  break;
51510
51010
  }
51511
- ObjectFreeze$1(childSink);
51512
51011
  ArrayPrototypePush.call(results, childSink);
51513
51012
  reader.exitPath();
51514
51013
  }
51515
51014
  reader.assignNonScalar(sink, envelopePath, results);
51516
- ObjectFreeze$1(sink);
51015
+ deepFreeze(sink);
51517
51016
  reader.exitPath();
51518
51017
  return sink;
51519
51018
  },
@@ -51595,7 +51094,6 @@ function ingestSuccessChildResourceParams(luvio, childConfigs, childResourcePara
51595
51094
  statusCode: 200,
51596
51095
  result: childSnapshot.data,
51597
51096
  };
51598
- ObjectFreeze$1(childValue);
51599
51097
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
51600
51098
  }
51601
51099
  else {
@@ -51614,7 +51112,6 @@ function ingestSuccessChildResourceParams(luvio, childConfigs, childResourcePara
51614
51112
  statusCode: childStatusCode,
51615
51113
  result: childBody,
51616
51114
  };
51617
- ObjectFreeze$1(childValue);
51618
51115
  ArrayPrototypePush.call(childSnapshotDataResponses, childValue);
51619
51116
  }
51620
51117
  // track non-cached responses so rebuilds work properly
@@ -51625,12 +51122,12 @@ function ingestSuccessChildResourceParams(luvio, childConfigs, childResourcePara
51625
51122
  delete nonCachedErrors[childKey];
51626
51123
  }
51627
51124
  }
51628
- ObjectFreeze$1(childSnapshotDataResponses);
51629
51125
  const childSnapshotData = {
51630
51126
  results: childSnapshotDataResponses,
51631
51127
  };
51128
+ deepFreeze(childSnapshotData);
51632
51129
  return {
51633
- childSnapshotData: ObjectFreeze$1(childSnapshotData),
51130
+ childSnapshotData: childSnapshotData,
51634
51131
  seenRecords,
51635
51132
  snapshotState,
51636
51133
  };
@@ -51988,6 +51485,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
51988
51485
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
51989
51486
  }
51990
51487
  }
51488
+ deepFreeze(snapshot.data);
51991
51489
  return snapshot;
51992
51490
  }
51993
51491
  function createResourceRequest$c(config) {
@@ -52103,7 +51601,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
52103
51601
  return luvio.storeBroadcast().then(() => snapshot);
52104
51602
  }, () => getResponseCacheKeys$9(luvio, resourceParams, response.body));
52105
51603
  }, (response) => {
52106
- deepFreeze$P(response);
51604
+ deepFreeze(response);
52107
51605
  throw response;
52108
51606
  });
52109
51607
  }
@@ -52140,6 +51638,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
52140
51638
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
52141
51639
  }
52142
51640
  }
51641
+ deepFreeze(snapshot.data);
52143
51642
  return snapshot;
52144
51643
  }
52145
51644
  function createResourceRequest$b(config) {
@@ -52255,7 +51754,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
52255
51754
  return luvio.storeBroadcast().then(() => snapshot);
52256
51755
  }, () => getResponseCacheKeys$8(luvio, resourceParams, response.body));
52257
51756
  }, (response) => {
52258
- deepFreeze$P(response);
51757
+ deepFreeze(response);
52259
51758
  throw response;
52260
51759
  });
52261
51760
  }
@@ -52272,25 +51771,6 @@ const performQuickActionAdapterFactory = (luvio) => {
52272
51771
 
52273
51772
  const factory$c = performQuickActionAdapterFactory;
52274
51773
 
52275
- function deepFreeze(value) {
52276
- // No need to freeze primitives
52277
- if (typeof value !== 'object' || value === null) {
52278
- return;
52279
- }
52280
- if (isArray(value)) {
52281
- for (let i = 0, len = value.length; i < len; i += 1) {
52282
- deepFreeze(value[i]);
52283
- }
52284
- }
52285
- else {
52286
- const keys$1 = keys(value);
52287
- for (let i = 0, len = keys$1.length; i < len; i += 1) {
52288
- deepFreeze(value[keys$1[i]]);
52289
- }
52290
- }
52291
- freeze(value);
52292
- }
52293
-
52294
51774
  function buildNetworkSnapshot$9(luvio, config, options, cacheSnapshot) {
52295
51775
  const resourceParams = createResourceParams$8(config);
52296
51776
  const request = prepareRequest$1(luvio, config, resourceParams, cacheSnapshot);
@@ -55392,7 +54872,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
55392
54872
  return luvio.storeBroadcast();
55393
54873
  }, () => getResponseCacheKeys$2(luvio, resourceParams));
55394
54874
  }, (response) => {
55395
- deepFreeze$P(response);
54875
+ deepFreeze(response);
55396
54876
  throw response;
55397
54877
  });
55398
54878
  }
@@ -55926,7 +55406,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
55926
55406
  return luvio.storeBroadcast().then(() => snapshot);
55927
55407
  }, () => getResponseCacheKeys(luvio, {}, response.body));
55928
55408
  }, (response) => {
55929
- deepFreeze$P(response);
55409
+ deepFreeze(response);
55930
55410
  throw response;
55931
55411
  });
55932
55412
  }
@@ -55998,7 +55478,7 @@ function buildNetworkSnapshot(luvio, config, options) {
55998
55478
  return luvio.storeBroadcast().then(() => snapshot);
55999
55479
  }, () => getResponseCacheKeys(luvio, resourceParams, response.body));
56000
55480
  }, (response) => {
56001
- deepFreeze$P(response);
55481
+ deepFreeze(response);
56002
55482
  throw response;
56003
55483
  });
56004
55484
  }