@riverbankcms/sdk 0.60.16 → 0.62.2
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/_dts/api/src/bookingManagementEndpoints.d.ts +41 -1
- package/dist/_dts/api/src/bookingRecords.d.ts +100 -3
- package/dist/_dts/api/src/bookings.d.ts +2 -1
- package/dist/_dts/api/src/endpoints.d.ts +96 -0
- package/dist/_dts/api/src/index.d.ts +5 -1
- package/dist/_dts/api/src/participantMessaging.d.ts +113 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +51 -47
- package/dist/_dts/api/src/types.d.ts +1 -0
- package/dist/_dts/blocks/src/index.d.ts +66 -62
- package/dist/_dts/blocks/src/lib/media.d.ts +60 -0
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/audio-player.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/blog-post.d.ts +0 -21
- package/dist/_dts/blocks/src/system/blocks/body-text.d.ts +2 -6
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +0 -10
- package/dist/_dts/blocks/src/system/blocks/columns.d.ts +0 -10
- package/dist/_dts/blocks/src/system/blocks/course-details.d.ts +0 -20
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +0 -20
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +15 -15
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +5 -10
- package/dist/_dts/blocks/src/system/blocks/embed.d.ts +0 -11
- package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +0 -20
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +0 -20
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +43 -27
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +24 -15
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +132 -12
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +2 -10
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +2 -24
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +2 -3
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +0 -13
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +17 -17
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +2 -10
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +9 -9
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/single-button.d.ts +16 -15
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +2 -6
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +0 -11
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +2 -2
- package/dist/_dts/blocks/src/system/constants/events.d.ts +18 -0
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +105 -0
- package/dist/_dts/blocks/src/system/defineBlock.d.ts +29 -5
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +2 -1
- package/dist/_dts/blocks/src/system/fragments/library/blogFeaturedPost.d.ts +0 -24
- package/dist/_dts/blocks/src/system/fragments/library/bodyCopy.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/bookingForm.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/card.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/columnContent.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/ctaCopy.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/ctaRow.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/faqAccordion.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/feedbackCallout.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/footerBottomText.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/formCopy.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/formEmbed.d.ts +0 -18
- package/dist/_dts/blocks/src/system/fragments/library/headerCta.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/heading.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/heroCopy.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/heroLayoutControls.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/image.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/newsletterCopy.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/quote.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/richText.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/sectionState.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/singleButton.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/spinner.d.ts +0 -5
- package/dist/_dts/blocks/src/system/fragments/library/teamMember.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +0 -31
- package/dist/_dts/blocks/src/system/fragments/library/testimonialsHeading.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/videoEmbed.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/types.d.ts +11 -3
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +4 -0
- package/dist/_dts/blocks/src/system/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/manifest/derivedContent.d.ts +3 -3
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +10 -10
- package/dist/_dts/blocks/src/system/media/constrainedVideoMedia.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -0
- package/dist/_dts/content-model/src/contentManifest.d.ts +2 -2
- package/dist/_dts/content-model/src/referenceFields.d.ts +7 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +34 -6
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/types.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/types.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/reference/dynamicAdapters.d.ts +9 -0
- package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +5 -1
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/media-core/src/videoSlotPolicy.d.ts +38 -0
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +3 -1
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/blocks/customizeFacetControls.d.ts +9 -0
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +14 -0
- package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +9 -7
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +6 -3
- package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/content.d.ts +10 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/prompt/examples/features-grid.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/prompt/examples/pricing.d.ts +5 -5
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +3 -0
- package/dist/_dts/theme-core/src/schema.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +515 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +12 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +119 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresets.d.ts +5 -563
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +448 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +12 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeAppearancePresets.d.ts +67 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +6 -6
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +22 -3
- package/dist/_dts/theme-core/src/siteChrome.d.ts +11 -0
- package/dist/cli/index.mjs +4310 -3464
- package/dist/client/bookings.mjs +310 -310
- package/dist/client/client.mjs +61329 -60359
- package/dist/client/hooks.mjs +1254 -731
- package/dist/client/rendering/client.mjs +5959 -5226
- package/dist/client/rendering/islands.mjs +3842 -3275
- package/dist/client/rendering.mjs +7495 -6519
- package/dist/preview-next/before-render.mjs +118 -0
- package/dist/preview-next/client/runtime.mjs +4489 -2773
- package/dist/preview-next/middleware.mjs +136 -0
- package/dist/server/components.mjs +1342 -765
- package/dist/server/config-validation.mjs +1256 -733
- package/dist/server/config.mjs +1256 -733
- package/dist/server/data.mjs +1254 -731
- package/dist/server/index.mjs +191 -18
- package/dist/server/next.mjs +1339 -760
- package/dist/server/page-converter.mjs +1088 -734
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1338 -762
- package/dist/server/rendering.mjs +1351 -770
- package/dist/server/routing.mjs +1340 -754
- package/dist/server/server.mjs +1260 -734
- package/dist/server/theme-bridge.mjs +198 -34
- package/dist/server/theme.mjs +6 -0
- package/dist/styles/index.css +28 -9
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AppearancePresetId, BoundaryOptionId, DesignBlockId, LayoutVariantKey, PageDesignEditorBlock, PageDesignEditorBoundary } from '@riverbankcms/theme-core/site-styles';
|
|
2
|
+
import { type SystemCustomizeFacetId, type SystemCustomizeFacetTransition, type SystemCustomizeFacetValue } from '@riverbankcms/blocks/system/customize/facets';
|
|
2
3
|
export type PreviewCustomizeCycleDirection = 'prev' | 'next';
|
|
3
4
|
export type PreviewCustomizeAction = Readonly<{
|
|
4
5
|
kind: 'set-layout';
|
|
@@ -10,6 +11,10 @@ export type PreviewCustomizeAction = Readonly<{
|
|
|
10
11
|
blockId: DesignBlockId;
|
|
11
12
|
appearancePresetId: AppearancePresetId | null;
|
|
12
13
|
}> | Readonly<{
|
|
14
|
+
kind: 'set-block-facet';
|
|
15
|
+
blockId: DesignBlockId;
|
|
16
|
+
baseContentId: string | null;
|
|
17
|
+
} & SystemCustomizeFacetTransition> | Readonly<{
|
|
13
18
|
kind: 'set-boundary';
|
|
14
19
|
previousBlockId: DesignBlockId;
|
|
15
20
|
nextBlockId: DesignBlockId;
|
|
@@ -25,6 +30,9 @@ type PreviewSetLayoutAction = Extract<PreviewCustomizeAction, {
|
|
|
25
30
|
type PreviewSetLookAction = Extract<PreviewCustomizeAction, {
|
|
26
31
|
kind: 'set-look';
|
|
27
32
|
}>;
|
|
33
|
+
type PreviewSetBlockFacetAction = Extract<PreviewCustomizeAction, {
|
|
34
|
+
kind: 'set-block-facet';
|
|
35
|
+
}>;
|
|
28
36
|
type PreviewSetBoundaryAction = Extract<PreviewCustomizeAction, {
|
|
29
37
|
kind: 'set-boundary';
|
|
30
38
|
}>;
|
|
@@ -33,5 +41,11 @@ type PreviewResetBoundaryAction = Extract<PreviewCustomizeAction, {
|
|
|
33
41
|
}>;
|
|
34
42
|
export declare function cyclePageDesignBlockLayout(block: PageDesignEditorBlock, direction: PreviewCustomizeCycleDirection): PreviewSetLayoutAction | null;
|
|
35
43
|
export declare function cyclePageDesignBlockLook(block: PageDesignEditorBlock, direction: PreviewCustomizeCycleDirection): PreviewSetLookAction | null;
|
|
44
|
+
export declare function cyclePageDesignBlockFacet(input: Readonly<{
|
|
45
|
+
block: PageDesignEditorBlock;
|
|
46
|
+
facetId: SystemCustomizeFacetId;
|
|
47
|
+
currentValue: SystemCustomizeFacetValue;
|
|
48
|
+
direction: PreviewCustomizeCycleDirection;
|
|
49
|
+
}>): PreviewSetBlockFacetAction | null;
|
|
36
50
|
export declare function cyclePageDesignBoundaryBreak(boundary: PageDesignEditorBoundary, direction: PreviewCustomizeCycleDirection): PreviewSetBoundaryAction | PreviewResetBoundaryAction | null;
|
|
37
51
|
export {};
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
type
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} | null;
|
|
6
|
-
export declare function PreviewLayoutProvider({ headerNode, footerNode, children, }: {
|
|
2
|
+
import type { SiteChromeLayoutNodes } from '@riverbankcms/theme-core/siteChrome';
|
|
3
|
+
type PreviewLayoutContextValue = SiteChromeLayoutNodes | null;
|
|
4
|
+
export declare function PreviewLayoutProvider({ headerNode, bannerNode, bannerShellBehavior, footerNode, children, }: {
|
|
7
5
|
headerNode: ReactNode;
|
|
6
|
+
bannerNode?: ReactNode;
|
|
7
|
+
bannerShellBehavior?: SiteChromeLayoutNodes['bannerShellBehavior'];
|
|
8
8
|
footerNode: ReactNode;
|
|
9
9
|
children: ReactNode;
|
|
10
10
|
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare function usePreviewLayout(): {
|
|
11
|
+
export declare function usePreviewLayout(): Readonly<{
|
|
12
12
|
headerNode: ReactNode;
|
|
13
|
+
bannerNode?: ReactNode;
|
|
14
|
+
bannerShellBehavior?: import("@riverbankcms/blocks").SiteTopShellBehavior;
|
|
13
15
|
footerNode: ReactNode;
|
|
14
|
-
}
|
|
16
|
+
}>;
|
|
15
17
|
export declare function useOptionalPreviewLayout(): PreviewLayoutContextValue;
|
|
16
18
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type AppearancePresetId, type BoundaryOptionId, type DesignBlockId, type DesignBoundaryId, type LayoutVariantKey, type PageDesignEditorReadModel } from '@riverbankcms/theme-core/site-styles';
|
|
2
2
|
import { type HistoryState } from '@riverbankcms/content-editor';
|
|
3
3
|
import type { PreviewCustomizeAction } from '../blocks/previewCustomizeActions';
|
|
4
|
+
import type { SystemCustomizeFacetHistorySelection } from '@riverbankcms/blocks/system/customize/facets';
|
|
4
5
|
type PreviewLoadedEditorModel = PageDesignEditorReadModel;
|
|
5
6
|
export type PreviewCustomizeHistoryEntry = Readonly<{
|
|
6
7
|
kind: 'layout';
|
|
7
8
|
blockId: PreviewCustomizeActionBlockId;
|
|
8
|
-
baseContentId: string | null;
|
|
9
9
|
fromLayoutVariantKey: LayoutVariantKey;
|
|
10
10
|
toLayoutVariantKey: LayoutVariantKey;
|
|
11
11
|
}> | Readonly<{
|
|
@@ -14,6 +14,9 @@ export type PreviewCustomizeHistoryEntry = Readonly<{
|
|
|
14
14
|
fromAppearancePresetId: AppearancePresetId | null;
|
|
15
15
|
toAppearancePresetId: AppearancePresetId | null;
|
|
16
16
|
}> | Readonly<{
|
|
17
|
+
kind: 'block-facet';
|
|
18
|
+
blockId: PreviewCustomizeActionBlockId;
|
|
19
|
+
} & SystemCustomizeFacetHistorySelection> | Readonly<{
|
|
17
20
|
kind: 'boundary';
|
|
18
21
|
boundaryId: DesignBoundaryId;
|
|
19
22
|
previousBlockId: PreviewCustomizeActionBlockId;
|
|
@@ -35,7 +38,7 @@ export declare function replacePreviewCustomizeHistoryModel(state: PreviewCustom
|
|
|
35
38
|
export declare function undoPreviewCustomizeHistory(state: PreviewCustomizeHistoryState): PreviewCustomizeHistoryState;
|
|
36
39
|
export declare function redoPreviewCustomizeHistory(state: PreviewCustomizeHistoryState): PreviewCustomizeHistoryState;
|
|
37
40
|
export declare function previewCustomizeHistoryEntryFromAction(editorModel: PreviewLoadedEditorModel, action: PreviewCustomizeAction): PreviewCustomizeHistoryEntry | null;
|
|
38
|
-
export declare function previewCustomizeUndoActionForEntry(entry: PreviewCustomizeHistoryEntry): PreviewCustomizeAction;
|
|
39
|
-
export declare function previewCustomizeRedoActionForEntry(entry: PreviewCustomizeHistoryEntry): PreviewCustomizeAction;
|
|
41
|
+
export declare function previewCustomizeUndoActionForEntry(entry: PreviewCustomizeHistoryEntry, editorModel: PreviewLoadedEditorModel): PreviewCustomizeAction;
|
|
42
|
+
export declare function previewCustomizeRedoActionForEntry(entry: PreviewCustomizeHistoryEntry, editorModel: PreviewLoadedEditorModel): PreviewCustomizeAction;
|
|
40
43
|
export declare function previewCustomizeHistoryPresentEquals(left: PreviewCustomizeHistoryPresent, right: PreviewCustomizeHistoryPresent): boolean;
|
|
41
44
|
export {};
|
|
@@ -10,7 +10,7 @@ export declare function createPreviewEntryPickerAdapter(previewClient: ApiClient
|
|
|
10
10
|
* adapter is constructed by looking the loader up via the same `BuiltInReferenceKind`
|
|
11
11
|
* key used to index into the chrome map.
|
|
12
12
|
*/
|
|
13
|
-
export declare function createPreviewReferenceAdapters(previewClient: ApiClient, fallbackSiteId?: string): BuiltInReferenceWidgetAdapters
|
|
13
|
+
export declare function createPreviewReferenceAdapters(previewClient: ApiClient, fallbackSiteId?: string): BuiltInReferenceWidgetAdapters & Record<string, ReferenceWidgetAdapter>;
|
|
14
14
|
export declare const __testUtils: {
|
|
15
15
|
clearCaches: () => void;
|
|
16
16
|
};
|
|
@@ -73,6 +73,16 @@ export type Media = {
|
|
|
73
73
|
height?: number;
|
|
74
74
|
storageBucket?: string;
|
|
75
75
|
storagePath?: string;
|
|
76
|
+
poster?: {
|
|
77
|
+
tag: 'storage';
|
|
78
|
+
assetId?: string;
|
|
79
|
+
storageBucket: string;
|
|
80
|
+
storagePath: string;
|
|
81
|
+
} | {
|
|
82
|
+
tag: 'external-src';
|
|
83
|
+
assetId?: string;
|
|
84
|
+
src: string;
|
|
85
|
+
};
|
|
76
86
|
transform?: {
|
|
77
87
|
aspectCrops?: Record<string, {
|
|
78
88
|
aspect?: string;
|
|
@@ -358,7 +358,7 @@ export type MediaTextContent = {
|
|
|
358
358
|
ratio?: ImageColSize | null;
|
|
359
359
|
aspectRatio?: MediaTextAspectRatio | null;
|
|
360
360
|
images?: Array<{
|
|
361
|
-
image:
|
|
361
|
+
image: Media | null;
|
|
362
362
|
}> | null;
|
|
363
363
|
carouselTransition?: 'slide' | 'fade' | null;
|
|
364
364
|
carouselAutoplay?: boolean | null;
|
|
@@ -58,7 +58,7 @@ export declare const pricingExample: {
|
|
|
58
58
|
label: string;
|
|
59
59
|
required: boolean;
|
|
60
60
|
multiline: boolean;
|
|
61
|
-
|
|
61
|
+
ui?: undefined;
|
|
62
62
|
readonly defaultValue?: undefined;
|
|
63
63
|
itemLabel?: undefined;
|
|
64
64
|
minItems?: undefined;
|
|
@@ -85,7 +85,7 @@ export declare const pricingExample: {
|
|
|
85
85
|
required: boolean;
|
|
86
86
|
multiline: boolean;
|
|
87
87
|
defaultValue: string;
|
|
88
|
-
|
|
88
|
+
ui?: undefined;
|
|
89
89
|
itemLabel?: undefined;
|
|
90
90
|
minItems?: undefined;
|
|
91
91
|
allowConversion?: undefined;
|
|
@@ -97,7 +97,7 @@ export declare const pricingExample: {
|
|
|
97
97
|
required: boolean;
|
|
98
98
|
defaultValue: boolean;
|
|
99
99
|
readonly multiline?: undefined;
|
|
100
|
-
|
|
100
|
+
ui?: undefined;
|
|
101
101
|
itemLabel?: undefined;
|
|
102
102
|
minItems?: undefined;
|
|
103
103
|
allowConversion?: undefined;
|
|
@@ -120,7 +120,7 @@ export declare const pricingExample: {
|
|
|
120
120
|
}[];
|
|
121
121
|
};
|
|
122
122
|
readonly multiline?: undefined;
|
|
123
|
-
|
|
123
|
+
ui?: undefined;
|
|
124
124
|
readonly defaultValue?: undefined;
|
|
125
125
|
} | {
|
|
126
126
|
id: string;
|
|
@@ -128,7 +128,7 @@ export declare const pricingExample: {
|
|
|
128
128
|
label: string;
|
|
129
129
|
required: boolean;
|
|
130
130
|
readonly multiline?: undefined;
|
|
131
|
-
|
|
131
|
+
ui?: undefined;
|
|
132
132
|
readonly defaultValue?: undefined;
|
|
133
133
|
itemLabel?: undefined;
|
|
134
134
|
minItems?: undefined;
|
|
@@ -19,6 +19,7 @@ export declare const isBindingDescriptorLike: (value: unknown) => value is Bindi
|
|
|
19
19
|
export declare const normalizeBindingInput: (value: BindingInput) => BindingDescriptor | null;
|
|
20
20
|
export declare const normalizeBindingOutput: <T>(value: T) => T;
|
|
21
21
|
export declare const applyBindings: (bindings: BindingMap, context: BindingContext) => Record<string, unknown>;
|
|
22
|
+
export declare const applyBindingsToContent: (baseContent: Record<string, unknown>, bindings: BindingMap, context: BindingContext) => Record<string, unknown>;
|
|
22
23
|
export declare const resolveBindingValue: (descriptor: BindingDescriptor, context: BindingContext) => unknown;
|
|
23
24
|
export declare const getPath: (source: Record<string, unknown>, path: string) => unknown;
|
|
24
25
|
export declare const applyTransform: (name: BindingTransformName | string | undefined, value: unknown) => unknown;
|