@riverbankcms/sdk 0.177.0 → 0.179.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/README.md +15 -8
- package/dist/_dts/{BlocksIslandsHydrator-sYraeqm9.d.ts → BlocksIslandsHydrator-DKwgs95u.d.ts} +1 -1
- package/dist/_dts/{Page-Bp7hTDTy.d.ts → Page-lWenra5i.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CxkCCyKw.d.ts → SdkPreviewMode-BRxhRw4I.d.ts} +2 -2
- package/dist/_dts/{client-K6UhbL3t.d.ts → client-qWn7xAwJ.d.ts} +77 -23
- package/dist/_dts/{content-types-BLAdIMyr.d.ts → content-types-DL6GIvTm.d.ts} +2 -2
- package/dist/_dts/{contracts-BG7yTZ6t.d.ts → contracts-CzWyAiJj.d.ts} +6 -116
- package/dist/_dts/{generatePageMetadata-X_WpGzZZ.d.ts → generatePageMetadata-CBKd0cJ4.d.ts} +2 -2
- package/dist/_dts/{index--n-wV8Xd.d.ts → index-7CDBZGb-.d.ts} +1 -1
- package/dist/_dts/{index-Bygd2RCg.d.ts → index-BU9uAkHB.d.ts} +4 -4
- package/dist/_dts/{index-BMGif2r3.d.ts → index-BYnG_vF5.d.ts} +1 -1
- package/dist/_dts/{index-CBRbZJ6u.d.ts → index-CZgJrhzT.d.ts} +4 -2
- package/dist/_dts/{index-BLseXObg.d.ts → index-CaCum9mM.d.ts} +2 -2
- package/dist/_dts/{index-BpAW9AKB.d.ts → index-DCiSHd-C.d.ts} +1 -1
- package/dist/_dts/{index-CX9bp60k.d.ts → index-DVSipdrT.d.ts} +3 -3
- package/dist/_dts/{loadContent-uhUThWaq.d.ts → loadContent-CPKbFQyq.d.ts} +15 -13
- package/dist/_dts/{request-Bf9YImJw.d.ts → request-BjKBCS7t.d.ts} +1687 -373
- package/dist/_dts/{resolveBlockData-D6M5NMZB.d.ts → resolveBlockData-DupbMCup.d.ts} +8 -5
- package/dist/_dts/resolvePageContent-BqNyCHi8.d.ts +61 -0
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +3 -3
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +7 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +32 -12
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +56 -4
- package/dist/_dts/sdk/src/portal/index.d.ts +95 -13
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +19 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/serviceBookingOutline-YcsIjvn1.d.ts +582 -0
- package/dist/_dts/{types-C1l2Sm2h.d.ts → types-B7e6Lmo5.d.ts} +3 -3
- package/dist/_dts/{types-DgV8P2mz.d.ts → types-BOxSq-Bq.d.ts} +8 -7
- package/dist/_dts/{types-BdZ5pJSk.d.ts → types-CT-KOxl_.d.ts} +5 -39
- package/dist/_dts/{validation-BtbZIT5f.d.ts → validation-Dz6qccue.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CeYQQQs7.mjs → BlocksIslandsHydrator-1XifJg6V.mjs} +17 -18
- package/dist/client/{BookingMailingListNote-CDDWrY_W.mjs → BookingMailingListNote-BsbEgagJ.mjs} +7 -7
- package/dist/client/{BookingQuestionFields-MbvIo2jS.mjs → BookingQuestionFields-C8IbeLHj.mjs} +4 -4
- package/dist/client/{CalendarNavigationChevron-C6CSVfEB.mjs → CalendarNavigationChevron-Bbqij1XQ.mjs} +43 -10
- package/dist/client/{CheckboxChoice-b-PJLEXe.mjs → CheckboxChoice-BZPLCgTU.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-C9Ggcfx3.mjs → DemoBookingPortalAccess-uA9H8LIL.mjs} +4 -4
- package/dist/client/{EventCalendar.client-BSMuSqg0.mjs → EventCalendar.client-yoSI77ov.mjs} +11 -11
- package/dist/client/{EventCombined.client-BTrmSyUB.mjs → EventCombined.client-HeCNlliq.mjs} +11 -11
- package/dist/client/{EventEmbeddedCheckoutStep-B18VbNS_.mjs → EventEmbeddedCheckoutStep-BDnicDM6.mjs} +1 -1
- package/dist/client/{EventItem-B0WjGXsH.mjs → EventItem-Duhk1vnF.mjs} +247 -7
- package/dist/client/{EventListWeekNavigation-8Ij7vuxY.mjs → EventListWeekNavigation-BiutEqPK.mjs} +1 -1
- package/dist/client/{EventListing.client-CWk2NEwd.mjs → EventListing.client-B5ln77jG.mjs} +3 -3
- package/dist/client/{EventListing.view-BEH4UbSL.mjs → EventListing.view-hUDhNtMv.mjs} +203 -9
- package/dist/client/{EventRegistrationPayment-B2EikR3f.mjs → EventRegistrationPayment-DqtX1vB2.mjs} +439 -123
- package/dist/client/{Page-C03rc6jw.mjs → Page-ChJ2TGVk.mjs} +24314 -20226
- package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-BYACYP0T.mjs → SiteTermsAgreementField-CDBU31xW.mjs} +3 -3
- package/dist/client/{StepIndicator-Bb7rPtSq.mjs → StepIndicator-2Dl9zon2.mjs} +80 -33
- package/dist/client/{BookingPanelArrangement-BShQSial.mjs → StepIndicator-JQA-VuEH.mjs} +12 -12
- package/dist/client/{TabBarFragment-BqfRLojo.mjs → TabBarFragment-DlKQRhP4.mjs} +1 -1
- package/dist/client/{ThemedButton-DuaYtnvG.mjs → ThemedButton-CnSa7o-I.mjs} +66 -66
- package/dist/client/{accessibleSurfaces-DN8it_Cx.mjs → accessibleSurfaces-Wl8-_OVJ.mjs} +1 -1
- package/dist/client/{accordion-BfsOiweL.mjs → accordion-B6SqU49k.mjs} +1 -1
- package/dist/client/{booking-form.client-B8ohIj13.mjs → booking-form.client-DrEOjQ3N.mjs} +15 -15
- package/dist/client/{bookingForm-CXsck2oH.mjs → bookingForm-drZBwEZW.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-B_hcuT06.mjs → boxStyleClassNames-DEh45w16.mjs} +19 -19
- package/dist/client/{carousel-Cz5Ddbsx.mjs → carousel-C-YJliD-.mjs} +2 -2
- package/dist/client/{carousel.client-h65clfUO.mjs → carousel.client-DMtGYTTM.mjs} +1 -1
- package/dist/client/{cart-CTC2oS3p.mjs → cart-acGFWK9R.mjs} +3 -3
- package/dist/client/{cart.client-c1YkTC-Q.mjs → cart.client-BzlOGP2j.mjs} +1 -1
- package/dist/client/{checkout-BeW1ufaH.mjs → checkout-SEontwhy.mjs} +3 -3
- package/dist/client/{checkout.client-BeU32khQ.mjs → checkout.client-C0Qvh-d4.mjs} +1 -1
- package/dist/client/{checkoutUrls-DVfSUSKp.mjs → checkoutUrls-yUKeq1N9.mjs} +1 -1
- package/dist/client/client.mjs +469 -320
- package/dist/client/{context-R9p5c8IH.mjs → context-DTrwaQtg.mjs} +2 -1
- package/dist/client/{dateFormatting-CF6FWCoo.mjs → dateFormatting-Cg8E1r9l.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-tZxIm3RL.mjs → demoPortalMagicLink-D0kOJYOX.mjs} +5 -4
- package/dist/client/{enhanceHeaderSection-DEYDI54E.mjs → enhanceHeaderSection-DyrpZ7ks.mjs} +4 -4
- package/dist/client/{event-registration.client-DWvSODTI.mjs → event-registration.client-RLZQWi2V.mjs} +121 -183
- package/dist/client/{eventCalendar-C9Pn9eeZ.mjs → eventCalendar-CphYnImh.mjs} +4 -4
- package/dist/client/{eventCombined-Bdhk0fp0.mjs → eventCombined-BvqjASB_.mjs} +4 -4
- package/dist/client/{eventListing-B-bJOQUk.mjs → eventListing-BaNAoC_M.mjs} +4 -4
- package/dist/client/{eventRegistration-CbdmUiDT.mjs → eventRegistration-COMHoRl6.mjs} +4 -4
- package/dist/client/events-9LPvwbWp.mjs +28 -0
- package/dist/client/{form-BbUUt784.mjs → form-DyH2juYT.mjs} +3 -3
- package/dist/client/{form.client-BVlz-9_t.mjs → form.client-DBwzkB0M.mjs} +5 -5
- package/dist/client/{form.parts-TB4UIrML.mjs → form.parts-CY4kX3mh.mjs} +3 -3
- package/dist/client/{formatDate-TDHhFjFN.mjs → formatDate-CTEN7gxW.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -6
- package/dist/client/{gifting-CbNSrp7C.mjs → gifting-CIx4V378.mjs} +4 -4
- package/dist/client/{gifting.client-B__bGhFc.mjs → gifting.client-BEVPpzJM.mjs} +5 -5
- package/dist/client/{gifting.parts-CTA1sDW6.mjs → gifting.parts-VnORjnZK.mjs} +2 -2
- package/dist/client/{headerSection-5Wn9nUW_.mjs → headerSection-DGcJfRS8.mjs} +2 -2
- package/dist/client/{lookSurfaces-BwiNdgMU.mjs → lookSurfaces-IqT_SVnX.mjs} +167 -85
- package/dist/client/{newsletter-form.client-B17WYHxZ.mjs → newsletter-form.client-BvEDkjiD.mjs} +6 -6
- package/dist/client/{shop.interactive-CxDJ8P2r.mjs → newsletter-form.interactive-DCO1lErD.mjs} +3970 -3997
- package/dist/client/{newsletter-form.parts-DN9wD1ZG.mjs → newsletter-form.parts-BIy4IUT3.mjs} +2 -2
- package/dist/client/{newsletterForm-DLMlxInp.mjs → newsletterForm-CoTXDNFS.mjs} +3 -3
- package/dist/client/portal/client.mjs +346 -21
- package/dist/client/{product-detail.client-Di_anRGR.mjs → product-detail.client-YHQ2aKX1.mjs} +1 -1
- package/dist/client/{product-list.client-Duhl6rtL.mjs → product-list.client-DxoZw1vF.mjs} +1 -1
- package/dist/client/{productDetail-BgKmCwA8.mjs → productDetail-DjuFvkey.mjs} +3 -3
- package/dist/client/{productList-C_wMKsYS.mjs → productList-DE9GEFoZ.mjs} +3 -3
- package/dist/client/{propsDecoder-y3LvxaiG.mjs → propsDecoder-Cyag_HOs.mjs} +2 -48
- package/dist/client/{registry.server-CIWYKz1V.mjs → registry.server-BPwV-0Pp.mjs} +10426 -9114
- package/dist/client/rendering/client.mjs +41 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +23 -2836
- package/dist/client/{richText-coerce-DkPBFb_a.mjs → richText-coerce-NrRqDeOg.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BgO0rZce.mjs → routeIslandApiConfig-BWq5gKFK.mjs} +1 -1
- package/dist/client/runtimeResponse-D2j2-mOk.mjs +3 -0
- package/dist/client/{runtimeResponse-9v8q2NBc.mjs → runtimeResponse-DtWSfWSZ.mjs} +1 -1
- package/dist/client/{shop-CFbWlv_W.mjs → shop-C3wM0Hr4.mjs} +3 -3
- package/dist/client/{shop-commerce-C-I29eaA.mjs → shop-commerce-34YvcpbX.mjs} +14 -14
- package/dist/client/{shop-commerce-store-DGcc7twO.mjs → shop-commerce-store-B7xHksOs.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DOm7vx0X.mjs → shop-discount-apply.state-BiBnozfO.mjs} +2 -2
- package/dist/client/{shop.client-GHTWUKD6.mjs → shop.client-C0v88nLd.mjs} +14 -14
- package/dist/client/{shopShared-Be9QJJpT.mjs → shopShared-Ct-BRNez.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{noop-CaQxI-Js.mjs → src-CCtanNlD.mjs} +462 -455
- package/dist/client/src-DqMbCjI1.mjs +3 -0
- package/dist/client/{src-xrjaKaCj.mjs → src-uwCpbHXG.mjs} +2 -1
- package/dist/client/{timetableModel--R0zVzZO.mjs → timetableModel-lhE29TNT.mjs} +66 -12
- package/dist/client/{types-DjWUR_O6.mjs → types-BEaKfam_.mjs} +65 -65
- package/dist/client/{useAvailableSlots-BGu_2F50.mjs → useAvailableSlots-BelJviOT.mjs} +2 -2
- package/dist/client/useDiscountCodeUi-rQRE1-Ho.mjs +196 -0
- package/dist/client/{useEventPagination-DxIJ--JZ.mjs → useEventPagination-C4rS2Xxl.mjs} +8 -8
- package/dist/client/{view-3foOzGWR.mjs → view-LJVHVqsy.mjs} +4 -4
- package/dist/client/{display-4HYOb-AK.mjs → wizardSteps-CNDsxeJH.mjs} +9168 -8981
- package/dist/preview-next/before-render.mjs +4 -3
- package/dist/preview-next/client/{PageSectionToolbar-D6-jojqh.mjs → PageSectionToolbar-C4TtBPN-.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BUVFKZ4k.mjs → PreviewEditorSidebar-D6fkE59-.mjs} +15 -13
- package/dist/preview-next/client/{PreviewEditorUI-292pOiSt.mjs → PreviewEditorUI-amcDlj0O.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-CW0Yzj3h.mjs → PreviewShell-DeQjx4zk.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Dba7zoZK.mjs → SdkPreviewModeRuntime-Cx0SXnoX.mjs} +5 -5
- package/dist/preview-next/client/{previewAssistantSlot-B-utyhbS.mjs → previewAssistantSlot-aqpU34WI.mjs} +1764 -1090
- package/dist/preview-next/client/{previewChromeRoot-CCoGydUD.mjs → previewChromeRoot-D3Gy_Rs0.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DCpXVcA0.mjs → sdk-runtime-Dzx_RrN7.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-sjOvRAHY.mjs → siteStyleAccess-LHedw83e.mjs} +1 -1
- package/dist/preview-next/client/src-EO5QoRlU.mjs +3 -0
- package/dist/preview-next/client/{src-DzXUmsyK.mjs → src-lX6heoDA.mjs} +2 -1
- package/dist/preview-next/client/{useAutosaveStatus-R1rZ9-IZ.mjs → useAutosaveStatus-DpSd9aVk.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BS7CANPv.mjs → useOpenBlockForSetup-BGZn5AT1.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BSSbtz6A.mjs → route-contract-DnL-FgSV.mjs} +83 -11
- package/dist/server/{Block.shared-Dc3DX7Cf.mjs → Block.shared-BEbq6EwO.mjs} +5 -5
- package/dist/server/{bindings-VGgS6UvF.mjs → bindings-Bly0dRs7.mjs} +36 -5
- package/dist/server/{client-BPLLL22F.mjs → client-CGJ2ztYp.mjs} +1021 -1118
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/constants-Cj7hfbrA.mjs +41 -0
- package/dist/server/contentTypeResolver-B9vy8BrF.mjs +19 -0
- package/dist/server/data/dataLoaderContext.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{dataLoaderContext-B3fXA54R.mjs → dataLoaderContext-lMRTfG5Z.mjs} +1 -0
- package/dist/server/error-f4g44bKx.mjs +387 -0
- package/dist/server/index.mjs +3 -2
- package/dist/server/loadContent-BkK1w3QQ.mjs +692 -0
- package/dist/server/{loadPage-CQgde5DN.mjs → loadPage-DTLe0FEs.mjs} +22 -4
- package/dist/server/{navigation-iC_hXjJI.mjs → navigation-BcNfYYuu.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +103 -100
- package/dist/server/{overrideResolution-CkpwAHvW.mjs → overrideResolution-Uy9Zp2Ks.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CfSnAkCO.mjs → pageRenderPlan-JzxBnqfV.mjs} +19 -7
- package/dist/server/{pageRuntimeSupport-uz4gzBOo.mjs → pageRuntimeSupport-DyNSd2Yj.mjs} +50 -2
- package/dist/server/{pageShared-6z6JBU41.mjs → pageShared-DU4ETFPS.mjs} +89 -83
- package/dist/server/portal-B4JVkdjc.mjs +783 -0
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-B4_Llisx.mjs → prebuild-8jNtDXmS.mjs} +5 -4
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CCiYV8_s.mjs → prefetchBlockData-xeMG42aw.mjs} +3 -2
- package/dist/server/{registry-CXRXsFSx.mjs → registry-DH1VrsCl.mjs} +587 -329
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +5 -4
- package/dist/server/rendering.mjs +9 -8
- package/dist/server/{resolveBlockData-yfe8WLEA.mjs → resolveBlockData-BN8tweTx.mjs} +24 -5
- package/dist/server/resolvePageContent-DnM16_f9.mjs +89 -0
- package/dist/server/routing.mjs +271 -57
- package/dist/server/server.mjs +3 -3
- package/dist/server/{loadContent-CxASA3PE.mjs → servicePageContent-B-FezJmH.mjs} +709 -453
- package/dist/server/{validation-BvHio6QI.mjs → validation-3jOzYdPL.mjs} +3 -3
- package/dist/server/{version-SuFlio6n.mjs → version-8t0o6_jd.mjs} +1 -1
- package/dist/styles/index.css +19 -0
- package/package.json +1 -1
- package/dist/_dts/footerPageOutline-DwMHeYmQ.d.ts +0 -256
- package/dist/_dts/resolvePageContent-DkzWvFbG.d.ts +0 -162
- package/dist/client/LocationMapActions-myIQIvQL.mjs +0 -62
- package/dist/client/MapDrawingSvg-BfsVyPvB.mjs +0 -200
- package/dist/client/course-CUFVJEAc.mjs +0 -237
- package/dist/client/duration-Q6_QNgiv.mjs +0 -37
- package/dist/client/event-details.client-BwjBJP-f.mjs +0 -53
- package/dist/client/eventDetails-C2LfNW_o.mjs +0 -13
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +0 -3
- package/dist/client/src-BozhJ43Z.mjs +0 -3
- package/dist/client/useDiscountCodeUi-I_mXI9Yd.mjs +0 -237
- package/dist/client/view-BbzH5MQb.mjs +0 -1371
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +0 -3
- package/dist/server/constants-hl17xz6x.mjs +0 -22
- package/dist/server/portal-BjVHMAUC.mjs +0 -371
- package/dist/server/resolvePageContent-CAELMBEJ.mjs +0 -438
package/README.md
CHANGED
|
@@ -44,10 +44,15 @@ installed binary.
|
|
|
44
44
|
|
|
45
45
|
### Server-Side Rendering (Recommended)
|
|
46
46
|
|
|
47
|
+
Use `createRiverbankClient` from `@riverbankcms/sdk/next` in Next server code. It installs Next caching automatically: ordinary content keeps a one-hour budget, while admitted availability uses 60 seconds and availability tags. Memory and durable page-cache hits also register the returned freshness and tags on the rendered page. Preview reads remain uncached.
|
|
48
|
+
|
|
49
|
+
`createCatchAllPage` also installs this binding on existing clients created through the root/server entry, preserving their memory cache and resilience state. Existing catch-all sites only need the SDK upgrade.
|
|
50
|
+
|
|
47
51
|
Use in Next.js App Router Server Components or getServerSideProps:
|
|
48
52
|
|
|
49
53
|
```tsx
|
|
50
|
-
import { createRiverbankClient
|
|
54
|
+
import { createRiverbankClient } from '@riverbankcms/sdk/next';
|
|
55
|
+
import { loadPage, Page } from '@riverbankcms/sdk';
|
|
51
56
|
|
|
52
57
|
// Note: baseUrl must include the /api path
|
|
53
58
|
const client = createRiverbankClient({
|
|
@@ -240,7 +245,8 @@ The SDK supports fetching draft/unpublished content by passing `preview: true`.
|
|
|
240
245
|
|
|
241
246
|
```tsx
|
|
242
247
|
// app/preview/[[...slug]]/page.tsx
|
|
243
|
-
import { createRiverbankClient
|
|
248
|
+
import { createRiverbankClient } from '@riverbankcms/sdk/next';
|
|
249
|
+
import { loadPage, Page } from '@riverbankcms/sdk';
|
|
244
250
|
|
|
245
251
|
const client = createRiverbankClient({
|
|
246
252
|
apiKey: process.env.RIVERBANK_API_KEY!,
|
|
@@ -485,7 +491,7 @@ Use `client.getEntries()` to fetch lists of content entries for blog listing pag
|
|
|
485
491
|
### Basic Usage
|
|
486
492
|
|
|
487
493
|
```tsx
|
|
488
|
-
import { createRiverbankClient } from '@riverbankcms/sdk';
|
|
494
|
+
import { createRiverbankClient } from '@riverbankcms/sdk/next';
|
|
489
495
|
|
|
490
496
|
const client = createRiverbankClient({
|
|
491
497
|
apiKey: process.env.RIVERBANK_API_KEY!,
|
|
@@ -565,7 +571,7 @@ response's `mediaAssets` to the image context yourself.
|
|
|
565
571
|
|
|
566
572
|
```tsx
|
|
567
573
|
// app/blog/page.tsx
|
|
568
|
-
import { createRiverbankClient } from '@riverbankcms/sdk';
|
|
574
|
+
import { createRiverbankClient } from '@riverbankcms/sdk/next';
|
|
569
575
|
import Link from 'next/link';
|
|
570
576
|
|
|
571
577
|
const client = createRiverbankClient({
|
|
@@ -617,7 +623,8 @@ export default async function BlogPage() {
|
|
|
617
623
|
|
|
618
624
|
```tsx
|
|
619
625
|
// ✅ Server Components (Next.js App Router)
|
|
620
|
-
import { createRiverbankClient
|
|
626
|
+
import { createRiverbankClient } from '@riverbankcms/sdk/next';
|
|
627
|
+
import { loadPage, Page } from '@riverbankcms/sdk';
|
|
621
628
|
|
|
622
629
|
// ✅ Client Components (use "use client" directive)
|
|
623
630
|
"use client";
|
|
@@ -1436,7 +1443,7 @@ Fetch form definitions for rendering in your frontend. Forms include schema (fie
|
|
|
1436
1443
|
### Fetching Forms
|
|
1437
1444
|
|
|
1438
1445
|
```tsx
|
|
1439
|
-
import { createRiverbankClient } from '@riverbankcms/sdk';
|
|
1446
|
+
import { createRiverbankClient } from '@riverbankcms/sdk/next';
|
|
1440
1447
|
|
|
1441
1448
|
const client = createRiverbankClient({
|
|
1442
1449
|
apiKey: process.env.RIVERBANK_API_KEY!,
|
|
@@ -3267,9 +3274,9 @@ Most webhook events expire their tags immediately, so the first view after a del
|
|
|
3267
3274
|
|
|
3268
3275
|
#### SDK memory cache and ISR
|
|
3269
3276
|
|
|
3270
|
-
|
|
3277
|
+
Next's tagged cache owns normal reads. Inside a Next.js server, with `cache.enabled` left unset, the SDK bypasses fresh memory hits and retains responses for the `staleIfError` fallback during a CMS outage. Admitted page results register their returned freshness and tags through the Next binding even when served from SDK memory or durable storage.
|
|
3271
3278
|
|
|
3272
|
-
Leave `cache.enabled` unset on ISR sites
|
|
3279
|
+
Leave `cache.enabled` unset on ISR sites. Explicit memory caching remains useful for dynamic rendering; other SDK reads that bypass fetch do not automatically register a rendered-page policy.
|
|
3273
3280
|
|
|
3274
3281
|
Existing SDK sites should update their revalidation route to pass `getClient: getRiverbankClient`, then redeploy after adding or changing the deployed site's `RIVERBANK_WEBHOOK_SECRET`. The dashboard/CMS environment separately needs `SERVICE_SECRET_KEYRING_JSON` configured so Riverbank can create and store endpoint signing secrets; do not put that dashboard keyring in the SDK site.
|
|
3275
3282
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { It as LinkValue, _ as PageOutline, a as ResolveImageUrlContext, g as OccurrenceContextData, h as EntrySubrouteContextData, l as BindingDateContext, o as ResolveImageUrlContextInput, p as ThemeTokens, r as MediaAssetIndexItem, v as PageRuntimeJoin, xt as SystemBlockShortKind, y as RouteMap, yt as SystemBlockContentByKind } from "./index-
|
|
3
|
-
import { t as ThemeRuntime } from "./index
|
|
4
|
-
import { d as SdkCustomBlock } from "./types-
|
|
5
|
-
import { P as SiteBookingOfferingPresetSummary } from "./contracts-
|
|
6
|
-
import { _ as RiverbankClient } from "./types-
|
|
7
|
-
import { a as ResolveBlockDataDeps, f as ResolvedBlockData } from "./resolveBlockData-
|
|
1
|
+
import { Bi as PageSurfaceSubjectWire, Di as WeeklyOpeningHours, Ei as MailingListRuntimeContext, Gn as BlockSiteTerms, Ii as UtcIsoDateTimeString, Ki as BlockInteractionContext, M as DateRuntimeContext, Qi as DeepReadonly, Ti as BusinessPersonNoun, Vr as RenderableMediaAsset, Wn as BrowserReadAuthority, _r as PageTemplate, b as PrefetchedBlockData, er as RenderablePageOutline$1, h as ThemeResponsiveMode, hr as Theme, j as LinkResolverContext, v as BlockLoaderFailures, y as BlockLoaderSnapshot } from "./request-BjKBCS7t.js";
|
|
2
|
+
import { It as LinkValue, _ as PageOutline, a as ResolveImageUrlContext, g as OccurrenceContextData, h as EntrySubrouteContextData, l as BindingDateContext, o as ResolveImageUrlContextInput, p as ThemeTokens, r as MediaAssetIndexItem, v as PageRuntimeJoin, xt as SystemBlockShortKind, y as RouteMap, yt as SystemBlockContentByKind } from "./index-DCiSHd-C.js";
|
|
3
|
+
import { t as ThemeRuntime } from "./index-7CDBZGb-.js";
|
|
4
|
+
import { d as SdkCustomBlock } from "./types-B7e6Lmo5.js";
|
|
5
|
+
import { P as SiteBookingOfferingPresetSummary } from "./contracts-CzWyAiJj.js";
|
|
6
|
+
import { _ as RiverbankClient } from "./types-CT-KOxl_.js";
|
|
7
|
+
import { a as ResolveBlockDataDeps, f as ResolvedBlockData } from "./resolveBlockData-DupbMCup.js";
|
|
8
8
|
import { DataLoaderOverrides, DataLoaderPreviewStage, DataLoaderSearchParams } from "./sdk/src/data/types.js";
|
|
9
9
|
import { RuntimeSdkConfig } from "./sdk/src/rendering/helpers/pageRuntimeSupport.js";
|
|
10
10
|
import * as React$2 from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as ThemeRuntime } from "./index
|
|
1
|
+
import { Bi as PageSurfaceSubjectWire, Fi as BookingTimeZone, Gt as SdkSiteLayoutConfig, It as BlockApiProvider, Kt as ThemeJournalState, Nt as BookingOfferingPresetSummary, Oi as EditLeaseScope, P as MediaAssetIndexItem, Qn as EditorRenderablePageOutline, Wt as SdkEditorRevision, Zi as ContentTypeSchema, _ as EntrySubrouteContextData, di as SiteFooterContent, dr as HeaderLogoContext, f as PreviewPageAdaptationFacts, g as SdkConfigForBlockPicker, h as ThemeResponsiveMode, hr as Theme, ki as EditorBlockVersions, p as PreviewRenderingOverride, qt as ThemeSelectionPreviewProps, t as ApiClient, yi as SurfaceId } from "./request-BjKBCS7t.js";
|
|
2
|
+
import { t as ThemeRuntime } from "./index-7CDBZGb-.js";
|
|
3
3
|
import { t as PreviewRuntimeSession } from "./auth-contract-CgJ5nMaH.js";
|
|
4
4
|
import { z as z$1 } from "zod";
|
|
5
5
|
import React$1, { CSSProperties, ComponentProps, ComponentType, ReactElement, ReactNode } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as EventTicketSelectionLine, At as RegistrationAdmission, Bt as DiscountApplyLine, Cn as BookingFlowStepId, Ct as SeveralItemsKind, Dn as BookingSlotView, Dr as EventCheckoutReturnRequest, Dt as WaitlistInvitation, Ei as MailingListRuntimeContext, En as BookingSlotSelection, Er as DirectCheckoutCollectionOptionKind, Et as StateUpdate, F as BookingFormInteractiveIslandProps, Ft as BookingPageKind, G as PortalCreditState, Gn as BlockSiteTerms, H as BookingQuestionsModel, Hi as PositiveCents, Ii as UtcIsoDateTimeString, In as BookingFieldValue, J as ExistingRegistrationLookupState, K as PortalProfile, L as EventRegistrationDirectPaymentOption, Li as AppointmentBookingReview, Ln as BookingQuestionsPaymentSnapshot, Lt as BlockApiClient, Mi as BookingConsent, Mn as LoadState, Mr as PublicEvent, Mt as TicketSelectionPurpose, Ni as DisplayContext, On as BookingSubmitActionResult, Or as EventRegistrationPaymentSubject, Ot as SelectionRequirementsLayout, Pi as ZoneLabel, Pt as EventSourceRecovery, Q as EventRegistrationClientProps, R as EventRegistrationDirectPaymentSelectionState, Rn as getBookingServiceSlidingScale, Rt as BoundBlockApiClient, Sn as BookingFlowStep, Sr as SelectionAttendance, St as SelectionPaymentSummary, Tn as BookingResourceView, Tr as CustomerEventRegistration, Tt as CopyPart, U as RegistrationFlowState, Un as BlockApiConfig, V as BookingPaymentSelectionViewModel, Vi as NonNegativeCents, W as PortalAuthState, Wn as BrowserReadAuthority, X as EligibilityData, Y as SelectableEventTicketType, Z as EventPaymentState, _t as BookingSelection, ai as BookingQuestionsSubmissionFailure, an as BookingSelectedCollectionOptionKind, at as RegistrationAttendanceMode, bn as BookingFlowFeedback, bt as RunPricingChoices, ci as EventRegistrationErrorAction, ct as RegistrationStep, dn as BookingPurchasablePackagesModel, dt as FormData, ea as BlockButtonRole, en as EventEmbeddedCheckout, et as Guest, ft as OccurrenceContext, gt as EventRegistrationPageSurfaceSubject, hn as BookingAppointmentPackagesModel, in as BookingFormService, it as PaymentStepState, jt as RegistrationTicketContinuation, kn as BookingSubmitOptions, kr as PaymentMethod, kt as RegistrationPresentation, li as PriceReductionSummary, ln as BookingPaymentAvailability, lt as RegistrationSubject, nn as BookingFormConfig$1, nt as PaymentSelection, oi as EventRegistrationPricingOption, on as BookingFormServiceCategory, ot as RegistrationEvent, q as EligibilityLookupState, rn as BookingFormData$1, rt as PaymentStatusRecoveryState, si as CombinationPricePlan, sn as BookingFormField$1, st as RegistrationResult, tn as EventTicketLineSummary, tt as GuestErrors, ui as CurrencyCode, un as BookingPaymentChoice, ut as ThemedButtonProps, vn as BookingFieldView, vt as RegistrationSelection, wn as BookingFlowView, wt as CombinationWorking, xn as BookingFlowStatus, xt as SelectionPayment, yn as BookingFlowActionResult, yt as RegistrationSelectionMode, z as EventRegistrationSiteCreditPreview, zn as ProtectedSubmission, zt as AutoAppliedDiscountPreview } from "./request-BjKBCS7t.js";
|
|
2
2
|
import { z as z$1 } from "zod";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import React, { ReactNode } from "react";
|
|
@@ -428,6 +428,26 @@ type EventRegistrationSubmitResult = Readonly<{
|
|
|
428
428
|
}> & BookingQuestionsSubmissionFailure);
|
|
429
429
|
type EventRegistrationSubmit = (method: PaymentMethod, passId?: string, membershipId?: string, selection?: PaymentSelection) => Promise<EventRegistrationSubmitResult>;
|
|
430
430
|
//#endregion
|
|
431
|
+
//#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/closedEarlyCopy.d.ts
|
|
432
|
+
type ClosedEarlyCopy = Readonly<{
|
|
433
|
+
titleText: string;
|
|
434
|
+
bodyText: string;
|
|
435
|
+
otherDatesHref: string | null;
|
|
436
|
+
}>;
|
|
437
|
+
//#endregion
|
|
438
|
+
//#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts
|
|
439
|
+
type FreshBookingClosure = Readonly<{
|
|
440
|
+
kind: 'open';
|
|
441
|
+
}> /** Someone with a booking under way: nothing about closing applies to them. */ | Readonly<{
|
|
442
|
+
kind: 'underway';
|
|
443
|
+
}> | Readonly<{
|
|
444
|
+
kind: 'closedEarly';
|
|
445
|
+
copy: ClosedEarlyCopy;
|
|
446
|
+
}> | Readonly<{
|
|
447
|
+
kind: 'started';
|
|
448
|
+
startsAt: string;
|
|
449
|
+
}>;
|
|
450
|
+
//#endregion
|
|
431
451
|
//#region .cache/declarations/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts
|
|
432
452
|
type EventRegistrationDetailsCompleteResult = Readonly<{
|
|
433
453
|
ok: true;
|
|
@@ -461,7 +481,8 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
461
481
|
handOffBusinessName?: string;
|
|
462
482
|
handOffOfferingLabel?: string;
|
|
463
483
|
api: BoundBlockApiClient;
|
|
464
|
-
nowIso: UtcIsoDateTimeString;
|
|
484
|
+
nowIso: UtcIsoDateTimeString; /** Whether the clock has stopped this visitor starting a booking on this page. */
|
|
485
|
+
bookingClosure: FreshBookingClosure;
|
|
465
486
|
directPaymentOptions: readonly EventRegistrationDirectPaymentOption[];
|
|
466
487
|
paymentDecision: {
|
|
467
488
|
selection: PaymentSelection;
|
|
@@ -493,8 +514,9 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
493
514
|
}> | null;
|
|
494
515
|
subject: EventRegistrationPageSurfaceSubject | null | undefined;
|
|
495
516
|
events: readonly PublicEvent[];
|
|
496
|
-
maxTicketsNum: number;
|
|
497
|
-
scopedEvents: RegistrationEvent[];
|
|
517
|
+
maxTicketsNum: number; /** The new-booking choices, plus the run or date an invitation holds a place on. */
|
|
518
|
+
scopedEvents: RegistrationEvent[]; /** Everything on this page a booking could be for, whether or not it's still a choice. */
|
|
519
|
+
recoveryEvents: RegistrationEvent[];
|
|
498
520
|
preSelectedEvent: RegistrationEvent | null;
|
|
499
521
|
hasPreSelectedContext: boolean;
|
|
500
522
|
presentation: RegistrationPresentation;
|
|
@@ -566,13 +588,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
566
588
|
}> | null;
|
|
567
589
|
slidingScaleSelectionMessage: string | null;
|
|
568
590
|
selectedTicketType: EventRegistrationPricingOption | null;
|
|
569
|
-
ticketSelectionSummaryLines:
|
|
570
|
-
pricingOptionId: string | null;
|
|
571
|
-
label: string;
|
|
572
|
-
quantity: number;
|
|
573
|
-
unitPriceCents: number;
|
|
574
|
-
subtotalCents: number;
|
|
575
|
-
}[];
|
|
591
|
+
ticketSelectionSummaryLines: EventTicketLineSummary[];
|
|
576
592
|
ticketSelectionSubtotalCents: number | null;
|
|
577
593
|
visibleTicketTypes: EventRegistrationPricingOption[];
|
|
578
594
|
overallRemainingPlaces: number | null;
|
|
@@ -669,7 +685,28 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
669
685
|
manualCodeEntryAllowed: boolean;
|
|
670
686
|
autoAppliedDiscount: AutoAppliedDiscountPreview | null;
|
|
671
687
|
discountsAvailableLoading: boolean;
|
|
672
|
-
discountContext:
|
|
688
|
+
discountContext: {
|
|
689
|
+
type: 'whole_series';
|
|
690
|
+
eventSeriesId: string;
|
|
691
|
+
} | {
|
|
692
|
+
type: "event";
|
|
693
|
+
eventSeriesId: string;
|
|
694
|
+
eventCategoryId: string | null;
|
|
695
|
+
ticketsCount?: number;
|
|
696
|
+
} | {
|
|
697
|
+
type: "appointment";
|
|
698
|
+
serviceId: string;
|
|
699
|
+
} | {
|
|
700
|
+
type: "pass";
|
|
701
|
+
passId: string;
|
|
702
|
+
} | {
|
|
703
|
+
type: "membership";
|
|
704
|
+
membershipId: string;
|
|
705
|
+
} | {
|
|
706
|
+
type: "product";
|
|
707
|
+
productId: string;
|
|
708
|
+
productCategoryId: string | null;
|
|
709
|
+
} | null;
|
|
673
710
|
shouldShowDiscountToggle: boolean;
|
|
674
711
|
verification: {
|
|
675
712
|
status: 'idle' | 'polling' | 'completed' | 'failed' | 'timeout';
|
|
@@ -1662,7 +1699,8 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1662
1699
|
handOffBusinessName?: string;
|
|
1663
1700
|
handOffOfferingLabel?: string;
|
|
1664
1701
|
api: BoundBlockApiClient;
|
|
1665
|
-
nowIso: UtcIsoDateTimeString;
|
|
1702
|
+
nowIso: UtcIsoDateTimeString; /** Whether the clock has stopped this visitor starting a booking on this page. */
|
|
1703
|
+
bookingClosure: FreshBookingClosure;
|
|
1666
1704
|
directPaymentOptions: readonly EventRegistrationDirectPaymentOption[];
|
|
1667
1705
|
paymentDecision: {
|
|
1668
1706
|
selection: PaymentSelection;
|
|
@@ -1694,8 +1732,9 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1694
1732
|
}> | null;
|
|
1695
1733
|
subject: EventRegistrationPageSurfaceSubject | null | undefined;
|
|
1696
1734
|
events: readonly PublicEvent[];
|
|
1697
|
-
maxTicketsNum: number;
|
|
1698
|
-
scopedEvents: RegistrationEvent[];
|
|
1735
|
+
maxTicketsNum: number; /** The new-booking choices, plus the run or date an invitation holds a place on. */
|
|
1736
|
+
scopedEvents: RegistrationEvent[]; /** Everything on this page a booking could be for, whether or not it's still a choice. */
|
|
1737
|
+
recoveryEvents: RegistrationEvent[];
|
|
1699
1738
|
preSelectedEvent: RegistrationEvent | null;
|
|
1700
1739
|
hasPreSelectedContext: boolean;
|
|
1701
1740
|
presentation: RegistrationPresentation;
|
|
@@ -1767,13 +1806,7 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1767
1806
|
}> | null;
|
|
1768
1807
|
slidingScaleSelectionMessage: string | null;
|
|
1769
1808
|
selectedTicketType: EventRegistrationPricingOption | null;
|
|
1770
|
-
ticketSelectionSummaryLines:
|
|
1771
|
-
pricingOptionId: string | null;
|
|
1772
|
-
label: string;
|
|
1773
|
-
quantity: number;
|
|
1774
|
-
unitPriceCents: number;
|
|
1775
|
-
subtotalCents: number;
|
|
1776
|
-
}[];
|
|
1809
|
+
ticketSelectionSummaryLines: EventTicketLineSummary[];
|
|
1777
1810
|
ticketSelectionSubtotalCents: number | null;
|
|
1778
1811
|
visibleTicketTypes: EventRegistrationPricingOption[];
|
|
1779
1812
|
overallRemainingPlaces: number | null;
|
|
@@ -1870,7 +1903,28 @@ declare function useEventRegistrationWizard(options: UseEventRegistrationWizardO
|
|
|
1870
1903
|
manualCodeEntryAllowed: boolean;
|
|
1871
1904
|
autoAppliedDiscount: AutoAppliedDiscountPreview | null;
|
|
1872
1905
|
discountsAvailableLoading: boolean;
|
|
1873
|
-
discountContext:
|
|
1906
|
+
discountContext: {
|
|
1907
|
+
type: 'whole_series';
|
|
1908
|
+
eventSeriesId: string;
|
|
1909
|
+
} | {
|
|
1910
|
+
type: "event";
|
|
1911
|
+
eventSeriesId: string;
|
|
1912
|
+
eventCategoryId: string | null;
|
|
1913
|
+
ticketsCount?: number;
|
|
1914
|
+
} | {
|
|
1915
|
+
type: "appointment";
|
|
1916
|
+
serviceId: string;
|
|
1917
|
+
} | {
|
|
1918
|
+
type: "pass";
|
|
1919
|
+
passId: string;
|
|
1920
|
+
} | {
|
|
1921
|
+
type: "membership";
|
|
1922
|
+
membershipId: string;
|
|
1923
|
+
} | {
|
|
1924
|
+
type: "product";
|
|
1925
|
+
productId: string;
|
|
1926
|
+
productCategoryId: string | null;
|
|
1927
|
+
} | null;
|
|
1874
1928
|
shouldShowDiscountToggle: boolean;
|
|
1875
1929
|
verification: {
|
|
1876
1930
|
status: 'idle' | 'polling' | 'completed' | 'failed' | 'timeout';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as BindingTransformName } from "./index-
|
|
1
|
+
import { Ht as NavigationAuthoringLinkInput, Ut as NavigationConfigItemInput } from "./request-BjKBCS7t.js";
|
|
2
|
+
import { u as BindingTransformName } from "./index-DCiSHd-C.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/types/block-kinds.d.ts
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ht as SiteHeaderContent, mt as SiteFooterContent, r as MediaAssetIndexItem } from "./index-
|
|
3
|
-
import { d as SdkCustomBlock, f as SdkThemeConfig, u as RiverbankSiteConfig } from "./types-
|
|
1
|
+
import { $t as RoutableContentItem$1, Ar as PublicMapLocationParams, Ci as BookingEmbedSettings, Di as WeeklyOpeningHours, Ei as MailingListRuntimeContext, Fi as BookingTimeZone, Ki as BlockInteractionContext, Kr as Media, Mr as PublicEvent, Qt as SiteRuntimeSiteTerms, Ti as BusinessPersonNoun, Vt as PublicPassesResponse$1, Xt as PublicBookingServicesResponse$1, Yt as PublicBookingServiceCatalogueItem$1, Zt as PublicServiceCategorySummary$1, c as SdkRuntimePageSurfaceSubject$1, d as SiteRuntimeSelectionPayload, ji as BusinessAddress, l as SiteBookingOfferingPresetSummary$1, mr as LogoFacts, pr as FooterMode, r as ApiErrorCode$1, s as SdkRuntimeContentByPathResponse, u as SiteRuntimeIdentity, ur as ResolvedInternalLinkEntityType, wi as MapDrawing } from "./request-BjKBCS7t.js";
|
|
2
|
+
import { ht as SiteHeaderContent, mt as SiteFooterContent, r as MediaAssetIndexItem } from "./index-DCiSHd-C.js";
|
|
3
|
+
import { d as SdkCustomBlock, f as SdkThemeConfig, u as RiverbankSiteConfig } from "./types-B7e6Lmo5.js";
|
|
4
4
|
|
|
5
5
|
//#region .cache/declarations/sdk/src/public-api/teamMemberContracts.d.ts
|
|
6
6
|
type PublicTeamMemberSummary = {
|
|
@@ -20,19 +20,6 @@ type PublicTeamMemberBlockItem = PublicTeamMemberSummary & {
|
|
|
20
20
|
photo: PublicTeamMemberPhoto;
|
|
21
21
|
};
|
|
22
22
|
//#endregion
|
|
23
|
-
//#region .cache/declarations/sdk/src/public-api/eventSubrouteContracts.d.ts
|
|
24
|
-
type ResolveEventSubrouteResponse = ResolveEventSubrouteResponse$1;
|
|
25
|
-
type ResolveEventOccurrenceResponse = Readonly<{
|
|
26
|
-
occurrence: Extract<ResolveEventSubrouteResponse['subroute'], {
|
|
27
|
-
kind: 'event-occurrence';
|
|
28
|
-
}>['occurrence'] | null;
|
|
29
|
-
}>;
|
|
30
|
-
type ResolveEventRunResponse = Readonly<{
|
|
31
|
-
run: Extract<ResolveEventSubrouteResponse['subroute'], {
|
|
32
|
-
kind: 'event-run';
|
|
33
|
-
}>['run'] | null;
|
|
34
|
-
}>;
|
|
35
|
-
//#endregion
|
|
36
23
|
//#region .cache/declarations/sdk/src/public-api/contracts.d.ts
|
|
37
24
|
type RuntimeSiteSdkConfig = {
|
|
38
25
|
builtInBlocks?: RiverbankSiteConfig['builtInBlocks'];
|
|
@@ -369,105 +356,9 @@ type SiteResponse = SiteRuntimeSelectionPayload & {
|
|
|
369
356
|
fonts?: SiteFont[];
|
|
370
357
|
googleSiteVerificationToken?: string | null;
|
|
371
358
|
};
|
|
372
|
-
type SdkRuntimePage = {
|
|
373
|
-
id: string;
|
|
374
|
-
routeId: string | null;
|
|
375
|
-
name: string;
|
|
376
|
-
path: string | null;
|
|
377
|
-
purpose: string;
|
|
378
|
-
title?: string | null;
|
|
379
|
-
draftTitle?: string | null;
|
|
380
|
-
slug?: string | null;
|
|
381
|
-
draftSlug?: string | null;
|
|
382
|
-
status: string;
|
|
383
|
-
draftStatus?: string | null;
|
|
384
|
-
lastPublishedAt?: string | null;
|
|
385
|
-
publishedAt?: string | null;
|
|
386
|
-
draftUpdatedAt?: string | null;
|
|
387
|
-
metaTitle?: string | null;
|
|
388
|
-
metaDescription?: string | null;
|
|
389
|
-
draftMetaTitle?: string | null;
|
|
390
|
-
draftMetaDescription?: string | null;
|
|
391
|
-
ogImageId?: string | null;
|
|
392
|
-
ogImageUrl?: string | null;
|
|
393
|
-
canonicalUrl?: string | null;
|
|
394
|
-
blocks: Array<{
|
|
395
|
-
id: string;
|
|
396
|
-
contentVersionId: string | null;
|
|
397
|
-
kind: string;
|
|
398
|
-
purpose?: string;
|
|
399
|
-
content: Record<string, unknown>;
|
|
400
|
-
admission?: SdkBlockContentAdmission;
|
|
401
|
-
}>;
|
|
402
|
-
runtimeJoins?: readonly PageRuntimeJoin<string>[];
|
|
403
|
-
};
|
|
404
|
-
type SdkTemplate = {
|
|
405
|
-
/** Template design intent, including section Look pins resolved during materialisation. */designState?: Record<string, unknown> | null;
|
|
406
|
-
id: string;
|
|
407
|
-
contentTypeKey?: string | null;
|
|
408
|
-
isDefault?: boolean;
|
|
409
|
-
blocks: Array<{
|
|
410
|
-
id: string;
|
|
411
|
-
blockKind: string;
|
|
412
|
-
content: Record<string, unknown> | null;
|
|
413
|
-
bindings: Record<string, unknown> | null;
|
|
414
|
-
}>;
|
|
415
|
-
};
|
|
416
|
-
type SdkSlotBlockIdentity = {
|
|
417
|
-
id: string;
|
|
418
|
-
blockId?: string;
|
|
419
|
-
contentVersionId: string;
|
|
420
|
-
kind: string;
|
|
421
|
-
purpose: string;
|
|
422
|
-
orderIndex?: number | null;
|
|
423
|
-
admission?: SdkBlockContentAdmission;
|
|
424
|
-
};
|
|
425
|
-
type SdkEntrySlotContent = {
|
|
426
|
-
entrySlotId: string;
|
|
427
|
-
slotKey: string;
|
|
428
|
-
blocks: Array<SdkSlotBlockIdentity & {
|
|
429
|
-
content: Record<string, unknown> | null;
|
|
430
|
-
}>;
|
|
431
|
-
};
|
|
432
|
-
type SdkSurfaceSlotContent = {
|
|
433
|
-
surfaceSlotId: string;
|
|
434
|
-
pageSurfaceId: string;
|
|
435
|
-
slotKey: string;
|
|
436
|
-
blocks: Array<SdkSlotBlockIdentity & {
|
|
437
|
-
surfaceSlotId: string;
|
|
438
|
-
identifier?: string | null;
|
|
439
|
-
content: Record<string, unknown>;
|
|
440
|
-
draftContent?: unknown;
|
|
441
|
-
publishedContent?: unknown;
|
|
442
|
-
draftContentId?: string | null;
|
|
443
|
-
publishedContentId?: string | null;
|
|
444
|
-
}>;
|
|
445
|
-
};
|
|
446
359
|
type SdkRuntimePageSurfaceSubject = SdkRuntimePageSurfaceSubject$1;
|
|
447
|
-
type
|
|
448
|
-
type PageResponse = {
|
|
449
|
-
page: SdkRuntimePage;
|
|
450
|
-
templates?: SdkTemplate[];
|
|
451
|
-
mediaAssets?: SdkRuntimeMediaAsset[];
|
|
452
|
-
type?: 'page';
|
|
453
|
-
} | {
|
|
454
|
-
entry: SdkRuntimeEntry;
|
|
455
|
-
templates: SdkTemplate[];
|
|
456
|
-
entrySlots?: SdkEntrySlotContent[];
|
|
457
|
-
contentTypeSchema: Record<string, unknown> | null;
|
|
458
|
-
mediaAssets?: SdkRuntimeMediaAsset[];
|
|
459
|
-
type: 'entry';
|
|
460
|
-
} | {
|
|
461
|
-
pageSections?: PageSectionsContext;
|
|
462
|
-
pageSurface: SdkRuntimePageSurface;
|
|
463
|
-
templates: SdkTemplate[];
|
|
464
|
-
surfaceSlots?: SdkSurfaceSlotContent[];
|
|
465
|
-
contentTypeSchema: Record<string, unknown> | null;
|
|
466
|
-
mediaAssets?: SdkRuntimeMediaAsset[];
|
|
467
|
-
type: 'pageSurface';
|
|
468
|
-
};
|
|
360
|
+
type PageResponse = SdkRuntimeContentByPathResponse;
|
|
469
361
|
type SdkRuntimeMediaAsset = MediaAssetIndexItem;
|
|
470
|
-
type SdkRuntimeEntry = SdkRuntimeEntry$1;
|
|
471
362
|
type PublishedContentEntryPreview = {
|
|
472
363
|
id: string;
|
|
473
364
|
title: string;
|
|
@@ -667,7 +558,7 @@ type SitemapRoutesResponse = {
|
|
|
667
558
|
pageSize: number;
|
|
668
559
|
allowIndexingInProduction: boolean;
|
|
669
560
|
};
|
|
670
|
-
type PublicEndpointName = 'getSite' | 'getContentByPath' | 'resolveRouteOutcome' | 'resolveRouteDecision' | 'listPublishedEntries' | 'getPublishedEntryPreview' | 'getPublicFormById' | 'listPublicForms' | 'getPublicBookingServices' | 'getPublicWeeklySlotAvailability' | 'getPublicChallenge' | 'listPublicEvents' | 'batchBlockLoaders' | 'listPublicTeamMembers' | 'listPublicProducts' | 'listPublicPasses' | 'listPublicMemberships' | '
|
|
561
|
+
type PublicEndpointName = 'getSite' | 'getContentByPath' | 'resolveRouteOutcome' | 'resolveRouteDecision' | 'listPublishedEntries' | 'getPublishedEntryPreview' | 'getPublicFormById' | 'listPublicForms' | 'getPublicBookingServices' | 'getPublicWeeklySlotAvailability' | 'getPublicChallenge' | 'listPublicEvents' | 'batchBlockLoaders' | 'listPublicTeamMembers' | 'listPublicProducts' | 'listPublicPasses' | 'listPublicMemberships' | 'checkRedirect' | 'getRoutableContent' | 'getPublicRoutableContent' | 'getPublicSitemapRoutes';
|
|
671
562
|
type PublicAPIEndpoints = {
|
|
672
563
|
getSite: APIEndpointBase<never, {
|
|
673
564
|
id?: string;
|
|
@@ -802,7 +693,6 @@ type PublicAPIEndpoints = {
|
|
|
802
693
|
siteId: string;
|
|
803
694
|
categories?: string;
|
|
804
695
|
}, PublicMembershipsResponse>;
|
|
805
|
-
resolveEventSubroute: APIEndpointBase<never, ResolveEventSubrouteQuery, ResolveEventSubrouteResponse>;
|
|
806
696
|
checkRedirect: APIEndpointBase<never, {
|
|
807
697
|
site: string;
|
|
808
698
|
path: string;
|
|
@@ -822,4 +712,4 @@ type PublicAPIEndpoints = {
|
|
|
822
712
|
}, SitemapRoutesResponse>;
|
|
823
713
|
};
|
|
824
714
|
//#endregion
|
|
825
|
-
export { RoutableContentResponse as A,
|
|
715
|
+
export { RoutableContentResponse as A, PublicPassesResponse as C, PublicTeamMembersResponse as D, PublicServiceCategorySummary as E, SiteFooterBlock as F, SiteResponse as I, SiteRouteRecord as L, RouteOutcomeResponse as M, SdkRuntimePageSurfaceSubject as N, PublicWeeklySlotAvailabilityResponse as O, SiteBookingOfferingPresetSummary as P, SitemapRoutesResponse as R, PublicMembershipsResponse as S, PublicProductsResponse as T, PublicEndpointName as _, ContentTypeRoutingInfo as a, PublicFormResponse as b, FieldError as c, NavigationItemRecord as d, NavigationMenuWithItems as f, PublicBookingServicesResponse as g, PublicBookingServiceCatalogueItem as h, CheckRedirectResponse as i, RouteDecisionResponse as j, RedirectHttpStatus as k, HTTPMethod as l, PublicAPIEndpoints as m, ApiErrorCode as n, EntriesResponse as o, PageResponse as p, ApiResult as r, EntryResponse as s, ApiError as t, LinkPayload as u, PublicEventDetailsResponse as v, PublicProductCategorySelector as w, PublicFormsResponse as x, PublicEventsResponse as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as SiteResponse } from "./contracts-
|
|
2
|
-
import { K as LoadPageResult } from "./Page-
|
|
1
|
+
import { I as SiteResponse } from "./contracts-CzWyAiJj.js";
|
|
2
|
+
import { K as LoadPageResult } from "./Page-lWenra5i.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/metadata/generatePageMetadata.d.ts
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as ReferenceFieldDefinition, C as GroupFieldDefinition, D as ModalFieldDefinition, E as MediaFieldDefinition, F as TabGroupFieldDefinition, I as TextFieldDefinition, L as TimeFieldDefinition, M as RichTextFieldDefinition, N as SelectFieldDefinition, O as NumberFieldDefinition, P as SlugFieldDefinition, R as UrlFieldDefinition, S as FileFieldDefinition, T as LinkFieldDefinition, _ as ContentTypeSelectFieldDefinition, a as EntryConfig, b as EntryPickerFieldDefinition, f as TemplateBindingMetaPath, g as BooleanFieldDefinition, i as ContentTypeConfig, j as RepeaterFieldDefinition, k as PresetOrCustomFieldDefinition, r as ContentConfig, t as BindingSource, v as DateFieldDefinition, w as InlineTextFieldDefinition, x as FieldDefinition, y as DateTimeFieldDefinition } from "./content-types-
|
|
3
|
-
import { It as LinkValue, Pt as InlineText, c as NodeDefinition, u as BindingTransformName } from "./index-
|
|
4
|
-
import { u as RiverbankSiteConfig } from "./types-
|
|
1
|
+
import { Ji as RichTextDoc, Kr as Media, Xi as TipTapNode } from "./request-BjKBCS7t.js";
|
|
2
|
+
import { A as ReferenceFieldDefinition, C as GroupFieldDefinition, D as ModalFieldDefinition, E as MediaFieldDefinition, F as TabGroupFieldDefinition, I as TextFieldDefinition, L as TimeFieldDefinition, M as RichTextFieldDefinition, N as SelectFieldDefinition, O as NumberFieldDefinition, P as SlugFieldDefinition, R as UrlFieldDefinition, S as FileFieldDefinition, T as LinkFieldDefinition, _ as ContentTypeSelectFieldDefinition, a as EntryConfig, b as EntryPickerFieldDefinition, f as TemplateBindingMetaPath, g as BooleanFieldDefinition, i as ContentTypeConfig, j as RepeaterFieldDefinition, k as PresetOrCustomFieldDefinition, r as ContentConfig, t as BindingSource, v as DateFieldDefinition, w as InlineTextFieldDefinition, x as FieldDefinition, y as DateTimeFieldDefinition } from "./content-types-DL6GIvTm.js";
|
|
3
|
+
import { It as LinkValue, Pt as InlineText, c as NodeDefinition, u as BindingTransformName } from "./index-DCiSHd-C.js";
|
|
4
|
+
import { u as RiverbankSiteConfig } from "./types-B7e6Lmo5.js";
|
|
5
5
|
import { z as z$1 } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region .cache/declarations/sdk/src/config/bindings.d.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as PreviewShellProps, i as PreviewShellLayoutProps, n as SdkPreviewModeProps } from "./SdkPreviewMode-
|
|
1
|
+
import { a as PreviewShellProps, i as PreviewShellLayoutProps, n as SdkPreviewModeProps } from "./SdkPreviewMode-BRxhRw4I.js";
|
|
2
2
|
import React, { ComponentProps, ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/preview-next/client/index.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as FieldError, n as ApiErrorCode, t as ApiError } from "./contracts-
|
|
2
|
-
import { _ as RiverbankClient, m as ResilienceStatus, v as RiverbankClientConfig } from "./types-
|
|
1
|
+
import { c as FieldError, n as ApiErrorCode, t as ApiError } from "./contracts-CzWyAiJj.js";
|
|
2
|
+
import { _ as RiverbankClient, m as ResilienceStatus, v as RiverbankClientConfig } from "./types-CT-KOxl_.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/client/error.d.ts
|
|
5
5
|
/**
|
|
@@ -12,6 +12,7 @@ interface RiverbankApiErrorOptions {
|
|
|
12
12
|
status: number;
|
|
13
13
|
timestamp: string;
|
|
14
14
|
fieldErrors?: FieldError[];
|
|
15
|
+
tag?: string;
|
|
15
16
|
/** Retry delay from Retry-After header, in milliseconds */
|
|
16
17
|
retryAfterMs?: number;
|
|
17
18
|
/** Original error that caused this error (for network errors) */
|
|
@@ -58,6 +59,7 @@ declare class RiverbankApiError extends Error {
|
|
|
58
59
|
readonly status: number;
|
|
59
60
|
/** Field-level validation errors (only present for validation errors) */
|
|
60
61
|
readonly fieldErrors?: FieldError[];
|
|
62
|
+
readonly tag?: string;
|
|
61
63
|
/** ISO timestamp when the error occurred */
|
|
62
64
|
readonly timestamp: string;
|
|
63
65
|
/** Original error cause for error classification (ECONNREFUSED, etc.) */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as SiteResponse, d as NavigationItemRecord, o as EntriesResponse, p as PageResponse } from "./contracts-
|
|
2
|
-
import { _ as RiverbankClient } from "./types-
|
|
1
|
+
import { I as SiteResponse, d as NavigationItemRecord, o as EntriesResponse, p as PageResponse } from "./contracts-CzWyAiJj.js";
|
|
2
|
+
import { _ as RiverbankClient } from "./types-CT-KOxl_.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/prebuild/types.d.ts
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as BodyTextContent$1, C as NewsletterSignupContent$1, D as ContactNewsletterContent$1, E as EventDetailsContent$1, Gi as Brand, Ji as RichTextDoc, Jn as DisplayMode$1, Kn as CalendarTabViews$1, Kr as Media, O as FormBlockContent$1, Ri as EventOccurrenceContextData, S as ClassPricesContent, T as EventCalendarContent$1, Ui as EventCategoryId, Wi as VenueId, Xn as FilterAutoShow$1, Yn as EventLayout$1, Zn as WeekStart$1, ar as EntryLinkValue$1, cr as LinkValue$1, di as SiteFooterContent$1, fr as ContentFrameIntent$1, ht as SectionStylesContent$1, ir as CustomLinkValue$1, k as LocationMapContent$1, lr as PageLinkValue$1, mi as PageRuntimeJoin$1, mt as ContainerStylesContent$1, or as ExternalLinkValue$1, pt as CardStylesContent$1, qi as BindingTransformName$1, qn as ColumnOption$1, sr as InternalLinkValue$1, w as ImageGalleryContent$1, zi as EventPageSubrouteContext } from "./request-BjKBCS7t.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/contracts/content.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as SiteResponse, _ as PublicEndpointName, l as HTTPMethod, m as PublicAPIEndpoints, o as EntriesResponse, p as PageResponse, r as ApiResult } from "./contracts-
|
|
2
|
-
import { a as GetEntriesBaseParams, i as EntriesResponseWithMeta } from "./types-
|
|
3
|
-
import { i as NavigationCacheFile, r as FormsCacheFile, s as PrebuildManifest } from "./index-
|
|
1
|
+
import { I as SiteResponse, _ as PublicEndpointName, l as HTTPMethod, m as PublicAPIEndpoints, o as EntriesResponse, p as PageResponse, r as ApiResult } from "./contracts-CzWyAiJj.js";
|
|
2
|
+
import { a as GetEntriesBaseParams, i as EntriesResponseWithMeta } from "./types-CT-KOxl_.js";
|
|
3
|
+
import { i as NavigationCacheFile, r as FormsCacheFile, s as PrebuildManifest } from "./index-CaCum9mM.js";
|
|
4
4
|
|
|
5
5
|
//#region .cache/declarations/sdk/src/prebuild/loader.d.ts
|
|
6
6
|
interface PrebuildLoaderConfig {
|