@uniformdev/canvas 20.7.1-alpha.4 → 20.7.1-alpha.45

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.mts CHANGED
@@ -1,7 +1,8 @@
1
1
  import { ApiClient, ExceptProject, ClientOptions, ApiClientError } from '@uniformdev/context/api';
2
2
  export { ApiClientError } from '@uniformdev/context/api';
3
- import { AssetGetResponseSingle, AssetDefinitionType } from '@uniformdev/assets';
4
- import { Quirks, StorageCommands, PersonalizedVariant, TestVariant } from '@uniformdev/context';
3
+ import { AssetGetResponseSingle, AssetDefinitionType, AssetParamValue, AssetParamValueItem } from '@uniformdev/assets';
4
+ export { AssetParamValue, AssetParamValueItem } from '@uniformdev/assets';
5
+ import { Quirks, StorageCommands, PersonalizedVariant, VariationMatchMetadata, TestVariant } from '@uniformdev/context';
5
6
  import { Options as Options$1 } from 'p-retry';
6
7
  import { Options } from 'p-throttle';
7
8
  import { RichTextBuiltInFormat as RichTextBuiltInFormat$1, RichTextBuiltInElement as RichTextBuiltInElement$1, ParameterRichTextValue } from '@uniformdev/richtext';
@@ -552,7 +553,7 @@ interface components$n {
552
553
  categoryId?: string | null;
553
554
  /** @description Description of the component definition */
554
555
  description?: string;
555
- /** @description Description of the component definition */
556
+ /** @description Preview image URL for the component definition (shown in the UI) */
556
557
  previewImageUrl?: string;
557
558
  /**
558
559
  * @description if this component uses team permissions or custom permissions
@@ -777,7 +778,7 @@ interface components$m {
777
778
  categoryId?: string | null;
778
779
  /** @description Description of the component definition */
779
780
  description?: string;
780
- /** @description Description of the component definition */
781
+ /** @description Preview image URL for the component definition (shown in the UI) */
781
782
  previewImageUrl?: string;
782
783
  /**
783
784
  * @description if this component uses team permissions or custom permissions
@@ -850,6 +851,27 @@ interface components$m {
850
851
  * @description ID of the workflow that instances of this content type will use by default. When not set, no workflow is attached
851
852
  */
852
853
  workflowId?: string;
854
+ /** @description Configurations for previewing an entry on a consuming pattern or composition. */
855
+ previewConfigurations?: components$m["schemas"]["ContentTypePreviewConfiguration"][];
856
+ };
857
+ /** @description Defines a configuration for previewing an entry on a consuming pattern or composition. */
858
+ ContentTypePreviewConfiguration: {
859
+ /**
860
+ * @description The type of preview configuration
861
+ * @enum {string}
862
+ */
863
+ type: "pattern" | "project-map";
864
+ /** @description Display label for the preview configuration */
865
+ label: string;
866
+ /**
867
+ * Format: uuid
868
+ * @description Target preview entity ID (project map node ID or pattern ID)
869
+ */
870
+ id: string;
871
+ /** @description Optional mapping of dynamic input names to their values */
872
+ dynamicInputs?: {
873
+ [key: string]: string;
874
+ };
853
875
  };
854
876
  /** @description Defines an editable parameter on a component */
855
877
  ComponentParameter: {
@@ -1781,8 +1803,14 @@ declare const CANVAS_DRAFT_STATE = 0;
1781
1803
  declare const CANVAS_PUBLISHED_STATE = 64;
1782
1804
  /** Constant for editor composition state. */
1783
1805
  declare const CANVAS_EDITOR_STATE = 63;
1784
- /** Public ID of the Uniform Context personalization parameter on Canvas components */
1806
+ /** Public ID of the Uniform Context personalization criteria parameter on Canvas components */
1785
1807
  declare const CANVAS_PERSONALIZATION_PARAM = "$pzCrit";
1808
+ /** Public ID of the Uniform Context personalization component's event name parameter */
1809
+ declare const CANVAS_PERSONALIZATION_EVENT_NAME_PARAM = "trackingEventName";
1810
+ /** Public ID of the Uniform Context personalization component's algorithm parameter */
1811
+ declare const CANVAS_PERSONALIZATION_ALGORITHM_PARAM = "algorithm";
1812
+ /** Public ID of the Uniform Context personalization component's number of variants to show parameter */
1813
+ declare const CANVAS_PERSONALIZATION_TAKE_PARAM = "count";
1786
1814
  /** Public ID of the Uniform Context test variant parameter on Canvas components */
1787
1815
  declare const CANVAS_TEST_VARIANT_PARAM = "$tstVrnt";
1788
1816
  /** Public ID of the Uniform Context enrichment tag parameter on Canvas components */
@@ -2763,6 +2791,25 @@ interface components$j {
2763
2791
  /** @description State of the component that this permission applies to */
2764
2792
  state: number;
2765
2793
  };
2794
+ /** @description Defines a configuration for previewing an entry on a consuming pattern or composition. */
2795
+ ContentTypePreviewConfiguration: {
2796
+ /**
2797
+ * @description The type of preview configuration
2798
+ * @enum {string}
2799
+ */
2800
+ type: "pattern" | "project-map";
2801
+ /** @description Display label for the preview configuration */
2802
+ label: string;
2803
+ /**
2804
+ * Format: uuid
2805
+ * @description Target preview entity ID (project map node ID or pattern ID)
2806
+ */
2807
+ id: string;
2808
+ /** @description Optional mapping of dynamic input names to their values */
2809
+ dynamicInputs?: {
2810
+ [key: string]: string;
2811
+ };
2812
+ };
2766
2813
  /** @description Defines a content type */
2767
2814
  ContentType: {
2768
2815
  id: components$j["schemas"]["PublicIdProperty"];
@@ -2810,6 +2857,8 @@ interface components$j {
2810
2857
  * @description ID of the workflow that instances of this content type will use by default. When not set, no workflow is attached
2811
2858
  */
2812
2859
  workflowId?: string;
2860
+ /** @description Configurations for previewing an entry on a consuming pattern or composition. */
2861
+ previewConfigurations?: components$j["schemas"]["ContentTypePreviewConfiguration"][];
2813
2862
  };
2814
2863
  Error: {
2815
2864
  /** @description Error message(s) that occurred while processing the request */
@@ -4100,6 +4149,7 @@ interface components$h {
4100
4149
 
4101
4150
  type HistoryApi$1 = paths$f['/api/v1/entries-history'];
4102
4151
  type ContentType = components$m['schemas']['ContentType'];
4152
+ type ContentTypePreviewConfiguration = components$m['schemas']['ContentTypePreviewConfiguration'];
4103
4153
  type ContentTypeField = Exclude<ContentType['fields'], undefined>[number];
4104
4154
  type GetContentTypesOptions = paths$h['/api/v1/content-types']['get']['parameters']['query'];
4105
4155
  type DeleteContentTypeOptions = paths$h['/api/v1/content-types']['delete']['requestBody']['content']['application/json'];
@@ -7457,6 +7507,8 @@ interface components$8 {
7457
7507
  retryCount: number;
7458
7508
  retryDelay: number;
7459
7509
  sourceCache?: string;
7510
+ /** @description Array of status codes for corresponding retries; will be empty for cache hits, Uniform Content data resources and static JSON data resources */
7511
+ statusCodes: number[];
7460
7512
  };
7461
7513
  data: unknown;
7462
7514
  };
@@ -7491,6 +7543,7 @@ interface components$8 {
7491
7543
  };
7492
7544
  };
7493
7545
  DataResolutionIssue: {
7546
+ componentId?: string;
7494
7547
  componentPath?: string;
7495
7548
  componentType?: string;
7496
7549
  message: string;
@@ -8369,8 +8422,8 @@ interface components$8 {
8369
8422
  };
8370
8423
  };
8371
8424
  parameters: {
8372
- /** @description Enables additional diagnostics that will be attached to the response */
8373
- diagnostics: boolean;
8425
+ /** @description Enables additional diagnostics that will be attached to the response; set to "no-data" to skip data resource values while keeping metrics */
8426
+ diagnostics: "true" | "false" | "no-data";
8374
8427
  /** @description Controls how many levels deep content references should be resolved */
8375
8428
  resolutionDepth: number;
8376
8429
  /** @description Max number of records to return */
@@ -9682,9 +9735,10 @@ type DataResolutionOptionPositive = {
9682
9735
  type DataResolutionParameters = {
9683
9736
  /**
9684
9737
  * Adds additional diagnostics about edge request processing to the response (`diagnostics`).
9685
- * Because this adds a lot of data to the response, we do not recommend using this unless diagnosing performance issues.
9738
+ * Only use when diagnosing performance issues, don't use for serving production traffic.
9739
+ * Setting to `true` will include all resolved data which may be big. Use `"no-data"` to skip data.
9686
9740
  */
9687
- diagnostics?: boolean;
9741
+ diagnostics?: boolean | 'no-data';
9688
9742
  /**
9689
9743
  * Controls how many levels deep content references should be resolved.
9690
9744
  */
@@ -10006,81 +10060,6 @@ type schemas = components$8['schemas'];
10006
10060
  type InvalidationPayload = schemas['InvalidationPayload'];
10007
10061
  type BatchInvalidationPayload = schemas['BatchInvalidationPayload'];
10008
10062
 
10009
- type AssetParamValue = AssetParamValueItem[];
10010
- type AssetParamValueItem = {
10011
- type: string;
10012
- _id: string;
10013
- /**
10014
- * Internal Uniform source ID or
10015
- * dataType ID of the global integration library
10016
- * which created this asset item
10017
- */
10018
- _source?: string;
10019
- fields: {
10020
- url: {
10021
- type: 'text';
10022
- value: string;
10023
- };
10024
- id?: {
10025
- type: 'text';
10026
- value: string | undefined;
10027
- };
10028
- title?: {
10029
- type: 'text';
10030
- value: string | undefined;
10031
- };
10032
- description?: {
10033
- type: 'text';
10034
- value: string | undefined;
10035
- };
10036
- mediaType?: {
10037
- type: 'text';
10038
- value: string | undefined;
10039
- };
10040
- /**
10041
- * The width of the original asset
10042
- *
10043
- * Should resolve to a number but might
10044
- * be a string with a pointer reference
10045
- */
10046
- width?: {
10047
- type: 'number';
10048
- value: number | string | undefined;
10049
- };
10050
- /**
10051
- * The height of the original asset
10052
- *
10053
- * Should resolve to a number but might
10054
- * be a string with a pointer reference
10055
- */
10056
- height?: {
10057
- type: 'number';
10058
- value: number | string | undefined;
10059
- };
10060
- /**
10061
- * The size in bytes of the original asset
10062
- *
10063
- * Should resolve to a number but might
10064
- * be a string with a pointer reference
10065
- */
10066
- size?: {
10067
- type: 'number';
10068
- value: number | string | undefined;
10069
- };
10070
- /**
10071
- * Any key/value properties which the source
10072
- * wants to attach to the asset data
10073
- */
10074
- custom?: {
10075
- type: string;
10076
- value: Record<string, unknown>;
10077
- };
10078
- };
10079
- _overrides?: {
10080
- fields: ComponentOverride['parameters'];
10081
- };
10082
- };
10083
-
10084
10063
  type LinkParameterType = 'projectMapNode' | 'url' | 'tel' | 'email';
10085
10064
  type LinkTypeConfiguration = Partial<Record<LinkParameterType, boolean>>;
10086
10065
  type LinkParamConfiguration = {
@@ -10126,10 +10105,7 @@ interface paths$6 {
10126
10105
  path?: never;
10127
10106
  cookie?: never;
10128
10107
  };
10129
- /**
10130
- * @deprecated
10131
- * @description Gets all preview URLs
10132
- */
10108
+ /** @description Gets all preview URLs */
10133
10109
  get: {
10134
10110
  parameters: {
10135
10111
  query: {
@@ -10174,10 +10150,7 @@ interface paths$6 {
10174
10150
  500: components$6["responses"]["InternalServerError"];
10175
10151
  };
10176
10152
  };
10177
- /**
10178
- * @deprecated
10179
- * @description Upserts a preview URL
10180
- */
10153
+ /** @description Upserts a preview URL */
10181
10154
  put: {
10182
10155
  parameters: {
10183
10156
  query?: never;
@@ -10239,10 +10212,7 @@ interface paths$6 {
10239
10212
  };
10240
10213
  };
10241
10214
  post?: never;
10242
- /**
10243
- * @deprecated
10244
- * @description Deletes a preview URL
10245
- */
10215
+ /** @description Deletes a preview URL */
10246
10216
  delete: {
10247
10217
  parameters: {
10248
10218
  query?: never;
@@ -11573,7 +11543,7 @@ declare class CanvasClient extends ApiClient<CanvasClientOptions> {
11573
11543
  filters?: CompositionFilters;
11574
11544
  } & ({
11575
11545
  resolveData: true;
11576
- diagnostics?: boolean;
11546
+ diagnostics: DataResolutionParameters['diagnostics'];
11577
11547
  } | {
11578
11548
  resolveData?: false;
11579
11549
  })): Promise<CompositionGetListResponse | CompositionResolvedListResponse>;
@@ -12127,13 +12097,19 @@ interface EvaluateNodeTreeVisibilityOptions extends Pick<EvaluateNodeVisibilityO
12127
12097
  * When false, indeterminate criteria will fail the summary result, and the node will be hidden
12128
12098
  */
12129
12099
  showIndeterminate?: boolean;
12100
+ /**
12101
+ * When evaluating visibility of a root node, this controls what happens when the node is found to be invisible.
12102
+ * When 'throw' (default), an error is thrown.
12103
+ * When 'ignore', the node is left intact. False is still returned.
12104
+ */
12105
+ rootNodeInvisibleHandling?: 'throw' | 'ignore';
12130
12106
  }
12131
12107
  /**
12132
12108
  * Function to call to evaluate visibility rules when traversing the node tree with walkNodeTree.
12133
12109
  *
12134
12110
  * If the function returns false, that means the current node is removed and you should stop any other code handling.
12135
12111
  */
12136
- declare function evaluateWalkTreeNodeVisibility({ rules, showIndeterminate, context, }: EvaluateNodeTreeVisibilityOptions): boolean | undefined;
12112
+ declare function evaluateWalkTreeNodeVisibility({ rules, showIndeterminate, rootNodeInvisibleHandling, context, }: EvaluateNodeTreeVisibilityOptions): boolean | undefined;
12137
12113
 
12138
12114
  interface EvaluateWalkTreePropertyCriteriaOptions extends Pick<EvaluatePropertyCriteriaOptions, 'rules' | 'keepIndeterminate'> {
12139
12115
  node: ComponentInstance;
@@ -12224,6 +12200,7 @@ declare class LocaleClient extends ApiClient {
12224
12200
  interface ContextualEditingWindowData {
12225
12201
  framework?: ReadyMessage['framework'];
12226
12202
  version?: ReadyMessage['version'];
12203
+ canvasPackageVersion?: ReadyMessage['canvasPackageVersion'];
12227
12204
  state?: UpdateContextualEditingStateInternalMessage['state'];
12228
12205
  }
12229
12206
  declare global {
@@ -12247,6 +12224,8 @@ type ReadyMessage = {
12247
12224
  version?: number;
12248
12225
  /** Whether or not the SDK is RSC or not, activates editor state. */
12249
12226
  rsc?: boolean;
12227
+ /** Canvas package version (@uniformdev/canvas) running in the preview. Not available for older SDKs. */
12228
+ canvasPackageVersion?: string;
12250
12229
  };
12251
12230
  type TriggerComponentActionMessage = {
12252
12231
  type: 'trigger-component-action';
@@ -12423,8 +12402,6 @@ declare const createCanvasChannel: ({ listenTo, broadcastTo, }: {
12423
12402
 
12424
12403
  /**
12425
12404
  * API client to work with Uniform Project Preview entities
12426
- *
12427
- * @deprecated beta functionality subject to change
12428
12405
  */
12429
12406
  declare class PreviewClient extends ApiClient {
12430
12407
  constructor(options: ClientOptions);
@@ -12837,7 +12814,7 @@ declare const isSystemComponentDefinition: (componentType: string) => boolean;
12837
12814
  * Converts components in a slot into personalized variations (based on each component's intent tag in Canvas) suitable to pass to a personalize component
12838
12815
  * Useful when implementing custom personalization settings for Canvas components.
12839
12816
  */
12840
- declare function mapSlotToPersonalizedVariations(slot: ComponentInstance[] | undefined): Array<ComponentInstance & PersonalizedVariant>;
12817
+ declare function mapSlotToPersonalizedVariations(slot: ComponentInstance[] | undefined): Array<ComponentInstance & PersonalizedVariant<VariationMatchMetadata>>;
12841
12818
 
12842
12819
  /**
12843
12820
  * Converts components in a slot into test variations (based on each component's Context tag in Canvas) suitable to pass to a personalize component
@@ -12980,6 +12957,8 @@ declare function hasReferencedVariables(value: string | undefined): number;
12980
12957
  */
12981
12958
  declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable') => void | false): number;
12982
12959
 
12960
+ declare const version = "20.18.0";
12961
+
12983
12962
  /** API client to enable managing workflow definitions */
12984
12963
  declare class WorkflowClient extends ApiClient {
12985
12964
  constructor(options: ClientOptions);
@@ -12995,4 +12974,4 @@ declare class WorkflowClient extends ApiClient {
12995
12974
 
12996
12975
  declare const CanvasClientError: typeof ApiClientError;
12997
12976
 
12998
- export { ASSETS_SOURCE_CUSTOM_URL, ASSETS_SOURCE_UNIFORM, ASSET_PARAMETER_TYPE, ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, type AddComponentMessage, type AssetParamValue, type AssetParamValueItem, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_TYPE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CANVAS_VIZ_CONTROL_PARAM, CANVAS_VIZ_DI_RULE, CANVAS_VIZ_DYNAMIC_TOKEN_RULE, CANVAS_VIZ_LOCALE_RULE, CANVAS_VIZ_QUIRKS_RULE, CanvasClient, CanvasClientError, type CanvasDefinitions, type CategoriesDeleteParameters, type CategoriesGetParameters, type CategoriesGetResponse, type CategoriesPutParameters, type Category, CategoryClient, type Channel, type ChannelMessage, ChildEnhancerBuilder, type ComponentDefinition, type ComponentDefinitionDeleteParameters, type ComponentDefinitionGetParameters, type ComponentDefinitionGetResponse, type ComponentDefinitionParameter, type ComponentDefinitionPermission, type ComponentDefinitionPutParameters, type ComponentDefinitionSlot, type ComponentDefinitionSlugSettings, type ComponentDefinitionVariant, type ComponentEnhancer, type ComponentEnhancerFunction, type ComponentEnhancerOptions, type ComponentInstance, type ComponentInstanceContextualEditing, type ComponentInstanceHistoryEntry, type ComponentInstanceHistoryGetParameters, type ComponentInstanceHistoryGetResponse, type ComponentLocationReference, type ComponentOverridability, type ComponentOverride, type ComponentOverrides, type ComponentParameter, type ComponentParameterBlock, type ComponentParameterConditionalValue, type ComponentParameterContextualEditing, type ComponentParameterEnhancer, type ComponentParameterEnhancerFunction, type ComponentParameterEnhancerOptions, type CompositionDeleteParameters, type CompositionFilters, type CompositionGetByComponentIdParameters, type CompositionGetByIdParameters, type CompositionGetByNodeIdParameters, type CompositionGetByNodePathParameters, type CompositionGetBySlugParameters, type CompositionGetListResponse, type CompositionGetParameters, type CompositionGetResponse, type CompositionGetValidResponses, type CompositionPutParameters, type CompositionResolvedGetResponse, type CompositionResolvedListResponse, type CompositionUIStatus, ContentClient, type ContentType, type ContentTypeField, type ContextStorageUpdatedMessage, type ContextualEditingComponentReference, type ContextualEditingValue, type CopiedComponentSubtree, type DataDiagnostic, type DataElementBindingIssue, type DataElementConnectionDefinition, type DataElementConnectionFailureAction, type DataElementConnectionFailureLogLevel, type DataResolutionConfigIssue, type DataResolutionIssue, type DataResolutionOption, type DataResolutionOptionNegative, type DataResolutionOptionPositive, type DataResolutionParameters, type DataResourceDefinition, type DataResourceDefinitions, type DataResourceIssue, type DataResourceVariables, type DataSource, DataSourceClient, type DataSourceDeleteParameters, type DataSourceGetParameters, type DataSourceGetResponse, type DataSourcePutParameters, type DataSourceVariantData, type DataSourceVariantsKeys, type DataSourcesGetParameters, type DataSourcesGetResponse, type DataType, DataTypeClient, type DataTypeDeleteParameters, type DataTypeGetParameters, type DataTypeGetResponse, type DataTypePutParameters, type DataVariableDefinition, type DataWithProperties, type DeleteContentTypeOptions, type DeleteEntryOptions, type DismissPlaceholderMessage, type DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_MAX_CACHE_TTL, EDGE_MIN_CACHE_TTL, EMPTY_COMPOSITION, type EdgehancersDiagnostics, type EdgehancersWholeResponseCacheDiagnostics, type EditorStateUpdatedMessage, EnhancerBuilder, type EnhancerContext, type EnhancerError, EntityReleasesClient, type EntityReleasesGetParameters, type EntityReleasesGetResponse, type EntriesGetParameters, type EntriesGetResponse, type EntriesHistoryGetParameters, type EntriesHistoryGetResponse, type EntriesResolvedListResponse, type Entry, type EntryData, type EntryFilters, type EntryList, type EvaluateCriteriaGroupOptions, type EvaluateNodeTreeVisibilityOptions, type EvaluateNodeVisibilityParameterOptions, type EvaluatePropertyCriteriaOptions, type EvaluateWalkTreePropertyCriteriaOptions, type Filters, type FindInNodeTreeReference, type FlattenProperty, type FlattenValues, type FlattenValuesOptions, type GetContentTypesOptions, type GetContentTypesResponse, type GetEffectivePropertyValueOptions, type GetEntriesOptions, type GetEntriesResponse, type GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_FORCED_SETTINGS_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type LimitPolicy, type LinkParamConfiguration, type LinkParamValue, type LinkParameterType, type LinkTypeConfiguration, type Locale, LocaleClient, type LocaleDeleteParameters, type LocalePutParameters, type LocalesGetParameters, type LocalesGetResponse, type LocalizeOptions, type MaxDepthExceededIssue, type MessageHandler, type MoveComponentMessage, type NodeLocationReference, type NonProjectMapLinkParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type PatternIssue, PreviewClient, type PreviewPanelSettings, type PreviewUrl, type PreviewUrlDeleteParameters, type PreviewUrlDeleteResponse, type PreviewUrlPutParameters, type PreviewUrlPutResponse, type PreviewUrlsGetParameters, type PreviewUrlsGetResponse, type PreviewViewport, type PreviewViewportDeleteParameters, type PreviewViewportDeleteResponse, type PreviewViewportPutParameters, type PreviewViewportPutResponse, type PreviewViewportsGetParameters, type PreviewViewportsGetResponse, type ProjectMapLinkParamValue, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PropertyValue, type PutContentTypeBody, type PutEntryBody, type ReadyMessage, RelationshipClient, type RelationshipResultInstance, type Release, ReleaseClient, type ReleaseContent, ReleaseContentsClient, type ReleaseContentsDeleteBody, type ReleaseContentsGetParameters, type ReleaseContentsGetResponse, type ReleaseDeleteParameters, type ReleasePatchParameters, type ReleasePutParameters, type ReleaseState, type ReleasesGetParameters, type ReleasesGetResponse, type ReportRenderedCompositionsMessage, type RequestComponentSuggestionMessage, type RequestPageHtmlMessage, type ResolvedRouteGetResponse, type RichTextBuiltInElement, type RichTextBuiltInFormat, type RichTextParamConfiguration, type RichTextParamValue, type RootComponentInstance, type RootEntryReference, type RootLocationReference, RouteClient, type RouteDynamicInputs, type RouteGetParameters, type RouteGetResponse, type RouteGetResponseComposition, type RouteGetResponseEdgehancedComposition, type RouteGetResponseEdgehancedNotFound, type RouteGetResponseNotFound, type RouteGetResponseRedirect, SECRET_QUERY_STRING_PARAM, type SelectComponentMessage, type SelectParameterMessage, type SendPageHtmlMessage, type SpecificProjectMap, type StringOperators, type SuggestComponentMessage, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkNodeTreeActions, type WalkNodeTreeOptions, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, bindExpressionEscapeChars, bindExpressionPrefix, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, convertToBindExpression, createBatchEnhancer, createCanvasChannel, createDynamicInputVisibilityRule, createDynamicTokenVisibilityRule, createLimitPolicy, createLocaleVisibilityRule, createQuirksVisibilityRule, createUniformApiEnhancer, createVariableReference, enhance, escapeBindExpressionDefaultValue, evaluateNodeVisibilityParameter, evaluatePropertyCriteria, evaluateVisibilityCriteriaGroup, evaluateWalkTreeNodeVisibility, evaluateWalkTreePropertyCriteria, extractLocales, findParameterInNodeTree, flattenValues, generateComponentPlaceholderId, generateHash, getBlockValue, getComponentJsonPointer, getComponentPath, getDataSourceVariantFromRouteGetParams, getEffectivePropertyValue, getLocalizedPropertyValues, getNounForLocation, getNounForNode, getParameterAttributes, getPropertiesValue, hasReferencedVariables, isAddComponentMessage, isAllowedReferrer, isAssetParamValue, isAssetParamValueItem, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, walkNodeTree, walkPropertyValues };
12977
+ export { ASSETS_SOURCE_CUSTOM_URL, ASSETS_SOURCE_UNIFORM, ASSET_PARAMETER_TYPE, ATTRIBUTE_COMPONENT_ID, ATTRIBUTE_MULTILINE, ATTRIBUTE_PARAMETER_ID, ATTRIBUTE_PARAMETER_TYPE, ATTRIBUTE_PARAMETER_VALUE, ATTRIBUTE_PLACEHOLDER, type AddComponentMessage, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_ALGORITHM_PARAM, CANVAS_PERSONALIZATION_EVENT_NAME_PARAM, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZATION_TAKE_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_TYPE, CANVAS_TEST_SLOT, CANVAS_TEST_TYPE, CANVAS_TEST_VARIANT_PARAM, CANVAS_VIZ_CONTROL_PARAM, CANVAS_VIZ_DI_RULE, CANVAS_VIZ_DYNAMIC_TOKEN_RULE, CANVAS_VIZ_LOCALE_RULE, CANVAS_VIZ_QUIRKS_RULE, CanvasClient, CanvasClientError, type CanvasDefinitions, type CategoriesDeleteParameters, type CategoriesGetParameters, type CategoriesGetResponse, type CategoriesPutParameters, type Category, CategoryClient, type Channel, type ChannelMessage, ChildEnhancerBuilder, type ComponentDefinition, type ComponentDefinitionDeleteParameters, type ComponentDefinitionGetParameters, type ComponentDefinitionGetResponse, type ComponentDefinitionParameter, type ComponentDefinitionPermission, type ComponentDefinitionPutParameters, type ComponentDefinitionSlot, type ComponentDefinitionSlugSettings, type ComponentDefinitionVariant, type ComponentEnhancer, type ComponentEnhancerFunction, type ComponentEnhancerOptions, type ComponentInstance, type ComponentInstanceContextualEditing, type ComponentInstanceHistoryEntry, type ComponentInstanceHistoryGetParameters, type ComponentInstanceHistoryGetResponse, type ComponentLocationReference, type ComponentOverridability, type ComponentOverride, type ComponentOverrides, type ComponentParameter, type ComponentParameterBlock, type ComponentParameterConditionalValue, type ComponentParameterContextualEditing, type ComponentParameterEnhancer, type ComponentParameterEnhancerFunction, type ComponentParameterEnhancerOptions, type CompositionDeleteParameters, type CompositionFilters, type CompositionGetByComponentIdParameters, type CompositionGetByIdParameters, type CompositionGetByNodeIdParameters, type CompositionGetByNodePathParameters, type CompositionGetBySlugParameters, type CompositionGetListResponse, type CompositionGetParameters, type CompositionGetResponse, type CompositionGetValidResponses, type CompositionPutParameters, type CompositionResolvedGetResponse, type CompositionResolvedListResponse, type CompositionUIStatus, ContentClient, type ContentType, type ContentTypeField, type ContentTypePreviewConfiguration, type ContextStorageUpdatedMessage, type ContextualEditingComponentReference, type ContextualEditingValue, type CopiedComponentSubtree, type DataDiagnostic, type DataElementBindingIssue, type DataElementConnectionDefinition, type DataElementConnectionFailureAction, type DataElementConnectionFailureLogLevel, type DataResolutionConfigIssue, type DataResolutionIssue, type DataResolutionOption, type DataResolutionOptionNegative, type DataResolutionOptionPositive, type DataResolutionParameters, type DataResourceDefinition, type DataResourceDefinitions, type DataResourceIssue, type DataResourceVariables, type DataSource, DataSourceClient, type DataSourceDeleteParameters, type DataSourceGetParameters, type DataSourceGetResponse, type DataSourcePutParameters, type DataSourceVariantData, type DataSourceVariantsKeys, type DataSourcesGetParameters, type DataSourcesGetResponse, type DataType, DataTypeClient, type DataTypeDeleteParameters, type DataTypeGetParameters, type DataTypeGetResponse, type DataTypePutParameters, type DataVariableDefinition, type DataWithProperties, type DeleteContentTypeOptions, type DeleteEntryOptions, type DismissPlaceholderMessage, type DynamicInputIssue, EDGE_CACHE_DISABLED, EDGE_DEFAULT_CACHE_TTL, EDGE_MAX_CACHE_TTL, EDGE_MIN_CACHE_TTL, EMPTY_COMPOSITION, type EdgehancersDiagnostics, type EdgehancersWholeResponseCacheDiagnostics, type EditorStateUpdatedMessage, EnhancerBuilder, type EnhancerContext, type EnhancerError, EntityReleasesClient, type EntityReleasesGetParameters, type EntityReleasesGetResponse, type EntriesGetParameters, type EntriesGetResponse, type EntriesHistoryGetParameters, type EntriesHistoryGetResponse, type EntriesResolvedListResponse, type Entry, type EntryData, type EntryFilters, type EntryList, type EvaluateCriteriaGroupOptions, type EvaluateNodeTreeVisibilityOptions, type EvaluateNodeVisibilityParameterOptions, type EvaluatePropertyCriteriaOptions, type EvaluateWalkTreePropertyCriteriaOptions, type Filters, type FindInNodeTreeReference, type FlattenProperty, type FlattenValues, type FlattenValuesOptions, type GetContentTypesOptions, type GetContentTypesResponse, type GetEffectivePropertyValueOptions, type GetEntriesOptions, type GetEntriesResponse, type GetParameterAttributesProps, IN_CONTEXT_EDITOR_COMPONENT_END_ROLE, IN_CONTEXT_EDITOR_COMPONENT_START_ROLE, IN_CONTEXT_EDITOR_CONFIG_CHECK_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_EMBED_SCRIPT_ID, IN_CONTEXT_EDITOR_FORCED_SETTINGS_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_PLAYGROUND_QUERY_STRING_PARAM, IN_CONTEXT_EDITOR_QUERY_STRING_PARAM, IS_RENDERED_BY_UNIFORM_ATTRIBUTE, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type LimitPolicy, type LinkParamConfiguration, type LinkParamValue, type LinkParameterType, type LinkTypeConfiguration, type Locale, LocaleClient, type LocaleDeleteParameters, type LocalePutParameters, type LocalesGetParameters, type LocalesGetResponse, type LocalizeOptions, type MaxDepthExceededIssue, type MessageHandler, type MoveComponentMessage, type NodeLocationReference, type NonProjectMapLinkParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type PatternIssue, PreviewClient, type PreviewPanelSettings, type PreviewUrl, type PreviewUrlDeleteParameters, type PreviewUrlDeleteResponse, type PreviewUrlPutParameters, type PreviewUrlPutResponse, type PreviewUrlsGetParameters, type PreviewUrlsGetResponse, type PreviewViewport, type PreviewViewportDeleteParameters, type PreviewViewportDeleteResponse, type PreviewViewportPutParameters, type PreviewViewportPutResponse, type PreviewViewportsGetParameters, type PreviewViewportsGetResponse, type ProjectMapLinkParamValue, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PropertyValue, type PutContentTypeBody, type PutEntryBody, type ReadyMessage, RelationshipClient, type RelationshipResultInstance, type Release, ReleaseClient, type ReleaseContent, ReleaseContentsClient, type ReleaseContentsDeleteBody, type ReleaseContentsGetParameters, type ReleaseContentsGetResponse, type ReleaseDeleteParameters, type ReleasePatchParameters, type ReleasePutParameters, type ReleaseState, type ReleasesGetParameters, type ReleasesGetResponse, type ReportRenderedCompositionsMessage, type RequestComponentSuggestionMessage, type RequestPageHtmlMessage, type ResolvedRouteGetResponse, type RichTextBuiltInElement, type RichTextBuiltInFormat, type RichTextParamConfiguration, type RichTextParamValue, type RootComponentInstance, type RootEntryReference, type RootLocationReference, RouteClient, type RouteDynamicInputs, type RouteGetParameters, type RouteGetResponse, type RouteGetResponseComposition, type RouteGetResponseEdgehancedComposition, type RouteGetResponseEdgehancedNotFound, type RouteGetResponseNotFound, type RouteGetResponseRedirect, SECRET_QUERY_STRING_PARAM, type SelectComponentMessage, type SelectParameterMessage, type SendPageHtmlMessage, type SpecificProjectMap, type StringOperators, type SuggestComponentMessage, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UniqueBatchEntries, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkNodeTreeActions, type WalkNodeTreeOptions, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, bindExpressionEscapeChars, bindExpressionPrefix, bindVariables, bindVariablesToObject, compose, convertEntryToPutEntry, convertToBindExpression, createBatchEnhancer, createCanvasChannel, createDynamicInputVisibilityRule, createDynamicTokenVisibilityRule, createLimitPolicy, createLocaleVisibilityRule, createQuirksVisibilityRule, createUniformApiEnhancer, createVariableReference, enhance, escapeBindExpressionDefaultValue, evaluateNodeVisibilityParameter, evaluatePropertyCriteria, evaluateVisibilityCriteriaGroup, evaluateWalkTreeNodeVisibility, evaluateWalkTreePropertyCriteria, extractLocales, findParameterInNodeTree, flattenValues, generateComponentPlaceholderId, generateHash, getBlockValue, getComponentJsonPointer, getComponentPath, getDataSourceVariantFromRouteGetParams, getEffectivePropertyValue, getLocalizedPropertyValues, getNounForLocation, getNounForNode, getParameterAttributes, getPropertiesValue, hasReferencedVariables, isAddComponentMessage, isAllowedReferrer, isAssetParamValue, isAssetParamValueItem, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, version, walkNodeTree, walkPropertyValues };