@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
|
@@ -1,78 +1,12 @@
|
|
|
1
|
-
import type { ButtonVariant, CalendarTabViews, CalendarView, ColumnOption, EventBlockKind, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent, WeekStart } from "../../../blocks/events/shared/types";
|
|
2
1
|
import { type InteractiveIslandProps } from "../../../../contracts/islands";
|
|
3
2
|
import type { EventListingDisplay } from "./EventListing.interactive";
|
|
4
|
-
import { type
|
|
5
|
-
export type EventCombinedSourceProps =
|
|
6
|
-
|
|
7
|
-
siteId: string;
|
|
8
|
-
apiBaseUrl?: string;
|
|
9
|
-
stage?: "preview" | "published";
|
|
10
|
-
listLayout?: EventLayout;
|
|
11
|
-
listColumns?: ColumnOption;
|
|
12
|
-
eventsPerPage?: string;
|
|
13
|
-
paginationMode?: EventListPaginationMode;
|
|
14
|
-
seeAllUrl?: string;
|
|
15
|
-
loadMoreText?: string;
|
|
16
|
-
startOfWeek?: WeekStart;
|
|
17
|
-
calendarTabViews?: CalendarTabViews;
|
|
18
|
-
defaultCalendarView?: CalendarView;
|
|
19
|
-
showFilters?: boolean | null;
|
|
20
|
-
showCategoryFilter?: FilterAutoShow;
|
|
21
|
-
showVenueFilter?: boolean | null;
|
|
22
|
-
showStaffFilter?: boolean | null;
|
|
23
|
-
eventKind?: EventBlockKind | null;
|
|
24
|
-
eventSurface?: EventSurfaceScope | null;
|
|
25
|
-
filterEventPresets?: readonly string[] | string | null;
|
|
26
|
-
scheduleScope?: EventScheduleScope | null;
|
|
27
|
-
filterCategoryIds?: readonly string[] | string | null;
|
|
28
|
-
filterStaffMemberId?: string | null;
|
|
29
|
-
filterVenueId?: string | null;
|
|
30
|
-
showVenue?: boolean | null;
|
|
31
|
-
showMap?: boolean | null;
|
|
32
|
-
showCapacity?: boolean | null;
|
|
33
|
-
buttonVariant?: ButtonVariant;
|
|
34
|
-
buttonText?: string;
|
|
35
|
-
emptyMessage?: string;
|
|
36
|
-
className?: string;
|
|
37
|
-
}>;
|
|
38
|
-
export type EventCombinedDisplay = Readonly<{
|
|
3
|
+
import { type EventCollectionDisplay, type EventCollectionHydration, type EventCollectionSourceProps } from "./shared/eventCollectionContract";
|
|
4
|
+
export type EventCombinedSourceProps = EventCollectionSourceProps;
|
|
5
|
+
export type EventCombinedDisplay = EventCollectionDisplay & Readonly<{
|
|
39
6
|
kind: "event-combined";
|
|
40
7
|
className: string | null;
|
|
41
|
-
events: readonly PublicEvent[];
|
|
42
|
-
listLayout: EventLayout;
|
|
43
|
-
listColumns: ColumnOption;
|
|
44
|
-
eventsPerPage: EventPageSize;
|
|
45
|
-
paginationAction: EventListPaginationAction;
|
|
46
|
-
startOfWeek: WeekStart;
|
|
47
|
-
calendarTabViews: CalendarTabViews;
|
|
48
|
-
defaultCalendarView: CalendarView;
|
|
49
|
-
showFilters: boolean;
|
|
50
|
-
showCategoryFilter: FilterAutoShow;
|
|
51
|
-
showVenueFilter: boolean;
|
|
52
|
-
showStaffFilter: boolean;
|
|
53
|
-
eventKind: EventBlockKind;
|
|
54
|
-
eventSurface: EventSurfaceScope;
|
|
55
|
-
filterEventPresets: string | null;
|
|
56
|
-
scheduleScope: EventScheduleScope;
|
|
57
|
-
filterCategoryIds: string | null;
|
|
58
|
-
filterStaffMemberId: string | null;
|
|
59
|
-
filterVenueId: string | null;
|
|
60
|
-
showVenue: boolean;
|
|
61
|
-
showMap: boolean;
|
|
62
|
-
showCapacity: boolean;
|
|
63
|
-
buttonVariant: ButtonVariant;
|
|
64
|
-
buttonText: string;
|
|
65
|
-
emptyMessage: string;
|
|
66
|
-
}>;
|
|
67
|
-
export type EventCombinedHydration = Readonly<{
|
|
68
|
-
siteId: string;
|
|
69
|
-
stage?: "preview" | "published";
|
|
70
|
-
prefetchedEvents: boolean;
|
|
71
|
-
eventKind: EventBlockKind;
|
|
72
|
-
eventSurface: EventSurfaceScope;
|
|
73
|
-
filterEventPresets: string | null;
|
|
74
|
-
scheduleScope: EventScheduleScope;
|
|
75
8
|
}>;
|
|
9
|
+
export type EventCombinedHydration = EventCollectionHydration;
|
|
76
10
|
type EventCombinedIslandMeta = Readonly<{
|
|
77
11
|
siteId: string;
|
|
78
12
|
apiBaseUrl?: string;
|
|
@@ -87,141 +21,109 @@ export type EventCombinedInteractiveIslandProps = InteractiveIslandProps<EventCo
|
|
|
87
21
|
export declare const eventCombinedBlockRuntime: Readonly<{
|
|
88
22
|
kind: "progressive";
|
|
89
23
|
buildRender: (source: Readonly<{
|
|
90
|
-
events?: PublicEvent[] | null;
|
|
24
|
+
events?: import("../event-registration").PublicEvent[] | null;
|
|
91
25
|
siteId: string;
|
|
92
26
|
apiBaseUrl?: string;
|
|
93
27
|
stage?: "preview" | "published";
|
|
94
|
-
listLayout?: EventLayout;
|
|
95
|
-
listColumns?: ColumnOption;
|
|
28
|
+
listLayout?: import("../../..").EventLayout;
|
|
29
|
+
listColumns?: import("../../..").ColumnOption;
|
|
96
30
|
eventsPerPage?: string;
|
|
97
|
-
paginationMode?: EventListPaginationMode;
|
|
31
|
+
paginationMode?: import("./shared/listOptions").EventListPaginationMode;
|
|
98
32
|
seeAllUrl?: string;
|
|
99
33
|
loadMoreText?: string;
|
|
100
|
-
startOfWeek?: WeekStart;
|
|
101
|
-
calendarTabViews?: CalendarTabViews;
|
|
102
|
-
defaultCalendarView?: CalendarView;
|
|
34
|
+
startOfWeek?: import("../../..").WeekStart;
|
|
35
|
+
calendarTabViews?: import("../../..").CalendarTabViews;
|
|
36
|
+
defaultCalendarView?: import("../../..").CalendarView;
|
|
103
37
|
showFilters?: boolean | null;
|
|
104
|
-
showCategoryFilter?: FilterAutoShow;
|
|
38
|
+
showCategoryFilter?: import("../../..").FilterAutoShow;
|
|
105
39
|
showVenueFilter?: boolean | null;
|
|
106
40
|
showStaffFilter?: boolean | null;
|
|
107
|
-
|
|
108
|
-
eventSurface?: EventSurfaceScope | null;
|
|
41
|
+
eventSurface?: import("../../..").EventSurfaceScope | null;
|
|
109
42
|
filterEventPresets?: readonly string[] | string | null;
|
|
110
|
-
scheduleScope?: EventScheduleScope | null;
|
|
43
|
+
scheduleScope?: import("../../..").EventScheduleScope | null;
|
|
111
44
|
filterCategoryIds?: readonly string[] | string | null;
|
|
112
45
|
filterStaffMemberId?: string | null;
|
|
113
46
|
filterVenueId?: string | null;
|
|
114
47
|
showVenue?: boolean | null;
|
|
115
48
|
showMap?: boolean | null;
|
|
116
49
|
showCapacity?: boolean | null;
|
|
117
|
-
buttonVariant?: ButtonVariant;
|
|
50
|
+
buttonVariant?: import("../../..").ButtonVariant;
|
|
118
51
|
buttonText?: string;
|
|
119
52
|
emptyMessage?: string;
|
|
120
53
|
className?: string;
|
|
121
54
|
}>) => Readonly<{
|
|
122
|
-
display:
|
|
123
|
-
kind: "event-combined";
|
|
124
|
-
className: string | null;
|
|
125
|
-
events: readonly PublicEvent[];
|
|
126
|
-
listLayout: EventLayout;
|
|
127
|
-
listColumns: ColumnOption;
|
|
128
|
-
eventsPerPage: EventPageSize;
|
|
129
|
-
paginationAction: EventListPaginationAction;
|
|
130
|
-
startOfWeek: WeekStart;
|
|
131
|
-
calendarTabViews: CalendarTabViews;
|
|
132
|
-
defaultCalendarView: CalendarView;
|
|
133
|
-
showFilters: boolean;
|
|
134
|
-
showCategoryFilter: FilterAutoShow;
|
|
135
|
-
showVenueFilter: boolean;
|
|
136
|
-
showStaffFilter: boolean;
|
|
137
|
-
eventKind: EventBlockKind;
|
|
138
|
-
eventSurface: EventSurfaceScope;
|
|
139
|
-
filterEventPresets: string | null;
|
|
140
|
-
scheduleScope: EventScheduleScope;
|
|
141
|
-
filterCategoryIds: string | null;
|
|
142
|
-
filterStaffMemberId: string | null;
|
|
143
|
-
filterVenueId: string | null;
|
|
144
|
-
showVenue: boolean;
|
|
145
|
-
showMap: boolean;
|
|
146
|
-
showCapacity: boolean;
|
|
147
|
-
buttonVariant: ButtonVariant;
|
|
148
|
-
buttonText: string;
|
|
149
|
-
emptyMessage: string;
|
|
150
|
-
}>;
|
|
55
|
+
display: EventCombinedDisplay;
|
|
151
56
|
hydration: Readonly<{
|
|
152
57
|
siteId: string;
|
|
153
58
|
stage?: "preview" | "published";
|
|
154
59
|
prefetchedEvents: boolean;
|
|
155
|
-
|
|
156
|
-
eventSurface: EventSurfaceScope;
|
|
60
|
+
eventSurface: import("../../..").EventSurfaceScope;
|
|
157
61
|
filterEventPresets: string | null;
|
|
158
|
-
scheduleScope: EventScheduleScope;
|
|
62
|
+
scheduleScope: import("../../..").EventScheduleScope;
|
|
159
63
|
}>;
|
|
160
64
|
}>;
|
|
161
65
|
contracts: Readonly<{
|
|
162
66
|
source: Readonly<{
|
|
163
67
|
encode: (value: Readonly<{
|
|
164
|
-
events?: PublicEvent[] | null;
|
|
68
|
+
events?: import("../event-registration").PublicEvent[] | null;
|
|
165
69
|
siteId: string;
|
|
166
70
|
apiBaseUrl?: string;
|
|
167
71
|
stage?: "preview" | "published";
|
|
168
|
-
listLayout?: EventLayout;
|
|
169
|
-
listColumns?: ColumnOption;
|
|
72
|
+
listLayout?: import("../../..").EventLayout;
|
|
73
|
+
listColumns?: import("../../..").ColumnOption;
|
|
170
74
|
eventsPerPage?: string;
|
|
171
|
-
paginationMode?: EventListPaginationMode;
|
|
75
|
+
paginationMode?: import("./shared/listOptions").EventListPaginationMode;
|
|
172
76
|
seeAllUrl?: string;
|
|
173
77
|
loadMoreText?: string;
|
|
174
|
-
startOfWeek?: WeekStart;
|
|
175
|
-
calendarTabViews?: CalendarTabViews;
|
|
176
|
-
defaultCalendarView?: CalendarView;
|
|
78
|
+
startOfWeek?: import("../../..").WeekStart;
|
|
79
|
+
calendarTabViews?: import("../../..").CalendarTabViews;
|
|
80
|
+
defaultCalendarView?: import("../../..").CalendarView;
|
|
177
81
|
showFilters?: boolean | null;
|
|
178
|
-
showCategoryFilter?: FilterAutoShow;
|
|
82
|
+
showCategoryFilter?: import("../../..").FilterAutoShow;
|
|
179
83
|
showVenueFilter?: boolean | null;
|
|
180
84
|
showStaffFilter?: boolean | null;
|
|
181
|
-
|
|
182
|
-
eventSurface?: EventSurfaceScope | null;
|
|
85
|
+
eventSurface?: import("../../..").EventSurfaceScope | null;
|
|
183
86
|
filterEventPresets?: readonly string[] | string | null;
|
|
184
|
-
scheduleScope?: EventScheduleScope | null;
|
|
87
|
+
scheduleScope?: import("../../..").EventScheduleScope | null;
|
|
185
88
|
filterCategoryIds?: readonly string[] | string | null;
|
|
186
89
|
filterStaffMemberId?: string | null;
|
|
187
90
|
filterVenueId?: string | null;
|
|
188
91
|
showVenue?: boolean | null;
|
|
189
92
|
showMap?: boolean | null;
|
|
190
93
|
showCapacity?: boolean | null;
|
|
191
|
-
buttonVariant?: ButtonVariant;
|
|
94
|
+
buttonVariant?: import("../../..").ButtonVariant;
|
|
192
95
|
buttonText?: string;
|
|
193
96
|
emptyMessage?: string;
|
|
194
97
|
className?: string;
|
|
195
98
|
}>) => unknown;
|
|
196
99
|
decode: (input: unknown) => import("../../../../contracts").DecodeResult<Readonly<{
|
|
197
|
-
events?: PublicEvent[] | null;
|
|
100
|
+
events?: import("../event-registration").PublicEvent[] | null;
|
|
198
101
|
siteId: string;
|
|
199
102
|
apiBaseUrl?: string;
|
|
200
103
|
stage?: "preview" | "published";
|
|
201
|
-
listLayout?: EventLayout;
|
|
202
|
-
listColumns?: ColumnOption;
|
|
104
|
+
listLayout?: import("../../..").EventLayout;
|
|
105
|
+
listColumns?: import("../../..").ColumnOption;
|
|
203
106
|
eventsPerPage?: string;
|
|
204
|
-
paginationMode?: EventListPaginationMode;
|
|
107
|
+
paginationMode?: import("./shared/listOptions").EventListPaginationMode;
|
|
205
108
|
seeAllUrl?: string;
|
|
206
109
|
loadMoreText?: string;
|
|
207
|
-
startOfWeek?: WeekStart;
|
|
208
|
-
calendarTabViews?: CalendarTabViews;
|
|
209
|
-
defaultCalendarView?: CalendarView;
|
|
110
|
+
startOfWeek?: import("../../..").WeekStart;
|
|
111
|
+
calendarTabViews?: import("../../..").CalendarTabViews;
|
|
112
|
+
defaultCalendarView?: import("../../..").CalendarView;
|
|
210
113
|
showFilters?: boolean | null;
|
|
211
|
-
showCategoryFilter?: FilterAutoShow;
|
|
114
|
+
showCategoryFilter?: import("../../..").FilterAutoShow;
|
|
212
115
|
showVenueFilter?: boolean | null;
|
|
213
116
|
showStaffFilter?: boolean | null;
|
|
214
|
-
|
|
215
|
-
eventSurface?: EventSurfaceScope | null;
|
|
117
|
+
eventSurface?: import("../../..").EventSurfaceScope | null;
|
|
216
118
|
filterEventPresets?: readonly string[] | string | null;
|
|
217
|
-
scheduleScope?: EventScheduleScope | null;
|
|
119
|
+
scheduleScope?: import("../../..").EventScheduleScope | null;
|
|
218
120
|
filterCategoryIds?: readonly string[] | string | null;
|
|
219
121
|
filterStaffMemberId?: string | null;
|
|
220
122
|
filterVenueId?: string | null;
|
|
221
123
|
showVenue?: boolean | null;
|
|
222
124
|
showMap?: boolean | null;
|
|
223
125
|
showCapacity?: boolean | null;
|
|
224
|
-
buttonVariant?: ButtonVariant;
|
|
126
|
+
buttonVariant?: import("../../..").ButtonVariant;
|
|
225
127
|
buttonText?: string;
|
|
226
128
|
emptyMessage?: string;
|
|
227
129
|
className?: string;
|
|
@@ -229,83 +131,25 @@ export declare const eventCombinedBlockRuntime: Readonly<{
|
|
|
229
131
|
}>;
|
|
230
132
|
render: Readonly<{
|
|
231
133
|
encode: (value: Readonly<{
|
|
232
|
-
display:
|
|
233
|
-
kind: "event-combined";
|
|
234
|
-
className: string | null;
|
|
235
|
-
events: readonly PublicEvent[];
|
|
236
|
-
listLayout: EventLayout;
|
|
237
|
-
listColumns: ColumnOption;
|
|
238
|
-
eventsPerPage: EventPageSize;
|
|
239
|
-
paginationAction: EventListPaginationAction;
|
|
240
|
-
startOfWeek: WeekStart;
|
|
241
|
-
calendarTabViews: CalendarTabViews;
|
|
242
|
-
defaultCalendarView: CalendarView;
|
|
243
|
-
showFilters: boolean;
|
|
244
|
-
showCategoryFilter: FilterAutoShow;
|
|
245
|
-
showVenueFilter: boolean;
|
|
246
|
-
showStaffFilter: boolean;
|
|
247
|
-
eventKind: EventBlockKind;
|
|
248
|
-
eventSurface: EventSurfaceScope;
|
|
249
|
-
filterEventPresets: string | null;
|
|
250
|
-
scheduleScope: EventScheduleScope;
|
|
251
|
-
filterCategoryIds: string | null;
|
|
252
|
-
filterStaffMemberId: string | null;
|
|
253
|
-
filterVenueId: string | null;
|
|
254
|
-
showVenue: boolean;
|
|
255
|
-
showMap: boolean;
|
|
256
|
-
showCapacity: boolean;
|
|
257
|
-
buttonVariant: ButtonVariant;
|
|
258
|
-
buttonText: string;
|
|
259
|
-
emptyMessage: string;
|
|
260
|
-
}>;
|
|
134
|
+
display: EventCombinedDisplay;
|
|
261
135
|
hydration: Readonly<{
|
|
262
136
|
siteId: string;
|
|
263
137
|
stage?: "preview" | "published";
|
|
264
138
|
prefetchedEvents: boolean;
|
|
265
|
-
|
|
266
|
-
eventSurface: EventSurfaceScope;
|
|
139
|
+
eventSurface: import("../../..").EventSurfaceScope;
|
|
267
140
|
filterEventPresets: string | null;
|
|
268
|
-
scheduleScope: EventScheduleScope;
|
|
141
|
+
scheduleScope: import("../../..").EventScheduleScope;
|
|
269
142
|
}>;
|
|
270
143
|
}>) => unknown;
|
|
271
144
|
decode: (input: unknown) => import("../../../../contracts").DecodeResult<Readonly<{
|
|
272
|
-
display:
|
|
273
|
-
kind: "event-combined";
|
|
274
|
-
className: string | null;
|
|
275
|
-
events: readonly PublicEvent[];
|
|
276
|
-
listLayout: EventLayout;
|
|
277
|
-
listColumns: ColumnOption;
|
|
278
|
-
eventsPerPage: EventPageSize;
|
|
279
|
-
paginationAction: EventListPaginationAction;
|
|
280
|
-
startOfWeek: WeekStart;
|
|
281
|
-
calendarTabViews: CalendarTabViews;
|
|
282
|
-
defaultCalendarView: CalendarView;
|
|
283
|
-
showFilters: boolean;
|
|
284
|
-
showCategoryFilter: FilterAutoShow;
|
|
285
|
-
showVenueFilter: boolean;
|
|
286
|
-
showStaffFilter: boolean;
|
|
287
|
-
eventKind: EventBlockKind;
|
|
288
|
-
eventSurface: EventSurfaceScope;
|
|
289
|
-
filterEventPresets: string | null;
|
|
290
|
-
scheduleScope: EventScheduleScope;
|
|
291
|
-
filterCategoryIds: string | null;
|
|
292
|
-
filterStaffMemberId: string | null;
|
|
293
|
-
filterVenueId: string | null;
|
|
294
|
-
showVenue: boolean;
|
|
295
|
-
showMap: boolean;
|
|
296
|
-
showCapacity: boolean;
|
|
297
|
-
buttonVariant: ButtonVariant;
|
|
298
|
-
buttonText: string;
|
|
299
|
-
emptyMessage: string;
|
|
300
|
-
}>;
|
|
145
|
+
display: EventCombinedDisplay;
|
|
301
146
|
hydration: Readonly<{
|
|
302
147
|
siteId: string;
|
|
303
148
|
stage?: "preview" | "published";
|
|
304
149
|
prefetchedEvents: boolean;
|
|
305
|
-
|
|
306
|
-
eventSurface: EventSurfaceScope;
|
|
150
|
+
eventSurface: import("../../..").EventSurfaceScope;
|
|
307
151
|
filterEventPresets: string | null;
|
|
308
|
-
scheduleScope: EventScheduleScope;
|
|
152
|
+
scheduleScope: import("../../..").EventScheduleScope;
|
|
309
153
|
}>;
|
|
310
154
|
}>>;
|
|
311
155
|
}>;
|
|
@@ -321,43 +165,14 @@ export declare const eventCombinedInteractiveIslandPropsCodec: Readonly<{
|
|
|
321
165
|
render: Readonly<{
|
|
322
166
|
mode: "event-combined";
|
|
323
167
|
} & Readonly<{
|
|
324
|
-
display:
|
|
325
|
-
kind: "event-combined";
|
|
326
|
-
className: string | null;
|
|
327
|
-
events: readonly PublicEvent[];
|
|
328
|
-
listLayout: EventLayout;
|
|
329
|
-
listColumns: ColumnOption;
|
|
330
|
-
eventsPerPage: EventPageSize;
|
|
331
|
-
paginationAction: EventListPaginationAction;
|
|
332
|
-
startOfWeek: WeekStart;
|
|
333
|
-
calendarTabViews: CalendarTabViews;
|
|
334
|
-
defaultCalendarView: CalendarView;
|
|
335
|
-
showFilters: boolean;
|
|
336
|
-
showCategoryFilter: FilterAutoShow;
|
|
337
|
-
showVenueFilter: boolean;
|
|
338
|
-
showStaffFilter: boolean;
|
|
339
|
-
eventKind: EventBlockKind;
|
|
340
|
-
eventSurface: EventSurfaceScope;
|
|
341
|
-
filterEventPresets: string | null;
|
|
342
|
-
scheduleScope: EventScheduleScope;
|
|
343
|
-
filterCategoryIds: string | null;
|
|
344
|
-
filterStaffMemberId: string | null;
|
|
345
|
-
filterVenueId: string | null;
|
|
346
|
-
showVenue: boolean;
|
|
347
|
-
showMap: boolean;
|
|
348
|
-
showCapacity: boolean;
|
|
349
|
-
buttonVariant: ButtonVariant;
|
|
350
|
-
buttonText: string;
|
|
351
|
-
emptyMessage: string;
|
|
352
|
-
}>;
|
|
168
|
+
display: EventCombinedDisplay;
|
|
353
169
|
hydration: Readonly<{
|
|
354
170
|
siteId: string;
|
|
355
171
|
stage?: "preview" | "published";
|
|
356
172
|
prefetchedEvents: boolean;
|
|
357
|
-
|
|
358
|
-
eventSurface: EventSurfaceScope;
|
|
173
|
+
eventSurface: import("../../..").EventSurfaceScope;
|
|
359
174
|
filterEventPresets: string | null;
|
|
360
|
-
scheduleScope: EventScheduleScope;
|
|
175
|
+
scheduleScope: import("../../..").EventScheduleScope;
|
|
361
176
|
}>;
|
|
362
177
|
}>>;
|
|
363
178
|
}>) => unknown;
|
|
@@ -370,43 +185,14 @@ export declare const eventCombinedInteractiveIslandPropsCodec: Readonly<{
|
|
|
370
185
|
render: Readonly<{
|
|
371
186
|
mode: "event-combined";
|
|
372
187
|
} & Readonly<{
|
|
373
|
-
display:
|
|
374
|
-
kind: "event-combined";
|
|
375
|
-
className: string | null;
|
|
376
|
-
events: readonly PublicEvent[];
|
|
377
|
-
listLayout: EventLayout;
|
|
378
|
-
listColumns: ColumnOption;
|
|
379
|
-
eventsPerPage: EventPageSize;
|
|
380
|
-
paginationAction: EventListPaginationAction;
|
|
381
|
-
startOfWeek: WeekStart;
|
|
382
|
-
calendarTabViews: CalendarTabViews;
|
|
383
|
-
defaultCalendarView: CalendarView;
|
|
384
|
-
showFilters: boolean;
|
|
385
|
-
showCategoryFilter: FilterAutoShow;
|
|
386
|
-
showVenueFilter: boolean;
|
|
387
|
-
showStaffFilter: boolean;
|
|
388
|
-
eventKind: EventBlockKind;
|
|
389
|
-
eventSurface: EventSurfaceScope;
|
|
390
|
-
filterEventPresets: string | null;
|
|
391
|
-
scheduleScope: EventScheduleScope;
|
|
392
|
-
filterCategoryIds: string | null;
|
|
393
|
-
filterStaffMemberId: string | null;
|
|
394
|
-
filterVenueId: string | null;
|
|
395
|
-
showVenue: boolean;
|
|
396
|
-
showMap: boolean;
|
|
397
|
-
showCapacity: boolean;
|
|
398
|
-
buttonVariant: ButtonVariant;
|
|
399
|
-
buttonText: string;
|
|
400
|
-
emptyMessage: string;
|
|
401
|
-
}>;
|
|
188
|
+
display: EventCombinedDisplay;
|
|
402
189
|
hydration: Readonly<{
|
|
403
190
|
siteId: string;
|
|
404
191
|
stage?: "preview" | "published";
|
|
405
192
|
prefetchedEvents: boolean;
|
|
406
|
-
|
|
407
|
-
eventSurface: EventSurfaceScope;
|
|
193
|
+
eventSurface: import("../../..").EventSurfaceScope;
|
|
408
194
|
filterEventPresets: string | null;
|
|
409
|
-
scheduleScope: EventScheduleScope;
|
|
195
|
+
scheduleScope: import("../../..").EventScheduleScope;
|
|
410
196
|
}>;
|
|
411
197
|
}>>;
|
|
412
198
|
}>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ButtonVariant, CardOrientation, CardVariant, ColumnOption,
|
|
1
|
+
import type { ButtonVariant, CardOrientation, CardVariant, ColumnOption, EventCardVariantInput, EventLayout, EventScheduleScope, EventSurfaceScope, FilterAutoShow, PublicEvent } from "../../../blocks/events/shared/types";
|
|
2
2
|
import { type InteractiveIslandProps } from "../../../../contracts/islands";
|
|
3
3
|
import { type EventListPaginationAction, type EventListPaginationMode, type EventPageSize } from "./shared/listOptions";
|
|
4
4
|
export type EventListingSourceProps = Readonly<{
|
|
@@ -24,11 +24,10 @@ export type EventListingSourceProps = Readonly<{
|
|
|
24
24
|
showCategoryFilter?: FilterAutoShow;
|
|
25
25
|
showVenueFilter?: boolean | null;
|
|
26
26
|
showStaffFilter?: boolean | null;
|
|
27
|
-
eventKind?: EventBlockKind | null;
|
|
28
27
|
eventSurface?: EventSurfaceScope | null;
|
|
29
28
|
filterEventPresets?: readonly string[] | string | null;
|
|
30
29
|
scheduleScope?: EventScheduleScope | null;
|
|
31
|
-
filterCategoryIds?: string | null;
|
|
30
|
+
filterCategoryIds?: readonly string[] | string | null;
|
|
32
31
|
filterStaffMemberId?: string | null;
|
|
33
32
|
filterVenueId?: string | null;
|
|
34
33
|
}>;
|
|
@@ -58,7 +57,6 @@ export type EventListingHydration = Readonly<{
|
|
|
58
57
|
showCategoryFilter: FilterAutoShow;
|
|
59
58
|
showVenueFilter: boolean;
|
|
60
59
|
showStaffFilter: boolean;
|
|
61
|
-
eventKind: EventBlockKind;
|
|
62
60
|
eventSurface: EventSurfaceScope;
|
|
63
61
|
filterEventPresets: string | null;
|
|
64
62
|
scheduleScope: EventScheduleScope;
|
|
@@ -98,11 +96,10 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
98
96
|
showCategoryFilter?: FilterAutoShow;
|
|
99
97
|
showVenueFilter?: boolean | null;
|
|
100
98
|
showStaffFilter?: boolean | null;
|
|
101
|
-
eventKind?: EventBlockKind | null;
|
|
102
99
|
eventSurface?: EventSurfaceScope | null;
|
|
103
100
|
filterEventPresets?: readonly string[] | string | null;
|
|
104
101
|
scheduleScope?: EventScheduleScope | null;
|
|
105
|
-
filterCategoryIds?: string | null;
|
|
102
|
+
filterCategoryIds?: readonly string[] | string | null;
|
|
106
103
|
filterStaffMemberId?: string | null;
|
|
107
104
|
filterVenueId?: string | null;
|
|
108
105
|
}>) => Readonly<{
|
|
@@ -132,7 +129,6 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
132
129
|
showCategoryFilter: FilterAutoShow;
|
|
133
130
|
showVenueFilter: boolean;
|
|
134
131
|
showStaffFilter: boolean;
|
|
135
|
-
eventKind: EventBlockKind;
|
|
136
132
|
eventSurface: EventSurfaceScope;
|
|
137
133
|
filterEventPresets: string | null;
|
|
138
134
|
scheduleScope: EventScheduleScope;
|
|
@@ -167,11 +163,10 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
167
163
|
showCategoryFilter?: FilterAutoShow;
|
|
168
164
|
showVenueFilter?: boolean | null;
|
|
169
165
|
showStaffFilter?: boolean | null;
|
|
170
|
-
eventKind?: EventBlockKind | null;
|
|
171
166
|
eventSurface?: EventSurfaceScope | null;
|
|
172
167
|
filterEventPresets?: readonly string[] | string | null;
|
|
173
168
|
scheduleScope?: EventScheduleScope | null;
|
|
174
|
-
filterCategoryIds?: string | null;
|
|
169
|
+
filterCategoryIds?: readonly string[] | string | null;
|
|
175
170
|
filterStaffMemberId?: string | null;
|
|
176
171
|
filterVenueId?: string | null;
|
|
177
172
|
}>) => unknown;
|
|
@@ -198,11 +193,10 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
198
193
|
showCategoryFilter?: FilterAutoShow;
|
|
199
194
|
showVenueFilter?: boolean | null;
|
|
200
195
|
showStaffFilter?: boolean | null;
|
|
201
|
-
eventKind?: EventBlockKind | null;
|
|
202
196
|
eventSurface?: EventSurfaceScope | null;
|
|
203
197
|
filterEventPresets?: readonly string[] | string | null;
|
|
204
198
|
scheduleScope?: EventScheduleScope | null;
|
|
205
|
-
filterCategoryIds?: string | null;
|
|
199
|
+
filterCategoryIds?: readonly string[] | string | null;
|
|
206
200
|
filterStaffMemberId?: string | null;
|
|
207
201
|
filterVenueId?: string | null;
|
|
208
202
|
}>>;
|
|
@@ -235,7 +229,6 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
235
229
|
showCategoryFilter: FilterAutoShow;
|
|
236
230
|
showVenueFilter: boolean;
|
|
237
231
|
showStaffFilter: boolean;
|
|
238
|
-
eventKind: EventBlockKind;
|
|
239
232
|
eventSurface: EventSurfaceScope;
|
|
240
233
|
filterEventPresets: string | null;
|
|
241
234
|
scheduleScope: EventScheduleScope;
|
|
@@ -272,7 +265,6 @@ export declare const eventListingBlockRuntime: Readonly<{
|
|
|
272
265
|
showCategoryFilter: FilterAutoShow;
|
|
273
266
|
showVenueFilter: boolean;
|
|
274
267
|
showStaffFilter: boolean;
|
|
275
|
-
eventKind: EventBlockKind;
|
|
276
268
|
eventSurface: EventSurfaceScope;
|
|
277
269
|
filterEventPresets: string | null;
|
|
278
270
|
scheduleScope: EventScheduleScope;
|
|
@@ -321,7 +313,6 @@ export declare const eventListingInteractiveIslandPropsCodec: Readonly<{
|
|
|
321
313
|
showCategoryFilter: FilterAutoShow;
|
|
322
314
|
showVenueFilter: boolean;
|
|
323
315
|
showStaffFilter: boolean;
|
|
324
|
-
eventKind: EventBlockKind;
|
|
325
316
|
eventSurface: EventSurfaceScope;
|
|
326
317
|
filterEventPresets: string | null;
|
|
327
318
|
scheduleScope: EventScheduleScope;
|
|
@@ -367,7 +358,6 @@ export declare const eventListingInteractiveIslandPropsCodec: Readonly<{
|
|
|
367
358
|
showCategoryFilter: FilterAutoShow;
|
|
368
359
|
showVenueFilter: boolean;
|
|
369
360
|
showStaffFilter: boolean;
|
|
370
|
-
eventKind: EventBlockKind;
|
|
371
361
|
eventSurface: EventSurfaceScope;
|
|
372
362
|
filterEventPresets: string | null;
|
|
373
363
|
scheduleScope: EventScheduleScope;
|
|
@@ -7,8 +7,6 @@ type EventFiltersProps = {
|
|
|
7
7
|
venues: EventFilterVenue[];
|
|
8
8
|
/** Available staff members */
|
|
9
9
|
staffMembers: EventFilterStaffMember[];
|
|
10
|
-
/** Currently selected kind (all/courses/events) */
|
|
11
|
-
selectedKind: 'all' | 'courses' | 'events';
|
|
12
10
|
/** Currently selected category ID (or 'all') */
|
|
13
11
|
selectedCategoryId: string;
|
|
14
12
|
/** Currently selected staff member ID (or 'all') */
|
|
@@ -21,14 +19,8 @@ type EventFiltersProps = {
|
|
|
21
19
|
showVenueFilter: boolean;
|
|
22
20
|
/** Whether to show staff filter */
|
|
23
21
|
showStaffFilter: boolean;
|
|
24
|
-
/** Whether the category UI should include the Course option */
|
|
25
|
-
showCourseOption: boolean;
|
|
26
|
-
/** Label for the course-like category option */
|
|
27
|
-
courseOptionLabel: string;
|
|
28
22
|
/** Callback when category changes */
|
|
29
23
|
onCategoryChange: (categoryId: string) => void;
|
|
30
|
-
/** Callback when kind changes */
|
|
31
|
-
onKindChange: (kind: 'all' | 'courses' | 'events') => void;
|
|
32
24
|
/** Callback when staff changes */
|
|
33
25
|
onStaffMemberChange: (staffMemberId: string) => void;
|
|
34
26
|
/** Callback when venue changes */
|