@riverbankcms/sdk 0.121.0 → 0.124.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 +14 -9
- package/dist/{PreviewEditorSidebar-lZ600tJx.mjs → PreviewEditorSidebar-DBmAJJkQ.mjs} +24 -41
- package/dist/{PreviewEditorUI-CTBWzLSb.mjs → PreviewEditorUI-CfGaz9cY.mjs} +3 -3
- package/dist/{PreviewQueryProvider-BHT8CJvZ.mjs → PreviewQueryProvider-BH-3-jSj.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-DhPU58s7.mjs → SdkPreviewModeRuntime-BW9Z8j8T.mjs} +1020 -1234
- package/dist/{SiteChromeCustomizeContext-BkNvpzNZ.mjs → SiteChromeCustomizeContext-2z8moxYf.mjs} +1902 -1961
- package/dist/_dts/ai/src/contracts/proposals.d.ts +1236 -4152
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +435 -0
- package/dist/_dts/api/src/bookingClosures.d.ts +3 -3
- package/dist/_dts/api/src/bookingConfig.d.ts +100 -75
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +26 -35
- package/dist/_dts/api/src/bookingRecords.d.ts +4 -15
- package/dist/_dts/api/src/bookingVerticalCatalog.d.ts +746 -0
- package/dist/_dts/api/src/bookingVerticalPreset.d.ts +38 -0
- package/dist/_dts/api/src/bookingVerticals.d.ts +11 -652
- package/dist/_dts/api/src/bookings.d.ts +11 -9
- package/dist/_dts/api/src/cache-tags.d.ts +2 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +10 -10
- package/dist/_dts/api/src/common/envelope.d.ts +2 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +0 -17
- package/dist/_dts/api/src/courseEndpointDefinitions.d.ts +99 -0
- package/dist/_dts/api/src/courses.d.ts +22 -33
- package/dist/_dts/api/src/defineEndpointDefinitions.d.ts +14 -0
- package/dist/_dts/api/src/demoMutationPolicies.d.ts +4 -0
- package/dist/_dts/api/src/endpoints.d.ts +3740 -3733
- package/dist/_dts/api/src/event-destination-policy.d.ts +1 -1
- package/dist/_dts/api/src/event-presentation.d.ts +4 -9
- package/dist/_dts/api/src/index.d.ts +10 -12
- package/dist/_dts/api/src/newsletterEndpointDefinitions.d.ts +376 -0
- package/dist/_dts/api/src/participantMessaging.d.ts +2 -2
- package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +272 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +274 -0
- package/dist/_dts/api/src/publicExperience/newsletterEndpoints.d.ts +31 -0
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +152 -0
- package/dist/_dts/api/src/publicExperience/siteEndpoints.d.ts +95 -0
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +154 -0
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +10 -962
- package/dist/_dts/api/src/publicWholeSeriesEndpointDefinitions.d.ts +52 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +0 -51
- package/dist/_dts/api/src/sdkEntryReadEndpoints.d.ts +23 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -38
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +6 -7
- package/dist/_dts/blocks/src/PageRenderer.d.ts +4 -15
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +0 -16
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +6 -222
- package/dist/_dts/blocks/src/portal/types.d.ts +3 -3
- package/dist/_dts/blocks/src/subroutes/fold.d.ts +1 -14
- package/dist/_dts/blocks/src/subroutes/index.d.ts +1 -1
- package/dist/_dts/blocks/src/subroutes/kinds.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/course-details.d.ts +0 -11
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +3 -4
- package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +401 -12
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +9 -10
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +14 -13
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +1 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -4
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +19 -18
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +9 -11
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +2 -2
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +10 -10
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +10 -10
- package/dist/_dts/blocks/src/system/runtime/api/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/appointments.d.ts +162 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +59 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +134 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/discounts.d.ts +85 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +241 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/forms.d.ts +53 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/newsletter.d.ts +32 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +220 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +176 -0
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +12 -1121
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +19 -583
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +9 -276
- package/dist/_dts/blocks/src/system/runtime/hooks/useEventFilters.d.ts +1 -12
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +1 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/runs.d.ts +0 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +1 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/courseRegistrationViewState.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/pricing.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/types.d.ts +0 -25
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseEligibility.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCoursePaymentVerification.d.ts +9 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationActions.d.ts +35 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationPortal.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationSelection.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseRegistrationWizard.d.ts +80 -55
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/useCourseWaitlistSelection.d.ts +14 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration/whole-series-registration.headless.contract.d.ts +4 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +0 -38
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.client.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details.server.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationWizardActions.d.ts +12 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +0 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +0 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +0 -5
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +0 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +0 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +24 -433
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.client.d.ts +1 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCombined.interactive.d.ts +52 -266
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventListing.interactive.d.ts +5 -15
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/EventFilters.d.ts +0 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +1573 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/listOptions.d.ts +1 -3
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +2 -3
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +2 -2
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -5
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +0 -5
- package/dist/_dts/content-model/src/templates/defaults.d.ts +6 -3
- package/dist/_dts/core/src/editor-state.d.ts +1 -13
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +1587 -115
- package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +6 -6
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +6 -1
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +27 -4
- package/dist/_dts/sdk/src/cli/commands/audit.d.ts +1 -2
- package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +4 -6
- package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -1
- package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +23 -0
- package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +25 -0
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -52
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +3 -81
- package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +6 -9
- package/dist/_dts/sdk/src/client/contentReadOperations.d.ts +40 -0
- package/dist/_dts/sdk/src/client/management/index.d.ts +1 -3
- package/dist/_dts/sdk/src/client/management/types.d.ts +3 -91
- package/dist/_dts/sdk/src/client/runtimeCacheKeys.d.ts +72 -0
- package/dist/_dts/sdk/src/client/runtimeCachePolicy.d.ts +10 -75
- package/dist/_dts/sdk/src/client/types.d.ts +7 -33
- package/dist/_dts/sdk/src/components.d.ts +1 -1
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -6
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +0 -8
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -34
- package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +4 -3
- package/dist/_dts/sdk/src/next/catch-all-utils.d.ts +0 -11
- package/dist/_dts/sdk/src/next/catch-all.d.ts +1 -76
- package/dist/_dts/sdk/src/next/types.d.ts +0 -19
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +7 -207
- package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +0 -7
- package/dist/_dts/sdk/src/rendering/helpers/templateContent.d.ts +81 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +1 -51
- package/dist/_dts/sdk/src/rendering/overrides.d.ts +2 -1
- package/dist/_dts/sdk/src/routing/entrySubroutes.d.ts +6 -6
- package/dist/_dts/sdk/src/routing/index.d.ts +0 -2
- package/dist/_dts/sdk/src/routing/resolveOccurrence.d.ts +3 -3
- package/dist/_dts/sdk/src/routing/resolvePageContent.d.ts +10 -39
- package/dist/_dts/sdk/src/types/block-kinds.d.ts +1 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/adapter.d.ts +1 -1
- package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +100 -0
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +2 -2
- package/dist/_dts/site-commands/src/commandContract.d.ts +1242 -0
- package/dist/_dts/site-commands/src/commandDomain.d.ts +20 -0
- package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +7 -0
- package/dist/_dts/site-commands/src/commandValidation.d.ts +10 -0
- package/dist/_dts/site-commands/src/commands.d.ts +729 -2659
- package/dist/_dts/site-commands/src/domain.d.ts +1 -1
- package/dist/_dts/site-commands/src/eventCommandContent.d.ts +11 -0
- package/dist/_dts/site-commands/src/exposure.d.ts +1 -1
- package/dist/_dts/site-commands/src/index.d.ts +6 -0
- package/dist/_dts/site-commands/src/metadata.d.ts +1 -27
- package/dist/_dts/site-commands/src/planner.d.ts +1 -1
- package/dist/_dts/site-commands/src/refContributions.d.ts +1 -1
- package/dist/_dts/site-commands/src/refs.d.ts +1 -4
- package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +378 -0
- package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +46 -0
- package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +2 -2
- package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +21 -0
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +58 -0
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +47 -24
- package/dist/cli/index.mjs +7392 -10989
- package/dist/cli/init-docs/content/cli-reference.md +5 -21
- package/dist/cli/init-docs/content/content-management.md +4 -5
- package/dist/client/{DiscountCodeDisclosure-DIWj-P9v.mjs → DiscountCodeDisclosure-DxvjKvck.mjs} +2 -2
- package/dist/client/{EventCombined.client-De8YWBSr.mjs → EventCombined.client-BydMGc4c.mjs} +5 -16
- package/dist/client/{EventListing.client-seHTjimY.mjs → EventListing.client-vpzhhysN.mjs} +3 -10
- package/dist/client/{LeafletStaticMap-BmQxFcJW.mjs → LeafletStaticMap-CB07rpf8.mjs} +1 -1
- package/dist/client/{MagicLinkForm-OoJAIUIj.mjs → MagicLinkForm-BzyRJ8VF.mjs} +2 -2
- package/dist/client/{StepIndicator-CiZ8kdPk.mjs → StepIndicator-CTcGf8Be.mjs} +2 -2
- package/dist/client/{accordion-6lnN__XJ.mjs → accordion-B-DUDLRD.mjs} +1 -1
- package/dist/client/{bookingForm-5uyqhONU.mjs → bookingForm-DSbClLcZ.mjs} +6 -6
- package/dist/client/bookings.mjs +753 -818
- package/dist/client/{carousel-Dtnifil_.mjs → carousel-B6Ccdx8M.mjs} +1 -1
- package/dist/client/{cart-5Tc5S7NV.mjs → cart-BZh8G8wM.mjs} +3 -3
- package/dist/client/{checkout-CYKKN5Hr.mjs → checkout-o6zaC-kM.mjs} +3 -3
- package/dist/client/client.mjs +7398 -7687
- package/dist/client/{context-BGZNlGXB.mjs → context-CJz1Vlsz.mjs} +40 -43
- package/dist/client/{courseRegistration-CxCBybB4.mjs → courseRegistration-Cf11pNDs.mjs} +606 -621
- package/dist/client/{eventCalendar-Xj2jZS9X.mjs → eventCalendar-BeXrdsSE.mjs} +5 -13
- package/dist/client/{eventCombined-CgcMoOgM.mjs → eventCombined-DA76PZgG.mjs} +3 -3
- package/dist/client/{eventDetails-CEAH8Edc.mjs → eventDetails-BLxg0rok.mjs} +140 -116
- package/dist/client/{eventListing-qyPVQ0wP.mjs → eventListing-tO9LheBX.mjs} +3 -3
- package/dist/client/{eventRegistration-DDu79CtL.mjs → eventRegistration-Cnene9D9.mjs} +165 -68
- package/dist/client/{form-Bc7JKI7I.mjs → form-DZf72CHB.mjs} +2 -2
- package/dist/client/{headerSection-vTku_LEl.mjs → headerSection-Hioja5Cr.mjs} +2 -2
- package/dist/client/hooks.mjs +3452 -2365
- package/dist/client/{locationMap-Bg7X4Jna.mjs → locationMap-DwhUXEix.mjs} +2 -2
- package/dist/client/{newsletterForm-lpylVdp5.mjs → newsletterForm-C350bEQf.mjs} +2 -2
- package/dist/client/{pricing-DE8fjJiT.mjs → pricing-BYWN_ATa.mjs} +3 -19
- package/dist/client/{productDetail-D7Bo2RMH.mjs → productDetail-CCqCyXgU.mjs} +3 -3
- package/dist/client/{productList-VjnZqiqN.mjs → productList-BAiNJrOU.mjs} +3 -3
- package/dist/client/{propsDecoder-DreFXjNP.mjs → propsDecoder-DeunRj6m.mjs} +210 -378
- package/dist/client/rendering/client.mjs +2541 -2813
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +5622 -4734
- package/dist/client/{shop-IRsHHbf7.mjs → shop-DUmCdBtw.mjs} +6 -6
- package/dist/client/{shop-commerce-gnI8PieZ.mjs → shop-commerce-CY27mEUr.mjs} +5 -5
- package/dist/client/{shop-commerce-store-BTbrhObn.mjs → shop-commerce-store-ChXPbWfa.mjs} +1 -1
- package/dist/client/{shopShared-D6KS2_qk.mjs → shopShared-q0kin1cv.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-DCccGCxV.mjs → useDiscountCodeUi-I-92-x2V.mjs} +2 -2
- package/dist/client/{useEventFilters-eGs3rPZQ.mjs → useEventFilters-DlcVluZh.mjs} +59 -124
- package/dist/client/{usePolling-CvSU2sur.mjs → usePolling-Bz7GFV_a.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +1115 -1043
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +1116 -1044
- package/dist/{previewAuthStore-31xH13Jc.mjs → previewAuthStore-CJX21dGi.mjs} +1119 -1044
- package/dist/{sdk-runtime-BE_vcGua.mjs → sdk-runtime-OnPM8Z69.mjs} +2 -2
- package/dist/{separator-CiffYtk3.mjs → separator-CPtfzHqA.mjs} +1 -1
- package/dist/server/components.mjs +11120 -12601
- package/dist/server/config-validation.mjs +3454 -2356
- package/dist/server/config.mjs +3454 -2356
- package/dist/server/data.mjs +3452 -2367
- package/dist/server/index.mjs +1499 -1488
- package/dist/server/next.mjs +18291 -21201
- package/dist/server/page-converter.mjs +1898 -2040
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +19666 -21153
- package/dist/server/rendering.mjs +17117 -18651
- package/dist/server/routing.mjs +3614 -2509
- package/dist/server/server.mjs +3298 -3478
- package/package.json +1 -1
- package/dist/_dts/api/src/previewContentContract.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/course.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/commands/push/scopes/courses.d.ts +0 -4
- package/dist/_dts/sdk/src/client/management/courses.d.ts +0 -10
- package/dist/_dts/sdk/src/routing/resolveEntrySubroute.d.ts +0 -36
|
@@ -131,11 +131,10 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
131
131
|
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
132
132
|
showVenueFilter?: boolean | null;
|
|
133
133
|
showStaffFilter?: boolean | null;
|
|
134
|
-
eventKind?: import("../..").EventBlockKind | null;
|
|
135
134
|
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
136
135
|
filterEventPresets?: readonly string[] | string | null;
|
|
137
136
|
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
138
|
-
filterCategoryIds?: string | null;
|
|
137
|
+
filterCategoryIds?: readonly string[] | string | null;
|
|
139
138
|
filterStaffMemberId?: string | null;
|
|
140
139
|
filterVenueId?: string | null;
|
|
141
140
|
}>) => Readonly<{
|
|
@@ -165,7 +164,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
165
164
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
166
165
|
showVenueFilter: boolean;
|
|
167
166
|
showStaffFilter: boolean;
|
|
168
|
-
eventKind: import("../..").EventBlockKind;
|
|
169
167
|
eventSurface: import("../..").EventSurfaceScope;
|
|
170
168
|
filterEventPresets: string | null;
|
|
171
169
|
scheduleScope: import("../..").EventScheduleScope;
|
|
@@ -200,11 +198,10 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
200
198
|
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
201
199
|
showVenueFilter?: boolean | null;
|
|
202
200
|
showStaffFilter?: boolean | null;
|
|
203
|
-
eventKind?: import("../..").EventBlockKind | null;
|
|
204
201
|
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
205
202
|
filterEventPresets?: readonly string[] | string | null;
|
|
206
203
|
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
207
|
-
filterCategoryIds?: string | null;
|
|
204
|
+
filterCategoryIds?: readonly string[] | string | null;
|
|
208
205
|
filterStaffMemberId?: string | null;
|
|
209
206
|
filterVenueId?: string | null;
|
|
210
207
|
}>) => unknown;
|
|
@@ -231,11 +228,10 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
231
228
|
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
232
229
|
showVenueFilter?: boolean | null;
|
|
233
230
|
showStaffFilter?: boolean | null;
|
|
234
|
-
eventKind?: import("../..").EventBlockKind | null;
|
|
235
231
|
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
236
232
|
filterEventPresets?: readonly string[] | string | null;
|
|
237
233
|
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
238
|
-
filterCategoryIds?: string | null;
|
|
234
|
+
filterCategoryIds?: readonly string[] | string | null;
|
|
239
235
|
filterStaffMemberId?: string | null;
|
|
240
236
|
filterVenueId?: string | null;
|
|
241
237
|
}>>;
|
|
@@ -268,7 +264,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
268
264
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
269
265
|
showVenueFilter: boolean;
|
|
270
266
|
showStaffFilter: boolean;
|
|
271
|
-
eventKind: import("../..").EventBlockKind;
|
|
272
267
|
eventSurface: import("../..").EventSurfaceScope;
|
|
273
268
|
filterEventPresets: string | null;
|
|
274
269
|
scheduleScope: import("../..").EventScheduleScope;
|
|
@@ -305,7 +300,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
305
300
|
showCategoryFilter: import("../..").FilterAutoShow;
|
|
306
301
|
showVenueFilter: boolean;
|
|
307
302
|
showStaffFilter: boolean;
|
|
308
|
-
eventKind: import("../..").EventBlockKind;
|
|
309
303
|
eventSurface: import("../..").EventSurfaceScope;
|
|
310
304
|
filterEventPresets: string | null;
|
|
311
305
|
scheduleScope: import("../..").EventScheduleScope;
|
|
@@ -324,88 +318,12 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
324
318
|
readonly 'event-calendar': Readonly<{
|
|
325
319
|
definition: RuntimeBackedBlockDefinition<Readonly<{
|
|
326
320
|
kind: "progressive";
|
|
327
|
-
buildRender: (source: Readonly<{
|
|
328
|
-
|
|
329
|
-
siteId: string;
|
|
330
|
-
apiBaseUrl?: string;
|
|
331
|
-
stage?: "preview" | "published";
|
|
332
|
-
variant?: import("../..").DisplayMode | null;
|
|
333
|
-
displayMode?: import("../..").DisplayMode | null;
|
|
334
|
-
listLayout?: import("../..").EventLayout;
|
|
335
|
-
listColumns?: import("../..").ColumnOption;
|
|
336
|
-
layout?: import("../..").EventLayout;
|
|
337
|
-
columns?: import("../..").ColumnOption;
|
|
338
|
-
eventsPerPage?: string;
|
|
339
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
340
|
-
seeAllUrl?: string;
|
|
341
|
-
loadMoreText?: string;
|
|
342
|
-
startOfWeek?: import("../..").WeekStart;
|
|
343
|
-
calendarTabViews?: import("../..").CalendarTabViews;
|
|
344
|
-
defaultCalendarView?: import("../..").CalendarView;
|
|
345
|
-
showFilters?: boolean | null;
|
|
346
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
347
|
-
showVenueFilter?: boolean | null;
|
|
348
|
-
showStaffFilter?: boolean | null;
|
|
349
|
-
kind?: import("../..").EventBlockKind | null;
|
|
350
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
351
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
352
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
353
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
354
|
-
filterStaffMemberId?: string | null;
|
|
355
|
-
filterVenueId?: string | null;
|
|
356
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
357
|
-
buttonText?: string;
|
|
358
|
-
boardTitle?: string;
|
|
359
|
-
footerNote?: string;
|
|
360
|
-
elevated?: boolean | null;
|
|
361
|
-
banded?: boolean | null;
|
|
362
|
-
showVenue?: boolean | null;
|
|
363
|
-
showMap?: boolean | null;
|
|
364
|
-
showCapacity?: boolean | null;
|
|
365
|
-
emptyMessage?: string;
|
|
366
|
-
className?: string;
|
|
367
|
-
}>) => Readonly<{
|
|
368
|
-
display: Readonly<{
|
|
369
|
-
kind: "event-calendar";
|
|
370
|
-
displayMode: import("../..").DisplayMode;
|
|
371
|
-
className: string | null;
|
|
372
|
-
events: readonly import("../..").PublicEvent[];
|
|
373
|
-
listLayout: import("../..").EventLayout;
|
|
374
|
-
listColumns: import("../..").ColumnOption;
|
|
375
|
-
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
376
|
-
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
377
|
-
startOfWeek: import("../..").WeekStart;
|
|
378
|
-
calendarTabViews: import("../..").CalendarTabViews;
|
|
379
|
-
defaultCalendarView: import("../..").CalendarView;
|
|
380
|
-
showFilters: boolean;
|
|
381
|
-
showCategoryFilter: import("../..").FilterAutoShow;
|
|
382
|
-
showVenueFilter: boolean;
|
|
383
|
-
showStaffFilter: boolean;
|
|
384
|
-
eventKind: import("../..").EventBlockKind;
|
|
385
|
-
eventSurface: import("../..").EventSurfaceScope;
|
|
386
|
-
filterEventPresets: string | null;
|
|
387
|
-
scheduleScope: import("../..").EventScheduleScope;
|
|
388
|
-
filterCategoryIds: string | null;
|
|
389
|
-
filterStaffMemberId: string | null;
|
|
390
|
-
filterVenueId: string | null;
|
|
391
|
-
buttonVariant: import("../..").ButtonVariant;
|
|
392
|
-
buttonText: string;
|
|
393
|
-
boardTitle?: string;
|
|
394
|
-
footerNote?: string;
|
|
395
|
-
seeAllUrl?: string;
|
|
396
|
-
loadMoreText?: string;
|
|
397
|
-
elevated: boolean;
|
|
398
|
-
banded: boolean;
|
|
399
|
-
showVenue: boolean;
|
|
400
|
-
showMap: boolean;
|
|
401
|
-
showCapacity: boolean;
|
|
402
|
-
emptyMessage: string;
|
|
403
|
-
}>;
|
|
321
|
+
buildRender: (source: import("../nodes/events/EventCalendar.interactive").EventCalendarSourceProps) => Readonly<{
|
|
322
|
+
display: import("../nodes/events/EventCalendar.interactive").EventCalendarDisplay;
|
|
404
323
|
hydration: Readonly<{
|
|
405
324
|
siteId: string;
|
|
406
325
|
stage?: "preview" | "published";
|
|
407
326
|
prefetchedEvents: boolean;
|
|
408
|
-
eventKind: import("../..").EventBlockKind;
|
|
409
327
|
eventSurface: import("../..").EventSurfaceScope;
|
|
410
328
|
filterEventPresets: string | null;
|
|
411
329
|
scheduleScope: import("../..").EventScheduleScope;
|
|
@@ -413,179 +331,27 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
413
331
|
}>;
|
|
414
332
|
contracts: Readonly<{
|
|
415
333
|
source: Readonly<{
|
|
416
|
-
encode: (value:
|
|
417
|
-
|
|
418
|
-
siteId: string;
|
|
419
|
-
apiBaseUrl?: string;
|
|
420
|
-
stage?: "preview" | "published";
|
|
421
|
-
variant?: import("../..").DisplayMode | null;
|
|
422
|
-
displayMode?: import("../..").DisplayMode | null;
|
|
423
|
-
listLayout?: import("../..").EventLayout;
|
|
424
|
-
listColumns?: import("../..").ColumnOption;
|
|
425
|
-
layout?: import("../..").EventLayout;
|
|
426
|
-
columns?: import("../..").ColumnOption;
|
|
427
|
-
eventsPerPage?: string;
|
|
428
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
429
|
-
seeAllUrl?: string;
|
|
430
|
-
loadMoreText?: string;
|
|
431
|
-
startOfWeek?: import("../..").WeekStart;
|
|
432
|
-
calendarTabViews?: import("../..").CalendarTabViews;
|
|
433
|
-
defaultCalendarView?: import("../..").CalendarView;
|
|
434
|
-
showFilters?: boolean | null;
|
|
435
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
436
|
-
showVenueFilter?: boolean | null;
|
|
437
|
-
showStaffFilter?: boolean | null;
|
|
438
|
-
kind?: import("../..").EventBlockKind | null;
|
|
439
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
440
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
441
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
442
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
443
|
-
filterStaffMemberId?: string | null;
|
|
444
|
-
filterVenueId?: string | null;
|
|
445
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
446
|
-
buttonText?: string;
|
|
447
|
-
boardTitle?: string;
|
|
448
|
-
footerNote?: string;
|
|
449
|
-
elevated?: boolean | null;
|
|
450
|
-
banded?: boolean | null;
|
|
451
|
-
showVenue?: boolean | null;
|
|
452
|
-
showMap?: boolean | null;
|
|
453
|
-
showCapacity?: boolean | null;
|
|
454
|
-
emptyMessage?: string;
|
|
455
|
-
className?: string;
|
|
456
|
-
}>) => unknown;
|
|
457
|
-
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
458
|
-
events?: import("../..").PublicEvent[] | null;
|
|
459
|
-
siteId: string;
|
|
460
|
-
apiBaseUrl?: string;
|
|
461
|
-
stage?: "preview" | "published";
|
|
462
|
-
variant?: import("../..").DisplayMode | null;
|
|
463
|
-
displayMode?: import("../..").DisplayMode | null;
|
|
464
|
-
listLayout?: import("../..").EventLayout;
|
|
465
|
-
listColumns?: import("../..").ColumnOption;
|
|
466
|
-
layout?: import("../..").EventLayout;
|
|
467
|
-
columns?: import("../..").ColumnOption;
|
|
468
|
-
eventsPerPage?: string;
|
|
469
|
-
paginationMode?: import("../nodes/events/shared/listOptions").EventListPaginationMode;
|
|
470
|
-
seeAllUrl?: string;
|
|
471
|
-
loadMoreText?: string;
|
|
472
|
-
startOfWeek?: import("../..").WeekStart;
|
|
473
|
-
calendarTabViews?: import("../..").CalendarTabViews;
|
|
474
|
-
defaultCalendarView?: import("../..").CalendarView;
|
|
475
|
-
showFilters?: boolean | null;
|
|
476
|
-
showCategoryFilter?: import("../..").FilterAutoShow;
|
|
477
|
-
showVenueFilter?: boolean | null;
|
|
478
|
-
showStaffFilter?: boolean | null;
|
|
479
|
-
kind?: import("../..").EventBlockKind | null;
|
|
480
|
-
eventSurface?: import("../..").EventSurfaceScope | null;
|
|
481
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
482
|
-
scheduleScope?: import("../..").EventScheduleScope | null;
|
|
483
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
484
|
-
filterStaffMemberId?: string | null;
|
|
485
|
-
filterVenueId?: string | null;
|
|
486
|
-
buttonVariant?: import("../..").ButtonVariant;
|
|
487
|
-
buttonText?: string;
|
|
488
|
-
boardTitle?: string;
|
|
489
|
-
footerNote?: string;
|
|
490
|
-
elevated?: boolean | null;
|
|
491
|
-
banded?: boolean | null;
|
|
492
|
-
showVenue?: boolean | null;
|
|
493
|
-
showMap?: boolean | null;
|
|
494
|
-
showCapacity?: boolean | null;
|
|
495
|
-
emptyMessage?: string;
|
|
496
|
-
className?: string;
|
|
497
|
-
}>>;
|
|
334
|
+
encode: (value: import("../nodes/events/EventCalendar.interactive").EventCalendarSourceProps) => unknown;
|
|
335
|
+
decode: (input: unknown) => import("../../../contracts").DecodeResult<import("../nodes/events/EventCalendar.interactive").EventCalendarSourceProps>;
|
|
498
336
|
}>;
|
|
499
337
|
render: Readonly<{
|
|
500
338
|
encode: (value: Readonly<{
|
|
501
|
-
display:
|
|
502
|
-
kind: "event-calendar";
|
|
503
|
-
displayMode: import("../..").DisplayMode;
|
|
504
|
-
className: string | null;
|
|
505
|
-
events: readonly import("../..").PublicEvent[];
|
|
506
|
-
listLayout: import("../..").EventLayout;
|
|
507
|
-
listColumns: import("../..").ColumnOption;
|
|
508
|
-
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
509
|
-
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
510
|
-
startOfWeek: import("../..").WeekStart;
|
|
511
|
-
calendarTabViews: import("../..").CalendarTabViews;
|
|
512
|
-
defaultCalendarView: import("../..").CalendarView;
|
|
513
|
-
showFilters: boolean;
|
|
514
|
-
showCategoryFilter: import("../..").FilterAutoShow;
|
|
515
|
-
showVenueFilter: boolean;
|
|
516
|
-
showStaffFilter: boolean;
|
|
517
|
-
eventKind: import("../..").EventBlockKind;
|
|
518
|
-
eventSurface: import("../..").EventSurfaceScope;
|
|
519
|
-
filterEventPresets: string | null;
|
|
520
|
-
scheduleScope: import("../..").EventScheduleScope;
|
|
521
|
-
filterCategoryIds: string | null;
|
|
522
|
-
filterStaffMemberId: string | null;
|
|
523
|
-
filterVenueId: string | null;
|
|
524
|
-
buttonVariant: import("../..").ButtonVariant;
|
|
525
|
-
buttonText: string;
|
|
526
|
-
boardTitle?: string;
|
|
527
|
-
footerNote?: string;
|
|
528
|
-
seeAllUrl?: string;
|
|
529
|
-
loadMoreText?: string;
|
|
530
|
-
elevated: boolean;
|
|
531
|
-
banded: boolean;
|
|
532
|
-
showVenue: boolean;
|
|
533
|
-
showMap: boolean;
|
|
534
|
-
showCapacity: boolean;
|
|
535
|
-
emptyMessage: string;
|
|
536
|
-
}>;
|
|
339
|
+
display: import("../nodes/events/EventCalendar.interactive").EventCalendarDisplay;
|
|
537
340
|
hydration: Readonly<{
|
|
538
341
|
siteId: string;
|
|
539
342
|
stage?: "preview" | "published";
|
|
540
343
|
prefetchedEvents: boolean;
|
|
541
|
-
eventKind: import("../..").EventBlockKind;
|
|
542
344
|
eventSurface: import("../..").EventSurfaceScope;
|
|
543
345
|
filterEventPresets: string | null;
|
|
544
346
|
scheduleScope: import("../..").EventScheduleScope;
|
|
545
347
|
}>;
|
|
546
348
|
}>) => unknown;
|
|
547
349
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
548
|
-
display:
|
|
549
|
-
kind: "event-calendar";
|
|
550
|
-
displayMode: import("../..").DisplayMode;
|
|
551
|
-
className: string | null;
|
|
552
|
-
events: readonly import("../..").PublicEvent[];
|
|
553
|
-
listLayout: import("../..").EventLayout;
|
|
554
|
-
listColumns: import("../..").ColumnOption;
|
|
555
|
-
eventsPerPage: import("../nodes/events/shared/listOptions").EventPageSize;
|
|
556
|
-
paginationAction: import("../nodes/events/shared/listOptions").EventListPaginationAction;
|
|
557
|
-
startOfWeek: import("../..").WeekStart;
|
|
558
|
-
calendarTabViews: import("../..").CalendarTabViews;
|
|
559
|
-
defaultCalendarView: import("../..").CalendarView;
|
|
560
|
-
showFilters: boolean;
|
|
561
|
-
showCategoryFilter: import("../..").FilterAutoShow;
|
|
562
|
-
showVenueFilter: boolean;
|
|
563
|
-
showStaffFilter: boolean;
|
|
564
|
-
eventKind: import("../..").EventBlockKind;
|
|
565
|
-
eventSurface: import("../..").EventSurfaceScope;
|
|
566
|
-
filterEventPresets: string | null;
|
|
567
|
-
scheduleScope: import("../..").EventScheduleScope;
|
|
568
|
-
filterCategoryIds: string | null;
|
|
569
|
-
filterStaffMemberId: string | null;
|
|
570
|
-
filterVenueId: string | null;
|
|
571
|
-
buttonVariant: import("../..").ButtonVariant;
|
|
572
|
-
buttonText: string;
|
|
573
|
-
boardTitle?: string;
|
|
574
|
-
footerNote?: string;
|
|
575
|
-
seeAllUrl?: string;
|
|
576
|
-
loadMoreText?: string;
|
|
577
|
-
elevated: boolean;
|
|
578
|
-
banded: boolean;
|
|
579
|
-
showVenue: boolean;
|
|
580
|
-
showMap: boolean;
|
|
581
|
-
showCapacity: boolean;
|
|
582
|
-
emptyMessage: string;
|
|
583
|
-
}>;
|
|
350
|
+
display: import("../nodes/events/EventCalendar.interactive").EventCalendarDisplay;
|
|
584
351
|
hydration: Readonly<{
|
|
585
352
|
siteId: string;
|
|
586
353
|
stage?: "preview" | "published";
|
|
587
354
|
prefetchedEvents: boolean;
|
|
588
|
-
eventKind: import("../..").EventBlockKind;
|
|
589
355
|
eventSurface: import("../..").EventSurfaceScope;
|
|
590
356
|
filterEventPresets: string | null;
|
|
591
357
|
scheduleScope: import("../..").EventScheduleScope;
|
|
@@ -1039,12 +805,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1039
805
|
siteId?: string;
|
|
1040
806
|
apiBaseUrl?: string;
|
|
1041
807
|
portalToken?: string | null;
|
|
1042
|
-
contentEntry?: Readonly<{
|
|
1043
|
-
id: string;
|
|
1044
|
-
slug: string;
|
|
1045
|
-
contentTypeSlug: string;
|
|
1046
|
-
}> | null;
|
|
1047
|
-
entrySubrouteContext?: import("../nodes/course-registration.interactive").CourseEntrySubrouteContext | null;
|
|
1048
808
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1049
809
|
courses?: import("../..").PublicCourse[] | null;
|
|
1050
810
|
className?: string | null;
|
|
@@ -1073,12 +833,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1073
833
|
siteId?: string;
|
|
1074
834
|
apiBaseUrl?: string;
|
|
1075
835
|
portalToken?: string | null;
|
|
1076
|
-
contentEntry?: Readonly<{
|
|
1077
|
-
id: string;
|
|
1078
|
-
slug: string;
|
|
1079
|
-
contentTypeSlug: string;
|
|
1080
|
-
}> | null;
|
|
1081
|
-
entrySubrouteContext?: import("../nodes/course-registration.interactive").CourseEntrySubrouteContext | null;
|
|
1082
836
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1083
837
|
courses?: import("../..").PublicCourse[] | null;
|
|
1084
838
|
className?: string | null;
|
|
@@ -1097,12 +851,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1097
851
|
siteId?: string;
|
|
1098
852
|
apiBaseUrl?: string;
|
|
1099
853
|
portalToken?: string | null;
|
|
1100
|
-
contentEntry?: Readonly<{
|
|
1101
|
-
id: string;
|
|
1102
|
-
slug: string;
|
|
1103
|
-
contentTypeSlug: string;
|
|
1104
|
-
}> | null;
|
|
1105
|
-
entrySubrouteContext?: import("../nodes/course-registration.interactive").CourseEntrySubrouteContext | null;
|
|
1106
854
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1107
855
|
courses?: import("../..").PublicCourse[] | null;
|
|
1108
856
|
className?: string | null;
|
|
@@ -1218,11 +966,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1218
966
|
portalToken?: string | null;
|
|
1219
967
|
previewToken?: string | null;
|
|
1220
968
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1221
|
-
contentEntry?: Readonly<{
|
|
1222
|
-
id: string;
|
|
1223
|
-
slug: string;
|
|
1224
|
-
contentTypeSlug: string;
|
|
1225
|
-
}> | null;
|
|
1226
969
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1227
970
|
events?: import("../..").PublicEvent[] | null;
|
|
1228
971
|
className?: string | null;
|
|
@@ -1263,11 +1006,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1263
1006
|
portalToken?: string | null;
|
|
1264
1007
|
previewToken?: string | null;
|
|
1265
1008
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1266
|
-
contentEntry?: Readonly<{
|
|
1267
|
-
id: string;
|
|
1268
|
-
slug: string;
|
|
1269
|
-
contentTypeSlug: string;
|
|
1270
|
-
}> | null;
|
|
1271
1009
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1272
1010
|
events?: import("../..").PublicEvent[] | null;
|
|
1273
1011
|
className?: string | null;
|
|
@@ -1295,11 +1033,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1295
1033
|
portalToken?: string | null;
|
|
1296
1034
|
previewToken?: string | null;
|
|
1297
1035
|
occurrenceContext?: import("../..").OccurrenceContext | null;
|
|
1298
|
-
contentEntry?: Readonly<{
|
|
1299
|
-
id: string;
|
|
1300
|
-
slug: string;
|
|
1301
|
-
contentTypeSlug: string;
|
|
1302
|
-
}> | null;
|
|
1303
1036
|
subject?: import("../nodes/event-registration/eventScope").EventRegistrationPageSurfaceSubject | null;
|
|
1304
1037
|
events?: import("../..").PublicEvent[] | null;
|
|
1305
1038
|
className?: string | null;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type EventBlockKind } from '../../blocks/events/shared';
|
|
2
1
|
import type { EventScheduleScope, EventSurfaceScope } from '../../blocks/events/shared/filtering';
|
|
3
2
|
import type { EventFilterCategory, EventFilterStaffMember, EventFilterVenue } from '../api/types';
|
|
4
3
|
import type { EventRuntimeFilters } from '../nodes/events/shared/listOptions';
|
|
@@ -15,8 +14,6 @@ type UseEventFiltersOptions = {
|
|
|
15
14
|
preFilterStaffMemberId?: string | null;
|
|
16
15
|
/** Pre-selected venue ID from block config */
|
|
17
16
|
preFilterVenueId?: string | null;
|
|
18
|
-
/** Hard block-level kind restriction */
|
|
19
|
-
preFilterKind?: EventBlockKind | null;
|
|
20
17
|
/** Hard block-level semantic event surface restriction */
|
|
21
18
|
preFilterEventSurface?: EventSurfaceScope | null;
|
|
22
19
|
/** Hard block-level event preset restriction */
|
|
@@ -31,8 +28,6 @@ type EventFiltersState = {
|
|
|
31
28
|
venues: EventFilterVenue[];
|
|
32
29
|
/** Available staff members from the API */
|
|
33
30
|
staffMembers: EventFilterStaffMember[];
|
|
34
|
-
/** Currently selected kind filter */
|
|
35
|
-
selectedKind: 'all' | 'courses' | 'events';
|
|
36
31
|
/** Currently selected category ID (or 'all') */
|
|
37
32
|
selectedCategoryId: string;
|
|
38
33
|
/** Currently selected staff member ID (or 'all') */
|
|
@@ -49,14 +44,8 @@ type EventFiltersState = {
|
|
|
49
44
|
shouldShowVenueFilter: boolean;
|
|
50
45
|
/** Whether staff filter should be shown */
|
|
51
46
|
shouldShowStaffFilter: boolean;
|
|
52
|
-
/** Whether the public category UI should include the Course option */
|
|
53
|
-
showCourseOption: boolean;
|
|
54
|
-
/** Label for the course-like category option */
|
|
55
|
-
courseOptionLabel: string;
|
|
56
47
|
/** Whether any filter is currently active (non-default) */
|
|
57
48
|
hasActiveFilters: boolean;
|
|
58
|
-
/** Set selected kind */
|
|
59
|
-
setSelectedKind: (kind: 'all' | 'courses' | 'events') => void;
|
|
60
49
|
/** Set selected category */
|
|
61
50
|
setSelectedCategoryId: (id: string) => void;
|
|
62
51
|
/** Set selected staff member */
|
|
@@ -93,5 +82,5 @@ type EventFiltersState = {
|
|
|
93
82
|
* const events = await api.getPublicEvents(params);
|
|
94
83
|
* ```
|
|
95
84
|
*/
|
|
96
|
-
export declare function useEventFilters({ showCategoryFilter, showVenueFilter, showStaffFilter, preFilterCategoryIds, preFilterStaffMemberId, preFilterVenueId,
|
|
85
|
+
export declare function useEventFilters({ showCategoryFilter, showVenueFilter, showStaffFilter, preFilterCategoryIds, preFilterStaffMemberId, preFilterVenueId, preFilterEventSurface, preFilterEventPresets, preFilterScheduleScope, }?: UseEventFiltersOptions): EventFiltersState;
|
|
97
86
|
export default useEventFilters;
|
|
@@ -11,7 +11,6 @@ export type { EventRegistrationSubmitOptions, EventRegistrationSubmitResult, } f
|
|
|
11
11
|
export type HeadlessEventRegistrationFlowOptions = Readonly<{
|
|
12
12
|
anchorId?: string;
|
|
13
13
|
occurrenceContext?: EventRegistrationClientProps['occurrenceContext'];
|
|
14
|
-
contentEntry?: EventRegistrationClientProps['contentEntry'];
|
|
15
14
|
events?: readonly NonNullable<EventRegistrationClientProps['events']>[number][];
|
|
16
15
|
maxTickets?: string | number;
|
|
17
16
|
spamProtectionEnabled?: boolean;
|
package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export type { BlockApiConfig };
|
|
|
7
7
|
export type { HeadlessWholeSeriesRegistrationFlow, WholeSeriesRegistrationAvailabilityModel, WholeSeriesRegistrationFlowActionResult, WholeSeriesRegistrationFlowActions, WholeSeriesRegistrationFlowStatus, WholeSeriesRegistrationFlowStep, WholeSeriesRegistrationFlowStepId, WholeSeriesRegistrationFlowView, WholeSeriesRegistrationPaymentModel, WholeSeriesRegistrationPaymentSelection, WholeSeriesRegistrationPricingInput, WholeSeriesRegistrationPricingModel, WholeSeriesRegistrationPricingOptionInput, WholeSeriesRegistrationRun, WholeSeriesRegistrationRunInput, WholeSeriesRegistrationRunsModel, WholeSeriesRegistrationSpamProtectionModel, WholeSeriesRegistrationWaitlistClaimModel, } from '../nodes/course-registration/whole-series-registration.headless.contract';
|
|
8
8
|
export type HeadlessWholeSeriesRegistrationFlowOptions = Readonly<{
|
|
9
9
|
runs?: readonly WholeSeriesRegistrationRunInput[];
|
|
10
|
-
contentEntry?: CourseRegistrationClientProps['contentEntry'];
|
|
11
10
|
subject?: CourseRegistrationClientProps['subject'];
|
|
12
11
|
}>;
|
|
13
12
|
export type HeadlessWholeSeriesRegistrationProviderProps = Readonly<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import type { PublicEvent } from "../../blocks/events/shared/types";
|
|
3
3
|
import type { BookingFormField, BookingFormService, BookingFormServicesSource, BookingFormSettings, BookingFormSourceRecord } from "./booking-form.state";
|
|
4
|
-
import type {
|
|
4
|
+
import type { EventRegistrationSourceProps } from "./event-registration.interactive";
|
|
5
5
|
export declare const APPOINTMENT_BOOKING_RUNTIME_FORM_ID = "booking-form";
|
|
6
6
|
export type BookingFormRebookContext = Readonly<{
|
|
7
7
|
kind: "portal_rebook";
|
|
@@ -159,8 +159,7 @@ export declare function buildEventRegistrationSourceProps(input: Readonly<{
|
|
|
159
159
|
portalToken?: string | null;
|
|
160
160
|
previewToken?: string | null;
|
|
161
161
|
occurrenceContext?: EventRegistrationSourceProps["occurrenceContext"];
|
|
162
|
-
contentEntry?: EventRegistrationContentEntry | null;
|
|
163
162
|
events?: readonly PublicEvent[] | null;
|
|
164
163
|
stage?: EventRegistrationSourceProps["stage"];
|
|
165
164
|
supportEmail?: string;
|
|
166
|
-
}> & Omit<EventRegistrationSourceProps, "siteId" | "apiBaseUrl" | "portalToken" | "previewToken" | "occurrenceContext" | "
|
|
165
|
+
}> & Omit<EventRegistrationSourceProps, "siteId" | "apiBaseUrl" | "portalToken" | "previewToken" | "occurrenceContext" | "events" | "stage" | "supportEmail">): EventRegistrationSourceProps;
|
|
@@ -1,28 +1,11 @@
|
|
|
1
1
|
import type { PublicCourse } from '../../../blocks/courses/shared/types';
|
|
2
|
-
export type ContentEntryLike = {
|
|
3
|
-
id?: string | null;
|
|
4
|
-
slug?: string | null;
|
|
5
|
-
path?: string | null;
|
|
6
|
-
_entryPath?: string | null;
|
|
7
|
-
} | null;
|
|
8
|
-
export type EntrySubrouteContextLike = {
|
|
9
|
-
kind: 'course-run';
|
|
10
|
-
run?: {
|
|
11
|
-
courseId?: string | null;
|
|
12
|
-
} | null;
|
|
13
|
-
} | {
|
|
14
|
-
kind: 'event-occurrence';
|
|
15
|
-
} | null;
|
|
16
2
|
export type CourseDetailsSelection = {
|
|
17
|
-
mode: '
|
|
3
|
+
mode: 'pageSurfaceSubject' | 'unsupportedPageSurfaceSubject';
|
|
18
4
|
selected: PublicCourse | null;
|
|
19
5
|
scoped: PublicCourse[];
|
|
20
6
|
};
|
|
21
7
|
export declare function selectCourseDetails(args: {
|
|
22
8
|
courses: PublicCourse[] | null | undefined;
|
|
23
|
-
contentEntry: unknown;
|
|
24
|
-
entrySubrouteContext?: unknown;
|
|
25
9
|
subject?: unknown;
|
|
26
|
-
courseSlug: string | null | undefined;
|
|
27
10
|
}): CourseDetailsSelection;
|
|
28
11
|
export declare function sortCourseSessions(course: PublicCourse): PublicCourse['sessions'];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { PublicCourse } from '../../../blocks/courses/shared/types';
|
|
2
|
-
import type { ContentEntryLike } from './logic';
|
|
3
2
|
export type CourseDateRange = {
|
|
4
3
|
start: Date | null;
|
|
5
4
|
end: Date | null;
|
|
@@ -7,6 +6,5 @@ export type CourseDateRange = {
|
|
|
7
6
|
endIso: string | null;
|
|
8
7
|
timeZone: string | null;
|
|
9
8
|
};
|
|
10
|
-
export declare function getEntryBasePath(contentEntry: ContentEntryLike | null | undefined): string | null;
|
|
11
9
|
export declare function getCourseDateRange(course: PublicCourse): CourseDateRange;
|
|
12
10
|
export declare function formatCourseDateRange(range: CourseDateRange): string;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { PublicCourse } from '../../blocks/courses/shared/types';
|
|
3
|
-
import { type ContentEntryLike, type EntrySubrouteContextLike } from './course-details/logic';
|
|
4
3
|
type CourseDetailsProps = {
|
|
5
4
|
blockId?: string | null;
|
|
6
|
-
contentEntry?: ContentEntryLike;
|
|
7
|
-
entrySubrouteContext?: EntrySubrouteContextLike;
|
|
8
5
|
subject?: unknown;
|
|
9
6
|
courses?: PublicCourse[] | null;
|
|
10
|
-
courseSlug?: string | null;
|
|
11
7
|
showTitle?: boolean;
|
|
12
8
|
showDescription?: boolean;
|
|
13
9
|
showSessions?: boolean;
|
|
@@ -20,5 +16,5 @@ type CourseDetailsProps = {
|
|
|
20
16
|
className?: string | null;
|
|
21
17
|
children?: React.ReactNode;
|
|
22
18
|
};
|
|
23
|
-
export declare function CourseDetailsSSR({ courses,
|
|
19
|
+
export declare function CourseDetailsSSR({ courses, subject, showTitle, showDescription, showSessions, sessionsLimit, showVenue, showPrice, showCapacity, showEnrollmentStatus, showMembershipNote, className, children, }: CourseDetailsProps): React.JSX.Element;
|
|
24
20
|
export default CourseDetailsSSR;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { PublicCourse, ResolvedCoursePricingState } from '../../../blocks/courses/shared';
|
|
2
|
+
import type { BookingMode, EnrollmentStep, PortalAuthState } from './types';
|
|
3
|
+
export declare function deriveCourseRegistrationViewState(input: Readonly<{
|
|
4
|
+
scopedCourses: readonly PublicCourse[];
|
|
5
|
+
selectedCourse: PublicCourse | null;
|
|
6
|
+
pricing: ResolvedCoursePricingState | null;
|
|
7
|
+
portalAuthState: PortalAuthState;
|
|
8
|
+
eligibleMembershipCount: number;
|
|
9
|
+
bookingMode: BookingMode;
|
|
10
|
+
step: EnrollmentStep;
|
|
11
|
+
waitlistRequiresPortalLogin: boolean;
|
|
12
|
+
}>): {
|
|
13
|
+
hasCoursePayment: boolean;
|
|
14
|
+
canUseMembership: boolean;
|
|
15
|
+
hasPreSelectedCourse: boolean;
|
|
16
|
+
wizardSteps: readonly EnrollmentStep[];
|
|
17
|
+
currentStepNumber: number;
|
|
18
|
+
totalSteps: number;
|
|
19
|
+
stepLabels: string[];
|
|
20
|
+
showPortalAuthSidebar: boolean;
|
|
21
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Exports types, utilities, and components for course enrollment.
|
|
5
5
|
*/
|
|
6
|
-
export type { EnrollmentStep, BookingMode, FormData, PortalAuthState, EnrollmentResult,
|
|
6
|
+
export type { EnrollmentStep, BookingMode, FormData, PortalAuthState, EnrollmentResult, ButtonVariant, CourseRegistrationBaseProps, CourseRegistrationServerProps, CourseRegistrationClientProps, } from './types';
|
|
7
7
|
export { formatPrice, formatDate, formatTime, formatDateTime, validateFormData, buildCheckoutReturnUrls, COURSE_REGISTRATION_ANCHOR_ID, } from './utils';
|
|
8
8
|
export { WIZARD_STEPS, STEP_LABELS, getWizardStepsForContext, getStepNumber, getStepLabel, getStepLabels, } from './wizardSteps';
|
|
9
9
|
export { CheckIcon } from './CheckIcon';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ResolvedCoursePricingState } from '../../../blocks/courses/shared';
|
|
2
|
+
export type CoursePricingSelection = Readonly<{
|
|
3
|
+
pricingOptionId: string | null;
|
|
4
|
+
slidingAmountInput: string;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function parseCurrencyInputToCents(value: string): number | null;
|
|
7
|
+
export declare function formatCentsAsCurrencyInput(amount: number): string;
|
|
8
|
+
export declare function getMissingCoursePricingSelectionMessage(pricing: ResolvedCoursePricingState | null): string | null;
|
|
9
|
+
export declare function buildCoursePricingOptionPayload(pricing: ResolvedCoursePricingState | null): {
|
|
10
|
+
pricingOptionId?: string;
|
|
11
|
+
selectedSlidingAmount?: number;
|
|
12
|
+
};
|
|
13
|
+
export declare function resolveHasCoursePayment(pricing: ResolvedCoursePricingState | null): boolean;
|
|
14
|
+
export declare function defaultCoursePricingSelection(pricing: ResolvedCoursePricingState, previousOptionId: string | null): CoursePricingSelection;
|