@salesforce/lds-adapters-analytics-smart-data-discovery 1.134.7 → 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 (33) hide show
  1. package/dist/es/es2018/analytics-smart-data-discovery.js +4 -112
  2. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -7
  3. package/dist/es/es2018/types/src/generated/types/AbstractBucketingStrategyRepresentation.d.ts +0 -1
  4. package/dist/es/es2018/types/src/generated/types/AbstractClassificationThresholdRepresentation.d.ts +0 -1
  5. package/dist/es/es2018/types/src/generated/types/AbstractFieldConfigurationRepresentation.d.ts +0 -1
  6. package/dist/es/es2018/types/src/generated/types/AbstractStorySourceRepresentation.d.ts +0 -1
  7. package/dist/es/es2018/types/src/generated/types/AnalyticsDatasetSourceRepresentation.d.ts +0 -1
  8. package/dist/es/es2018/types/src/generated/types/AssetReferenceRepresentation.d.ts +0 -1
  9. package/dist/es/es2018/types/src/generated/types/AutopilotRepresentation.d.ts +0 -1
  10. package/dist/es/es2018/types/src/generated/types/BaseAssetReferenceRepresentation.d.ts +0 -1
  11. package/dist/es/es2018/types/src/generated/types/BinaryClassificationThresholdRepresentation.d.ts +0 -1
  12. package/dist/es/es2018/types/src/generated/types/DateFieldConfigurationRepresentation.d.ts +0 -1
  13. package/dist/es/es2018/types/src/generated/types/EvenWidthBucketingStrategyRepresentation.d.ts +0 -1
  14. package/dist/es/es2018/types/src/generated/types/ManualBucketingStrategyRepresentation.d.ts +0 -1
  15. package/dist/es/es2018/types/src/generated/types/NumericFieldConfigurationRepresentation.d.ts +0 -1
  16. package/dist/es/es2018/types/src/generated/types/PercentileBucketingStrategyRepresentation.d.ts +0 -1
  17. package/dist/es/es2018/types/src/generated/types/ReportSourceRepresentation.d.ts +0 -1
  18. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryCategoricalOutcomeRepresentation.d.ts +0 -1
  19. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryCountOutcomeRepresentation.d.ts +0 -1
  20. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryImputeStrategyRepresentation.d.ts +0 -1
  21. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryModelConfigurationRepresentation.d.ts +0 -1
  22. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryNumericOutcomeRepresentation.d.ts +0 -1
  23. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryOutcomeRepresentation.d.ts +0 -1
  24. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryTextOutcomeRepresentation.d.ts +0 -1
  25. package/dist/es/es2018/types/src/generated/types/SmartDataDiscoveryUserRepresentation.d.ts +0 -1
  26. package/dist/es/es2018/types/src/generated/types/StoryCollectionRepresentation.d.ts +0 -1
  27. package/dist/es/es2018/types/src/generated/types/StoryRepresentation.d.ts +0 -1
  28. package/dist/es/es2018/types/src/generated/types/StoryVersionReferenceRepresentation.d.ts +0 -1
  29. package/dist/es/es2018/types/src/generated/types/TextFieldConfigurationRepresentation.d.ts +0 -1
  30. package/dist/es/es2018/types/src/generated/types/TextFieldValueConfigurationRepresentation.d.ts +0 -1
  31. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +1 -8
  32. package/package.json +1 -1
  33. package/sfdc/index.js +5 -113
@@ -4,10 +4,10 @@
4
4
  * For full license text, see the LICENSE.txt file
5
5
  */
6
6
 
7
- import { serializeStructuredKey, StoreKeyMap } from '@luvio/engine';
7
+ import { serializeStructuredKey, StoreKeyMap, deepFreeze } from '@luvio/engine';
8
8
 
9
9
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
10
- const { keys: ObjectKeys$1, freeze: ObjectFreeze$1, create: ObjectCreate$1 } = Object;
10
+ const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
11
11
  const { isArray: ArrayIsArray$1 } = Array;
12
12
  /**
13
13
  * Validates an adapter config is well-formed.
@@ -50,7 +50,7 @@ const snapshotRefreshOptions = {
50
50
  };
51
51
  const keyPrefix = 'smart-data-discovery';
52
52
 
53
- const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
53
+ const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
54
54
  const { isArray: ArrayIsArray } = Array;
55
55
  const { stringify: JSONStringify } = JSON;
56
56
  function equalsArray(a, b, equalsItem) {
@@ -66,24 +66,6 @@ function equalsArray(a, b, equalsItem) {
66
66
  }
67
67
  return true;
68
68
  }
69
- function deepFreeze$b(value) {
70
- // No need to freeze primitives
71
- if (typeof value !== 'object' || value === null) {
72
- return;
73
- }
74
- if (ArrayIsArray(value)) {
75
- for (let i = 0, len = value.length; i < len; i += 1) {
76
- deepFreeze$b(value[i]);
77
- }
78
- }
79
- else {
80
- const keys = ObjectKeys(value);
81
- for (let i = 0, len = keys.length; i < len; i += 1) {
82
- deepFreeze$b(value[keys[i]]);
83
- }
84
- }
85
- ObjectFreeze(value);
86
- }
87
69
  function createLink(ref) {
88
70
  return {
89
71
  __ref: serializeStructuredKey(ref),
@@ -103,9 +85,6 @@ function validate$b(obj, path = 'AutopilotRepresentation') {
103
85
  })();
104
86
  return v_error === undefined ? null : v_error;
105
87
  }
106
- function deepFreeze$a(input) {
107
- ObjectFreeze(input);
108
- }
109
88
 
110
89
  var DiscriminatorValues$4;
111
90
  (function (DiscriminatorValues) {
@@ -124,9 +103,6 @@ function validate$a(obj, path = 'AbstractClassificationThresholdRepresentation')
124
103
  })();
125
104
  return v_error === undefined ? null : v_error;
126
105
  }
127
- function deepFreeze$9(input) {
128
- ObjectFreeze(input);
129
- }
130
106
 
131
107
  function validate$9(obj, path = 'SmartDataDiscoveryUserRepresentation') {
132
108
  const v_error = (() => {
@@ -151,9 +127,6 @@ function validate$9(obj, path = 'SmartDataDiscoveryUserRepresentation') {
151
127
  })();
152
128
  return v_error === undefined ? null : v_error;
153
129
  }
154
- function deepFreeze$8(input) {
155
- ObjectFreeze(input);
156
- }
157
130
 
158
131
  var DiscriminatorValues$3;
159
132
  (function (DiscriminatorValues) {
@@ -214,9 +187,6 @@ function validate$8(obj, path = 'AbstractFieldConfigurationRepresentation') {
214
187
  })();
215
188
  return v_error === undefined ? null : v_error;
216
189
  }
217
- function deepFreeze$7(input) {
218
- ObjectFreeze(input);
219
- }
220
190
 
221
191
  function validate$7(obj, path = 'BaseAssetReferenceRepresentation') {
222
192
  const v_error = (() => {
@@ -259,9 +229,6 @@ function validate$7(obj, path = 'BaseAssetReferenceRepresentation') {
259
229
  })();
260
230
  return v_error === undefined ? null : v_error;
261
231
  }
262
- function deepFreeze$6(input) {
263
- ObjectFreeze(input);
264
- }
265
232
 
266
233
  function validate$6(obj, path = 'AssetReferenceRepresentation') {
267
234
  const validateBaseAssetReferenceRepresentation_validateError = validate$7(obj, path);
@@ -275,9 +242,6 @@ function validate$6(obj, path = 'AssetReferenceRepresentation') {
275
242
  })();
276
243
  return v_error === undefined ? null : v_error;
277
244
  }
278
- function deepFreeze$5(input) {
279
- deepFreeze$6(input);
280
- }
281
245
 
282
246
  var DiscriminatorValues$1;
283
247
  (function (DiscriminatorValues) {
@@ -297,9 +261,6 @@ function validate$5(obj, path = 'AbstractStorySourceRepresentation') {
297
261
  })();
298
262
  return v_error === undefined ? null : v_error;
299
263
  }
300
- function deepFreeze$4(input) {
301
- ObjectFreeze(input);
302
- }
303
264
 
304
265
  function validate$4(obj, path = 'StoryVersionReferenceRepresentation') {
305
266
  const v_error = (() => {
@@ -324,9 +285,6 @@ function validate$4(obj, path = 'StoryVersionReferenceRepresentation') {
324
285
  })();
325
286
  return v_error === undefined ? null : v_error;
326
287
  }
327
- function deepFreeze$3(input) {
328
- ObjectFreeze(input);
329
- }
330
288
 
331
289
  function validate$3(obj, path = 'SmartDataDiscoveryModelConfigurationRepresentation') {
332
290
  const v_error = (() => {
@@ -343,9 +301,6 @@ function validate$3(obj, path = 'SmartDataDiscoveryModelConfigurationRepresentat
343
301
  })();
344
302
  return v_error === undefined ? null : v_error;
345
303
  }
346
- function deepFreeze$2(input) {
347
- ObjectFreeze(input);
348
- }
349
304
 
350
305
  var DiscriminatorValues;
351
306
  (function (DiscriminatorValues) {
@@ -374,9 +329,6 @@ function validate$2(obj, path = 'SmartDataDiscoveryOutcomeRepresentation') {
374
329
  })();
375
330
  return v_error === undefined ? null : v_error;
376
331
  }
377
- function deepFreeze$1(input) {
378
- ObjectFreeze(input);
379
- }
380
332
 
381
333
  const VERSION$1 = "d4423c3a95001b87ff287225e769154d";
382
334
  function validate$1(obj, path = 'StoryRepresentation') {
@@ -616,66 +568,6 @@ function equals$1(existing, incoming) {
616
568
  }
617
569
  return true;
618
570
  }
619
- function deepFreeze(input) {
620
- const input_autopilot = input.autopilot;
621
- if (input_autopilot !== undefined) {
622
- deepFreeze$a(input_autopilot);
623
- }
624
- const input_classificationThreshold = input.classificationThreshold;
625
- if (input_classificationThreshold !== undefined) {
626
- deepFreeze$9(input_classificationThreshold);
627
- }
628
- const input_createdBy = input.createdBy;
629
- if (input_createdBy !== undefined) {
630
- deepFreeze$8(input_createdBy);
631
- }
632
- const input_fields = input.fields;
633
- for (let i = 0; i < input_fields.length; i++) {
634
- const input_fields_item = input_fields[i];
635
- deepFreeze$7(input_fields_item);
636
- }
637
- ObjectFreeze(input_fields);
638
- const input_folder = input.folder;
639
- if (input_folder !== undefined) {
640
- deepFreeze$5(input_folder);
641
- }
642
- const input_input = input.input;
643
- if (input_input !== undefined) {
644
- deepFreeze$4(input_input);
645
- }
646
- const input_inputProfile = input.inputProfile;
647
- if (input_inputProfile !== undefined) {
648
- deepFreeze$5(input_inputProfile);
649
- }
650
- const input_lastModifiedBy = input.lastModifiedBy;
651
- if (input_lastModifiedBy !== undefined) {
652
- deepFreeze$8(input_lastModifiedBy);
653
- }
654
- const input_lastSuccessfulVersion = input.lastSuccessfulVersion;
655
- if (input_lastSuccessfulVersion !== undefined) {
656
- deepFreeze$3(input_lastSuccessfulVersion);
657
- }
658
- const input_modelConfiguration = input.modelConfiguration;
659
- if (input_modelConfiguration !== undefined) {
660
- deepFreeze$2(input_modelConfiguration);
661
- }
662
- const input_outcome = input.outcome;
663
- if (input_outcome !== undefined) {
664
- deepFreeze$1(input_outcome);
665
- }
666
- const input_setup = input.setup;
667
- if (input_setup !== undefined) {
668
- const input_setup_keys = Object.keys(input_setup);
669
- const input_setup_length = input_setup_keys.length;
670
- for (let i = 0; i < input_setup_length; i++) {
671
- const key = input_setup_keys[i];
672
- const input_setup_prop = input_setup[key];
673
- deepFreeze$b(input_setup_prop);
674
- }
675
- ObjectFreeze(input_setup);
676
- }
677
- ObjectFreeze(input);
678
- }
679
571
  const ingest$1 = function StoryRepresentationIngest(input, path, luvio, store, timestamp) {
680
572
  if (process.env.NODE_ENV !== 'production') {
681
573
  const validateError = validate$1(input);
@@ -692,7 +584,6 @@ const ingest$1 = function StoryRepresentationIngest(input, path, luvio, store, t
692
584
  propertyName: path.propertyName,
693
585
  ttl: ttlToUse
694
586
  });
695
- deepFreeze(input);
696
587
  if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
697
588
  luvio.storePublish(key, incomingRecord);
698
589
  }
@@ -911,6 +802,7 @@ function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
911
802
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
912
803
  }
913
804
  }
805
+ deepFreeze(snapshot.data);
914
806
  return snapshot;
915
807
  }
916
808
  function ingestError(luvio, params, error, snapshotRefresh) {
@@ -3,17 +3,11 @@ export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
3
3
  declare const ObjectKeys: {
4
4
  (o: object): string[];
5
5
  (o: {}): string[];
6
- }, ObjectFreeze: {
7
- <T extends Function>(f: T): T;
8
- <T_1 extends {
9
- [idx: string]: object | U | null | undefined;
10
- }, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
11
- <T_2>(o: T_2): Readonly<T_2>;
12
6
  }, ObjectCreate: {
13
7
  (o: object | null): any;
14
8
  (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
15
9
  };
16
- export { ObjectFreeze, ObjectCreate, ObjectKeys };
10
+ export { ObjectCreate, ObjectKeys };
17
11
  export declare const ArrayIsArray: (arg: any) => arg is any[];
18
12
  export declare const ArrayPrototypePush: (...items: any[]) => number;
19
13
  export interface AdapterValidationConfig {
@@ -11,7 +11,6 @@ export declare function normalize(input: AbstractBucketingStrategyRepresentation
11
11
  export declare const selectChildren: () => $64$luvio_engine_FragmentUnionSelection;
12
12
  export declare const select: () => $64$luvio_engine_FragmentSelection;
13
13
  export declare function equals(existing: AbstractBucketingStrategyRepresentationNormalized, incoming: AbstractBucketingStrategyRepresentationNormalized): boolean;
14
- export declare function deepFreeze(input: AbstractBucketingStrategyRepresentation): void;
15
14
  export declare const ingest: $64$luvio_engine_ResourceIngest;
16
15
  export declare const discriminatorIngest: $64$luvio_engine_ResourceIngest;
17
16
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AbstractBucketingStrategyRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
@@ -9,7 +9,6 @@ export declare function normalize(input: AbstractClassificationThresholdRepresen
9
9
  export declare const selectChildren: () => $64$luvio_engine_FragmentUnionSelection;
10
10
  export declare const select: () => $64$luvio_engine_FragmentSelection;
11
11
  export declare function equals(existing: AbstractClassificationThresholdRepresentationNormalized, incoming: AbstractClassificationThresholdRepresentationNormalized): boolean;
12
- export declare function deepFreeze(input: AbstractClassificationThresholdRepresentation): void;
13
12
  export declare const ingest: $64$luvio_engine_ResourceIngest;
14
13
  export declare const discriminatorIngest: $64$luvio_engine_ResourceIngest;
15
14
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AbstractClassificationThresholdRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
@@ -11,7 +11,6 @@ export declare function normalize(input: AbstractFieldConfigurationRepresentatio
11
11
  export declare const selectChildren: () => $64$luvio_engine_FragmentUnionSelection;
12
12
  export declare const select: () => $64$luvio_engine_FragmentSelection;
13
13
  export declare function equals(existing: AbstractFieldConfigurationRepresentationNormalized, incoming: AbstractFieldConfigurationRepresentationNormalized): boolean;
14
- export declare function deepFreeze(input: AbstractFieldConfigurationRepresentation): void;
15
14
  export declare const ingest: $64$luvio_engine_ResourceIngest;
16
15
  export declare const discriminatorIngest: $64$luvio_engine_ResourceIngest;
17
16
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AbstractFieldConfigurationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
@@ -10,7 +10,6 @@ export declare function normalize(input: AbstractStorySourceRepresentation, exis
10
10
  export declare const selectChildren: () => $64$luvio_engine_FragmentUnionSelection;
11
11
  export declare const select: () => $64$luvio_engine_FragmentSelection;
12
12
  export declare function equals(existing: AbstractStorySourceRepresentationNormalized, incoming: AbstractStorySourceRepresentationNormalized): boolean;
13
- export declare function deepFreeze(input: AbstractStorySourceRepresentation): void;
14
13
  export declare const ingest: $64$luvio_engine_ResourceIngest;
15
14
  export declare const discriminatorIngest: $64$luvio_engine_ResourceIngest;
16
15
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AbstractStorySourceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
@@ -7,7 +7,6 @@ export declare const RepresentationType: string;
7
7
  export declare function normalize(input: AnalyticsDatasetSourceRepresentation, existing: AnalyticsDatasetSourceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AnalyticsDatasetSourceRepresentationNormalized;
8
8
  export declare const select: () => $64$luvio_engine_FragmentSelection;
9
9
  export declare function equals(existing: AnalyticsDatasetSourceRepresentationNormalized, incoming: AnalyticsDatasetSourceRepresentationNormalized): boolean;
10
- export declare function deepFreeze(input: AnalyticsDatasetSourceRepresentation): void;
11
10
  export declare const ingest: $64$luvio_engine_ResourceIngest;
12
11
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AnalyticsDatasetSourceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
12
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: AssetReferenceRepresentation, existing: AssetReferenceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AssetReferenceRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: AssetReferenceRepresentationNormalized, incoming: AssetReferenceRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: AssetReferenceRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AssetReferenceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: AutopilotRepresentation, existing: AutopilotRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AutopilotRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: AutopilotRepresentationNormalized, incoming: AutopilotRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: AutopilotRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AutopilotRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: BaseAssetReferenceRepresentation, existing: BaseAssetReferenceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BaseAssetReferenceRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: BaseAssetReferenceRepresentationNormalized, incoming: BaseAssetReferenceRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: BaseAssetReferenceRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: BaseAssetReferenceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: BinaryClassificationThresholdRepresentation, existing: BinaryClassificationThresholdRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BinaryClassificationThresholdRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: BinaryClassificationThresholdRepresentationNormalized, incoming: BinaryClassificationThresholdRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: BinaryClassificationThresholdRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: BinaryClassificationThresholdRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: DateFieldConfigurationRepresentation, existing: DateFieldConfigurationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DateFieldConfigurationRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: DateFieldConfigurationRepresentationNormalized, incoming: DateFieldConfigurationRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: DateFieldConfigurationRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DateFieldConfigurationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: EvenWidthBucketingStrategyRepresentation, existing: EvenWidthBucketingStrategyRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EvenWidthBucketingStrategyRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: EvenWidthBucketingStrategyRepresentationNormalized, incoming: EvenWidthBucketingStrategyRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: EvenWidthBucketingStrategyRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: EvenWidthBucketingStrategyRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: ManualBucketingStrategyRepresentation, existing: ManualBucketingStrategyRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManualBucketingStrategyRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: ManualBucketingStrategyRepresentationNormalized, incoming: ManualBucketingStrategyRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: ManualBucketingStrategyRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ManualBucketingStrategyRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -11,7 +11,6 @@ export declare const RepresentationType: string;
11
11
  export declare function normalize(input: NumericFieldConfigurationRepresentation, existing: NumericFieldConfigurationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NumericFieldConfigurationRepresentationNormalized;
12
12
  export declare const select: () => $64$luvio_engine_FragmentSelection;
13
13
  export declare function equals(existing: NumericFieldConfigurationRepresentationNormalized, incoming: NumericFieldConfigurationRepresentationNormalized): boolean;
14
- export declare function deepFreeze(input: NumericFieldConfigurationRepresentation): void;
15
14
  export declare const ingest: $64$luvio_engine_ResourceIngest;
16
15
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: NumericFieldConfigurationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
17
16
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: PercentileBucketingStrategyRepresentation, existing: PercentileBucketingStrategyRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PercentileBucketingStrategyRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: PercentileBucketingStrategyRepresentationNormalized, incoming: PercentileBucketingStrategyRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: PercentileBucketingStrategyRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PercentileBucketingStrategyRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -7,7 +7,6 @@ export declare const RepresentationType: string;
7
7
  export declare function normalize(input: ReportSourceRepresentation, existing: ReportSourceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ReportSourceRepresentationNormalized;
8
8
  export declare const select: () => $64$luvio_engine_FragmentSelection;
9
9
  export declare function equals(existing: ReportSourceRepresentationNormalized, incoming: ReportSourceRepresentationNormalized): boolean;
10
- export declare function deepFreeze(input: ReportSourceRepresentation): void;
11
10
  export declare const ingest: $64$luvio_engine_ResourceIngest;
12
11
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ReportSourceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
12
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: SmartDataDiscoveryCategoricalOutcomeRepresentation, existing: SmartDataDiscoveryCategoricalOutcomeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SmartDataDiscoveryCategoricalOutcomeRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: SmartDataDiscoveryCategoricalOutcomeRepresentationNormalized, incoming: SmartDataDiscoveryCategoricalOutcomeRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: SmartDataDiscoveryCategoricalOutcomeRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SmartDataDiscoveryCategoricalOutcomeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: SmartDataDiscoveryCountOutcomeRepresentation, existing: SmartDataDiscoveryCountOutcomeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SmartDataDiscoveryCountOutcomeRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: SmartDataDiscoveryCountOutcomeRepresentationNormalized, incoming: SmartDataDiscoveryCountOutcomeRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: SmartDataDiscoveryCountOutcomeRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SmartDataDiscoveryCountOutcomeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: SmartDataDiscoveryImputeStrategyRepresentation, existing: SmartDataDiscoveryImputeStrategyRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SmartDataDiscoveryImputeStrategyRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: SmartDataDiscoveryImputeStrategyRepresentationNormalized, incoming: SmartDataDiscoveryImputeStrategyRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: SmartDataDiscoveryImputeStrategyRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SmartDataDiscoveryImputeStrategyRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: SmartDataDiscoveryModelConfigurationRepresentation, existing: SmartDataDiscoveryModelConfigurationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SmartDataDiscoveryModelConfigurationRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: SmartDataDiscoveryModelConfigurationRepresentationNormalized, incoming: SmartDataDiscoveryModelConfigurationRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: SmartDataDiscoveryModelConfigurationRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SmartDataDiscoveryModelConfigurationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: SmartDataDiscoveryNumericOutcomeRepresentation, existing: SmartDataDiscoveryNumericOutcomeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SmartDataDiscoveryNumericOutcomeRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: SmartDataDiscoveryNumericOutcomeRepresentationNormalized, incoming: SmartDataDiscoveryNumericOutcomeRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: SmartDataDiscoveryNumericOutcomeRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SmartDataDiscoveryNumericOutcomeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -12,7 +12,6 @@ export declare function normalize(input: SmartDataDiscoveryOutcomeRepresentation
12
12
  export declare const selectChildren: () => $64$luvio_engine_FragmentUnionSelection;
13
13
  export declare const select: () => $64$luvio_engine_FragmentSelection;
14
14
  export declare function equals(existing: SmartDataDiscoveryOutcomeRepresentationNormalized, incoming: SmartDataDiscoveryOutcomeRepresentationNormalized): boolean;
15
- export declare function deepFreeze(input: SmartDataDiscoveryOutcomeRepresentation): void;
16
15
  export declare const ingest: $64$luvio_engine_ResourceIngest;
17
16
  export declare const discriminatorIngest: $64$luvio_engine_ResourceIngest;
18
17
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SmartDataDiscoveryOutcomeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: SmartDataDiscoveryTextOutcomeRepresentation, existing: SmartDataDiscoveryTextOutcomeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SmartDataDiscoveryTextOutcomeRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: SmartDataDiscoveryTextOutcomeRepresentationNormalized, incoming: SmartDataDiscoveryTextOutcomeRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: SmartDataDiscoveryTextOutcomeRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SmartDataDiscoveryTextOutcomeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: SmartDataDiscoveryUserRepresentation, existing: SmartDataDiscoveryUserRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SmartDataDiscoveryUserRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: SmartDataDiscoveryUserRepresentationNormalized, incoming: SmartDataDiscoveryUserRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: SmartDataDiscoveryUserRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SmartDataDiscoveryUserRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -15,7 +15,6 @@ export interface DynamicSelectParams {
15
15
  }
16
16
  export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
17
17
  export declare function equals(existing: StoryCollectionRepresentationNormalized, incoming: StoryCollectionRepresentationNormalized): boolean;
18
- export declare function deepFreeze(input: StoryCollectionRepresentation): void;
19
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
20
19
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: StoryCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
21
20
  export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
@@ -24,7 +24,6 @@ export declare const RepresentationType: string;
24
24
  export declare function normalize(input: StoryRepresentation, existing: StoryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): StoryRepresentationNormalized;
25
25
  export declare const select: () => $64$luvio_engine_BaseFragment;
26
26
  export declare function equals(existing: StoryRepresentationNormalized, incoming: StoryRepresentationNormalized): boolean;
27
- export declare function deepFreeze(input: StoryRepresentation): void;
28
27
  export declare const ingest: $64$luvio_engine_ResourceIngest;
29
28
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: StoryRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
30
29
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: StoryVersionReferenceRepresentation, existing: StoryVersionReferenceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): StoryVersionReferenceRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: StoryVersionReferenceRepresentationNormalized, incoming: StoryVersionReferenceRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: StoryVersionReferenceRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: StoryVersionReferenceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -7,7 +7,6 @@ export declare const RepresentationType: string;
7
7
  export declare function normalize(input: TextFieldConfigurationRepresentation, existing: TextFieldConfigurationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TextFieldConfigurationRepresentationNormalized;
8
8
  export declare const select: () => $64$luvio_engine_FragmentSelection;
9
9
  export declare function equals(existing: TextFieldConfigurationRepresentationNormalized, incoming: TextFieldConfigurationRepresentationNormalized): boolean;
10
- export declare function deepFreeze(input: TextFieldConfigurationRepresentation): void;
11
10
  export declare const ingest: $64$luvio_engine_ResourceIngest;
12
11
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TextFieldConfigurationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
13
12
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: TextFieldValueConfigurationRepresentation, existing: TextFieldValueConfigurationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TextFieldValueConfigurationRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: TextFieldValueConfigurationRepresentationNormalized, incoming: TextFieldValueConfigurationRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: TextFieldValueConfigurationRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: TextFieldValueConfigurationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -1,11 +1,5 @@
1
1
  import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const ObjectFreeze: {
3
- <T extends Function>(f: T): T;
4
- <T_1 extends {
5
- [idx: string]: object | U | null | undefined;
6
- }, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
7
- <T_2>(o: T_2): Readonly<T_2>;
8
- }, ObjectKeys: {
2
+ export declare const ObjectKeys: {
9
3
  (o: object): string[];
10
4
  (o: {}): string[];
11
5
  }, ObjectCreate: {
@@ -31,7 +25,6 @@ export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (i
31
25
  export declare function equalsObject<U, V extends {
32
26
  [key: string]: U;
33
27
  }>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
34
- export declare function deepFreeze(value: any): void;
35
28
  export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
36
29
  __ref: string;
37
30
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-analytics-smart-data-discovery",
3
- "version": "1.134.7",
3
+ "version": "1.134.8",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "The Einstein Discovery family of APIs",
6
6
  "main": "dist/es/es2018/analytics-smart-data-discovery.js",
package/sfdc/index.js CHANGED
@@ -14,10 +14,10 @@
14
14
  /* proxy-compat-disable */
15
15
  import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
16
16
  import { withDefaultLuvio } from 'force/ldsEngine';
17
- import { serializeStructuredKey, StoreKeyMap } from 'force/luvioEngine';
17
+ import { serializeStructuredKey, StoreKeyMap, deepFreeze } from 'force/luvioEngine';
18
18
 
19
19
  const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
20
- const { keys: ObjectKeys$1, freeze: ObjectFreeze$1, create: ObjectCreate$1 } = Object;
20
+ const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
21
21
  const { isArray: ArrayIsArray$1 } = Array;
22
22
  /**
23
23
  * Validates an adapter config is well-formed.
@@ -60,7 +60,7 @@ const snapshotRefreshOptions = {
60
60
  };
61
61
  const keyPrefix = 'smart-data-discovery';
62
62
 
63
- const { freeze: ObjectFreeze, keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
63
+ const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
64
64
  const { isArray: ArrayIsArray } = Array;
65
65
  const { stringify: JSONStringify } = JSON;
66
66
  function equalsArray(a, b, equalsItem) {
@@ -76,24 +76,6 @@ function equalsArray(a, b, equalsItem) {
76
76
  }
77
77
  return true;
78
78
  }
79
- function deepFreeze$b(value) {
80
- // No need to freeze primitives
81
- if (typeof value !== 'object' || value === null) {
82
- return;
83
- }
84
- if (ArrayIsArray(value)) {
85
- for (let i = 0, len = value.length; i < len; i += 1) {
86
- deepFreeze$b(value[i]);
87
- }
88
- }
89
- else {
90
- const keys = ObjectKeys(value);
91
- for (let i = 0, len = keys.length; i < len; i += 1) {
92
- deepFreeze$b(value[keys[i]]);
93
- }
94
- }
95
- ObjectFreeze(value);
96
- }
97
79
  function createLink(ref) {
98
80
  return {
99
81
  __ref: serializeStructuredKey(ref),
@@ -113,9 +95,6 @@ function validate$b(obj, path = 'AutopilotRepresentation') {
113
95
  })();
114
96
  return v_error === undefined ? null : v_error;
115
97
  }
116
- function deepFreeze$a(input) {
117
- ObjectFreeze(input);
118
- }
119
98
 
120
99
  var DiscriminatorValues$4;
121
100
  (function (DiscriminatorValues) {
@@ -134,9 +113,6 @@ function validate$a(obj, path = 'AbstractClassificationThresholdRepresentation')
134
113
  })();
135
114
  return v_error === undefined ? null : v_error;
136
115
  }
137
- function deepFreeze$9(input) {
138
- ObjectFreeze(input);
139
- }
140
116
 
141
117
  function validate$9(obj, path = 'SmartDataDiscoveryUserRepresentation') {
142
118
  const v_error = (() => {
@@ -161,9 +137,6 @@ function validate$9(obj, path = 'SmartDataDiscoveryUserRepresentation') {
161
137
  })();
162
138
  return v_error === undefined ? null : v_error;
163
139
  }
164
- function deepFreeze$8(input) {
165
- ObjectFreeze(input);
166
- }
167
140
 
168
141
  var DiscriminatorValues$3;
169
142
  (function (DiscriminatorValues) {
@@ -224,9 +197,6 @@ function validate$8(obj, path = 'AbstractFieldConfigurationRepresentation') {
224
197
  })();
225
198
  return v_error === undefined ? null : v_error;
226
199
  }
227
- function deepFreeze$7(input) {
228
- ObjectFreeze(input);
229
- }
230
200
 
231
201
  function validate$7(obj, path = 'BaseAssetReferenceRepresentation') {
232
202
  const v_error = (() => {
@@ -269,9 +239,6 @@ function validate$7(obj, path = 'BaseAssetReferenceRepresentation') {
269
239
  })();
270
240
  return v_error === undefined ? null : v_error;
271
241
  }
272
- function deepFreeze$6(input) {
273
- ObjectFreeze(input);
274
- }
275
242
 
276
243
  function validate$6(obj, path = 'AssetReferenceRepresentation') {
277
244
  const validateBaseAssetReferenceRepresentation_validateError = validate$7(obj, path);
@@ -285,9 +252,6 @@ function validate$6(obj, path = 'AssetReferenceRepresentation') {
285
252
  })();
286
253
  return v_error === undefined ? null : v_error;
287
254
  }
288
- function deepFreeze$5(input) {
289
- deepFreeze$6(input);
290
- }
291
255
 
292
256
  var DiscriminatorValues$1;
293
257
  (function (DiscriminatorValues) {
@@ -307,9 +271,6 @@ function validate$5(obj, path = 'AbstractStorySourceRepresentation') {
307
271
  })();
308
272
  return v_error === undefined ? null : v_error;
309
273
  }
310
- function deepFreeze$4(input) {
311
- ObjectFreeze(input);
312
- }
313
274
 
314
275
  function validate$4(obj, path = 'StoryVersionReferenceRepresentation') {
315
276
  const v_error = (() => {
@@ -334,9 +295,6 @@ function validate$4(obj, path = 'StoryVersionReferenceRepresentation') {
334
295
  })();
335
296
  return v_error === undefined ? null : v_error;
336
297
  }
337
- function deepFreeze$3(input) {
338
- ObjectFreeze(input);
339
- }
340
298
 
341
299
  function validate$3(obj, path = 'SmartDataDiscoveryModelConfigurationRepresentation') {
342
300
  const v_error = (() => {
@@ -353,9 +311,6 @@ function validate$3(obj, path = 'SmartDataDiscoveryModelConfigurationRepresentat
353
311
  })();
354
312
  return v_error === undefined ? null : v_error;
355
313
  }
356
- function deepFreeze$2(input) {
357
- ObjectFreeze(input);
358
- }
359
314
 
360
315
  var DiscriminatorValues;
361
316
  (function (DiscriminatorValues) {
@@ -384,9 +339,6 @@ function validate$2(obj, path = 'SmartDataDiscoveryOutcomeRepresentation') {
384
339
  })();
385
340
  return v_error === undefined ? null : v_error;
386
341
  }
387
- function deepFreeze$1(input) {
388
- ObjectFreeze(input);
389
- }
390
342
 
391
343
  const VERSION$1 = "d4423c3a95001b87ff287225e769154d";
392
344
  function validate$1(obj, path = 'StoryRepresentation') {
@@ -626,66 +578,6 @@ function equals$1(existing, incoming) {
626
578
  }
627
579
  return true;
628
580
  }
629
- function deepFreeze(input) {
630
- const input_autopilot = input.autopilot;
631
- if (input_autopilot !== undefined) {
632
- deepFreeze$a(input_autopilot);
633
- }
634
- const input_classificationThreshold = input.classificationThreshold;
635
- if (input_classificationThreshold !== undefined) {
636
- deepFreeze$9(input_classificationThreshold);
637
- }
638
- const input_createdBy = input.createdBy;
639
- if (input_createdBy !== undefined) {
640
- deepFreeze$8(input_createdBy);
641
- }
642
- const input_fields = input.fields;
643
- for (let i = 0; i < input_fields.length; i++) {
644
- const input_fields_item = input_fields[i];
645
- deepFreeze$7(input_fields_item);
646
- }
647
- ObjectFreeze(input_fields);
648
- const input_folder = input.folder;
649
- if (input_folder !== undefined) {
650
- deepFreeze$5(input_folder);
651
- }
652
- const input_input = input.input;
653
- if (input_input !== undefined) {
654
- deepFreeze$4(input_input);
655
- }
656
- const input_inputProfile = input.inputProfile;
657
- if (input_inputProfile !== undefined) {
658
- deepFreeze$5(input_inputProfile);
659
- }
660
- const input_lastModifiedBy = input.lastModifiedBy;
661
- if (input_lastModifiedBy !== undefined) {
662
- deepFreeze$8(input_lastModifiedBy);
663
- }
664
- const input_lastSuccessfulVersion = input.lastSuccessfulVersion;
665
- if (input_lastSuccessfulVersion !== undefined) {
666
- deepFreeze$3(input_lastSuccessfulVersion);
667
- }
668
- const input_modelConfiguration = input.modelConfiguration;
669
- if (input_modelConfiguration !== undefined) {
670
- deepFreeze$2(input_modelConfiguration);
671
- }
672
- const input_outcome = input.outcome;
673
- if (input_outcome !== undefined) {
674
- deepFreeze$1(input_outcome);
675
- }
676
- const input_setup = input.setup;
677
- if (input_setup !== undefined) {
678
- const input_setup_keys = Object.keys(input_setup);
679
- const input_setup_length = input_setup_keys.length;
680
- for (let i = 0; i < input_setup_length; i++) {
681
- const key = input_setup_keys[i];
682
- const input_setup_prop = input_setup[key];
683
- deepFreeze$b(input_setup_prop);
684
- }
685
- ObjectFreeze(input_setup);
686
- }
687
- ObjectFreeze(input);
688
- }
689
581
  const ingest$1 = function StoryRepresentationIngest(input, path, luvio, store, timestamp) {
690
582
  if (process.env.NODE_ENV !== 'production') {
691
583
  const validateError = validate$1(input);
@@ -702,7 +594,6 @@ const ingest$1 = function StoryRepresentationIngest(input, path, luvio, store, t
702
594
  propertyName: path.propertyName,
703
595
  ttl: ttlToUse
704
596
  });
705
- deepFreeze(input);
706
597
  if (existingRecord === undefined || equals$1(existingRecord, incomingRecord) === false) {
707
598
  luvio.storePublish(key, incomingRecord);
708
599
  }
@@ -921,6 +812,7 @@ function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
921
812
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
922
813
  }
923
814
  }
815
+ deepFreeze(snapshot.data);
924
816
  return snapshot;
925
817
  }
926
818
  function ingestError(luvio, params, error, snapshotRefresh) {
@@ -1114,4 +1006,4 @@ withDefaultLuvio((luvio) => {
1114
1006
  });
1115
1007
 
1116
1008
  export { getStories, getStories_imperative };
1117
- // version: 1.134.7-ed0df45ef
1009
+ // version: 1.134.8-c3d6d2cfc