@riverbankcms/sdk 0.155.0 → 0.156.0
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/{PreviewEditorSidebar-CbSbqmz3.mjs → PreviewEditorSidebar-B4ESNPzL.mjs} +3 -3
- package/dist/{PreviewEditorUI-CKKnAw11.mjs → PreviewEditorUI-BdUVaGOh.mjs} +3 -3
- package/dist/{SdkPreviewModeRuntime-wLkXrWy9.mjs → SdkPreviewModeRuntime-C4V3BvxK.mjs} +1122 -1079
- package/dist/{SiteChromeCustomizeContext-BQ8vvKb-.mjs → SiteChromeCustomizeContext-3gmd26Mn.mjs} +1019 -517
- package/dist/_dts/ai/src/contracts/proposals.d.ts +624 -624
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +856 -856
- package/dist/_dts/api/src/accountApi.d.ts +5 -5
- package/dist/_dts/api/src/aiPlayground.d.ts +2 -2
- package/dist/_dts/api/src/bookingRecords.d.ts +2 -22
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +5 -2
- package/dist/_dts/api/src/footerCompositionContracts.d.ts +1 -1
- package/dist/_dts/api/src/navigation/linkValue.d.ts +1 -1
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/public/types.d.ts +2 -1
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +3 -3
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/sdkBlockContentAdmission.d.ts +1 -1
- package/dist/_dts/api/src/sdkConfig/contracts.d.ts +2 -1
- package/dist/_dts/api/src/sdkContracts.d.ts +2 -1
- package/dist/_dts/api/src/sdkPageDesign.d.ts +9 -9
- package/dist/_dts/api/src/sdkThemeWire.d.ts +182 -182
- package/dist/_dts/api/src/siteOnboarding.d.ts +1 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +3 -1
- package/dist/_dts/api/src/siteSettings.d.ts +2 -2
- package/dist/_dts/api/src/teamMembers.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useLayoutGridMoveAnimation.d.ts +13 -0
- package/dist/_dts/blocks/src/client/portal.d.ts +5 -0
- package/dist/_dts/blocks/src/contracts/event-registration.d.ts +141 -0
- package/dist/_dts/blocks/src/contracts/events.d.ts +21 -0
- package/dist/_dts/blocks/src/contracts/footer.d.ts +130 -0
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/site-chrome.d.ts +10 -0
- package/dist/_dts/blocks/src/customer-portal/client.d.ts +62 -0
- package/dist/_dts/blocks/src/customer-portal/components/PortalLoginForm.d.ts +16 -0
- package/dist/_dts/blocks/src/customer-portal/components/badge.d.ts +6 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/AppointmentBeforeYouComeTask.d.ts +29 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/BookingsSection.d.ts +22 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/BookingsTable.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventRow.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventSeriesRegistrationRow.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/EventSeriesRegistrationTableRow.d.ts +22 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/PortalAppointmentRescheduleFlow.d.ts +7 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/ScalarQuestionInput.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/WaitlistCard.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/WaitlistsSection.d.ts +19 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/bookingsTypes.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/eventGuestDrafts.d.ts +6 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/eventSeriesRegistrationPresentation.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/usePortalCancelFlow.d.ts +36 -0
- package/dist/_dts/blocks/src/customer-portal/components/bookings/usePortalCancelFlow.state.d.ts +43 -0
- package/dist/_dts/blocks/src/customer-portal/components/orders/OrdersSection.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/orders/orderInteraction.d.ts +63 -0
- package/dist/_dts/blocks/src/customer-portal/components/portal-modal.d.ts +8 -0
- package/dist/_dts/blocks/src/customer-portal/components/portalDeepLink.d.ts +19 -0
- package/dist/_dts/blocks/src/customer-portal/components/useMembershipCancelFlow.d.ts +13 -0
- package/dist/_dts/blocks/src/customer-portal/components/useMembershipCancelFlow.state.d.ts +32 -0
- package/dist/_dts/blocks/src/customer-portal/pages/AccessState.d.ts +11 -0
- package/dist/_dts/blocks/src/customer-portal/pages/DigitalProductView.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/pages/PageChrome.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/pages/PrintButton.d.ts +1 -0
- package/dist/_dts/blocks/src/customer-portal/pages/TicketCode.d.ts +3 -0
- package/dist/_dts/blocks/src/customer-portal/pages/TicketView.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/route-client.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/shared/bookingRoute.d.ts +9 -0
- package/dist/_dts/blocks/src/customer-portal/shared/checkoutUrls.d.ts +4 -0
- package/dist/_dts/blocks/src/customer-portal/shared/signedUrlUpload.d.ts +1 -0
- package/dist/_dts/blocks/src/customer-portal/shared/urlParams.d.ts +30 -0
- package/dist/_dts/blocks/src/customer-portal/state.d.ts +196 -0
- package/dist/_dts/blocks/src/customer-portal/tabs.d.ts +17 -0
- package/dist/_dts/blocks/src/portal/dateFormatting.d.ts +13 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +7 -14
- package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +1 -25
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +1 -141
- package/dist/_dts/blocks/src/system/blocks/events/eventSelectionFields.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +135 -135
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +3 -129
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +2 -5
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +2 -5
- package/dist/_dts/blocks/src/system/constants/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +82 -82
- package/dist/_dts/blocks/src/system/node/fragments/lookSlot.d.ts +2 -2
- package/dist/_dts/blocks/src/system/node/schema.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +21 -2
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +87 -3
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/schemas/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +16 -27
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableDates.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/hooks/useAvailableSlots.d.ts +2 -5
- package/dist/_dts/blocks/src/system/runtime/lookSurfaces.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/lookPresentation.d.ts +9 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/presentation.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +18 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/form.interactive.d.ts +2 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/form.types.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/AppointmentRescheduleSlotOptions.d.ts +11 -0
- package/dist/_dts/blocks/src/system/runtime/shared/useAppointmentRescheduleFlow.d.ts +73 -0
- package/dist/_dts/blocks/src/system/runtime/shared/useAppointmentRescheduleFlow.state.d.ts +62 -0
- package/dist/_dts/blocks/src/system/runtime/shared/utils/demoPortalMagicLink.d.ts +1 -4
- package/dist/_dts/commerce/src/moneyDateUtils.d.ts +7 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +5 -1
- package/dist/_dts/core/src/date-display.d.ts +4 -0
- package/dist/_dts/core/src/navigation-portal-labels.d.ts +1 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +13 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/PreviewEditingModeProvider.d.ts +7 -0
- package/dist/_dts/sdk/src/bookings/types.d.ts +0 -1
- package/dist/_dts/sdk/src/next/index.d.ts +1 -0
- package/dist/_dts/sdk/src/next/portal.d.ts +41 -0
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +4 -9
- package/dist/_dts/sdk/src/next/types.d.ts +8 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -0
- package/dist/_dts/sdk/src/portal/index.d.ts +4 -36
- package/dist/_dts/sdk/src/portal/token.d.ts +4 -20
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +4 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -28
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/buttons/types.d.ts +41 -41
- package/dist/_dts/theme-core/src/buttons/typography.d.ts +2 -2
- package/dist/_dts/theme-core/src/cards/types.d.ts +34 -34
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/containerSchema.d.ts +2 -2
- package/dist/_dts/theme-core/src/hosted-booking-appearance.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +255 -255
- package/dist/_dts/theme-core/src/navigation/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/schema.d.ts +294 -294
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/compileFooterAgainstRow.d.ts +7 -7
- package/dist/_dts/theme-core/src/site-styles/headerPreferencesPersistence.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntent.d.ts +12 -12
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +2 -2
- package/dist/_dts/theme-core/src/typography/schema.d.ts +27 -27
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/surface.d.ts +2 -2
- package/dist/_dts/ui/src/toggle.d.ts +2 -2
- package/dist/client/{BookingMailingListNote-CiW1dsz7.mjs → BookingMailingListNote-B9mP3Io9.mjs} +2 -2
- package/dist/client/{CardListItem-DVYTlYpS.mjs → CardListItem-D5rL2wPv.mjs} +3 -3
- package/dist/client/{CheckboxChoice-CUnPrBlC.mjs → CheckboxChoice-Bz6wLaBl.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DEsn5F2C.mjs → DemoBookingPortalAccess-7BPVzfLU.mjs} +6 -10
- package/dist/client/{EventCombined.client-BdctbwnV.mjs → EventCombined.client-DZH5qHJl.mjs} +5 -5
- package/dist/client/{EventEmbeddedCheckoutStep-DAhQs6Jb.mjs → EventEmbeddedCheckoutStep-CV31Qvn2.mjs} +2 -2
- package/dist/client/{EventListing.client-BviZXfAE.mjs → EventListing.client-C19sjRGF.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BLTECfjU.mjs → LeafletStaticMap-DjUjYdzQ.mjs} +1 -1
- package/dist/client/{RichText-D3oE1_pw.mjs → RichText-DkKcVZwr.mjs} +2 -2
- package/dist/client/{ThemedButton-Ckj0Rfr_.mjs → ThemedButton-CTgpAXfL.mjs} +1 -1
- package/dist/client/{accordion-yBx6d4O2.mjs → accordion-R2-q5wo-.mjs} +1 -1
- package/dist/client/{bookingForm-CPDEsQci.mjs → bookingForm-VSU8nIdO.mjs} +12 -16
- package/dist/client/bookings.mjs +352 -64
- package/dist/client/{carousel-DCqjwd2s.mjs → carousel-BjPlY4ee.mjs} +2 -2
- package/dist/client/{carousel.client-Bx7XMF8-.mjs → carousel.client-Tnwvm0l1.mjs} +1 -1
- package/dist/client/{cart-DWJXrQxs.mjs → cart-DAPYTOP7.mjs} +3 -3
- package/dist/client/{checkout-CH4ypSLS.mjs → checkout-DGJTx4vB.mjs} +3 -3
- package/dist/client/client.mjs +61275 -61217
- package/dist/client/{context-BOs0m_iw.mjs → context-ByZBoKdq.mjs} +92 -209
- package/dist/client/{eventCalendar-CRylMllc.mjs → eventCalendar-CP5Z7iME.mjs} +8 -8
- package/dist/client/{eventCombined-DohTS3kp.mjs → eventCombined-D8nbUyxu.mjs} +4 -4
- package/dist/client/{eventDetails-qf-u9zcF.mjs → eventDetails-Bknq8k7E.mjs} +46 -44
- package/dist/client/{eventListing-Cg__X2vy.mjs → eventListing-BwMnPteX.mjs} +4 -4
- package/dist/client/{eventRegistration-CybWxswy.mjs → eventRegistration-COFk1mjw.mjs} +11 -11
- package/dist/client/{form-C-SGk6nq.mjs → form-BiWLd_me.mjs} +5 -5
- package/dist/client/{headerSection-BdzPaHqo.mjs → headerSection-BptDP4xF.mjs} +3 -3
- package/dist/client/hooks.mjs +22850 -22861
- package/dist/client/{locationMap-CEwIKmMb.mjs → locationMap-B-kPoqcK.mjs} +3 -3
- package/dist/client/{media-V_ShXXru.mjs → media-FjqQK4qS.mjs} +68 -1
- package/dist/client/{newsletterForm-CmwTltoS.mjs → newsletterForm-s_B8fCtT.mjs} +4 -4
- package/dist/client/portal/client.mjs +17419 -0
- package/dist/client/{productDetail-DjIzUwg3.mjs → productDetail-CS3GZMPi.mjs} +3 -3
- package/dist/client/{productList-D6JGFnMF.mjs → productList-Csc3WJDs.mjs} +3 -3
- package/dist/client/{propsDecoder-BRKz13eg.mjs → propsDecoder-Dn68GoQZ.mjs} +502 -2705
- package/dist/client/rendering/client.mjs +3303 -3612
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +46273 -46220
- package/dist/client/{routeIslandApiConfig-slAAILQ5.mjs → routeIslandApiConfig-DeBuevOO.mjs} +1 -1
- package/dist/client/{shop-C45K96_0.mjs → shop-B5EQbeUX.mjs} +7 -7
- package/dist/client/{shop-commerce-oGBiKT5d.mjs → shop-commerce-DYs7PdNL.mjs} +8 -8
- package/dist/client/{shop-commerce-store-H_HFPFZ8.mjs → shop-commerce-store-B2-DIPbg.mjs} +1 -1
- package/dist/client/{shopShared-D54T_LAV.mjs → shopShared-CE302Pfy.mjs} +4 -4
- package/dist/client/{useDiscountCodeUi-Dm2EUa03.mjs → useDiscountCodeUi-BZ02FBrV.mjs} +1 -1
- package/dist/client/{useEventPagination-0l_A8CxG.mjs → useEventPagination-VudQWKtG.mjs} +116 -6
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-CjTM32Ah.mjs → sdk-runtime-C8Qh6r51.mjs} +1 -1
- package/dist/server/components.mjs +927 -262
- package/dist/server/config-template-validation.mjs +5 -3
- package/dist/server/config-validation.mjs +35200 -35211
- package/dist/server/config.mjs +35200 -35211
- package/dist/server/data.mjs +32783 -32794
- package/dist/server/date-time.mjs +14 -7
- package/dist/server/index.mjs +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +71470 -70677
- package/dist/server/page-converter.mjs +202 -213
- package/dist/server/portal.mjs +5 -51
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1180 -722
- package/dist/server/rendering.mjs +922 -262
- package/dist/server/routing.mjs +39382 -41704
- package/dist/server/server.mjs +203 -214
- package/dist/server/theme-bridge.mjs +262 -2
- package/dist/{spinner-KVVZh8jd.mjs → spinner-Bi68Z_0o.mjs} +1 -1
- package/dist/styles/index.css +258 -2
- package/package.json +9 -1
- package/dist/_dts/sdk/src/portal/config.d.ts +0 -67
|
@@ -17,9 +17,9 @@ declare const listSitesResponseSchema: z.ZodObject<{
|
|
|
17
17
|
slug: z.ZodString;
|
|
18
18
|
createdAt: z.ZodNullable<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
19
19
|
role: z.ZodEnum<{
|
|
20
|
-
editor: "editor";
|
|
21
20
|
owner: "owner";
|
|
22
21
|
administrator: "administrator";
|
|
22
|
+
editor: "editor";
|
|
23
23
|
team_member: "team_member";
|
|
24
24
|
}>;
|
|
25
25
|
deploymentMode: z.ZodLiteral<"managed">;
|
|
@@ -33,9 +33,9 @@ declare const listSitesResponseSchema: z.ZodObject<{
|
|
|
33
33
|
slug: z.ZodString;
|
|
34
34
|
createdAt: z.ZodNullable<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
35
35
|
role: z.ZodEnum<{
|
|
36
|
-
editor: "editor";
|
|
37
36
|
owner: "owner";
|
|
38
37
|
administrator: "administrator";
|
|
38
|
+
editor: "editor";
|
|
39
39
|
team_member: "team_member";
|
|
40
40
|
}>;
|
|
41
41
|
deploymentMode: z.ZodLiteral<"headless_cms">;
|
|
@@ -44,9 +44,9 @@ declare const listSitesResponseSchema: z.ZodObject<{
|
|
|
44
44
|
}, z.core.$strip>, z.ZodObject<{
|
|
45
45
|
tag: z.ZodLiteral<"insufficient_role">;
|
|
46
46
|
requiredRole: z.ZodEnum<{
|
|
47
|
-
editor: "editor";
|
|
48
47
|
owner: "owner";
|
|
49
48
|
administrator: "administrator";
|
|
49
|
+
editor: "editor";
|
|
50
50
|
team_member: "team_member";
|
|
51
51
|
}>;
|
|
52
52
|
}, z.core.$strip>], "tag">;
|
|
@@ -56,9 +56,9 @@ declare const listSitesResponseSchema: z.ZodObject<{
|
|
|
56
56
|
slug: z.ZodString;
|
|
57
57
|
createdAt: z.ZodNullable<z.ZodString & z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>>;
|
|
58
58
|
role: z.ZodEnum<{
|
|
59
|
-
editor: "editor";
|
|
60
59
|
owner: "owner";
|
|
61
60
|
administrator: "administrator";
|
|
61
|
+
editor: "editor";
|
|
62
62
|
team_member: "team_member";
|
|
63
63
|
}>;
|
|
64
64
|
deploymentMode: z.ZodLiteral<"headless_full">;
|
|
@@ -67,9 +67,9 @@ declare const listSitesResponseSchema: z.ZodObject<{
|
|
|
67
67
|
}, z.core.$strip>, z.ZodObject<{
|
|
68
68
|
tag: z.ZodLiteral<"insufficient_role">;
|
|
69
69
|
requiredRole: z.ZodEnum<{
|
|
70
|
-
editor: "editor";
|
|
71
70
|
owner: "owner";
|
|
72
71
|
administrator: "administrator";
|
|
72
|
+
editor: "editor";
|
|
73
73
|
team_member: "team_member";
|
|
74
74
|
}>;
|
|
75
75
|
}, z.core.$strip>], "tag">;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import type { AddBlockPageCommandBackedSchema, DuplicateBlockPageCommandBackedSchema, MoveBlockPageCommandBackedSchema, ReorderBlocksPageCommandBackedSchema, SwapBlocksPageCommandBackedSchema } from '../../ai/src/contracts';
|
|
3
|
-
import type { SdkCustomBlock } from '../../blocks/src/
|
|
4
|
-
import type { CustomCssAtRuleInput, CustomCssRuleInput } from '../../theme-core/src/index';
|
|
3
|
+
import type { SdkCustomBlock } from '../../blocks/src/system/manifest/schema';
|
|
4
|
+
import type { CustomCssAtRuleInput, CustomCssRuleInput } from '../../theme-core/src/customCss/index';
|
|
5
5
|
import type { JsonValue } from './shared-contracts';
|
|
6
6
|
type ReorderBlocksPageCommandBacked = z.infer<typeof ReorderBlocksPageCommandBackedSchema>;
|
|
7
7
|
type MoveBlockPageCommandBacked = z.infer<typeof MoveBlockPageCommandBackedSchema>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
export type { EventAutoApplyDiscountPreview } from '../../blocks/src/contracts/events';
|
|
1
2
|
import type { StaffBookingPersonInput } from './bookingPeople';
|
|
2
3
|
import type { BookingFlexibleBalanceContractStatus, PersonRecordNoteKind } from '../../core/src/index';
|
|
3
|
-
import type { RichTextDoc } from '../../
|
|
4
|
+
import type { RichTextDoc } from '../../core/src/index';
|
|
4
5
|
import type { EventTicketBreakdownLine } from './bookingOperations';
|
|
5
6
|
/**
|
|
6
7
|
* Booking Record Contracts
|
|
@@ -954,27 +955,6 @@ export type AutoAppliedDiscountPreview = {
|
|
|
954
955
|
discountAmountCents: number | null;
|
|
955
956
|
computedAmountCents: number;
|
|
956
957
|
};
|
|
957
|
-
/**
|
|
958
|
-
* Auto-apply discount preview surfaced on event display pages. Structurally
|
|
959
|
-
* mirrored by `@riverbankcms/blocks` (`system/blocks/event-details.ts`) so the
|
|
960
|
-
* blocks package can avoid depending on this one; the guardrail lives in
|
|
961
|
-
* `./eventAutoApplyDiscountPreview.typetest.ts`. Keep both in sync.
|
|
962
|
-
*/
|
|
963
|
-
type EventAutoApplyDiscountPreviewBase = {
|
|
964
|
-
id: string;
|
|
965
|
-
publicLabel: string;
|
|
966
|
-
description: string | null;
|
|
967
|
-
minTicketsRequired: number | null;
|
|
968
|
-
};
|
|
969
|
-
export type EventAutoApplyDiscountPreview = (EventAutoApplyDiscountPreviewBase & {
|
|
970
|
-
discountType: 'percent';
|
|
971
|
-
discountPercent: number;
|
|
972
|
-
discountAmountCents: null;
|
|
973
|
-
}) | (EventAutoApplyDiscountPreviewBase & {
|
|
974
|
-
discountType: 'fixed';
|
|
975
|
-
discountPercent: null;
|
|
976
|
-
discountAmountCents: number;
|
|
977
|
-
});
|
|
978
958
|
export type DeleteDiscountCodeResponse = {
|
|
979
959
|
success: boolean;
|
|
980
960
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DemoClaimReadiness } from '../../core/src/index';
|
|
2
|
-
import type { AppointmentBookingQuestionsTaskDetail, CustomerEventSeriesRegistration, CustomerEventRegistration, CustomerPortalWaitlistEntry, CustomerMembership, CustomerOrder, CustomerPass, EventGuest, MagicLinkRequest, MagicLinkResponse, PortalCancelWholeSeriesRegistrationRequest, PortalCancelWholeSeriesRegistrationResult, PortalCancelAppointmentRequest, PortalCancelAppointmentResult, PortalCancelEventRegistrationRequest, PortalCancelEventRegistrationResult, PortalCancelMembershipAtPeriodEndResult, PortalRescheduleAppointmentRequest, PortalRescheduleAppointmentResponse, PortalCreditResponse, PortalDigitalProductAccessResponse, PortalDigitalProductDownloadUrlResponse, PortalDigitalProductsResponse, PortalEventTicket, PortalWholeSeriesBookingQuestionsResponse, PortalEventBookingQuestionsResponse, PortalMeResponse, PortalMeUpdateRequest, PortalOrderCheckoutRequest, PortalOrderCheckoutResponse, PortalUpdateWholeSeriesBookingQuestionsRequest, PortalUpdateWholeSeriesBookingQuestionsResponse, PortalUpdateEventBookingQuestionsRequest, PortalUpdateEventBookingQuestionsResponse, PortalTransferEventRegistrationRequest, PortalTransferEventRegistrationResult, UpdateEventGuestsRequest } from '../../blocks/src/api';
|
|
2
|
+
import type { AppointmentBookingQuestionsTaskDetail, CustomerEventSeriesRegistration, CustomerEventRegistration, CustomerPortalWaitlistEntry, CustomerMembership, CustomerOrder, CustomerPass, EventGuest, MagicLinkRequest, MagicLinkResponse, PortalCancelWholeSeriesRegistrationRequest, PortalCancelWholeSeriesRegistrationResult, PortalCancelAppointmentRequest, PortalCancelAppointmentResult, PortalCancelEventRegistrationRequest, PortalCancelEventRegistrationResult, PortalCancelMembershipAtPeriodEndResult, PortalRescheduleAppointmentRequest, PortalRescheduleAppointmentResponse, PortalCreditResponse, PortalDigitalProductAccessResponse, PortalDigitalProductDownloadUrlResponse, PortalDigitalProductsResponse, PortalEventTicket, PortalWholeSeriesBookingQuestionsResponse, PortalEventBookingQuestionsResponse, PortalMeResponse, PortalMeUpdateRequest, PortalOrderCheckoutRequest, PortalOrderCheckoutResponse, PortalUpdateWholeSeriesBookingQuestionsRequest, PortalUpdateWholeSeriesBookingQuestionsResponse, PortalUpdateEventBookingQuestionsRequest, PortalUpdateEventBookingQuestionsResponse, PortalTransferEventRegistrationRequest, PortalTransferEventRegistrationResult, UpdateEventGuestsRequest } from '../../blocks/src/system/runtime/api/types/portal';
|
|
3
3
|
import type { APIEndpoint } from './apiEndpointTypes';
|
|
4
4
|
import type { DeleteAccountRequest, DeleteAccountResponse } from './accessAdmin';
|
|
5
5
|
import type { AiPlaygroundApplyRequest, AiPlaygroundApplyResponse } from './aiPlayground';
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { DocumentBlockState } from './documentLifecycle';
|
|
2
2
|
export type { DocumentBlockState, DocumentBlockBaseline, DiscardPageSurfaceResponse, PublishPageSurfaceResponse } from './documentLifecycle';
|
|
3
|
-
import type { Block
|
|
3
|
+
import type { Block } from '../../blocks/src/structure/schema';
|
|
4
|
+
import type { SdkCustomBlock, SdkCustomBlockInput } from '../../blocks/src/system/manifest/schema';
|
|
5
|
+
import type { SiteFont } from '../../theme-core/src/fonts/index';
|
|
6
|
+
import type { Theme } from '../../theme-core/src/schema';
|
|
4
7
|
import type { CamelizeKeys, DbRow } from '../../db/src/index';
|
|
5
8
|
import type { ContentTypeRoutingInfo, PublicContentTypeMeta } from './contentTypes';
|
|
6
9
|
import type { SiteRuntimePrivacyPolicy } from './privacyPolicy';
|
|
@@ -365,7 +368,7 @@ export type SiteBySlugResponse = {
|
|
|
365
368
|
} | null;
|
|
366
369
|
theme: Theme | null;
|
|
367
370
|
/** Hosted-only; website payload bytes stay unchanged. */
|
|
368
|
-
hostedBookingAppearance?: import('../../theme-core/src/
|
|
371
|
+
hostedBookingAppearance?: import('../../theme-core/src/hosted-booking-appearance').HostedBookingAppearance;
|
|
369
372
|
themeId?: string | null;
|
|
370
373
|
selectionId?: string | null;
|
|
371
374
|
selectionVersion?: number | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FooterAttribution } from '../../blocks/src/
|
|
1
|
+
import type { FooterAttribution } from '../../blocks/src/contracts/footer';
|
|
2
2
|
import type { FooterCompositionV1, MailingListProviderScope } from '../../core/src/index';
|
|
3
3
|
export type FooterCompositionSnapshot = Readonly<{
|
|
4
4
|
kind: 'ready';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Bidirectional conversion between block-level LinkValue (used in the editor)
|
|
5
5
|
* and LinkPayload (used in the database and API layer).
|
|
6
6
|
*/
|
|
7
|
-
import { type CustomLinkValue, type EntryLinkValue, type ExternalLinkValue, type InternalResolvedLinkValue, type LinkValue, type PageLinkValue } from '../../../blocks/src/
|
|
7
|
+
import { type CustomLinkValue, type EntryLinkValue, type ExternalLinkValue, type InternalResolvedLinkValue, type LinkValue, type PageLinkValue } from '../../../blocks/src/system/types/link';
|
|
8
8
|
import type { LinkPayload, RoutableContentItem } from './types';
|
|
9
9
|
export type PersistableNavigationLinkValue = InternalResolvedLinkValue | ExternalLinkValue | CustomLinkValue | PageLinkValue | EntryLinkValue;
|
|
10
10
|
export type PersistableNavigationLinkError = {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* matcher, and dashboard management layers.
|
|
7
7
|
*/
|
|
8
8
|
import type { DbRow } from '../../../db/src/index';
|
|
9
|
-
import type { ResolvedInternalLinkEntityType } from '../../../blocks/src/
|
|
9
|
+
import type { ResolvedInternalLinkEntityType } from '../../../blocks/src/system/types/link';
|
|
10
10
|
export type InternalLinkRoutablePayload = {
|
|
11
11
|
kind: 'internal';
|
|
12
12
|
routeId: string;
|
|
@@ -10,5 +10,6 @@
|
|
|
10
10
|
export type { HTTPMethod, ApiResponseKind, ApiAuthRequirement, APIEndpointBase, ContentEntryStatus, ContentEntryListStage, } from '../common/types';
|
|
11
11
|
export type { APICallParamsStrict, APIEndpoints } from '../types';
|
|
12
12
|
export type { SiteBySlugResponse, ContentTypeRoutingInfo, ContentTypeRoutingSubroute, NavigationMenuWithItems, NavigationMenuRecord, NavigationItemRecord, SiteLayoutResolvedPayload, SiteLayoutSettingsPayload, RiverbankSiteConfig, SdkThemeConfig, SdkThemePalette, SdkSiteStyleConfig, SdkSectionBackground, SdkSectionOptionsConfig, SdkContainerOptionsConfig, SdkBlockFieldConfig, SdkBlockFieldOptionsMap, SdkFieldSelectOption, ContentEntryListItem, ListPublishedEntriesResponse, PublishedContentEntryPreview, PublishedContentEntryPreviewResponse, PublishedPostPreview, PublishedPostPreviewResponse, FormRecord, PageRecord, PageRouteRecord, ContentRouteRecord, ContentEntryRecord, } from '../types';
|
|
13
|
-
export type { Theme
|
|
13
|
+
export type { Theme } from '../../../theme-core/src/schema';
|
|
14
|
+
export type { SdkCustomBlock } from '../../../blocks/src/system/manifest/schema';
|
|
14
15
|
export type * from '../siteTerms';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Merged into `PublicExperienceAPIEndpoints` by `../publicExperienceEndpoints`.
|
|
5
5
|
*/
|
|
6
6
|
import type { APIEndpoint } from '../apiEndpointTypes';
|
|
7
|
-
import type { PublicMembershipProduct, PublicPassProduct } from '../../../blocks/src/
|
|
7
|
+
import type { PublicMembershipProduct, PublicPassProduct } from '../../../blocks/src/system/blocks/shop.shared';
|
|
8
8
|
import type { PublicProduct } from '../../../blocks/src/system/blocks/products/shared';
|
|
9
9
|
import type { DiscountsAvailableResponse, PublicDiscountContext } from './sharedTypes';
|
|
10
10
|
export type PublicCommerceAPIEndpoints = {
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Merged into `PublicExperienceAPIEndpoints` by `../publicExperienceEndpoints`.
|
|
5
5
|
*/
|
|
6
|
-
import type { EventRegistrationOptionsRequest, EventRegistrationOptionsResponse } from '../../../blocks/src/
|
|
6
|
+
import type { EventRegistrationOptionsRequest, EventRegistrationOptionsResponse } from '../../../blocks/src/contracts/event-registration';
|
|
7
7
|
import type { PublicWaitlistClaimResponse } from '../../../commerce/src/index';
|
|
8
8
|
import type { APIEndpoint } from '../apiEndpointTypes';
|
|
9
9
|
import type { PublicEventLoaderParams } from './sharedTypes';
|
|
10
|
-
import type { EventRegisterResponse as EventRegistrationOutcome, EventRegisterRequest, EventCheckoutRequest, EventCheckoutResponse, EventCheckoutReturnRequest, EventCheckoutReturnResponse, EventRegistrationNextStepRequest, EventRegistrationNextStepResponse } from '../../../blocks/src/system/runtime/api/types';
|
|
10
|
+
import type { EventRegisterResponse as EventRegistrationOutcome, EventRegisterRequest, EventCheckoutRequest, EventCheckoutResponse, EventCheckoutReturnRequest, EventCheckoutReturnResponse, EventRegistrationNextStepRequest, EventRegistrationNextStepResponse } from '../../../blocks/src/system/runtime/api/types/events';
|
|
11
11
|
/**
|
|
12
12
|
* The canonical public Event record.
|
|
13
13
|
*
|
|
@@ -16,7 +16,7 @@ import type { EventRegisterResponse as EventRegistrationOutcome, EventRegisterRe
|
|
|
16
16
|
* it: the dashboard projection and every block consumer import these names.
|
|
17
17
|
*/
|
|
18
18
|
export type { PublicEvent, PublicEventBase, PublicRunSession, PublicWholeSeriesRun, PublicWholeSeriesRunLifecycle, PublicWholeSeriesRunVisibility, } from '../../../blocks/src/system/blocks/events/shared/types';
|
|
19
|
-
import type { CalendarWindowPage, CalendarWindowRequest } from '../../../blocks/src/
|
|
19
|
+
import type { CalendarWindowPage, CalendarWindowRequest } from '../../../blocks/src/system/blocks/events/shared/calendarWindow';
|
|
20
20
|
import type { PublicEvent } from '../../../blocks/src/system/blocks/events/shared/types';
|
|
21
21
|
export type PublicEventAPIEndpoints = {
|
|
22
22
|
listPublicEventCalendarWindow: APIEndpoint<never, {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Merged into `PublicExperienceAPIEndpoints` by `../publicExperienceEndpoints`.
|
|
5
5
|
*/
|
|
6
6
|
import type { APIEndpoint } from '../apiEndpointTypes';
|
|
7
|
-
import type { CalendarWindowRequest } from '../../../blocks/src/
|
|
7
|
+
import type { CalendarWindowRequest } from '../../../blocks/src/system/blocks/events/shared/calendarWindow';
|
|
8
8
|
import type { PublicTeamMemberBlockItem } from '../teamMembers';
|
|
9
9
|
import type { GeneratedIconRenderAssetsRequest, GeneratedIconRenderAssetsResponse } from '../siteIcons';
|
|
10
10
|
import type { PublicEventDetailsLoaderParams, PublicEventLoaderParams } from './sharedTypes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PageBlockRenderAdmissionError } from '../../blocks/src/
|
|
1
|
+
import type { PageBlockRenderAdmissionError } from '../../blocks/src/pageRenderAdmission';
|
|
2
2
|
export type SdkBlockContentAdmission = Readonly<{
|
|
3
3
|
kind: 'invalid';
|
|
4
4
|
error: PageBlockRenderAdmissionError;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { type
|
|
2
|
+
import { type NodeDefinition } from '../../../blocks/src/system/node/schema';
|
|
3
|
+
import { type FieldDefinitionInput, type SdkCustomBlockInput } from '../../../blocks/src/system/manifest/schema';
|
|
3
4
|
import type { RiverbankSiteConfigInput, SdkBlockFieldExtensionInput, SdkBlockFieldExtensionsInputMap } from '../sdkContracts';
|
|
4
5
|
import type { APIEndpoints } from '../types';
|
|
5
6
|
export declare const dashboardNavVisibilityBaseSchema: z.ZodObject<{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { SdkSiteLayoutConfig } from './sdkConfig/layout';
|
|
2
2
|
export type { SdkSiteLayoutConfig } from './sdkConfig/layout';
|
|
3
|
-
import type { BlockContentSource, BlockContentSourceKind, FieldDefinition, FieldDefinitionInput, SdkCustomBlock, SdkCustomBlockInput
|
|
3
|
+
import type { BlockContentSource, BlockContentSourceKind, FieldDefinition, FieldDefinitionInput, SdkCustomBlock, SdkCustomBlockInput } from '../../blocks/src/system/manifest/schema';
|
|
4
|
+
import type { Theme } from '../../theme-core/src/schema';
|
|
4
5
|
import type { ContentTypeSchema } from '../../content-model/src/index';
|
|
5
6
|
import type { FooterCompositionV1, RichTextDoc } from '../../core/src/index';
|
|
6
7
|
export type { SdkBlockAppearanceChoice, SdkBlockAppearanceOutcome, } from './sdkBlockUpsertContracts';
|
|
@@ -117,8 +117,8 @@ export declare const portablePageDesignSchema: z.ZodObject<{
|
|
|
117
117
|
expansive: "expansive";
|
|
118
118
|
}>;
|
|
119
119
|
curve: z.ZodEnum<{
|
|
120
|
-
spacious: "spacious";
|
|
121
120
|
soft: "soft";
|
|
121
|
+
spacious: "spacious";
|
|
122
122
|
expansive: "expansive";
|
|
123
123
|
}>;
|
|
124
124
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -130,8 +130,8 @@ export declare const portablePageDesignSchema: z.ZodObject<{
|
|
|
130
130
|
}>;
|
|
131
131
|
amplitude: z.ZodEnum<{
|
|
132
132
|
bold: "bold";
|
|
133
|
-
balanced: "balanced";
|
|
134
133
|
subtle: "subtle";
|
|
134
|
+
balanced: "balanced";
|
|
135
135
|
}>;
|
|
136
136
|
rhythm: z.ZodEnum<{
|
|
137
137
|
single: "single";
|
|
@@ -150,8 +150,8 @@ export declare const portablePageDesignSchema: z.ZodObject<{
|
|
|
150
150
|
large: "large";
|
|
151
151
|
}>;
|
|
152
152
|
slope: z.ZodEnum<{
|
|
153
|
-
balanced: "balanced";
|
|
154
153
|
subtle: "subtle";
|
|
154
|
+
balanced: "balanced";
|
|
155
155
|
steep: "steep";
|
|
156
156
|
}>;
|
|
157
157
|
direction: z.ZodEnum<{
|
|
@@ -205,8 +205,8 @@ export declare const sdkSavePageDesignBodySchema: z.ZodObject<{
|
|
|
205
205
|
expansive: "expansive";
|
|
206
206
|
}>;
|
|
207
207
|
curve: z.ZodEnum<{
|
|
208
|
-
spacious: "spacious";
|
|
209
208
|
soft: "soft";
|
|
209
|
+
spacious: "spacious";
|
|
210
210
|
expansive: "expansive";
|
|
211
211
|
}>;
|
|
212
212
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -218,8 +218,8 @@ export declare const sdkSavePageDesignBodySchema: z.ZodObject<{
|
|
|
218
218
|
}>;
|
|
219
219
|
amplitude: z.ZodEnum<{
|
|
220
220
|
bold: "bold";
|
|
221
|
-
balanced: "balanced";
|
|
222
221
|
subtle: "subtle";
|
|
222
|
+
balanced: "balanced";
|
|
223
223
|
}>;
|
|
224
224
|
rhythm: z.ZodEnum<{
|
|
225
225
|
single: "single";
|
|
@@ -238,8 +238,8 @@ export declare const sdkSavePageDesignBodySchema: z.ZodObject<{
|
|
|
238
238
|
large: "large";
|
|
239
239
|
}>;
|
|
240
240
|
slope: z.ZodEnum<{
|
|
241
|
-
balanced: "balanced";
|
|
242
241
|
subtle: "subtle";
|
|
242
|
+
balanced: "balanced";
|
|
243
243
|
steep: "steep";
|
|
244
244
|
}>;
|
|
245
245
|
direction: z.ZodEnum<{
|
|
@@ -301,8 +301,8 @@ export declare const sdkGetPageDesignResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
301
301
|
expansive: "expansive";
|
|
302
302
|
}>;
|
|
303
303
|
curve: z.ZodEnum<{
|
|
304
|
-
spacious: "spacious";
|
|
305
304
|
soft: "soft";
|
|
305
|
+
spacious: "spacious";
|
|
306
306
|
expansive: "expansive";
|
|
307
307
|
}>;
|
|
308
308
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -314,8 +314,8 @@ export declare const sdkGetPageDesignResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
314
314
|
}>;
|
|
315
315
|
amplitude: z.ZodEnum<{
|
|
316
316
|
bold: "bold";
|
|
317
|
-
balanced: "balanced";
|
|
318
317
|
subtle: "subtle";
|
|
318
|
+
balanced: "balanced";
|
|
319
319
|
}>;
|
|
320
320
|
rhythm: z.ZodEnum<{
|
|
321
321
|
single: "single";
|
|
@@ -334,8 +334,8 @@ export declare const sdkGetPageDesignResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
334
334
|
large: "large";
|
|
335
335
|
}>;
|
|
336
336
|
slope: z.ZodEnum<{
|
|
337
|
-
balanced: "balanced";
|
|
338
337
|
subtle: "subtle";
|
|
338
|
+
balanced: "balanced";
|
|
339
339
|
steep: "steep";
|
|
340
340
|
}>;
|
|
341
341
|
direction: z.ZodEnum<{
|