@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.
Files changed (167) hide show
  1. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +41 -1
  2. package/dist/_dts/api/src/bookingRecords.d.ts +100 -3
  3. package/dist/_dts/api/src/bookings.d.ts +2 -1
  4. package/dist/_dts/api/src/endpoints.d.ts +96 -0
  5. package/dist/_dts/api/src/index.d.ts +5 -1
  6. package/dist/_dts/api/src/participantMessaging.d.ts +113 -0
  7. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +51 -47
  8. package/dist/_dts/api/src/types.d.ts +1 -0
  9. package/dist/_dts/blocks/src/index.d.ts +66 -62
  10. package/dist/_dts/blocks/src/lib/media.d.ts +60 -0
  11. package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +2 -2
  12. package/dist/_dts/blocks/src/system/blocks/audio-player.d.ts +2 -2
  13. package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +2 -2
  14. package/dist/_dts/blocks/src/system/blocks/blog-post.d.ts +0 -21
  15. package/dist/_dts/blocks/src/system/blocks/body-text.d.ts +2 -6
  16. package/dist/_dts/blocks/src/system/blocks/cart.d.ts +2 -2
  17. package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +2 -2
  18. package/dist/_dts/blocks/src/system/blocks/collection.d.ts +0 -10
  19. package/dist/_dts/blocks/src/system/blocks/columns.d.ts +0 -10
  20. package/dist/_dts/blocks/src/system/blocks/course-details.d.ts +0 -20
  21. package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +0 -20
  22. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +15 -15
  23. package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +5 -10
  24. package/dist/_dts/blocks/src/system/blocks/embed.d.ts +0 -11
  25. package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +0 -20
  26. package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +0 -20
  27. package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +43 -27
  28. package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +24 -15
  29. package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -2
  30. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +132 -12
  31. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +3 -2
  32. package/dist/_dts/blocks/src/system/blocks/faq.d.ts +2 -10
  33. package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +2 -2
  34. package/dist/_dts/blocks/src/system/blocks/form.d.ts +2 -24
  35. package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +2 -2
  36. package/dist/_dts/blocks/src/system/blocks/hero.d.ts +2 -3
  37. package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +2 -2
  38. package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +0 -13
  39. package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +17 -17
  40. package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +2 -10
  41. package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +2 -2
  42. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +2 -2
  43. package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +9 -9
  44. package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -2
  45. package/dist/_dts/blocks/src/system/blocks/single-button.d.ts +16 -15
  46. package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +2 -6
  47. package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +0 -11
  48. package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -3
  49. package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +2 -2
  50. package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +2 -2
  51. package/dist/_dts/blocks/src/system/constants/events.d.ts +18 -0
  52. package/dist/_dts/blocks/src/system/customize/facets.d.ts +105 -0
  53. package/dist/_dts/blocks/src/system/defineBlock.d.ts +29 -5
  54. package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +2 -1
  55. package/dist/_dts/blocks/src/system/fragments/library/blogFeaturedPost.d.ts +0 -24
  56. package/dist/_dts/blocks/src/system/fragments/library/bodyCopy.d.ts +0 -4
  57. package/dist/_dts/blocks/src/system/fragments/library/bookingForm.d.ts +0 -4
  58. package/dist/_dts/blocks/src/system/fragments/library/card.d.ts +0 -6
  59. package/dist/_dts/blocks/src/system/fragments/library/columnContent.d.ts +0 -6
  60. package/dist/_dts/blocks/src/system/fragments/library/ctaCopy.d.ts +0 -4
  61. package/dist/_dts/blocks/src/system/fragments/library/ctaRow.d.ts +0 -4
  62. package/dist/_dts/blocks/src/system/fragments/library/faqAccordion.d.ts +0 -4
  63. package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +0 -4
  64. package/dist/_dts/blocks/src/system/fragments/library/feedbackCallout.d.ts +0 -6
  65. package/dist/_dts/blocks/src/system/fragments/library/footerBottomText.d.ts +0 -4
  66. package/dist/_dts/blocks/src/system/fragments/library/formCopy.d.ts +0 -4
  67. package/dist/_dts/blocks/src/system/fragments/library/formEmbed.d.ts +0 -18
  68. package/dist/_dts/blocks/src/system/fragments/library/headerCta.d.ts +0 -4
  69. package/dist/_dts/blocks/src/system/fragments/library/heading.d.ts +0 -6
  70. package/dist/_dts/blocks/src/system/fragments/library/heroCopy.d.ts +0 -4
  71. package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +0 -4
  72. package/dist/_dts/blocks/src/system/fragments/library/heroLayoutControls.d.ts +0 -4
  73. package/dist/_dts/blocks/src/system/fragments/library/image.d.ts +0 -6
  74. package/dist/_dts/blocks/src/system/fragments/library/newsletterCopy.d.ts +0 -4
  75. package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +0 -4
  76. package/dist/_dts/blocks/src/system/fragments/library/quote.d.ts +0 -6
  77. package/dist/_dts/blocks/src/system/fragments/library/richText.d.ts +0 -6
  78. package/dist/_dts/blocks/src/system/fragments/library/sectionState.d.ts +0 -6
  79. package/dist/_dts/blocks/src/system/fragments/library/singleButton.d.ts +0 -4
  80. package/dist/_dts/blocks/src/system/fragments/library/spinner.d.ts +0 -5
  81. package/dist/_dts/blocks/src/system/fragments/library/teamMember.d.ts +0 -6
  82. package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +0 -31
  83. package/dist/_dts/blocks/src/system/fragments/library/testimonialsHeading.d.ts +0 -4
  84. package/dist/_dts/blocks/src/system/fragments/library/videoEmbed.d.ts +0 -6
  85. package/dist/_dts/blocks/src/system/fragments/types.d.ts +11 -3
  86. package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +4 -0
  87. package/dist/_dts/blocks/src/system/index.d.ts +1 -0
  88. package/dist/_dts/blocks/src/system/manifest/derivedContent.d.ts +3 -3
  89. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +10 -10
  90. package/dist/_dts/blocks/src/system/media/constrainedVideoMedia.d.ts +13 -0
  91. package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -0
  92. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -0
  93. package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +4 -0
  94. package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +1 -0
  95. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -0
  96. package/dist/_dts/content-model/src/contentManifest.d.ts +2 -2
  97. package/dist/_dts/content-model/src/referenceFields.d.ts +7 -1
  98. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +34 -6
  99. package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -0
  100. package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +3 -2
  101. package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +2 -1
  102. package/dist/_dts/editor-blocks/src/widgets/entry-picker/types.d.ts +2 -1
  103. package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +2 -1
  104. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +2 -1
  105. package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +2 -1
  106. package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +2 -1
  107. package/dist/_dts/editor-blocks/src/widgets/link/types.d.ts +3 -2
  108. package/dist/_dts/editor-blocks/src/widgets/reference/dynamicAdapters.d.ts +9 -0
  109. package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +5 -1
  110. package/dist/_dts/media-core/src/index.d.ts +1 -0
  111. package/dist/_dts/media-core/src/videoSlotPolicy.d.ts +38 -0
  112. package/dist/_dts/media-editor/src/MediaEditor.d.ts +3 -1
  113. package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +7 -0
  114. package/dist/_dts/preview-next/src/client/blocks/customizeFacetControls.d.ts +9 -0
  115. package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +14 -0
  116. package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +9 -7
  117. package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +6 -3
  118. package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +1 -1
  119. package/dist/_dts/sdk/src/contracts/content.d.ts +10 -0
  120. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -1
  121. package/dist/_dts/sdk/src/manifest/prompt/examples/features-grid.d.ts +1 -1
  122. package/dist/_dts/sdk/src/manifest/prompt/examples/pricing.d.ts +5 -5
  123. package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +1 -0
  124. package/dist/_dts/sdk/src/version.d.ts +1 -1
  125. package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
  126. package/dist/_dts/theme-core/src/index.d.ts +1 -0
  127. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +3 -0
  128. package/dist/_dts/theme-core/src/schema.d.ts +25 -0
  129. package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +515 -0
  130. package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +12 -0
  131. package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +119 -0
  132. package/dist/_dts/theme-core/src/site-styles/appearancePresets.d.ts +5 -563
  133. package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +448 -0
  134. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +6 -0
  135. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +12 -0
  136. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -0
  137. package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +8 -0
  138. package/dist/_dts/theme-core/src/site-styles/siteChromeAppearancePresets.d.ts +67 -0
  139. package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +6 -6
  140. package/dist/_dts/theme-core/src/site-styles/types.d.ts +22 -3
  141. package/dist/_dts/theme-core/src/siteChrome.d.ts +11 -0
  142. package/dist/cli/index.mjs +4310 -3464
  143. package/dist/client/bookings.mjs +310 -310
  144. package/dist/client/client.mjs +61329 -60359
  145. package/dist/client/hooks.mjs +1254 -731
  146. package/dist/client/rendering/client.mjs +5959 -5226
  147. package/dist/client/rendering/islands.mjs +3842 -3275
  148. package/dist/client/rendering.mjs +7495 -6519
  149. package/dist/preview-next/before-render.mjs +118 -0
  150. package/dist/preview-next/client/runtime.mjs +4489 -2773
  151. package/dist/preview-next/middleware.mjs +136 -0
  152. package/dist/server/components.mjs +1342 -765
  153. package/dist/server/config-validation.mjs +1256 -733
  154. package/dist/server/config.mjs +1256 -733
  155. package/dist/server/data.mjs +1254 -731
  156. package/dist/server/index.mjs +191 -18
  157. package/dist/server/next.mjs +1339 -760
  158. package/dist/server/page-converter.mjs +1088 -734
  159. package/dist/server/prebuild.mjs +1 -1
  160. package/dist/server/rendering/server.mjs +1338 -762
  161. package/dist/server/rendering.mjs +1351 -770
  162. package/dist/server/routing.mjs +1340 -754
  163. package/dist/server/server.mjs +1260 -734
  164. package/dist/server/theme-bridge.mjs +198 -34
  165. package/dist/server/theme.mjs +6 -0
  166. package/dist/styles/index.css +28 -9
  167. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import type { SystemBlockDefinition } from '../registry';
2
2
  import { type SectionStylesContent } from '../fields/boxStyles';
3
3
  import { cartBlockRuntime } from '../runtime/nodes/shop.interactive';
4
- export declare const cartManifest: import("..").DefinedBlockManifest<{
4
+ export declare const cartManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
5
5
  readonly id: "block.cart";
6
6
  readonly version: "1.0.0";
7
7
  readonly title: "Cart";
@@ -29091,7 +29091,7 @@ export declare const cartManifest: import("..").DefinedBlockManifest<{
29091
29091
  readonly tags: readonly ["shop", "cart", "checkout"];
29092
29092
  readonly icon: "ShoppingCart";
29093
29093
  readonly layout: readonly [import("..").NodeDefinition];
29094
- }>;
29094
+ }>>;
29095
29095
  export type CartContent = {
29096
29096
  heading?: string | null;
29097
29097
  emptyStateText?: string | null;
@@ -1,7 +1,7 @@
1
1
  import type { SystemBlockDefinition } from '../registry';
2
2
  import { type SectionStylesContent } from '../fields/boxStyles';
3
3
  import { checkoutBlockRuntime } from '../runtime/nodes/shop.interactive';
4
- export declare const checkoutManifest: import("..").DefinedBlockManifest<{
4
+ export declare const checkoutManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
5
5
  readonly id: "block.checkout";
6
6
  readonly version: "1.0.0";
7
7
  readonly title: "Checkout";
@@ -29084,7 +29084,7 @@ export declare const checkoutManifest: import("..").DefinedBlockManifest<{
29084
29084
  readonly tags: readonly ["shop", "checkout", "cart"];
29085
29085
  readonly icon: "CreditCard";
29086
29086
  readonly layout: readonly [import("..").NodeDefinition];
29087
- }>;
29087
+ }>>;
29088
29088
  export type CheckoutContent = {
29089
29089
  heading?: string | null;
29090
29090
  submitButtonText?: string | null;
@@ -2,9 +2,6 @@ import type { SystemBlockDefinition } from "../registry";
2
2
  import type { SemanticSpacing } from "../spacing";
3
3
  import { type CardStylesContent } from "../fields/boxStyles";
4
4
  export declare const collectionManifest: import("..").DefinedBlockManifest<{
5
- readonly id: "block.collection";
6
- readonly title: "Collection";
7
- readonly category: "layout";
8
5
  readonly additionalFields: readonly [import("..").FieldDefinition, import("..").FieldDefinition, import("..").FieldDefinition, import("..").RepeaterFieldDefinition, Omit<{
9
6
  id: string;
10
7
  label: string;
@@ -29045,13 +29042,6 @@ export declare const collectionManifest: import("..").DefinedBlockManifest<{
29045
29042
  id: "_cardStyles";
29046
29043
  readonly __boxStyleType?: "card" | undefined;
29047
29044
  }];
29048
- readonly layout: import("..").NodeDefinition;
29049
- readonly description: "Repeat items in a grid or stack layout.";
29050
- readonly tags: readonly ["collection", "grid", "stack", "repeater"];
29051
- readonly icon: "LayoutList";
29052
- readonly styleTokens: {
29053
- readonly spacing: "lg";
29054
- };
29055
29045
  }>;
29056
29046
  export type CollectionContent = {
29057
29047
  layout?: "grid" | "stack" | null;
@@ -1,17 +1,7 @@
1
1
  import type { SystemBlockDefinition } from '../registry';
2
2
  import type { SemanticSpacing } from '../spacing';
3
3
  export declare const columnsManifest: import("..").DefinedBlockManifest<{
4
- readonly id: "block.columns";
5
- readonly title: "Columns";
6
- readonly category: "layout";
7
4
  readonly additionalFields: readonly [import("..").FieldDefinition, import("..").FieldDefinition, import("..").FieldDefinition, import("..").FieldDefinition, import("..").RepeaterFieldDefinition];
8
- readonly layout: import("..").NodeDefinition;
9
- readonly description: "Multi-column layout with customizable content per column";
10
- readonly tags: readonly ["columns", "grid", "layout", "flexible", "multi-column"];
11
- readonly icon: "Columns";
12
- readonly styleTokens: {
13
- readonly spacing: "lg";
14
- };
15
5
  }>;
16
6
  export type ColumnsContent = {
17
7
  equalHeight?: boolean;
@@ -11,25 +11,6 @@ import type { SectionStylesContent } from "../fields/boxStyles";
11
11
  * Intended for use on course templates, but can also be placed on standalone pages.
12
12
  */
13
13
  export declare const courseDetailsManifest: import("..").DefinedBlockManifest<{
14
- readonly id: "block.course-details";
15
- readonly version: "1.0.0";
16
- readonly title: "Course Details";
17
- readonly titleSource: "heading";
18
- readonly description: "Schedule, venue, price, and enrollment status for a course";
19
- readonly category: "content";
20
- readonly tags: readonly ["courses", "schedule", "sessions", "venue", "pricing"];
21
- readonly icon: "GraduationCap";
22
- readonly styleTokens: {
23
- readonly background: "surface";
24
- readonly typography: "body";
25
- readonly spacing: "md";
26
- };
27
- readonly behaviours: {
28
- readonly supportsThemeSwitching: true;
29
- readonly inlineEditing: false;
30
- readonly animation: false;
31
- readonly paletteHidden: false;
32
- };
33
14
  readonly additionalFields: readonly [{
34
15
  readonly id: "heading";
35
16
  readonly type: "text";
@@ -146,7 +127,6 @@ export declare const courseDetailsManifest: import("..").DefinedBlockManifest<{
146
127
  readonly intent: "display";
147
128
  };
148
129
  }];
149
- readonly layout: readonly [import("..").NodeDefinition];
150
130
  }>;
151
131
  export type CourseDetailsContent = {
152
132
  heading?: string | null;
@@ -21,25 +21,6 @@ export { type PublicCourse, type CourseSession, type CourseVenue, type CourseSta
21
21
  * - Can also be placed on standalone pages with course selection
22
22
  */
23
23
  export declare const courseRegistrationManifest: import("..").DefinedBlockManifest<{
24
- readonly id: "block.course-registration";
25
- readonly version: "1.0.0";
26
- readonly title: "Course Registration";
27
- readonly titleSource: "heading";
28
- readonly description: "Enrollment form for multi-session courses";
29
- readonly category: "interactive";
30
- readonly tags: readonly ["courses", "enrollment", "booking", "form", "signup", "education"];
31
- readonly icon: "GraduationCap";
32
- readonly styleTokens: {
33
- readonly background: "surface";
34
- readonly typography: "body";
35
- readonly spacing: "md";
36
- };
37
- readonly behaviours: {
38
- readonly supportsThemeSwitching: true;
39
- readonly inlineEditing: false;
40
- readonly animation: false;
41
- readonly paletteHidden: false;
42
- };
43
24
  readonly additionalFields: readonly [{
44
25
  readonly id: "heading";
45
26
  readonly type: "text";
@@ -152,7 +133,6 @@ export declare const courseRegistrationManifest: import("..").DefinedBlockManife
152
133
  readonly intent: "style";
153
134
  };
154
135
  }];
155
- readonly layout: readonly [import("..").NodeDefinition];
156
136
  }>;
157
137
  export type CourseRegistrationContent = {
158
138
  heading?: string | null;
@@ -70,8 +70,8 @@ export declare const coursePricingSchema: z.ZodObject<{
70
70
  remainderDueCount: z.ZodNumber;
71
71
  intervalUnit: z.ZodEnum<{
72
72
  month: "month";
73
- day: "day";
74
73
  week: "week";
74
+ day: "day";
75
75
  }>;
76
76
  }, z.core.$strip>, z.ZodObject<{
77
77
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -84,8 +84,8 @@ export declare const coursePricingSchema: z.ZodObject<{
84
84
  intervalCount: z.ZodNumber;
85
85
  intervalUnit: z.ZodEnum<{
86
86
  month: "month";
87
- day: "day";
88
87
  week: "week";
88
+ day: "day";
89
89
  }>;
90
90
  }, z.core.$strip>, z.ZodObject<{
91
91
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
@@ -93,8 +93,8 @@ export declare const coursePricingSchema: z.ZodObject<{
93
93
  intervalCount: z.ZodNumber;
94
94
  intervalUnit: z.ZodEnum<{
95
95
  month: "month";
96
- day: "day";
97
96
  week: "week";
97
+ day: "day";
98
98
  }>;
99
99
  }, z.core.$strip>]>;
100
100
  }, z.core.$strip>, z.ZodObject<{
@@ -177,8 +177,8 @@ export declare const publicCourseSchema: z.ZodObject<{
177
177
  remainderDueCount: z.ZodNumber;
178
178
  intervalUnit: z.ZodEnum<{
179
179
  month: "month";
180
- day: "day";
181
180
  week: "week";
181
+ day: "day";
182
182
  }>;
183
183
  }, z.core.$strip>, z.ZodObject<{
184
184
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -191,8 +191,8 @@ export declare const publicCourseSchema: z.ZodObject<{
191
191
  intervalCount: z.ZodNumber;
192
192
  intervalUnit: z.ZodEnum<{
193
193
  month: "month";
194
- day: "day";
195
194
  week: "week";
195
+ day: "day";
196
196
  }>;
197
197
  }, z.core.$strip>, z.ZodObject<{
198
198
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
@@ -200,8 +200,8 @@ export declare const publicCourseSchema: z.ZodObject<{
200
200
  intervalCount: z.ZodNumber;
201
201
  intervalUnit: z.ZodEnum<{
202
202
  month: "month";
203
- day: "day";
204
203
  week: "week";
204
+ day: "day";
205
205
  }>;
206
206
  }, z.core.$strip>]>;
207
207
  }, z.core.$strip>, z.ZodObject<{
@@ -258,8 +258,8 @@ export declare const publicCourseSchema: z.ZodObject<{
258
258
  remainderDueCount: z.ZodNumber;
259
259
  intervalUnit: z.ZodEnum<{
260
260
  month: "month";
261
- day: "day";
262
261
  week: "week";
262
+ day: "day";
263
263
  }>;
264
264
  }, z.core.$strip>, z.ZodObject<{
265
265
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -272,8 +272,8 @@ export declare const publicCourseSchema: z.ZodObject<{
272
272
  intervalCount: z.ZodNumber;
273
273
  intervalUnit: z.ZodEnum<{
274
274
  month: "month";
275
- day: "day";
276
275
  week: "week";
276
+ day: "day";
277
277
  }>;
278
278
  }, z.core.$strip>, z.ZodObject<{
279
279
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
@@ -281,8 +281,8 @@ export declare const publicCourseSchema: z.ZodObject<{
281
281
  intervalCount: z.ZodNumber;
282
282
  intervalUnit: z.ZodEnum<{
283
283
  month: "month";
284
- day: "day";
285
284
  week: "week";
285
+ day: "day";
286
286
  }>;
287
287
  }, z.core.$strip>]>;
288
288
  }, z.core.$strip>, z.ZodObject<{
@@ -373,8 +373,8 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
373
373
  remainderDueCount: z.ZodNumber;
374
374
  intervalUnit: z.ZodEnum<{
375
375
  month: "month";
376
- day: "day";
377
376
  week: "week";
377
+ day: "day";
378
378
  }>;
379
379
  }, z.core.$strip>, z.ZodObject<{
380
380
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -387,8 +387,8 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
387
387
  intervalCount: z.ZodNumber;
388
388
  intervalUnit: z.ZodEnum<{
389
389
  month: "month";
390
- day: "day";
391
390
  week: "week";
391
+ day: "day";
392
392
  }>;
393
393
  }, z.core.$strip>, z.ZodObject<{
394
394
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
@@ -396,8 +396,8 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
396
396
  intervalCount: z.ZodNumber;
397
397
  intervalUnit: z.ZodEnum<{
398
398
  month: "month";
399
- day: "day";
400
399
  week: "week";
400
+ day: "day";
401
401
  }>;
402
402
  }, z.core.$strip>]>;
403
403
  }, z.core.$strip>, z.ZodObject<{
@@ -454,8 +454,8 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
454
454
  remainderDueCount: z.ZodNumber;
455
455
  intervalUnit: z.ZodEnum<{
456
456
  month: "month";
457
- day: "day";
458
457
  week: "week";
458
+ day: "day";
459
459
  }>;
460
460
  }, z.core.$strip>, z.ZodObject<{
461
461
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -468,8 +468,8 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
468
468
  intervalCount: z.ZodNumber;
469
469
  intervalUnit: z.ZodEnum<{
470
470
  month: "month";
471
- day: "day";
472
471
  week: "week";
472
+ day: "day";
473
473
  }>;
474
474
  }, z.core.$strip>, z.ZodObject<{
475
475
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
@@ -477,8 +477,8 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
477
477
  intervalCount: z.ZodNumber;
478
478
  intervalUnit: z.ZodEnum<{
479
479
  month: "month";
480
- day: "day";
481
480
  week: "week";
481
+ day: "day";
482
482
  }>;
483
483
  }, z.core.$strip>]>;
484
484
  }, z.core.$strip>, z.ZodObject<{
@@ -1,14 +1,12 @@
1
1
  import type { SystemBlockDefinition } from "../registry";
2
2
  import type { SectionStylesContent } from "../fields/boxStyles";
3
- export declare const ctaFullManifest: import("..").DefinedBlockManifest<{
3
+ import { type BlockContentShapeInput, type DefinedBlockManifest } from "../defineBlock";
4
+ declare const ctaFullConfig: {
4
5
  readonly id: "block.cta-full";
5
6
  readonly title: "Full-width CTA";
6
7
  readonly category: "marketing";
7
8
  readonly fragments: readonly [{
8
9
  readonly fragment: import("..").DefinedFragment<{
9
- readonly id: "ctaCopy";
10
- readonly title: "CTA Copy";
11
- readonly description: "Eyebrow, title, and supporting rich text for CTA layouts.";
12
10
  readonly fields: readonly [{
13
11
  readonly id: "eyebrow";
14
12
  readonly type: "text";
@@ -27,14 +25,10 @@ export declare const ctaFullManifest: import("..").DefinedBlockManifest<{
27
25
  readonly label: "Copy";
28
26
  readonly description: "Short paragraph of supporting copy.";
29
27
  }];
30
- readonly layout: readonly [import("..").NodeDefinition, import("..").NodeDefinition];
31
28
  }>;
32
29
  readonly fieldPriority: 0;
33
30
  }, {
34
31
  readonly fragment: import("..").DefinedFragment<{
35
- readonly id: "ctaRow";
36
- readonly title: "CTA Row";
37
- readonly description: "Repeatable calls to action rendered inline.";
38
32
  readonly fields: readonly [Omit<{
39
33
  id: string;
40
34
  label: string;
@@ -30760,7 +30754,6 @@ export declare const ctaFullManifest: import("..").DefinedBlockManifest<{
30760
30754
  }>];
30761
30755
  };
30762
30756
  }];
30763
- readonly layout: readonly [import("..").NodeDefinition];
30764
30757
  }>;
30765
30758
  readonly fieldPriority: 2;
30766
30759
  }];
@@ -30768,7 +30761,8 @@ export declare const ctaFullManifest: import("..").DefinedBlockManifest<{
30768
30761
  readonly description: "Centered call to action with optional background image.";
30769
30762
  readonly tags: readonly ["cta", "call-to-action", "button", "conversion", "action", "sign-up", "get-started"];
30770
30763
  readonly icon: "Target";
30771
- }>;
30764
+ };
30765
+ export declare const ctaFullManifest: DefinedBlockManifest<BlockContentShapeInput<typeof ctaFullConfig>>;
30772
30766
  export type CtaFullContent = {
30773
30767
  eyebrow?: string | null;
30774
30768
  title: string;
@@ -30780,3 +30774,4 @@ export type CtaFullContent = {
30780
30774
  }>;
30781
30775
  };
30782
30776
  export declare const ctaFullBlockDefinition: SystemBlockDefinition<CtaFullContent>;
30777
+ export {};
@@ -1,18 +1,7 @@
1
1
  import type { FieldDefinition } from "../manifest/schema";
2
2
  import type { SystemBlockDefinition } from "../registry";
3
3
  export declare const embedManifest: import("..").DefinedBlockManifest<{
4
- readonly id: "block.embed";
5
- readonly title: "Embed Content";
6
- readonly category: "content";
7
- readonly titleSource: "heading";
8
4
  readonly additionalFields: FieldDefinition[];
9
- readonly layout: import("..").NodeDefinition;
10
- readonly description: "Embed content entries from any content type. Sites provide custom layouts via block overrides.";
11
- readonly tags: readonly ["embed", "content", "dynamic", "collection", "entries", "listing"];
12
- readonly icon: "LayoutList";
13
- readonly styleTokens: {
14
- readonly spacing: "lg";
15
- };
16
5
  }>;
17
6
  export type EmbedContent = {
18
7
  heading?: string | null;
@@ -11,25 +11,6 @@ import type { SectionStylesContent } from "../fields/boxStyles";
11
11
  * Intended for use on event templates, but can also be placed on standalone pages.
12
12
  */
13
13
  export declare const eventDetailsManifest: import("..").DefinedBlockManifest<{
14
- readonly id: "block.event-details";
15
- readonly version: "1.0.0";
16
- readonly title: "Event Details";
17
- readonly titleSource: "heading";
18
- readonly description: "Date/time, venue, map, and other dates for an event";
19
- readonly category: "content";
20
- readonly tags: readonly ["events", "venue", "map", "schedule", "dates"];
21
- readonly icon: "MapPin";
22
- readonly styleTokens: {
23
- readonly background: "surface";
24
- readonly typography: "body";
25
- readonly spacing: "md";
26
- };
27
- readonly behaviours: {
28
- readonly supportsThemeSwitching: true;
29
- readonly inlineEditing: false;
30
- readonly animation: false;
31
- readonly paletteHidden: false;
32
- };
33
14
  readonly additionalFields: readonly [{
34
15
  readonly id: "heading";
35
16
  readonly type: "text";
@@ -117,7 +98,6 @@ export declare const eventDetailsManifest: import("..").DefinedBlockManifest<{
117
98
  readonly intent: "display";
118
99
  };
119
100
  }];
120
- readonly layout: readonly [import("..").NodeDefinition];
121
101
  }>;
122
102
  export type EventDetailsContent = {
123
103
  heading?: string | null;
@@ -21,25 +21,6 @@ import { eventRegistrationBlockRuntime } from "../runtime/nodes/event-registrati
21
21
  * - When standalone, shows full event + occurrence picker
22
22
  */
23
23
  export declare const eventRegistrationManifest: import("..").DefinedBlockManifest<{
24
- readonly id: "block.event-registration";
25
- readonly version: "1.0.0";
26
- readonly title: "Event Registration";
27
- readonly titleSource: "heading";
28
- readonly description: "Multi-step event registration form";
29
- readonly category: "interactive";
30
- readonly tags: readonly ["events", "registration", "booking", "form", "signup"];
31
- readonly icon: "ClipboardList";
32
- readonly styleTokens: {
33
- readonly background: "surface";
34
- readonly typography: "body";
35
- readonly spacing: "md";
36
- };
37
- readonly behaviours: {
38
- readonly supportsThemeSwitching: true;
39
- readonly inlineEditing: false;
40
- readonly animation: false;
41
- readonly paletteHidden: false;
42
- };
43
24
  readonly additionalFields: readonly [{
44
25
  readonly id: "heading";
45
26
  readonly type: "text";
@@ -141,7 +122,6 @@ export declare const eventRegistrationManifest: import("..").DefinedBlockManifes
141
122
  readonly intent: "style";
142
123
  };
143
124
  }];
144
- readonly layout: readonly [import("..").NodeDefinition];
145
125
  }>;
146
126
  export type EventRegistrationContent = {
147
127
  heading?: string | null;
@@ -1,39 +1,55 @@
1
- import type { EventCategoryId, VenueId } from "@riverbankcms/core";
2
- import type { SystemBlockDefinition } from "../../registry";
3
- import { type SectionStylesContent } from "../../fields/boxStyles";
4
- import { type BlockConfig, type DefinedBlockManifest } from "../../defineBlock";
5
- import type { DisplayMode, EventLayout, ColumnOption, WeekStart, FilterAutoShow, CalendarTabViews, ButtonVariant, EventBlockKind, EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from "./shared/types";
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
- * Event Calendar Block
10
- *
11
- * Displays events in multiple view modes with optional filtering.
12
- *
13
- * Display Modes:
14
- * - Combined (default): Tabbed view with List + Calendar tabs
15
- * - Month: Full month calendar grid
16
- * - Week: Week calendar view
17
- * - List: Chronological list with load-more pagination
18
- *
19
- * Features:
20
- * - Category, staff, and venue filtering (list views)
21
- * - Interactive calendar navigation (prev/next/today)
22
- * - Pre-fetches events for smooth navigation
23
- * - Configurable week start day
24
- * - Theme-aware styling
25
- */
26
- export declare const eventCalendarManifest: DefinedBlockManifest<BlockConfig>;
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?: "6" | "12" | "24" | null;
36
- compactEventsPerPage?: "10" | "20" | "30" | null;
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
- * Event Listing Block
8
- *
9
- * Displays a paginated list of events with a "load more" button.
10
- * Ideal for dedicated events pages showing all upcoming events.
11
- *
12
- * Features:
13
- * - Server-side initial load
14
- * - Client-side "load more" pagination
15
- * - Grid or stack layout
16
- * - Configurable initial load and page sizes
17
- * - Theme-aware card and button styling
18
- */
19
- export declare const eventListingManifest: DefinedBlockManifest<BlockConfig>;
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;