@uniformdev/canvas 17.7.0 → 17.7.1-alpha.167

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.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ApiClient, ClientOptions, ExceptProject, ApiClientError } from '@uniformdev/context/api';
2
2
  export { ApiClientError } from '@uniformdev/context/api';
3
- import { C as CompositionGetParameters, a as CompositionGetByNodePathParameters, D as DataResolutionOptionNegative, b as CompositionGetResponse, c as DataResolutionOptionPositive, d as DataResolutionParameters, e as CompositionResolvedGetResponse, f as CompositionGetValidResponses, g as DataResolutionOption, h as CompositionGetByNodeIdParameters, i as CompositionGetBySlugParameters, j as CompositionGetByIdParameters, k as CompositionPutParameters, l as CompositionDeleteParameters, m as ComponentDefinitionGetParameters, n as ComponentDefinitionPutParameters, o as ComponentDefinitionDeleteParameters, p as ComponentInstance, q as ComponentParameter, r as components, s as DataSourceGetParameters, t as DataSourcesGetParameters, u as DataSourcePutParameters, v as DataSourceDeleteParameters, w as DataTypeGetParameters, x as DataTypeGetResponse, y as DataTypePutParameters, z as DataTypeDeleteParameters, R as RootComponentInstance, P as PreviewEventBus } from './createEventBus-bb2f5866.js';
4
- export { a1 as CanvasDefinitions, A as ChannelSubscription, O as ComponentDefinition, H as ComponentDefinitionAPIDeleteRequest, G as ComponentDefinitionAPIPutRequest, F as ComponentDefinitionAPIResponse, o as ComponentDefinitionDeleteParameters, m as ComponentDefinitionGetParameters, E as ComponentDefinitionGetResponse, I as ComponentDefinitionListAPIOptions, J as ComponentDefinitionParameter, N as ComponentDefinitionPermission, n as ComponentDefinitionPutParameters, M as ComponentDefinitionSlot, L as ComponentDefinitionSlugSettings, K as ComponentDefinitionVariant, p as ComponentInstance, q as ComponentParameter, W as CompositionAPIDeleteRequest, Y as CompositionAPIOptions, V as CompositionAPIResponse, a8 as CompositionDataDiagnostic, l as CompositionDeleteParameters, j as CompositionGetByIdParameters, h as CompositionGetByNodeIdParameters, a as CompositionGetByNodePathParameters, i as CompositionGetBySlugParameters, U as CompositionGetListResponse, S as CompositionGetOrderBy, C as CompositionGetParameters, b as CompositionGetResponse, f as CompositionGetValidResponses, a2 as CompositionIssue, X as CompositionListAPIResponse, a3 as CompositionPatternIssue, k as CompositionPutParameters, e as CompositionResolvedGetResponse, T as CompositionUIStatus, Q as CreatingComponentDefinition, a4 as DataElementBindingIssue, Z as DataElementConnectionDefinition, a7 as DataResolutionConfigIssue, g as DataResolutionOption, D as DataResolutionOptionNegative, c as DataResolutionOptionPositive, d as DataResolutionParameters, a0 as DataResourceDefinition, $ as DataResourceDefinitions, a5 as DataResourceIssue, a6 as DataResourceVariableIssue, _ as DataResourceVariables, ac as DataSource, v as DataSourceDeleteParameters, s as DataSourceGetParameters, a9 as DataSourceGetResponse, u as DataSourcePutParameters, t as DataSourcesGetParameters, aa as DataSourcesGetResponse, ab as DataType, z as DataTypeDeleteParameters, w as DataTypeGetParameters, x as DataTypeGetResponse, y as DataTypePutParameters, ad as DataVariableDefinition, P as PreviewEventBus, R as RootComponentInstance, B as createEventBus } from './createEventBus-bb2f5866.js';
3
+ import { C as CompositionGetParameters, a as CompositionGetByNodePathParameters, D as DataResolutionOptionNegative, b as CompositionGetResponse, c as DataResolutionOptionPositive, d as DataResolutionParameters, e as CompositionResolvedGetResponse, f as CompositionGetValidResponses, g as DataResolutionOption, h as CompositionGetByNodeIdParameters, i as CompositionGetBySlugParameters, j as CompositionGetByIdParameters, k as CompositionPutParameters, l as CompositionDeleteParameters, m as ComponentDefinitionGetParameters, n as ComponentDefinitionPutParameters, o as ComponentDefinitionDeleteParameters, p as ComponentInstance, q as ComponentParameter, r as components, s as DataSourceGetParameters, t as DataSourcesGetParameters, u as DataSourcePutParameters, v as DataSourceDeleteParameters, w as DataTypeGetParameters, x as DataTypeGetResponse, y as DataTypePutParameters, z as DataTypeDeleteParameters, R as RootComponentInstance, P as PreviewEventBus } from './createEventBus-bd2e0a92.js';
4
+ export { a1 as CanvasDefinitions, A as ChannelSubscription, O as ComponentDefinition, H as ComponentDefinitionAPIDeleteRequest, G as ComponentDefinitionAPIPutRequest, F as ComponentDefinitionAPIResponse, o as ComponentDefinitionDeleteParameters, m as ComponentDefinitionGetParameters, E as ComponentDefinitionGetResponse, I as ComponentDefinitionListAPIOptions, J as ComponentDefinitionParameter, N as ComponentDefinitionPermission, n as ComponentDefinitionPutParameters, M as ComponentDefinitionSlot, L as ComponentDefinitionSlugSettings, K as ComponentDefinitionVariant, p as ComponentInstance, q as ComponentParameter, W as CompositionAPIDeleteRequest, Y as CompositionAPIOptions, V as CompositionAPIResponse, a8 as CompositionDataDiagnostic, l as CompositionDeleteParameters, j as CompositionGetByIdParameters, h as CompositionGetByNodeIdParameters, a as CompositionGetByNodePathParameters, i as CompositionGetBySlugParameters, U as CompositionGetListResponse, S as CompositionGetOrderBy, C as CompositionGetParameters, b as CompositionGetResponse, f as CompositionGetValidResponses, a2 as CompositionIssue, X as CompositionListAPIResponse, a3 as CompositionPatternIssue, k as CompositionPutParameters, e as CompositionResolvedGetResponse, T as CompositionUIStatus, Q as CreatingComponentDefinition, a4 as DataElementBindingIssue, Z as DataElementConnectionDefinition, a7 as DataResolutionConfigIssue, g as DataResolutionOption, D as DataResolutionOptionNegative, c as DataResolutionOptionPositive, d as DataResolutionParameters, a0 as DataResourceDefinition, $ as DataResourceDefinitions, a5 as DataResourceIssue, a6 as DataResourceVariableIssue, _ as DataResourceVariables, ac as DataSource, v as DataSourceDeleteParameters, s as DataSourceGetParameters, a9 as DataSourceGetResponse, u as DataSourcePutParameters, t as DataSourcesGetParameters, aa as DataSourcesGetResponse, ab as DataType, z as DataTypeDeleteParameters, w as DataTypeGetParameters, x as DataTypeGetResponse, y as DataTypePutParameters, ad as DataVariableDefinition, P as PreviewEventBus, R as RootComponentInstance, B as createEventBus } from './createEventBus-bd2e0a92.js';
5
5
  import { Options as Options$1 } from 'p-retry';
6
6
  import { Options } from 'p-throttle';
7
7
  import { PersonalizedVariant, TestVariant } from '@uniformdev/context';
@@ -142,7 +142,7 @@ declare class CanvasClient extends ApiClient<ClientOptions> {
142
142
  }[] | undefined;
143
143
  slugSettings?: {
144
144
  required?: "no" | "yes" | "disabled" | undefined;
145
- unique?: "global" | "no" | "local" | undefined;
145
+ unique?: "no" | "local" | "global" | undefined;
146
146
  regularExpression?: string | undefined;
147
147
  regularExpressionMessage?: string | undefined;
148
148
  } | undefined;
@@ -202,11 +202,11 @@ declare class UncachedCanvasClient extends CanvasClient {
202
202
  constructor(options: Omit<ClientOptions, 'bypassCache'>);
203
203
  }
204
204
 
205
- declare type EnhancerContext = {
205
+ type EnhancerContext = {
206
206
  preview?: boolean;
207
207
  };
208
208
  /** Options passed to a ComponentEnhancer function */
209
- declare type ComponentEnhancerOptions<TContext extends EnhancerContext = EnhancerContext> = {
209
+ type ComponentEnhancerOptions<TContext extends EnhancerContext = EnhancerContext> = {
210
210
  component: Readonly<ComponentInstance>;
211
211
  context: TContext;
212
212
  };
@@ -222,13 +222,13 @@ declare type ComponentEnhancerOptions<TContext extends EnhancerContext = Enhance
222
222
  * TValue - sets the configured key in the component's data value to this value
223
223
  * undefined - do not set the component's data key
224
224
  */
225
- declare type ComponentEnhancerFunction<TValue = unknown, TContext extends EnhancerContext = EnhancerContext> = (options: ComponentEnhancerOptions<TContext>) => Promise<TValue | undefined> | TValue | undefined;
225
+ type ComponentEnhancerFunction<TValue = unknown, TContext extends EnhancerContext = EnhancerContext> = (options: ComponentEnhancerOptions<TContext>) => Promise<TValue | undefined> | TValue | undefined;
226
226
  /**
227
227
  * Defines logic to add arbitrary async data to a component's `data` property.
228
228
  * Used to enhance layout data with information from other platforms, such as private APIs,
229
229
  * where the value is not tied to a parameter and is intrinsic to the component itself.
230
230
  */
231
- declare type ComponentEnhancer<TValue = unknown, TContext extends EnhancerContext = EnhancerContext> = {
231
+ type ComponentEnhancer<TValue = unknown, TContext extends EnhancerContext = EnhancerContext> = {
232
232
  /** Function called to enhance a single component in a composition. */
233
233
  enhanceOne: ComponentEnhancerFunction<TValue, TContext>;
234
234
  /**
@@ -241,7 +241,7 @@ declare type ComponentEnhancer<TValue = unknown, TContext extends EnhancerContex
241
241
  completeAll?: () => Promise<void>;
242
242
  };
243
243
  /** Options passed to a ComponentParameterEnhancer function */
244
- declare type ComponentParameterEnhancerOptions<TRawValue = unknown, TContext extends EnhancerContext = EnhancerContext> = {
244
+ type ComponentParameterEnhancerOptions<TRawValue = unknown, TContext extends EnhancerContext = EnhancerContext> = {
245
245
  parameter: Readonly<ComponentParameter<TRawValue>>;
246
246
  parameterName: string;
247
247
  component: Readonly<ComponentInstance>;
@@ -256,13 +256,13 @@ declare type ComponentParameterEnhancerOptions<TRawValue = unknown, TContext ext
256
256
  * undefined - do not change the original parameter value
257
257
  * null - sets the parameter value to null, replacing any existing value (i.e. if its value could not be resolved in an external system)
258
258
  */
259
- declare type ComponentParameterEnhancerFunction<TRawValue = unknown, TOutputValue = unknown, TContext extends EnhancerContext = EnhancerContext> = (options: ComponentParameterEnhancerOptions<TRawValue, TContext>) => Promise<TOutputValue | undefined | null> | TOutputValue | undefined | null;
259
+ type ComponentParameterEnhancerFunction<TRawValue = unknown, TOutputValue = unknown, TContext extends EnhancerContext = EnhancerContext> = (options: ComponentParameterEnhancerOptions<TRawValue, TContext>) => Promise<TOutputValue | undefined | null> | TOutputValue | undefined | null;
260
260
  /**
261
261
  * Defines logic to replace the value of a component parameter with arbitrary async data.
262
262
  * Used to enhance layout data with information from other platforms, such as CMS, commerce, indexing, etc,
263
263
  * where that data is directly expandable from a parameter value.
264
264
  */
265
- declare type ComponentParameterEnhancer<TRawValue = unknown, TOutputValue = unknown, TContext extends EnhancerContext = EnhancerContext> = {
265
+ type ComponentParameterEnhancer<TRawValue = unknown, TOutputValue = unknown, TContext extends EnhancerContext = EnhancerContext> = {
266
266
  /** Function called to enhance a single parameter to be enhanced. */
267
267
  enhanceOne: ComponentParameterEnhancerFunction<TRawValue, TOutputValue, TContext>;
268
268
  /**
@@ -280,10 +280,10 @@ declare type ComponentParameterEnhancer<TRawValue = unknown, TOutputValue = unkn
280
280
  completeAll?: () => Promise<number>;
281
281
  };
282
282
 
283
- declare type schemas = components['schemas'];
284
- declare type InvalidationPayload = schemas['InvalidationPayload'];
285
- declare type InvalidationResult = schemas['InvalidationResult'];
286
- declare type InvalidationInput = InvalidationResult['input'];
283
+ type schemas = components['schemas'];
284
+ type InvalidationPayload = schemas['InvalidationPayload'];
285
+ type InvalidationResult = schemas['InvalidationResult'];
286
+ type InvalidationInput = InvalidationResult['input'];
287
287
 
288
288
  /**
289
289
  * @deprecated
@@ -298,14 +298,10 @@ declare class DataSourceClient extends ApiClient {
298
298
  connectorType: string;
299
299
  baseUrl: string;
300
300
  headers?: {
301
- [key: string]: string;
302
- } | {
303
301
  key: string;
304
302
  value: string;
305
303
  }[] | undefined;
306
304
  parameters?: {
307
- [key: string]: string;
308
- } | {
309
305
  key: string;
310
306
  value: string;
311
307
  }[] | undefined;
@@ -331,14 +327,10 @@ declare class DataSourceClient extends ApiClient {
331
327
  connectorType: string;
332
328
  baseUrl: string;
333
329
  headers?: {
334
- [key: string]: string;
335
- } | {
336
330
  key: string;
337
331
  value: string;
338
332
  }[] | undefined;
339
333
  parameters?: {
340
- [key: string]: string;
341
- } | {
342
334
  key: string;
343
335
  value: string;
344
336
  }[] | undefined;
@@ -395,7 +387,7 @@ declare class BatchEntry<TArgs, TResult> {
395
387
  * and once all enhancements have been queued handles them all in a batch.
396
388
  * Note: this type is adaptable to both ComponentParameterEnhancer and ComponentEnhancer types.
397
389
  */
398
- declare type BatchEnhancer<TArgs, TResult> = {
390
+ type BatchEnhancer<TArgs, TResult> = {
399
391
  /** Adds a promise to the enhancement queue. */
400
392
  enhanceOne: (args: TArgs) => Promise<TResult | undefined>;
401
393
  /** Calls the batch enhancer function for all queued promises and resolves them. Returns number of processed items. */
@@ -421,7 +413,7 @@ declare function createBatchEnhancer<TArgs, TResult>({ handleBatch, shouldQueue,
421
413
  */
422
414
  declare const compose: (input: ComponentParameterEnhancer<any, any> | ComponentParameterEnhancerFunction<any>, ...composers: ReadonlyArray<ComponentParameterEnhancer<any, any> | ComponentParameterEnhancerFunction<any>>) => ComponentParameterEnhancer<any, any>;
423
415
 
424
- declare type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
416
+ type LimitPolicy = <ReturnValue>(func: () => Promise<ReturnValue>) => Promise<ReturnValue>;
425
417
  declare function createLimitPolicy({ throttle, retry, }: {
426
418
  throttle?: Options | false;
427
419
  retry?: Options$1 | false;
@@ -493,7 +485,7 @@ declare class EnhancerBuilder {
493
485
  resolveComponentEnhancers(component: ComponentInstance): Map<string, ComponentEnhancer<unknown, EnhancerContext>>;
494
486
  }
495
487
 
496
- declare type EnhancerError = {
488
+ type EnhancerError = {
497
489
  message: string;
498
490
  error: Error | string;
499
491
  };
@@ -537,12 +529,12 @@ declare class UniqueBatchEntries<TArgs, TResult> {
537
529
  resolveRemaining(value: TResult): void;
538
530
  }
539
531
 
540
- declare type ComponentLocationReference = {
532
+ type ComponentLocationReference = {
541
533
  component: ComponentInstance;
542
534
  parentSlot?: string;
543
535
  parentSlotIndex?: number;
544
536
  };
545
- declare type WalkComponentTreeActions<TContext> = {
537
+ type WalkComponentTreeActions<TContext> = {
546
538
  /** Replaces the component being visited with a new object */
547
539
  replaceComponent: (replacementComponent: ComponentInstance) => void;
548
540
  /** Removes the component being visited from the composition */
@@ -568,44 +560,44 @@ declare function getComponentJsonPointer(ancestorsAndSelf: Array<ComponentLocati
568
560
  withSlots?: boolean | undefined;
569
561
  }): string;
570
562
 
571
- declare type SelectComponentMessage = {
563
+ type SelectComponentMessage = {
572
564
  type: 'select-component';
573
565
  id: string;
574
566
  };
575
- declare type ReadyMessage = {
567
+ type ReadyMessage = {
576
568
  type: 'ready';
577
569
  };
578
- declare type UpdateCompositionMessage = {
570
+ type UpdateCompositionMessage = {
579
571
  type: 'update-composition';
580
572
  composition: RootComponentInstance;
581
573
  hash: number | undefined;
582
574
  };
583
- declare type AddComponentMessage = {
575
+ type AddComponentMessage = {
584
576
  type: 'add-component';
585
577
  parentId: string;
586
578
  slotName: string;
587
579
  index: number;
588
580
  };
589
- declare type MoveComponentMessage = {
581
+ type MoveComponentMessage = {
590
582
  type: 'move-component';
591
583
  componentId: string;
592
584
  slotName: string;
593
585
  index: number;
594
586
  };
595
- declare type DismissPlaceholderMessage = {
587
+ type DismissPlaceholderMessage = {
596
588
  type: 'dismiss-placeholder';
597
589
  parentId: string;
598
590
  slotName: string;
599
591
  };
600
- declare type ChannelMessage = SelectComponentMessage | ReadyMessage | UpdateCompositionMessage | AddComponentMessage | MoveComponentMessage | DismissPlaceholderMessage;
592
+ type ChannelMessage = SelectComponentMessage | ReadyMessage | UpdateCompositionMessage | AddComponentMessage | MoveComponentMessage | DismissPlaceholderMessage;
601
593
  declare const isSelectComponentMessage: (message: ChannelMessage) => message is SelectComponentMessage;
602
594
  declare const isReadyMessage: (message: ChannelMessage) => message is ReadyMessage;
603
595
  declare const isUpdateCompositionMessage: (message: ChannelMessage) => message is UpdateCompositionMessage;
604
596
  declare const isAddComponentMessage: (message: ChannelMessage) => message is AddComponentMessage;
605
597
  declare const isMovingComponentMessage: (message: ChannelMessage) => message is MoveComponentMessage;
606
598
  declare const isDismissPlaceholderMessage: (message: ChannelMessage) => message is DismissPlaceholderMessage;
607
- declare type MessageHandler = (message: ChannelMessage, originalEvent: MessageEvent) => void;
608
- declare type Channel = {
599
+ type MessageHandler = (message: ChannelMessage, originalEvent: MessageEvent) => void;
600
+ type Channel = {
609
601
  ready: () => void;
610
602
  destroy: () => void;
611
603
  selectComponent: (id: string) => void;
@@ -620,11 +612,11 @@ declare const createCanvasChannel: ({ listenTo, broadcastTo, }: {
620
612
  broadcastTo: Window[];
621
613
  }) => Channel;
622
614
 
623
- declare type EventNames = 'updated';
615
+ type EventNames = 'updated';
624
616
 
625
617
  declare function getChannelName(projectId: string, compositionId: string, state: number): string;
626
618
 
627
- declare type SubscribeToCompositionOptions = {
619
+ type SubscribeToCompositionOptions = {
628
620
  projectId: string;
629
621
  compositionId: string;
630
622
  compositionState: number;
@@ -632,7 +624,7 @@ declare type SubscribeToCompositionOptions = {
632
624
  eventBus: PreviewEventBus;
633
625
  event: EventNames;
634
626
  };
635
- declare type UnsubscribeCallback = () => void;
627
+ type UnsubscribeCallback = () => void;
636
628
  /** Subscribes to a composition event */
637
629
  declare function subscribeToComposition({ projectId, compositionId, compositionState, eventBus: { subscribe }, callback, event, }: SubscribeToCompositionOptions): UnsubscribeCallback;
638
630
 
package/dist/index.esm.js CHANGED
@@ -1 +1,118 @@
1
- import{$ as Q,A as p,B as q,C as r,D as s,E as t,F as u,G as v,H as w,I as x,J as y,K as z,L as A,M as B,N as C,O as D,P as E,Q as F,R as G,S as H,T as I,U as J,V as K,W as L,X as M,Y as N,Z as O,_ as P,aa as R,ba as S,ca as T,da as U,ea as V,fa as W,ga as X,ha as Y,ia as Z,ja as _,ka as $,l as a,la as aa,m as b,ma as ba,n as c,na as ca,o as d,p as e,q as f,r as g,s as h,t as i,u as j,v as k,w as l,x as m,y as n,z as o}from"./chunk-PVRSC7Y6.mjs";export{ba as ApiClientError,g as BatchEntry,x as CANVAS_DRAFT_STATE,B as CANVAS_ENRICHMENT_TAG_PARAM,s as CANVAS_INTENT_TAG_PARAM,t as CANVAS_LOCALE_TAG_PARAM,w as CANVAS_LOCALIZATION_SLOT,r as CANVAS_LOCALIZATION_TYPE,z as CANVAS_PERSONALIZATION_PARAM,u as CANVAS_PERSONALIZE_SLOT,p as CANVAS_PERSONALIZE_TYPE,y as CANVAS_PUBLISHED_STATE,v as CANVAS_TEST_SLOT,q as CANVAS_TEST_TYPE,A as CANVAS_TEST_VARIANT_PARAM,c as CanvasClient,ca as CanvasClientError,n as ChildEnhancerBuilder,e as DataSourceClient,f as DataTypeClient,I as EDGE_CACHE_DISABLED,H as EDGE_DEFAULT_CACHE_TTL,L as EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS,G as EDGE_MAX_CACHE_TTL,K as EDGE_MAX_L2_CACHE_TTL_IN_HOURS,F as EDGE_MIN_CACHE_TTL,J as EDGE_MIN_L2_CACHE_TTL_IN_HOURS,o as EnhancerBuilder,D as IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,C as IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,E as PLACEHOLDER_ID,d as UncachedCanvasClient,O as UniqueBatchEntries,i as compose,h as createBatchEnhancer,W as createCanvasChannel,X as createEventBus,a as createLimitPolicy,m as enhance,M as extractLocales,P as generateHash,Y as getChannelName,l as getComponentJsonPointer,k as getComponentPath,T as isAddComponentMessage,V as isDismissPlaceholderMessage,U as isMovingComponentMessage,R as isReadyMessage,Q as isSelectComponentMessage,_ as isSystemComponentDefinition,S as isUpdateCompositionMessage,N as localize,$ as mapSlotToPersonalizedVariations,aa as mapSlotToTestVariations,b as nullLimitPolicy,Z as subscribeToComposition,j as walkComponentTree};
1
+ import {
2
+ ApiClientError,
3
+ BatchEntry,
4
+ CANVAS_DRAFT_STATE,
5
+ CANVAS_ENRICHMENT_TAG_PARAM,
6
+ CANVAS_INTENT_TAG_PARAM,
7
+ CANVAS_LOCALE_TAG_PARAM,
8
+ CANVAS_LOCALIZATION_SLOT,
9
+ CANVAS_LOCALIZATION_TYPE,
10
+ CANVAS_PERSONALIZATION_PARAM,
11
+ CANVAS_PERSONALIZE_SLOT,
12
+ CANVAS_PERSONALIZE_TYPE,
13
+ CANVAS_PUBLISHED_STATE,
14
+ CANVAS_TEST_SLOT,
15
+ CANVAS_TEST_TYPE,
16
+ CANVAS_TEST_VARIANT_PARAM,
17
+ CanvasClient,
18
+ CanvasClientError,
19
+ ChildEnhancerBuilder,
20
+ DataSourceClient,
21
+ DataTypeClient,
22
+ EDGE_CACHE_DISABLED,
23
+ EDGE_DEFAULT_CACHE_TTL,
24
+ EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS,
25
+ EDGE_MAX_CACHE_TTL,
26
+ EDGE_MAX_L2_CACHE_TTL_IN_HOURS,
27
+ EDGE_MIN_CACHE_TTL,
28
+ EDGE_MIN_L2_CACHE_TTL_IN_HOURS,
29
+ EnhancerBuilder,
30
+ IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,
31
+ IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
32
+ PLACEHOLDER_ID,
33
+ UncachedCanvasClient,
34
+ UniqueBatchEntries,
35
+ compose,
36
+ createBatchEnhancer,
37
+ createCanvasChannel,
38
+ createEventBus,
39
+ createLimitPolicy,
40
+ enhance,
41
+ extractLocales,
42
+ generateHash,
43
+ getChannelName,
44
+ getComponentJsonPointer,
45
+ getComponentPath,
46
+ isAddComponentMessage,
47
+ isDismissPlaceholderMessage,
48
+ isMovingComponentMessage,
49
+ isReadyMessage,
50
+ isSelectComponentMessage,
51
+ isSystemComponentDefinition,
52
+ isUpdateCompositionMessage,
53
+ localize,
54
+ mapSlotToPersonalizedVariations,
55
+ mapSlotToTestVariations,
56
+ nullLimitPolicy,
57
+ subscribeToComposition,
58
+ walkComponentTree
59
+ } from "./chunk-FIKDTGXG.mjs";
60
+ export {
61
+ ApiClientError,
62
+ BatchEntry,
63
+ CANVAS_DRAFT_STATE,
64
+ CANVAS_ENRICHMENT_TAG_PARAM,
65
+ CANVAS_INTENT_TAG_PARAM,
66
+ CANVAS_LOCALE_TAG_PARAM,
67
+ CANVAS_LOCALIZATION_SLOT,
68
+ CANVAS_LOCALIZATION_TYPE,
69
+ CANVAS_PERSONALIZATION_PARAM,
70
+ CANVAS_PERSONALIZE_SLOT,
71
+ CANVAS_PERSONALIZE_TYPE,
72
+ CANVAS_PUBLISHED_STATE,
73
+ CANVAS_TEST_SLOT,
74
+ CANVAS_TEST_TYPE,
75
+ CANVAS_TEST_VARIANT_PARAM,
76
+ CanvasClient,
77
+ CanvasClientError,
78
+ ChildEnhancerBuilder,
79
+ DataSourceClient,
80
+ DataTypeClient,
81
+ EDGE_CACHE_DISABLED,
82
+ EDGE_DEFAULT_CACHE_TTL,
83
+ EDGE_DEFAULT_L2_CACHE_TTL_IN_HOURS,
84
+ EDGE_MAX_CACHE_TTL,
85
+ EDGE_MAX_L2_CACHE_TTL_IN_HOURS,
86
+ EDGE_MIN_CACHE_TTL,
87
+ EDGE_MIN_L2_CACHE_TTL_IN_HOURS,
88
+ EnhancerBuilder,
89
+ IN_CONTEXT_EDITOR_COMPONENT_START_ROLE,
90
+ IN_CONTEXT_EDITOR_QUERY_STRING_PARAM,
91
+ PLACEHOLDER_ID,
92
+ UncachedCanvasClient,
93
+ UniqueBatchEntries,
94
+ compose,
95
+ createBatchEnhancer,
96
+ createCanvasChannel,
97
+ createEventBus,
98
+ createLimitPolicy,
99
+ enhance,
100
+ extractLocales,
101
+ generateHash,
102
+ getChannelName,
103
+ getComponentJsonPointer,
104
+ getComponentPath,
105
+ isAddComponentMessage,
106
+ isDismissPlaceholderMessage,
107
+ isMovingComponentMessage,
108
+ isReadyMessage,
109
+ isSelectComponentMessage,
110
+ isSystemComponentDefinition,
111
+ isUpdateCompositionMessage,
112
+ localize,
113
+ mapSlotToPersonalizedVariations,
114
+ mapSlotToTestVariations,
115
+ nullLimitPolicy,
116
+ subscribeToComposition,
117
+ walkComponentTree
118
+ };