@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/chunk-FIKDTGXG.mjs +1495 -0
- package/dist/cli/cli.d.ts +2 -2
- package/dist/cli/cli.js +19772 -74
- package/dist/cli/cli.mjs +19183 -74
- package/dist/{createEventBus-bb2f5866.d.ts → createEventBus-bd2e0a92.d.ts} +99 -133
- package/dist/index.d.ts +31 -39
- package/dist/index.esm.js +118 -1
- package/dist/index.js +1519 -3
- package/dist/index.mjs +118 -1
- package/package.json +8 -8
- package/dist/chunk-PVRSC7Y6.mjs +0 -4
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-
|
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-
|
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?: "
|
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
|
-
|
205
|
+
type EnhancerContext = {
|
206
206
|
preview?: boolean;
|
207
207
|
};
|
208
208
|
/** Options passed to a ComponentEnhancer function */
|
209
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
532
|
+
type ComponentLocationReference = {
|
541
533
|
component: ComponentInstance;
|
542
534
|
parentSlot?: string;
|
543
535
|
parentSlotIndex?: number;
|
544
536
|
};
|
545
|
-
|
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
|
-
|
563
|
+
type SelectComponentMessage = {
|
572
564
|
type: 'select-component';
|
573
565
|
id: string;
|
574
566
|
};
|
575
|
-
|
567
|
+
type ReadyMessage = {
|
576
568
|
type: 'ready';
|
577
569
|
};
|
578
|
-
|
570
|
+
type UpdateCompositionMessage = {
|
579
571
|
type: 'update-composition';
|
580
572
|
composition: RootComponentInstance;
|
581
573
|
hash: number | undefined;
|
582
574
|
};
|
583
|
-
|
575
|
+
type AddComponentMessage = {
|
584
576
|
type: 'add-component';
|
585
577
|
parentId: string;
|
586
578
|
slotName: string;
|
587
579
|
index: number;
|
588
580
|
};
|
589
|
-
|
581
|
+
type MoveComponentMessage = {
|
590
582
|
type: 'move-component';
|
591
583
|
componentId: string;
|
592
584
|
slotName: string;
|
593
585
|
index: number;
|
594
586
|
};
|
595
|
-
|
587
|
+
type DismissPlaceholderMessage = {
|
596
588
|
type: 'dismiss-placeholder';
|
597
589
|
parentId: string;
|
598
590
|
slotName: string;
|
599
591
|
};
|
600
|
-
|
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
|
-
|
608
|
-
|
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
|
-
|
615
|
+
type EventNames = 'updated';
|
624
616
|
|
625
617
|
declare function getChannelName(projectId: string, compositionId: string, state: number): string;
|
626
618
|
|
627
|
-
|
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
|
-
|
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
|
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
|
+
};
|