@riverbankcms/sdk 0.176.0 → 0.177.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 +12 -4
- package/dist/_dts/{BlocksIslandsHydrator-DvoTk7Py.d.ts → BlocksIslandsHydrator-sYraeqm9.d.ts} +1 -1
- package/dist/_dts/{Page-D-l374tU.d.ts → Page-Bp7hTDTy.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-22DdQAj5.d.ts → SdkPreviewMode-CxkCCyKw.d.ts} +2 -2
- package/dist/_dts/{client-D4p0J1lK.d.ts → client-K6UhbL3t.d.ts} +1 -1
- package/dist/_dts/{content-types-0WWR6dC4.d.ts → content-types-BLAdIMyr.d.ts} +4 -8
- package/dist/_dts/{contracts-f_ZG_SwY.d.ts → contracts-BG7yTZ6t.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DSeZvOaj.d.ts → footerPageOutline-DwMHeYmQ.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-BlitPA2D.d.ts → generatePageMetadata-X_WpGzZZ.d.ts} +2 -2
- package/dist/_dts/{index-CKkkCgb6.d.ts → index--n-wV8Xd.d.ts} +1 -1
- package/dist/_dts/{index-DDsfmM4d.d.ts → index-BLseXObg.d.ts} +2 -2
- package/dist/_dts/{index-CoLcwjqJ.d.ts → index-BMGif2r3.d.ts} +1 -1
- package/dist/_dts/{index-ZKEDvLuN.d.ts → index-BpAW9AKB.d.ts} +1 -1
- package/dist/_dts/{index-D-ai8IQd.d.ts → index-Bygd2RCg.d.ts} +4 -4
- package/dist/_dts/{index-EJMo-KSo.d.ts → index-CBRbZJ6u.d.ts} +2 -15
- package/dist/_dts/{index-tcPtGdag.d.ts → index-CX9bp60k.d.ts} +3 -3
- package/dist/_dts/{loadContent-Ci932ORy.d.ts → loadContent-uhUThWaq.d.ts} +7 -7
- package/dist/_dts/{request-B8jVdvgI.d.ts → request-Bf9YImJw.d.ts} +54543 -54643
- package/dist/_dts/{resolveBlockData-DrSMuD76.d.ts → resolveBlockData-D6M5NMZB.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Be4iL6-F.d.ts → resolvePageContent-DkzWvFbG.d.ts} +2 -2
- 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 +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 +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- 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 +7 -7
- 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 +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/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 +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/rendering/themeAdmission.d.ts +1 -1
- 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/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-lwSgCWZ4.d.ts → types-BdZ5pJSk.d.ts} +11 -3
- package/dist/_dts/{types-DXY64Xh4.d.ts → types-C1l2Sm2h.d.ts} +4 -4
- package/dist/_dts/{types-BXMX4z2j.d.ts → types-DgV8P2mz.d.ts} +7 -7
- package/dist/_dts/{validation-C5xp--Fu.d.ts → validation-BtbZIT5f.d.ts} +4 -6
- package/dist/client/{Page-F3lhDvw1.mjs → Page-C03rc6jw.mjs} +10 -1
- package/dist/client/client.mjs +36 -9
- package/dist/client/portal/client.mjs +40 -19
- package/dist/client/rendering.mjs +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-8iKKoYZr.mjs → LocationPickerEnvironment-BHAT81Wx.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-AIUPN1Zx.mjs → MapLibreEditMap-B52hkdIZ.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-0xyUPWUB.mjs → PageSectionToolbar-D6-jojqh.mjs} +52 -8
- package/dist/preview-next/client/{PreviewEditorSidebar-D8vUzXtI.mjs → PreviewEditorSidebar-BUVFKZ4k.mjs} +24 -31
- package/dist/preview-next/client/{PreviewEditorUI-CRjS4gAu.mjs → PreviewEditorUI-292pOiSt.mjs} +10 -10
- package/dist/preview-next/client/{PreviewShell-BvdBdeH_.mjs → PreviewShell-CW0Yzj3h.mjs} +9 -8
- package/dist/preview-next/client/{SdkPreviewModeRuntime-DWTyKbFj.mjs → SdkPreviewModeRuntime-Dba7zoZK.mjs} +16 -7
- package/dist/preview-next/client/{lucide-react-Dfgl3Vtq.mjs → lucide-react-McYZeSMb.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-BqY2TTcZ.mjs → previewAssistantSlot-B-utyhbS.mjs} +71 -5
- package/dist/preview-next/client/{previewChromeRoot-BuRYe2iL.mjs → previewChromeRoot-CCoGydUD.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BnK5kH9f.mjs → sdk-runtime-DCpXVcA0.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-DbKozRSn.mjs → siteStyleAccess-sjOvRAHY.mjs} +27 -17
- package/dist/preview-next/client/{useAutosaveStatus-D9s6dyMW.mjs → useAutosaveStatus-R1rZ9-IZ.mjs} +3 -30
- package/dist/preview-next/client/{useOpenBlockForSetup-Ce4WCxpT.mjs → useOpenBlockForSetup-BS7CANPv.mjs} +2 -2
- package/dist/preview-next/container-responsive.css +3 -0
- package/dist/preview-next/editor-chrome.css +4 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BYezcMx5.mjs → route-contract-BSSbtz6A.mjs} +16 -3
- package/dist/server/{Block.shared-Cn7gg13_.mjs → Block.shared-Dc3DX7Cf.mjs} +1 -1
- package/dist/server/{client-Bvag5OtW.mjs → client-BPLLL22F.mjs} +35 -8
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/next/revalidate.mjs +15 -8
- package/dist/server/next.mjs +4 -4
- package/dist/server/{overrideResolution-BqVLO4gX.mjs → overrideResolution-CkpwAHvW.mjs} +1 -1
- package/dist/server/{pageShared-D23o5QgC.mjs → pageShared-6z6JBU41.mjs} +11 -2
- package/dist/server/{prebuild-BuoXWT9y.mjs → prebuild-B4_Llisx.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +2 -2
- package/dist/server/server.mjs +1 -1
- package/dist/server/{validation-CozQ7wE0.mjs → validation-BvHio6QI.mjs} +0 -2
- package/dist/server/{version-CgCWRFEY.mjs → version-SuFlio6n.mjs} +1 -1
- package/dist/styles/index.css +8 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -101,7 +101,7 @@ const client = createRiverbankClient({
|
|
|
101
101
|
apiKey: string; // Required: Builder API key
|
|
102
102
|
baseUrl: string; // Required: Full API URL (e.g., 'https://dashboard.example.com/api')
|
|
103
103
|
cache?: {
|
|
104
|
-
enabled?: boolean; //
|
|
104
|
+
enabled?: boolean; // Leave unset on ISR sites; see "SDK memory cache and ISR" below
|
|
105
105
|
ttl?: number; // Default: 300 (seconds)
|
|
106
106
|
maxSize?: number; // Default: 100
|
|
107
107
|
};
|
|
@@ -3007,12 +3007,12 @@ Configure site-wide settings:
|
|
|
3007
3007
|
|
|
3008
3008
|
```typescript
|
|
3009
3009
|
settings: {
|
|
3010
|
-
|
|
3011
|
-
siteTitle: 'My Site', // Site title for metadata
|
|
3012
|
-
siteDescription: 'Welcome', // Site description for metadata
|
|
3010
|
+
siteDescription: 'Welcome', // The site's tagline
|
|
3013
3011
|
}
|
|
3014
3012
|
```
|
|
3015
3013
|
|
|
3014
|
+
The site's name isn't set here. It lives in the dashboard, or in `siteTitle` in `content/settings.json`. The homepage is always the page at `/`.
|
|
3015
|
+
|
|
3016
3016
|
### Sync Behavior
|
|
3017
3017
|
|
|
3018
3018
|
When you run `riverbank push`:
|
|
@@ -3263,6 +3263,14 @@ Set `RIVERBANK_WEBHOOK_SECRET` in the deployed SDK site and configure the matchi
|
|
|
3263
3263
|
|
|
3264
3264
|
The SDK client cache clear is process-local and best-effort. It helps single-process deployments, `next dev`, `next start`, and any runtime where the revalidation route and render path share the same module instance. Serverless platforms such as Vercel can compile `/api/revalidate` and page rendering into separate functions and can run many warm containers; in those deployments, the webhook may clear only the webhook function's local client instance while other render instances keep their SDK response cache until TTL expiry. Use Next tag/path revalidation as the authoritative cross-instance invalidation layer, and disable or shorten SDK response caching for force-dynamic deployments that require immediate freshness across serverless instances.
|
|
3265
3265
|
|
|
3266
|
+
Most webhook events expire their tags immediately, so the first view after a delivered webhook re-renders and shows the change. Bookings are the exception: each one fires `events.updated`, so those pages are served stale once while they refresh in the background. Edits to an event itself, such as a cancellation or a new date, expire at once like everything else.
|
|
3267
|
+
|
|
3268
|
+
#### SDK memory cache and ISR
|
|
3269
|
+
|
|
3270
|
+
A memory cache hit returns before `fetch` runs, so Next never sees that read's tags. An ISR page rebuilt from memory holds old content and loses its CMS tags, and the next publish webhook can't reach it. So inside a Next.js server, with `cache.enabled` left unset, the client doesn't serve fresh memory hits. It still keeps responses for the `staleIfError` fallback during a CMS outage, and Next's tagged fetch cache covers the normal reads.
|
|
3271
|
+
|
|
3272
|
+
Leave `cache.enabled` unset on ISR sites, and remove `enabled: true` if you have it. Keep `enabled: true` only on `force-dynamic` deployments, where Next doesn't cache these fetches and the memory cache saves a CMS read per render.
|
|
3273
|
+
|
|
3266
3274
|
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.
|
|
3267
3275
|
|
|
3268
3276
|
The CMS includes a `dispatchId` in signed payloads and sends matching `X-Riverbank-Dispatch-Id` / `X-Riverbank-Correlation-Id` headers. Use the optional callback metadata to join CMS delivery logs with consumer deployment logs without logging secrets:
|
|
@@ -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 { Bn as BrowserReadAuthority, D as DateRuntimeContext, E as LinkResolverContext, Ei as PageSurfaceSubjectWire, Mi as BlockInteractionContext, Mr as RenderableMediaAsset, Qn as RenderablePageOutline$1, Ri as DeepReadonly, Vn as BlockSiteTerms, di as MailingListRuntimeContext, dr as Theme, fi as WeeklyOpeningHours, h as PrefetchedBlockData, m as BlockLoaderSnapshot, p as BlockLoaderFailures, pr as PageTemplate, u as ThemeResponsiveMode, ui as BusinessPersonNoun, xi as UtcIsoDateTimeString } from "./request-Bf9YImJw.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-BpAW9AKB.js";
|
|
3
|
+
import { t as ThemeRuntime } from "./index--n-wV8Xd.js";
|
|
4
|
+
import { d as SdkCustomBlock } from "./types-C1l2Sm2h.js";
|
|
5
|
+
import { P as SiteBookingOfferingPresetSummary } from "./contracts-BG7yTZ6t.js";
|
|
6
|
+
import { _ as RiverbankClient } from "./types-BdZ5pJSk.js";
|
|
7
|
+
import { a as ResolveBlockDataDeps, f as ResolvedBlockData } from "./resolveBlockData-D6M5NMZB.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 { At as BlockApiProvider, Dt as BookingOfferingPresetSummary, Ei as PageSurfaceSubjectWire, Gt as ThemeJournalState, Ht as SdkEditorRevision, Kt as ThemeSelectionPreviewProps, Li as ContentTypeSchema, Wt as SdkSiteLayoutConfig, Xn as EditorRenderablePageOutline, bi as BookingTimeZone, c as PreviewPageAdaptationFacts, d as SdkConfigForBlockPicker, dr as Theme, f as EntrySubrouteContextData, k as MediaAssetIndexItem, l as PreviewRenderingOverride, mi as EditorBlockVersions, ni as SiteFooterContent, oi as SurfaceId, pi as EditLeaseScope, sr as HeaderLogoContext, t as ApiClient, u as ThemeResponsiveMode } from "./request-Bf9YImJw.js";
|
|
2
|
+
import { t as ThemeRuntime } from "./index--n-wV8Xd.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 { $
|
|
1
|
+
import { $ as PaymentStepState, $r as PriceReductionSummary, $t as BookingFormData$1, A as BookingFormInteractiveIslandProps, B as PortalCreditState, Bi as BlockButtonRole, Bn as BrowserReadAuthority, Cn as BookingSlotView, Cr as PaymentMethod, Ct as RegistrationPresentation, Di as NonNegativeCents, Er as PublicEvent, Et as TicketSelectionPurpose, Fn as ProtectedSubmission, Ft as DiscountContext, G as EligibilityData, H as EligibilityLookupState, Hn as EventRegistrationPageSurfaceSubject, I as BookingPaymentSelectionViewModel, J as EventTicketSelectionLine, K as EventPaymentState, L as BookingQuestionsModel, M as EventRegistrationDirectPaymentOption, Mn as BookingFieldValue, Mt as BoundBlockApiClient, N as EventRegistrationDirectPaymentSelectionState, Nn as BookingQuestionsPaymentSnapshot, Nt as AutoAppliedDiscountPreview, Oi as PositiveCents, On as LoadState, Ot as EventSourceRecovery, P as EventRegistrationSiteCreditPreview, Pn as getBookingServiceSlidingScale, Pt as DiscountApplyLine, Q as PaymentStatusRecoveryState, Qr as EventRegistrationErrorAction, Qt as BookingFormConfig$1, R as RegistrationFlowState, Si as AppointmentBookingReview, Sn as BookingSlotSelection, Sr as EventRegistrationPaymentSubject, St as SelectionRequirementsLayout, Tn as BookingSubmitOptions, Tt as RegistrationTicketContinuation, U as ExistingRegistrationLookupState, Un as EventEmbeddedCheckout, V as PortalProfile, Vn as BlockSiteTerms, W as SelectableEventTicketType, X as GuestErrors, Xr as BookingQuestionsSubmissionFailure, Y as Guest, Z as PaymentSelection, Zr as CombinationPricePlan, _i as BookingConsent, _n as BookingFlowStatus, _t as SeveralItemsKind, an as BookingPaymentAvailability, at as ThemedButtonProps, bn as BookingFlowView, br as DirectCheckoutCollectionOptionKind, bt as StateUpdate, di as MailingListRuntimeContext, dn as BookingAppointmentPackagesModel, dt as BookingSelection, ei as CurrencyCode, en as BookingFormService, et as RegistrationAttendanceMode, ft as RegistrationSelection, gn as BookingFlowFeedback, gr as SelectionAttendance, gt as SelectionPaymentSummary, hn as BookingFlowActionResult, ht as SelectionPayment, it as RegistrationSubject, jt as BlockApiClient, kt as BookingPageKind, mn as BookingFieldView, mt as RunPricingChoices, nn as BookingFormServiceCategory, nt as RegistrationResult, on as BookingPaymentChoice, ot as FormData, pt as RegistrationSelectionMode, q as EventRegistrationClientProps, rn as BookingFormField$1, rt as RegistrationStep, sn as BookingPurchasablePackagesModel, st as OccurrenceContext, ti as EventRegistrationPricingOption, tn as BookingSelectedCollectionOptionKind, tt as RegistrationEvent, vi as DisplayContext, vn as BookingFlowStep, vt as CombinationWorking, wn as BookingSubmitActionResult, wt as RegistrationAdmission, xi as UtcIsoDateTimeString, xn as BookingResourceView, xr as EventCheckoutReturnRequest, xt as WaitlistInvitation, yi as ZoneLabel, yn as BookingFlowStepId, yr as CustomerEventRegistration, yt as CopyPart, z as PortalAuthState, zn as BlockApiConfig } from "./request-Bf9YImJw.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as BindingTransformName } from "./index-
|
|
1
|
+
import { Bt as NavigationAuthoringLinkInput, Vt as NavigationConfigItemInput } from "./request-Bf9YImJw.js";
|
|
2
|
+
import { u as BindingTransformName } from "./index-BpAW9AKB.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/types/block-kinds.d.ts
|
|
5
5
|
/**
|
|
@@ -396,7 +396,7 @@ interface TemplateConfig {
|
|
|
396
396
|
* ```
|
|
397
397
|
*/
|
|
398
398
|
interface ContentTypeConfig {
|
|
399
|
-
/** Unique key for this content type (e.g., 'post', '
|
|
399
|
+
/** Unique key for this content type (e.g., 'post', 'case-study'). Must be lowercase with hyphens. `event`, `course` and `service` are reserved for bookings. */
|
|
400
400
|
key: string;
|
|
401
401
|
/** Display name shown in dashboard UI */
|
|
402
402
|
name: string;
|
|
@@ -563,11 +563,7 @@ interface NavigationMenuConfig {
|
|
|
563
563
|
* Site settings for SDK config.
|
|
564
564
|
*/
|
|
565
565
|
interface SiteSettingsConfig {
|
|
566
|
-
/**
|
|
567
|
-
homepagePath?: string;
|
|
568
|
-
/** Site title (for SEO/metadata) */
|
|
569
|
-
siteTitle?: string;
|
|
570
|
-
/** Site description (for SEO/metadata) */
|
|
566
|
+
/** The site's tagline: a short public description used when a page has no description of its own. */
|
|
571
567
|
siteDescription?: string;
|
|
572
568
|
/** Default template ID per content type key */
|
|
573
569
|
defaultTemplates?: Record<string, string>;
|
|
@@ -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 { Er as PublicEvent, It as SdkBlockContentAdmission, Jt as PublicBookingServicesResponse$1, Lr as Media, Lt as ResolveEventSubrouteQuery, Mi as BlockInteractionContext, Rt as ResolveEventSubrouteResponse$1, Ut as SdkRuntimeEntry$1, Xt as SiteRuntimeSiteTerms, Yt as PublicServiceCategorySummary$1, Zt as RoutableContentItem$1, a as SiteBookingOfferingPresetSummary$1, ai as PageRuntimeJoin, bi as BookingTimeZone, ci as BookingEmbedSettings, di as MailingListRuntimeContext, fi as WeeklyOpeningHours, gi as BusinessAddress, i as SdkRuntimePageSurfaceSubject$1, li as MapDrawing, lr as FooterMode, n as ApiErrorCode$1, o as SiteRuntimeIdentity, or as ResolvedInternalLinkEntityType, qt as PublicBookingServiceCatalogueItem$1, r as SdkRuntimePageSurface$1, s as SiteRuntimeSelectionPayload, si as PageSectionsContext, ui as BusinessPersonNoun, ur as LogoFacts, wr as PublicMapLocationParams, zt as PublicPassesResponse$1 } from "./request-Bf9YImJw.js";
|
|
2
|
+
import { ht as SiteHeaderContent, mt as SiteFooterContent, r as MediaAssetIndexItem } from "./index-BpAW9AKB.js";
|
|
3
|
+
import { d as SdkCustomBlock, f as SdkThemeConfig, u as RiverbankSiteConfig } from "./types-C1l2Sm2h.js";
|
|
4
4
|
|
|
5
5
|
//#region .cache/declarations/sdk/src/public-api/teamMemberContracts.d.ts
|
|
6
6
|
type PublicTeamMemberSummary = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { z as BlockKind } from "./content-types-
|
|
3
|
-
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-
|
|
4
|
-
import { F as SiteFooterBlock, I as SiteResponse, L as SiteRouteRecord } from "./contracts-
|
|
5
|
-
import { _ as RiverbankClient } from "./types-
|
|
6
|
-
import { E as BlockOverrideComponent, o as SdkOverrideOnlyRendering, u as SdkThemeRuntime, y as RenderablePageOutline } from "./Page-
|
|
1
|
+
import { Bn as BrowserReadAuthority, D as DateRuntimeContext, O as resolveDateRuntimeContext, Xt as SiteRuntimeSiteTerms, bi as BookingTimeZone, di as MailingListRuntimeContext, dr as Theme, g as ResolvedBlockData, h as PrefetchedBlockData, m as BlockLoaderSnapshot, mr as ReadinessStage, p as BlockLoaderFailures, xi as UtcIsoDateTimeString } from "./request-Bf9YImJw.js";
|
|
2
|
+
import { z as BlockKind } from "./content-types-BLAdIMyr.js";
|
|
3
|
+
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-BpAW9AKB.js";
|
|
4
|
+
import { F as SiteFooterBlock, I as SiteResponse, L as SiteRouteRecord } from "./contracts-BG7yTZ6t.js";
|
|
5
|
+
import { _ as RiverbankClient } from "./types-BdZ5pJSk.js";
|
|
6
|
+
import { E as BlockOverrideComponent, o as SdkOverrideOnlyRendering, u as SdkThemeRuntime, y as RenderablePageOutline } from "./Page-Bp7hTDTy.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 { K as LoadPageResult } from "./Page-
|
|
1
|
+
import { I as SiteResponse } from "./contracts-BG7yTZ6t.js";
|
|
2
|
+
import { K as LoadPageResult } from "./Page-Bp7hTDTy.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/metadata/generatePageMetadata.d.ts
|
|
5
5
|
/**
|
|
@@ -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-BG7yTZ6t.js";
|
|
2
|
+
import { _ as RiverbankClient } from "./types-BdZ5pJSk.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/prebuild/types.d.ts
|
|
5
5
|
/**
|
|
@@ -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-CxkCCyKw.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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ai as VenueId, C as FormBlockContent$1, Ci as EventOccurrenceContextData, Gn as ColumnOption$1, Jn as FilterAutoShow$1, Kn as DisplayMode$1, Lr as Media, Ni as BindingTransformName$1, Pi as RichTextDoc, S as ContactNewsletterContent$1, T as BodyTextContent$1, Wn as CalendarTabViews$1, Yn as WeekStart$1, _ as ClassPricesContent, ai as PageRuntimeJoin$1, ar as PageLinkValue$1, b as EventCalendarContent$1, cr as ContentFrameIntent$1, ct as CardStylesContent$1, er as CustomLinkValue$1, ir as LinkValue$1, ji as Brand, ki as EventCategoryId, lt as ContainerStylesContent$1, ni as SiteFooterContent$1, nr as ExternalLinkValue$1, qn as EventLayout$1, rr as InternalLinkValue$1, tr as EntryLinkValue$1, ut as SectionStylesContent$1, v as NewsletterSignupContent$1, w as LocationMapContent$1, wi as EventPageSubrouteContext, x as EventDetailsContent$1, y as ImageGalleryContent$1 } from "./request-Bf9YImJw.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/contracts/content.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Ii as TipTapNode,
|
|
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 { Ii as TipTapNode, Lr as Media, Pi as RichTextDoc } from "./request-Bf9YImJw.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-BLAdIMyr.js";
|
|
3
|
+
import { It as LinkValue, Pt as InlineText, c as NodeDefinition, u as BindingTransformName } from "./index-BpAW9AKB.js";
|
|
4
|
+
import { u as RiverbankSiteConfig } from "./types-C1l2Sm2h.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 { 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-BG7yTZ6t.js";
|
|
2
|
+
import { _ as RiverbankClient, m as ResilienceStatus, v as RiverbankClientConfig } from "./types-BdZ5pJSk.js";
|
|
3
3
|
|
|
4
4
|
//#region .cache/declarations/sdk/src/client/error.d.ts
|
|
5
5
|
/**
|
|
@@ -147,19 +147,6 @@ declare class RiverbankApiError extends Error {
|
|
|
147
147
|
declare function getResilienceStatusFromError(error: unknown): ResilienceStatus | undefined;
|
|
148
148
|
//#endregion
|
|
149
149
|
//#region .cache/declarations/sdk/src/client/index.d.ts
|
|
150
|
-
/**
|
|
151
|
-
* Create a Riverbank CMS client for fetching content
|
|
152
|
-
*
|
|
153
|
-
* @example
|
|
154
|
-
* ```ts
|
|
155
|
-
* const client = createRiverbankClient({
|
|
156
|
-
* apiKey: 'bld_live_sk_...',
|
|
157
|
-
* baseUrl: 'https://dashboard.example.com/api',
|
|
158
|
-
* });
|
|
159
|
-
*
|
|
160
|
-
* const site = await client.getSite({ slug: 'my-site' });
|
|
161
|
-
* ```
|
|
162
|
-
*/
|
|
163
150
|
declare function createRiverbankClient(config: RiverbankClientConfig): RiverbankClient;
|
|
164
151
|
//#endregion
|
|
165
152
|
export { RiverbankApiError as n, getResilienceStatusFromError as r, createRiverbankClient as t };
|
|
@@ -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-BG7yTZ6t.js";
|
|
2
|
+
import { a as GetEntriesBaseParams, i as EntriesResponseWithMeta } from "./types-BdZ5pJSk.js";
|
|
3
|
+
import { i as NavigationCacheFile, r as FormsCacheFile, s as PrebuildManifest } from "./index-BLseXObg.js";
|
|
4
4
|
|
|
5
5
|
//#region .cache/declarations/sdk/src/prebuild/loader.d.ts
|
|
6
6
|
interface PrebuildLoaderConfig {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-
|
|
3
|
-
import { d as SdkCustomBlock } from "./types-
|
|
4
|
-
import { I as SiteResponse, N as SdkRuntimePageSurfaceSubject } from "./contracts-
|
|
5
|
-
import { _ as RiverbankClient } from "./types-
|
|
6
|
-
import { f as ResolvedBlockData } from "./resolveBlockData-
|
|
1
|
+
import { dr as Theme, h as PrefetchedBlockData, m as BlockLoaderSnapshot, p as BlockLoaderFailures } from "./request-Bf9YImJw.js";
|
|
2
|
+
import { r as MediaAssetIndexItem, y as RouteMap } from "./index-BpAW9AKB.js";
|
|
3
|
+
import { d as SdkCustomBlock } from "./types-C1l2Sm2h.js";
|
|
4
|
+
import { I as SiteResponse, N as SdkRuntimePageSurfaceSubject } from "./contracts-BG7yTZ6t.js";
|
|
5
|
+
import { _ as RiverbankClient } from "./types-BdZ5pJSk.js";
|
|
6
|
+
import { f as ResolvedBlockData } from "./resolveBlockData-D6M5NMZB.js";
|
|
7
7
|
import { DataLoaderOverrides, DataLoaderPreviewStage, DataLoaderSearchParams } from "./sdk/src/data/types.js";
|
|
8
8
|
import { RuntimeSdkConfig, SiteBlockRenderContext, SiteRenderSupport } from "./sdk/src/rendering/helpers/pageRuntimeSupport.js";
|
|
9
|
-
import { i as PageProps } from "./Page-
|
|
9
|
+
import { i as PageProps } from "./Page-Bp7hTDTy.js";
|
|
10
10
|
|
|
11
11
|
//#region .cache/declarations/sdk/src/rendering/helpers/loadContent.d.ts
|
|
12
12
|
/**
|