@riverbankcms/sdk 0.127.0 → 0.128.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PreviewEditorSidebar-BXtfF7tp.mjs → PreviewEditorSidebar-Dbvb7GIr.mjs} +9 -33
- package/dist/{PreviewEditorUI-Dou73Q0K.mjs → PreviewEditorUI-e9O9l20X.mjs} +3 -3
- package/dist/{PreviewQueryProvider-DgFDIwvK.mjs → PreviewQueryProvider-B1kbhaJD.mjs} +1 -1
- package/dist/SdkPreviewModeRuntime-BZHt6e9w.mjs +11006 -0
- package/dist/{SiteChromeCustomizeContext-DZiDBAYu.mjs → SiteChromeCustomizeContext-CvuGbHJX.mjs} +31619 -1483
- package/dist/_dts/ai/src/contracts/proposals.d.ts +288 -36
- package/dist/_dts/api/src/bookingClosures.d.ts +19 -3
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -3
- package/dist/_dts/api/src/bookingRecords.d.ts +0 -13
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/communications.d.ts +2 -1
- package/dist/_dts/api/src/contactFormSummary.d.ts +15 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +2 -5
- package/dist/_dts/api/src/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/footerSettings.d.ts +11 -0
- package/dist/_dts/api/src/index.d.ts +2 -1
- package/dist/_dts/api/src/occurrenceScheduling.d.ts +48 -0
- package/dist/_dts/api/src/participantMessaging.d.ts +5 -3
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +7 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +7 -5
- package/dist/_dts/api/src/siteOperations.d.ts +12 -3
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +3 -2
- package/dist/_dts/blocks/src/client/form.d.ts +1 -0
- package/dist/_dts/blocks/src/client/newsletter-form.d.ts +1 -0
- package/dist/_dts/blocks/src/client/site-chrome.d.ts +1 -0
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +4 -8
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +41 -0
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup-destination.d.ts +14 -23
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +109 -23
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +42 -108
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +21 -54
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/logic.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +26 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.interactive.d.ts +29 -78
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.submission.d.ts +3 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/newsletter-form.types.d.ts +27 -8
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +21 -0
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +3 -1
- package/dist/_dts/content-editor/src/FooterEngagementEditorFields.d.ts +31 -0
- package/dist/_dts/content-editor/src/FooterEngagementEditorPanel.d.ts +17 -0
- package/dist/_dts/content-editor/src/footerComposer.d.ts +3 -0
- package/dist/_dts/content-editor/src/footerEngagementDraft.d.ts +57 -0
- package/dist/_dts/content-editor/src/footerEngagementEditor.d.ts +11 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +13 -0
- package/dist/_dts/content-editor/src/index.d.ts +1 -0
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +35 -0
- package/dist/_dts/core/src/footer-arrangement.d.ts +2 -0
- package/dist/_dts/core/src/footer-composition-types.d.ts +118 -0
- package/dist/_dts/core/src/footer-composition.d.ts +7 -116
- package/dist/_dts/core/src/footer-engagement.d.ts +30 -0
- package/dist/_dts/core/src/index.d.ts +4 -0
- package/dist/_dts/core/src/newsletter-signup-destination.d.ts +38 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +59 -6
- package/dist/_dts/db/src/index.d.ts +1 -0
- package/dist/_dts/db/src/schemas/forms.d.ts +72 -2
- package/dist/_dts/db/src/schemas/standard-contact.d.ts +114 -0
- package/dist/_dts/preview-next/src/client/blocks/previewBatchLoaderParams.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -5
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +2 -4
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +2 -4
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +6 -5
- package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +9 -0
- package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +10 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +3 -5
- package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +15 -3
- package/dist/_dts/sdk/src/client/combineAbortSignals.d.ts +2 -0
- package/dist/_dts/sdk/src/client/management/types.d.ts +6 -15
- package/dist/_dts/sdk/src/client/types.d.ts +10 -2
- package/dist/_dts/sdk/src/client/wholeSeriesReadOperations.d.ts +11 -0
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -0
- package/dist/_dts/sdk/src/contracts/event-registration-content.d.ts +16 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -15
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -18
- package/dist/_dts/sdk/src/public-api/teamMemberContracts.d.ts +17 -0
- package/dist/_dts/sdk/src/public-api/wholeSeriesContracts.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +7 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +5 -3
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +8 -2
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commandContract.d.ts +8 -1
- package/dist/_dts/site-commands/src/commands.d.ts +16 -2
- package/dist/_dts/theme-core/src/header/paintTargets.d.ts +10 -4
- package/dist/_dts/theme-core/src/header/surfaceRules.d.ts +2 -3
- package/dist/cli/index.mjs +5302 -4628
- package/dist/client/{courseRegistration-DTEYWL6Z.mjs → CourseRegistrationWizard-xRmA7REV.mjs} +329 -49
- package/dist/client/{DiscountCodeDisclosure-BDFRp8Y7.mjs → DiscountCodeDisclosure-B9vriL5C.mjs} +1 -1
- package/dist/client/{EventCombined.client-DJgF1_lf.mjs → EventCombined.client-BgVnVTlz.mjs} +2 -2
- package/dist/client/{EventListing.client-CnWGNjOr.mjs → EventListing.client-CqdsO7jO.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-BISs9Bl7.mjs → LeafletStaticMap-CKPxot9M.mjs} +1 -1
- package/dist/client/{StepIndicator-D8gVYkK-.mjs → StepIndicator-DGCYuBJ1.mjs} +2 -2
- package/dist/client/{accordion-DFDajgDz.mjs → accordion-BfN5Eqd-.mjs} +1 -1
- package/dist/client/{bookingForm-Bdqj9-52.mjs → bookingForm-DOvCpBFP.mjs} +5 -5
- package/dist/client/{carousel-Cvqf-kN8.mjs → carousel-DPNmiH0f.mjs} +1 -1
- package/dist/client/{cart-CuH2TJXP.mjs → cart--egVXlrR.mjs} +3 -3
- package/dist/client/{checkout-CMNPpejZ.mjs → checkout-DywWtMcq.mjs} +3 -3
- package/dist/client/client.mjs +4912 -4613
- package/dist/client/courseRegistration-Dk9qFVwt.mjs +46 -0
- package/dist/client/{eventCalendar-BW-XoxZ0.mjs → eventCalendar-Bkz2HjlS.mjs} +4 -4
- package/dist/client/{eventCombined-Bpn7s0y9.mjs → eventCombined-D4kipYWg.mjs} +2 -2
- package/dist/client/{eventDetails-D2uUSTMH.mjs → eventDetails-Dz_5ix2Q.mjs} +56 -35
- package/dist/client/{eventListing-CVr1c094.mjs → eventListing-D0vm-zST.mjs} +2 -2
- package/dist/client/{eventRegistration-Dv4AvkMw.mjs → eventRegistration-Cw1E4Q4p.mjs} +58 -6
- package/dist/client/{form-DxdKf9fs.mjs → form-C2Zf1n3K.mjs} +1 -1
- package/dist/client/{headerSection-BaXI5Sro.mjs → headerSection-CP05gzdc.mjs} +2 -2
- package/dist/client/hooks.mjs +212 -61
- package/dist/client/{locationMap-BEtW2fKz.mjs → locationMap-Cl3x9PYJ.mjs} +2 -2
- package/dist/client/{newsletterForm-BKKs0S4R.mjs → newsletterForm-DyEJoClm.mjs} +26 -20
- package/dist/client/{pricing-ClkqcElA.mjs → pricing-DGuNR1W4.mjs} +1 -1
- package/dist/client/{productDetail-H-ru8dyy.mjs → productDetail-Cq-HrGew.mjs} +3 -3
- package/dist/client/{productList-Buyi5c0C.mjs → productList-DbB3jwqd.mjs} +3 -3
- package/dist/client/{propsDecoder-BF7i6Ijg.mjs → propsDecoder-CiTuhUwY.mjs} +130 -87
- package/dist/client/rendering/client.mjs +416 -208
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +5522 -5237
- package/dist/client/{scrollToBlock-D_7t8yWb.mjs → scrollToBlock-CShkRqab.mjs} +1 -1
- package/dist/client/{shop-CF7SZQNX.mjs → shop-Cu4Ib-ZA.mjs} +5 -5
- package/dist/client/{shop-commerce-DA7_Rq5p.mjs → shop-commerce-BzpsOdh7.mjs} +4 -4
- package/dist/client/{shop-commerce-store-BmLqW7Gh.mjs → shop-commerce-store-DaE7Fhj8.mjs} +1 -1
- package/dist/client/{shopShared-WL-E1znM.mjs → shopShared-cF0c20vB.mjs} +2 -2
- package/dist/client/{useEventFilters-rc8VLeLV.mjs → useEventFilters-QZ3HMgaJ.mjs} +2 -2
- package/dist/client/{usePolling-1ncrfd4S.mjs → usePolling-BKf0GcE-.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +1 -1
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/{previewAuthStore-Dev9CdG9.mjs → previewAuthStore-BesgU5Xu.mjs} +1 -1
- package/dist/{sdk-runtime-BnrCCFJq.mjs → sdk-runtime-Cn_QSCOg.mjs} +2 -2
- package/dist/{separator-CFvBx2yl.mjs → separator-CEoGABRc.mjs} +1 -1
- package/dist/server/components.mjs +473 -289
- package/dist/server/config-validation.mjs +209 -61
- package/dist/server/config.mjs +209 -61
- package/dist/server/data.mjs +212 -61
- package/dist/server/index.mjs +40 -16
- package/dist/server/next.mjs +513 -307
- package/dist/server/page-converter.mjs +211 -64
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +475 -282
- package/dist/server/rendering.mjs +482 -290
- package/dist/server/routing.mjs +254 -80
- package/dist/server/server.mjs +252 -77
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-B0HPXr-l.mjs +0 -39546
- package/dist/client/MagicLinkForm-b5E_HoG9.mjs +0 -327
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export type LocalFooterContent = import('../../../../api/src/sdkContracts').SdkFooterContent;
|
|
3
|
+
export declare const localFooterContentSchema: z.ZodObject<{
|
|
4
|
+
composition: z.ZodPipe<z.ZodUnknown, z.ZodTransform<Readonly<{
|
|
5
|
+
schemaVersion: 1;
|
|
6
|
+
sections: readonly import("../../../../core/src/index").FooterSection[];
|
|
7
|
+
}>, unknown>>;
|
|
8
|
+
revision: z.ZodNumber;
|
|
9
|
+
}, z.core.$strict>;
|
|
10
|
+
export declare function writeFooterContentAfterPush(contentDir: string, footer: LocalFooterContent): Promise<string>;
|
|
@@ -12,8 +12,9 @@ import { type LocalEventScheduleIdentity } from './localEventSchedule';
|
|
|
12
12
|
export type { LocalEventOccurrence, LocalEventScheduleIdentity } from './localEventSchedule';
|
|
13
13
|
export { InvalidLocalEventScheduleIdentityError } from './localEventSchedule';
|
|
14
14
|
import { type ValidatedThemeForPersistence } from '../../../../blocks/src/index';
|
|
15
|
+
import type { RichTextDoc } from '../../../../core/src/index';
|
|
15
16
|
import type { EventPaymentTermsInput } from '../../client/management/types';
|
|
16
|
-
import { type
|
|
17
|
+
import { type LocalFooterContent } from './footerFile';
|
|
17
18
|
export interface LocalEntry {
|
|
18
19
|
identifier: string;
|
|
19
20
|
data: Record<string, unknown>;
|
|
@@ -125,10 +126,7 @@ export interface LocalTheme {
|
|
|
125
126
|
*
|
|
126
127
|
* Footer links are managed via navigation (footer menu), not this file.
|
|
127
128
|
*/
|
|
128
|
-
export
|
|
129
|
-
/** Rich text content in ProseMirror JSON format. Set to null to clear. */
|
|
130
|
-
bottomText?: RichTextDoc | null;
|
|
131
|
-
}
|
|
129
|
+
export type { LocalFooterContent } from './footerFile';
|
|
132
130
|
export interface LocalVenueAddress {
|
|
133
131
|
line1?: string | null;
|
|
134
132
|
line2?: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Result, type SiteId } from '../../../../core/src/index';
|
|
2
2
|
import { type SiteCommandOf } from '../../../../site-commands/src/index';
|
|
3
|
-
import type { ManagementClient } from '../../client/management/types';
|
|
3
|
+
import type { ManagementClient, ManagementFooterContent } from '../../client/management/types';
|
|
4
4
|
import type { LocalFooterContent } from '../content/reader';
|
|
5
5
|
import type { EnvTarget } from '../helpers';
|
|
6
6
|
import type { FooterDiff } from '../sync/diff';
|
|
@@ -20,7 +20,16 @@ export type FooterSiteCommandType = 'upsertFooterContent';
|
|
|
20
20
|
export type FooterSiteCommand = SiteCommandOf<FooterSiteCommandType>;
|
|
21
21
|
export type FooterSiteCommandPlan = CliFooterCommandCompileSuccess['plan'];
|
|
22
22
|
export type CliFooterCommandExecutionError = CliCommandExecutionError<FooterSiteCommandType>;
|
|
23
|
-
export type
|
|
23
|
+
export type CliFooterCommandApplication = Readonly<{
|
|
24
|
+
kind: 'not-applied';
|
|
25
|
+
}> | Readonly<{
|
|
26
|
+
kind: 'applied';
|
|
27
|
+
authoritativeFooter: ManagementFooterContent | null;
|
|
28
|
+
}>;
|
|
29
|
+
export type CliFooterCommandExecutionResult = Readonly<{
|
|
30
|
+
execution: CliCommandExecutionResult<FooterSiteCommandType>;
|
|
31
|
+
application: CliFooterCommandApplication;
|
|
32
|
+
}>;
|
|
24
33
|
export declare const footerSiteCommandTypes: readonly ["upsertFooterContent"];
|
|
25
34
|
export type FooterCommandReportSubject = Readonly<{
|
|
26
35
|
identifier: 'footer';
|
|
@@ -36,7 +45,10 @@ export declare function executeFooterCommandPlanAsSyncResult(input: Readonly<{
|
|
|
36
45
|
client: Pick<ManagementClient, 'footer'>;
|
|
37
46
|
compiledPlan: FooterCommandCompiledPlan;
|
|
38
47
|
onBeforeExecute?: (commandCount: number) => void;
|
|
39
|
-
}>): Promise<
|
|
48
|
+
}>): Promise<Readonly<{
|
|
49
|
+
syncResult: SyncResult;
|
|
50
|
+
application: CliFooterCommandApplication;
|
|
51
|
+
}>>;
|
|
40
52
|
export declare function executeFooterCommandPlanAsReport(input: Readonly<{
|
|
41
53
|
client: Pick<ManagementClient, 'footer'>;
|
|
42
54
|
compiledPlan: FooterCommandCompiledPlan;
|
|
@@ -9,7 +9,7 @@ import type { SiteCommandOf } from '../../../../site-commands/src/index';
|
|
|
9
9
|
import type { SdkEventPricing, SdkEventPricingInput, SdkEventTicketTypeInput } from '../../../../api/src/sdk-event-pricing';
|
|
10
10
|
import type { SdkEventPaymentTerms, SdkEventPaymentTermsInput } from '../../../../api/src/sdk-event-payment-terms';
|
|
11
11
|
import type { SdkEventUpsertBody } from '../../../../api/src/sdk-event-upsert';
|
|
12
|
-
import type { SdkAddEventOccurrenceRequest, SdkEventOccurrenceCapacityIntent, SdkEventOccurrenceScheduleInput, SdkManagementEventOccurrence, SdkManagementEventSeries, SdkPullEventSeries } from '../../../../api/src/sdkContracts';
|
|
12
|
+
import type { SdkAddEventOccurrenceRequest, SdkEventOccurrenceCapacityIntent, SdkEventOccurrenceScheduleInput, SdkManagementEventOccurrence, SdkManagementEventSeries, SdkFooterContent, SdkPullEventSeries } from '../../../../api/src/sdkContracts';
|
|
13
13
|
import type { SdkPullTruncationMeta } from '../../../../api/src/sdkContracts';
|
|
14
14
|
import type { SdkCapabilitiesResponse, SdkCatalogBlocksResponse, SdkCatalogContentTypesResponse, SdkCatalogThemeResponse, SdkDemoContentResponse } from '../../../../api/src/sdkContracts';
|
|
15
15
|
import type { SdkEntryPublishErrorCode, SdkPagePublishErrorCode, SdkPublicationOutcome } from '../../../../api/src/sdkContracts';
|
|
@@ -542,27 +542,18 @@ export interface ThemeStyleSelectionApplyResult {
|
|
|
542
542
|
}
|
|
543
543
|
/**
|
|
544
544
|
* Footer content for SDK management operations.
|
|
545
|
-
*
|
|
546
|
-
*
|
|
545
|
+
* The footer sync boundary carries the complete composition and its optimistic
|
|
546
|
+
* concurrency revision.
|
|
547
547
|
*/
|
|
548
|
-
export
|
|
549
|
-
/** Rich text content in ProseMirror JSON format */
|
|
550
|
-
bottomText?: RichTextDoc;
|
|
551
|
-
}
|
|
548
|
+
export type FooterContent = ManagementFooterContent;
|
|
552
549
|
/**
|
|
553
550
|
* Footer content as returned from CMS.
|
|
554
551
|
*/
|
|
555
|
-
export
|
|
556
|
-
/** Rich text content in ProseMirror JSON format */
|
|
557
|
-
bottomText: RichTextDoc;
|
|
558
|
-
}
|
|
552
|
+
export type ManagementFooterContent = SdkFooterContent;
|
|
559
553
|
/**
|
|
560
554
|
* Input for upserting footer content.
|
|
561
555
|
*/
|
|
562
|
-
export
|
|
563
|
-
/** Set to null to clear. */
|
|
564
|
-
bottomText?: RichTextDoc | null;
|
|
565
|
-
}
|
|
556
|
+
export type FooterContentUpsertInput = NonNullable<APIEndpoints['sdkUpsertFooter']['body']>;
|
|
566
557
|
export interface PulledFooter {
|
|
567
558
|
footer: ManagementFooterContent | null;
|
|
568
559
|
meta: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicWeeklySlotAvailabilityResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, PublicEventsResponse, ResolveEventOccurrenceResponse, RouteDecisionResponse, RouteOutcomeResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, PublicProductCategorySelector } from '../public-api/contracts';
|
|
1
|
+
import type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicWeeklySlotAvailabilityResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, PublicEventsResponse, PublicWholeSeriesOfferingResponse, ResolveEventOccurrenceResponse, RouteDecisionResponse, RouteOutcomeResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, PublicProductCategorySelector } from '../public-api/contracts';
|
|
2
2
|
import type { PublishedRuntimeCacheAdapter, PublishedRuntimeCacheAdapterErrorKind } from './runtimeCachePolicy';
|
|
3
|
-
export type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicWeeklySlotAvailabilityResponse, PublicEventsResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, ResolveEventOccurrenceResponse, RouteDecisionResponse, RouteOutcomeResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, } from '../public-api/contracts';
|
|
3
|
+
export type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicWeeklySlotAvailabilityResponse, PublicEventsResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, PublicWholeSeriesOfferingResponse, ResolveEventOccurrenceResponse, RouteDecisionResponse, RouteOutcomeResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, } from '../public-api/contracts';
|
|
4
4
|
/**
|
|
5
5
|
* Pagination metadata returned when `includeMeta: true`
|
|
6
6
|
*/
|
|
@@ -512,6 +512,14 @@ export interface RiverbankClient {
|
|
|
512
512
|
seriesId?: string;
|
|
513
513
|
includeOccurrenceId?: string;
|
|
514
514
|
} & SdkMethodOptions): Promise<PublicEventDetailsResponse>;
|
|
515
|
+
/**
|
|
516
|
+
* Fetch one whole-series offering for a registration surface.
|
|
517
|
+
*/
|
|
518
|
+
getPublicWholeSeriesOffering(params: {
|
|
519
|
+
siteId: string;
|
|
520
|
+
eventSeriesId: string;
|
|
521
|
+
stage?: string;
|
|
522
|
+
} & SdkMethodOptions): Promise<PublicWholeSeriesOfferingResponse>;
|
|
515
523
|
/**
|
|
516
524
|
* List public team members for a site (for Team Members block)
|
|
517
525
|
*/
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ApiClient, ApiResult } from '../../../api/src/public/index';
|
|
2
|
+
import type { RiverbankClient } from './types';
|
|
3
|
+
type WholeSeriesReadDeps = Readonly<{
|
|
4
|
+
apiClient: ApiClient;
|
|
5
|
+
resilientFetchData: <T>(cacheKey: string, fetcher: (signal: AbortSignal) => Promise<ApiResult<T>>, options: Readonly<{
|
|
6
|
+
signal?: AbortSignal;
|
|
7
|
+
}>) => Promise<T>;
|
|
8
|
+
}>;
|
|
9
|
+
type WholeSeriesReadOperations = Pick<RiverbankClient, 'getPublicWholeSeriesOffering'>;
|
|
10
|
+
export declare function createWholeSeriesReadOperations(deps: WholeSeriesReadDeps): WholeSeriesReadOperations;
|
|
11
|
+
export {};
|
|
@@ -45,7 +45,7 @@ export type BlockCategory = 'marketing' | 'content' | 'blog' | 'media' | 'layout
|
|
|
45
45
|
*
|
|
46
46
|
* Re-exported from `@riverbankcms/blocks` (single source of truth).
|
|
47
47
|
*/
|
|
48
|
-
export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "listPublicRecurringSchedule", "getPublicEventDetails", "listPublicWholeSeriesOfferings", "listPublicRouteCandidates", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices", "getPublicWeeklySlotAvailability"];
|
|
48
|
+
export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "listPublicRecurringSchedule", "getPublicEventDetails", "listPublicWholeSeriesOfferings", "getPublicWholeSeriesOffering", "listPublicRouteCandidates", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices", "getPublicWeeklySlotAvailability"];
|
|
49
49
|
export type SdkLoaderEndpoint = (typeof SUPPORTED_LOADER_ENDPOINTS)[number];
|
|
50
50
|
export type LoaderParamBinding = {
|
|
51
51
|
$bind: {
|
|
@@ -137,6 +137,7 @@ export declare const sdkLoaderEndpointSchema: z.ZodEnum<{
|
|
|
137
137
|
getPublicBookingServices: "getPublicBookingServices";
|
|
138
138
|
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
139
139
|
listPublicEvents: "listPublicEvents";
|
|
140
|
+
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
140
141
|
listPublicPasses: "listPublicPasses";
|
|
141
142
|
listPublicMemberships: "listPublicMemberships";
|
|
142
143
|
listPublicProducts: "listPublicProducts";
|
|
@@ -226,6 +227,7 @@ export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
|
226
227
|
getPublicBookingServices: "getPublicBookingServices";
|
|
227
228
|
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
228
229
|
listPublicEvents: "listPublicEvents";
|
|
230
|
+
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
229
231
|
listPublicPasses: "listPublicPasses";
|
|
230
232
|
listPublicMemberships: "listPublicMemberships";
|
|
231
233
|
listPublicProducts: "listPublicProducts";
|
|
@@ -291,6 +293,7 @@ export declare const sdkDataLoadersSchema: z.ZodOptional<z.ZodRecord<z.ZodString
|
|
|
291
293
|
getPublicBookingServices: "getPublicBookingServices";
|
|
292
294
|
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
293
295
|
listPublicEvents: "listPublicEvents";
|
|
296
|
+
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
294
297
|
listPublicPasses: "listPublicPasses";
|
|
295
298
|
listPublicMemberships: "listPublicMemberships";
|
|
296
299
|
listPublicProducts: "listPublicProducts";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ButtonVariant, SectionStylesContent } from './system-block-content';
|
|
2
|
+
export type EventRegistrationContent = {
|
|
3
|
+
heading?: string | null;
|
|
4
|
+
showSessions?: boolean | null;
|
|
5
|
+
description?: unknown;
|
|
6
|
+
showPrice?: boolean | null;
|
|
7
|
+
maxTickets?: '1' | '2' | '3' | '5' | '10' | null;
|
|
8
|
+
showCapacity?: boolean | null;
|
|
9
|
+
successMessage?: string | null;
|
|
10
|
+
showVenue?: boolean | null;
|
|
11
|
+
membershipMessage?: string | null;
|
|
12
|
+
waitlistMessage?: string | null;
|
|
13
|
+
buttonText?: string | null;
|
|
14
|
+
buttonVariant?: ButtonVariant | null;
|
|
15
|
+
_sectionStyles?: SectionStylesContent;
|
|
16
|
+
};
|
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
* require importing internal blocks package types.
|
|
6
6
|
*/
|
|
7
7
|
import type { InlineText, LinkValue, Media } from './content';
|
|
8
|
+
import type { EventRegistrationContent } from './event-registration-content';
|
|
9
|
+
export type { EventRegistrationContent } from './event-registration-content';
|
|
8
10
|
import type { Brand, EventCategoryId, RichTextDoc, VenueId } from '../../../core/src/index';
|
|
11
|
+
import type { SiteFooterContent as BlocksSiteFooterContent } from '../../../blocks/src/system/blocks/site-footer';
|
|
9
12
|
type UnknownRecord = Record<string, unknown>;
|
|
10
13
|
type ImageMedia = Omit<Media, 'type'> & {
|
|
11
14
|
type: 'image';
|
|
@@ -246,18 +249,6 @@ export type EventListingContent = {
|
|
|
246
249
|
emptyMessage?: string | null;
|
|
247
250
|
_sectionStyles?: SectionStylesContent;
|
|
248
251
|
};
|
|
249
|
-
export type EventRegistrationContent = {
|
|
250
|
-
heading?: string | null;
|
|
251
|
-
description?: unknown;
|
|
252
|
-
maxTickets?: '1' | '2' | '3' | '5' | '10' | null;
|
|
253
|
-
showVenue?: boolean | null;
|
|
254
|
-
showCapacity?: boolean | null;
|
|
255
|
-
successMessage?: string | null;
|
|
256
|
-
waitlistMessage?: string | null;
|
|
257
|
-
buttonText?: string | null;
|
|
258
|
-
buttonVariant?: ButtonVariant | null;
|
|
259
|
-
_sectionStyles?: SectionStylesContent;
|
|
260
|
-
};
|
|
261
252
|
export type EventSpotlightContent = {
|
|
262
253
|
heading?: string | null;
|
|
263
254
|
description?: unknown;
|
|
@@ -505,9 +496,7 @@ export type CheckoutContent = {
|
|
|
505
496
|
emptyStateText?: string | null;
|
|
506
497
|
_sectionStyles?: SectionStylesContent;
|
|
507
498
|
};
|
|
508
|
-
export type SiteFooterContent =
|
|
509
|
-
showBusinessAddress?: boolean | null;
|
|
510
|
-
}>;
|
|
499
|
+
export type SiteFooterContent = BlocksSiteFooterContent;
|
|
511
500
|
export type SiteHeaderMode = 'default' | 'hidden';
|
|
512
501
|
export type SiteHeaderContent = Readonly<{
|
|
513
502
|
mode?: SiteHeaderMode | null;
|
|
@@ -1,24 +1,11 @@
|
|
|
1
1
|
import type { AddressedLocationValue, BusinessAddress } from '../../../core/src/index';
|
|
2
2
|
import type { APIEndpoints, SdkRuntimePageSurfaceSubject as ApiSdkRuntimePageSurfaceSubject, SiteBySlugResponse as ApiSiteBySlugResponse, SiteBookingOfferingPresetSummary as ApiSiteBookingOfferingPresetSummary } from '../../../api/src/index';
|
|
3
|
-
import type {
|
|
3
|
+
import type { MediaAssetIndexItem, SiteFooterContent, SiteHeaderContent } from '../contracts';
|
|
4
4
|
import type { CompiledBoundaryRuntime } from '../../../theme-core/src/site-styles/index';
|
|
5
5
|
import type { BlockFieldConfig as SdkBlockFieldConfig, BlockFieldOptionsMap as SdkBlockFieldOptionsMap, ContentConfig as SdkContentConfig, ContainerOptionsConfig as SdkContainerOptionsConfig, FieldSelectOption as SdkFieldSelectOption, SdkCustomBlock, SdkThemeConfig, SdkThemePalette, SectionBackground as SdkSectionBackground, SectionOptionsConfig as SdkSectionOptionsConfig, SiteStyleConfig as SdkSiteStyleConfig } from '../config/types';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
roleLabel: string | null;
|
|
10
|
-
summary: string | null;
|
|
11
|
-
profilePath: string | null;
|
|
12
|
-
};
|
|
13
|
-
export type PublicTeamMemberPhoto = (Omit<Media, 'type'> & {
|
|
14
|
-
type: 'image';
|
|
15
|
-
}) | null;
|
|
16
|
-
export type PublicTeamMemberBlockItem = PublicTeamMemberSummary & {
|
|
17
|
-
_type: 'teamMember';
|
|
18
|
-
role: string | null;
|
|
19
|
-
bio: string | null;
|
|
20
|
-
photo: PublicTeamMemberPhoto;
|
|
21
|
-
};
|
|
6
|
+
import type { PublicTeamMemberBlockItem } from './teamMemberContracts';
|
|
7
|
+
export type { PublicTeamMemberBlockItem, PublicTeamMemberPhoto, PublicTeamMemberSummary, } from './teamMemberContracts';
|
|
8
|
+
export type { PublicWholeSeriesOfferingResponse } from './wholeSeriesContracts';
|
|
22
9
|
export type RuntimeSiteSdkConfig = {
|
|
23
10
|
theme?: SdkThemeConfig;
|
|
24
11
|
customBlocks?: SdkCustomBlock[];
|
|
@@ -900,4 +887,3 @@ export type PublicSdkContainerOptionsConfig = SdkContainerOptionsConfig;
|
|
|
900
887
|
export type PublicSdkBlockFieldConfig = SdkBlockFieldConfig;
|
|
901
888
|
export type PublicSdkBlockFieldOptionsMap = SdkBlockFieldOptionsMap;
|
|
902
889
|
export type PublicSdkFieldSelectOption = SdkFieldSelectOption;
|
|
903
|
-
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Media } from '../contracts';
|
|
2
|
+
export type PublicTeamMemberSummary = {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
roleLabel: string | null;
|
|
6
|
+
summary: string | null;
|
|
7
|
+
profilePath: string | null;
|
|
8
|
+
};
|
|
9
|
+
export type PublicTeamMemberPhoto = (Omit<Media, 'type'> & {
|
|
10
|
+
type: 'image';
|
|
11
|
+
}) | null;
|
|
12
|
+
export type PublicTeamMemberBlockItem = PublicTeamMemberSummary & {
|
|
13
|
+
_type: 'teamMember';
|
|
14
|
+
role: string | null;
|
|
15
|
+
bio: string | null;
|
|
16
|
+
photo: PublicTeamMemberPhoto;
|
|
17
|
+
};
|
|
@@ -3,6 +3,7 @@ import type { EntrySubrouteContextData, MediaAssetIndexItem, OccurrenceContextDa
|
|
|
3
3
|
import type { SdkCustomBlock } from '../config/types';
|
|
4
4
|
import type { BlockOverrides } from './overrides';
|
|
5
5
|
import type { SiteBookingOfferingPresetSummary } from '../public-api/contracts';
|
|
6
|
+
import { type BlocksImageResolveContextInput, type BlocksMediaAssetIndexItem } from './mediaAssets';
|
|
6
7
|
import type { EventPageSurfaceSubjectWire } from '../../../core/src/index';
|
|
7
8
|
export type ComponentRegistry = Record<string, React.ElementType>;
|
|
8
9
|
export type PageRendererDataContext = {
|
|
@@ -26,6 +27,11 @@ export type PageRendererDataContext = {
|
|
|
26
27
|
apiBaseUrl?: string;
|
|
27
28
|
portalToken?: string | null;
|
|
28
29
|
previewToken?: string | null;
|
|
30
|
+
eventRegistrationOverlayEnabled?: boolean;
|
|
31
|
+
};
|
|
32
|
+
export type BlocksPageRendererDataContext = Omit<PageRendererDataContext, 'mediaAssets' | 'imageResolveContext'> & {
|
|
33
|
+
mediaAssets?: readonly BlocksMediaAssetIndexItem[];
|
|
34
|
+
imageResolveContext?: BlocksImageResolveContextInput;
|
|
29
35
|
};
|
|
30
36
|
export type SdkConfigForRenderer = {
|
|
31
37
|
customBlocks?: SdkCustomBlock[];
|
|
@@ -44,4 +50,5 @@ export type PageRendererProps = {
|
|
|
44
50
|
sdkConfig?: SdkConfigForRenderer | null;
|
|
45
51
|
customBlocks?: SdkCustomBlock[];
|
|
46
52
|
};
|
|
53
|
+
export declare function toBlocksPageRendererDataContext(dataContext: PageRendererDataContext): BlocksPageRendererDataContext;
|
|
47
54
|
export declare function PageRenderer(props: PageRendererProps): React.ReactElement;
|
|
@@ -16,14 +16,16 @@ export type { LoadPageParams, LoadPageResult } from './helpers/loadPage';
|
|
|
16
16
|
export { loadContent, isPageContent, isEntryContent, isPageSurfaceContent, } from './helpers/loadContent';
|
|
17
17
|
export type { LoadContentParams, LoadContentResult, ContentEntryData, PagePreviewMetadata, SiteData, } from './helpers/loadContent';
|
|
18
18
|
export type { BlockLoaderMap, DataLoaderContext, DataLoaderFn, DataLoaderOverrides, DataLoaderPreviewStage, DataLoaderRenderTarget, DataLoaderSearchParams, DataLoaderValue, } from '../data/types';
|
|
19
|
-
export type { AppointmentBookingContent, BlogListingContent, BlogPostContent, BodyTextAlignment, BodyTextContent, ButtonVariant, CalendarTabViews, CardStylesContent, CollectionContent, ColumnsContent, ColumnOption, ContainerStylesContent, CtaFullContent, DisplayMode, EmbedContent, EventCalendarContent, EventDetailsContent, EventLayout, EventListingContent, EventRegistrationContent, EventSpotlightContent, FaqContent, FaqItem, FilterAutoShow, FormBlockContent, GiftingContent, HeroContent, HeroCta, HeroCtaInput, HeroMedia, ImageColSize, ImageGalleryContent, LayoutAlign, LayoutWidth, Media, MediaTextAlignment, MediaTextAspectRatio, MediaTextContent, MediaTextImagePosition, NewsletterSignupContent, NewsletterSignupPreset, TipTapNode, TipTapMark, LinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, RichTextPrimitiveProps, RichTextVariant, PageOutline, BlockOutline, RouteMap, RouteMapEntry, OccurrenceContextData, EntrySubrouteContextData, Theme, ThemeTokens,
|
|
19
|
+
export type { AppointmentBookingContent, BlogListingContent, BlogPostContent, BodyTextAlignment, BodyTextContent, ButtonVariant, CalendarTabViews, CardStylesContent, CollectionContent, ColumnsContent, ColumnOption, ContainerStylesContent, CtaFullContent, DisplayMode, EmbedContent, EventCalendarContent, EventDetailsContent, EventLayout, EventListingContent, EventRegistrationContent, EventSpotlightContent, FaqContent, FaqItem, FilterAutoShow, FormBlockContent, GiftingContent, HeroContent, HeroCta, HeroCtaInput, HeroMedia, ImageColSize, ImageGalleryContent, LayoutAlign, LayoutWidth, Media, MediaTextAlignment, MediaTextAspectRatio, MediaTextContent, MediaTextImagePosition, NewsletterSignupContent, NewsletterSignupPreset, RichTextDoc, TipTapNode, TipTapMark, LinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, RichTextPrimitiveProps, RichTextVariant, PageOutline, BlockOutline, RouteMap, RouteMapEntry, OccurrenceContextData, EntrySubrouteContextData, Theme, ThemeTokens, SectionStylesContent, SemanticSpacing, ShopContent, SingleButtonContent, SiteFooterContent, SiteHeaderContent, StackContentAlignment, StackImagePosition, SystemBlockContentByFullKind, SystemBlockContentByKind, SystemBlockContentFor, SystemBlockShortKind, TeamMembersContent, TestimonialEntryContent, TestimonialsBlockContent, ThumbnailPadding, ThumbnailShape, VideoGridContent, WeekStart, MediaAssetIndexItem, ImageOptions, ResolveImageUrlContext, ResolveImageUrlContextInput, ResolveImageSourceSetOptions, ResolvedImageSourceSet, } from '../contracts';
|
|
20
20
|
export { ImagePresets } from '../contracts';
|
|
21
21
|
export { RichText } from './primitives/RichText';
|
|
22
22
|
export { resolveImageUrl, resolveImageUrlWithContext, resolveImageSourceSetWithContext, } from './image';
|
|
23
|
-
export { PageRenderer } from './blocks-page-renderer';
|
|
23
|
+
export { PageRenderer, toBlocksPageRendererDataContext, } from './blocks-page-renderer';
|
|
24
24
|
export { ThemeScope } from './blocks-theme-scope';
|
|
25
25
|
export { buildThemeRuntime } from './blocks-theme-runtime';
|
|
26
|
-
export
|
|
26
|
+
export { toBlocksImageResolveContextInput, toBlocksMediaAssets, } from './mediaAssets';
|
|
27
|
+
export type { BlocksImageResolveContextInput, BlocksMediaAssetIndexItem, } from './mediaAssets';
|
|
28
|
+
export type { ComponentRegistry, BlocksPageRendererDataContext, PageRendererDataContext, PageRendererProps, SdkConfigForRenderer, } from './blocks-page-renderer';
|
|
27
29
|
export type { ThemeScopeProps } from './blocks-theme-scope';
|
|
28
30
|
export type { BlockOverrideProps, BlockOverrideComponent, BlockOverrideRegistration, BlockOverrideRegistrations, BlockOverrides, CustomBlockOverrideKey, KnownSystemBlockOverrides, KnownBlockOverrideKey, LazyBlockOverrideFactory, LazyBlockOverrideRegistration, StrictBlockOverrideRegistrations, StrictBlockOverrides, SystemBlockOverrideKey, } from './overrides';
|
|
29
31
|
export { defineBlockOverrideRegistrations, defineBlockOverrides, defineLazyBlockOverride, } from './overrides';
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type MediaAssetId } from '../../../core/src/index';
|
|
2
2
|
import type { MediaAssetIndexItem as SdkMediaAssetIndexItem, ResolveImageUrlContextInput as SdkResolveImageUrlContextInput } from '../contracts';
|
|
3
|
+
export type BlocksMediaAssetIndexItem = Omit<SdkMediaAssetIndexItem, 'id'> & Readonly<{
|
|
4
|
+
id: MediaAssetId;
|
|
5
|
+
}>;
|
|
6
|
+
export type BlocksImageResolveContextInput = Omit<SdkResolveImageUrlContextInput, 'mediaAssets'> & Readonly<{
|
|
7
|
+
mediaAssets?: readonly BlocksMediaAssetIndexItem[];
|
|
8
|
+
}>;
|
|
3
9
|
export declare function toBlocksMediaAssets(assets: readonly SdkMediaAssetIndexItem[] | undefined): readonly BlocksMediaAssetIndexItem[] | undefined;
|
|
4
|
-
export declare function toBlocksImageResolveContextInput(context: SdkResolveImageUrlContextInput | undefined):
|
|
10
|
+
export declare function toBlocksImageResolveContextInput(context: SdkResolveImageUrlContextInput | undefined): BlocksImageResolveContextInput | undefined;
|
|
@@ -674,7 +674,14 @@ export declare const siteCommandBatchSchema: z.ZodObject<{
|
|
|
674
674
|
type: z.ZodLiteral<"upsertFooterContent">;
|
|
675
675
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<import("./refs").FooterRef, string>>;
|
|
676
676
|
input: z.ZodObject<{
|
|
677
|
-
|
|
677
|
+
composition: z.ZodCustom<Readonly<{
|
|
678
|
+
schemaVersion: 1;
|
|
679
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
680
|
+
}>, Readonly<{
|
|
681
|
+
schemaVersion: 1;
|
|
682
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
683
|
+
}>>;
|
|
684
|
+
baseRevision: z.ZodNumber;
|
|
678
685
|
}, z.core.$strict>;
|
|
679
686
|
}, z.core.$strict>, z.ZodObject<{
|
|
680
687
|
type: z.ZodLiteral<"upsertContentEntry">;
|
|
@@ -224,7 +224,14 @@ export declare const upsertFooterContentCommandSchema: z.ZodObject<{
|
|
|
224
224
|
type: z.ZodLiteral<"upsertFooterContent">;
|
|
225
225
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<FooterRef, string>>;
|
|
226
226
|
input: z.ZodObject<{
|
|
227
|
-
|
|
227
|
+
composition: z.ZodCustom<Readonly<{
|
|
228
|
+
schemaVersion: 1;
|
|
229
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
230
|
+
}>, Readonly<{
|
|
231
|
+
schemaVersion: 1;
|
|
232
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
233
|
+
}>>;
|
|
234
|
+
baseRevision: z.ZodNumber;
|
|
228
235
|
}, z.core.$strict>;
|
|
229
236
|
}, z.core.$strict>;
|
|
230
237
|
export declare const upsertContentEntryCommandSchema: z.ZodObject<{
|
|
@@ -1392,7 +1399,14 @@ export declare const siteCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1392
1399
|
type: z.ZodLiteral<"upsertFooterContent">;
|
|
1393
1400
|
ref: z.ZodPipe<z.ZodString, z.ZodTransform<FooterRef, string>>;
|
|
1394
1401
|
input: z.ZodObject<{
|
|
1395
|
-
|
|
1402
|
+
composition: z.ZodCustom<Readonly<{
|
|
1403
|
+
schemaVersion: 1;
|
|
1404
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
1405
|
+
}>, Readonly<{
|
|
1406
|
+
schemaVersion: 1;
|
|
1407
|
+
sections: readonly import("../../core/src/index").FooterSection[];
|
|
1408
|
+
}>>;
|
|
1409
|
+
baseRevision: z.ZodNumber;
|
|
1396
1410
|
}, z.core.$strict>;
|
|
1397
1411
|
}, z.core.$strict>, z.ZodObject<{
|
|
1398
1412
|
type: z.ZodLiteral<"upsertContentEntry">;
|
|
@@ -11,10 +11,16 @@ type ViewportBandPaintTarget = Readonly<{
|
|
|
11
11
|
ownerSelector: string;
|
|
12
12
|
selector: string;
|
|
13
13
|
mediaQuery: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
extent: Readonly<{
|
|
15
|
+
top: Readonly<{
|
|
16
|
+
customProperty: '--rb-header-floating-top-gap';
|
|
17
|
+
value: '1rem' | '0.75rem';
|
|
18
|
+
ownerProperty: 'top' | 'margin-top';
|
|
19
|
+
}>;
|
|
20
|
+
bottom: Readonly<{
|
|
21
|
+
customProperty: '--rb-header-floating-bottom-extension';
|
|
22
|
+
value: '0.75rem';
|
|
23
|
+
}>;
|
|
18
24
|
}>;
|
|
19
25
|
ownerNeedsPositioning: boolean;
|
|
20
26
|
}>;
|
|
@@ -2,8 +2,7 @@ import type { ThemeHeader } from '../schema';
|
|
|
2
2
|
import type { TokenResolver } from '../tokens/resolver';
|
|
3
3
|
export type HeaderSurfaceRules = Readonly<{
|
|
4
4
|
base: readonly string[];
|
|
5
|
-
scrolled: readonly string[];
|
|
6
5
|
border: readonly string[];
|
|
7
6
|
}>;
|
|
8
|
-
/** Compile the
|
|
9
|
-
export declare function buildHeaderSurfaceRules(header: ThemeHeader, tokens: TokenResolver
|
|
7
|
+
/** Compile the at-rest surface independently of scroll treatment and paint geometry. */
|
|
8
|
+
export declare function buildHeaderSurfaceRules(header: ThemeHeader, tokens: TokenResolver): HeaderSurfaceRules;
|