@uniformdev/canvas 20.70.1-alpha.10 → 20.71.1

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
@@ -1639,6 +1639,76 @@ interface components$q {
1639
1639
  pathItems: never;
1640
1640
  }
1641
1641
 
1642
+ /**
1643
+ * Data projection wire grammar (`select.*` query parameters) and shared spec
1644
+ * type used by every consumer of projections: API serializers (SDK clients),
1645
+ * the origin pruner (lib/canvas-sdk applyProjection), and localize (for the
1646
+ * representation-modifier operator `fields[locales]`).
1647
+ *
1648
+ * Wire grammar (mirrors `filters.*`):
1649
+ *
1650
+ * select.fields[only]=name,seo_*
1651
+ * select.fields[except]=internalNote
1652
+ * select.fields[only]= // strip every field
1653
+ * select.fields[except]=* // strip every field (wildcard form)
1654
+ * select.fields[locales]=slug,seo_*
1655
+ * select.fieldTypes[only]=text,number
1656
+ * select.fieldTypes[except]=richText
1657
+ * select.slots[only]=hero
1658
+ * select.slots[except]=footer
1659
+ * select.slots[depth]=2
1660
+ * select.slots.<name>[depth]=1
1661
+ */
1662
+ /**
1663
+ * Prefix used by every `select.*` query parameter on the wire. Exported so
1664
+ * downstream prefix scans (lambda validator, edge search-param reader,
1665
+ * origin handler short-circuits) and key builders don't hand-roll the
1666
+ * literal at every call site.
1667
+ */
1668
+ declare const SELECT_QUERY_PREFIX = "select.";
1669
+ type FieldsProjection = {
1670
+ /** Include only fields whose name matches one of these patterns. */
1671
+ only?: string[];
1672
+ /** Exclude fields whose name matches one of these patterns. */
1673
+ except?: string[];
1674
+ /**
1675
+ * Field-name patterns whose value should retain its full per-locale map
1676
+ * (`locales` / `localesConditions`) after `localize` runs. Representation
1677
+ * modifier; the pruner ignores this — see lib/canvas-sdk applyProjection.
1678
+ */
1679
+ locales?: string[];
1680
+ };
1681
+ type FieldTypesProjection = {
1682
+ /** Include only fields whose `type` matches one of these patterns. */
1683
+ only?: string[];
1684
+ /** Exclude fields whose `type` matches one of these patterns. */
1685
+ except?: string[];
1686
+ };
1687
+ type SlotsProjection = {
1688
+ /** Include only slots whose name matches one of these patterns. */
1689
+ only?: string[];
1690
+ /** Exclude slots whose name matches one of these patterns. */
1691
+ except?: string[];
1692
+ /**
1693
+ * Container-wide recursion-depth cap counted in slot levels from the root.
1694
+ * 0 means "no slots at all on the root"; 1 means "root's own slots but no
1695
+ * grandchildren slots". Per-name depth (see `named`) overrides this for
1696
+ * its specific slot.
1697
+ */
1698
+ depth?: number;
1699
+ /** Per-slot depth caps. Keyed by slot name. */
1700
+ named?: {
1701
+ [slotName: string]: {
1702
+ depth?: number;
1703
+ };
1704
+ };
1705
+ };
1706
+ type ProjectionSpec = {
1707
+ fields?: FieldsProjection;
1708
+ fieldTypes?: FieldTypesProjection;
1709
+ slots?: SlotsProjection;
1710
+ };
1711
+
1642
1712
  interface paths$m {
1643
1713
  "/api/v1/categories": {
1644
1714
  parameters: {
@@ -3056,6 +3126,14 @@ interface paths$k {
3056
3126
  path?: never;
3057
3127
  cookie?: never;
3058
3128
  };
3129
+ /**
3130
+ * @description In addition to the named parameters below, this endpoint accepts the
3131
+ * following query parameter conventions which are pattern-validated and
3132
+ * therefore not declared as named parameters:
3133
+ *
3134
+ * * `filters.<field>[<op>]` — content filtering. See product docs for the supported field / operator combinations.
3135
+ * * `select.<bucket>[<op>]` — data projection. See product docs for available syntax.
3136
+ */
3059
3137
  get: {
3060
3138
  parameters: {
3061
3139
  query: {
@@ -6540,6 +6618,15 @@ interface paths$c {
6540
6618
  path?: never;
6541
6619
  cookie?: never;
6542
6620
  };
6621
+ /**
6622
+ * @description In addition to the named parameters below, this endpoint accepts the
6623
+ * following query parameter conventions which are pattern-validated and
6624
+ * therefore not declared as named parameters:
6625
+ *
6626
+ * * `filters.<field>[<op>]` — content filtering. See product docs for
6627
+ * the supported field / operator combinations.
6628
+ * * `select.<bucket>[<op>]` — data projection. See product docs for available syntax.
6629
+ */
6543
6630
  get: {
6544
6631
  parameters: {
6545
6632
  query: {
@@ -8109,6 +8196,8 @@ interface components$b {
8109
8196
  /** @description Array of status codes for corresponding retries; will be empty for cache hits, Uniform Content data resources and static JSON data resources */
8110
8197
  statusCodes: number[];
8111
8198
  };
8199
+ /** @description Projection descriptor for this data resource fetch. Recorded by the Uniform Content resolver as the serialized `select.*` query string applied to the upstream fetch (empty when no projection was applied) */
8200
+ projection?: string;
8112
8201
  data: unknown;
8113
8202
  };
8114
8203
  /**
@@ -9354,7 +9443,13 @@ interface paths$a {
9354
9443
  path?: never;
9355
9444
  cookie?: never;
9356
9445
  };
9357
- /** @description Fetches the correct response action for a given route (redirection, composition, not found) */
9446
+ /**
9447
+ * @description Fetches the correct response action for a given route (redirection, composition, not found).
9448
+ *
9449
+ * In addition to the named parameters below, this endpoint accepts data projection syntax:
9450
+ * `select.<bucket>[<op>]` — See product docs for available syntax.
9451
+ * Projection does not apply to redirect / notFound responses.
9452
+ */
9358
9453
  get: {
9359
9454
  parameters: {
9360
9455
  query: {
@@ -12589,6 +12684,13 @@ declare class CanvasClient extends ApiClient<CanvasClientOptions> {
12589
12684
  /** Fetches lists of Canvas compositions, optionally by type */
12590
12685
  getCompositionList(params?: Omit<CompositionGetParameters, 'projectId' | 'componentId' | 'compositionId' | 'slug'> & {
12591
12686
  filters?: CompositionFilters;
12687
+ /**
12688
+ * Optional data projection. Serialized as `select.*` querystring
12689
+ * parameters mirroring `filters.*`. The API prunes the response tree
12690
+ * before applying any downstream processing (dynamic params, localize,
12691
+ * edge-side data fetches). See `ProjectionSpec`.
12692
+ */
12693
+ select?: ProjectionSpec;
12592
12694
  } & ({
12593
12695
  resolveData: true;
12594
12696
  diagnostics: DataResolutionParameters['diagnostics'];
@@ -12670,6 +12772,11 @@ declare class ContentClient extends ApiClient<ContentClientOptions> {
12670
12772
  getContentTypes(options?: ExceptProject<GetContentTypesOptions>): Promise<GetContentTypesResponse>;
12671
12773
  getEntries(options: ExceptProject<GetEntriesOptions> & DataResolutionParameters & DataResolutionOption & {
12672
12774
  filters?: EntryFilters;
12775
+ /**
12776
+ * Optional data projection. Serialized as `select.*` querystring
12777
+ * parameters mirroring `filters.*`. See `ProjectionSpec`.
12778
+ */
12779
+ select?: ProjectionSpec;
12673
12780
  }): Promise<GetEntriesResponse>;
12674
12781
  /** Fetches historical versions of an entry */
12675
12782
  getEntryHistory(options: ExceptProject<EntriesHistoryGetParameters>): Promise<{
@@ -12980,8 +13087,8 @@ declare function findParameterInNodeTree(data: ComponentInstance | EntryData | A
12980
13087
 
12981
13088
  /** Returns the JSON pointer of a component based on its location */
12982
13089
  declare function getComponentJsonPointer(ancestorsAndSelf: Array<NodeLocationReference>): string;
12983
- declare function getNounForLocation(parentLocation: NodeLocationReference | undefined): "parameters" | "fields";
12984
- declare function getNounForNode(node: ComponentInstance | EntryData | Array<NodeLocationReference>): "parameters" | "fields";
13090
+ declare function getNounForLocation(parentLocation: NodeLocationReference | undefined): "fields" | "parameters";
13091
+ declare function getNounForNode(node: ComponentInstance | EntryData | Array<NodeLocationReference>): "fields" | "parameters";
12985
13092
 
12986
13093
  declare function getComponentPath(ancestorsAndSelf: Array<NodeLocationReference>): string;
12987
13094
 
@@ -13014,6 +13121,14 @@ declare function extractLocales({ component }: {
13014
13121
  type LocalizeOptions = {
13015
13122
  nodes: RootComponentInstance | EntryData;
13016
13123
  locale: string | undefined;
13124
+ /**
13125
+ * Optional predicate. When provided and returns true for a given property
13126
+ * ID, `localize` still sets the per-property `value` to the picked locale
13127
+ * (so default reads keep working) but skips the deletion of the
13128
+ * per-locale maps (`locales` / `localesConditions`), preserving them in
13129
+ * the response.
13130
+ */
13131
+ keepLocalesFor?: (propertyId: string) => boolean;
13017
13132
  };
13018
13133
  /**
13019
13134
  * Localizes a composition or entry that may contain:
@@ -14104,6 +14219,70 @@ declare class ProjectClient extends ApiClient {
14104
14219
  delete(body: ExceptProject<ProjectDeleteParameters>): Promise<void>;
14105
14220
  }
14106
14221
 
14222
+ /**
14223
+ * Single-`*` glob matcher used by every consumer of `ProjectionSpec`
14224
+ * pattern fields (`fields.only`, `fields.except`, `fields.locales`,
14225
+ * `fieldTypes.only`, `fieldTypes.except`, `slots.only`, `slots.except`).
14226
+ *
14227
+ * Wire grammar: `*` is the only wildcard (zero-or-more characters). Bare
14228
+ * `*` is a legitimate pattern (matches anything); `[except]=*` is the
14229
+ * wildcard spelling of "strip everything" and `[only]=*` is the
14230
+ * matching no-op. The canonical "strip everything" spelling is the
14231
+ * empty CSV (`[only]=`); see the file-level doc on `ProjectionSpec`.
14232
+ *
14233
+ * Character set: anything except the wire-grammar separators is allowed in
14234
+ * pattern values. That covers internal `$` prefixes (`$block`, `$tstVrnt`,
14235
+ * `$internal_*`), dotted ids, and anything else a field public id can be.
14236
+ * The translator escapes every regex metacharacter except `*`, so the
14237
+ * compiled regex remains bounded (no ReDoS).
14238
+ */
14239
+ /**
14240
+ * Tests whether `value` matches the projection `pattern`, where `*` is the
14241
+ * only wildcard (zero or more of any character). The matcher is bounded:
14242
+ * regex metacharacters in the pattern are escaped during translation so
14243
+ * the compiled regex remains linear-time on its input. Compiled regexes
14244
+ * are cached per process to keep the hot path (pruner walks every field
14245
+ * on every node) cheap. Throws if `pattern` is invalid.
14246
+ */
14247
+ declare function matchesProjectionPattern(pattern: string, value: string): boolean;
14248
+
14249
+ /**
14250
+ * Serializes a ProjectionSpec into a flat record of `select.*` querystring
14251
+ * keys. The output is intended to be spread into the same param bag that
14252
+ * SDK clients pass to `createUrl` alongside `rewriteFiltersForApi`. CSV
14253
+ * values use comma as the separator (matching the form-style serialization
14254
+ * used by the API for array query params).
14255
+ *
14256
+ * Output is deterministic for a given spec: top-level operator keys appear
14257
+ * in fixed order, and the `slots.<name>[depth]` entries are sorted by slot
14258
+ * name. Downstream cache keys and DataLoader loaderKeys depend on this.
14259
+ *
14260
+ * Empty arrays vs `undefined` matters: `{ only: undefined }` omits the
14261
+ * key entirely; `{ only: [] }` serializes as `select.<bucket>[only]=`
14262
+ * (the canonical "strip everything" spelling — `[only]=` means "include
14263
+ * nothing"). Callers that want to suppress an operator should set it to
14264
+ * `undefined`, not `[]`.
14265
+ */
14266
+ declare function projectionToQuery(spec: ProjectionSpec | undefined): Record<string, string>;
14267
+
14268
+ /**
14269
+ * Parses `select.*` keys from a request query into a `ProjectionSpec`.
14270
+ * Accepts either a `URLSearchParams` instance (edge handlers) or a flat
14271
+ * record produced by the OAS3 validator (origin handlers); both are
14272
+ * normalised internally.
14273
+ *
14274
+ * Returns `undefined` when the source contains no `select.*` keys, so
14275
+ * callers can skip allocating localize predicates or walking the tree
14276
+ * altogether on the cached / un-projected hot path.
14277
+ *
14278
+ * Strict on operator keys: unknown operator shapes throw
14279
+ * (e.g. `select.fields[foo]`, `select.unknown[only]`). Lenient on value
14280
+ * names: unknown field / slot / type names inside CSV lists are kept as-is
14281
+ * and silently no-op at projection time if they don't match anything in the
14282
+ * tree.
14283
+ */
14284
+ declare function queryToProjection(source: URLSearchParams | Record<string, unknown> | null | undefined): ProjectionSpec | undefined;
14285
+
14107
14286
  /** API client to make comms with the Next Gen Mesh Data Source API simpler */
14108
14287
  declare class PromptClient extends ApiClient {
14109
14288
  constructor(options: ClientOptions);
@@ -14332,7 +14511,14 @@ declare class RouteClient extends ApiClient<RouteClientOptions> {
14332
14511
  private edgeApiHost;
14333
14512
  constructor(options: RouteClientOptions);
14334
14513
  /** Fetches lists of Canvas compositions, optionally by type */
14335
- getRoute(options?: Omit<RouteGetParameters, 'projectId'>): Promise<ResolvedRouteGetResponse>;
14514
+ getRoute(options?: Omit<RouteGetParameters, 'projectId'> & {
14515
+ /**
14516
+ * Optional data projection. Applies to the resolved composition when
14517
+ * the route matches one. Redirect / notFound responses pass through
14518
+ * untouched. Serialized as `select.*` querystring parameters.
14519
+ */
14520
+ select?: ProjectionSpec;
14521
+ }): Promise<ResolvedRouteGetResponse>;
14336
14522
  }
14337
14523
 
14338
14524
  declare const mergeAssetConfigWithDefaults: (config: AssetParamConfig) => AssetParamConfig;
@@ -14608,7 +14794,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
14608
14794
  */
14609
14795
  declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable') => void | false): number;
14610
14796
 
14611
- declare const version = "20.70.0";
14797
+ declare const version = "20.71.1";
14612
14798
 
14613
14799
  /** API client to enable managing workflow definitions */
14614
14800
  declare class WorkflowClient extends ApiClient {
@@ -14625,4 +14811,4 @@ declare class WorkflowClient extends ApiClient {
14625
14811
 
14626
14812
  declare const CanvasClientError: typeof ApiClientError;
14627
14813
 
14628
- 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 AiAction, type AssetParamConfig, type AwaitingReadyMessage, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_COMPONENT_DISPLAY_NAME_PARAM, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_HYPOTHESIS_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_INTERNAL_PARAM_PREFIX, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_ALGORITHM_PARAM, CANVAS_PERSONALIZATION_ALGORITHM_TYPE, CANVAS_PERSONALIZATION_EVENT_NAME_PARAM, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZATION_TAKE_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_SLOT_SECTION_GROUP_TYPE_PARAM, CANVAS_SLOT_SECTION_MAX_PARAM, CANVAS_SLOT_SECTION_MIN_PARAM, CANVAS_SLOT_SECTION_NAME_PARAM, CANVAS_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_SPECIFIC_PARAM, 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 DateParamConfig, type DateParamValue, type DatetimeParamConfig, 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, IntegrationPropertyEditorsClient, type IntegrationPropertyEditorsDeleteParameters, type IntegrationPropertyEditorsGetParameters, type IntegrationPropertyEditorsGetResponse, type paths$9 as IntegrationPropertyEditorsPaths, type IntegrationPropertyEditorsPutParameters, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type Label, LabelClient, type LabelDelete, type LabelPut, type LabelsQuery, type LabelsResponse, 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 MultiSelectParamConfiguration, type MultiSelectParamEditorType, type MultiSelectParamValue, type NodeLocationReference, type NonProjectMapLinkParamValue, type NumberParamConfig, type NumberParamEditorType, type NumberParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type ParamTypeConfigConventions, 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 Project, ProjectClient, type ProjectDeleteParameters, type ProjectGetParameters, type ProjectGetResponse, type ProjectMapLinkParamValue, type ProjectPutParameters, type ProjectPutResponse, type ProjectsGetParameters, type ProjectsGetProject, type ProjectsGetResponse, type ProjectsGetTeam, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PropertyValue, type PutContentTypeBody, type PutEntryBody, REFERENCE_DATA_TYPE_ID, 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 SelectParamConfiguration, type SelectParamEditorType, type SelectParamOption, type SelectParamValue, type SelectParameterMessage, type SendPageHtmlMessage, type SessionPendingMessage, type SpecificProjectMap, type StringOperators, type SuggestComponentMessage, type TextParamConfig, type TextParamValue, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UncachedLabelClient, UniqueBatchEntries, type UpdateAiActionsMessage, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateCompositionOptions, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type UpsertEntryOptions, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkNodeTreeActions, type WalkNodeTreeOptions, type WebhookDefinition, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, autoFixParameterGroups, 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, isAwaitingReadyMessage, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSessionPendingMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateAiActionsMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, mergeAssetConfigWithDefaults, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, version, walkNodeTree, walkPropertyValues };
14814
+ 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 AiAction, type AssetParamConfig, type AwaitingReadyMessage, type BatchEnhancer, BatchEntry, type BatchInvalidationPayload, type BindVariablesOptions, type BindVariablesResult, type BindVariablesToObjectOptions, BlockFormatError, type BlockLocationReference, type BlockValue, CANVAS_BLOCK_PARAM_TYPE, CANVAS_COMPONENT_DISPLAY_NAME_PARAM, CANVAS_CONTEXTUAL_EDITING_PARAM, CANVAS_DRAFT_STATE, CANVAS_EDITOR_STATE, CANVAS_ENRICHMENT_TAG_PARAM, CANVAS_HYPOTHESIS_PARAM, CANVAS_INTENT_TAG_PARAM, CANVAS_INTERNAL_PARAM_PREFIX, CANVAS_LOCALE_TAG_PARAM, CANVAS_LOCALIZATION_SLOT, CANVAS_LOCALIZATION_TYPE, CANVAS_PERSONALIZATION_ALGORITHM_PARAM, CANVAS_PERSONALIZATION_ALGORITHM_TYPE, CANVAS_PERSONALIZATION_EVENT_NAME_PARAM, CANVAS_PERSONALIZATION_PARAM, CANVAS_PERSONALIZATION_TAKE_PARAM, CANVAS_PERSONALIZE_SLOT, CANVAS_PERSONALIZE_TYPE, CANVAS_PUBLISHED_STATE, CANVAS_SLOT_SECTION_GROUP_TYPE_PARAM, CANVAS_SLOT_SECTION_MAX_PARAM, CANVAS_SLOT_SECTION_MIN_PARAM, CANVAS_SLOT_SECTION_NAME_PARAM, CANVAS_SLOT_SECTION_SLOT, CANVAS_SLOT_SECTION_SPECIFIC_PARAM, 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 DateParamConfig, type DateParamValue, type DatetimeParamConfig, 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 FieldTypesProjection, type FieldsProjection, 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, IntegrationPropertyEditorsClient, type IntegrationPropertyEditorsDeleteParameters, type IntegrationPropertyEditorsGetParameters, type IntegrationPropertyEditorsGetResponse, type paths$9 as IntegrationPropertyEditorsPaths, type IntegrationPropertyEditorsPutParameters, type InvalidationPayload, LOCALE_DYNAMIC_INPUT_NAME, type Label, LabelClient, type LabelDelete, type LabelPut, type LabelsQuery, type LabelsResponse, 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 MultiSelectParamConfiguration, type MultiSelectParamEditorType, type MultiSelectParamValue, type NodeLocationReference, type NonProjectMapLinkParamValue, type NumberParamConfig, type NumberParamEditorType, type NumberParamValue, type OpenParameterEditorMessage, type OverrideOptions, PLACEHOLDER_ID, type ParamTypeConfigConventions, 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 Project, ProjectClient, type ProjectDeleteParameters, type ProjectGetParameters, type ProjectGetResponse, type ProjectMapLinkParamValue, type ProjectPutParameters, type ProjectPutResponse, type ProjectionSpec, type ProjectsGetParameters, type ProjectsGetProject, type ProjectsGetResponse, type ProjectsGetTeam, type Prompt, PromptClient, type PromptsDeleteParameters, type PromptsGetParameters, type PromptsGetResponse, type PromptsPutParameters, type PropertyCriteriaMatch, type PropertyValue, type PutContentTypeBody, type PutEntryBody, REFERENCE_DATA_TYPE_ID, 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, SELECT_QUERY_PREFIX, type SelectComponentMessage, type SelectParamConfiguration, type SelectParamEditorType, type SelectParamOption, type SelectParamValue, type SelectParameterMessage, type SendPageHtmlMessage, type SessionPendingMessage, type SlotsProjection, type SpecificProjectMap, type StringOperators, type SuggestComponentMessage, type TextParamConfig, type TextParamValue, type TreeNodeInfoTypes, type TriggerComponentActionMessage, type TriggerCompositionActionMessage, UncachedCanvasClient, UncachedCategoryClient, UncachedContentClient, UncachedLabelClient, UniqueBatchEntries, type UpdateAiActionsMessage, type UpdateComponentParameterMessage, type UpdateComponentReferencesMessage, type UpdateCompositionInternalMessage, type UpdateCompositionMessage, type UpdateCompositionOptions, type UpdateContextualEditingStateInternalMessage, type UpdateFeatureFlagsMessage, type UpdatePreviewSettingsMessage, type UpsertEntryOptions, type VisibilityCriteria, type VisibilityCriteriaEvaluationResult, type VisibilityCriteriaGroup, type VisibilityParameterValue, type VisibilityRule, type VisibilityRules, type WalkNodeTreeActions, type WalkNodeTreeOptions, type WebhookDefinition, WorkflowClient, type WorkflowDefinition, type WorkflowStage, type WorkflowStagePermission, type WorkflowStageTransition, type WorkflowStageTransitionPermission, type WorkflowsDeleteParameters, type WorkflowsGetParameters, type WorkflowsGetResponse, type WorkflowsPutParameters, autoFixParameterGroups, 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, isAwaitingReadyMessage, isComponentActionMessage, isComponentPlaceholderId, isContextStorageUpdatedMessage, isDismissPlaceholderMessage, isEntryData, isLinkParamValue, isMovingComponentMessage, isNestedNodeType, isOpenParameterEditorMessage, isReadyMessage, isReportRenderedCompositionsMessage, isRequestComponentSuggestionMessage, isRootEntryReference, isSelectComponentMessage, isSelectParameterMessage, isSessionPendingMessage, isSuggestComponentMessage, isSystemComponentDefinition, isTriggerCompositionActionMessage, isUpdateAiActionsMessage, isUpdateComponentParameterMessage, isUpdateComponentReferencesMessage, isUpdateCompositionInternalMessage, isUpdateCompositionMessage, isUpdateContextualEditingStateInternalMessage, isUpdateFeatureFlagsMessage, isUpdatePreviewSettingsMessage, localize, mapSlotToPersonalizedVariations, mapSlotToTestVariations, matchesProjectionPattern, mergeAssetConfigWithDefaults, nullLimitPolicy, parseComponentPlaceholderId, parseVariableExpression, projectionToQuery, queryToProjection, version, walkNodeTree, walkPropertyValues };