@riverbankcms/sdk 0.127.0 → 0.129.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 +33 -0
- package/dist/{PreviewEditorSidebar-BXtfF7tp.mjs → PreviewEditorSidebar-B43CJ0g_.mjs} +9 -33
- package/dist/{PreviewEditorUI-Dou73Q0K.mjs → PreviewEditorUI-DHirVkeM.mjs} +3 -3
- package/dist/{PreviewQueryProvider-DgFDIwvK.mjs → PreviewQueryProvider-B1kbhaJD.mjs} +1 -1
- package/dist/SdkPreviewModeRuntime-BJumZy1B.mjs +11209 -0
- package/dist/{SiteChromeCustomizeContext-DZiDBAYu.mjs → SiteChromeCustomizeContext-D9SlpwEj.mjs} +31757 -1621
- 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/PageRenderer.d.ts +20 -10
- 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/index.d.ts +2 -1
- package/dist/_dts/blocks/src/pageRendererBoundaries.d.ts +30 -0
- package/dist/_dts/blocks/src/pageRenderingMode.d.ts +37 -0
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
- package/dist/_dts/blocks/src/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 +73 -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/pageDesignRuntimePreview.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/blocks/previewBatchLoaderParams.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/index.d.ts +47 -47
- 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 +19 -7
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +30 -23
- package/dist/_dts/preview-next/src/client/preview/PreviewThemedSiteDocument.d.ts +18 -5
- package/dist/_dts/preview-next/src/client/preview/themeRuntime.d.ts +9 -0
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +21 -6
- package/dist/_dts/preview-next/src/client/sdk-runtime.d.ts +8 -8
- 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/next/catch-all.d.ts +6 -0
- package/dist/_dts/sdk/src/next/index.d.ts +2 -1
- package/dist/_dts/sdk/src/next/renderSdkContent.d.ts +33 -0
- package/dist/_dts/sdk/src/next/types.d.ts +23 -9
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +4 -6
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +3 -3
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- 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 +32 -3
- package/dist/_dts/sdk/src/rendering/components/Block.shared.d.ts +13 -2
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +31 -18
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +20 -9
- package/dist/_dts/sdk/src/rendering/index.d.ts +8 -4
- package/dist/_dts/sdk/src/rendering/mediaAssets.d.ts +8 -2
- package/dist/_dts/sdk/src/rendering/renderingMode.d.ts +23 -0
- package/dist/_dts/sdk/src/rendering/server.d.ts +5 -3
- package/dist/_dts/sdk/src/rendering/themeRuntime.d.ts +6 -0
- 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 +5535 -4835
- package/dist/cli/init-docs/content/workflow-preview-mode.md +24 -11
- 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 +5324 -4942
- 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 +6026 -5596
- 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 +11 -4
- 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-CfZd5pAm.mjs} +2 -2
- package/dist/{separator-CFvBx2yl.mjs → separator-DkTe68HE.mjs} +1 -1
- package/dist/server/components.mjs +950 -639
- 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 +1181 -835
- package/dist/server/page-converter.mjs +211 -64
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +974 -637
- package/dist/server/rendering.mjs +980 -644
- 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
|
@@ -726,22 +726,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
726
726
|
readonly 'newsletter-form': Readonly<{
|
|
727
727
|
definition: import("../..").SystemBlockDefinition<unknown, Readonly<{
|
|
728
728
|
kind: "progressive";
|
|
729
|
-
buildRender: (source: Readonly<{
|
|
730
|
-
blockId?: string | null;
|
|
731
|
-
siteId?: string;
|
|
732
|
-
apiBaseUrl?: string;
|
|
733
|
-
listId?: string | null;
|
|
734
|
-
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
735
|
-
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
736
|
-
includePhone?: boolean;
|
|
737
|
-
buttonLabel?: string | null;
|
|
738
|
-
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
739
|
-
successMessage?: string | null;
|
|
740
|
-
privacyNote?: string | null;
|
|
741
|
-
tags?: string | null;
|
|
742
|
-
spamProtectionEnabled?: boolean;
|
|
743
|
-
className?: string | null;
|
|
744
|
-
}>) => Readonly<{
|
|
729
|
+
buildRender: (source: import("../nodes/newsletter-form.types").NewsletterFormProps) => Readonly<{
|
|
745
730
|
display: Readonly<{
|
|
746
731
|
kind: "newsletter-form";
|
|
747
732
|
className: string | null;
|
|
@@ -752,8 +737,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
752
737
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
753
738
|
}>;
|
|
754
739
|
hydration: Readonly<{
|
|
755
|
-
|
|
756
|
-
listId?: string | null;
|
|
740
|
+
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
757
741
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
758
742
|
includePhone: boolean;
|
|
759
743
|
tags?: string | null;
|
|
@@ -762,38 +746,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
762
746
|
}>;
|
|
763
747
|
contracts: Readonly<{
|
|
764
748
|
source: Readonly<{
|
|
765
|
-
encode: (value:
|
|
766
|
-
|
|
767
|
-
siteId?: string;
|
|
768
|
-
apiBaseUrl?: string;
|
|
769
|
-
listId?: string | null;
|
|
770
|
-
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
771
|
-
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
772
|
-
includePhone?: boolean;
|
|
773
|
-
buttonLabel?: string | null;
|
|
774
|
-
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
775
|
-
successMessage?: string | null;
|
|
776
|
-
privacyNote?: string | null;
|
|
777
|
-
tags?: string | null;
|
|
778
|
-
spamProtectionEnabled?: boolean;
|
|
779
|
-
className?: string | null;
|
|
780
|
-
}>) => unknown;
|
|
781
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
782
|
-
blockId?: string | null;
|
|
783
|
-
siteId?: string;
|
|
784
|
-
apiBaseUrl?: string;
|
|
785
|
-
listId?: string | null;
|
|
786
|
-
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
787
|
-
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
788
|
-
includePhone?: boolean;
|
|
789
|
-
buttonLabel?: string | null;
|
|
790
|
-
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
791
|
-
successMessage?: string | null;
|
|
792
|
-
privacyNote?: string | null;
|
|
793
|
-
tags?: string | null;
|
|
794
|
-
spamProtectionEnabled?: boolean;
|
|
795
|
-
className?: string | null;
|
|
796
|
-
}>>;
|
|
749
|
+
encode: (value: import("../nodes/newsletter-form.types").NewsletterFormProps) => unknown;
|
|
750
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/newsletter-form.types").NewsletterFormProps>;
|
|
797
751
|
}>;
|
|
798
752
|
render: Readonly<{
|
|
799
753
|
encode: (value: Readonly<{
|
|
@@ -807,8 +761,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
807
761
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
808
762
|
}>;
|
|
809
763
|
hydration: Readonly<{
|
|
810
|
-
|
|
811
|
-
listId?: string | null;
|
|
764
|
+
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
812
765
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
813
766
|
includePhone: boolean;
|
|
814
767
|
tags?: string | null;
|
|
@@ -826,8 +779,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
826
779
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
827
780
|
}>;
|
|
828
781
|
hydration: Readonly<{
|
|
829
|
-
|
|
830
|
-
listId?: string | null;
|
|
782
|
+
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
831
783
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
832
784
|
includePhone: boolean;
|
|
833
785
|
tags?: string | null;
|
|
@@ -842,22 +794,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
842
794
|
}>;
|
|
843
795
|
runtime: Readonly<{
|
|
844
796
|
kind: "progressive";
|
|
845
|
-
buildRender: (source: Readonly<{
|
|
846
|
-
blockId?: string | null;
|
|
847
|
-
siteId?: string;
|
|
848
|
-
apiBaseUrl?: string;
|
|
849
|
-
listId?: string | null;
|
|
850
|
-
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
851
|
-
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
852
|
-
includePhone?: boolean;
|
|
853
|
-
buttonLabel?: string | null;
|
|
854
|
-
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
855
|
-
successMessage?: string | null;
|
|
856
|
-
privacyNote?: string | null;
|
|
857
|
-
tags?: string | null;
|
|
858
|
-
spamProtectionEnabled?: boolean;
|
|
859
|
-
className?: string | null;
|
|
860
|
-
}>) => Readonly<{
|
|
797
|
+
buildRender: (source: import("../nodes/newsletter-form.types").NewsletterFormProps) => Readonly<{
|
|
861
798
|
display: Readonly<{
|
|
862
799
|
kind: "newsletter-form";
|
|
863
800
|
className: string | null;
|
|
@@ -868,8 +805,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
868
805
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
869
806
|
}>;
|
|
870
807
|
hydration: Readonly<{
|
|
871
|
-
|
|
872
|
-
listId?: string | null;
|
|
808
|
+
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
873
809
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
874
810
|
includePhone: boolean;
|
|
875
811
|
tags?: string | null;
|
|
@@ -878,38 +814,8 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
878
814
|
}>;
|
|
879
815
|
contracts: Readonly<{
|
|
880
816
|
source: Readonly<{
|
|
881
|
-
encode: (value:
|
|
882
|
-
|
|
883
|
-
siteId?: string;
|
|
884
|
-
apiBaseUrl?: string;
|
|
885
|
-
listId?: string | null;
|
|
886
|
-
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
887
|
-
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
888
|
-
includePhone?: boolean;
|
|
889
|
-
buttonLabel?: string | null;
|
|
890
|
-
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
891
|
-
successMessage?: string | null;
|
|
892
|
-
privacyNote?: string | null;
|
|
893
|
-
tags?: string | null;
|
|
894
|
-
spamProtectionEnabled?: boolean;
|
|
895
|
-
className?: string | null;
|
|
896
|
-
}>) => unknown;
|
|
897
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
898
|
-
blockId?: string | null;
|
|
899
|
-
siteId?: string;
|
|
900
|
-
apiBaseUrl?: string;
|
|
901
|
-
listId?: string | null;
|
|
902
|
-
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
903
|
-
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
904
|
-
includePhone?: boolean;
|
|
905
|
-
buttonLabel?: string | null;
|
|
906
|
-
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
907
|
-
successMessage?: string | null;
|
|
908
|
-
privacyNote?: string | null;
|
|
909
|
-
tags?: string | null;
|
|
910
|
-
spamProtectionEnabled?: boolean;
|
|
911
|
-
className?: string | null;
|
|
912
|
-
}>>;
|
|
817
|
+
encode: (value: import("../nodes/newsletter-form.types").NewsletterFormProps) => unknown;
|
|
818
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/newsletter-form.types").NewsletterFormProps>;
|
|
913
819
|
}>;
|
|
914
820
|
render: Readonly<{
|
|
915
821
|
encode: (value: Readonly<{
|
|
@@ -923,8 +829,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
923
829
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
924
830
|
}>;
|
|
925
831
|
hydration: Readonly<{
|
|
926
|
-
|
|
927
|
-
listId?: string | null;
|
|
832
|
+
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
928
833
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
929
834
|
includePhone: boolean;
|
|
930
835
|
tags?: string | null;
|
|
@@ -942,8 +847,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
942
847
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
943
848
|
}>;
|
|
944
849
|
hydration: Readonly<{
|
|
945
|
-
|
|
946
|
-
listId?: string | null;
|
|
850
|
+
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
947
851
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
948
852
|
includePhone: boolean;
|
|
949
853
|
tags?: string | null;
|
|
@@ -1929,13 +1833,18 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1929
1833
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1930
1834
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1931
1835
|
events?: import("../..").PublicEvent[] | null;
|
|
1836
|
+
wholeSeriesOfferings?: import("../..").PublicCourse[] | null;
|
|
1837
|
+
wholeSeriesOffering?: import("../..").PublicCourse | null;
|
|
1932
1838
|
className?: string | null;
|
|
1933
1839
|
buttonText?: string | null;
|
|
1934
1840
|
maxTickets?: string | null;
|
|
1935
1841
|
showVenue?: boolean;
|
|
1936
1842
|
showCapacity?: boolean;
|
|
1843
|
+
showSessions?: boolean;
|
|
1844
|
+
showPrice?: boolean;
|
|
1937
1845
|
successMessage?: string;
|
|
1938
1846
|
waitlistMessage?: string;
|
|
1847
|
+
membershipMessage?: string;
|
|
1939
1848
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
1940
1849
|
overlayEnabled?: boolean;
|
|
1941
1850
|
spamProtectionEnabled?: boolean;
|
|
@@ -1969,13 +1878,18 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1969
1878
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1970
1879
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1971
1880
|
events?: import("../..").PublicEvent[] | null;
|
|
1881
|
+
wholeSeriesOfferings?: import("../..").PublicCourse[] | null;
|
|
1882
|
+
wholeSeriesOffering?: import("../..").PublicCourse | null;
|
|
1972
1883
|
className?: string | null;
|
|
1973
1884
|
buttonText?: string | null;
|
|
1974
1885
|
maxTickets?: string | null;
|
|
1975
1886
|
showVenue?: boolean;
|
|
1976
1887
|
showCapacity?: boolean;
|
|
1888
|
+
showSessions?: boolean;
|
|
1889
|
+
showPrice?: boolean;
|
|
1977
1890
|
successMessage?: string;
|
|
1978
1891
|
waitlistMessage?: string;
|
|
1892
|
+
membershipMessage?: string;
|
|
1979
1893
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
1980
1894
|
overlayEnabled?: boolean;
|
|
1981
1895
|
spamProtectionEnabled?: boolean;
|
|
@@ -1996,13 +1910,18 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1996
1910
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1997
1911
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1998
1912
|
events?: import("../..").PublicEvent[] | null;
|
|
1913
|
+
wholeSeriesOfferings?: import("../..").PublicCourse[] | null;
|
|
1914
|
+
wholeSeriesOffering?: import("../..").PublicCourse | null;
|
|
1999
1915
|
className?: string | null;
|
|
2000
1916
|
buttonText?: string | null;
|
|
2001
1917
|
maxTickets?: string | null;
|
|
2002
1918
|
showVenue?: boolean;
|
|
2003
1919
|
showCapacity?: boolean;
|
|
1920
|
+
showSessions?: boolean;
|
|
1921
|
+
showPrice?: boolean;
|
|
2004
1922
|
successMessage?: string;
|
|
2005
1923
|
waitlistMessage?: string;
|
|
1924
|
+
membershipMessage?: string;
|
|
2006
1925
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
2007
1926
|
overlayEnabled?: boolean;
|
|
2008
1927
|
spamProtectionEnabled?: boolean;
|
|
@@ -2057,13 +1976,18 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2057
1976
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
2058
1977
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
2059
1978
|
events?: import("../..").PublicEvent[] | null;
|
|
1979
|
+
wholeSeriesOfferings?: import("../..").PublicCourse[] | null;
|
|
1980
|
+
wholeSeriesOffering?: import("../..").PublicCourse | null;
|
|
2060
1981
|
className?: string | null;
|
|
2061
1982
|
buttonText?: string | null;
|
|
2062
1983
|
maxTickets?: string | null;
|
|
2063
1984
|
showVenue?: boolean;
|
|
2064
1985
|
showCapacity?: boolean;
|
|
1986
|
+
showSessions?: boolean;
|
|
1987
|
+
showPrice?: boolean;
|
|
2065
1988
|
successMessage?: string;
|
|
2066
1989
|
waitlistMessage?: string;
|
|
1990
|
+
membershipMessage?: string;
|
|
2067
1991
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
2068
1992
|
overlayEnabled?: boolean;
|
|
2069
1993
|
spamProtectionEnabled?: boolean;
|
|
@@ -2097,13 +2021,18 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2097
2021
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
2098
2022
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
2099
2023
|
events?: import("../..").PublicEvent[] | null;
|
|
2024
|
+
wholeSeriesOfferings?: import("../..").PublicCourse[] | null;
|
|
2025
|
+
wholeSeriesOffering?: import("../..").PublicCourse | null;
|
|
2100
2026
|
className?: string | null;
|
|
2101
2027
|
buttonText?: string | null;
|
|
2102
2028
|
maxTickets?: string | null;
|
|
2103
2029
|
showVenue?: boolean;
|
|
2104
2030
|
showCapacity?: boolean;
|
|
2031
|
+
showSessions?: boolean;
|
|
2032
|
+
showPrice?: boolean;
|
|
2105
2033
|
successMessage?: string;
|
|
2106
2034
|
waitlistMessage?: string;
|
|
2035
|
+
membershipMessage?: string;
|
|
2107
2036
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
2108
2037
|
overlayEnabled?: boolean;
|
|
2109
2038
|
spamProtectionEnabled?: boolean;
|
|
@@ -2124,13 +2053,18 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2124
2053
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
2125
2054
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
2126
2055
|
events?: import("../..").PublicEvent[] | null;
|
|
2056
|
+
wholeSeriesOfferings?: import("../..").PublicCourse[] | null;
|
|
2057
|
+
wholeSeriesOffering?: import("../..").PublicCourse | null;
|
|
2127
2058
|
className?: string | null;
|
|
2128
2059
|
buttonText?: string | null;
|
|
2129
2060
|
maxTickets?: string | null;
|
|
2130
2061
|
showVenue?: boolean;
|
|
2131
2062
|
showCapacity?: boolean;
|
|
2063
|
+
showSessions?: boolean;
|
|
2064
|
+
showPrice?: boolean;
|
|
2132
2065
|
successMessage?: string;
|
|
2133
2066
|
waitlistMessage?: string;
|
|
2067
|
+
membershipMessage?: string;
|
|
2134
2068
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
2135
2069
|
overlayEnabled?: boolean;
|
|
2136
2070
|
spamProtectionEnabled?: boolean;
|
|
@@ -366,22 +366,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
366
366
|
readonly 'newsletter-form': Readonly<{
|
|
367
367
|
definition: RuntimeBackedBlockDefinition<Readonly<{
|
|
368
368
|
kind: "progressive";
|
|
369
|
-
buildRender: (source: Readonly<{
|
|
370
|
-
blockId?: string | null;
|
|
371
|
-
siteId?: string;
|
|
372
|
-
apiBaseUrl?: string;
|
|
373
|
-
listId?: string | null;
|
|
374
|
-
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
375
|
-
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
376
|
-
includePhone?: boolean;
|
|
377
|
-
buttonLabel?: string | null;
|
|
378
|
-
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
379
|
-
successMessage?: string | null;
|
|
380
|
-
privacyNote?: string | null;
|
|
381
|
-
tags?: string | null;
|
|
382
|
-
spamProtectionEnabled?: boolean;
|
|
383
|
-
className?: string | null;
|
|
384
|
-
}>) => Readonly<{
|
|
369
|
+
buildRender: (source: import("../nodes/newsletter-form.types").NewsletterFormProps) => Readonly<{
|
|
385
370
|
display: Readonly<{
|
|
386
371
|
kind: "newsletter-form";
|
|
387
372
|
className: string | null;
|
|
@@ -392,8 +377,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
392
377
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
393
378
|
}>;
|
|
394
379
|
hydration: Readonly<{
|
|
395
|
-
|
|
396
|
-
listId?: string | null;
|
|
380
|
+
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
397
381
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
398
382
|
includePhone: boolean;
|
|
399
383
|
tags?: string | null;
|
|
@@ -402,38 +386,8 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
402
386
|
}>;
|
|
403
387
|
contracts: Readonly<{
|
|
404
388
|
source: Readonly<{
|
|
405
|
-
encode: (value:
|
|
406
|
-
|
|
407
|
-
siteId?: string;
|
|
408
|
-
apiBaseUrl?: string;
|
|
409
|
-
listId?: string | null;
|
|
410
|
-
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
411
|
-
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
412
|
-
includePhone?: boolean;
|
|
413
|
-
buttonLabel?: string | null;
|
|
414
|
-
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
415
|
-
successMessage?: string | null;
|
|
416
|
-
privacyNote?: string | null;
|
|
417
|
-
tags?: string | null;
|
|
418
|
-
spamProtectionEnabled?: boolean;
|
|
419
|
-
className?: string | null;
|
|
420
|
-
}>) => unknown;
|
|
421
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
422
|
-
blockId?: string | null;
|
|
423
|
-
siteId?: string;
|
|
424
|
-
apiBaseUrl?: string;
|
|
425
|
-
listId?: string | null;
|
|
426
|
-
destinationProvider?: import("../../blocks/newsletter-signup-destination").NewsletterSignupDestinationProvider | null;
|
|
427
|
-
preset?: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
428
|
-
includePhone?: boolean;
|
|
429
|
-
buttonLabel?: string | null;
|
|
430
|
-
buttonVariant?: import("../nodes/newsletter-form.types").NewsletterButtonVariant | null;
|
|
431
|
-
successMessage?: string | null;
|
|
432
|
-
privacyNote?: string | null;
|
|
433
|
-
tags?: string | null;
|
|
434
|
-
spamProtectionEnabled?: boolean;
|
|
435
|
-
className?: string | null;
|
|
436
|
-
}>>;
|
|
389
|
+
encode: (value: import("../nodes/newsletter-form.types").NewsletterFormProps) => unknown;
|
|
390
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/newsletter-form.types").NewsletterFormProps>;
|
|
437
391
|
}>;
|
|
438
392
|
render: Readonly<{
|
|
439
393
|
encode: (value: Readonly<{
|
|
@@ -447,8 +401,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
447
401
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
448
402
|
}>;
|
|
449
403
|
hydration: Readonly<{
|
|
450
|
-
|
|
451
|
-
listId?: string | null;
|
|
404
|
+
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
452
405
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
453
406
|
includePhone: boolean;
|
|
454
407
|
tags?: string | null;
|
|
@@ -466,8 +419,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
466
419
|
fields: readonly import("../nodes/newsletter-form.types").NewsletterFieldDef[];
|
|
467
420
|
}>;
|
|
468
421
|
hydration: Readonly<{
|
|
469
|
-
|
|
470
|
-
listId?: string | null;
|
|
422
|
+
target: import("../nodes/newsletter-form.interactive").NewsletterFormHydrationTarget;
|
|
471
423
|
preset: import("../nodes/newsletter-form.types").NewsletterPreset;
|
|
472
424
|
includePhone: boolean;
|
|
473
425
|
tags?: string | null;
|
|
@@ -968,13 +920,18 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
968
920
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
969
921
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
970
922
|
events?: import("../..").PublicEvent[] | null;
|
|
923
|
+
wholeSeriesOfferings?: import("../..").PublicCourse[] | null;
|
|
924
|
+
wholeSeriesOffering?: import("../..").PublicCourse | null;
|
|
971
925
|
className?: string | null;
|
|
972
926
|
buttonText?: string | null;
|
|
973
927
|
maxTickets?: string | null;
|
|
974
928
|
showVenue?: boolean;
|
|
975
929
|
showCapacity?: boolean;
|
|
930
|
+
showSessions?: boolean;
|
|
931
|
+
showPrice?: boolean;
|
|
976
932
|
successMessage?: string;
|
|
977
933
|
waitlistMessage?: string;
|
|
934
|
+
membershipMessage?: string;
|
|
978
935
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
979
936
|
overlayEnabled?: boolean;
|
|
980
937
|
spamProtectionEnabled?: boolean;
|
|
@@ -1008,13 +965,18 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1008
965
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1009
966
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1010
967
|
events?: import("../..").PublicEvent[] | null;
|
|
968
|
+
wholeSeriesOfferings?: import("../..").PublicCourse[] | null;
|
|
969
|
+
wholeSeriesOffering?: import("../..").PublicCourse | null;
|
|
1011
970
|
className?: string | null;
|
|
1012
971
|
buttonText?: string | null;
|
|
1013
972
|
maxTickets?: string | null;
|
|
1014
973
|
showVenue?: boolean;
|
|
1015
974
|
showCapacity?: boolean;
|
|
975
|
+
showSessions?: boolean;
|
|
976
|
+
showPrice?: boolean;
|
|
1016
977
|
successMessage?: string;
|
|
1017
978
|
waitlistMessage?: string;
|
|
979
|
+
membershipMessage?: string;
|
|
1018
980
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
1019
981
|
overlayEnabled?: boolean;
|
|
1020
982
|
spamProtectionEnabled?: boolean;
|
|
@@ -1035,13 +997,18 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1035
997
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1036
998
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1037
999
|
events?: import("../..").PublicEvent[] | null;
|
|
1000
|
+
wholeSeriesOfferings?: import("../..").PublicCourse[] | null;
|
|
1001
|
+
wholeSeriesOffering?: import("../..").PublicCourse | null;
|
|
1038
1002
|
className?: string | null;
|
|
1039
1003
|
buttonText?: string | null;
|
|
1040
1004
|
maxTickets?: string | null;
|
|
1041
1005
|
showVenue?: boolean;
|
|
1042
1006
|
showCapacity?: boolean;
|
|
1007
|
+
showSessions?: boolean;
|
|
1008
|
+
showPrice?: boolean;
|
|
1043
1009
|
successMessage?: string;
|
|
1044
1010
|
waitlistMessage?: string;
|
|
1011
|
+
membershipMessage?: string;
|
|
1045
1012
|
buttonVariant?: import("../../..").BlockButtonRole;
|
|
1046
1013
|
overlayEnabled?: boolean;
|
|
1047
1014
|
spamProtectionEnabled?: boolean;
|
|
@@ -9,7 +9,7 @@ export type OccurrenceContextLike = {
|
|
|
9
9
|
timeZone: string;
|
|
10
10
|
} | null;
|
|
11
11
|
export type EventDetailsSelection = {
|
|
12
|
-
mode: 'selected' | 'next';
|
|
12
|
+
mode: 'selected' | 'next' | 'completed';
|
|
13
13
|
selected: PublicEvent | null;
|
|
14
14
|
otherDates: PublicEvent[];
|
|
15
15
|
timeZone: string;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { PublicCourse } from '../../../blocks/courses/shared/types';
|
|
2
|
+
import type { PublicEvent } from '../../../blocks/events/shared/types';
|
|
3
|
+
import { type EventRegistrationPageSurfaceSubject } from './eventScope';
|
|
4
|
+
export type EventRegistrationSurfacePlan = Readonly<{
|
|
5
|
+
kind: 'occurrence';
|
|
6
|
+
events: readonly PublicEvent[];
|
|
7
|
+
}> | Readonly<{
|
|
8
|
+
kind: 'wholeSeries';
|
|
9
|
+
offerings: readonly PublicCourse[];
|
|
10
|
+
}> | Readonly<{
|
|
11
|
+
kind: 'unavailableWholeSeries';
|
|
12
|
+
}> | Readonly<{
|
|
13
|
+
kind: 'mixedBookingScopes';
|
|
14
|
+
}>;
|
|
15
|
+
export declare function planEventRegistrationSurface(input: Readonly<{
|
|
16
|
+
events: readonly PublicEvent[];
|
|
17
|
+
wholeSeriesOfferings: readonly PublicCourse[];
|
|
18
|
+
occurrenceContext?: Readonly<{
|
|
19
|
+
id: string;
|
|
20
|
+
seriesId: string;
|
|
21
|
+
startsAt: string;
|
|
22
|
+
endsAt: string;
|
|
23
|
+
timeZone: string;
|
|
24
|
+
}> | null;
|
|
25
|
+
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
26
|
+
}>): EventRegistrationSurfacePlan;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PublicEvent, PublicEventTicketType, PublicEventTicketTypeAvailability } from '../../../blocks/events/shared/types';
|
|
2
2
|
import type { OccurrenceContext } from '../../../blocks/event-registration.shared';
|
|
3
3
|
import type { PublicMembershipProductCollection, PublicPassProductCollection } from '../../../blocks/shop.shared';
|
|
4
|
+
import type { PublicCourse } from '../../../blocks/courses/shared/types';
|
|
4
5
|
import type { AvailablePass, AvailableMembership, DirectCheckoutCollectionOptionKind, EventTicketLineSummary, EligibilityEventTicketType } from '../../api/types';
|
|
5
6
|
import type { EventRegistrationPageSurfaceSubject } from './eventScope';
|
|
6
7
|
import type { BlockButtonRole } from '../../../constants/buttonRoles';
|
|
@@ -145,11 +146,18 @@ export type EventRegistrationClientProps = {
|
|
|
145
146
|
occurrenceContext?: OccurrenceContext | null;
|
|
146
147
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
147
148
|
events?: PublicEvent[] | null;
|
|
149
|
+
/** Canonical whole-series runs used when the scoped Event books the full series. */
|
|
150
|
+
wholeSeriesOfferings?: PublicCourse[] | null;
|
|
151
|
+
/** Targeted whole-series offering loaded for a native Event page surface. */
|
|
152
|
+
wholeSeriesOffering?: PublicCourse | null;
|
|
148
153
|
maxTickets?: string;
|
|
149
154
|
showVenue?: boolean;
|
|
150
155
|
showCapacity?: boolean;
|
|
156
|
+
showSessions?: boolean;
|
|
157
|
+
showPrice?: boolean;
|
|
151
158
|
successMessage?: string;
|
|
152
159
|
waitlistMessage?: string;
|
|
160
|
+
membershipMessage?: string;
|
|
153
161
|
buttonText?: string;
|
|
154
162
|
buttonVariant?: BlockButtonRole;
|
|
155
163
|
overlayEnabled?: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { BlockButtonRole } from '../../constants/buttonRoles';
|
|
2
2
|
import type { PublicEvent } from '../../blocks/events/shared/types';
|
|
3
|
+
import type { PublicCourse } from '../../blocks/courses/shared/types';
|
|
3
4
|
import { type PublicMembershipProductCollection, type PublicPassProductCollection } from '../../blocks/shop.shared';
|
|
4
5
|
import type { OccurrenceContext } from '../../blocks/event-registration.shared';
|
|
5
6
|
import type { EventRegistrationClientProps as InternalEventRegistrationClientProps } from './event-registration/types';
|
|
@@ -17,13 +18,18 @@ export type EventRegistrationSourceProps = Readonly<{
|
|
|
17
18
|
occurrenceContext?: OccurrenceContext | null;
|
|
18
19
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
19
20
|
events?: PublicEvent[] | null;
|
|
21
|
+
wholeSeriesOfferings?: PublicCourse[] | null;
|
|
22
|
+
wholeSeriesOffering?: PublicCourse | null;
|
|
20
23
|
className?: string | null;
|
|
21
24
|
buttonText?: string | null;
|
|
22
25
|
maxTickets?: string | null;
|
|
23
26
|
showVenue?: boolean;
|
|
24
27
|
showCapacity?: boolean;
|
|
28
|
+
showSessions?: boolean;
|
|
29
|
+
showPrice?: boolean;
|
|
25
30
|
successMessage?: string;
|
|
26
31
|
waitlistMessage?: string;
|
|
32
|
+
membershipMessage?: string;
|
|
27
33
|
buttonVariant?: BlockButtonRole;
|
|
28
34
|
overlayEnabled?: boolean;
|
|
29
35
|
spamProtectionEnabled?: boolean;
|
|
@@ -61,13 +67,18 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
61
67
|
occurrenceContext?: OccurrenceContext | null;
|
|
62
68
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
63
69
|
events?: PublicEvent[] | null;
|
|
70
|
+
wholeSeriesOfferings?: PublicCourse[] | null;
|
|
71
|
+
wholeSeriesOffering?: PublicCourse | null;
|
|
64
72
|
className?: string | null;
|
|
65
73
|
buttonText?: string | null;
|
|
66
74
|
maxTickets?: string | null;
|
|
67
75
|
showVenue?: boolean;
|
|
68
76
|
showCapacity?: boolean;
|
|
77
|
+
showSessions?: boolean;
|
|
78
|
+
showPrice?: boolean;
|
|
69
79
|
successMessage?: string;
|
|
70
80
|
waitlistMessage?: string;
|
|
81
|
+
membershipMessage?: string;
|
|
71
82
|
buttonVariant?: BlockButtonRole;
|
|
72
83
|
overlayEnabled?: boolean;
|
|
73
84
|
spamProtectionEnabled?: boolean;
|
|
@@ -101,13 +112,18 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
101
112
|
occurrenceContext?: OccurrenceContext | null;
|
|
102
113
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
103
114
|
events?: PublicEvent[] | null;
|
|
115
|
+
wholeSeriesOfferings?: PublicCourse[] | null;
|
|
116
|
+
wholeSeriesOffering?: PublicCourse | null;
|
|
104
117
|
className?: string | null;
|
|
105
118
|
buttonText?: string | null;
|
|
106
119
|
maxTickets?: string | null;
|
|
107
120
|
showVenue?: boolean;
|
|
108
121
|
showCapacity?: boolean;
|
|
122
|
+
showSessions?: boolean;
|
|
123
|
+
showPrice?: boolean;
|
|
109
124
|
successMessage?: string;
|
|
110
125
|
waitlistMessage?: string;
|
|
126
|
+
membershipMessage?: string;
|
|
111
127
|
buttonVariant?: BlockButtonRole;
|
|
112
128
|
overlayEnabled?: boolean;
|
|
113
129
|
spamProtectionEnabled?: boolean;
|
|
@@ -128,13 +144,18 @@ export declare const eventRegistrationBlockRuntime: Readonly<{
|
|
|
128
144
|
occurrenceContext?: OccurrenceContext | null;
|
|
129
145
|
subject?: EventRegistrationPageSurfaceSubject | null;
|
|
130
146
|
events?: PublicEvent[] | null;
|
|
147
|
+
wholeSeriesOfferings?: PublicCourse[] | null;
|
|
148
|
+
wholeSeriesOffering?: PublicCourse | null;
|
|
131
149
|
className?: string | null;
|
|
132
150
|
buttonText?: string | null;
|
|
133
151
|
maxTickets?: string | null;
|
|
134
152
|
showVenue?: boolean;
|
|
135
153
|
showCapacity?: boolean;
|
|
154
|
+
showSessions?: boolean;
|
|
155
|
+
showPrice?: boolean;
|
|
136
156
|
successMessage?: string;
|
|
137
157
|
waitlistMessage?: string;
|
|
158
|
+
membershipMessage?: string;
|
|
138
159
|
buttonVariant?: BlockButtonRole;
|
|
139
160
|
overlayEnabled?: boolean;
|
|
140
161
|
spamProtectionEnabled?: boolean;
|