@salesforce/lds-adapters-platform-admin-success-guidance 1.134.7 → 1.134.9

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 (36) hide show
  1. package/dist/es/es2018/platform-admin-success-guidance.js +14 -21
  2. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -7
  3. package/dist/es/es2018/types/src/generated/types/AbstractLightningAssistantActionRepresentation.d.ts +0 -1
  4. package/dist/es/es2018/types/src/generated/types/AssistantData.d.ts +0 -1
  5. package/dist/es/es2018/types/src/generated/types/LightningAssistantAnswerDataInputRepresentation.d.ts +0 -1
  6. package/dist/es/es2018/types/src/generated/types/LightningAssistantCategoryRepresentation.d.ts +0 -1
  7. package/dist/es/es2018/types/src/generated/types/LightningAssistantChoiceRepresentation.d.ts +0 -1
  8. package/dist/es/es2018/types/src/generated/types/LightningAssistantCustomActionRepresentation.d.ts +0 -1
  9. package/dist/es/es2018/types/src/generated/types/LightningAssistantInfoListRepresentation.d.ts +0 -1
  10. package/dist/es/es2018/types/src/generated/types/LightningAssistantInfoRepresentation.d.ts +0 -1
  11. package/dist/es/es2018/types/src/generated/types/LightningAssistantInitializationRepresentation.d.ts +0 -1
  12. package/dist/es/es2018/types/src/generated/types/LightningAssistantInputRepresentation.d.ts +0 -1
  13. package/dist/es/es2018/types/src/generated/types/LightningAssistantItemInputRepresentation.d.ts +0 -1
  14. package/dist/es/es2018/types/src/generated/types/LightningAssistantLayoutNodeRepresentation.d.ts +0 -1
  15. package/dist/es/es2018/types/src/generated/types/LightningAssistantLinkActionRepresentation.d.ts +0 -1
  16. package/dist/es/es2018/types/src/generated/types/LightningAssistantLinkRepresentation.d.ts +0 -1
  17. package/dist/es/es2018/types/src/generated/types/LightningAssistantListInputRepresentation.d.ts +0 -1
  18. package/dist/es/es2018/types/src/generated/types/LightningAssistantListRepresentation.d.ts +0 -1
  19. package/dist/es/es2018/types/src/generated/types/LightningAssistantLsfActionRepresentation.d.ts +0 -1
  20. package/dist/es/es2018/types/src/generated/types/LightningAssistantNoActionRepresentation.d.ts +0 -1
  21. package/dist/es/es2018/types/src/generated/types/LightningAssistantQuestionRepresentation.d.ts +0 -1
  22. package/dist/es/es2018/types/src/generated/types/LightningAssistantQuestionnaireInputRepresentation.d.ts +0 -1
  23. package/dist/es/es2018/types/src/generated/types/LightningAssistantQuestionnaireListRepresentation.d.ts +0 -1
  24. package/dist/es/es2018/types/src/generated/types/LightningAssistantQuestionnaireRepresentation.d.ts +0 -1
  25. package/dist/es/es2018/types/src/generated/types/LightningAssistantRepresentation.d.ts +0 -1
  26. package/dist/es/es2018/types/src/generated/types/LightningAssistantStepRepresentation.d.ts +0 -1
  27. package/dist/es/es2018/types/src/generated/types/LightningAssistantTargetRepresentation.d.ts +0 -1
  28. package/dist/es/es2018/types/src/generated/types/LightningAssistantTrailheadActionRepresentation.d.ts +0 -1
  29. package/dist/es/es2018/types/src/generated/types/LightningAssistantUpdateInputRepresentation.d.ts +0 -1
  30. package/dist/es/es2018/types/src/generated/types/LightningAssistantVideoActionRepresentation.d.ts +0 -1
  31. package/dist/es/es2018/types/src/generated/types/LightningAssistantWalkthroughActionRepresentation.d.ts +0 -1
  32. package/dist/es/es2018/types/src/generated/types/QuestionnaireData.d.ts +0 -1
  33. package/dist/es/es2018/types/src/generated/types/UpdateAssistantData.d.ts +0 -1
  34. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +1 -8
  35. package/package.json +1 -1
  36. package/sfdc/index.js +15 -22
@@ -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 = 'LEAP';
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(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(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(value[keys[i]]);
83
- }
84
- }
85
- ObjectFreeze(value);
86
- }
87
69
  function createLink(ref) {
88
70
  return {
89
71
  __ref: serializeStructuredKey(ref),
@@ -605,6 +587,7 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
605
587
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
606
588
  }
607
589
  }
590
+ deepFreeze(snapshot.data);
608
591
  return snapshot;
609
592
  }
610
593
  function ingestError$5(luvio, params, error, snapshotRefresh) {
@@ -783,6 +766,7 @@ function ingestSuccess$9(luvio, resourceParams, response) {
783
766
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
784
767
  }
785
768
  }
769
+ deepFreeze(snapshot.data);
786
770
  return snapshot;
787
771
  }
788
772
  function createResourceRequest$9(config) {
@@ -1422,6 +1406,7 @@ function ingestSuccess$8(luvio, resourceParams, response) {
1422
1406
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1423
1407
  }
1424
1408
  }
1409
+ deepFreeze(snapshot.data);
1425
1410
  return snapshot;
1426
1411
  }
1427
1412
  function createResourceRequest$8(config) {
@@ -2231,6 +2216,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
2231
2216
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2232
2217
  }
2233
2218
  }
2219
+ deepFreeze(snapshot.data);
2234
2220
  return snapshot;
2235
2221
  }
2236
2222
  function ingestError$4(luvio, params, error, snapshotRefresh) {
@@ -2404,6 +2390,7 @@ function ingestSuccess$6(luvio, resourceParams, response) {
2404
2390
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2405
2391
  }
2406
2392
  }
2393
+ deepFreeze(snapshot.data);
2407
2394
  return snapshot;
2408
2395
  }
2409
2396
  function createResourceRequest$6(config) {
@@ -2631,6 +2618,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
2631
2618
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2632
2619
  }
2633
2620
  }
2621
+ deepFreeze(snapshot.data);
2634
2622
  return snapshot;
2635
2623
  }
2636
2624
  function ingestError$3(luvio, params, error, snapshotRefresh) {
@@ -2972,6 +2960,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
2972
2960
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2973
2961
  }
2974
2962
  }
2963
+ deepFreeze(snapshot.data);
2975
2964
  return snapshot;
2976
2965
  }
2977
2966
  function ingestError$2(luvio, params, error, snapshotRefresh) {
@@ -3227,6 +3216,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
3227
3216
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3228
3217
  }
3229
3218
  }
3219
+ deepFreeze(snapshot.data);
3230
3220
  return snapshot;
3231
3221
  }
3232
3222
  function createResourceRequest$3(config) {
@@ -3467,6 +3457,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
3467
3457
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3468
3458
  }
3469
3459
  }
3460
+ deepFreeze(snapshot.data);
3470
3461
  return snapshot;
3471
3462
  }
3472
3463
  function ingestError$1(luvio, params, error, snapshotRefresh) {
@@ -3640,6 +3631,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
3640
3631
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3641
3632
  }
3642
3633
  }
3634
+ deepFreeze(snapshot.data);
3643
3635
  return snapshot;
3644
3636
  }
3645
3637
  function createResourceRequest$1(config) {
@@ -4056,6 +4048,7 @@ function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
4056
4048
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4057
4049
  }
4058
4050
  }
4051
+ deepFreeze(snapshot.data);
4059
4052
  return snapshot;
4060
4053
  }
4061
4054
  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 {
@@ -15,7 +15,6 @@ export declare function normalize(input: AbstractLightningAssistantActionReprese
15
15
  export declare const selectChildren: () => $64$luvio_engine_FragmentUnionSelection;
16
16
  export declare const select: () => $64$luvio_engine_FragmentSelection;
17
17
  export declare function equals(existing: AbstractLightningAssistantActionRepresentationNormalized, incoming: AbstractLightningAssistantActionRepresentationNormalized): boolean;
18
- export declare function deepFreeze(input: AbstractLightningAssistantActionRepresentation): void;
19
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
20
19
  export declare const discriminatorIngest: $64$luvio_engine_ResourceIngest;
21
20
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AbstractLightningAssistantActionRepresentation, 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: AssistantData, existing: AssistantDataNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AssistantDataNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: AssistantDataNormalized, incoming: AssistantDataNormalized): boolean;
9
- export declare function deepFreeze(input: AssistantData): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AssistantData, 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: LightningAssistantAnswerDataInputRepresentation, existing: LightningAssistantAnswerDataInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantAnswerDataInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: LightningAssistantAnswerDataInputRepresentationNormalized, incoming: LightningAssistantAnswerDataInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: LightningAssistantAnswerDataInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantAnswerDataInputRepresentation, 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: LightningAssistantCategoryRepresentation, existing: LightningAssistantCategoryRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantCategoryRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: LightningAssistantCategoryRepresentationNormalized, incoming: LightningAssistantCategoryRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: LightningAssistantCategoryRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantCategoryRepresentation, 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: LightningAssistantChoiceRepresentation, existing: LightningAssistantChoiceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantChoiceRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: LightningAssistantChoiceRepresentationNormalized, incoming: LightningAssistantChoiceRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: LightningAssistantChoiceRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantChoiceRepresentation, 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: LightningAssistantCustomActionRepresentation, existing: LightningAssistantCustomActionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantCustomActionRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: LightningAssistantCustomActionRepresentationNormalized, incoming: LightningAssistantCustomActionRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: LightningAssistantCustomActionRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantCustomActionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -15,7 +15,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
15
15
  export declare function normalize(input: LightningAssistantInfoListRepresentation, existing: LightningAssistantInfoListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantInfoListRepresentationNormalized;
16
16
  export declare const select: () => $64$luvio_engine_FragmentSelection;
17
17
  export declare function equals(existing: LightningAssistantInfoListRepresentationNormalized, incoming: LightningAssistantInfoListRepresentationNormalized): boolean;
18
- export declare function deepFreeze(input: LightningAssistantInfoListRepresentation): void;
19
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
20
19
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantInfoListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
21
20
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: LightningAssistantInfoRepresentation, existing: LightningAssistantInfoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantInfoRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: LightningAssistantInfoRepresentationNormalized, incoming: LightningAssistantInfoRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: LightningAssistantInfoRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantInfoRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -15,7 +15,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
15
15
  export declare function normalize(input: LightningAssistantInitializationRepresentation, existing: LightningAssistantInitializationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantInitializationRepresentationNormalized;
16
16
  export declare const select: () => $64$luvio_engine_FragmentSelection;
17
17
  export declare function equals(existing: LightningAssistantInitializationRepresentationNormalized, incoming: LightningAssistantInitializationRepresentationNormalized): boolean;
18
- export declare function deepFreeze(input: LightningAssistantInitializationRepresentation): void;
19
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
20
19
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantInitializationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
21
20
  /**
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
5
5
  export declare function normalize(input: LightningAssistantInputRepresentation, existing: LightningAssistantInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: LightningAssistantInputRepresentationNormalized, incoming: LightningAssistantInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: LightningAssistantInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantInputRepresentation, 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: LightningAssistantItemInputRepresentation, existing: LightningAssistantItemInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantItemInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: LightningAssistantItemInputRepresentationNormalized, incoming: LightningAssistantItemInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: LightningAssistantItemInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantItemInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -14,7 +14,6 @@ export interface DynamicSelectParams {
14
14
  }
15
15
  export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
16
16
  export declare function equals(existing: LightningAssistantLayoutNodeRepresentationNormalized, incoming: LightningAssistantLayoutNodeRepresentationNormalized): boolean;
17
- export declare function deepFreeze(input: LightningAssistantLayoutNodeRepresentation): void;
18
17
  export declare const ingest: $64$luvio_engine_ResourceIngest;
19
18
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantLayoutNodeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
20
19
  export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: LightningAssistantLinkActionRepresentation, existing: LightningAssistantLinkActionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantLinkActionRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: LightningAssistantLinkActionRepresentationNormalized, incoming: LightningAssistantLinkActionRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: LightningAssistantLinkActionRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantLinkActionRepresentation, 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: LightningAssistantLinkRepresentation, existing: LightningAssistantLinkRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantLinkRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: LightningAssistantLinkRepresentationNormalized, incoming: LightningAssistantLinkRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: LightningAssistantLinkRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantLinkRepresentation, 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: LightningAssistantListInputRepresentation, existing: LightningAssistantListInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantListInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: LightningAssistantListInputRepresentationNormalized, incoming: LightningAssistantListInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: LightningAssistantListInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantListInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -23,7 +23,6 @@ export interface DynamicSelectParams {
23
23
  }
24
24
  export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
25
25
  export declare function equals(existing: LightningAssistantListRepresentationNormalized, incoming: LightningAssistantListRepresentationNormalized): boolean;
26
- export declare function deepFreeze(input: LightningAssistantListRepresentation): void;
27
26
  export declare const ingest: $64$luvio_engine_ResourceIngest;
28
27
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
29
28
  export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: LightningAssistantLsfActionRepresentation, existing: LightningAssistantLsfActionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantLsfActionRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: LightningAssistantLsfActionRepresentationNormalized, incoming: LightningAssistantLsfActionRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: LightningAssistantLsfActionRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantLsfActionRepresentation, 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: LightningAssistantNoActionRepresentation, existing: LightningAssistantNoActionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantNoActionRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: LightningAssistantNoActionRepresentationNormalized, incoming: LightningAssistantNoActionRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: LightningAssistantNoActionRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantNoActionRepresentation, 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: LightningAssistantQuestionRepresentation, existing: LightningAssistantQuestionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantQuestionRepresentationNormalized;
8
8
  export declare const select: () => $64$luvio_engine_FragmentSelection;
9
9
  export declare function equals(existing: LightningAssistantQuestionRepresentationNormalized, incoming: LightningAssistantQuestionRepresentationNormalized): boolean;
10
- export declare function deepFreeze(input: LightningAssistantQuestionRepresentation): void;
11
10
  export declare const ingest: $64$luvio_engine_ResourceIngest;
12
11
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantQuestionRepresentation, 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: LightningAssistantQuestionnaireInputRepresentation, existing: LightningAssistantQuestionnaireInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantQuestionnaireInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: LightningAssistantQuestionnaireInputRepresentationNormalized, incoming: LightningAssistantQuestionnaireInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: LightningAssistantQuestionnaireInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantQuestionnaireInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
10
  /**
@@ -14,7 +14,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
14
14
  export declare function normalize(input: LightningAssistantQuestionnaireListRepresentation, existing: LightningAssistantQuestionnaireListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantQuestionnaireListRepresentationNormalized;
15
15
  export declare const select: () => $64$luvio_engine_FragmentSelection;
16
16
  export declare function equals(existing: LightningAssistantQuestionnaireListRepresentationNormalized, incoming: LightningAssistantQuestionnaireListRepresentationNormalized): boolean;
17
- export declare function deepFreeze(input: LightningAssistantQuestionnaireListRepresentation): void;
18
17
  export declare const ingest: $64$luvio_engine_ResourceIngest;
19
18
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantQuestionnaireListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
20
19
  /**
@@ -15,7 +15,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
15
15
  export declare function normalize(input: LightningAssistantQuestionnaireRepresentation, existing: LightningAssistantQuestionnaireRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantQuestionnaireRepresentationNormalized;
16
16
  export declare const select: () => $64$luvio_engine_FragmentSelection;
17
17
  export declare function equals(existing: LightningAssistantQuestionnaireRepresentationNormalized, incoming: LightningAssistantQuestionnaireRepresentationNormalized): boolean;
18
- export declare function deepFreeze(input: LightningAssistantQuestionnaireRepresentation): void;
19
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
20
19
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantQuestionnaireRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
21
20
  /**
@@ -23,7 +23,6 @@ export interface DynamicSelectParams {
23
23
  }
24
24
  export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
25
25
  export declare function equals(existing: LightningAssistantRepresentationNormalized, incoming: LightningAssistantRepresentationNormalized): boolean;
26
- export declare function deepFreeze(input: LightningAssistantRepresentation): void;
27
26
  export declare const ingest: $64$luvio_engine_ResourceIngest;
28
27
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
29
28
  export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
@@ -22,7 +22,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
22
22
  export declare function normalize(input: LightningAssistantStepRepresentation, existing: LightningAssistantStepRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantStepRepresentationNormalized;
23
23
  export declare const select: () => $64$luvio_engine_FragmentSelection;
24
24
  export declare function equals(existing: LightningAssistantStepRepresentationNormalized, incoming: LightningAssistantStepRepresentationNormalized): boolean;
25
- export declare function deepFreeze(input: LightningAssistantStepRepresentation): void;
26
25
  export declare const ingest: $64$luvio_engine_ResourceIngest;
27
26
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantStepRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
28
27
  /**
@@ -15,7 +15,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
15
15
  export declare function normalize(input: LightningAssistantTargetRepresentation, existing: LightningAssistantTargetRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantTargetRepresentationNormalized;
16
16
  export declare const select: () => $64$luvio_engine_FragmentSelection;
17
17
  export declare function equals(existing: LightningAssistantTargetRepresentationNormalized, incoming: LightningAssistantTargetRepresentationNormalized): boolean;
18
- export declare function deepFreeze(input: LightningAssistantTargetRepresentation): void;
19
18
  export declare const ingest: $64$luvio_engine_ResourceIngest;
20
19
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantTargetRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
21
20
  /**
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
6
6
  export declare function normalize(input: LightningAssistantTrailheadActionRepresentation, existing: LightningAssistantTrailheadActionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantTrailheadActionRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: LightningAssistantTrailheadActionRepresentationNormalized, incoming: LightningAssistantTrailheadActionRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: LightningAssistantTrailheadActionRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantTrailheadActionRepresentation, 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: LightningAssistantUpdateInputRepresentation, existing: LightningAssistantUpdateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantUpdateInputRepresentationNormalized;
6
6
  export declare const select: () => $64$luvio_engine_FragmentSelection;
7
7
  export declare function equals(existing: LightningAssistantUpdateInputRepresentationNormalized, incoming: LightningAssistantUpdateInputRepresentationNormalized): boolean;
8
- export declare function deepFreeze(input: LightningAssistantUpdateInputRepresentation): void;
9
8
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
9
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantUpdateInputRepresentation, 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: LightningAssistantVideoActionRepresentation, existing: LightningAssistantVideoActionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantVideoActionRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: LightningAssistantVideoActionRepresentationNormalized, incoming: LightningAssistantVideoActionRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: LightningAssistantVideoActionRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantVideoActionRepresentation, 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: LightningAssistantWalkthroughActionRepresentation, existing: LightningAssistantWalkthroughActionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): LightningAssistantWalkthroughActionRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: LightningAssistantWalkthroughActionRepresentationNormalized, incoming: LightningAssistantWalkthroughActionRepresentationNormalized): boolean;
9
- export declare function deepFreeze(input: LightningAssistantWalkthroughActionRepresentation): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: LightningAssistantWalkthroughActionRepresentation, 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: QuestionnaireData, existing: QuestionnaireDataNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): QuestionnaireDataNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: QuestionnaireDataNormalized, incoming: QuestionnaireDataNormalized): boolean;
9
- export declare function deepFreeze(input: QuestionnaireData): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: QuestionnaireData, 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: UpdateAssistantData, existing: UpdateAssistantDataNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateAssistantDataNormalized;
7
7
  export declare const select: () => $64$luvio_engine_FragmentSelection;
8
8
  export declare function equals(existing: UpdateAssistantDataNormalized, incoming: UpdateAssistantDataNormalized): boolean;
9
- export declare function deepFreeze(input: UpdateAssistantData): void;
10
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
11
10
  export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: UpdateAssistantData, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
12
11
  /**
@@ -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-platform-admin-success-guidance",
3
- "version": "1.134.7",
3
+ "version": "1.134.9",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Guidance Center Questionnaire and Assistant APIs",
6
6
  "main": "dist/es/es2018/platform-admin-success-guidance.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 = 'LEAP';
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(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(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(value[keys[i]]);
93
- }
94
- }
95
- ObjectFreeze(value);
96
- }
97
79
  function createLink(ref) {
98
80
  return {
99
81
  __ref: serializeStructuredKey(ref),
@@ -654,6 +636,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
654
636
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
655
637
  }
656
638
  }
639
+ deepFreeze(snapshot.data);
657
640
  return snapshot;
658
641
  }
659
642
  function createResourceRequest$a(config) {
@@ -1463,6 +1446,7 @@ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
1463
1446
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1464
1447
  }
1465
1448
  }
1449
+ deepFreeze(snapshot.data);
1466
1450
  return snapshot;
1467
1451
  }
1468
1452
  function ingestError$5(luvio, params, error, snapshotRefresh) {
@@ -1956,6 +1940,7 @@ function ingestSuccess$8(luvio, resourceParams, response, snapshotRefresh) {
1956
1940
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1957
1941
  }
1958
1942
  }
1943
+ deepFreeze(snapshot.data);
1959
1944
  return snapshot;
1960
1945
  }
1961
1946
  function ingestError$4(luvio, params, error, snapshotRefresh) {
@@ -2281,6 +2266,7 @@ function ingestSuccess$7(luvio, resourceParams, response, snapshotRefresh) {
2281
2266
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2282
2267
  }
2283
2268
  }
2269
+ deepFreeze(snapshot.data);
2284
2270
  return snapshot;
2285
2271
  }
2286
2272
  function ingestError$3(luvio, params, error, snapshotRefresh) {
@@ -2654,6 +2640,7 @@ function ingestSuccess$6(luvio, resourceParams, response, snapshotRefresh) {
2654
2640
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
2655
2641
  }
2656
2642
  }
2643
+ deepFreeze(snapshot.data);
2657
2644
  return snapshot;
2658
2645
  }
2659
2646
  function ingestError$2(luvio, params, error, snapshotRefresh) {
@@ -3331,6 +3318,7 @@ function ingestSuccess$5(luvio, resourceParams, response, snapshotRefresh) {
3331
3318
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3332
3319
  }
3333
3320
  }
3321
+ deepFreeze(snapshot.data);
3334
3322
  return snapshot;
3335
3323
  }
3336
3324
  function ingestError$1(luvio, params, error, snapshotRefresh) {
@@ -3635,6 +3623,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
3635
3623
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3636
3624
  }
3637
3625
  }
3626
+ deepFreeze(snapshot.data);
3638
3627
  return snapshot;
3639
3628
  }
3640
3629
  function ingestError(luvio, params, error, snapshotRefresh) {
@@ -3922,6 +3911,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
3922
3911
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
3923
3912
  }
3924
3913
  }
3914
+ deepFreeze(snapshot.data);
3925
3915
  return snapshot;
3926
3916
  }
3927
3917
  function createResourceRequest$3(config) {
@@ -4042,6 +4032,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
4042
4032
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4043
4033
  }
4044
4034
  }
4035
+ deepFreeze(snapshot.data);
4045
4036
  return snapshot;
4046
4037
  }
4047
4038
  function createResourceRequest$2(config) {
@@ -4170,6 +4161,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
4170
4161
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4171
4162
  }
4172
4163
  }
4164
+ deepFreeze(snapshot.data);
4173
4165
  return snapshot;
4174
4166
  }
4175
4167
  function createResourceRequest$1(config) {
@@ -4303,6 +4295,7 @@ function ingestSuccess(luvio, resourceParams, response) {
4303
4295
  throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
4304
4296
  }
4305
4297
  }
4298
+ deepFreeze(snapshot.data);
4306
4299
  return snapshot;
4307
4300
  }
4308
4301
  function createResourceRequest(config) {
@@ -4486,4 +4479,4 @@ withDefaultLuvio((luvio) => {
4486
4479
  });
4487
4480
 
4488
4481
  export { evaluateStep, getAssistant, getAssistantInfoList, getAssistantInfoListNotifyChange, getAssistantInfoList_imperative, getAssistantList, getAssistantListNotifyChange, getAssistantList_imperative, getAssistantNotifyChange, getAssistantTarget, getAssistantTargetNotifyChange, getAssistantTarget_imperative, getAssistant_imperative, getQuestionnaire, getQuestionnaireNotifyChange, getQuestionnaire_imperative, getQuestionnaires, getQuestionnairesNotifyChange, getQuestionnaires_imperative, initialize, saveAssistant, saveAssistantList, saveQuestionnaire };
4489
- // version: 1.134.7-ed0df45ef
4482
+ // version: 1.134.9-fd822024c