@riverbankcms/sdk 0.132.0 → 0.135.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/CHANGELOG.md +14 -3
- package/README.md +1 -1
- package/dist/{PreviewEditorSidebar-DKQ5eFK9.mjs → PreviewEditorSidebar-roNY0GVy.mjs} +4 -4
- package/dist/{PreviewEditorUI-CNTcOjCC.mjs → PreviewEditorUI-KboDbEh_.mjs} +3 -3
- package/dist/{PreviewQueryProvider-D51gQaG3.mjs → PreviewQueryProvider-DcgaESkm.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-DJu3qu33.mjs → SdkPreviewModeRuntime-DBrF7Caa.mjs} +48 -17
- package/dist/{SiteChromeCustomizeContext-2TzT3vbj.mjs → SiteChromeCustomizeContext-DrIEpJKn.mjs} +4351 -7964
- package/dist/_dts/ai/src/contracts/proposals.d.ts +549 -549
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +234 -234
- package/dist/_dts/api/src/accountApi.d.ts +5 -5
- package/dist/_dts/api/src/appointmentEndpointDefinitions.d.ts +1 -1
- package/dist/_dts/api/src/bookingConfig.d.ts +1 -1
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +25 -60
- package/dist/_dts/api/src/bookingOperations.d.ts +111 -173
- package/dist/_dts/api/src/bookingPaymentTermSchemas.d.ts +123 -0
- package/dist/_dts/api/src/bookingRecords.d.ts +13 -13
- package/dist/_dts/api/src/bookingRefundOutcomes.d.ts +4 -4
- package/dist/_dts/api/src/bookingSessionSummaryTypes.d.ts +34 -0
- package/dist/_dts/api/src/bookings.d.ts +7 -11
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +7 -7
- package/dist/_dts/api/src/communications.d.ts +1 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +1 -1
- package/dist/_dts/api/src/endpoints.d.ts +30 -110
- package/dist/_dts/api/src/eventManagementContracts.d.ts +1 -1
- package/dist/_dts/api/src/eventSeriesRegistrationEndpointDefinitions.d.ts +43 -0
- package/dist/_dts/api/src/index.d.ts +3 -4
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -1
- package/dist/_dts/api/src/navigation/contracts.d.ts +9 -6
- package/dist/_dts/api/src/navigation/linkResolver.d.ts +6 -2
- package/dist/_dts/api/src/navigation/types.d.ts +23 -6
- package/dist/_dts/api/src/navigation.d.ts +1 -1
- package/dist/_dts/api/src/participantMessaging.d.ts +2 -2
- package/dist/_dts/api/src/publicBookingService.d.ts +15 -0
- package/dist/_dts/api/src/publicEventEndpointDefinitions.d.ts +8 -0
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +32 -28
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +88 -6
- package/dist/_dts/api/src/publicExperience/sharedTypes.d.ts +1 -1
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +9 -98
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +7 -6
- package/dist/_dts/api/src/publicWholeSeriesEndpointDefinitions.d.ts +0 -32
- package/dist/_dts/api/src/sdk-event-payment-terms.d.ts +1 -1
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -2
- package/dist/_dts/api/src/sdkThemeWire.d.ts +50 -50
- package/dist/_dts/api/src/siteBanner.d.ts +4 -2
- package/dist/_dts/api/src/siteOperations.d.ts +2 -2
- package/dist/_dts/api/src/types.d.ts +2 -2
- package/dist/_dts/api/src/webhooks.d.ts +12 -12
- package/dist/_dts/api/src/{courses.d.ts → wholeSeriesOfferings.d.ts} +43 -95
- package/dist/_dts/blocks/src/client.d.ts +1 -6
- package/dist/_dts/blocks/src/contracts/index.d.ts +1 -1
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +33 -166
- package/dist/_dts/blocks/src/index.d.ts +3 -2
- package/dist/_dts/blocks/src/portal/dateFormatting.d.ts +3 -0
- package/dist/_dts/blocks/src/portal/types.d.ts +17 -20
- package/dist/_dts/blocks/src/primitives/content/components/RichText.d.ts +2 -2
- package/dist/_dts/blocks/src/primitives/content/primitives.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +147 -42
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +46 -24
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +3 -0
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/schemas.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/events/whole-series/types.d.ts +6 -0
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +0 -2
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +4 -4
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +148 -148
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.d.ts +5 -4
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/scheduleSummary.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/shared/bookingConsent.d.ts +36 -0
- package/dist/_dts/blocks/src/system/constants/blockKinds.d.ts +1 -1
- package/dist/_dts/blocks/src/system/manifest/hydrateLinks.d.ts +9 -2
- package/dist/_dts/blocks/src/system/manifest/resolveBlockData.d.ts +8 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +79 -79
- package/dist/_dts/blocks/src/system/node/builder.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/api/client.d.ts +9 -12
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +2 -44
- 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 +2 -11
- package/dist/_dts/blocks/src/system/runtime/api/types/core.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +100 -59
- package/dist/_dts/blocks/src/system/runtime/api/types/portal.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +19 -16
- package/dist/_dts/blocks/src/system/runtime/api/types/waitlist-claims.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/multi-step/DynamicFormFields.d.ts +3 -19
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +24 -247
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +13 -126
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessEventRegistrationFlow.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/usePaymentVerification.d.ts +2 -3
- package/dist/_dts/blocks/src/system/runtime/hooks/useSelectedAppointmentConsentForm.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.consent.d.ts +10 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.field-values.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.fields.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.interactive.d.ts +38 -144
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +5 -19
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-runtime-sources.d.ts +3 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/WholeSeriesPricingDisplay.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/AttendeeDetailsStep.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationBookingLayer.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/EventRegistrationSurface.d.ts +24 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/PaymentBlockingPanel.d.ts +18 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/TicketSelectionStep.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/constants.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.contract.d.ts +1 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventPaymentOptions.d.ts +7 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/hooks.d.ts +7 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationDerivations.d.ts +4 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationStateMachine.d.ts +5 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationSurface.d.ts +18 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/registrationWizardContext.d.ts +28 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/sessionStorage.d.ts +12 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/types.d.ts +53 -45
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationStripeReturn.d.ts +10 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationSubmit.d.ts +9 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useEventRegistrationWizard.d.ts +24 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/useWaitlistClaimRestoration.d.ts +20 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/utils.d.ts +5 -56
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/validation.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/waitlistClaimRestoration.d.ts +20 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.interactive.d.ts +6 -22
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/DateTimeTile.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +40 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/offerings-preview.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptions.d.ts +6 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/BookingConsentAgreement.d.ts +7 -0
- package/dist/_dts/blocks/src/system/runtime/shared/components/DiscountCodeDisclosure.d.ts +1 -13
- package/dist/_dts/blocks/src/system/runtime/shared/components/LoggedInAsUser.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/MembershipHero.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/StateIcon.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/shared/types.d.ts +2 -1
- package/dist/_dts/blocks/src/system/runtime/shared/utils/checkoutUrls.d.ts +2 -2
- package/dist/_dts/blocks/src/system/types/link.d.ts +7 -1
- package/dist/_dts/commerce/src/index.d.ts +16 -0
- package/dist/_dts/commerce/src/money.d.ts +122 -0
- package/dist/_dts/commerce/src/moneyContracts.d.ts +178 -0
- package/dist/_dts/commerce/src/moneyDateUtils.d.ts +22 -0
- package/dist/_dts/commerce/src/moneyPayments.d.ts +59 -0
- package/dist/_dts/commerce/src/moneyPlanningTime.d.ts +4 -0
- package/dist/_dts/commerce/src/moneyReceiptReadModel.d.ts +68 -0
- package/dist/_dts/commerce/src/moneyReport.d.ts +105 -0
- package/dist/_dts/commerce/src/moneyReportBreakdowns.d.ts +3 -0
- package/dist/_dts/commerce/src/moneyReportKindFilter.d.ts +4 -0
- package/dist/_dts/commerce/src/moneyReportPage.d.ts +132 -0
- package/dist/_dts/commerce/src/purchase/checkoutCollectionPlan.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/confirmationEmailPayment.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/orderCompletionEmailPlan.d.ts +3 -3
- package/dist/_dts/commerce/src/purchase/orderFulfillmentPlan.d.ts +6 -25
- package/dist/_dts/commerce/src/purchase/orderItemMetadata.d.ts +4 -4
- package/dist/_dts/commerce/src/purchase/orderPlanningTypes.d.ts +11 -11
- package/dist/_dts/commerce/src/purchase/orderTypes.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/persistedCheckoutLines.d.ts +1 -1
- package/dist/_dts/commerce/src/purchase/types.d.ts +12 -8
- package/dist/_dts/commerce/src/shop/digitalFulfillment.d.ts +111 -0
- package/dist/_dts/commerce/src/shop/fulfillmentStatus.d.ts +10 -0
- package/dist/_dts/commerce/src/shop/inventoryRestore.d.ts +13 -0
- package/dist/_dts/commerce/src/shop/shippingAddress.d.ts +18 -0
- package/dist/_dts/commerce/src/types/json.d.ts +3 -0
- package/dist/_dts/commerce/src/utils/isPlainRecord.d.ts +1 -0
- package/dist/_dts/commerce/src/waitlists.d.ts +172 -0
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +0 -30
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +2 -39
- package/dist/_dts/content-model/src/content-types/schema.d.ts +4 -4
- package/dist/_dts/content-model/src/metadataConfig.d.ts +0 -1
- package/dist/_dts/content-model/src/templates/defaults.d.ts +0 -68
- package/dist/_dts/core/src/booking-consent.d.ts +8 -0
- package/dist/_dts/core/src/branded.d.ts +3 -3
- package/dist/_dts/core/src/event-pricing.d.ts +6 -6
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/core/src/participants.d.ts +17 -17
- package/dist/_dts/core/src/rectification.d.ts +1 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +899 -2157
- package/dist/_dts/db/src/schemas/forms.d.ts +21 -21
- package/dist/_dts/db/src/types/jsonb.d.ts +1 -1
- package/dist/_dts/editor/src/primitives/rich-text/RichTextEditorSurface.d.ts +2 -1
- package/dist/_dts/editor/src/primitives/rich-text/config.d.ts +2 -1
- package/dist/_dts/editor/src/primitives/rich-text/toolbar/linkPopoverUtils.d.ts +3 -2
- package/dist/_dts/editor/src/primitives/rich-text/useRichTextEditor.d.ts +3 -4
- package/dist/_dts/media-core/src/usageScanner.d.ts +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +4 -5
- package/dist/_dts/sdk/src/bookings/types.d.ts +8 -60
- package/dist/_dts/sdk/src/config/validation.d.ts +30 -30
- package/dist/_dts/sdk/src/contracts/content.d.ts +10 -36
- package/dist/_dts/sdk/src/contracts/rendering.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +9 -9
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +6 -19
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +4 -6
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/blocks/vars/index.d.ts +0 -2
- package/dist/_dts/theme-core/src/buttons/types.d.ts +12 -12
- package/dist/_dts/theme-core/src/cards/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +72 -72
- package/dist/_dts/theme-core/src/navigation/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/palette/colors.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/curated/types.d.ts +2 -2
- package/dist/_dts/theme-core/src/schema.d.ts +82 -82
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/cardRoleVocabulary.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/logoBranding.d.ts +4 -4
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +1 -1
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/callout.d.ts +1 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/client/{usePolling-M5jG675x.mjs → BookingConsentAgreement-BQqwi8Oa.mjs} +180 -4
- package/dist/client/{DiscountCodeDisclosure-DO7llLxm.mjs → DiscountCodeDisclosure-B97aMo0V.mjs} +13 -27
- package/dist/client/{EventCombined.client-xID7zN__.mjs → EventCombined.client-Bs2Iw9Q6.mjs} +3 -3
- package/dist/client/{EventListing.client-CriBslp0.mjs → EventListing.client-C4QUQdmg.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-DYmHnM8g.mjs → LeafletStaticMap-CwWRk69M.mjs} +1 -1
- package/dist/client/{accordion-CgFbnnnQ.mjs → accordion-BA0j8Mpw.mjs} +1 -1
- package/dist/client/{bookingForm-dUyGpbxc.mjs → bookingForm-Br2e41H0.mjs} +72 -47
- package/dist/client/bookings.mjs +1987 -2132
- package/dist/client/{carousel-BvBwkUzx.mjs → carousel-B4dmwnpD.mjs} +1 -1
- package/dist/client/{cart-DiZENT2E.mjs → cart-B_ckGW4b.mjs} +3 -3
- package/dist/client/{checkout-Dq13KIgR.mjs → checkout-DAyspHdf.mjs} +3 -3
- package/dist/client/checkoutUrls-BuseL0dw.mjs +189 -0
- package/dist/client/client.mjs +5627 -9543
- package/dist/client/{context-B83PiNzm.mjs → context-DljQn8L5.mjs} +15 -82
- package/dist/client/{eventCalendar-BF0Jatfw.mjs → eventCalendar-pJu3FUod.mjs} +5 -5
- package/dist/client/{eventCombined-BuoCF8je.mjs → eventCombined-B6Kacm9F.mjs} +3 -3
- package/dist/client/{eventDetails-CKwh0S9s.mjs → eventDetails-CaX9z1pv.mjs} +8 -8
- package/dist/client/{eventListing-eUxaWFaB.mjs → eventListing-B9aXPO-I.mjs} +3 -3
- package/dist/client/{eventRegistration-CfkNOkPb.mjs → eventRegistration-CBSovBkg.mjs} +4550 -3671
- package/dist/client/{form-C17H1c_H.mjs → form-Cm0tu_7o.mjs} +2 -2
- package/dist/client/{headerSection-DEwUmrtt.mjs → headerSection-OgRtHeKS.mjs} +2 -2
- package/dist/client/hooks.mjs +535 -694
- package/dist/client/{locationMap-Pf2QwuvW.mjs → locationMap-DmjcYqNM.mjs} +2 -2
- package/dist/client/{newsletterForm-BWQAH5Sv.mjs → newsletterForm-D08OZQAC.mjs} +2 -2
- package/dist/client/{productDetail-BZi1Fa_G.mjs → productDetail-BqZeu2P4.mjs} +3 -3
- package/dist/client/{productList-qq-55DNk.mjs → productList-mNyIF9FG.mjs} +3 -3
- package/dist/client/{propsDecoder-BxmqPKdP.mjs → propsDecoder-DwHXRm9X.mjs} +4850 -4502
- package/dist/client/rendering/client.mjs +59921 -62298
- package/dist/client/rendering/islands.mjs +17 -19
- package/dist/client/rendering.mjs +6226 -10236
- package/dist/client/{scrollToBlock-B3CcKdtG.mjs → scrollToBlock-DtmdM3v-.mjs} +2 -2
- package/dist/client/{shop-DNWJPut5.mjs → shop-CNjZK16F.mjs} +6 -6
- package/dist/client/{shop-commerce-BhvQCosS.mjs → shop-commerce-DkNNao1J.mjs} +7 -164
- package/dist/client/{shop-commerce-store-B04sCNnW.mjs → shop-commerce-store-9WA--zuW.mjs} +1 -1
- package/dist/client/{shopShared-DNNgZlmW.mjs → shopShared-CHCVfccY.mjs} +3 -3
- package/dist/client/{useEventFilters-CUmhE24_.mjs → useEventFilters-DvuaB4ZN.mjs} +3 -3
- package/dist/preview-next/before-render.mjs +40 -161
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +40 -161
- package/dist/preview-next/middleware.mjs +40 -161
- package/dist/{previewAuthStore-BFKd4LrN.mjs → previewAuthStore-C7ksxt5b.mjs} +40 -161
- package/dist/{sdk-runtime-BEXb1wqo.mjs → sdk-runtime-3GhW4knb.mjs} +2 -2
- package/dist/{separator-DGMuip1D.mjs → separator-D3bCWYYb.mjs} +1 -1
- package/dist/server/components.mjs +634 -2969
- package/dist/server/config-validation.mjs +535 -694
- package/dist/server/config.mjs +535 -694
- package/dist/server/data.mjs +535 -694
- package/dist/server/index.mjs +41 -162
- package/dist/server/next.mjs +644 -2979
- package/dist/server/page-converter.mjs +435 -561
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +635 -2874
- package/dist/server/rendering.mjs +634 -2969
- package/dist/server/routing.mjs +706 -1138
- package/dist/server/server.mjs +549 -708
- package/dist/server/theme-bridge.mjs +152 -1635
- package/dist/styles/index.css +41 -1348
- package/package.json +2 -2
- package/dist/_dts/api/src/courseEndpointDefinitions.d.ts +0 -99
- package/dist/_dts/blocks/src/client/course-registration.d.ts +0 -5
- package/dist/_dts/blocks/src/system/blocks/course-details.d.ts +0 -134
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +0 -130
- package/dist/_dts/blocks/src/system/blocks/courses/shared/index.d.ts +0 -3
- package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +0 -2
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +0 -133
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessWholeSeriesRegistrationFlow.d.ts +0 -28
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/logic.d.ts +0 -11
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/runs.d.ts +0 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details/view.d.ts +0 -15
- package/dist/_dts/blocks/src/system/runtime/nodes/course-details.server.d.ts +0 -20
- package/dist/_dts/blocks/src/system/runtime/nodes/course-page-surface-scope.d.ts +0 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.client.d.ts +0 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.interactive.d.ts +0 -181
- package/dist/_dts/blocks/src/system/runtime/nodes/course-registration.server.d.ts +0 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/event-details/CoursePricingDisplay.d.ts +0 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/BookingModeStep.d.ts +0 -32
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/CheckIcon.d.ts +0 -4
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/ErrorStep.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/MembershipHero.d.ts +0 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/PaymentFailedStep.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/PortalAuthSidebar.d.ts +0 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/StepIndicator.d.ts +0 -6
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/SuccessStep.d.ts +0 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/VerifyingTimeoutStep.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WaitlistStep.d.ts +0 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationActiveSteps.d.ts +0 -9
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationErrorBoundary.d.ts +0 -25
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationTerminalContent.d.ts +0 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/WholeSeriesRegistrationWizard.d.ts +0 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/components.d.ts +0 -45
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/index.d.ts +0 -18
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/presentation.d.ts +0 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/pricing.d.ts +0 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/types.d.ts +0 -105
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesEligibility.d.ts +0 -24
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesPaymentVerification.d.ts +0 -10
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationActions.d.ts +0 -35
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationPortal.d.ts +0 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationSelection.d.ts +0 -35
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesRegistrationWizard.d.ts +0 -185
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/useWholeSeriesWaitlistSelection.d.ts +0 -14
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/utils.d.ts +0 -43
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/whole-series-registration.headless.contract.d.ts +0 -323
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/whole-series-registration.headless.planning.d.ts +0 -27
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/wholeSeriesPageSurfaceScope.d.ts +0 -17
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/wholeSeriesRegistrationViewState.d.ts +0 -21
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/whole-series/wizardSteps.d.ts +0 -30
- package/dist/_dts/sdk/src/rendering/islands/enhancers/courseRegistration.d.ts +0 -3
- package/dist/_dts/theme-core/src/blocks/vars/course-details.d.ts +0 -16
- package/dist/_dts/theme-core/src/blocks/vars/course-registration.d.ts +0 -21
- package/dist/client/StepIndicator-CGixP_LW.mjs +0 -138
- package/dist/client/WholeSeriesRegistrationWizard-BEjzSiOA.mjs +0 -2496
- package/dist/client/checkoutUrls-Ct8Mxna3.mjs +0 -26
- package/dist/client/courseRegistration-CKC5NmyH.mjs +0 -52
- package/dist/client/pricing-CVdvbopJ.mjs +0 -195
|
@@ -416,15 +416,15 @@ export declare const formFieldSchema: z.ZodObject<{
|
|
|
416
416
|
number: "number";
|
|
417
417
|
date: "date";
|
|
418
418
|
time: "time";
|
|
419
|
+
text: "text";
|
|
419
420
|
email: "email";
|
|
420
421
|
url: "url";
|
|
421
|
-
text: "text";
|
|
422
422
|
textarea: "textarea";
|
|
423
423
|
select: "select";
|
|
424
424
|
checkbox: "checkbox";
|
|
425
425
|
radio: "radio";
|
|
426
|
-
consent: "consent";
|
|
427
426
|
tel: "tel";
|
|
427
|
+
consent: "consent";
|
|
428
428
|
}>;
|
|
429
429
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
430
430
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -447,8 +447,8 @@ export declare const formFieldSchema: z.ZodObject<{
|
|
|
447
447
|
}, z.core.$strict>>;
|
|
448
448
|
}, z.core.$strict>;
|
|
449
449
|
export declare const bookingQuestionDocumentFileTypeSchema: z.ZodEnum<{
|
|
450
|
-
pdf: "pdf";
|
|
451
450
|
image: "image";
|
|
451
|
+
pdf: "pdf";
|
|
452
452
|
docx: "docx";
|
|
453
453
|
}>;
|
|
454
454
|
declare const bookingQuestionScalarFieldSchema: z.ZodObject<{
|
|
@@ -477,9 +477,9 @@ declare const bookingQuestionScalarFieldSchema: z.ZodObject<{
|
|
|
477
477
|
number: "number";
|
|
478
478
|
date: "date";
|
|
479
479
|
time: "time";
|
|
480
|
+
text: "text";
|
|
480
481
|
email: "email";
|
|
481
482
|
url: "url";
|
|
482
|
-
text: "text";
|
|
483
483
|
textarea: "textarea";
|
|
484
484
|
select: "select";
|
|
485
485
|
checkbox: "checkbox";
|
|
@@ -501,8 +501,8 @@ declare const bookingQuestionDocumentUploadFieldSchema: z.ZodObject<{
|
|
|
501
501
|
}>>;
|
|
502
502
|
}, z.core.$strict>>;
|
|
503
503
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
504
|
-
pdf: "pdf";
|
|
505
504
|
image: "image";
|
|
505
|
+
pdf: "pdf";
|
|
506
506
|
docx: "docx";
|
|
507
507
|
}>>>;
|
|
508
508
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -533,9 +533,9 @@ export declare const bookingQuestionFieldSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
533
533
|
number: "number";
|
|
534
534
|
date: "date";
|
|
535
535
|
time: "time";
|
|
536
|
+
text: "text";
|
|
536
537
|
email: "email";
|
|
537
538
|
url: "url";
|
|
538
|
-
text: "text";
|
|
539
539
|
textarea: "textarea";
|
|
540
540
|
select: "select";
|
|
541
541
|
checkbox: "checkbox";
|
|
@@ -556,8 +556,8 @@ export declare const bookingQuestionFieldSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
556
556
|
}>>;
|
|
557
557
|
}, z.core.$strict>>;
|
|
558
558
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
559
|
-
pdf: "pdf";
|
|
560
559
|
image: "image";
|
|
560
|
+
pdf: "pdf";
|
|
561
561
|
docx: "docx";
|
|
562
562
|
}>>>;
|
|
563
563
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -592,9 +592,9 @@ export declare const bookingQuestionsSectionSchema: z.ZodObject<{
|
|
|
592
592
|
number: "number";
|
|
593
593
|
date: "date";
|
|
594
594
|
time: "time";
|
|
595
|
+
text: "text";
|
|
595
596
|
email: "email";
|
|
596
597
|
url: "url";
|
|
597
|
-
text: "text";
|
|
598
598
|
textarea: "textarea";
|
|
599
599
|
select: "select";
|
|
600
600
|
checkbox: "checkbox";
|
|
@@ -615,8 +615,8 @@ export declare const bookingQuestionsSectionSchema: z.ZodObject<{
|
|
|
615
615
|
}>>;
|
|
616
616
|
}, z.core.$strict>>;
|
|
617
617
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
618
|
-
pdf: "pdf";
|
|
619
618
|
image: "image";
|
|
619
|
+
pdf: "pdf";
|
|
620
620
|
docx: "docx";
|
|
621
621
|
}>>>;
|
|
622
622
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -654,9 +654,9 @@ export declare const bookingQuestionsDetailedSchemaSchema: z.ZodObject<{
|
|
|
654
654
|
number: "number";
|
|
655
655
|
date: "date";
|
|
656
656
|
time: "time";
|
|
657
|
+
text: "text";
|
|
657
658
|
email: "email";
|
|
658
659
|
url: "url";
|
|
659
|
-
text: "text";
|
|
660
660
|
textarea: "textarea";
|
|
661
661
|
select: "select";
|
|
662
662
|
checkbox: "checkbox";
|
|
@@ -677,8 +677,8 @@ export declare const bookingQuestionsDetailedSchemaSchema: z.ZodObject<{
|
|
|
677
677
|
}>>;
|
|
678
678
|
}, z.core.$strict>>;
|
|
679
679
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
680
|
-
pdf: "pdf";
|
|
681
680
|
image: "image";
|
|
681
|
+
pdf: "pdf";
|
|
682
682
|
docx: "docx";
|
|
683
683
|
}>>>;
|
|
684
684
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -698,15 +698,15 @@ export declare const formSchemaSchema: z.ZodObject<{
|
|
|
698
698
|
number: "number";
|
|
699
699
|
date: "date";
|
|
700
700
|
time: "time";
|
|
701
|
+
text: "text";
|
|
701
702
|
email: "email";
|
|
702
703
|
url: "url";
|
|
703
|
-
text: "text";
|
|
704
704
|
textarea: "textarea";
|
|
705
705
|
select: "select";
|
|
706
706
|
checkbox: "checkbox";
|
|
707
707
|
radio: "radio";
|
|
708
|
-
consent: "consent";
|
|
709
708
|
tel: "tel";
|
|
709
|
+
consent: "consent";
|
|
710
710
|
}>;
|
|
711
711
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
712
712
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -757,9 +757,9 @@ export declare const bookingQuestionsFlatSchemaSchema: z.ZodObject<{
|
|
|
757
757
|
number: "number";
|
|
758
758
|
date: "date";
|
|
759
759
|
time: "time";
|
|
760
|
+
text: "text";
|
|
760
761
|
email: "email";
|
|
761
762
|
url: "url";
|
|
762
|
-
text: "text";
|
|
763
763
|
textarea: "textarea";
|
|
764
764
|
select: "select";
|
|
765
765
|
checkbox: "checkbox";
|
|
@@ -780,8 +780,8 @@ export declare const bookingQuestionsFlatSchemaSchema: z.ZodObject<{
|
|
|
780
780
|
}>>;
|
|
781
781
|
}, z.core.$strict>>;
|
|
782
782
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
783
|
-
pdf: "pdf";
|
|
784
783
|
image: "image";
|
|
784
|
+
pdf: "pdf";
|
|
785
785
|
docx: "docx";
|
|
786
786
|
}>>>;
|
|
787
787
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -815,9 +815,9 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
815
815
|
number: "number";
|
|
816
816
|
date: "date";
|
|
817
817
|
time: "time";
|
|
818
|
+
text: "text";
|
|
818
819
|
email: "email";
|
|
819
820
|
url: "url";
|
|
820
|
-
text: "text";
|
|
821
821
|
textarea: "textarea";
|
|
822
822
|
select: "select";
|
|
823
823
|
checkbox: "checkbox";
|
|
@@ -838,8 +838,8 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
838
838
|
}>>;
|
|
839
839
|
}, z.core.$strict>>;
|
|
840
840
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
841
|
-
pdf: "pdf";
|
|
842
841
|
image: "image";
|
|
842
|
+
pdf: "pdf";
|
|
843
843
|
docx: "docx";
|
|
844
844
|
}>>>;
|
|
845
845
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -876,9 +876,9 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
876
876
|
number: "number";
|
|
877
877
|
date: "date";
|
|
878
878
|
time: "time";
|
|
879
|
+
text: "text";
|
|
879
880
|
email: "email";
|
|
880
881
|
url: "url";
|
|
881
|
-
text: "text";
|
|
882
882
|
textarea: "textarea";
|
|
883
883
|
select: "select";
|
|
884
884
|
checkbox: "checkbox";
|
|
@@ -899,8 +899,8 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
899
899
|
}>>;
|
|
900
900
|
}, z.core.$strict>>;
|
|
901
901
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
902
|
-
pdf: "pdf";
|
|
903
902
|
image: "image";
|
|
903
|
+
pdf: "pdf";
|
|
904
904
|
docx: "docx";
|
|
905
905
|
}>>>;
|
|
906
906
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -956,15 +956,15 @@ export declare const createFormPayloadSchema: z.ZodObject<{
|
|
|
956
956
|
number: "number";
|
|
957
957
|
date: "date";
|
|
958
958
|
time: "time";
|
|
959
|
+
text: "text";
|
|
959
960
|
email: "email";
|
|
960
961
|
url: "url";
|
|
961
|
-
text: "text";
|
|
962
962
|
textarea: "textarea";
|
|
963
963
|
select: "select";
|
|
964
964
|
checkbox: "checkbox";
|
|
965
965
|
radio: "radio";
|
|
966
|
-
consent: "consent";
|
|
967
966
|
tel: "tel";
|
|
967
|
+
consent: "consent";
|
|
968
968
|
}>;
|
|
969
969
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
970
970
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -13,6 +13,7 @@ export type RichTextEditorSurfaceProps = Readonly<{
|
|
|
13
13
|
placeholderClassName?: string;
|
|
14
14
|
placeholderText?: string;
|
|
15
15
|
ariaLabel?: string;
|
|
16
|
+
ariaDescribedBy?: string;
|
|
16
17
|
linkItems?: RichTextRoutableItem[];
|
|
17
18
|
onRequestLinkItems?: () => Promise<RichTextRoutableItem[]>;
|
|
18
19
|
onPickImage?: () => Promise<PickedRichTextImage | null | undefined>;
|
|
@@ -37,4 +38,4 @@ export type RichTextToolbarLayout = Readonly<{
|
|
|
37
38
|
visibility: RichTextToolbarVisibility;
|
|
38
39
|
}>;
|
|
39
40
|
export declare function shouldHandleRichTextActivationKey(container: HTMLElement, target: EventTarget | null): boolean;
|
|
40
|
-
export declare function RichTextEditorSurface({ editor, config, isEmpty, className, contentClassName, placeholderClassName, placeholderText, ariaLabel, linkItems, onRequestLinkItems, onPickImage, toolbarLayout, onClick, renderContent, }: RichTextEditorSurfaceProps): import("react").JSX.Element;
|
|
41
|
+
export declare function RichTextEditorSurface({ editor, config, isEmpty, className, contentClassName, placeholderClassName, placeholderText, ariaLabel, ariaDescribedBy, linkItems, onRequestLinkItems, onPickImage, toolbarLayout, onClick, renderContent, }: RichTextEditorSurfaceProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { AnyExtension } from '@tiptap/core';
|
|
2
2
|
import type { RichTextVariant } from '../../../../blocks/src/index';
|
|
3
|
+
export type RichTextEditorVariant = RichTextVariant | 'consent';
|
|
3
4
|
export type ToolbarButtonConfig = {
|
|
4
5
|
type: 'blockType';
|
|
5
6
|
} | {
|
|
@@ -26,4 +27,4 @@ export type RichTextEditorConfig = {
|
|
|
26
27
|
placeholder: string;
|
|
27
28
|
pastePolicy: RichTextPastePolicy;
|
|
28
29
|
};
|
|
29
|
-
export declare const richTextConfigs: Record<
|
|
30
|
+
export declare const richTextConfigs: Record<RichTextEditorVariant, RichTextEditorConfig>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { ResolvedInternalLinkEntityType } from '../../../../../blocks/src/index';
|
|
1
2
|
type TabKey = 'internal' | 'external' | 'custom';
|
|
2
3
|
export type RichTextRoutableItem = {
|
|
3
4
|
routeId: string;
|
|
4
5
|
entityId: string;
|
|
5
|
-
entityType:
|
|
6
|
+
entityType: ResolvedInternalLinkEntityType;
|
|
6
7
|
identifier: string | null;
|
|
7
8
|
contentTypeKey?: string | null;
|
|
8
9
|
contentTypeName?: string | null;
|
|
@@ -21,7 +22,7 @@ export type LinkAttrs = {
|
|
|
21
22
|
contentType?: string;
|
|
22
23
|
routeId?: string;
|
|
23
24
|
entityId?: string;
|
|
24
|
-
entityType?:
|
|
25
|
+
entityType?: ResolvedInternalLinkEntityType;
|
|
25
26
|
title?: string;
|
|
26
27
|
typeLabel?: string;
|
|
27
28
|
contentTypeKey?: string | null;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { Content, Editor } from '@tiptap/react';
|
|
2
|
-
import type
|
|
3
|
-
import { type RichTextEditorConfig } from './config';
|
|
2
|
+
import { type RichTextEditorConfig, type RichTextEditorVariant } from './config';
|
|
4
3
|
import { type RichTextContentWarnings } from './sanitize';
|
|
5
4
|
interface UseRichTextEditorOptions {
|
|
6
5
|
/** TipTap document content - can be JSON object, HTML string, or null */
|
|
7
6
|
content: Content;
|
|
8
7
|
editable: boolean;
|
|
9
|
-
variant:
|
|
8
|
+
variant: RichTextEditorVariant;
|
|
10
9
|
}
|
|
11
10
|
interface UseRichTextEditorResult {
|
|
12
11
|
editor: Editor | null;
|
|
@@ -15,5 +14,5 @@ interface UseRichTextEditorResult {
|
|
|
15
14
|
warnings: RichTextContentWarnings;
|
|
16
15
|
warningSummary: string | null;
|
|
17
16
|
}
|
|
18
|
-
export declare function useRichTextEditor({ content, editable, variant }: UseRichTextEditorOptions): UseRichTextEditorResult;
|
|
17
|
+
export declare function useRichTextEditor({ content, editable, variant, }: UseRichTextEditorOptions): UseRichTextEditorResult;
|
|
19
18
|
export {};
|
|
@@ -25,15 +25,14 @@
|
|
|
25
25
|
* @packageDocumentation
|
|
26
26
|
*/
|
|
27
27
|
import * as React from 'react';
|
|
28
|
-
import { HeadlessBookingAltchaWidget, HeadlessEventRegistrationAltchaWidget,
|
|
29
|
-
import type { BookingFormClientProps, HeadlessEventRegistrationProviderProps,
|
|
28
|
+
import { HeadlessBookingAltchaWidget, HeadlessEventRegistrationAltchaWidget, createBookingBlockApiConfig, createEventRegistrationBlockApiConfig, getAppointmentBookingOverrideInput, getEventRegistrationOverrideInput, useHeadlessBookingFlow, useHeadlessEventRegistrationFlow } from '../../../blocks/src/client';
|
|
29
|
+
import type { BookingFormClientProps, HeadlessEventRegistrationProviderProps, HeadlessBookingPaymentSelectionStepProps, HeadlessBookingProviderProps, UseBookingFormConfigResult } from './types';
|
|
30
30
|
export declare const BookingFormClient: React.FC<BookingFormClientProps>;
|
|
31
31
|
export declare function useBookingFormConfig(siteId: string, formId: string): UseBookingFormConfigResult;
|
|
32
32
|
export declare const HeadlessBookingProvider: React.FC<HeadlessBookingProviderProps>;
|
|
33
33
|
export declare const HeadlessEventRegistrationProvider: React.FC<HeadlessEventRegistrationProviderProps>;
|
|
34
|
-
export declare const HeadlessWholeSeriesRegistrationProvider: React.FC<HeadlessWholeSeriesRegistrationProviderProps>;
|
|
35
34
|
export declare const HeadlessBookingPaymentSelectionStep: React.FC<HeadlessBookingPaymentSelectionStepProps>;
|
|
36
35
|
export { BOOKING_FORM_DATA_RESERVED_KEY_VALUES } from '../../../blocks/src/client';
|
|
37
|
-
export { HeadlessBookingAltchaWidget, HeadlessEventRegistrationAltchaWidget,
|
|
36
|
+
export { HeadlessBookingAltchaWidget, HeadlessEventRegistrationAltchaWidget, createBookingBlockApiConfig, createEventRegistrationBlockApiConfig, getAppointmentBookingOverrideInput, getEventRegistrationOverrideInput, useHeadlessBookingFlow, useHeadlessEventRegistrationFlow, };
|
|
38
37
|
export type { BookingService, BookingFormConfig } from './types';
|
|
39
|
-
export type { Service, TimeSlot, BookingFormSettings, BookingFormSchema, BookingFormField, BookingFormData, BookingSelectedCollectionOptionKind, BookingSubmissionData, BookingSubmissionResult, BookingFormClientProps, BookingFormClientForm, BookingFormClientService, HeadlessBookingPaymentSelectionStepProps, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps, HeadlessEventRegistrationFlow, HeadlessEventRegistrationFlowOptions, HeadlessEventRegistrationProviderProps,
|
|
38
|
+
export type { Service, TimeSlot, BookingFormSettings, BookingFormSchema, BookingFormField, BookingFormData, BookingSelectedCollectionOptionKind, BookingSubmissionData, BookingSubmissionResult, BookingFormClientProps, BookingFormClientForm, BookingFormClientService, HeadlessBookingPaymentSelectionStepProps, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingProviderProps, HeadlessEventRegistrationFlow, HeadlessEventRegistrationFlowOptions, HeadlessEventRegistrationProviderProps, EventRegistrationAttendeeModel, EventRegistrationDiscountModel, EventRegistrationEventsModel, EventRegistrationFlowActionResult, EventRegistrationFlowActions, EventRegistrationFlowStatus, EventRegistrationFlowStep, EventRegistrationFlowStepId, EventRegistrationFlowView, EventRegistrationGuestsModel, EventRegistrationLoadState, EventRegistrationOverrideData, EventRegistrationOverrideInput, EventRegistrationOverrideInputResult, EventRegistrationOverridePropsLike, EventRegistrationPaymentModel, EventRegistrationPaymentSelection, EventRegistrationPortalAuthModel, EventRegistrationSpamProtectionModel, EventRegistrationSubmitOptions, EventRegistrationSubmitResult, EventRegistrationTerminalModel, EventRegistrationTicketsModel, AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, BookingAvailabilityQuery, BookingAppointmentPackagesModel, BookingAppointmentPackagesUnavailableReason, BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingResourceView, BookingResourcesModel, BookingFlowStep, BookingFlowStepId, BookingFlowView, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, UseBookingFormConfigResult, } from './types';
|
|
@@ -8,22 +8,16 @@
|
|
|
8
8
|
* responses.
|
|
9
9
|
*/
|
|
10
10
|
import type { BookingFlexibleBalanceConfig, BookingInstalmentPlanConfig } from '../../../core/src/index';
|
|
11
|
-
|
|
12
|
-
import type { BookingFormData as BlocksBookingFormData,
|
|
11
|
+
export type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, BookingAvailabilityQuery, BookingAppointmentPackagesModel, BookingAppointmentPackagesUnavailableReason, BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingFlowView, BookingResourcesModel, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, EventRegistrationAttendeeModel, EventRegistrationDiscountModel, EventRegistrationEventsModel, EventRegistrationFlowActionResult, EventRegistrationFlowActions, EventRegistrationFlowStatus, EventRegistrationFlowStep, EventRegistrationFlowStepId, EventRegistrationFlowView, EventRegistrationGuestsModel, EventRegistrationLoadState, EventRegistrationOverrideData, EventRegistrationOverrideInput, EventRegistrationOverrideInputResult, EventRegistrationOverridePropsLike, EventRegistrationPaymentModel, EventRegistrationPaymentSelection, EventRegistrationPortalAuthModel, EventRegistrationSpamProtectionModel, EventRegistrationSubmitOptions, EventRegistrationSubmitResult, EventRegistrationTerminalModel, EventRegistrationTicketsModel, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingPaymentSelectionStepProps, HeadlessBookingProviderProps, HeadlessEventRegistrationFlow, HeadlessEventRegistrationFlowOptions, HeadlessEventRegistrationProviderProps, } from '../../../blocks/src/client';
|
|
12
|
+
import type { BookingFormData as BlocksBookingFormData, BookingFormField as BlocksBookingFormField, BookingFormClientProps as BlocksBookingFormClientProps, BookingFormConfig as BlocksBookingFormConfig, BookingService as BlocksBookingService } from '../../../blocks/src/client';
|
|
13
|
+
export type { BookingSelectedCollectionOptionKind } from '../../../blocks/src/client';
|
|
13
14
|
export { BOOKING_FORM_DATA_RESERVED_KEY_VALUES } from '../../../blocks/src/client';
|
|
14
|
-
export type { AppointmentBookingOverrideData, AppointmentBookingOverrideInput, AppointmentBookingOverrideInputResult, BookingAvailabilityQuery, BookingAppointmentPackagesModel, BookingAppointmentPackagesUnavailableReason, BookingPaymentOptionViewModel, BookingPaymentSelectionViewModel, BookingFieldValue, BookingFieldView, BookingFlowActionResult, BookingFlowFeedback, BookingFlowStatus, BookingResourceView, BookingFlowStep, BookingFlowStepId, BookingFlowView, BookingResourcesModel, BookingSlotView, BookingSubmitActionResult, BookingSubmitOptions, BookingValidationErrors, DerivedBookingFlowSteps, DeriveBookingFlowStepsInput, EventRegistrationAttendeeModel, EventRegistrationDiscountModel, EventRegistrationEventsModel, EventRegistrationFlowActionResult, EventRegistrationFlowActions, EventRegistrationFlowStatus, EventRegistrationFlowStep, EventRegistrationFlowStepId, EventRegistrationFlowView, EventRegistrationGuestsModel, EventRegistrationLoadState, EventRegistrationOverrideData, EventRegistrationOverrideInput, EventRegistrationOverrideInputResult, EventRegistrationOverridePropsLike, EventRegistrationPaymentModel, EventRegistrationPaymentSelection, EventRegistrationPortalAuthModel, EventRegistrationSpamProtectionModel, EventRegistrationSubmitOptions, EventRegistrationSubmitResult, EventRegistrationTerminalModel, EventRegistrationTicketsModel, HeadlessBookingFlow, HeadlessBookingFlowOptions, HeadlessBookingPaymentSelectionStepProps, HeadlessBookingProviderProps, HeadlessEventRegistrationFlow, HeadlessEventRegistrationFlowOptions, HeadlessEventRegistrationProviderProps, HeadlessWholeSeriesRegistrationFlow, HeadlessWholeSeriesRegistrationFlowOptions, HeadlessWholeSeriesRegistrationProviderProps, WholeSeriesRegistrationAvailabilityModel, WholeSeriesRegistrationFlowActionResult, WholeSeriesRegistrationFlowActions, WholeSeriesRegistrationFlowStatus, WholeSeriesRegistrationFlowStep, WholeSeriesRegistrationFlowStepId, WholeSeriesRegistrationFlowView, WholeSeriesRegistrationPaymentModel, WholeSeriesRegistrationPaymentSelection, WholeSeriesRegistrationPricingInput, WholeSeriesRegistrationPricingModel, WholeSeriesRegistrationPricingOptionInput, WholeSeriesRegistrationRun, WholeSeriesRegistrationRunInput, WholeSeriesRegistrationRunsModel, WholeSeriesRegistrationSpamProtectionModel, WholeSeriesRegistrationWaitlistClaimModel, BookingSelectedCollectionOptionKind, };
|
|
15
15
|
/**
|
|
16
16
|
* A bookable service (e.g., "30-minute consultation", "Hair cut")
|
|
17
17
|
*
|
|
18
18
|
* This matches the booking-services API shape returned by `useBookingFormConfig`.
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
21
|
-
id: string;
|
|
22
|
-
title: string;
|
|
23
|
-
description?: string;
|
|
24
|
-
durationMinutes?: number;
|
|
25
|
-
paymentTerms?: BookingFormPaymentTerms;
|
|
26
|
-
}
|
|
20
|
+
export type Service = BlocksBookingService;
|
|
27
21
|
/** Back-compat alias: some consumers use the `BookingService` name. */
|
|
28
22
|
export type BookingService = Service;
|
|
29
23
|
/**
|
|
@@ -55,34 +49,11 @@ export interface BookingFormSchema {
|
|
|
55
49
|
/**
|
|
56
50
|
* Booking form configuration returned from the API and used by the booking runtime.
|
|
57
51
|
*/
|
|
58
|
-
export
|
|
59
|
-
id: string;
|
|
60
|
-
name: string;
|
|
61
|
-
slug: string;
|
|
62
|
-
settings?: BookingFormSettings;
|
|
63
|
-
schema?: BookingFormSchema;
|
|
64
|
-
}
|
|
52
|
+
export type BookingFormConfig = BlocksBookingFormConfig;
|
|
65
53
|
/**
|
|
66
54
|
* A field in the booking form schema
|
|
67
55
|
*/
|
|
68
|
-
export
|
|
69
|
-
id: string;
|
|
70
|
-
label: string;
|
|
71
|
-
type: 'text' | 'email' | 'textarea' | 'select' | 'radio' | 'checkbox' | 'booking_requirement_consent' | 'tel' | 'url' | 'number' | 'date' | 'time';
|
|
72
|
-
required?: boolean;
|
|
73
|
-
placeholder?: string;
|
|
74
|
-
helpText?: string;
|
|
75
|
-
options?: readonly Readonly<{
|
|
76
|
-
label: string;
|
|
77
|
-
value: string;
|
|
78
|
-
}>[];
|
|
79
|
-
multiple?: boolean;
|
|
80
|
-
minLength?: number;
|
|
81
|
-
maxLength?: number;
|
|
82
|
-
pattern?: string;
|
|
83
|
-
min?: number;
|
|
84
|
-
max?: number;
|
|
85
|
-
}
|
|
56
|
+
export type BookingFormField = BlocksBookingFormField;
|
|
86
57
|
/**
|
|
87
58
|
* Data collected during the booking flow
|
|
88
59
|
*
|
|
@@ -173,24 +144,7 @@ export interface UseBookingFormConfigResult {
|
|
|
173
144
|
error: string | null;
|
|
174
145
|
}
|
|
175
146
|
/** Legacy alias preserved for SDK consumers. */
|
|
176
|
-
export
|
|
177
|
-
id: string;
|
|
178
|
-
siteId: string;
|
|
179
|
-
title: string;
|
|
180
|
-
description?: string;
|
|
181
|
-
durationMinutes?: number;
|
|
182
|
-
priceAmount?: number | null;
|
|
183
|
-
priceCurrency?: string | null;
|
|
184
|
-
paymentTerms?: BookingFormPaymentTerms;
|
|
185
|
-
paymentTermsAvailability?: Readonly<{
|
|
186
|
-
kind: 'available';
|
|
187
|
-
paymentTerms: BookingFormPaymentTerms;
|
|
188
|
-
}> | Readonly<{
|
|
189
|
-
kind: 'pending_stripe_setup';
|
|
190
|
-
paymentTerms: BookingFormPaymentTerms;
|
|
191
|
-
reason: 'online_payment_configured_before_launch';
|
|
192
|
-
}>;
|
|
193
|
-
}
|
|
147
|
+
export type BookingFormClientService = BlocksBookingService;
|
|
194
148
|
/** Legacy alias preserved for SDK consumers; now points at the shared form config contract. */
|
|
195
149
|
export type BookingFormClientForm = BookingFormConfig;
|
|
196
150
|
export type BookingFormPaymentCollectionOption = Readonly<{
|
|
@@ -243,13 +197,7 @@ export interface BookingFormClientRender {
|
|
|
243
197
|
* SDK consumers should usually prefer the rendered block flow; custom UIs can
|
|
244
198
|
* use `useBookingFormConfig` and related booking hooks directly.
|
|
245
199
|
*/
|
|
246
|
-
export
|
|
247
|
-
siteId?: string;
|
|
248
|
-
apiBaseUrl?: string;
|
|
249
|
-
portalToken?: string | null;
|
|
250
|
-
renderKind: 'client-owned';
|
|
251
|
-
render: BookingFormClientRender;
|
|
252
|
-
}
|
|
200
|
+
export type BookingFormClientProps = BlocksBookingFormClientProps;
|
|
253
201
|
/**
|
|
254
202
|
* Props for the AppointmentBooking component
|
|
255
203
|
*/
|
|
@@ -133,20 +133,20 @@ export declare const siteStyleConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
133
133
|
* Derived from SUPPORTED_LOADER_ENDPOINTS - the single source of truth.
|
|
134
134
|
*/
|
|
135
135
|
export declare const sdkLoaderEndpointSchema: z.ZodEnum<{
|
|
136
|
-
getPublicFormById: "getPublicFormById";
|
|
137
|
-
getPublicBookingServices: "getPublicBookingServices";
|
|
138
|
-
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
139
|
-
listPublicEvents: "listPublicEvents";
|
|
140
|
-
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
141
|
-
listPublicPasses: "listPublicPasses";
|
|
142
|
-
listPublicMemberships: "listPublicMemberships";
|
|
143
|
-
listPublicProducts: "listPublicProducts";
|
|
144
|
-
listPublicTeamMembers: "listPublicTeamMembers";
|
|
145
|
-
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
146
136
|
listPublishedEntries: "listPublishedEntries";
|
|
137
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
138
|
+
listPublicEvents: "listPublicEvents";
|
|
147
139
|
listPublicRecurringSchedule: "listPublicRecurringSchedule";
|
|
148
140
|
getPublicEventDetails: "getPublicEventDetails";
|
|
141
|
+
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
149
142
|
listPublicRouteCandidates: "listPublicRouteCandidates";
|
|
143
|
+
listPublicTeamMembers: "listPublicTeamMembers";
|
|
144
|
+
listPublicProducts: "listPublicProducts";
|
|
145
|
+
listPublicPasses: "listPublicPasses";
|
|
146
|
+
listPublicMemberships: "listPublicMemberships";
|
|
147
|
+
getPublicFormById: "getPublicFormById";
|
|
148
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
149
|
+
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
150
150
|
}>;
|
|
151
151
|
export declare const loaderParamBindingSchema: z.ZodObject<{
|
|
152
152
|
$bind: z.ZodObject<{
|
|
@@ -223,20 +223,20 @@ export declare const loaderWhenValueSchema: z.ZodUnion<readonly [z.ZodBoolean, z
|
|
|
223
223
|
*/
|
|
224
224
|
export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
225
225
|
endpoint: z.ZodEnum<{
|
|
226
|
-
getPublicFormById: "getPublicFormById";
|
|
227
|
-
getPublicBookingServices: "getPublicBookingServices";
|
|
228
|
-
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
229
|
-
listPublicEvents: "listPublicEvents";
|
|
230
|
-
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
231
|
-
listPublicPasses: "listPublicPasses";
|
|
232
|
-
listPublicMemberships: "listPublicMemberships";
|
|
233
|
-
listPublicProducts: "listPublicProducts";
|
|
234
|
-
listPublicTeamMembers: "listPublicTeamMembers";
|
|
235
|
-
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
236
226
|
listPublishedEntries: "listPublishedEntries";
|
|
227
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
228
|
+
listPublicEvents: "listPublicEvents";
|
|
237
229
|
listPublicRecurringSchedule: "listPublicRecurringSchedule";
|
|
238
230
|
getPublicEventDetails: "getPublicEventDetails";
|
|
231
|
+
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
239
232
|
listPublicRouteCandidates: "listPublicRouteCandidates";
|
|
233
|
+
listPublicTeamMembers: "listPublicTeamMembers";
|
|
234
|
+
listPublicProducts: "listPublicProducts";
|
|
235
|
+
listPublicPasses: "listPublicPasses";
|
|
236
|
+
listPublicMemberships: "listPublicMemberships";
|
|
237
|
+
getPublicFormById: "getPublicFormById";
|
|
238
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
239
|
+
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
240
240
|
}>;
|
|
241
241
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
242
242
|
$bind: z.ZodObject<{
|
|
@@ -290,20 +290,20 @@ export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
|
290
290
|
*/
|
|
291
291
|
export declare const sdkDataLoadersSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
292
292
|
endpoint: z.ZodEnum<{
|
|
293
|
-
getPublicFormById: "getPublicFormById";
|
|
294
|
-
getPublicBookingServices: "getPublicBookingServices";
|
|
295
|
-
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
296
|
-
listPublicEvents: "listPublicEvents";
|
|
297
|
-
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
298
|
-
listPublicPasses: "listPublicPasses";
|
|
299
|
-
listPublicMemberships: "listPublicMemberships";
|
|
300
|
-
listPublicProducts: "listPublicProducts";
|
|
301
|
-
listPublicTeamMembers: "listPublicTeamMembers";
|
|
302
|
-
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
303
293
|
listPublishedEntries: "listPublishedEntries";
|
|
294
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
295
|
+
listPublicEvents: "listPublicEvents";
|
|
304
296
|
listPublicRecurringSchedule: "listPublicRecurringSchedule";
|
|
305
297
|
getPublicEventDetails: "getPublicEventDetails";
|
|
298
|
+
getPublicWholeSeriesOffering: "getPublicWholeSeriesOffering";
|
|
306
299
|
listPublicRouteCandidates: "listPublicRouteCandidates";
|
|
300
|
+
listPublicTeamMembers: "listPublicTeamMembers";
|
|
301
|
+
listPublicProducts: "listPublicProducts";
|
|
302
|
+
listPublicPasses: "listPublicPasses";
|
|
303
|
+
listPublicMemberships: "listPublicMemberships";
|
|
304
|
+
getPublicFormById: "getPublicFormById";
|
|
305
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
306
|
+
getPublicWeeklySlotAvailability: "getPublicWeeklySlotAvailability";
|
|
307
307
|
}>;
|
|
308
308
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
309
309
|
$bind: z.ZodObject<{
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type React from 'react';
|
|
8
8
|
import type { RichTextDoc } from '../../../core/src/index';
|
|
9
|
+
import type { AuthoredLinkValue as BlocksAuthoredLinkValue, CustomLinkValue as BlocksCustomLinkValue, EntryLinkValue as BlocksEntryLinkValue, ExternalLinkValue as BlocksExternalLinkValue, InternalLinkValue as BlocksInternalLinkValue, InternalResolvedLinkValue as BlocksInternalResolvedLinkValue, InternalRouteOnlyLinkValue as BlocksInternalRouteOnlyLinkValue, LinkValue as BlocksLinkValue, PageLinkValue as BlocksPageLinkValue } from '../../../blocks/src/index';
|
|
9
10
|
export type { RichTextDoc, TipTapMark, TipTapNode } from '../../../core/src/index';
|
|
10
11
|
export type InlineTextAccentTone = 'accent' | 'brand' | 'contrast';
|
|
11
12
|
export type InlineTextHighlightTone = 'soft' | 'accent' | 'brand';
|
|
@@ -25,47 +26,20 @@ export type InlineTextRun = Readonly<{
|
|
|
25
26
|
marks?: readonly InlineTextMark[];
|
|
26
27
|
}>;
|
|
27
28
|
export type InlineText = readonly InlineTextRun[];
|
|
28
|
-
export type InternalRouteOnlyLinkValue =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export type
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
entityType: 'page' | 'content';
|
|
37
|
-
href: string;
|
|
38
|
-
title: string;
|
|
39
|
-
typeLabel: string;
|
|
40
|
-
contentTypeKey?: string | null;
|
|
41
|
-
contentTypeName?: string | null;
|
|
42
|
-
updatedAt?: string | null;
|
|
43
|
-
};
|
|
44
|
-
export type InternalLinkValue = InternalRouteOnlyLinkValue | InternalResolvedLinkValue;
|
|
45
|
-
export type ExternalLinkValue = {
|
|
46
|
-
kind: 'external';
|
|
47
|
-
href: string;
|
|
48
|
-
};
|
|
49
|
-
export type CustomLinkValue = {
|
|
50
|
-
kind: 'url';
|
|
51
|
-
href: string;
|
|
52
|
-
};
|
|
53
|
-
export type PageLinkValue = {
|
|
54
|
-
kind: 'page';
|
|
55
|
-
identifier: string;
|
|
56
|
-
};
|
|
57
|
-
export type EntryLinkValue = {
|
|
58
|
-
kind: 'entry';
|
|
59
|
-
contentType: string;
|
|
60
|
-
identifier: string;
|
|
61
|
-
};
|
|
62
|
-
export type AuthoredLinkValue = InternalLinkValue | ExternalLinkValue | CustomLinkValue | PageLinkValue | EntryLinkValue;
|
|
29
|
+
export type InternalRouteOnlyLinkValue = BlocksInternalRouteOnlyLinkValue;
|
|
30
|
+
export type InternalResolvedLinkValue = BlocksInternalResolvedLinkValue;
|
|
31
|
+
export type InternalLinkValue = BlocksInternalLinkValue;
|
|
32
|
+
export type ExternalLinkValue = BlocksExternalLinkValue;
|
|
33
|
+
export type CustomLinkValue = BlocksCustomLinkValue;
|
|
34
|
+
export type PageLinkValue = BlocksPageLinkValue;
|
|
35
|
+
export type EntryLinkValue = BlocksEntryLinkValue;
|
|
36
|
+
export type AuthoredLinkValue = BlocksAuthoredLinkValue;
|
|
63
37
|
/**
|
|
64
38
|
* Broad authored/editor link value accepted by SDK content contracts.
|
|
65
39
|
* Route-only internal links remain part of the public wire contract; navigation
|
|
66
40
|
* persistence must narrow to a persistable lifecycle value first.
|
|
67
41
|
*/
|
|
68
|
-
export type LinkValue =
|
|
42
|
+
export type LinkValue = BlocksLinkValue;
|
|
69
43
|
export type MediaTypeDiscriminant = 'image' | 'video' | 'audio' | 'document' | 'spreadsheet' | 'archive';
|
|
70
44
|
export type Media = {
|
|
71
45
|
type: MediaTypeDiscriminant;
|
|
@@ -29,7 +29,7 @@ export type ResolveImageUrlContextInput = Readonly<ResolveImageUrlContext>;
|
|
|
29
29
|
*/
|
|
30
30
|
export type MediaAssetIndexItem = {
|
|
31
31
|
id: string;
|
|
32
|
-
identifier: string
|
|
32
|
+
identifier: string;
|
|
33
33
|
storageBucket: string;
|
|
34
34
|
storagePath: string;
|
|
35
35
|
width: number | null;
|