@uniformdev/canvas 20.63.1-alpha.12 → 20.63.1-alpha.17

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
@@ -1582,6 +1582,76 @@ interface components$q {
1582
1582
  pathItems: never;
1583
1583
  }
1584
1584
 
1585
+ /**
1586
+ * Data projection wire grammar (`select.*` query parameters) and shared spec
1587
+ * type used by every consumer of projections: API serializers (SDK clients),
1588
+ * the origin pruner (lib/canvas-sdk applyProjection), and localize (for the
1589
+ * representation-modifier operator `fields[locales]`).
1590
+ *
1591
+ * Wire grammar (mirrors `filters.*`):
1592
+ *
1593
+ * select.fields[only]=name,seo_*
1594
+ * select.fields[except]=internalNote
1595
+ * select.fields[only]= // strip every field
1596
+ * select.fields[except]=* // strip every field (wildcard form)
1597
+ * select.fields[locales]=slug,seo_*
1598
+ * select.fieldTypes[only]=text,number
1599
+ * select.fieldTypes[except]=richText
1600
+ * select.slots[only]=hero
1601
+ * select.slots[except]=footer
1602
+ * select.slots[depth]=2
1603
+ * select.slots.<name>[depth]=1
1604
+ */
1605
+ /**
1606
+ * Prefix used by every `select.*` query parameter on the wire. Exported so
1607
+ * downstream prefix scans (lambda validator, edge search-param reader,
1608
+ * origin handler short-circuits) and key builders don't hand-roll the
1609
+ * literal at every call site.
1610
+ */
1611
+ declare const SELECT_QUERY_PREFIX = "select.";
1612
+ type FieldsProjection = {
1613
+ /** Include only fields whose name matches one of these patterns. */
1614
+ only?: string[];
1615
+ /** Exclude fields whose name matches one of these patterns. */
1616
+ except?: string[];
1617
+ /**
1618
+ * Field-name patterns whose value should retain its full per-locale map
1619
+ * (`locales` / `localesConditions`) after `localize` runs. Representation
1620
+ * modifier; the pruner ignores this — see lib/canvas-sdk applyProjection.
1621
+ */
1622
+ locales?: string[];
1623
+ };
1624
+ type FieldTypesProjection = {
1625
+ /** Include only fields whose `type` matches one of these patterns. */
1626
+ only?: string[];
1627
+ /** Exclude fields whose `type` matches one of these patterns. */
1628
+ except?: string[];
1629
+ };
1630
+ type SlotsProjection = {
1631
+ /** Include only slots whose name matches one of these patterns. */
1632
+ only?: string[];
1633
+ /** Exclude slots whose name matches one of these patterns. */
1634
+ except?: string[];
1635
+ /**
1636
+ * Container-wide recursion-depth cap counted in slot levels from the root.
1637
+ * 0 means "no slots at all on the root"; 1 means "root's own slots but no
1638
+ * grandchildren slots". Per-name depth (see `named`) overrides this for
1639
+ * its specific slot.
1640
+ */
1641
+ depth?: number;
1642
+ /** Per-slot depth caps. Keyed by slot name. */
1643
+ named?: {
1644
+ [slotName: string]: {
1645
+ depth?: number;
1646
+ };
1647
+ };
1648
+ };
1649
+ type ProjectionSpec = {
1650
+ fields?: FieldsProjection;
1651
+ fieldTypes?: FieldTypesProjection;
1652
+ slots?: SlotsProjection;
1653
+ };
1654
+
1585
1655
  interface paths$m {
1586
1656
  "/api/v1/categories": {
1587
1657
  parameters: {
@@ -1907,6 +1977,8 @@ declare const ASSET_PARAMETER_TYPE = "asset";
1907
1977
  declare const ASSETS_SOURCE_UNIFORM = "uniform-assets";
1908
1978
  /** The _source for any assets which have manually set fields */
1909
1979
  declare const ASSETS_SOURCE_CUSTOM_URL = "custom-url";
1980
+ /** The data type ID for internal content references (entry-to-entry relationships) */
1981
+ declare const REFERENCE_DATA_TYPE_ID = "uniformContentInternalReference";
1910
1982
 
1911
1983
  interface components$o {
1912
1984
  schemas: {
@@ -2967,6 +3039,13 @@ interface paths$k {
2967
3039
  path?: never;
2968
3040
  cookie?: never;
2969
3041
  };
3042
+ /** @description In addition to the named parameters below, this endpoint accepts the
3043
+ * following query parameter conventions which are pattern-validated and
3044
+ * therefore not declared as named parameters:
3045
+ *
3046
+ * * `filters.<field>[<op>]` — content filtering. See product docs for the supported field / operator combinations.
3047
+ * * `select.<bucket>[<op>]` — data projection. See product docs for available syntax.
3048
+ * */
2970
3049
  get: {
2971
3050
  parameters: {
2972
3051
  query: {
@@ -6364,6 +6443,14 @@ interface paths$c {
6364
6443
  path?: never;
6365
6444
  cookie?: never;
6366
6445
  };
6446
+ /** @description In addition to the named parameters below, this endpoint accepts the
6447
+ * following query parameter conventions which are pattern-validated and
6448
+ * therefore not declared as named parameters:
6449
+ *
6450
+ * * `filters.<field>[<op>]` — content filtering. See product docs for
6451
+ * the supported field / operator combinations.
6452
+ * * `select.<bucket>[<op>]` — data projection. See product docs for available syntax.
6453
+ * */
6367
6454
  get: {
6368
6455
  parameters: {
6369
6456
  query: {
@@ -7866,6 +7953,8 @@ interface components$b {
7866
7953
  /** @description Array of status codes for corresponding retries; will be empty for cache hits, Uniform Content data resources and static JSON data resources */
7867
7954
  statusCodes: number[];
7868
7955
  };
7956
+ /** @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) */
7957
+ projection?: string;
7869
7958
  data: unknown;
7870
7959
  };
7871
7960
  /** @description Diagnostic information about request processing, including origin/config/data
@@ -9058,7 +9147,12 @@ interface paths$a {
9058
9147
  path?: never;
9059
9148
  cookie?: never;
9060
9149
  };
9061
- /** @description Fetches the correct response action for a given route (redirection, composition, not found) */
9150
+ /** @description Fetches the correct response action for a given route (redirection, composition, not found).
9151
+ *
9152
+ * In addition to the named parameters below, this endpoint accepts data projection syntax:
9153
+ * `select.<bucket>[<op>]` — See product docs for available syntax.
9154
+ * Projection does not apply to redirect / notFound responses.
9155
+ * */
9062
9156
  get: {
9063
9157
  parameters: {
9064
9158
  query: {
@@ -12263,6 +12357,13 @@ declare class CanvasClient extends ApiClient<CanvasClientOptions> {
12263
12357
  /** Fetches lists of Canvas compositions, optionally by type */
12264
12358
  getCompositionList(params?: Omit<CompositionGetParameters, 'projectId' | 'componentId' | 'compositionId' | 'slug'> & {
12265
12359
  filters?: CompositionFilters;
12360
+ /**
12361
+ * Optional data projection. Serialized as `select.*` querystring
12362
+ * parameters mirroring `filters.*`. The API prunes the response tree
12363
+ * before applying any downstream processing (dynamic params, localize,
12364
+ * edge-side data fetches). See `ProjectionSpec`.
12365
+ */
12366
+ select?: ProjectionSpec;
12266
12367
  } & ({
12267
12368
  resolveData: true;
12268
12369
  diagnostics: DataResolutionParameters['diagnostics'];
@@ -12344,6 +12445,11 @@ declare class ContentClient extends ApiClient<ContentClientOptions> {
12344
12445
  getContentTypes(options?: ExceptProject<GetContentTypesOptions>): Promise<GetContentTypesResponse>;
12345
12446
  getEntries(options: ExceptProject<GetEntriesOptions> & DataResolutionParameters & DataResolutionOption & {
12346
12447
  filters?: EntryFilters;
12448
+ /**
12449
+ * Optional data projection. Serialized as `select.*` querystring
12450
+ * parameters mirroring `filters.*`. See `ProjectionSpec`.
12451
+ */
12452
+ select?: ProjectionSpec;
12347
12453
  }): Promise<GetEntriesResponse>;
12348
12454
  /** Fetches historical versions of an entry */
12349
12455
  getEntryHistory(options: ExceptProject<EntriesHistoryGetParameters>): Promise<{
@@ -12654,8 +12760,8 @@ declare function findParameterInNodeTree(data: ComponentInstance | EntryData | A
12654
12760
 
12655
12761
  /** Returns the JSON pointer of a component based on its location */
12656
12762
  declare function getComponentJsonPointer(ancestorsAndSelf: Array<NodeLocationReference>): string;
12657
- declare function getNounForLocation(parentLocation: NodeLocationReference | undefined): "parameters" | "fields";
12658
- declare function getNounForNode(node: ComponentInstance | EntryData | Array<NodeLocationReference>): "parameters" | "fields";
12763
+ declare function getNounForLocation(parentLocation: NodeLocationReference | undefined): "fields" | "parameters";
12764
+ declare function getNounForNode(node: ComponentInstance | EntryData | Array<NodeLocationReference>): "fields" | "parameters";
12659
12765
 
12660
12766
  declare function getComponentPath(ancestorsAndSelf: Array<NodeLocationReference>): string;
12661
12767
 
@@ -12688,6 +12794,14 @@ declare function extractLocales({ component }: {
12688
12794
  type LocalizeOptions = {
12689
12795
  nodes: RootComponentInstance | EntryData;
12690
12796
  locale: string | undefined;
12797
+ /**
12798
+ * Optional predicate. When provided and returns true for a given property
12799
+ * ID, `localize` still sets the per-property `value` to the picked locale
12800
+ * (so default reads keep working) but skips the deletion of the
12801
+ * per-locale maps (`locales` / `localesConditions`), preserving them in
12802
+ * the response.
12803
+ */
12804
+ keepLocalesFor?: (propertyId: string) => boolean;
12691
12805
  };
12692
12806
  /**
12693
12807
  * Localizes a composition or entry that may contain:
@@ -13736,6 +13850,70 @@ declare class ProjectClient extends ApiClient {
13736
13850
  delete(body: ExceptProject<ProjectDeleteParameters>): Promise<void>;
13737
13851
  }
13738
13852
 
13853
+ /**
13854
+ * Single-`*` glob matcher used by every consumer of `ProjectionSpec`
13855
+ * pattern fields (`fields.only`, `fields.except`, `fields.locales`,
13856
+ * `fieldTypes.only`, `fieldTypes.except`, `slots.only`, `slots.except`).
13857
+ *
13858
+ * Wire grammar: `*` is the only wildcard (zero-or-more characters). Bare
13859
+ * `*` is a legitimate pattern (matches anything); `[except]=*` is the
13860
+ * wildcard spelling of "strip everything" and `[only]=*` is the
13861
+ * matching no-op. The canonical "strip everything" spelling is the
13862
+ * empty CSV (`[only]=`); see the file-level doc on `ProjectionSpec`.
13863
+ *
13864
+ * Character set: anything except the wire-grammar separators is allowed in
13865
+ * pattern values. That covers internal `$` prefixes (`$block`, `$tstVrnt`,
13866
+ * `$internal_*`), dotted ids, and anything else a field public id can be.
13867
+ * The translator escapes every regex metacharacter except `*`, so the
13868
+ * compiled regex remains bounded (no ReDoS).
13869
+ */
13870
+ /**
13871
+ * Tests whether `value` matches the projection `pattern`, where `*` is the
13872
+ * only wildcard (zero or more of any character). The matcher is bounded:
13873
+ * regex metacharacters in the pattern are escaped during translation so
13874
+ * the compiled regex remains linear-time on its input. Compiled regexes
13875
+ * are cached per process to keep the hot path (pruner walks every field
13876
+ * on every node) cheap. Throws if `pattern` is invalid.
13877
+ */
13878
+ declare function matchesProjectionPattern(pattern: string, value: string): boolean;
13879
+
13880
+ /**
13881
+ * Serializes a ProjectionSpec into a flat record of `select.*` querystring
13882
+ * keys. The output is intended to be spread into the same param bag that
13883
+ * SDK clients pass to `createUrl` alongside `rewriteFiltersForApi`. CSV
13884
+ * values use comma as the separator (matching the form-style serialization
13885
+ * used by the API for array query params).
13886
+ *
13887
+ * Output is deterministic for a given spec: top-level operator keys appear
13888
+ * in fixed order, and the `slots.<name>[depth]` entries are sorted by slot
13889
+ * name. Downstream cache keys and DataLoader loaderKeys depend on this.
13890
+ *
13891
+ * Empty arrays vs `undefined` matters: `{ only: undefined }` omits the
13892
+ * key entirely; `{ only: [] }` serializes as `select.<bucket>[only]=`
13893
+ * (the canonical "strip everything" spelling — `[only]=` means "include
13894
+ * nothing"). Callers that want to suppress an operator should set it to
13895
+ * `undefined`, not `[]`.
13896
+ */
13897
+ declare function projectionToQuery(spec: ProjectionSpec | undefined): Record<string, string>;
13898
+
13899
+ /**
13900
+ * Parses `select.*` keys from a request query into a `ProjectionSpec`.
13901
+ * Accepts either a `URLSearchParams` instance (edge handlers) or a flat
13902
+ * record produced by the OAS3 validator (origin handlers); both are
13903
+ * normalised internally.
13904
+ *
13905
+ * Returns `undefined` when the source contains no `select.*` keys, so
13906
+ * callers can skip allocating localize predicates or walking the tree
13907
+ * altogether on the cached / un-projected hot path.
13908
+ *
13909
+ * Strict on operator keys: unknown operator shapes throw
13910
+ * (e.g. `select.fields[foo]`, `select.unknown[only]`). Lenient on value
13911
+ * names: unknown field / slot / type names inside CSV lists are kept as-is
13912
+ * and silently no-op at projection time if they don't match anything in the
13913
+ * tree.
13914
+ */
13915
+ declare function queryToProjection(source: URLSearchParams | Record<string, unknown> | null | undefined): ProjectionSpec | undefined;
13916
+
13739
13917
  /** API client to make comms with the Next Gen Mesh Data Source API simpler */
13740
13918
  declare class PromptClient extends ApiClient {
13741
13919
  constructor(options: ClientOptions);
@@ -13964,7 +14142,14 @@ declare class RouteClient extends ApiClient<RouteClientOptions> {
13964
14142
  private edgeApiHost;
13965
14143
  constructor(options: RouteClientOptions);
13966
14144
  /** Fetches lists of Canvas compositions, optionally by type */
13967
- getRoute(options?: Omit<RouteGetParameters, 'projectId'>): Promise<ResolvedRouteGetResponse>;
14145
+ getRoute(options?: Omit<RouteGetParameters, 'projectId'> & {
14146
+ /**
14147
+ * Optional data projection. Applies to the resolved composition when
14148
+ * the route matches one. Redirect / notFound responses pass through
14149
+ * untouched. Serialized as `select.*` querystring parameters.
14150
+ */
14151
+ select?: ProjectionSpec;
14152
+ }): Promise<ResolvedRouteGetResponse>;
13968
14153
  }
13969
14154
 
13970
14155
  declare const mergeAssetConfigWithDefaults: (config: AssetParamConfig) => AssetParamConfig;
@@ -14240,7 +14425,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
14240
14425
  */
14241
14426
  declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable') => void | false): number;
14242
14427
 
14243
- declare const version = "20.63.0";
14428
+ declare const version = "20.66.0";
14244
14429
 
14245
14430
  /** API client to enable managing workflow definitions */
14246
14431
  declare class WorkflowClient extends ApiClient {
@@ -14257,4 +14442,4 @@ declare class WorkflowClient extends ApiClient {
14257
14442
 
14258
14443
  declare const CanvasClientError: typeof ApiClientError;
14259
14444
 
14260
- 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, 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 };
14445
+ 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 };