@riverbankcms/sdk 0.130.0 → 0.130.2
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 +85 -0
- package/README.md +1 -1
- package/dist/{PreviewEditorSidebar-DiEpbOdw.mjs → PreviewEditorSidebar-BY-1QdE2.mjs} +18 -15
- package/dist/{PreviewEditorUI-C6MvxnIa.mjs → PreviewEditorUI-BS34jI9_.mjs} +3 -3
- package/dist/{PreviewQueryProvider-C2rnoPz6.mjs → PreviewQueryProvider-BD0kOjtI.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-DRXA_m5L.mjs → SdkPreviewModeRuntime-B1pWnhu-.mjs} +48 -21
- package/dist/{SiteChromeCustomizeContext-BTHdv5_-.mjs → SiteChromeCustomizeContext-BhUG_72i.mjs} +6180 -5076
- package/dist/_dts/ai/src/contracts/proposals.d.ts +309 -32
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +969 -112
- package/dist/_dts/api/src/accountApi.d.ts +213 -0
- package/dist/_dts/api/src/accountEndpointDefinitions.d.ts +30 -0
- package/dist/_dts/api/src/accountEndpoints.d.ts +254 -0
- package/dist/_dts/api/src/apiCallParams.d.ts +60 -0
- package/dist/_dts/api/src/bookingConfig.d.ts +10 -20
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +4 -5
- package/dist/_dts/api/src/bookingManagementEventEndpointTypes.d.ts +15 -0
- package/dist/_dts/api/src/bookingSettingsSections.d.ts +9 -0
- package/dist/_dts/api/src/bookingVerticals.d.ts +2 -2
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +2 -0
- package/dist/_dts/api/src/endpoints.d.ts +1253 -1209
- package/dist/_dts/api/src/event-destination-policy.d.ts +1 -1
- package/dist/_dts/api/src/eventManagementContracts.d.ts +83 -7
- package/dist/_dts/api/src/eventManagementEndpointDefinitions.d.ts +26 -0
- package/dist/_dts/api/src/eventSeriesPresentationPreset.d.ts +12 -0
- package/dist/_dts/api/src/index.d.ts +11 -3
- package/dist/_dts/api/src/indexCoreTypes.d.ts +1 -0
- package/dist/_dts/api/src/indexExtendedTypes.d.ts +1 -0
- package/dist/_dts/api/src/oauth.d.ts +8 -0
- package/dist/_dts/api/src/preview-auth.d.ts +26 -0
- package/dist/_dts/api/src/publicExperience/eventEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/publicExperience/wholeSeriesEndpoints.d.ts +0 -1
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +2 -0
- package/dist/_dts/api/src/sdkBlockUpsertContracts.d.ts +48 -0
- package/dist/_dts/api/src/sdkContracts.d.ts +5 -13
- package/dist/_dts/api/src/sdkEventCategoryContracts.d.ts +9 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +40 -8
- package/dist/_dts/api/src/settings/permissions.d.ts +2 -2
- package/dist/_dts/api/src/siteApiKeyEndpointDefinitions.d.ts +66 -0
- package/dist/_dts/api/src/siteInfrastructure.d.ts +3 -3
- package/dist/_dts/api/src/siteOperations.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +12 -4
- package/dist/_dts/api/src/types.d.ts +7 -59
- package/dist/_dts/block-form/src/client/index.d.ts +15 -23
- package/dist/_dts/block-form/src/index.d.ts +23 -22
- package/dist/_dts/blocks/src/primitives/layout/Grid.d.ts +18 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/filtering.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +61 -0
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +24 -22
- package/dist/_dts/blocks/src/system/blocks/feature-cards.d.ts +25 -1
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +7 -30
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +0 -1
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +4 -63
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +1 -3
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +13 -1
- package/dist/_dts/blocks/src/system/fields/gridLayout.d.ts +20 -0
- package/dist/_dts/blocks/src/system/node/fragments/classNameBinding.d.ts +6 -1
- package/dist/_dts/blocks/src/system/node/fragments/styledCard.d.ts +31 -0
- package/dist/_dts/blocks/src/system/runtime/api/endpoints.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/courses.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/api/types/events.d.ts +0 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +4 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +24 -8
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.server.d.ts +8 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.validationErrors.d.ts +17 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/event-registration.headless.planning.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration/eventScope.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/event-registration.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +42 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +4 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/FeedbackMessage.d.ts +17 -1
- package/dist/_dts/blocks/src/system/runtime/shared/components/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/spacing.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/boxStyleClassNames.d.ts +90 -0
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +4 -0
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +26 -0
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +4 -37
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +2 -2
- package/dist/_dts/content-model/src/content-types/builtin-schemas.d.ts +6 -6
- package/dist/_dts/content-model/src/content-types/builtins.d.ts +6 -6
- package/dist/_dts/core/src/branded.d.ts +4 -0
- package/dist/_dts/core/src/event-page-surface-subject.d.ts +25 -4
- package/dist/_dts/core/src/index.d.ts +3 -0
- package/dist/_dts/core/src/public-event-booking-availability.d.ts +8 -0
- package/dist/_dts/core/src/secret.d.ts +44 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +341 -0
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockValidationManifests.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/preparedManifest.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/blockPayload.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/ButtonVariantField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/button/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/content-type-select/ContentTypeSelectField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/index.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/inline-text/InlineTextField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/offerings-preview/OfferingsPreviewGroupOrderField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/SiteOptionPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/site-option-picker/utils.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/useBlockCustomizeControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/EntrySlotBlockEditorPanel.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +2 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewSiteFontStorageContext.d.ts +6 -0
- package/dist/_dts/preview-next/src/client/preview/siteFontPreview.d.ts +5 -0
- package/dist/_dts/preview-next/src/client/sdk/contentStorage.d.ts +10 -0
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +1 -1
- package/dist/_dts/preview-next/src/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/keepAlive.d.ts +3 -5
- package/dist/_dts/preview-next/src/refresh-contract.d.ts +1 -0
- package/dist/_dts/preview-next/src/route-contract.d.ts +7 -0
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +61 -39
- package/dist/_dts/sdk/src/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/index.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +9 -1
- package/dist/_dts/sdk/src/theme-bridge/types.d.ts +4 -2
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/cards/core.d.ts +54 -10
- package/dist/_dts/theme-core/src/cards/decorations.d.ts +33 -0
- package/dist/_dts/theme-core/src/cards/generateDefaultCardSystem.d.ts +7 -2
- package/dist/_dts/theme-core/src/cards/index.d.ts +3 -0
- package/dist/_dts/theme-core/src/cards/openCardVariant.d.ts +24 -0
- package/dist/_dts/theme-core/src/cards/roles.d.ts +38 -0
- package/dist/_dts/theme-core/src/cards/siteStyleDefaults.d.ts +53 -8
- package/dist/_dts/theme-core/src/cards/types.d.ts +489 -21
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/header/legacyHeaderVariant.d.ts +59 -0
- package/dist/_dts/theme-core/src/header/paintTargets.d.ts +2 -2
- package/dist/_dts/theme-core/src/header/scrollTreatment.d.ts +3 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +12 -135
- package/dist/_dts/theme-core/src/palette/utils/contrast.d.ts +1 -0
- package/dist/_dts/theme-core/src/palette/utils/opaqueSurfaceColor.d.ts +6 -0
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +1 -1
- package/dist/_dts/theme-core/src/schema.d.ts +301 -94
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +84 -102
- package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +12 -1
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +9 -4
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +0 -20
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +84 -102
- package/dist/_dts/theme-core/src/site-styles/cardRoleVocabulary.d.ts +48 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +21 -385
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +10 -18
- package/dist/_dts/theme-core/src/site-styles/headerLayoutTypes.d.ts +2 -4
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +2 -9
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +0 -2
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +5 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignAppearanceAvailability.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorCapabilities.d.ts +22 -0
- package/dist/_dts/theme-core/src/site-styles/pageDesignEditorModel.d.ts +9 -8
- package/dist/_dts/theme-core/src/site-styles/pageDesignIntentEquality.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/previewRuntimeCapabilities.d.ts +19 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +9 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +1 -62
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +13 -12
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +50 -39
- package/dist/_dts/theme-core/src/siteChromePlanning.d.ts +9 -9
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +1 -0
- package/dist/_dts/theme-core/src/surfaces/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/surfaces/resolveSurfaceForeground.d.ts +39 -0
- package/dist/_dts/ui/src/navigation-tabs.d.ts +3 -2
- package/dist/client/{CourseRegistrationWizard-Bvtz9G9g.mjs → CourseRegistrationWizard-DGW9F0SQ.mjs} +7 -7
- package/dist/client/{DiscountCodeDisclosure-Ur-Xx1U_.mjs → DiscountCodeDisclosure-BPZ-yfGI.mjs} +1 -1
- package/dist/client/{EventCombined.client-EhscD4U6.mjs → EventCombined.client-Cjt3kKYR.mjs} +4 -4
- package/dist/client/{EventListing.client-Bn26cFTY.mjs → EventListing.client-DY9dn6Fh.mjs} +2 -2
- package/dist/client/{FeedbackMessage-ByMrs3cr.mjs → FeedbackMessage-CtLvvS_d.mjs} +15 -3
- package/dist/client/{LeafletStaticMap-BUw9Ntzr.mjs → LeafletStaticMap--2c61XYn.mjs} +1 -1
- package/dist/client/{StepIndicator-BfbdiVQI.mjs → StepIndicator-CLjQhkDb.mjs} +3 -3
- package/dist/client/{accordion-CjIeof73.mjs → accordion-_boYwHHi.mjs} +1 -1
- package/dist/client/{bookingForm-DwEeovf_.mjs → bookingForm--AqEfyBX.mjs} +56 -39
- package/dist/client/bookings.mjs +393 -192
- package/dist/client/{carousel-BMrfgOba.mjs → carousel-CVI2dqZr.mjs} +2 -2
- package/dist/client/{carousel.client-CpwTUhIo.mjs → carousel.client-59G_WMr4.mjs} +1 -1
- package/dist/client/{cart-rXEdxTdb.mjs → cart-DR6IiPz9.mjs} +3 -3
- package/dist/client/{checkout-D3JlSzh3.mjs → checkout-CsrGAfQt.mjs} +3 -3
- package/dist/client/client.mjs +4524 -3512
- package/dist/client/{colorStyles-BWpj_h4C.mjs → colorStyles-CrxJrPjJ.mjs} +277 -1
- package/dist/client/{context-CJz1Vlsz.mjs → context-B83PiNzm.mjs} +6 -21
- package/dist/client/{courseRegistration-DO5XvMAA.mjs → courseRegistration-aNJVaLa3.mjs} +3 -3
- package/dist/client/{eventCalendar-DO6rTqCn.mjs → eventCalendar-OZ7h59VN.mjs} +6 -6
- package/dist/client/{eventCombined-bJ3i_ovU.mjs → eventCombined-BbJ6bFKz.mjs} +3 -3
- package/dist/client/{eventDetails-CCbrXE7o.mjs → eventDetails-BLyUBiCT.mjs} +3 -3
- package/dist/client/{eventListing-Bdlt9YTm.mjs → eventListing-DuP1yhBS.mjs} +3 -3
- package/dist/client/{eventRegistration-B02lt6iY.mjs → eventRegistration-BXyECPa-.mjs} +11 -12
- package/dist/client/{form-DrUBAAox.mjs → form-BA4t3kKU.mjs} +4 -4
- package/dist/client/{headerSection-MzqvHL6T.mjs → headerSection-CpNaJxhW.mjs} +2 -2
- package/dist/client/hooks.mjs +1967 -2059
- package/dist/client/{locationMap-DG8BxTBm.mjs → locationMap-3HGMCL7_.mjs} +3 -3
- package/dist/client/{media-CNE1Z-wb.mjs → media-BOHuueS5.mjs} +16 -4
- package/dist/client/{newsletterForm-BzO-Td3p.mjs → newsletterForm-C2s6Mw67.mjs} +4 -4
- package/dist/client/{pricing-NgK7ozkg.mjs → pricing-BiqIMgZk.mjs} +1 -1
- package/dist/client/{productDetail-CfQ7rhVK.mjs → productDetail-C9joWhdE.mjs} +3 -3
- package/dist/client/{productList-C23rOLUi.mjs → productList-CjzdU3pB.mjs} +3 -3
- package/dist/client/{propsDecoder-CAZdhwjs.mjs → propsDecoder-CBPGXEYX.mjs} +395 -402
- package/dist/client/rendering/client.mjs +2004 -2856
- package/dist/client/rendering/islands.mjs +20 -20
- package/dist/client/rendering.mjs +4605 -3496
- package/dist/client/{scrollToBlock-DSSqVQr1.mjs → scrollToBlock-DZ73aEX6.mjs} +1 -1
- package/dist/client/{shop-BMToKLK7.mjs → shop-CQRai7hj.mjs} +7 -7
- package/dist/client/{shop-commerce-DB4JRKmp.mjs → shop-commerce-hP9UboOx.mjs} +8 -8
- package/dist/client/{shop-commerce-store-BOqSIOuc.mjs → shop-commerce-store-DiD5a32e.mjs} +1 -1
- package/dist/client/{shopShared-B6SK9DZv.mjs → shopShared-DP8DXTkF.mjs} +5 -5
- package/dist/client/{useEventFilters-CULOa4nB.mjs → useEventFilters-pF_OJNQP.mjs} +137 -81
- package/dist/client/{usePolling-BGG_8-jl.mjs → usePolling-Cls91SD2.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +192 -108
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/keepAlive.mjs +7406 -29
- package/dist/preview-next/middleware.mjs +186 -107
- package/dist/{previewAuthStore-_GXFRg2W.mjs → previewAuthStore-CX1C_KJ4.mjs} +185 -107
- package/dist/{sdk-runtime-hhSOMShR.mjs → sdk-runtime-5CcPAI14.mjs} +2 -2
- package/dist/{separator-flRaFc14.mjs → separator-BXlYN_gr.mjs} +1 -1
- package/dist/server/components.mjs +6363 -4998
- package/dist/server/config-validation.mjs +1967 -2059
- package/dist/server/config.mjs +1967 -2059
- package/dist/server/data.mjs +1967 -2059
- package/dist/server/index.mjs +186 -108
- package/dist/server/next.mjs +6553 -5285
- package/dist/server/page-converter.mjs +1031 -1844
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3352 -3006
- package/dist/server/rendering.mjs +6289 -4924
- package/dist/server/routing.mjs +1906 -1036
- package/dist/server/server.mjs +1976 -2165
- package/dist/server/theme-bridge.mjs +949 -670
- package/dist/server/theme.mjs +252 -51
- package/dist/styles/index.css +295 -334
- package/package.json +3 -2
- package/dist/_dts/block-form/src/client/blockDraftSaveability.d.ts +0 -1
- package/dist/_dts/block-form/src/widgets/index.d.ts +0 -20
- package/dist/_dts/blocks/src/system/runtime/api/requestBody.d.ts +0 -7
- package/dist/client/clsx-DgIEfj3H.mjs +0 -16
|
@@ -8,6 +8,7 @@ export * from './demo-runtime';
|
|
|
8
8
|
export * from './collections';
|
|
9
9
|
export * from './event-pricing';
|
|
10
10
|
export * from './event-page-surface-subject';
|
|
11
|
+
export * from './public-event-booking-availability';
|
|
11
12
|
export * from './money-input';
|
|
12
13
|
export * from './booking-flexible-balance';
|
|
13
14
|
export * from './booking-refunds';
|
|
@@ -52,6 +53,8 @@ export * from './slug';
|
|
|
52
53
|
export * from './string';
|
|
53
54
|
export * from './uuid';
|
|
54
55
|
export * from './stable-json';
|
|
56
|
+
export * from './secret';
|
|
55
57
|
export * from './site-route-target';
|
|
56
58
|
export { disabledSelection, enabledSelection, plannerNoChange, plannerPatch, plannerUpdate, resolvePlanningDateInput, resolvePlanningNow, resolvePlanningNowDate, systemPlanningClock, } from './planner';
|
|
57
59
|
export type { DisabledSelection, EnabledSelection, OptionalSelection, PlannerNoChange, PlannerPatch, PlannerUpdate, PlanningClock, PlanningDateInput, PlanningTimeOptions, } from './planner';
|
|
60
|
+
export { isValidBookingTimeZone, parseBookingTimeZone, type BookingTimeZone, type BookingTimeZoneParseError, } from './booking-time-zone';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type PublicEventBookingClosedReason = 'occurrence_cancelled' | 'occurrence_completed' | 'series_draft' | 'series_cancelled' | 'series_completed' | 'series_archived' | 'parent_archived' | 'parent_inconsistent' | 'not_public' | 'already_started' | 'enrollment_closed';
|
|
2
|
+
/** Public wire projection; persisted facts remain authoritative. */
|
|
3
|
+
export type PublicEventBookingAvailability = Readonly<{
|
|
4
|
+
kind: 'open';
|
|
5
|
+
}> | Readonly<{
|
|
6
|
+
kind: 'closed';
|
|
7
|
+
reason: PublicEventBookingClosedReason;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Credential values that must remain inert when they cross diagnostics,
|
|
3
|
+
* logging, or serialization boundaries.
|
|
4
|
+
*
|
|
5
|
+
* The value is deliberately held behind a non-enumerable capability rather
|
|
6
|
+
* than exposed as a property. The capability uses a global symbol so a Secret
|
|
7
|
+
* created by another bundled copy of core remains consumable at an approved
|
|
8
|
+
* `exposeSecret` boundary.
|
|
9
|
+
*/
|
|
10
|
+
import { type Result } from './result';
|
|
11
|
+
export declare const SECRET_KINDS: readonly ["management-key", "content-key", "preview-key", "webhook-secret", "oauth-access-token", "oauth-refresh-token", "preview-session-refresh-token", "oauth-authorization-code", "oauth-pkce-verifier", "registrar-epp-code"];
|
|
12
|
+
export type SecretKind = (typeof SECRET_KINDS)[number];
|
|
13
|
+
declare const secretBrand: unique symbol;
|
|
14
|
+
declare const secretValueSymbol: unique symbol;
|
|
15
|
+
export declare const SECRET_INSPECT_SYMBOL: unique symbol;
|
|
16
|
+
export type Secret<TKind extends SecretKind> = Readonly<{
|
|
17
|
+
readonly [secretBrand]: TKind;
|
|
18
|
+
readonly kind: 'secret';
|
|
19
|
+
readonly secretType: TKind;
|
|
20
|
+
readonly toString: () => string;
|
|
21
|
+
readonly toJSON: () => string;
|
|
22
|
+
readonly [SECRET_INSPECT_SYMBOL]: () => string;
|
|
23
|
+
readonly [secretValueSymbol]: () => string;
|
|
24
|
+
}>;
|
|
25
|
+
type PublicSecretKind = Exclude<SecretKind, 'management-key'>;
|
|
26
|
+
export declare const MANAGEMENT_KEY_PREFIX = "bld_mgmt_sk_";
|
|
27
|
+
export type ManagementKeyParseError = Readonly<{
|
|
28
|
+
readonly kind: 'invalid-management-key';
|
|
29
|
+
}>;
|
|
30
|
+
/** Create an opaque secret after a caller has parsed/validated its boundary. */
|
|
31
|
+
export declare function createSecret<TKind extends PublicSecretKind>(kind: TKind, value: string): Secret<TKind>;
|
|
32
|
+
/**
|
|
33
|
+
* Parse an untrusted management API key before constructing its Secret value.
|
|
34
|
+
*
|
|
35
|
+
* The Secret type protects an already validated value from accidental
|
|
36
|
+
* disclosure; this boundary is what validates the value's wire format.
|
|
37
|
+
*/
|
|
38
|
+
export declare function parseManagementKey(raw: unknown): Result<Secret<'management-key'>, ManagementKeyParseError>;
|
|
39
|
+
/**
|
|
40
|
+
* The only generic plaintext exposure operation. Keep calls at named I/O
|
|
41
|
+
* boundaries; do not pass exposed strings through domain/application layers.
|
|
42
|
+
*/
|
|
43
|
+
export declare function exposeSecret<TKind extends SecretKind>(secret: Secret<TKind>): string;
|
|
44
|
+
export {};
|
|
@@ -8889,6 +8889,8 @@ export type Database = {
|
|
|
8889
8889
|
};
|
|
8890
8890
|
event_offerings: {
|
|
8891
8891
|
Row: {
|
|
8892
|
+
archived_at: string | null;
|
|
8893
|
+
availability_version: number;
|
|
8892
8894
|
created_at: string;
|
|
8893
8895
|
created_by: string | null;
|
|
8894
8896
|
deleted_at: string | null;
|
|
@@ -8900,11 +8902,14 @@ export type Database = {
|
|
|
8900
8902
|
source_content_entry_id: string | null;
|
|
8901
8903
|
source_kind: string;
|
|
8902
8904
|
source_route_id: string | null;
|
|
8905
|
+
status: string;
|
|
8903
8906
|
title: string;
|
|
8904
8907
|
updated_at: string;
|
|
8905
8908
|
updated_by: string | null;
|
|
8906
8909
|
};
|
|
8907
8910
|
Insert: {
|
|
8911
|
+
archived_at?: string | null;
|
|
8912
|
+
availability_version?: number;
|
|
8908
8913
|
created_at?: string;
|
|
8909
8914
|
created_by?: string | null;
|
|
8910
8915
|
deleted_at?: string | null;
|
|
@@ -8916,11 +8921,14 @@ export type Database = {
|
|
|
8916
8921
|
source_content_entry_id?: string | null;
|
|
8917
8922
|
source_kind?: string;
|
|
8918
8923
|
source_route_id?: string | null;
|
|
8924
|
+
status?: string;
|
|
8919
8925
|
title?: string;
|
|
8920
8926
|
updated_at?: string;
|
|
8921
8927
|
updated_by?: string | null;
|
|
8922
8928
|
};
|
|
8923
8929
|
Update: {
|
|
8930
|
+
archived_at?: string | null;
|
|
8931
|
+
availability_version?: number;
|
|
8924
8932
|
created_at?: string;
|
|
8925
8933
|
created_by?: string | null;
|
|
8926
8934
|
deleted_at?: string | null;
|
|
@@ -8932,6 +8940,7 @@ export type Database = {
|
|
|
8932
8940
|
source_content_entry_id?: string | null;
|
|
8933
8941
|
source_kind?: string;
|
|
8934
8942
|
source_route_id?: string | null;
|
|
8943
|
+
status?: string;
|
|
8935
8944
|
title?: string;
|
|
8936
8945
|
updated_at?: string;
|
|
8937
8946
|
updated_by?: string | null;
|
|
@@ -9112,6 +9121,7 @@ export type Database = {
|
|
|
9112
9121
|
duration_minutes: number;
|
|
9113
9122
|
event_category_id: string | null;
|
|
9114
9123
|
exceptions_json: Json;
|
|
9124
|
+
first_live_at: string | null;
|
|
9115
9125
|
form_id: string | null;
|
|
9116
9126
|
id: string;
|
|
9117
9127
|
presentation_json: Json | null;
|
|
@@ -9146,6 +9156,7 @@ export type Database = {
|
|
|
9146
9156
|
duration_minutes?: number;
|
|
9147
9157
|
event_category_id?: string | null;
|
|
9148
9158
|
exceptions_json?: Json;
|
|
9159
|
+
first_live_at?: string | null;
|
|
9149
9160
|
form_id?: string | null;
|
|
9150
9161
|
id?: string;
|
|
9151
9162
|
presentation_json?: Json | null;
|
|
@@ -9180,6 +9191,7 @@ export type Database = {
|
|
|
9180
9191
|
duration_minutes?: number;
|
|
9181
9192
|
event_category_id?: string | null;
|
|
9182
9193
|
exceptions_json?: Json;
|
|
9194
|
+
first_live_at?: string | null;
|
|
9183
9195
|
form_id?: string | null;
|
|
9184
9196
|
id?: string;
|
|
9185
9197
|
presentation_json?: Json | null;
|
|
@@ -18877,6 +18889,13 @@ export type Database = {
|
|
|
18877
18889
|
participant_participation_id: string;
|
|
18878
18890
|
}[];
|
|
18879
18891
|
};
|
|
18892
|
+
assert_event_attendee_booking_subject_open_v1: {
|
|
18893
|
+
Args: {
|
|
18894
|
+
p_event_attendee_id: string;
|
|
18895
|
+
p_site_id: string;
|
|
18896
|
+
};
|
|
18897
|
+
Returns: undefined;
|
|
18898
|
+
};
|
|
18880
18899
|
assert_event_offering_surface_binding: {
|
|
18881
18900
|
Args: {
|
|
18882
18901
|
p_event_offering_id: string;
|
|
@@ -19100,6 +19119,25 @@ export type Database = {
|
|
|
19100
19119
|
stateless_rows: number;
|
|
19101
19120
|
}[];
|
|
19102
19121
|
};
|
|
19122
|
+
cancel_event_occurrence_if_unregistered_v1: {
|
|
19123
|
+
Args: {
|
|
19124
|
+
p_event_series_id: string;
|
|
19125
|
+
p_metadata: Json;
|
|
19126
|
+
p_occurrence_id: string;
|
|
19127
|
+
p_site_id: string;
|
|
19128
|
+
};
|
|
19129
|
+
Returns: string;
|
|
19130
|
+
};
|
|
19131
|
+
cancel_event_occurrences_and_instances_atomic_v2: {
|
|
19132
|
+
Args: {
|
|
19133
|
+
p_occurrence_ids: string[];
|
|
19134
|
+
p_site_id: string;
|
|
19135
|
+
};
|
|
19136
|
+
Returns: {
|
|
19137
|
+
cancelled_instances: number;
|
|
19138
|
+
cancelled_occurrences: number;
|
|
19139
|
+
}[];
|
|
19140
|
+
};
|
|
19103
19141
|
checkout_course_atomic: {
|
|
19104
19142
|
Args: {
|
|
19105
19143
|
p_course_id: string;
|
|
@@ -19525,6 +19563,66 @@ export type Database = {
|
|
|
19525
19563
|
replayed: boolean;
|
|
19526
19564
|
}[];
|
|
19527
19565
|
};
|
|
19566
|
+
commit_whole_series_registration_bookable_v3: {
|
|
19567
|
+
Args: {
|
|
19568
|
+
p_customer_display_name?: string;
|
|
19569
|
+
p_customer_email_normalized?: string;
|
|
19570
|
+
p_customer_id: string;
|
|
19571
|
+
p_customer_membership_id?: string;
|
|
19572
|
+
p_customer_phone?: string;
|
|
19573
|
+
p_event_series_id: string;
|
|
19574
|
+
p_form_submission_json?: Json;
|
|
19575
|
+
p_idempotency_key: string;
|
|
19576
|
+
p_metadata?: Json;
|
|
19577
|
+
p_now?: string;
|
|
19578
|
+
p_payment_method?: string;
|
|
19579
|
+
p_pricing_option_id?: string;
|
|
19580
|
+
p_site_id: string;
|
|
19581
|
+
};
|
|
19582
|
+
Returns: {
|
|
19583
|
+
attendance_occurrences_included: number;
|
|
19584
|
+
attendance_rows_created: number;
|
|
19585
|
+
attendance_rows_existing_verified: number;
|
|
19586
|
+
customer_membership_id: string;
|
|
19587
|
+
enrollment_id: string;
|
|
19588
|
+
non_cash_projection_claim_token: string;
|
|
19589
|
+
participant_id: string;
|
|
19590
|
+
participant_participation_id: string;
|
|
19591
|
+
payment_method: string;
|
|
19592
|
+
replayed: boolean;
|
|
19593
|
+
}[];
|
|
19594
|
+
};
|
|
19595
|
+
commit_whole_series_waitlist_claim_bookable_v3: {
|
|
19596
|
+
Args: {
|
|
19597
|
+
p_customer_display_name?: string;
|
|
19598
|
+
p_customer_email_normalized?: string;
|
|
19599
|
+
p_customer_id: string;
|
|
19600
|
+
p_customer_membership_id?: string;
|
|
19601
|
+
p_customer_phone?: string;
|
|
19602
|
+
p_event_series_id: string;
|
|
19603
|
+
p_form_submission_json?: Json;
|
|
19604
|
+
p_idempotency_key: string;
|
|
19605
|
+
p_metadata?: Json;
|
|
19606
|
+
p_now?: string;
|
|
19607
|
+
p_payment_method?: string;
|
|
19608
|
+
p_pricing_option_id?: string;
|
|
19609
|
+
p_site_id: string;
|
|
19610
|
+
p_waitlist_entry_id: string;
|
|
19611
|
+
p_waitlist_hold_id: string;
|
|
19612
|
+
};
|
|
19613
|
+
Returns: {
|
|
19614
|
+
attendance_occurrences_included: number;
|
|
19615
|
+
attendance_rows_created: number;
|
|
19616
|
+
attendance_rows_existing_verified: number;
|
|
19617
|
+
customer_membership_id: string;
|
|
19618
|
+
enrollment_id: string;
|
|
19619
|
+
non_cash_projection_claim_token: string;
|
|
19620
|
+
participant_id: string;
|
|
19621
|
+
participant_participation_id: string;
|
|
19622
|
+
payment_method: string;
|
|
19623
|
+
replayed: boolean;
|
|
19624
|
+
}[];
|
|
19625
|
+
};
|
|
19528
19626
|
compensate_dated_offering_waitlist_checkout_v1_atomic: {
|
|
19529
19627
|
Args: {
|
|
19530
19628
|
p_hold_id: string;
|
|
@@ -20206,6 +20304,32 @@ export type Database = {
|
|
|
20206
20304
|
};
|
|
20207
20305
|
Returns: Json;
|
|
20208
20306
|
};
|
|
20307
|
+
finalize_whole_series_checkout_bookable_v3: {
|
|
20308
|
+
Args: {
|
|
20309
|
+
p_checkout_session_ref: string;
|
|
20310
|
+
p_enrollment_id: string;
|
|
20311
|
+
p_event_series_id: string;
|
|
20312
|
+
p_hold_id: string;
|
|
20313
|
+
p_now?: string;
|
|
20314
|
+
p_order_item_id: string;
|
|
20315
|
+
p_settled_at: string;
|
|
20316
|
+
p_settlement_charge_ref?: string;
|
|
20317
|
+
p_settlement_evidence_ref: string;
|
|
20318
|
+
p_settlement_identity_kind: string;
|
|
20319
|
+
p_settlement_identity_ref: string;
|
|
20320
|
+
p_settlement_source: string;
|
|
20321
|
+
p_site_id: string;
|
|
20322
|
+
p_stripe_account_ref: string;
|
|
20323
|
+
};
|
|
20324
|
+
Returns: {
|
|
20325
|
+
attendance_occurrences_included: number;
|
|
20326
|
+
attendance_rows_created: number;
|
|
20327
|
+
attendance_rows_existing_verified: number;
|
|
20328
|
+
enrollment_id: string;
|
|
20329
|
+
hold_id: string;
|
|
20330
|
+
outcome: string;
|
|
20331
|
+
}[];
|
|
20332
|
+
};
|
|
20209
20333
|
get_auth_user_id_by_email: {
|
|
20210
20334
|
Args: {
|
|
20211
20335
|
p_email: string;
|
|
@@ -20755,6 +20879,31 @@ export type Database = {
|
|
|
20755
20879
|
order_id: string;
|
|
20756
20880
|
}[];
|
|
20757
20881
|
};
|
|
20882
|
+
persist_unified_order_bookable_atomic_v1: {
|
|
20883
|
+
Args: {
|
|
20884
|
+
p_credit_cents: number;
|
|
20885
|
+
p_currency: string;
|
|
20886
|
+
p_customer_id: string;
|
|
20887
|
+
p_discount_application?: Json;
|
|
20888
|
+
p_discount_cents: number;
|
|
20889
|
+
p_discount_code: string;
|
|
20890
|
+
p_discount_code_id: string;
|
|
20891
|
+
p_discount_public_label: string;
|
|
20892
|
+
p_items: Json;
|
|
20893
|
+
p_order_number: string;
|
|
20894
|
+
p_order_number_seq: number;
|
|
20895
|
+
p_paid_cents: number;
|
|
20896
|
+
p_payment_method: string;
|
|
20897
|
+
p_site_id: string;
|
|
20898
|
+
p_status: string;
|
|
20899
|
+
p_stripe_account_id: string;
|
|
20900
|
+
p_subtotal_cents: number;
|
|
20901
|
+
};
|
|
20902
|
+
Returns: {
|
|
20903
|
+
item_ids: string[];
|
|
20904
|
+
order_id: string;
|
|
20905
|
+
}[];
|
|
20906
|
+
};
|
|
20758
20907
|
prepare_dated_offering_whole_series_checkout_v1_atomic: {
|
|
20759
20908
|
Args: {
|
|
20760
20909
|
p_allow_waitlist_conversion?: boolean;
|
|
@@ -20877,6 +21026,67 @@ export type Database = {
|
|
|
20877
21026
|
preparation_outcome: string;
|
|
20878
21027
|
}[];
|
|
20879
21028
|
};
|
|
21029
|
+
prepare_whole_series_checkout_bookable_v3: {
|
|
21030
|
+
Args: {
|
|
21031
|
+
p_allow_waitlist_conversion?: boolean;
|
|
21032
|
+
p_audit_ref: string;
|
|
21033
|
+
p_customer_display_name?: string;
|
|
21034
|
+
p_customer_email_normalized?: string;
|
|
21035
|
+
p_customer_id: string;
|
|
21036
|
+
p_customer_phone?: string;
|
|
21037
|
+
p_event_series_id: string;
|
|
21038
|
+
p_form_submission_json?: Json;
|
|
21039
|
+
p_hold_expires_at: string;
|
|
21040
|
+
p_hold_id: string;
|
|
21041
|
+
p_idempotency_key: string;
|
|
21042
|
+
p_metadata?: Json;
|
|
21043
|
+
p_now?: string;
|
|
21044
|
+
p_pricing_option_id?: string;
|
|
21045
|
+
p_quoted_currency: string;
|
|
21046
|
+
p_quoted_unit_amount_cents: number;
|
|
21047
|
+
p_site_id: string;
|
|
21048
|
+
};
|
|
21049
|
+
Returns: {
|
|
21050
|
+
enrollment_id: string;
|
|
21051
|
+
hold_audit_ref: string;
|
|
21052
|
+
hold_expires_at: string;
|
|
21053
|
+
hold_id: string;
|
|
21054
|
+
participant_id: string;
|
|
21055
|
+
participant_participation_id: string;
|
|
21056
|
+
preparation_outcome: string;
|
|
21057
|
+
}[];
|
|
21058
|
+
};
|
|
21059
|
+
prepare_whole_series_waitlist_checkout_bookable_v3: {
|
|
21060
|
+
Args: {
|
|
21061
|
+
p_audit_ref: string;
|
|
21062
|
+
p_customer_display_name?: string;
|
|
21063
|
+
p_customer_email_normalized?: string;
|
|
21064
|
+
p_customer_id: string;
|
|
21065
|
+
p_customer_phone?: string;
|
|
21066
|
+
p_event_series_id: string;
|
|
21067
|
+
p_form_submission_json?: Json;
|
|
21068
|
+
p_hold_expires_at: string;
|
|
21069
|
+
p_hold_id: string;
|
|
21070
|
+
p_idempotency_key: string;
|
|
21071
|
+
p_metadata?: Json;
|
|
21072
|
+
p_now?: string;
|
|
21073
|
+
p_pricing_option_id?: string;
|
|
21074
|
+
p_quoted_currency: string;
|
|
21075
|
+
p_quoted_unit_amount_cents: number;
|
|
21076
|
+
p_site_id: string;
|
|
21077
|
+
p_waitlist_entry_id: string;
|
|
21078
|
+
p_waitlist_hold_id: string;
|
|
21079
|
+
};
|
|
21080
|
+
Returns: {
|
|
21081
|
+
enrollment_id: string;
|
|
21082
|
+
hold_audit_ref: string;
|
|
21083
|
+
hold_expires_at: string;
|
|
21084
|
+
hold_id: string;
|
|
21085
|
+
participant_id: string;
|
|
21086
|
+
participant_participation_id: string;
|
|
21087
|
+
preparation_outcome: string;
|
|
21088
|
+
}[];
|
|
21089
|
+
};
|
|
20880
21090
|
project_event_reminder_marker_if_current: {
|
|
20881
21091
|
Args: {
|
|
20882
21092
|
p_attendee_id: string;
|
|
@@ -20986,6 +21196,26 @@ export type Database = {
|
|
|
20986
21196
|
replayed: boolean;
|
|
20987
21197
|
}[];
|
|
20988
21198
|
};
|
|
21199
|
+
reactivate_whole_series_registration_bookable_v3: {
|
|
21200
|
+
Args: {
|
|
21201
|
+
p_actor_user_id: string;
|
|
21202
|
+
p_enrollment_id: string;
|
|
21203
|
+
p_event_series_id: string;
|
|
21204
|
+
p_expected_contract_version: string;
|
|
21205
|
+
p_now: string;
|
|
21206
|
+
p_operation_id: string;
|
|
21207
|
+
p_settlement_kind: string;
|
|
21208
|
+
p_site_id: string;
|
|
21209
|
+
};
|
|
21210
|
+
Returns: {
|
|
21211
|
+
attendance_occurrences_included: number;
|
|
21212
|
+
attendance_rows_created: number;
|
|
21213
|
+
attendance_rows_existing_verified: number;
|
|
21214
|
+
attendance_rows_reactivated: number;
|
|
21215
|
+
enrollment_id: string;
|
|
21216
|
+
replayed: boolean;
|
|
21217
|
+
}[];
|
|
21218
|
+
};
|
|
20989
21219
|
read_managed_event_inventory_snapshot_v1: {
|
|
20990
21220
|
Args: {
|
|
20991
21221
|
p_site_id: string;
|
|
@@ -21784,6 +22014,44 @@ export type Database = {
|
|
|
21784
22014
|
transition_outcome: string;
|
|
21785
22015
|
}[];
|
|
21786
22016
|
};
|
|
22017
|
+
transition_managed_event_availability_v1: {
|
|
22018
|
+
Args: {
|
|
22019
|
+
p_event_offering_id: string;
|
|
22020
|
+
p_event_series_id?: string;
|
|
22021
|
+
p_expected_archived_at: string;
|
|
22022
|
+
p_expected_series_status?: string;
|
|
22023
|
+
p_first_live_at?: string;
|
|
22024
|
+
p_next_archived_at: string;
|
|
22025
|
+
p_next_series_status?: string;
|
|
22026
|
+
p_site_id: string;
|
|
22027
|
+
p_update_archive?: boolean;
|
|
22028
|
+
};
|
|
22029
|
+
Returns: boolean;
|
|
22030
|
+
};
|
|
22031
|
+
transition_managed_event_availability_v2: {
|
|
22032
|
+
Args: {
|
|
22033
|
+
p_command: Json;
|
|
22034
|
+
p_event_offering_id: string;
|
|
22035
|
+
p_expected_availability_version: number;
|
|
22036
|
+
p_site_id: string;
|
|
22037
|
+
p_user_id: string;
|
|
22038
|
+
};
|
|
22039
|
+
Returns: Json;
|
|
22040
|
+
};
|
|
22041
|
+
transition_managed_event_lifecycle_v1: {
|
|
22042
|
+
Args: {
|
|
22043
|
+
p_event_offering_id: string;
|
|
22044
|
+
p_event_series_id?: string;
|
|
22045
|
+
p_expected_offering_status: string;
|
|
22046
|
+
p_expected_series_status?: string;
|
|
22047
|
+
p_first_live_at?: string;
|
|
22048
|
+
p_next_offering_status: string;
|
|
22049
|
+
p_next_series_status?: string;
|
|
22050
|
+
p_site_id: string;
|
|
22051
|
+
p_update_offering?: boolean;
|
|
22052
|
+
};
|
|
22053
|
+
Returns: boolean;
|
|
22054
|
+
};
|
|
21787
22055
|
transition_ordinary_page_block_draft: {
|
|
21788
22056
|
Args: {
|
|
21789
22057
|
p_block_id: string;
|
|
@@ -21961,6 +22229,43 @@ export type Database = {
|
|
|
21961
22229
|
pricing_option_id: string;
|
|
21962
22230
|
}[];
|
|
21963
22231
|
};
|
|
22232
|
+
waitlist_allocate_event_occurrence_holds_bookable_v2: {
|
|
22233
|
+
Args: {
|
|
22234
|
+
p_attendance_mode: string;
|
|
22235
|
+
p_event_occurrence_id: string;
|
|
22236
|
+
p_hold_payloads?: Json;
|
|
22237
|
+
p_site_id: string;
|
|
22238
|
+
};
|
|
22239
|
+
Returns: {
|
|
22240
|
+
attendance_mode: string | null;
|
|
22241
|
+
cancelled_at: string | null;
|
|
22242
|
+
consumed_at: string | null;
|
|
22243
|
+
course_id: string | null;
|
|
22244
|
+
created_at: string;
|
|
22245
|
+
email_delivery_status: string;
|
|
22246
|
+
event_occurrence_id: string | null;
|
|
22247
|
+
event_series_id: string | null;
|
|
22248
|
+
expired_at: string | null;
|
|
22249
|
+
expires_at: string;
|
|
22250
|
+
id: string;
|
|
22251
|
+
last_emailed_at: string | null;
|
|
22252
|
+
metadata: Json;
|
|
22253
|
+
reserved_at: string;
|
|
22254
|
+
site_id: string;
|
|
22255
|
+
status: string;
|
|
22256
|
+
subject_kind: string;
|
|
22257
|
+
token_public_id: string;
|
|
22258
|
+
token_secret_hash: string;
|
|
22259
|
+
updated_at: string;
|
|
22260
|
+
waitlist_entry_id: string;
|
|
22261
|
+
}[];
|
|
22262
|
+
SetofOptions: {
|
|
22263
|
+
from: "*";
|
|
22264
|
+
to: "waitlist_holds";
|
|
22265
|
+
isOneToOne: false;
|
|
22266
|
+
isSetofReturn: true;
|
|
22267
|
+
};
|
|
22268
|
+
};
|
|
21964
22269
|
waitlist_allocate_event_occurrence_holds_v1: {
|
|
21965
22270
|
Args: {
|
|
21966
22271
|
p_attendance_mode: string;
|
|
@@ -22037,6 +22342,42 @@ export type Database = {
|
|
|
22037
22342
|
isSetofReturn: true;
|
|
22038
22343
|
};
|
|
22039
22344
|
};
|
|
22345
|
+
waitlist_allocate_whole_series_holds_bookable_v4: {
|
|
22346
|
+
Args: {
|
|
22347
|
+
p_event_series_id: string;
|
|
22348
|
+
p_hold_payloads?: Json;
|
|
22349
|
+
p_site_id: string;
|
|
22350
|
+
};
|
|
22351
|
+
Returns: {
|
|
22352
|
+
attendance_mode: string | null;
|
|
22353
|
+
cancelled_at: string | null;
|
|
22354
|
+
consumed_at: string | null;
|
|
22355
|
+
course_id: string | null;
|
|
22356
|
+
created_at: string;
|
|
22357
|
+
email_delivery_status: string;
|
|
22358
|
+
event_occurrence_id: string | null;
|
|
22359
|
+
event_series_id: string | null;
|
|
22360
|
+
expired_at: string | null;
|
|
22361
|
+
expires_at: string;
|
|
22362
|
+
id: string;
|
|
22363
|
+
last_emailed_at: string | null;
|
|
22364
|
+
metadata: Json;
|
|
22365
|
+
reserved_at: string;
|
|
22366
|
+
site_id: string;
|
|
22367
|
+
status: string;
|
|
22368
|
+
subject_kind: string;
|
|
22369
|
+
token_public_id: string;
|
|
22370
|
+
token_secret_hash: string;
|
|
22371
|
+
updated_at: string;
|
|
22372
|
+
waitlist_entry_id: string;
|
|
22373
|
+
}[];
|
|
22374
|
+
SetofOptions: {
|
|
22375
|
+
from: "*";
|
|
22376
|
+
to: "waitlist_holds";
|
|
22377
|
+
isOneToOne: false;
|
|
22378
|
+
isSetofReturn: true;
|
|
22379
|
+
};
|
|
22380
|
+
};
|
|
22040
22381
|
waitlist_allocate_whole_series_holds_v2: {
|
|
22041
22382
|
Args: {
|
|
22042
22383
|
p_course_id: string;
|
|
@@ -9,7 +9,8 @@ import { type BlockActionPresentation } from './block-editor/actionPresentation'
|
|
|
9
9
|
import { type ReorderControlMode } from './block-editor/reorderControlMode';
|
|
10
10
|
import { type BlockEditorOwner } from './block-editor/owner';
|
|
11
11
|
import type { ArrayKeysManager, BlockEditorHandle, BlockItem, BlockFocusRequest, UiSlice, DraftsSlice } from './block-editor/types';
|
|
12
|
-
import type { BlockDraftSaveability
|
|
12
|
+
import type { BlockDraftSaveability } from '../../block-form/src/blockDraftSaveability';
|
|
13
|
+
import type { FieldWidgetComponent } from '../../block-form/src/index';
|
|
13
14
|
type UiState = {
|
|
14
15
|
focusRequest: BlockFocusRequest | null;
|
|
15
16
|
activeBlockId: UiSlice['activeBlockId'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type FieldWidgetComponent } from '../../block-form/src/
|
|
2
|
-
import type { BlockDraftSaveability } from '../../block-form/src/
|
|
1
|
+
import { type FieldWidgetComponent } from '../../block-form/src/index';
|
|
2
|
+
import type { BlockDraftSaveability } from '../../block-form/src/blockDraftSaveability';
|
|
3
3
|
import type { BlockManifest, Theme } from '../../blocks/src/index';
|
|
4
4
|
import { type PageDesignEditorBlock } from '../../theme-core/src/site-styles/index';
|
|
5
5
|
import { type EditorBlockId } from '../../core/src/index';
|
|
@@ -2,8 +2,8 @@ import type { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities';
|
|
|
2
2
|
import { type EditorBlockId } from '../../../core/src/index';
|
|
3
3
|
import type { PageDesignEditorBlock } from '../../../theme-core/src/site-styles/index';
|
|
4
4
|
import type { SystemBlockDefinition } from '../../../blocks/src/index';
|
|
5
|
-
import type { BlockDraftSaveability } from '../../../block-form/src/
|
|
6
|
-
import type { FieldWidgetComponent } from '../../../block-form/src/
|
|
5
|
+
import type { BlockDraftSaveability } from '../../../block-form/src/blockDraftSaveability';
|
|
6
|
+
import type { FieldWidgetComponent } from '../../../block-form/src/index';
|
|
7
7
|
import type { Theme } from '../../../blocks/src/index';
|
|
8
8
|
import type { SiteIconStyleGuideVersionId } from '../../../blocks/src/index';
|
|
9
9
|
import { type BlockActionPresentation } from './actionPresentation';
|
|
@@ -3,7 +3,7 @@ import type { SystemBlockDefinition, Theme } from '../../../blocks/src/index';
|
|
|
3
3
|
import { BlockForm } from '../BlockForm';
|
|
4
4
|
import type { ComponentProps } from 'react';
|
|
5
5
|
import type { BlockItem, BlockFocusRequest } from './types';
|
|
6
|
-
import type { FieldWidgetComponent } from '../../../block-form/src/
|
|
6
|
+
import type { FieldWidgetComponent } from '../../../block-form/src/index';
|
|
7
7
|
import type { SiteIconStyleGuideVersionId } from '../../../blocks/src/index';
|
|
8
8
|
import type { GeneratedIconSetGenerateInput, GeneratedIconSetGenerateResult } from './GeneratedIconSetDialog';
|
|
9
9
|
export declare function BlockCardBody({ siteId, block, manifest, uiStore, hasRecoveryConflict, focusSignal, onFocusHandled, onBlockSave, theme, widgetOverrides, hideThemeV2RawStyleFields, pageDesignBlock, currentStyleGuideVersionId, iconStyleGuideSummary, iconStyleGuideEditHref, onGenerateIconSet, }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities';
|
|
2
|
-
import type { FieldWidgetComponent } from '../../../block-form/src/
|
|
2
|
+
import type { FieldWidgetComponent } from '../../../block-form/src/index';
|
|
3
3
|
import { type SiteIconStyleGuideVersionId, type SystemBlockDefinition, type Theme } from '../../../blocks/src/index';
|
|
4
4
|
import { type BlockActionPresentation } from './actionPresentation';
|
|
5
5
|
import type { ReorderControlMode } from './reorderControlMode';
|
|
@@ -4,7 +4,7 @@ import type { PageDesignEditorBlock } from '../../../theme-core/src/site-styles/
|
|
|
4
4
|
import type { BlockFocusRequest, BlockItem } from './types';
|
|
5
5
|
import { type CustomBlockRegistryEntry, type SdkConfigForBlockPicker } from './sdkBlockMerger';
|
|
6
6
|
import { BlockCard } from './BlockCard';
|
|
7
|
-
import type { FieldWidgetComponent } from '../../../block-form/src/
|
|
7
|
+
import type { FieldWidgetComponent } from '../../../block-form/src/index';
|
|
8
8
|
import { type BlockActionPresentation } from './actionPresentation';
|
|
9
9
|
import { type ReorderControlMode } from './reorderControlMode';
|
|
10
10
|
import type { GeneratedIconSetGenerateInput, GeneratedIconSetGenerateResult } from './GeneratedIconSetDialog';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type BlockManifest, type Theme } from '../../../../blocks/src/index';
|
|
2
|
-
import type { SdkBlockFieldExtensionsMap, SdkBlockFieldOptionsMap } from '../../../../block-form/src/
|
|
2
|
+
import type { SdkBlockFieldExtensionsMap, SdkBlockFieldOptionsMap } from '../../../../block-form/src/index';
|
|
3
3
|
import { type EditorBlockId } from '../../../../core/src/index';
|
|
4
4
|
import type { BlockItem } from '../types';
|
|
5
5
|
import { type CustomBlockRegistryEntry, type SdkConfigForBlockPicker } from '../sdkBlockMerger';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BlockManifest, StyleGroups } from '../../../blocks/src/index';
|
|
2
|
-
import type { SdkBlockFieldExtensionsMap, SdkBlockFieldOptionsMap } from '../../../block-form/src/
|
|
2
|
+
import type { SdkBlockFieldExtensionsMap, SdkBlockFieldOptionsMap } from '../../../block-form/src/index';
|
|
3
3
|
export type BlockEditorManifestVisibilityPolicy = Readonly<{
|
|
4
4
|
kind: 'show-raw-style-fields';
|
|
5
5
|
}> | Readonly<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BlockManifest } from '../../blocks/src/index';
|
|
2
|
-
import { type ManifestSchemaOptions, type ManifestValidationResult } from '../../block-form/src/
|
|
2
|
+
import { type ManifestSchemaOptions, type ManifestValidationResult } from '../../block-form/src/index';
|
|
3
3
|
import type { z } from 'zod';
|
|
4
4
|
export type ManifestFieldIssue = {
|
|
5
5
|
path: string;
|
|
@@ -15,8 +15,8 @@ export { FormProvider } from './FormProvider';
|
|
|
15
15
|
export type { FormProviderProps } from './FormProvider';
|
|
16
16
|
export { buildBlockContentPayload, formatManifestIssues } from './blockPayload';
|
|
17
17
|
export type { BlockContentPayloadResult, ManifestFieldIssue, BuildBlockContentPayloadOptions, } from './blockPayload';
|
|
18
|
-
export { deriveBlockDraftSaveability, formatUnfinishedBlocksSummary, shouldShowBlockFieldValidation, unfinishedBlockCopy, validateBlockManifestValues
|
|
19
|
-
export type { BlockDraftSaveability, BlockDraftValidationIssue
|
|
18
|
+
export { deriveBlockDraftSaveability, formatUnfinishedBlocksSummary, shouldShowBlockFieldValidation, unfinishedBlockCopy, validateBlockManifestValues } from '../../block-form/src/blockDraftSaveability';
|
|
19
|
+
export type { BlockDraftSaveability, BlockDraftValidationIssue } from '../../block-form/src/blockDraftSaveability';
|
|
20
20
|
export { applyManifestIssuesToForm } from './manifestIssues';
|
|
21
21
|
export { BlockPickerDialog } from './block-editor/BlockPickerDialog';
|
|
22
22
|
export { FileField, MediaField } from './media/MediaField';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FieldWidgetProps } from '../../../block-form/src/
|
|
2
|
-
import type { FileFieldConfig, MediaFieldConfig } from '../../../block-form/src/
|
|
1
|
+
import type { FieldWidgetProps } from '../../../block-form/src/index';
|
|
2
|
+
import type { FileFieldConfig, MediaFieldConfig } from '../../../block-form/src/index';
|
|
3
3
|
import type { UploadIntentContract } from '../../../api/src/index';
|
|
4
4
|
import { type VideoPrepIntent } from '../../../media-core/src/index';
|
|
5
5
|
import { type MediaValue } from '../../../media-editor/src/index';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { FieldWidgetProps, SelectFieldConfig } from '../../../../block-form/src/
|
|
1
|
+
import type { FieldWidgetProps, SelectFieldConfig } from '../../../../block-form/src/index';
|
|
2
2
|
export declare function ButtonVariantField({ path, backend, config }: FieldWidgetProps<string, SelectFieldConfig>): import("react").JSX.Element;
|