@riverbankcms/sdk 0.159.0 → 0.161.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 +4 -4
- package/dist/_dts/{BlocksIslandsHydrator-Cj1i1Yhh.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
- package/dist/_dts/{Page-Cgzbv22M.d.ts → Page-Dm7_P13o.d.ts} +217 -8
- package/dist/_dts/{SdkPreviewMode-BC_FGc6b.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +55 -127
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-BOK-YHVJ.d.ts → client-Ep0jI9eE.d.ts} +1 -1
- package/dist/_dts/{content-types-CsrYWxq_.d.ts → content-types-BgAzCrBc.d.ts} +18 -18
- package/dist/_dts/{contracts-ClgMD-9g.d.ts → contracts-DUiOnj9e.d.ts} +10 -6
- package/dist/_dts/{footerPageOutline-C_IDuELl.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-B7bhYSWx.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
- package/dist/_dts/index-BQDBQvdu.d.ts +13 -0
- package/dist/_dts/index-BVkP8f70.d.ts +66 -0
- package/dist/_dts/{index-Dt3XSGzY.d.ts → index-CF6Cjs7b.d.ts} +2 -2
- package/dist/_dts/{index-Ci1PEk82.d.ts → index-CSsfq6KG.d.ts} +3 -17
- package/dist/_dts/{index-BZ4fb2zz.d.ts → index-D_8uz4OP.d.ts} +3 -3
- package/dist/_dts/{index-CcaG6O13.d.ts → index-DvKQA6AZ.d.ts} +4 -4
- package/dist/_dts/{index-DMOfW1A7.d.ts → index-KPrWM0KF.d.ts} +2 -2
- package/dist/_dts/{index-DzUdUaJ-.d.ts → index-ylivB7Jj.d.ts} +2 -2
- package/dist/_dts/{loadContent-C1JI2pG0.d.ts → loadContent-DTjKOO-T.d.ts} +19 -10
- package/dist/_dts/{resolvePageContent-BtRUtrJa.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
- package/dist/_dts/{constants-DkcKHMX-.d.ts → runtime-BY8DQBbT.d.ts} +10 -16
- package/dist/_dts/{hosted-booking-appearance-ChGCQYdQ.d.ts → schema-BHu0PYWl.d.ts} +25911 -23567
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +13 -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/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +6 -6
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +10 -28
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- 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/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{navigation-BnV_hOZy.d.ts → types-BR1Yboa9.d.ts} +15530 -16017
- package/dist/_dts/{types-CMFIZGUI.d.ts → types-CJXTCF_F.d.ts} +10 -13
- package/dist/_dts/{types-CI9dYWJ8.d.ts → types-D02ngcUH.d.ts} +4 -2
- package/dist/_dts/{types--oWXIfyz.d.ts → types-ZGUiHpDE.d.ts} +7 -7
- package/dist/_dts/{validation-Ct-GL0eA.d.ts → validation-BaV565gb.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DKS8Ba30.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
- package/dist/client/{BookingMailingListNote-Cg9v6d7Y.mjs → BookingMailingListNote-BDpxmn1p.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-BoVCTUXy.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
- package/dist/client/{CheckboxChoice-BF9eCNno.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-BxRVCJG3.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-DHxYgkT6.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BI-kvwXf.mjs → EventCalendar.client-BxQLY5cX.mjs} +10 -9
- package/dist/client/{EventCombined.client-DIvnoN5l.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-B3XUyNY9.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
- package/dist/client/{EventItem-BRMtEaa6.mjs → EventItem-BEx-qiDE.mjs} +11 -6
- package/dist/client/{EventListWeekNavigation-B8DzAUDa.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
- package/dist/client/{EventListing.client-Bo4qzQi0.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
- package/dist/client/{EventListing.view-D2vemnCx.mjs → EventListing.view-9RFrBejr.mjs} +31 -15
- package/dist/client/{EventRegistrationPayment-e5XWtygG.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +92 -99
- package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
- package/dist/client/{Page-Dqpv9Ggi.mjs → Page-Bf2nPACI.mjs} +2673 -2290
- package/dist/client/{StepIndicator-BrvKa_8H.mjs → StepIndicator-CZweb1vs.mjs} +3 -3
- package/dist/client/{TabBarFragment-DvzIV75f.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
- package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
- package/dist/client/{accordion-ByLpb4Dz.mjs → accordion-TcimLLRQ.mjs} +1 -1
- package/dist/client/{booking-form.client-BLndwxpx.mjs → booking-form.client-q-RpJ4aF.mjs} +13 -13
- package/dist/client/{bookingForm-CTxTEgHX.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-C8ef0vnT.mjs → carousel-CGAk6j0m.mjs} +2 -2
- package/dist/client/{carousel.client-BJGoJVtg.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
- package/dist/client/{cart-BpH6jkUO.mjs → cart-D_h3rAZ2.mjs} +3 -3
- package/dist/client/{cart.client-DV78Td13.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
- package/dist/client/{checkout-BJVb2RpL.mjs → checkout-tC-3CzuM.mjs} +3 -3
- package/dist/client/{checkout.client-CqGPXPSm.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
- package/dist/client/client.mjs +28 -15
- package/dist/client/{context-BRgBWthI.mjs → context-9ZfMb6GA.mjs} +1 -1
- package/dist/client/{cta-D8ucLsvX.mjs → cta-D-ZqL7-e.mjs} +2 -1
- package/dist/client/{dateFormatting-LeKNQ-iX.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CjstiFPh.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-BaQJyI9x.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
- package/dist/client/{event-details.client-CYNQYOsP.mjs → event-details.client-C670TgRd.mjs} +2 -17
- package/dist/client/{event-registration.client-DDqSpN36.mjs → event-registration.client-C6GApWTB.mjs} +17 -17
- package/dist/client/{eventCalendar-3vQtuC9X.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
- package/dist/client/{eventCombined-CEJFMjqV.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
- package/dist/client/{eventDetails-nGh47jef.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
- package/dist/client/{eventListing-BL3Ptb83.mjs → eventListing-C_yXmHyz.mjs} +4 -4
- package/dist/client/{eventRegistration-DDSO6KB2.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
- package/dist/client/{form-DjNLfy2Z.mjs → form-QZhtdFHA.mjs} +3 -3
- package/dist/client/{form.client-Cj0By6ot.mjs → form.client-CgvPACwG.mjs} +5 -5
- package/dist/client/{form.parts-DyA9C5Hy.mjs → form.parts-2uI0-5N-.mjs} +3 -3
- package/dist/client/{formatDate-CZo0MPTA.mjs → formatDate-Danr0Nk4.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-JjSq6Mzp.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
- package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
- package/dist/client/{newsletter-form.client-C2EgEBP1.mjs → newsletter-form.client-Cbepz2KU.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-CaldoFmi.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
- package/dist/client/{newsletterForm-hm7L17LM.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
- package/dist/client/{noop-M8FTSgm2.mjs → noop-B7H6gCbj.mjs} +306 -5
- package/dist/client/portal/client.mjs +4560 -115
- package/dist/client/{product-detail.client-y86uwzEI.mjs → product-detail.client-CYTR165c.mjs} +1 -1
- package/dist/client/{product-list.client-_JBndYZT.mjs → product-list.client-B4vTvag8.mjs} +1 -1
- package/dist/client/{productDetail-D-9fb2cW.mjs → productDetail-k8LEMSWn.mjs} +3 -3
- package/dist/client/{productList-BSRlnwBW.mjs → productList-DEo8Bqoe.mjs} +3 -3
- package/dist/client/{propsDecoder-DhbGL302.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
- package/dist/client/{registry.server-BaX0hxf5.mjs → registry.server-BTmSXE3D.mjs} +1154 -997
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +57 -32
- package/dist/client/{richText-coerce-Cny2Ukb6.mjs → richText-coerce-B19taoH6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-96er7pIx.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
- package/dist/client/{ThemedButton-DVBC_pS9.mjs → schema-C-m8XHuW.mjs} +1123 -2362
- package/dist/client/{shop-CnIJfdZA.mjs → shop-RGWa43H7.mjs} +3 -3
- package/dist/client/{shop-commerce-CsLwzq5O.mjs → shop-commerce-TJYCBO_H.mjs} +12 -12
- package/dist/client/{shop-commerce-store--O8GRBwr.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
- package/dist/client/{shop.client-BcaJ-acA.mjs → shop.client-tsKfZw1W.mjs} +15 -15
- package/dist/client/{shop.interactive-BxL_bshW.mjs → shop.interactive-CVqLAU53.mjs} +370 -189
- package/dist/client/{shopShared-VZjPOfCX.mjs → shopShared-C3lHMz_R.mjs} +2 -2
- package/dist/client/{src-7cXhT0G_.mjs → src-VIsPY-kw.mjs} +6 -1
- package/dist/client/timetableModel-V2ifvGGy.mjs +1100 -0
- package/dist/client/{useAvailableSlots-pTXuY3jV.mjs → useAvailableSlots-D1X69-pN.mjs} +4 -4
- package/dist/client/{useBookingNowIso-D14J-EhJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
- package/dist/client/{useDiscountApply-o5sIVZ2u.mjs → useDiscountApply-Bwzr1RjV.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DJhFP_rg.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
- package/dist/client/{useEventPagination-DMmNf2FP.mjs → useEventPagination-CLAS0upd.mjs} +12 -24
- package/dist/client/uuid-BETKW8rS.mjs +12 -0
- package/dist/client/{view-BgPql2yH2.mjs → view-BUh4LnLS.mjs} +4 -4
- package/dist/client/{view-D1R3Lk05.mjs → view-Dj_FZHmg.mjs} +19 -15
- package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
- package/dist/preview-next/before-render.mjs +5 -4
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-BFlBqSu4.mjs → EventEmbeddedCheckoutStep-CwerMfzn.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DADCj_ET.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +1328 -171
- package/dist/preview-next/client/{PreviewEditorUI-La40Dmmh.mjs → PreviewEditorUI-BdFjS39R.mjs} +53 -79
- package/dist/preview-next/client/{SdkPreviewModeRuntime-406Hw9zY.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +1249 -2551
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWN44I_B.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-BdwEZoo9.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +117481 -162497
- package/dist/preview-next/client/{ThemedButton-BEOPss9H.mjs → ThemedButton-b14Bv03E.mjs} +1253 -403
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{previewChromeSurface-BVUKIYG0.mjs → previewChromeSurface-Dd1_mNIg.mjs} +3 -8
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-Cy9AKPy5.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
- package/dist/preview-next/client/{spinner-Bhpzz2vO.mjs → spinner-CGxS8Ns-.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +64 -2
- package/dist/preview-next/editor-chrome.css +85 -0
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{route-contract-DM22uOXM.mjs → route-contract-hLg-yjQN.mjs} +190 -116
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-DB6fb1pR.mjs → Block.shared-CeTd2saO.mjs} +6 -6
- package/dist/server/{bindings-z2daXp-2.mjs → bindings-C5YpKuKt.mjs} +3 -2
- package/dist/server/{client-Cv-osXoU.mjs → client-Cv26lZQ4.mjs} +14 -10
- package/dist/server/config-template-validation.mjs +50 -10
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-BangtD8A.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +572 -1078
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BNMDYCm8.mjs → loadContent-C8a0b-cC.mjs} +40 -21
- package/dist/server/loadPage--DXBwI8V.mjs +2 -0
- package/dist/server/{loadPage-CjA_F_AF.mjs → loadPage-BW7dklu3.mjs} +9 -5
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-CGodrtqi.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
- package/dist/server/{overrides-DxRC724a.mjs → overrides-D1fiPOKF.mjs} +1158 -754
- package/dist/server/page-converter.mjs +8 -10
- package/dist/server/{prebuild-C6bhjRKT.mjs → prebuild--fO0E2tr.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DZ5Fq_-r.mjs → prefetchBlockData-CqJnokWJ.mjs} +968 -968
- package/dist/server/{publicProducts-C3meXS2o.mjs → publicProducts-CvvZ4JIe.mjs} +207 -132
- package/dist/server/{blocks-BaG8Qpaa.mjs → registry-BVfCqaCq.mjs} +2853 -2799
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CbGDakvp.mjs → resolveBlockData-DPNvhXEz.mjs} +6 -3
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-Bs735S27.mjs → schema-CD4peO7m.mjs} +2441 -1401
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
- package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
- package/dist/server/{src-B935_bzN.mjs → src-ILxc6pid.mjs} +427 -190
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-DK2YBNqy.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
- package/dist/server/{three-pass-converter-CmmchOFC.mjs → three-pass-converter-Chnb1XD-.mjs} +2 -58
- package/dist/server/{validation-BtHE2S_D.mjs → validation-B1ieVemg.mjs} +22 -63
- package/dist/server/{version-CNCdL6id.mjs → version-BQK44wFg.mjs} +1 -1
- package/dist/styles/index.css +235 -0
- package/package.json +8 -3
- package/dist/_dts/index-CXsnaCGe.d.ts +0 -10
- package/dist/_dts/index-cnymEAZY.d.ts +0 -1
- package/dist/client/LeafletStaticMap-dlapZ6mi.mjs +0 -135
- package/dist/client/location-map.client-DRN1JePj.mjs +0 -28
- package/dist/client/location-map.view-CuCvQdvp.mjs +0 -282
- package/dist/client/locationMap-B9srHHzZ.mjs +0 -15
- package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/timetableModel-D09jPdue.mjs +0 -480
- package/dist/client/wizardSteps-C0TsNqJc.mjs +0 -17049
- package/dist/preview-next/client/siteStyleAccess-CFMmoMZb.mjs +0 -1326
- package/dist/server/loadPage-jade28Xh.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { gt as SiteHeaderContent, ht as SiteFooterContent, r as MediaAssetIndexItem } from "./index-
|
|
4
|
-
import { d as SdkCustomBlock, f as SdkThemeConfig } from "./types-
|
|
1
|
+
import { _ as PublicServiceCategorySummary$1, a as SiteRuntimeIdentity, b as SiteRuntimeSiteTerms, d as ResolveEventSubrouteResponse$1, f as PublicPassesResponse$1, g as PublicBookingServicesResponse$1, h as PublicBookingServiceCatalogueItem$1, i as SiteBookingOfferingPresetSummary$1, l as SdkBlockContentAdmission, n as SdkRuntimePageSurface$1, o as SiteRuntimeSelectionPayload, r as SdkRuntimePageSurfaceSubject$1, t as SdkLocationMapSupport, u as ResolveEventSubrouteQuery, w as ApiErrorCode$1, x as RoutableContentItem$1, y as SdkRuntimeEntry$1 } from "./types-BR1Yboa9.js";
|
|
2
|
+
import { D as FooterMode, Fr as PageRuntimeJoin, Mi as MailingListRuntimeContext, Tr as PublicEvent, f as Media, ja as BookingTimeZone, la as BusinessAddress, li as ResolvedInternalLinkEntityType, ma as PublicLocation, ta as WeeklyOpeningHours, ua as BusinessLocationPermission } from "./schema-BHu0PYWl.js";
|
|
3
|
+
import { gt as SiteHeaderContent, ht as SiteFooterContent, r as MediaAssetIndexItem } from "./index-CSsfq6KG.js";
|
|
4
|
+
import { d as SdkCustomBlock, f as SdkThemeConfig, u as RiverbankSiteConfig } from "./types-CJXTCF_F.js";
|
|
5
5
|
|
|
6
6
|
//#region .cache/declarations/sdk/src/public-api/teamMemberContracts.d.ts
|
|
7
7
|
type PublicTeamMemberSummary = {
|
|
@@ -36,6 +36,7 @@ type ResolveEventRunResponse = Readonly<{
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region .cache/declarations/sdk/src/public-api/contracts.d.ts
|
|
38
38
|
type RuntimeSiteSdkConfig = {
|
|
39
|
+
builtInBlocks?: RiverbankSiteConfig['builtInBlocks'];
|
|
39
40
|
layout?: {
|
|
40
41
|
footerMode?: FooterMode;
|
|
41
42
|
};
|
|
@@ -331,7 +332,9 @@ type SiteResponse = SiteRuntimeSelectionPayload & {
|
|
|
331
332
|
deployment_mode?: 'managed' | 'headless_cms' | 'headless_full' | null;
|
|
332
333
|
is_sdk_site?: boolean | null;
|
|
333
334
|
businessAddress?: BusinessAddress | null;
|
|
334
|
-
|
|
335
|
+
businessLocationPermission?: BusinessLocationPermission;
|
|
336
|
+
businessLocation?: PublicLocation | null;
|
|
337
|
+
venuesById?: Record<string, PublicLocation>;
|
|
335
338
|
};
|
|
336
339
|
favicon?: {
|
|
337
340
|
assetId: string;
|
|
@@ -439,6 +442,7 @@ type SdkRuntimePageSurfaceSubject = SdkRuntimePageSurfaceSubject$1;
|
|
|
439
442
|
type SdkRuntimePageSurface = SdkRuntimePageSurface$1;
|
|
440
443
|
type PageResponse = {
|
|
441
444
|
page: SdkRuntimePage;
|
|
445
|
+
locationMapSupport?: SdkLocationMapSupport;
|
|
442
446
|
templates?: SdkTemplate[];
|
|
443
447
|
mediaAssets?: SdkRuntimeMediaAsset[];
|
|
444
448
|
type?: 'page';
|
|
@@ -527,7 +531,7 @@ interface FormRecord {
|
|
|
527
531
|
updatedAt: string | null;
|
|
528
532
|
}
|
|
529
533
|
type PublicFormResponse = {
|
|
530
|
-
form: FormRecord;
|
|
534
|
+
form: FormRecord | null;
|
|
531
535
|
};
|
|
532
536
|
type PublicFormsResponse = {
|
|
533
537
|
forms: FormRecord[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { F as SiteFooterBlock, I as SiteResponse } from "./contracts-
|
|
5
|
-
import { _ as RiverbankClient } from "./types-
|
|
6
|
-
import { C as BlockOverrideComponent, g as RenderablePageOutline, r as SdkOverrideOnlyRendering, s as SdkThemeRuntime } from "./Page-
|
|
1
|
+
import { t as Theme, ur as BrowserReadAuthority } from "./schema-BHu0PYWl.js";
|
|
2
|
+
import { z as BlockKind } from "./content-types-BgAzCrBc.js";
|
|
3
|
+
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-CSsfq6KG.js";
|
|
4
|
+
import { F as SiteFooterBlock, I as SiteResponse } from "./contracts-DUiOnj9e.js";
|
|
5
|
+
import { _ as RiverbankClient } from "./types-D02ngcUH.js";
|
|
6
|
+
import { C as BlockOverrideComponent, g as RenderablePageOutline, r as SdkOverrideOnlyRendering, s as SdkThemeRuntime } from "./Page-Dm7_P13o.js";
|
|
7
7
|
import { buildFooterMenu, buildFooterMenuForRole, buildLogo, buildLogoVariants, buildMenu } from "./sdk/src/navigation/index.js";
|
|
8
8
|
//#region .cache/declarations/sdk/src/rendering/components/Layout.d.ts
|
|
9
9
|
type CustomHeaderData = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as SiteResponse } from "./contracts-
|
|
2
|
-
import { H as LoadPageResult } from "./Page-
|
|
1
|
+
import { I as SiteResponse } from "./contracts-DUiOnj9e.js";
|
|
2
|
+
import { H as LoadPageResult } from "./Page-Dm7_P13o.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/metadata/generatePageMetadata.d.ts
|
|
5
5
|
/**
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { E as ThemeResponsiveMode } from "./schema-BHu0PYWl.js";
|
|
2
|
+
//#region .cache/declarations/theme-core/src/themeRuntime.d.ts
|
|
3
|
+
type ThemeRuntime = {
|
|
4
|
+
kind: "cms-theme";
|
|
5
|
+
responsiveMode?: ThemeResponsiveMode;
|
|
6
|
+
} | {
|
|
7
|
+
kind: "responsive-only";
|
|
8
|
+
responsiveMode?: ThemeResponsiveMode;
|
|
9
|
+
} | {
|
|
10
|
+
kind: "none";
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { ThemeRuntime as t };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Kr as HexColor } from "./schema-BHu0PYWl.js";
|
|
2
|
+
import { z as z$1 } from "zod";
|
|
3
|
+
|
|
4
|
+
//#region .cache/declarations/theme-core/src/hosted-booking-appearance.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* The complete appearance contract accepted by the hosted-booking renderer.
|
|
7
|
+
* It deliberately contains only the simplified theme choices: semantic
|
|
8
|
+
* palette, palette mode, two font roles, and the canonical corner shape.
|
|
9
|
+
*/
|
|
10
|
+
declare const hostedBookingAppearanceSchema: z$1.ZodObject<{
|
|
11
|
+
palette: z$1.ZodPipe<z$1.ZodObject<{
|
|
12
|
+
primary: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
13
|
+
primaryForeground: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
14
|
+
secondary: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
15
|
+
accent: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
16
|
+
success: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
17
|
+
warning: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
18
|
+
destructive: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
19
|
+
background: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
20
|
+
surface: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
21
|
+
surfaceAlt: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
22
|
+
muted: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
23
|
+
text: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
24
|
+
border: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<HexColor, string>>;
|
|
25
|
+
}, z$1.core.$strict>, z$1.ZodTransform<Readonly<Record<"accent" | "background" | "border" | "destructive" | "muted" | "primary" | "primaryForeground" | "secondary" | "success" | "surface" | "surfaceAlt" | "text" | "warning", HexColor>>, {
|
|
26
|
+
primary: HexColor;
|
|
27
|
+
primaryForeground: HexColor;
|
|
28
|
+
secondary: HexColor;
|
|
29
|
+
accent: HexColor;
|
|
30
|
+
success: HexColor;
|
|
31
|
+
warning: HexColor;
|
|
32
|
+
destructive: HexColor;
|
|
33
|
+
background: HexColor;
|
|
34
|
+
surface: HexColor;
|
|
35
|
+
surfaceAlt: HexColor;
|
|
36
|
+
muted: HexColor;
|
|
37
|
+
text: HexColor;
|
|
38
|
+
border: HexColor;
|
|
39
|
+
}>>;
|
|
40
|
+
paletteMode: z$1.ZodEnum<{
|
|
41
|
+
dark: "dark";
|
|
42
|
+
light: "light";
|
|
43
|
+
}>;
|
|
44
|
+
typography: z$1.ZodObject<{
|
|
45
|
+
headingFamily: z$1.ZodString;
|
|
46
|
+
bodyFamily: z$1.ZodString;
|
|
47
|
+
}, z$1.core.$strict>;
|
|
48
|
+
corners: z$1.ZodEnum<{
|
|
49
|
+
pill: "pill";
|
|
50
|
+
rounded: "rounded";
|
|
51
|
+
soft: "soft";
|
|
52
|
+
square: "square";
|
|
53
|
+
}>;
|
|
54
|
+
}, z$1.core.$strict>;
|
|
55
|
+
type HostedBookingAppearance = Readonly<z$1.infer<typeof hostedBookingAppearanceSchema>>;
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region .cache/declarations/field-primitives/src/bindings/index.d.ts
|
|
58
|
+
declare const BINDING_TRANSFORMS: {
|
|
59
|
+
readonly RICHTEXT_FIRST_PARAGRAPH: 'richtext.firstParagraph';
|
|
60
|
+
readonly DATE_FORMAT_SHORT: 'date.formatShort';
|
|
61
|
+
readonly DATE_FORMAT_LONG: 'date.formatLong';
|
|
62
|
+
readonly TEXT_INLINE_TEXT: 'text.inlineText';
|
|
63
|
+
};
|
|
64
|
+
type BindingTransformName = (typeof BINDING_TRANSFORMS)[keyof typeof BINDING_TRANSFORMS];
|
|
65
|
+
//#endregion
|
|
66
|
+
export { HostedBookingAppearance as n, BindingTransformName as t };
|
|
@@ -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-DUiOnj9e.js";
|
|
2
|
+
import { _ as RiverbankClient } from "./types-D02ngcUH.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/prebuild/types.d.ts
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as BindingTransformName$1 } from "./index-
|
|
1
|
+
import { Cr as EventLayout$1, Dr as WeekStart$1, Fr as PageRuntimeJoin$1, G as EventDetailsContent$1, H as NewsletterSignupContent$1, It as CardStylesContent$1, K as SiteFooterContent$1, Lt as ContainerStylesContent$1, Q as BodyTextContent$1, Qr as ContentFrameIntent$1, Rt as SectionStylesContent$1, Sr as DisplayMode$1, Ta as RichTextDoc, U as ImageGalleryContent$1, Ua as EventOccurrenceContextData, W as EventCalendarContent$1, Wa as EventPageSubrouteContext, X as FormBlockContent$1, Y as ContactNewsletterContent$1, Z as LocationMapContent$1, ai as ExternalLinkValue$1, br as CalendarTabViews$1, ci as PageLinkValue$1, f as Media, ii as EntryLinkValue$1, io as EventCategoryId, no as Brand, oi as InternalLinkValue$1, ri as CustomLinkValue$1, si as LinkValue$1, wr as FilterAutoShow$1, xr as ColumnOption$1, yo as VenueId } from "./schema-BHu0PYWl.js";
|
|
2
|
+
import { t as BindingTransformName$1 } from "./index-BVkP8f70.js";
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
//#region .cache/declarations/sdk/src/contracts/content.d.ts
|
|
@@ -622,21 +622,7 @@ type BlogPostContent = {
|
|
|
622
622
|
postSlug?: string | null;
|
|
623
623
|
};
|
|
624
624
|
type FormBlockContent = FormBlockContent$1;
|
|
625
|
-
type LocationMapContent =
|
|
626
|
-
showOpeningHours?: boolean | null;
|
|
627
|
-
heading?: string | null;
|
|
628
|
-
location?: {
|
|
629
|
-
addressText?: string | null;
|
|
630
|
-
lat?: number | null;
|
|
631
|
-
lng?: number | null;
|
|
632
|
-
} | null;
|
|
633
|
-
showAddressText?: boolean | null;
|
|
634
|
-
showDirections?: boolean | null;
|
|
635
|
-
directionsLabel?: string | null;
|
|
636
|
-
zoom?: number | null;
|
|
637
|
-
heightPx?: number | null;
|
|
638
|
-
_sectionStyles?: SectionStylesContent;
|
|
639
|
-
};
|
|
625
|
+
type LocationMapContent = LocationMapContent$1;
|
|
640
626
|
type SingleButtonContent = {
|
|
641
627
|
title?: string | null;
|
|
642
628
|
button?: {
|
|
@@ -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-DUiOnj9e.js";
|
|
2
|
+
import { a as GetEntriesBaseParams, i as EntriesResponseWithMeta } from "./types-D02ngcUH.js";
|
|
3
|
+
import { i as NavigationCacheFile, r as FormsCacheFile, s as PrebuildManifest } from "./index-CF6Cjs7b.js";
|
|
4
4
|
//#region .cache/declarations/sdk/src/prebuild/loader.d.ts
|
|
5
5
|
interface PrebuildLoaderConfig {
|
|
6
6
|
/** Path to prebuild cache directory */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { u as RiverbankSiteConfig } from "./types-
|
|
1
|
+
import { Da as TipTapNode, Ta as RichTextDoc, f as Media } from "./schema-BHu0PYWl.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-BgAzCrBc.js";
|
|
3
|
+
import { It as LinkValue, Pt as InlineText, c as NodeDefinition, u as BindingTransformName } from "./index-CSsfq6KG.js";
|
|
4
|
+
import { u as RiverbankSiteConfig } from "./types-CJXTCF_F.js";
|
|
5
5
|
import { z as z$1 } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region .cache/declarations/sdk/src/config/bindings.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PreviewShellProps, i as PreviewShellLayoutProps, n as SdkPreviewModeProps } from "./SdkPreviewMode-
|
|
2
|
-
import React, { ComponentProps, ReactNode } from "react";
|
|
1
|
+
import { a as PreviewShellProps, i as PreviewShellLayoutProps, n as SdkPreviewModeProps } from "./SdkPreviewMode-D7HdWWwF.js";
|
|
2
|
+
import React, { ComponentProps, ReactElement, ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/preview-next/client/index.d.ts
|
|
5
5
|
type PreviewQueryProviderProps = Readonly<{
|
|
@@ -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-DUiOnj9e.js";
|
|
2
|
+
import { _ as RiverbankClient, m as ResilienceStatus, v as RiverbankClientConfig } from "./types-D02ngcUH.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/client/error.d.ts
|
|
5
5
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-
|
|
4
|
-
import { d as SdkCustomBlock } from "./types-
|
|
5
|
-
import { I as SiteResponse, N as SdkRuntimePageSurfaceSubject } from "./contracts-
|
|
6
|
-
import { _ as RiverbankClient } from "./types-
|
|
7
|
-
import {
|
|
1
|
+
import { b as SiteRuntimeSiteTerms } from "./types-BR1Yboa9.js";
|
|
2
|
+
import { A as BlockLoaderFailures, Aa as UtcIsoDateTimeString, M as PrefetchedBlockData, Mi as MailingListRuntimeContext, j as BlockLoaderSnapshot, ja as BookingTimeZone, t as Theme, ta as WeeklyOpeningHours } from "./schema-BHu0PYWl.js";
|
|
3
|
+
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-CSsfq6KG.js";
|
|
4
|
+
import { d as SdkCustomBlock } from "./types-CJXTCF_F.js";
|
|
5
|
+
import { I as SiteResponse, N as SdkRuntimePageSurfaceSubject } from "./contracts-DUiOnj9e.js";
|
|
6
|
+
import { _ as RiverbankClient } from "./types-D02ngcUH.js";
|
|
7
|
+
import { G as SiteLocationRenderContext, Q as DataLoaderSearchParams, W as RuntimeSdkConfig, X as DataLoaderPreviewStage, Y as DataLoaderOverrides, et as ResolvedBlockData, n as PageProps } from "./Page-Dm7_P13o.js";
|
|
8
8
|
|
|
9
9
|
//#region .cache/declarations/sdk/src/rendering/helpers/loadContent.d.ts
|
|
10
10
|
/**
|
|
@@ -73,8 +73,11 @@ type PagePreviewMetadata = {
|
|
|
73
73
|
*/
|
|
74
74
|
type PageContentResult = {
|
|
75
75
|
type: 'page';
|
|
76
|
-
dataContext: {
|
|
76
|
+
dataContext: SiteLocationRenderContext & {
|
|
77
77
|
previewStage: DataLoaderPreviewStage;
|
|
78
|
+
prefetchedBlockData?: PrefetchedBlockData;
|
|
79
|
+
loaderSnapshot?: BlockLoaderSnapshot;
|
|
80
|
+
loaderFailures?: BlockLoaderFailures;
|
|
78
81
|
}; /** Page UUID (required for preview editing / block mutations) */
|
|
79
82
|
pageId: string; /** Route UUID for this page (used by preview mode metadata editing) */
|
|
80
83
|
routeId: string | null; /** Draft/published metadata record (used to seed the preview editor) */
|
|
@@ -122,8 +125,11 @@ type EntryContentResult = {
|
|
|
122
125
|
mailingList?: MailingListRuntimeContext;
|
|
123
126
|
bookingTimeZone: BookingTimeZone;
|
|
124
127
|
now: UtcIsoDateTimeString; /** Data context for template blocks (includes entry content for bindings) */
|
|
125
|
-
dataContext: {
|
|
128
|
+
dataContext: SiteLocationRenderContext & {
|
|
126
129
|
previewStage: DataLoaderPreviewStage;
|
|
130
|
+
prefetchedBlockData?: PrefetchedBlockData;
|
|
131
|
+
loaderSnapshot?: BlockLoaderSnapshot;
|
|
132
|
+
loaderFailures?: BlockLoaderFailures;
|
|
127
133
|
contentEntry: Record<string, unknown>;
|
|
128
134
|
}; /** Site theme for styling (useful if rendering with SDK components) */
|
|
129
135
|
theme: Theme | null; /** Site ID */
|
|
@@ -182,8 +188,11 @@ type PageSurfaceContentResult = {
|
|
|
182
188
|
mailingList?: MailingListRuntimeContext;
|
|
183
189
|
bookingTimeZone: BookingTimeZone;
|
|
184
190
|
now: UtcIsoDateTimeString;
|
|
185
|
-
dataContext: {
|
|
191
|
+
dataContext: SiteLocationRenderContext & {
|
|
186
192
|
previewStage: DataLoaderPreviewStage;
|
|
193
|
+
prefetchedBlockData?: PrefetchedBlockData;
|
|
194
|
+
loaderSnapshot?: BlockLoaderSnapshot;
|
|
195
|
+
loaderFailures?: BlockLoaderFailures;
|
|
187
196
|
pageSurface: Record<string, unknown>;
|
|
188
197
|
subject: PageSurfaceContentData['subject'];
|
|
189
198
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as ContentTypeConfig } from "./content-types-
|
|
2
|
-
import { R as ResolveEventOccurrenceResponse, a as ContentTypeRoutingInfo, z as ResolveEventRunResponse } from "./contracts-
|
|
1
|
+
import { i as ContentTypeConfig } from "./content-types-BgAzCrBc.js";
|
|
2
|
+
import { R as ResolveEventOccurrenceResponse, a as ContentTypeRoutingInfo, z as ResolveEventRunResponse } from "./contracts-DUiOnj9e.js";
|
|
3
3
|
//#region .cache/declarations/sdk/src/routing/contentTypeResolver.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Convert local SDK ContentTypeConfig to ContentTypeRoutingInfo.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z as z$1 } from "zod";
|
|
2
|
+
import { LanguageModel, generateObject } from "ai";
|
|
2
3
|
|
|
3
4
|
//#region .cache/declarations/sdk/src/ai/runtime.d.ts
|
|
4
5
|
type RuntimeCtx = {
|
|
@@ -11,6 +12,7 @@ type AiChatMessage = {
|
|
|
11
12
|
role: 'user' | 'assistant' | 'system';
|
|
12
13
|
content: string;
|
|
13
14
|
};
|
|
15
|
+
type ProviderOptions = NonNullable<Parameters<typeof generateObject>[0]['providerOptions']>;
|
|
14
16
|
/**
|
|
15
17
|
* AI runtime context passed to the provider implementation.
|
|
16
18
|
*
|
|
@@ -18,13 +20,17 @@ type AiChatMessage = {
|
|
|
18
20
|
* provide `getAiResponse` from that package without adapters, while keeping `@riverbankcms/sdk`
|
|
19
21
|
* free of any hard dependency on `@riverbankcms/ai`.
|
|
20
22
|
*/
|
|
21
|
-
type
|
|
22
|
-
model: string
|
|
23
|
+
type AiModel = Readonly<{
|
|
24
|
+
model: Exclude<LanguageModel, string>;
|
|
25
|
+
providerOptions: ProviderOptions;
|
|
26
|
+
}>;
|
|
27
|
+
type AiContext<_T> = {
|
|
28
|
+
model: AiModel;
|
|
23
29
|
system?: string;
|
|
24
30
|
temperature?: number;
|
|
25
31
|
maxTokens?: number;
|
|
26
32
|
tools?: Record<string, unknown>;
|
|
27
|
-
providerOptions?:
|
|
33
|
+
providerOptions?: ProviderOptions;
|
|
28
34
|
onEvent?: (event: Record<string, unknown>) => void;
|
|
29
35
|
};
|
|
30
36
|
type AiResponseSpecJson<T> = {
|
|
@@ -71,16 +77,4 @@ type AiRuntime = {
|
|
|
71
77
|
getAiResponse: GetAiResponse;
|
|
72
78
|
};
|
|
73
79
|
//#endregion
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Manifest Generator Constants
|
|
77
|
-
*
|
|
78
|
-
* Configuration constants for the HTML-to-manifest converter.
|
|
79
|
-
*/
|
|
80
|
-
/**
|
|
81
|
-
* Default model for manifest generation.
|
|
82
|
-
* Can be overridden via the RIVERBANK_MANIFEST_MODEL environment variable.
|
|
83
|
-
*/
|
|
84
|
-
declare const DEFAULT_MANIFEST_MODEL: string;
|
|
85
|
-
//#endregion
|
|
86
|
-
export { AiRuntime as n, DEFAULT_MANIFEST_MODEL as t };
|
|
80
|
+
export { AiRuntime as n, AiModel as t };
|