@riverbankcms/sdk 0.60.16 → 0.62.4
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/accessAdmin.d.ts +7 -0
- package/dist/_dts/api/src/bookingClosures.d.ts +106 -0
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +59 -1
- package/dist/_dts/api/src/bookingRecords.d.ts +101 -4
- package/dist/_dts/api/src/bookings.d.ts +2 -1
- package/dist/_dts/api/src/calendar.d.ts +11 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +2 -0
- package/dist/_dts/api/src/contentVersionHistory.d.ts +52 -0
- package/dist/_dts/api/src/contentVersionHistoryClient.d.ts +45 -0
- package/dist/_dts/api/src/endpoints.d.ts +206 -6
- package/dist/_dts/api/src/index.d.ts +9 -2
- package/dist/_dts/api/src/participantMessaging.d.ts +113 -0
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +31 -7
- package/dist/_dts/api/src/siteMembers.d.ts +10 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +76 -51
- package/dist/_dts/api/src/types.d.ts +3 -1
- package/dist/_dts/api/src/url.d.ts +3 -3
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- 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/newsletter-form.client.state.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/FieldValidationMessage.d.ts +19 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/TerminalPanel.d.ts +8 -2
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +3 -1
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +2 -2
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/themeColorResolution.d.ts +7 -0
- package/dist/_dts/content-editor/src/hooks/useDebouncedLatestSave.d.ts +24 -0
- package/dist/_dts/content-editor/src/index.d.ts +1 -0
- package/dist/_dts/content-editor/src/ui/stores/autosaveStore.d.ts +1 -0
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -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 +242 -6
- package/dist/_dts/db/src/schemas/forms.d.ts +1 -0
- 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/BlockToolbar.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/composePageFromBlocks.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/index.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +31 -8
- package/dist/_dts/preview-next/src/client/blocks/customizeFacetControls.d.ts +9 -0
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +6 -5
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +14 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/aiProposalProjection.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/index.d.ts +4 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +72 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +8 -5
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +11 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +9 -5
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +6 -1
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +13 -2
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +7 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeControlStyles.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +7 -3
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +9 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +13 -0
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +8 -2
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +49 -0
- 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/public-api/contracts.d.ts +3 -1
- 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/surfaces/src/index.d.ts +1 -0
- 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/palette/variants/types.d.ts +2 -21
- package/dist/_dts/theme-core/src/schema.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +451 -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 +61 -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 +30 -0
- package/dist/_dts/theme-core/src/site-styles/customizableSurfaces.d.ts +94 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +12 -0
- package/dist/_dts/theme-core/src/site-styles/footerLooks.d.ts +59 -0
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipeline.d.ts +4 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/headerCtaVariants.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +155 -0
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +15 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignAuthority.d.ts +7 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +15 -1
- package/dist/_dts/theme-core/src/site-styles/records.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +96 -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 +23 -5
- package/dist/_dts/theme-core/src/siteChrome.d.ts +53 -0
- package/dist/_dts/theme-core/src/tokens/colorTokenParts.d.ts +13 -0
- package/dist/_dts/theme-core/src/tokens/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +29 -0
- package/dist/_dts/theme-core/src/utils/tokenOrColor.d.ts +27 -1
- package/dist/cli/index.mjs +5149 -3635
- package/dist/client/bookings.mjs +711 -560
- package/dist/client/client.mjs +10110 -8168
- package/dist/client/hooks.mjs +3861 -2739
- package/dist/client/rendering/client.mjs +8606 -7009
- package/dist/client/rendering/islands.mjs +25202 -23768
- package/dist/client/rendering.mjs +10661 -8713
- package/dist/preview-next/before-render.mjs +256 -6
- package/dist/preview-next/client/runtime.mjs +7700 -4016
- package/dist/preview-next/editor-base.css +31 -0
- package/dist/preview-next/middleware.mjs +267 -6
- package/dist/server/components.mjs +4501 -3270
- package/dist/server/config-validation.mjs +4089 -2967
- package/dist/server/config.mjs +4089 -2967
- package/dist/server/data.mjs +3861 -2739
- package/dist/server/index.mjs +322 -24
- package/dist/server/next.mjs +4274 -3041
- package/dist/server/page-converter.mjs +3520 -2717
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +4500 -3270
- package/dist/server/rendering.mjs +4526 -3291
- package/dist/server/routing.mjs +4006 -2723
- package/dist/server/server.mjs +3897 -2772
- package/dist/server/theme-bridge.mjs +1435 -788
- package/dist/server/theme.mjs +628 -497
- package/dist/styles/index.css +61 -9
- package/package.json +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/colorResolution.d.ts +0 -13
- package/dist/_dts/preview-next/src/client/blocks/overlay.d.ts +0 -30
|
@@ -1,39 +1,55 @@
|
|
|
1
|
-
import type { EventCategoryId, VenueId } from
|
|
2
|
-
import type { SystemBlockDefinition } from
|
|
3
|
-
import { type SectionStylesContent } from
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { eventCalendarBlockRuntime } from "../../runtime/nodes/events/EventCalendar.interactive";
|
|
1
|
+
import type { EventCategoryId, VenueId } from '@riverbankcms/core';
|
|
2
|
+
import type { SystemBlockDefinition } from '../../registry';
|
|
3
|
+
import { type SectionStylesContent } from '../../fields/boxStyles';
|
|
4
|
+
import type { DisplayMode, EventLayout, ColumnOption, WeekStart, FilterAutoShow, CalendarTabViews, ButtonVariant, EventBlockKind, EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from './shared/types';
|
|
5
|
+
import { eventCalendarBlockRuntime } from '../../runtime/nodes/events/EventCalendar.interactive';
|
|
7
6
|
export declare function normalizeEventCalendarContent(content: unknown): EventCalendarContent;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
7
|
+
export declare const eventCalendarManifest: import("../..").DefinedBlockManifest<{
|
|
8
|
+
readonly additionalFields: readonly [{
|
|
9
|
+
readonly id: "displayMode";
|
|
10
|
+
readonly type: "select";
|
|
11
|
+
readonly required: false;
|
|
12
|
+
readonly multiple: false;
|
|
13
|
+
readonly options: readonly [{
|
|
14
|
+
readonly value: "combined";
|
|
15
|
+
}, {
|
|
16
|
+
readonly value: "month";
|
|
17
|
+
}, {
|
|
18
|
+
readonly value: "week";
|
|
19
|
+
}, {
|
|
20
|
+
readonly value: "timetable";
|
|
21
|
+
}, {
|
|
22
|
+
readonly value: "list";
|
|
23
|
+
}];
|
|
24
|
+
}, {
|
|
25
|
+
readonly id: "listLayout";
|
|
26
|
+
readonly type: "select";
|
|
27
|
+
readonly required: false;
|
|
28
|
+
readonly multiple: false;
|
|
29
|
+
readonly options: {
|
|
30
|
+
value: "compact" | "stack" | "grid";
|
|
31
|
+
}[];
|
|
32
|
+
}];
|
|
33
|
+
readonly variants: {
|
|
34
|
+
readonly combined: import("../..").NodeDefinition;
|
|
35
|
+
readonly month: import("../..").NodeDefinition;
|
|
36
|
+
readonly week: import("../..").NodeDefinition;
|
|
37
|
+
readonly timetable: import("../..").NodeDefinition;
|
|
38
|
+
readonly list: import("../..").NodeDefinition;
|
|
39
|
+
};
|
|
40
|
+
readonly skipSectionStyles: true;
|
|
41
|
+
}>;
|
|
27
42
|
export type EventCalendarContent = {
|
|
28
43
|
heading?: string | null;
|
|
29
44
|
description?: unknown;
|
|
45
|
+
variant?: DisplayMode | null;
|
|
30
46
|
displayMode?: DisplayMode | null;
|
|
31
47
|
listLayout?: EventLayout | null;
|
|
32
48
|
listColumns?: ColumnOption | null;
|
|
33
49
|
layout?: EventLayout | null;
|
|
34
50
|
columns?: ColumnOption | null;
|
|
35
|
-
eventsPerPage?:
|
|
36
|
-
compactEventsPerPage?:
|
|
51
|
+
eventsPerPage?: '6' | '12' | '24' | null;
|
|
52
|
+
compactEventsPerPage?: '10' | '20' | '30' | null;
|
|
37
53
|
loadMoreText?: string | null;
|
|
38
54
|
startOfWeek?: WeekStart | null;
|
|
39
55
|
calendarTabViews?: CalendarTabViews | null;
|
|
@@ -1,22 +1,31 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from "../../registry";
|
|
2
2
|
import { type SectionStylesContent } from "../../fields/boxStyles";
|
|
3
|
-
import { type BlockConfig, type DefinedBlockManifest } from "../../defineBlock";
|
|
4
3
|
import { eventListingBlockRuntime } from "../../runtime/nodes/events/EventListing.interactive";
|
|
5
4
|
import type { EventBlockKind, EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from "./shared/types";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
export declare const eventListingManifest: import("../..").DefinedBlockManifest<{
|
|
6
|
+
readonly additionalFields: readonly [{
|
|
7
|
+
readonly id: "layout";
|
|
8
|
+
readonly type: "select";
|
|
9
|
+
readonly required: false;
|
|
10
|
+
readonly multiple: false;
|
|
11
|
+
readonly options: readonly [{
|
|
12
|
+
readonly value: "grid";
|
|
13
|
+
}, {
|
|
14
|
+
readonly value: "stack";
|
|
15
|
+
}];
|
|
16
|
+
}, {
|
|
17
|
+
readonly id: "paginationMode";
|
|
18
|
+
readonly type: "select";
|
|
19
|
+
readonly required: false;
|
|
20
|
+
readonly multiple: false;
|
|
21
|
+
readonly options: readonly [{
|
|
22
|
+
readonly value: "loadMore";
|
|
23
|
+
}, {
|
|
24
|
+
readonly value: "seeAllLink";
|
|
25
|
+
}];
|
|
26
|
+
}];
|
|
27
|
+
readonly skipSectionStyles: true;
|
|
28
|
+
}>;
|
|
20
29
|
export type EventListingContent = {
|
|
21
30
|
heading?: string | null;
|
|
22
31
|
description?: unknown;
|
|
@@ -13,7 +13,7 @@ import { type SectionStylesContent } from "../../fields/boxStyles";
|
|
|
13
13
|
* - Configurable event count (1-6)
|
|
14
14
|
* - Theme-aware card and button styling
|
|
15
15
|
*/
|
|
16
|
-
export declare const eventSpotlightManifest: import("../..").DefinedBlockManifest<{
|
|
16
|
+
export declare const eventSpotlightManifest: import("../..").DefinedBlockManifest<import("../..").BlockContentShapeInput<{
|
|
17
17
|
readonly id: "block.event-spotlight";
|
|
18
18
|
readonly version: "1.1.0";
|
|
19
19
|
readonly title: "Event Spotlight";
|
|
@@ -30840,7 +30840,7 @@ export declare const eventSpotlightManifest: import("../..").DefinedBlockManifes
|
|
|
30840
30840
|
readonly tags: readonly ["events", "featured", "homepage", "spotlight", "upcoming"];
|
|
30841
30841
|
readonly icon: "Star";
|
|
30842
30842
|
readonly layout: readonly [import("../..").NodeDefinition];
|
|
30843
|
-
}
|
|
30843
|
+
}>>;
|
|
30844
30844
|
export type EventSpotlightContent = {
|
|
30845
30845
|
heading?: string | null;
|
|
30846
30846
|
description?: unknown;
|
|
@@ -163,6 +163,16 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
163
163
|
height: z.ZodOptional<z.ZodNumber>;
|
|
164
164
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
165
165
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
166
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
167
|
+
tag: z.ZodLiteral<"storage">;
|
|
168
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
169
|
+
storageBucket: z.ZodString;
|
|
170
|
+
storagePath: z.ZodString;
|
|
171
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
172
|
+
tag: z.ZodLiteral<"external-src">;
|
|
173
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
174
|
+
src: z.ZodString;
|
|
175
|
+
}, z.core.$strip>], "tag">>;
|
|
166
176
|
transform: z.ZodOptional<z.ZodObject<{
|
|
167
177
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
168
178
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -196,6 +206,16 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
196
206
|
height: z.ZodOptional<z.ZodNumber>;
|
|
197
207
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
198
208
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
209
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
210
|
+
tag: z.ZodLiteral<"storage">;
|
|
211
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
212
|
+
storageBucket: z.ZodString;
|
|
213
|
+
storagePath: z.ZodString;
|
|
214
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
215
|
+
tag: z.ZodLiteral<"external-src">;
|
|
216
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
217
|
+
src: z.ZodString;
|
|
218
|
+
}, z.core.$strip>], "tag">>;
|
|
199
219
|
transform: z.ZodOptional<z.ZodObject<{
|
|
200
220
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
201
221
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -229,6 +249,16 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
229
249
|
height: z.ZodOptional<z.ZodNumber>;
|
|
230
250
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
231
251
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
252
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
253
|
+
tag: z.ZodLiteral<"storage">;
|
|
254
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
255
|
+
storageBucket: z.ZodString;
|
|
256
|
+
storagePath: z.ZodString;
|
|
257
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
258
|
+
tag: z.ZodLiteral<"external-src">;
|
|
259
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
260
|
+
src: z.ZodString;
|
|
261
|
+
}, z.core.$strip>], "tag">>;
|
|
232
262
|
transform: z.ZodOptional<z.ZodObject<{
|
|
233
263
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
234
264
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -262,6 +292,16 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
262
292
|
height: z.ZodOptional<z.ZodNumber>;
|
|
263
293
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
264
294
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
295
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
296
|
+
tag: z.ZodLiteral<"storage">;
|
|
297
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
298
|
+
storageBucket: z.ZodString;
|
|
299
|
+
storagePath: z.ZodString;
|
|
300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
301
|
+
tag: z.ZodLiteral<"external-src">;
|
|
302
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
303
|
+
src: z.ZodString;
|
|
304
|
+
}, z.core.$strip>], "tag">>;
|
|
265
305
|
transform: z.ZodOptional<z.ZodObject<{
|
|
266
306
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
267
307
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -295,6 +335,16 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
295
335
|
height: z.ZodOptional<z.ZodNumber>;
|
|
296
336
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
297
337
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
338
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
339
|
+
tag: z.ZodLiteral<"storage">;
|
|
340
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
341
|
+
storageBucket: z.ZodString;
|
|
342
|
+
storagePath: z.ZodString;
|
|
343
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
344
|
+
tag: z.ZodLiteral<"external-src">;
|
|
345
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
346
|
+
src: z.ZodString;
|
|
347
|
+
}, z.core.$strip>], "tag">>;
|
|
298
348
|
transform: z.ZodOptional<z.ZodObject<{
|
|
299
349
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
300
350
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -328,6 +378,16 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
328
378
|
height: z.ZodOptional<z.ZodNumber>;
|
|
329
379
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
330
380
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
381
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
382
|
+
tag: z.ZodLiteral<"storage">;
|
|
383
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
384
|
+
storageBucket: z.ZodString;
|
|
385
|
+
storagePath: z.ZodString;
|
|
386
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
387
|
+
tag: z.ZodLiteral<"external-src">;
|
|
388
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
389
|
+
src: z.ZodString;
|
|
390
|
+
}, z.core.$strip>], "tag">>;
|
|
331
391
|
transform: z.ZodOptional<z.ZodObject<{
|
|
332
392
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
333
393
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -429,8 +489,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
429
489
|
remainderDueCount: z.ZodNumber;
|
|
430
490
|
intervalUnit: z.ZodEnum<{
|
|
431
491
|
month: "month";
|
|
432
|
-
day: "day";
|
|
433
492
|
week: "week";
|
|
493
|
+
day: "day";
|
|
434
494
|
}>;
|
|
435
495
|
}, z.core.$strip>, z.ZodObject<{
|
|
436
496
|
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
@@ -443,8 +503,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
443
503
|
intervalCount: z.ZodNumber;
|
|
444
504
|
intervalUnit: z.ZodEnum<{
|
|
445
505
|
month: "month";
|
|
446
|
-
day: "day";
|
|
447
506
|
week: "week";
|
|
507
|
+
day: "day";
|
|
448
508
|
}>;
|
|
449
509
|
}, z.core.$strip>, z.ZodObject<{
|
|
450
510
|
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
@@ -452,8 +512,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
452
512
|
intervalCount: z.ZodNumber;
|
|
453
513
|
intervalUnit: z.ZodEnum<{
|
|
454
514
|
month: "month";
|
|
455
|
-
day: "day";
|
|
456
515
|
week: "week";
|
|
516
|
+
day: "day";
|
|
457
517
|
}>;
|
|
458
518
|
}, z.core.$strip>]>;
|
|
459
519
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -555,8 +615,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
555
615
|
remainderDueCount: z.ZodNumber;
|
|
556
616
|
intervalUnit: z.ZodEnum<{
|
|
557
617
|
month: "month";
|
|
558
|
-
day: "day";
|
|
559
618
|
week: "week";
|
|
619
|
+
day: "day";
|
|
560
620
|
}>;
|
|
561
621
|
}, z.core.$strip>, z.ZodObject<{
|
|
562
622
|
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
@@ -569,8 +629,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
569
629
|
intervalCount: z.ZodNumber;
|
|
570
630
|
intervalUnit: z.ZodEnum<{
|
|
571
631
|
month: "month";
|
|
572
|
-
day: "day";
|
|
573
632
|
week: "week";
|
|
633
|
+
day: "day";
|
|
574
634
|
}>;
|
|
575
635
|
}, z.core.$strip>, z.ZodObject<{
|
|
576
636
|
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
@@ -578,8 +638,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
578
638
|
intervalCount: z.ZodNumber;
|
|
579
639
|
intervalUnit: z.ZodEnum<{
|
|
580
640
|
month: "month";
|
|
581
|
-
day: "day";
|
|
582
641
|
week: "week";
|
|
642
|
+
day: "day";
|
|
583
643
|
}>;
|
|
584
644
|
}, z.core.$strip>]>;
|
|
585
645
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -662,6 +722,16 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
662
722
|
height: z.ZodOptional<z.ZodNumber>;
|
|
663
723
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
664
724
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
725
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
726
|
+
tag: z.ZodLiteral<"storage">;
|
|
727
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
728
|
+
storageBucket: z.ZodString;
|
|
729
|
+
storagePath: z.ZodString;
|
|
730
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
731
|
+
tag: z.ZodLiteral<"external-src">;
|
|
732
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
733
|
+
src: z.ZodString;
|
|
734
|
+
}, z.core.$strip>], "tag">>;
|
|
665
735
|
transform: z.ZodOptional<z.ZodObject<{
|
|
666
736
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
667
737
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -695,6 +765,16 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
695
765
|
height: z.ZodOptional<z.ZodNumber>;
|
|
696
766
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
697
767
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
768
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
769
|
+
tag: z.ZodLiteral<"storage">;
|
|
770
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
771
|
+
storageBucket: z.ZodString;
|
|
772
|
+
storagePath: z.ZodString;
|
|
773
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
774
|
+
tag: z.ZodLiteral<"external-src">;
|
|
775
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
776
|
+
src: z.ZodString;
|
|
777
|
+
}, z.core.$strip>], "tag">>;
|
|
698
778
|
transform: z.ZodOptional<z.ZodObject<{
|
|
699
779
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
700
780
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -728,6 +808,16 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
728
808
|
height: z.ZodOptional<z.ZodNumber>;
|
|
729
809
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
730
810
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
811
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
812
|
+
tag: z.ZodLiteral<"storage">;
|
|
813
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
814
|
+
storageBucket: z.ZodString;
|
|
815
|
+
storagePath: z.ZodString;
|
|
816
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
817
|
+
tag: z.ZodLiteral<"external-src">;
|
|
818
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
819
|
+
src: z.ZodString;
|
|
820
|
+
}, z.core.$strip>], "tag">>;
|
|
731
821
|
transform: z.ZodOptional<z.ZodObject<{
|
|
732
822
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
733
823
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -761,6 +851,16 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
761
851
|
height: z.ZodOptional<z.ZodNumber>;
|
|
762
852
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
763
853
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
854
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
855
|
+
tag: z.ZodLiteral<"storage">;
|
|
856
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
857
|
+
storageBucket: z.ZodString;
|
|
858
|
+
storagePath: z.ZodString;
|
|
859
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
860
|
+
tag: z.ZodLiteral<"external-src">;
|
|
861
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
862
|
+
src: z.ZodString;
|
|
863
|
+
}, z.core.$strip>], "tag">>;
|
|
764
864
|
transform: z.ZodOptional<z.ZodObject<{
|
|
765
865
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
766
866
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -794,6 +894,16 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
794
894
|
height: z.ZodOptional<z.ZodNumber>;
|
|
795
895
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
796
896
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
897
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
898
|
+
tag: z.ZodLiteral<"storage">;
|
|
899
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
900
|
+
storageBucket: z.ZodString;
|
|
901
|
+
storagePath: z.ZodString;
|
|
902
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
903
|
+
tag: z.ZodLiteral<"external-src">;
|
|
904
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
905
|
+
src: z.ZodString;
|
|
906
|
+
}, z.core.$strip>], "tag">>;
|
|
797
907
|
transform: z.ZodOptional<z.ZodObject<{
|
|
798
908
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
799
909
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -827,6 +937,16 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
827
937
|
height: z.ZodOptional<z.ZodNumber>;
|
|
828
938
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
829
939
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
940
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
941
|
+
tag: z.ZodLiteral<"storage">;
|
|
942
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
943
|
+
storageBucket: z.ZodString;
|
|
944
|
+
storagePath: z.ZodString;
|
|
945
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
946
|
+
tag: z.ZodLiteral<"external-src">;
|
|
947
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
948
|
+
src: z.ZodString;
|
|
949
|
+
}, z.core.$strip>], "tag">>;
|
|
830
950
|
transform: z.ZodOptional<z.ZodObject<{
|
|
831
951
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
832
952
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -928,8 +1048,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
928
1048
|
remainderDueCount: z.ZodNumber;
|
|
929
1049
|
intervalUnit: z.ZodEnum<{
|
|
930
1050
|
month: "month";
|
|
931
|
-
day: "day";
|
|
932
1051
|
week: "week";
|
|
1052
|
+
day: "day";
|
|
933
1053
|
}>;
|
|
934
1054
|
}, z.core.$strip>, z.ZodObject<{
|
|
935
1055
|
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
@@ -942,8 +1062,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
942
1062
|
intervalCount: z.ZodNumber;
|
|
943
1063
|
intervalUnit: z.ZodEnum<{
|
|
944
1064
|
month: "month";
|
|
945
|
-
day: "day";
|
|
946
1065
|
week: "week";
|
|
1066
|
+
day: "day";
|
|
947
1067
|
}>;
|
|
948
1068
|
}, z.core.$strip>, z.ZodObject<{
|
|
949
1069
|
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
@@ -951,8 +1071,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
951
1071
|
intervalCount: z.ZodNumber;
|
|
952
1072
|
intervalUnit: z.ZodEnum<{
|
|
953
1073
|
month: "month";
|
|
954
|
-
day: "day";
|
|
955
1074
|
week: "week";
|
|
1075
|
+
day: "day";
|
|
956
1076
|
}>;
|
|
957
1077
|
}, z.core.$strip>]>;
|
|
958
1078
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1054,8 +1174,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1054
1174
|
remainderDueCount: z.ZodNumber;
|
|
1055
1175
|
intervalUnit: z.ZodEnum<{
|
|
1056
1176
|
month: "month";
|
|
1057
|
-
day: "day";
|
|
1058
1177
|
week: "week";
|
|
1178
|
+
day: "day";
|
|
1059
1179
|
}>;
|
|
1060
1180
|
}, z.core.$strip>, z.ZodObject<{
|
|
1061
1181
|
kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
|
|
@@ -1068,8 +1188,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1068
1188
|
intervalCount: z.ZodNumber;
|
|
1069
1189
|
intervalUnit: z.ZodEnum<{
|
|
1070
1190
|
month: "month";
|
|
1071
|
-
day: "day";
|
|
1072
1191
|
week: "week";
|
|
1192
|
+
day: "day";
|
|
1073
1193
|
}>;
|
|
1074
1194
|
}, z.core.$strip>, z.ZodObject<{
|
|
1075
1195
|
kind: z.ZodLiteral<"equal_scheduled_instalments">;
|
|
@@ -1077,8 +1197,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1077
1197
|
intervalCount: z.ZodNumber;
|
|
1078
1198
|
intervalUnit: z.ZodEnum<{
|
|
1079
1199
|
month: "month";
|
|
1080
|
-
day: "day";
|
|
1081
1200
|
week: "week";
|
|
1201
|
+
day: "day";
|
|
1082
1202
|
}>;
|
|
1083
1203
|
}, z.core.$strip>]>;
|
|
1084
1204
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -6,6 +6,7 @@ import type { Media } from '../../../../lib/media';
|
|
|
6
6
|
import type { BlockBookingPaymentTerms } from '../../shared/bookingPaymentTerms';
|
|
7
7
|
import type { PublicTeamMemberSummary } from '../../shared/teamMembers';
|
|
8
8
|
import type { CoursePricing } from '../../courses/shared/types';
|
|
9
|
+
import type { eventCalendarDisplayModeValues, eventCalendarListLayoutValues } from '../../../constants/events';
|
|
9
10
|
import type { EventBlockKind, EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from './filtering';
|
|
10
11
|
/**
|
|
11
12
|
* Geographic coordinates for venue location
|
|
@@ -169,7 +170,7 @@ export type ButtonVariant = "primary" | "secondary" | "outline" | "link";
|
|
|
169
170
|
/**
|
|
170
171
|
* Layout options for event lists
|
|
171
172
|
*/
|
|
172
|
-
export type EventLayout =
|
|
173
|
+
export type EventLayout = (typeof eventCalendarListLayoutValues)[number];
|
|
173
174
|
/**
|
|
174
175
|
* Column options for grid layouts
|
|
175
176
|
*/
|
|
@@ -189,7 +190,7 @@ export type WeekStart = "sunday" | "monday";
|
|
|
189
190
|
* - week: Week calendar only
|
|
190
191
|
* - list: List of events only (with load-more pagination)
|
|
191
192
|
*/
|
|
192
|
-
export type DisplayMode =
|
|
193
|
+
export type DisplayMode = (typeof eventCalendarDisplayModeValues)[number];
|
|
193
194
|
/**
|
|
194
195
|
* Filter auto-show options
|
|
195
196
|
* - auto: Show filter when site has >1 category with upcoming events
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from "../registry";
|
|
2
2
|
import { type CardStylesContent, type ContainerStylesContent } from "../fields/boxStyles";
|
|
3
|
-
export declare const faqManifest: import("..").DefinedBlockManifest<{
|
|
3
|
+
export declare const faqManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
4
4
|
readonly id: "block.faq";
|
|
5
5
|
readonly title: "FAQ";
|
|
6
6
|
readonly titleSource: "title";
|
|
@@ -8,9 +8,6 @@ export declare const faqManifest: import("..").DefinedBlockManifest<{
|
|
|
8
8
|
readonly includeContainerStyles: true;
|
|
9
9
|
readonly fragments: readonly [{
|
|
10
10
|
readonly fragment: import("..").DefinedFragment<{
|
|
11
|
-
readonly id: "faqHeading";
|
|
12
|
-
readonly title: "FAQ Heading";
|
|
13
|
-
readonly description: "Optional eyebrow, title, and description for FAQ sections.";
|
|
14
11
|
readonly fields: readonly [{
|
|
15
12
|
readonly id: "eyebrow";
|
|
16
13
|
readonly type: "text";
|
|
@@ -33,14 +30,10 @@ export declare const faqManifest: import("..").DefinedBlockManifest<{
|
|
|
33
30
|
readonly variant: "limited";
|
|
34
31
|
};
|
|
35
32
|
}];
|
|
36
|
-
readonly layout: import("..").NodeDefinition;
|
|
37
33
|
}>;
|
|
38
34
|
readonly fieldPriority: 0;
|
|
39
35
|
}, {
|
|
40
36
|
readonly fragment: import("..").DefinedFragment<{
|
|
41
|
-
readonly id: "faqAccordion";
|
|
42
|
-
readonly title: "FAQ Accordion";
|
|
43
|
-
readonly description: "Expandable list of question and answer pairs.";
|
|
44
37
|
readonly fields: readonly [{
|
|
45
38
|
readonly id: "items";
|
|
46
39
|
readonly type: "repeater";
|
|
@@ -67,7 +60,6 @@ export declare const faqManifest: import("..").DefinedBlockManifest<{
|
|
|
67
60
|
}];
|
|
68
61
|
};
|
|
69
62
|
}];
|
|
70
|
-
readonly layout: import("..").NodeDefinition;
|
|
71
63
|
}>;
|
|
72
64
|
readonly fieldPriority: 1;
|
|
73
65
|
}];
|
|
@@ -29115,7 +29107,7 @@ export declare const faqManifest: import("..").DefinedBlockManifest<{
|
|
|
29115
29107
|
readonly description: "Accordion of frequently asked questions and answers.";
|
|
29116
29108
|
readonly tags: readonly ["faq", "questions", "answers", "help", "support", "accordion", "q&a"];
|
|
29117
29109
|
readonly icon: "HelpCircle";
|
|
29118
|
-
}
|
|
29110
|
+
}>>;
|
|
29119
29111
|
export type FaqItem = {
|
|
29120
29112
|
question: string;
|
|
29121
29113
|
answer: unknown;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type PublicDownloadMedia } from "../../lib/media";
|
|
2
2
|
import type { SystemBlockDefinition } from "../registry";
|
|
3
|
-
export declare const fileDownloadManifest: import("..").DefinedBlockManifest<{
|
|
3
|
+
export declare const fileDownloadManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
4
4
|
readonly id: "block.file-download";
|
|
5
5
|
readonly title: "File Download";
|
|
6
6
|
readonly titleSource: ["title", "file.filename"];
|
|
@@ -47,7 +47,7 @@ export declare const fileDownloadManifest: import("..").DefinedBlockManifest<{
|
|
|
47
47
|
readonly typography: "body";
|
|
48
48
|
readonly spacing: "md";
|
|
49
49
|
};
|
|
50
|
-
}
|
|
50
|
+
}>>;
|
|
51
51
|
export type FileDownloadContent = {
|
|
52
52
|
file?: PublicDownloadMedia | null;
|
|
53
53
|
title?: string | null;
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import type { SystemBlockDefinition } from "../registry";
|
|
3
3
|
import type { ContainerStylesContent, SectionStylesContent } from "../fields/boxStyles";
|
|
4
4
|
import { formBlockRuntime } from "../runtime/nodes/form.interactive";
|
|
5
|
-
export declare const formManifest: import("..").DefinedBlockManifest<{
|
|
5
|
+
export declare const formManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
6
6
|
readonly id: "block.form";
|
|
7
7
|
readonly title: "Form";
|
|
8
8
|
readonly titleSource: "title";
|
|
@@ -10,9 +10,6 @@ export declare const formManifest: import("..").DefinedBlockManifest<{
|
|
|
10
10
|
readonly includeContainerStyles: true;
|
|
11
11
|
readonly fragments: readonly [{
|
|
12
12
|
readonly fragment: import("..").DefinedFragment<{
|
|
13
|
-
readonly id: "formCopy";
|
|
14
|
-
readonly title: "Form Copy";
|
|
15
|
-
readonly description: "Optional title and introduction content for form blocks.";
|
|
16
13
|
readonly fields: readonly [{
|
|
17
14
|
readonly id: "title";
|
|
18
15
|
readonly type: "text";
|
|
@@ -23,13 +20,9 @@ export declare const formManifest: import("..").DefinedBlockManifest<{
|
|
|
23
20
|
readonly label: "Intro";
|
|
24
21
|
readonly description: "Optional introduction above the form.";
|
|
25
22
|
}];
|
|
26
|
-
readonly layout: readonly [import("..").NodeDefinition, import("..").NodeDefinition];
|
|
27
23
|
}>;
|
|
28
24
|
}, {
|
|
29
25
|
readonly fragment: import("..").DefinedFragment<{
|
|
30
|
-
readonly id: "formEmbed";
|
|
31
|
-
readonly title: "Form Embed";
|
|
32
|
-
readonly description: "Embeds a saved form with configurable submit button copy.";
|
|
33
26
|
readonly fields: readonly [{
|
|
34
27
|
readonly id: "formSlug";
|
|
35
28
|
readonly type: "reference";
|
|
@@ -52,21 +45,6 @@ export declare const formManifest: import("..").DefinedBlockManifest<{
|
|
|
52
45
|
readonly label: "Success message";
|
|
53
46
|
readonly description: "Shown after successful submit (handled by page or block).";
|
|
54
47
|
}];
|
|
55
|
-
readonly layout: readonly [import("..").NodeDefinition];
|
|
56
|
-
readonly data: {
|
|
57
|
-
readonly key: "form";
|
|
58
|
-
readonly loader: {
|
|
59
|
-
readonly endpoint: "getPublicFormById";
|
|
60
|
-
readonly params: {
|
|
61
|
-
readonly formSlug: {
|
|
62
|
-
readonly $bind: {
|
|
63
|
-
readonly from: "formSlug";
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
readonly mode: "server";
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
48
|
}>;
|
|
71
49
|
}];
|
|
72
50
|
readonly layout: import("..").NodeDefinition;
|
|
@@ -84,7 +62,7 @@ export declare const formManifest: import("..").DefinedBlockManifest<{
|
|
|
84
62
|
readonly category: "interactive";
|
|
85
63
|
readonly tags: readonly ["form", "contact", "input", "submit", "fields", "signup", "lead-capture"];
|
|
86
64
|
readonly icon: "FormInput";
|
|
87
|
-
}
|
|
65
|
+
}>>;
|
|
88
66
|
/**
|
|
89
67
|
* Rich text document structure (ProseMirror format)
|
|
90
68
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { SystemBlockDefinition } from '../registry';
|
|
2
2
|
import { type SectionStylesContent } from '../fields/boxStyles';
|
|
3
3
|
import { giftingBlockRuntime } from '../runtime/nodes/gifting.interactive';
|
|
4
|
-
export declare const giftingManifest: import("..").DefinedBlockManifest<{
|
|
4
|
+
export declare const giftingManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
5
5
|
readonly id: "block.gifting";
|
|
6
6
|
readonly version: "1.0.0";
|
|
7
7
|
readonly title: "Gift cards & vouchers";
|
|
@@ -29112,7 +29112,7 @@ export declare const giftingManifest: import("..").DefinedBlockManifest<{
|
|
|
29112
29112
|
readonly tags: readonly ["gifting", "gift cards", "vouchers", "commerce"];
|
|
29113
29113
|
readonly icon: "Gift";
|
|
29114
29114
|
readonly layout: readonly [import("..").NodeDefinition];
|
|
29115
|
-
}
|
|
29115
|
+
}>>;
|
|
29116
29116
|
export type GiftingContent = {
|
|
29117
29117
|
heading?: string | null;
|
|
29118
29118
|
intro?: string | null;
|