@riverbankcms/sdk 0.129.0 → 0.130.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -266
- package/dist/{PreviewEditorSidebar-B43CJ0g_.mjs → PreviewEditorSidebar-DiEpbOdw.mjs} +313 -239
- package/dist/{PreviewEditorUI-DHirVkeM.mjs → PreviewEditorUI-C6MvxnIa.mjs} +3 -3
- package/dist/{PreviewQueryProvider-B1kbhaJD.mjs → PreviewQueryProvider-C2rnoPz6.mjs} +1 -1
- package/dist/{SdkPreviewModeRuntime-BJumZy1B.mjs → SdkPreviewModeRuntime-DRXA_m5L.mjs} +208 -211
- package/dist/{SiteChromeCustomizeContext-D9SlpwEj.mjs → SiteChromeCustomizeContext-BTHdv5_-.mjs} +6222 -6190
- package/dist/_dts/ai/src/contracts/commandExposure.d.ts +1 -1
- package/dist/_dts/ai/src/contracts/proposalPrimitives.d.ts +52 -0
- package/dist/_dts/ai/src/contracts/proposals.d.ts +9438 -33588
- package/dist/_dts/ai/src/contracts/siteStyleProposalSchemas.d.ts +32572 -0
- package/dist/_dts/api/src/appointmentSetup.d.ts +21 -9
- package/dist/_dts/api/src/bookingConfig.d.ts +4 -46
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +13 -11
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -0
- package/dist/_dts/api/src/contentRuntime.d.ts +3 -5
- package/dist/_dts/api/src/endpoints.d.ts +14 -21
- package/dist/_dts/api/src/eventManagementContracts.d.ts +76 -0
- package/dist/_dts/api/src/index.d.ts +5 -3
- package/dist/_dts/api/src/publicExperience/commerceEndpoints.d.ts +22 -47
- package/dist/_dts/api/src/sdk-event-management.d.ts +53 -0
- package/dist/_dts/api/src/sdk-event-schedule.d.ts +8 -6
- package/dist/_dts/api/src/sdk-event-upsert.d.ts +112 -20
- package/dist/_dts/api/src/sdkContracts.d.ts +74 -115
- package/dist/_dts/api/src/sdkManagedEventContracts.d.ts +35 -0
- package/dist/_dts/api/src/sdkThemeWire.d.ts +4517 -0
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +18 -29
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +23 -37
- package/dist/_dts/blocks/src/contracts/index.d.ts +2 -0
- package/dist/_dts/blocks/src/contracts/non-block-islands.d.ts +6 -8
- package/dist/_dts/blocks/src/contracts/proof-block-islands.d.ts +36 -14
- package/dist/_dts/blocks/src/index.d.ts +5 -3
- package/dist/_dts/blocks/src/lib/media.d.ts +9 -539
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +135 -90
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/shop.shared.d.ts +37 -4
- package/dist/_dts/blocks/src/system/blocks/site-footer-nav-groups-layout.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/site-footer-runtime.d.ts +3 -0
- package/dist/_dts/blocks/src/system/componentFactory.d.ts +5 -5
- package/dist/_dts/blocks/src/system/customize/backgrounds.d.ts +8 -6
- package/dist/_dts/blocks/src/system/customize/serializeBackgroundOverride.d.ts +3 -0
- package/dist/_dts/blocks/src/system/fields/background.d.ts +2 -20
- package/dist/_dts/blocks/src/system/fields/backgroundContent.d.ts +17 -0
- package/dist/_dts/blocks/src/system/fields/backgroundContentAudit.d.ts +20 -0
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +5 -33
- package/dist/_dts/blocks/src/system/fragments/builder.d.ts +1 -0
- package/dist/_dts/blocks/src/system/fragments/types.d.ts +1 -0
- package/dist/_dts/blocks/src/system/helpers/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +10 -45
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +7 -4
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/writeCanonicalization.d.ts +4 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +123 -55
- package/dist/_dts/blocks/src/system/registry.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/api/types/shop.d.ts +2 -37
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +61 -24
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +30 -12
- package/dist/_dts/blocks/src/system/runtime/header/enhanceHeaderSection.d.ts +3 -5
- package/dist/_dts/blocks/src/system/runtime/header/headerScrollRuntime.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/header/runtimeContract.d.ts +22 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/display.d.ts +9 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/commerce/shared/view.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.client.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.frame.d.ts +21 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/header-section.server.d.ts +2 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.interactive.d.ts +41 -12
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.pass-contract.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shop.state.d.ts +3 -3
- package/dist/_dts/blocks/src/system/transforms/registry/_utils/surfaceForegroundStyles.d.ts +3 -1
- package/dist/_dts/blocks/src/system/transforms/registry/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/boxStyles.d.ts +3 -1
- package/dist/_dts/blocks/src/system/transforms/registry/core.d.ts +4 -1
- package/dist/_dts/blocks/src/system/transforms/registry/headerRuntime.d.ts +3 -0
- package/dist/_dts/blocks/src/system/transforms/registry/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +0 -3
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +41 -43
- package/dist/_dts/content-editor/src/FooterComposerOverview.d.ts +4 -2
- package/dist/_dts/content-editor/src/FooterComposerPanel.d.ts +2 -17
- package/dist/_dts/content-editor/src/FooterNavigationLayoutControl.d.ts +5 -0
- package/dist/_dts/content-editor/src/footerComposer.d.ts +2 -1
- package/dist/_dts/content-editor/src/footerComposerPanelTypes.d.ts +21 -0
- package/dist/_dts/content-editor/src/footerPreviewRuntime.d.ts +2 -1
- package/dist/_dts/content-editor/src/useFooterComposerState.d.ts +11 -1
- package/dist/_dts/content-editor/src/useFooterNavigationLayout.d.ts +26 -0
- package/dist/_dts/content-model/src/templates/defaults.d.ts +7 -0
- package/dist/_dts/core/src/booking-date-time.d.ts +2 -2
- package/dist/_dts/core/src/booking-time-zone.d.ts +6 -0
- package/dist/_dts/core/src/footer-composition-types.d.ts +4 -4
- package/dist/_dts/core/src/footer-navigation-layout.d.ts +4 -0
- package/dist/_dts/core/src/index.d.ts +1 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +38 -18
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/preview-next/src/client/preview/FooterSidebarDisclosure.d.ts +8 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +15 -17
- package/dist/_dts/preview-next/src/client/preview/PreviewFooterEditorPanel.d.ts +20 -0
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +3 -5
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +3 -5
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +3 -5
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +6 -7
- package/dist/_dts/preview-next/src/client/preview/siteChromeBrandPreferences.d.ts +7 -7
- package/dist/_dts/preview-next/src/client/preview/siteChromeCustomizeTypes.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +12 -11
- package/dist/_dts/preview-next/src/client/preview/siteChromeSelectionRows.d.ts +53 -0
- package/dist/_dts/preview-next/src/client/preview/siteStyleAccess.d.ts +1 -6
- package/dist/_dts/preview-next/src/client/preview/siteStylePreviewPlanner.d.ts +6 -15
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +4 -6
- package/dist/_dts/sdk/src/config/types.d.ts +5 -4
- package/dist/_dts/sdk/src/config/validation.d.ts +2 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +4 -41
- package/dist/_dts/sdk/src/next/catch-all-theme-admission.d.ts +23 -0
- package/dist/_dts/sdk/src/next/index.d.ts +8 -6
- package/dist/_dts/sdk/src/next/resolveTheme.d.ts +1 -2
- package/dist/_dts/sdk/src/next/types.d.ts +10 -0
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +2 -16
- package/dist/_dts/sdk/src/rendering/components/Layout.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +5 -3
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +4 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +6 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -0
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +11 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/blockOverrides.d.ts +1 -1
- package/dist/_dts/theme-core/src/boxBackgroundSchema.d.ts +184 -0
- package/dist/_dts/theme-core/src/buttons/buttonColourContract.d.ts +96 -0
- package/dist/_dts/theme-core/src/buttons/buttonSurfaceContext.d.ts +78 -0
- package/dist/_dts/theme-core/src/buttons/index.d.ts +2 -0
- package/dist/_dts/theme-core/src/buttons/parseThemeForPersistence.d.ts +2 -2
- package/dist/_dts/theme-core/src/buttons/resolveButtonColourStates.d.ts +9 -57
- package/dist/_dts/theme-core/src/buttons/resolvedButtonCss.d.ts +6 -3
- package/dist/_dts/theme-core/src/buttons/styles/domain.d.ts +8 -7
- package/dist/_dts/theme-core/src/buttons/styles/recipes/quietArrow.d.ts +1 -0
- package/dist/_dts/theme-core/src/buttons/styles/recipes/staticRecipes.d.ts +11 -0
- package/dist/_dts/theme-core/src/buttons/styles/registry.d.ts +12 -0
- package/dist/_dts/theme-core/src/buttons/styles/selection.d.ts +5 -0
- package/dist/_dts/theme-core/src/buttons/types.d.ts +51 -4
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/lib/media.d.ts +583 -10
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +5117 -1433
- package/dist/_dts/theme-core/src/palette/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/schema.d.ts +5079 -2005
- package/dist/_dts/theme-core/src/site-styles/compilationPlan.d.ts +6 -14
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +29 -102
- package/dist/_dts/theme-core/src/site-styles/customizableSurfaces.d.ts +3 -76
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipeline.d.ts +3 -7
- package/dist/_dts/theme-core/src/site-styles/generatedDesignPipelineHelpers.d.ts +17 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/headerLayoutCatalog.d.ts +281 -0
- package/dist/_dts/theme-core/src/site-styles/headerLayoutResolution.d.ts +13 -0
- package/dist/_dts/theme-core/src/site-styles/headerLayoutStyles.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/headerLayoutTypes.d.ts +142 -0
- package/dist/_dts/theme-core/src/site-styles/headerNavStyles.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/headerOpeningForeground.d.ts +7 -4
- package/dist/_dts/theme-core/src/site-styles/headerOpeningSection.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/headerStyleCompiler.d.ts +3 -0
- package/dist/_dts/theme-core/src/site-styles/imageSurfaceBackground.d.ts +14 -0
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +14 -41
- package/dist/_dts/theme-core/src/site-styles/runtimeBackgroundResolution.d.ts +23 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +8 -6
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +1 -1
- package/dist/client/{CourseRegistrationWizard-xRmA7REV.mjs → CourseRegistrationWizard-Bvtz9G9g.mjs} +5 -5
- package/dist/client/{DiscountCodeDisclosure-B9vriL5C.mjs → DiscountCodeDisclosure-Ur-Xx1U_.mjs} +1 -1
- package/dist/client/{EventCombined.client-BgVnVTlz.mjs → EventCombined.client-EhscD4U6.mjs} +2 -2
- package/dist/client/{EventListing.client-CqdsO7jO.mjs → EventListing.client-Bn26cFTY.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-CKPxot9M.mjs → LeafletStaticMap-BUw9Ntzr.mjs} +1 -1
- package/dist/client/{StepIndicator-DGCYuBJ1.mjs → StepIndicator-BfbdiVQI.mjs} +2 -2
- package/dist/client/{accordion-BfN5Eqd-.mjs → accordion-CjIeof73.mjs} +1 -1
- package/dist/client/{bookingForm-DOvCpBFP.mjs → bookingForm-DwEeovf_.mjs} +5 -5
- package/dist/client/bookings.mjs +1028 -1038
- package/dist/client/{carousel-DPNmiH0f.mjs → carousel-BMrfgOba.mjs} +1 -1
- package/dist/client/{cart--egVXlrR.mjs → cart-rXEdxTdb.mjs} +3 -3
- package/dist/client/{checkout-DywWtMcq.mjs → checkout-D3JlSzh3.mjs} +3 -3
- package/dist/client/client.mjs +18324 -18224
- package/dist/client/{courseRegistration-Dk9qFVwt.mjs → courseRegistration-DO5XvMAA.mjs} +2 -2
- package/dist/client/{eventCalendar-Bkz2HjlS.mjs → eventCalendar-DO6rTqCn.mjs} +4 -4
- package/dist/client/{eventCombined-D4kipYWg.mjs → eventCombined-bJ3i_ovU.mjs} +2 -2
- package/dist/client/{eventDetails-Dz_5ix2Q.mjs → eventDetails-CCbrXE7o.mjs} +3 -3
- package/dist/client/{eventListing-D0vm-zST.mjs → eventListing-Bdlt9YTm.mjs} +2 -2
- package/dist/client/{eventRegistration-Cw1E4Q4p.mjs → eventRegistration-B02lt6iY.mjs} +6 -6
- package/dist/client/{form-C2Zf1n3K.mjs → form-DrUBAAox.mjs} +1 -1
- package/dist/client/{headerSection-CP05gzdc.mjs → headerSection-MzqvHL6T.mjs} +151 -104
- package/dist/client/hooks.mjs +4550 -4211
- package/dist/client/{locationMap-Cl3x9PYJ.mjs → locationMap-DG8BxTBm.mjs} +2 -2
- package/dist/client/{newsletterForm-DyEJoClm.mjs → newsletterForm-BzO-Td3p.mjs} +1 -1
- package/dist/client/{pricing-DGuNR1W4.mjs → pricing-NgK7ozkg.mjs} +1 -1
- package/dist/client/{productDetail-Cq-HrGew.mjs → productDetail-CfQ7rhVK.mjs} +3 -3
- package/dist/client/{productList-DbB3jwqd.mjs → productList-C23rOLUi.mjs} +3 -3
- package/dist/client/{propsDecoder-CiTuhUwY.mjs → propsDecoder-CAZdhwjs.mjs} +2166 -2157
- package/dist/client/rendering/client.mjs +3606 -4078
- package/dist/client/rendering/islands.mjs +18 -18
- package/dist/client/rendering.mjs +15969 -15843
- package/dist/client/{scrollToBlock-CShkRqab.mjs → scrollToBlock-DSSqVQr1.mjs} +1 -1
- package/dist/client/{shop-Cu4Ib-ZA.mjs → shop-BMToKLK7.mjs} +34 -23
- package/dist/client/{shop-commerce-BzpsOdh7.mjs → shop-commerce-DB4JRKmp.mjs} +4 -4
- package/dist/client/{shop-commerce-store-DaE7Fhj8.mjs → shop-commerce-store-BOqSIOuc.mjs} +1 -1
- package/dist/client/{shopShared-cF0c20vB.mjs → shopShared-B6SK9DZv.mjs} +9 -3
- package/dist/client/{useEventFilters-QZ3HMgaJ.mjs → useEventFilters-CULOa4nB.mjs} +2 -2
- package/dist/client/{usePolling-BKf0GcE-.mjs → usePolling-BGG_8-jl.mjs} +2 -2
- package/dist/preview-next/before-render.mjs +16 -27
- package/dist/preview-next/client/runtime.mjs +4 -4
- package/dist/preview-next/middleware.mjs +16 -27
- package/dist/{previewAuthStore-BesgU5Xu.mjs → previewAuthStore-_GXFRg2W.mjs} +16 -27
- package/dist/{sdk-runtime-CfZd5pAm.mjs → sdk-runtime-hhSOMShR.mjs} +2 -2
- package/dist/{separator-DkTe68HE.mjs → separator-flRaFc14.mjs} +1 -1
- package/dist/server/components.mjs +17802 -17875
- package/dist/server/config-validation.mjs +4729 -4416
- package/dist/server/config.mjs +4733 -4420
- package/dist/server/data.mjs +4533 -4211
- package/dist/server/date-time.mjs +22 -13
- package/dist/server/index.mjs +17 -28
- package/dist/server/manifest.mjs +4966 -0
- package/dist/server/next.mjs +17635 -17676
- package/dist/server/page-converter.mjs +3759 -4386
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +18960 -19049
- package/dist/server/rendering.mjs +17848 -17902
- package/dist/server/routing.mjs +4776 -4323
- package/dist/server/server.mjs +4609 -4264
- package/dist/server/theme-bridge.mjs +1361 -1850
- package/dist/server/theme.mjs +736 -605
- package/dist/styles/index.css +22 -3
- package/package.json +9 -12
- package/dist/_dts/api/src/event-presentation.d.ts +0 -14
- package/dist/_dts/blocks/src/definitions.d.ts +0 -14
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +0 -66
- package/dist/_dts/sdk/src/cli/canonical-entry-policy.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/commands/audit.d.ts +0 -101
- package/dist/_dts/sdk/src/cli/commands/block.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/commands/compare.d.ts +0 -62
- package/dist/_dts/sdk/src/cli/commands/content-type.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/content.d.ts +0 -56
- package/dist/_dts/sdk/src/cli/commands/delete.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/deploy.d.ts +0 -43
- package/dist/_dts/sdk/src/cli/commands/drafts.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/commands/entry.d.ts +0 -55
- package/dist/_dts/sdk/src/cli/commands/env.d.ts +0 -31
- package/dist/_dts/sdk/src/cli/commands/event.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/commands/eventOccurrenceSchedule.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/commands/identifiers.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/init-docs.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/commands/manifest.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/media-validation.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/migrate.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/commands/navigation.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/commands/page.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/publish-all.d.ts +0 -50
- package/dist/_dts/sdk/src/cli/commands/pull-dated-offering-scope.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/commands/pull-dry-run.d.ts +0 -70
- package/dist/_dts/sdk/src/cli/commands/pull-scope-diff.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/commands/pull.d.ts +0 -43
- package/dist/_dts/sdk/src/cli/commands/push/consts.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/push/execute/diff.d.ts +0 -19
- package/dist/_dts/sdk/src/cli/commands/push/execute/footer.d.ts +0 -42
- package/dist/_dts/sdk/src/cli/commands/push/execute/localMediaReporting.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/commands/push/execute/media.d.ts +0 -22
- package/dist/_dts/sdk/src/cli/commands/push/execute/metadata.d.ts +0 -1
- package/dist/_dts/sdk/src/cli/commands/push/execute/reporting.d.ts +0 -7
- package/dist/_dts/sdk/src/cli/commands/push/execute/theme.d.ts +0 -63
- package/dist/_dts/sdk/src/cli/commands/push/filter.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/commands/push/metadata.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/commands/push/normalizeLocalContent.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/commands/push/options.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/commands/push/publishGuidance.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/commands/push/pushAllExtras.d.ts +0 -25
- package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +0 -83
- package/dist/_dts/sdk/src/cli/commands/push/scopes/eventCategories.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/scopes/events.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/scopes/mediaPrep.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/commands/push/scopes/pushScopeGeneric.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +0 -87
- package/dist/_dts/sdk/src/cli/commands/push/scopes/venues.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/commands/push/stale-resolution.d.ts +0 -48
- package/dist/_dts/sdk/src/cli/commands/push/stale.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/commands/push/verification.d.ts +0 -56
- package/dist/_dts/sdk/src/cli/commands/push/workflowPlan.d.ts +0 -34
- package/dist/_dts/sdk/src/cli/commands/push-execute.d.ts +0 -54
- package/dist/_dts/sdk/src/cli/commands/push.d.ts +0 -40
- package/dist/_dts/sdk/src/cli/commands/setup.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/commands/style.d.ts +0 -60
- package/dist/_dts/sdk/src/cli/commands/verify.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/commands/webhooks.d.ts +0 -44
- package/dist/_dts/sdk/src/cli/config-loader.d.ts +0 -47
- package/dist/_dts/sdk/src/cli/content/collectionWriters.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/content/edit/format.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/content/edit/path.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/content/edit/planner.d.ts +0 -46
- package/dist/_dts/sdk/src/cli/content/entryPaths.d.ts +0 -6
- package/dist/_dts/sdk/src/cli/content/footerFile.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/content/fs-utils.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/content/legacyEventScheduleShapeError.d.ts +0 -5
- package/dist/_dts/sdk/src/cli/content/localEventSchedule.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/content/media-manifest.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/content/metadataAfterPush.d.ts +0 -25
- package/dist/_dts/sdk/src/cli/content/metadataStore.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +0 -488
- package/dist/_dts/sdk/src/cli/content/writer.d.ts +0 -142
- package/dist/_dts/sdk/src/cli/env-scope.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/env.d.ts +0 -71
- package/dist/_dts/sdk/src/cli/errors.d.ts +0 -62
- package/dist/_dts/sdk/src/cli/helpers/ai-runtime.d.ts +0 -2
- package/dist/_dts/sdk/src/cli/helpers.d.ts +0 -399
- package/dist/_dts/sdk/src/cli/index.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/init-docs/constants.d.ts +0 -16
- package/dist/_dts/sdk/src/cli/init-docs/index.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/init-docs/templates.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/init-docs/zod-to-markdown.d.ts +0 -28
- package/dist/_dts/sdk/src/cli/load-config.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/media/identifiers.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/media/local-media.d.ts +0 -14
- package/dist/_dts/sdk/src/cli/media/local-sync.d.ts +0 -91
- package/dist/_dts/sdk/src/cli/media/portable.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/media/rich-text.d.ts +0 -12
- package/dist/_dts/sdk/src/cli/media/value-utils.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/media/write-guard.d.ts +0 -52
- package/dist/_dts/sdk/src/cli/merge-remote/entryLocal.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/merge-remote/entryMerge.d.ts +0 -78
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePlan.d.ts +0 -45
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergeReport.d.ts +0 -18
- package/dist/_dts/sdk/src/cli/merge-remote/entryRemote.d.ts +0 -9
- package/dist/_dts/sdk/src/cli/merge-remote/entrySnapshots.d.ts +0 -48
- package/dist/_dts/sdk/src/cli/merge-remote/mergeFieldChanges.d.ts +0 -22
- package/dist/_dts/sdk/src/cli/merge-remote/pageLocal.d.ts +0 -3
- package/dist/_dts/sdk/src/cli/merge-remote/pageMerge.d.ts +0 -78
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePlan.d.ts +0 -36
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergePush.d.ts +0 -23
- package/dist/_dts/sdk/src/cli/merge-remote/pageMergeReport.d.ts +0 -17
- package/dist/_dts/sdk/src/cli/merge-remote/pageSnapshots.d.ts +0 -46
- package/dist/_dts/sdk/src/cli/merge-remote/sharedBaseSnapshots.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergePlan.d.ts +0 -27
- package/dist/_dts/sdk/src/cli/merge-remote/sharedMergeReport.d.ts +0 -63
- package/dist/_dts/sdk/src/cli/migrations/entries.d.ts +0 -28
- package/dist/_dts/sdk/src/cli/migrations/events.d.ts +0 -73
- package/dist/_dts/sdk/src/cli/navigationIdentity.d.ts +0 -11
- package/dist/_dts/sdk/src/cli/output.d.ts +0 -133
- package/dist/_dts/sdk/src/cli/program.d.ts +0 -29
- package/dist/_dts/sdk/src/cli/push-config.d.ts +0 -49
- package/dist/_dts/sdk/src/cli/setup/setupPlan.d.ts +0 -51
- package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +0 -13
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +0 -170
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntimeCompat.d.ts +0 -21
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +0 -32
- package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +0 -65
- package/dist/_dts/sdk/src/cli/site-commands/eventScheduleCompiler.d.ts +0 -24
- package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +0 -68
- package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +0 -53
- package/dist/_dts/sdk/src/cli/site-commands/index.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/site-commands/localBlockManifestResolver.d.ts +0 -31
- package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +0 -57
- package/dist/_dts/sdk/src/cli/site-commands/oneOffCommands.d.ts +0 -82
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +0 -84
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionPlan.d.ts +0 -8
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +0 -97
- package/dist/_dts/sdk/src/cli/site-commands/residualSettingsTrimming.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/sync/diff.d.ts +0 -222
- package/dist/_dts/sdk/src/cli/sync/executor.d.ts +0 -84
- package/dist/_dts/sdk/src/cli/sync/field-diff.d.ts +0 -39
- package/dist/_dts/sdk/src/cli/sync/index.d.ts +0 -10
- package/dist/_dts/sdk/src/cli/sync/mapper.d.ts +0 -41
- package/dist/_dts/sdk/src/cli/sync/media-sync.d.ts +0 -15
- package/dist/_dts/sdk/src/cli/sync/media.d.ts +0 -158
- package/dist/_dts/sdk/src/cli/sync/syncResultAggregation.d.ts +0 -4
- package/dist/_dts/sdk/src/cli/sync/validation.d.ts +0 -68
- package/dist/_dts/sdk/src/cli/utils/checksum.d.ts +0 -1
- package/dist/_dts/sdk/src/client/management/blocks.d.ts +0 -19
- package/dist/_dts/sdk/src/client/management/catalog.d.ts +0 -10
- package/dist/_dts/sdk/src/client/management/entries.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/eventCategories.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/events.d.ts +0 -7
- package/dist/_dts/sdk/src/client/management/footer.d.ts +0 -9
- package/dist/_dts/sdk/src/client/management/forms.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/http.d.ts +0 -79
- package/dist/_dts/sdk/src/client/management/identifiers.d.ts +0 -11
- package/dist/_dts/sdk/src/client/management/index.d.ts +0 -41
- package/dist/_dts/sdk/src/client/management/media.d.ts +0 -72
- package/dist/_dts/sdk/src/client/management/navigation.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/pages.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/pull.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/settings-branding.d.ts +0 -32
- package/dist/_dts/sdk/src/client/management/settings.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/theme.d.ts +0 -8
- package/dist/_dts/sdk/src/client/management/types.d.ts +0 -1069
- package/dist/_dts/sdk/src/client/management/venues.d.ts +0 -6
- package/dist/_dts/sdk/src/client/management/webhooks.d.ts +0 -3
- package/dist/_dts/sdk/src/test/env.d.ts +0 -4
- package/dist/_dts/site-commands/src/adapter.d.ts +0 -23
- package/dist/_dts/site-commands/src/appointmentCommandSchemas.d.ts +0 -100
- package/dist/_dts/site-commands/src/capabilityGaps.d.ts +0 -8
- package/dist/_dts/site-commands/src/commandContract.d.ts +0 -1277
- package/dist/_dts/site-commands/src/commandDomain.d.ts +0 -20
- package/dist/_dts/site-commands/src/commandIdentifiers.d.ts +0 -7
- package/dist/_dts/site-commands/src/commandValidation.d.ts +0 -10
- package/dist/_dts/site-commands/src/commands.d.ts +0 -1983
- package/dist/_dts/site-commands/src/domain.d.ts +0 -104
- package/dist/_dts/site-commands/src/eventCommandContent.d.ts +0 -11
- package/dist/_dts/site-commands/src/exposure.d.ts +0 -41
- package/dist/_dts/site-commands/src/guards.d.ts +0 -1
- package/dist/_dts/site-commands/src/index.d.ts +0 -18
- package/dist/_dts/site-commands/src/metadata.d.ts +0 -555
- package/dist/_dts/site-commands/src/pagePaths.d.ts +0 -6
- package/dist/_dts/site-commands/src/planner.d.ts +0 -58
- package/dist/_dts/site-commands/src/refContributions.d.ts +0 -11
- package/dist/_dts/site-commands/src/refs.d.ts +0 -90
- package/dist/_dts/site-commands/src/siteStyleCommandSchema.d.ts +0 -405
- package/dist/_dts/site-commands/src/siteStyleSelectionSchemaBuilder.d.ts +0 -46
- package/dist/_dts/site-commands/src/stableJson.d.ts +0 -5
- package/dist/_dts/site-commands/src/staticExecutionGaps.d.ts +0 -10
- package/dist/_dts/site-commands/src/venueCommandMapping.d.ts +0 -21
- package/dist/_dts/theme-core/src/data.d.ts +0 -12
- package/dist/_dts/theme-core/src/site-styles/headerLooks.d.ts +0 -841
- package/dist/_dts/theme-core/src/site-styles/headerStyleParts.d.ts +0 -4
- package/dist/cli/index.mjs +0 -162988
- package/dist/cli/init-docs/content/agents-section.md +0 -67
- package/dist/cli/init-docs/content/cli-reference.md +0 -1238
- package/dist/cli/init-docs/content/content-management.md +0 -792
- package/dist/cli/init-docs/content/context-brand.md +0 -125
- package/dist/cli/init-docs/content/context-brief.md +0 -77
- package/dist/cli/init-docs/content/context-knowledge.md +0 -111
- package/dist/cli/init-docs/content/getting-started.md +0 -171
- package/dist/cli/init-docs/content/site-workflows-readme.md +0 -96
- package/dist/cli/init-docs/content/workflow-add-block.md +0 -299
- package/dist/cli/init-docs/content/workflow-agent-safe-sync.md +0 -83
- package/dist/cli/init-docs/content/workflow-block-extensions.md +0 -370
- package/dist/cli/init-docs/content/workflow-cmsify-page.md +0 -357
- package/dist/cli/init-docs/content/workflow-content-types.md +0 -330
- package/dist/cli/init-docs/content/workflow-create-page.md +0 -212
- package/dist/cli/init-docs/content/workflow-custom-block.md +0 -470
- package/dist/cli/init-docs/content/workflow-editor-workflows.md +0 -130
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +0 -158
- package/dist/cli/init-docs/content/workflow-preview-mode.md +0 -252
- package/dist/cli/init-docs/content/workflow-publish.md +0 -285
- package/dist/cli/init-docs/content/workflow-remote-setup.md +0 -51
- package/dist/cli/init-docs/content/workflow-templates.md +0 -381
- /package/dist/_dts/{sdk/src/cli/utils/mime.d.ts → media-core/src/mimeType.d.ts} +0 -0
|
@@ -36,6 +36,8 @@ export type SystemBlockComponent<TContent = Record<string, unknown>> = Component
|
|
|
36
36
|
export type BlockDataLoader = {
|
|
37
37
|
endpoint: string;
|
|
38
38
|
params: Record<string, unknown>;
|
|
39
|
+
/** Resolved request parameters that must be non-empty before this loader runs. */
|
|
40
|
+
requiredParams?: readonly string[];
|
|
39
41
|
mode?: 'server' | 'client';
|
|
40
42
|
/**
|
|
41
43
|
* Optional guard for whether this loader should execute.
|
|
@@ -3,43 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Part of the block API client type surface; re-exported from `../types`.
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
title: string;
|
|
9
|
-
sku: string | null;
|
|
10
|
-
priceCents: number;
|
|
11
|
-
stockQuantity: number | null;
|
|
12
|
-
soldOut: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface PublicProduct {
|
|
15
|
-
id: string;
|
|
16
|
-
contentEntryId: string | null;
|
|
17
|
-
title: string;
|
|
18
|
-
slug: string;
|
|
19
|
-
path: string | null;
|
|
20
|
-
status: "draft" | "active";
|
|
21
|
-
priceCents: number;
|
|
22
|
-
currency: string;
|
|
23
|
-
productType: "physical" | "digital";
|
|
24
|
-
requiresShipping: boolean;
|
|
25
|
-
hasVariants: boolean;
|
|
26
|
-
trackInventory: boolean;
|
|
27
|
-
soldOut: boolean;
|
|
28
|
-
category: {
|
|
29
|
-
id: string;
|
|
30
|
-
name: string;
|
|
31
|
-
slug: string;
|
|
32
|
-
} | null;
|
|
33
|
-
summary: string | null;
|
|
34
|
-
badges: string[];
|
|
35
|
-
ctaLabel: string | null;
|
|
36
|
-
body: unknown;
|
|
37
|
-
gallery: Array<{
|
|
38
|
-
url: string;
|
|
39
|
-
alt: string | null;
|
|
40
|
-
}>;
|
|
41
|
-
variants: PublicProductVariant[];
|
|
42
|
-
}
|
|
6
|
+
import type { PublicProduct } from "../../../blocks/products/shared";
|
|
7
|
+
export type { PublicProduct, PublicProductVariant, } from "../../../blocks/products/shared";
|
|
43
8
|
export interface PublicProductsResponse {
|
|
44
9
|
products: PublicProduct[];
|
|
45
10
|
}
|
|
@@ -896,7 +896,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
896
896
|
}>[];
|
|
897
897
|
}>;
|
|
898
898
|
hydration: Readonly<{
|
|
899
|
-
products: readonly import("
|
|
899
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
900
900
|
showSummary: boolean;
|
|
901
901
|
showPrices: boolean;
|
|
902
902
|
addButtonText: string;
|
|
@@ -939,7 +939,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
939
939
|
}>[];
|
|
940
940
|
}>;
|
|
941
941
|
hydration: Readonly<{
|
|
942
|
-
products: readonly import("
|
|
942
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
943
943
|
showSummary: boolean;
|
|
944
944
|
showPrices: boolean;
|
|
945
945
|
addButtonText: string;
|
|
@@ -976,7 +976,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
976
976
|
}>[];
|
|
977
977
|
}>;
|
|
978
978
|
hydration: Readonly<{
|
|
979
|
-
products: readonly import("
|
|
979
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
980
980
|
showSummary: boolean;
|
|
981
981
|
showPrices: boolean;
|
|
982
982
|
addButtonText: string;
|
|
@@ -1021,7 +1021,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1021
1021
|
}>[];
|
|
1022
1022
|
}>;
|
|
1023
1023
|
hydration: Readonly<{
|
|
1024
|
-
products: readonly import("
|
|
1024
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
1025
1025
|
showSummary: boolean;
|
|
1026
1026
|
showPrices: boolean;
|
|
1027
1027
|
addButtonText: string;
|
|
@@ -1064,7 +1064,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1064
1064
|
}>[];
|
|
1065
1065
|
}>;
|
|
1066
1066
|
hydration: Readonly<{
|
|
1067
|
-
products: readonly import("
|
|
1067
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
1068
1068
|
showSummary: boolean;
|
|
1069
1069
|
showPrices: boolean;
|
|
1070
1070
|
addButtonText: string;
|
|
@@ -1101,7 +1101,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1101
1101
|
}>[];
|
|
1102
1102
|
}>;
|
|
1103
1103
|
hydration: Readonly<{
|
|
1104
|
-
products: readonly import("
|
|
1104
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
1105
1105
|
showSummary: boolean;
|
|
1106
1106
|
showPrices: boolean;
|
|
1107
1107
|
addButtonText: string;
|
|
@@ -1121,7 +1121,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1121
1121
|
buildRender: (source: import("../nodes/shop.interactive").ShopSourceProps) => Readonly<{
|
|
1122
1122
|
display: import("../../../contracts").ProductDetailDisplay;
|
|
1123
1123
|
hydration: Readonly<{
|
|
1124
|
-
products: readonly import("
|
|
1124
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
1125
1125
|
productId: string | null;
|
|
1126
1126
|
showSummary: boolean;
|
|
1127
1127
|
showBody: boolean;
|
|
@@ -1137,7 +1137,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1137
1137
|
encode: (value: Readonly<{
|
|
1138
1138
|
display: import("../../../contracts").ProductDetailDisplay;
|
|
1139
1139
|
hydration: Readonly<{
|
|
1140
|
-
products: readonly import("
|
|
1140
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
1141
1141
|
productId: string | null;
|
|
1142
1142
|
showSummary: boolean;
|
|
1143
1143
|
showBody: boolean;
|
|
@@ -1147,7 +1147,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1147
1147
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
1148
1148
|
display: import("../../../contracts").ProductDetailDisplay;
|
|
1149
1149
|
hydration: Readonly<{
|
|
1150
|
-
products: readonly import("
|
|
1150
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
1151
1151
|
productId: string | null;
|
|
1152
1152
|
showSummary: boolean;
|
|
1153
1153
|
showBody: boolean;
|
|
@@ -1165,7 +1165,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1165
1165
|
buildRender: (source: import("../nodes/shop.interactive").ShopSourceProps) => Readonly<{
|
|
1166
1166
|
display: import("../../../contracts").ProductDetailDisplay;
|
|
1167
1167
|
hydration: Readonly<{
|
|
1168
|
-
products: readonly import("
|
|
1168
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
1169
1169
|
productId: string | null;
|
|
1170
1170
|
showSummary: boolean;
|
|
1171
1171
|
showBody: boolean;
|
|
@@ -1181,7 +1181,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1181
1181
|
encode: (value: Readonly<{
|
|
1182
1182
|
display: import("../../../contracts").ProductDetailDisplay;
|
|
1183
1183
|
hydration: Readonly<{
|
|
1184
|
-
products: readonly import("
|
|
1184
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
1185
1185
|
productId: string | null;
|
|
1186
1186
|
showSummary: boolean;
|
|
1187
1187
|
showBody: boolean;
|
|
@@ -1191,7 +1191,7 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
1191
1191
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
1192
1192
|
display: import("../../../contracts").ProductDetailDisplay;
|
|
1193
1193
|
hydration: Readonly<{
|
|
1194
|
-
products: readonly import("
|
|
1194
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
1195
1195
|
productId: string | null;
|
|
1196
1196
|
showSummary: boolean;
|
|
1197
1197
|
showBody: boolean;
|
|
@@ -2132,7 +2132,14 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2132
2132
|
creditsLabel: string;
|
|
2133
2133
|
perCreditLabel: string | null;
|
|
2134
2134
|
validityLabel: string | null;
|
|
2135
|
-
|
|
2135
|
+
action: Readonly<{
|
|
2136
|
+
kind: "purchase";
|
|
2137
|
+
label: string;
|
|
2138
|
+
product: import("../..").PurchasablePublicPassProduct;
|
|
2139
|
+
}> | Readonly<{
|
|
2140
|
+
kind: "unavailable";
|
|
2141
|
+
label: string;
|
|
2142
|
+
}>;
|
|
2136
2143
|
}>[];
|
|
2137
2144
|
memberships: readonly Readonly<{
|
|
2138
2145
|
id: string;
|
|
@@ -2144,7 +2151,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2144
2151
|
}>[];
|
|
2145
2152
|
}>;
|
|
2146
2153
|
hydration: Readonly<{
|
|
2147
|
-
passes: readonly import("../..").PublicPassProduct[];
|
|
2148
2154
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2149
2155
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
2150
2156
|
buttonVariant: import("../../..").BlockButtonRole;
|
|
@@ -2174,7 +2180,14 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2174
2180
|
creditsLabel: string;
|
|
2175
2181
|
perCreditLabel: string | null;
|
|
2176
2182
|
validityLabel: string | null;
|
|
2177
|
-
|
|
2183
|
+
action: Readonly<{
|
|
2184
|
+
kind: "purchase";
|
|
2185
|
+
label: string;
|
|
2186
|
+
product: import("../..").PurchasablePublicPassProduct;
|
|
2187
|
+
}> | Readonly<{
|
|
2188
|
+
kind: "unavailable";
|
|
2189
|
+
label: string;
|
|
2190
|
+
}>;
|
|
2178
2191
|
}>[];
|
|
2179
2192
|
memberships: readonly Readonly<{
|
|
2180
2193
|
id: string;
|
|
@@ -2186,7 +2199,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2186
2199
|
}>[];
|
|
2187
2200
|
}>;
|
|
2188
2201
|
hydration: Readonly<{
|
|
2189
|
-
passes: readonly import("../..").PublicPassProduct[];
|
|
2190
2202
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2191
2203
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
2192
2204
|
buttonVariant: import("../../..").BlockButtonRole;
|
|
@@ -2210,7 +2222,14 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2210
2222
|
creditsLabel: string;
|
|
2211
2223
|
perCreditLabel: string | null;
|
|
2212
2224
|
validityLabel: string | null;
|
|
2213
|
-
|
|
2225
|
+
action: Readonly<{
|
|
2226
|
+
kind: "purchase";
|
|
2227
|
+
label: string;
|
|
2228
|
+
product: import("../..").PurchasablePublicPassProduct;
|
|
2229
|
+
}> | Readonly<{
|
|
2230
|
+
kind: "unavailable";
|
|
2231
|
+
label: string;
|
|
2232
|
+
}>;
|
|
2214
2233
|
}>[];
|
|
2215
2234
|
memberships: readonly Readonly<{
|
|
2216
2235
|
id: string;
|
|
@@ -2222,7 +2241,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2222
2241
|
}>[];
|
|
2223
2242
|
}>;
|
|
2224
2243
|
hydration: Readonly<{
|
|
2225
|
-
passes: readonly import("../..").PublicPassProduct[];
|
|
2226
2244
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2227
2245
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
2228
2246
|
buttonVariant: import("../../..").BlockButtonRole;
|
|
@@ -2254,7 +2272,14 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2254
2272
|
creditsLabel: string;
|
|
2255
2273
|
perCreditLabel: string | null;
|
|
2256
2274
|
validityLabel: string | null;
|
|
2257
|
-
|
|
2275
|
+
action: Readonly<{
|
|
2276
|
+
kind: "purchase";
|
|
2277
|
+
label: string;
|
|
2278
|
+
product: import("../..").PurchasablePublicPassProduct;
|
|
2279
|
+
}> | Readonly<{
|
|
2280
|
+
kind: "unavailable";
|
|
2281
|
+
label: string;
|
|
2282
|
+
}>;
|
|
2258
2283
|
}>[];
|
|
2259
2284
|
memberships: readonly Readonly<{
|
|
2260
2285
|
id: string;
|
|
@@ -2266,7 +2291,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2266
2291
|
}>[];
|
|
2267
2292
|
}>;
|
|
2268
2293
|
hydration: Readonly<{
|
|
2269
|
-
passes: readonly import("../..").PublicPassProduct[];
|
|
2270
2294
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2271
2295
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
2272
2296
|
buttonVariant: import("../../..").BlockButtonRole;
|
|
@@ -2296,7 +2320,14 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2296
2320
|
creditsLabel: string;
|
|
2297
2321
|
perCreditLabel: string | null;
|
|
2298
2322
|
validityLabel: string | null;
|
|
2299
|
-
|
|
2323
|
+
action: Readonly<{
|
|
2324
|
+
kind: "purchase";
|
|
2325
|
+
label: string;
|
|
2326
|
+
product: import("../..").PurchasablePublicPassProduct;
|
|
2327
|
+
}> | Readonly<{
|
|
2328
|
+
kind: "unavailable";
|
|
2329
|
+
label: string;
|
|
2330
|
+
}>;
|
|
2300
2331
|
}>[];
|
|
2301
2332
|
memberships: readonly Readonly<{
|
|
2302
2333
|
id: string;
|
|
@@ -2308,7 +2339,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2308
2339
|
}>[];
|
|
2309
2340
|
}>;
|
|
2310
2341
|
hydration: Readonly<{
|
|
2311
|
-
passes: readonly import("../..").PublicPassProduct[];
|
|
2312
2342
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2313
2343
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
2314
2344
|
buttonVariant: import("../../..").BlockButtonRole;
|
|
@@ -2332,7 +2362,14 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2332
2362
|
creditsLabel: string;
|
|
2333
2363
|
perCreditLabel: string | null;
|
|
2334
2364
|
validityLabel: string | null;
|
|
2335
|
-
|
|
2365
|
+
action: Readonly<{
|
|
2366
|
+
kind: "purchase";
|
|
2367
|
+
label: string;
|
|
2368
|
+
product: import("../..").PurchasablePublicPassProduct;
|
|
2369
|
+
}> | Readonly<{
|
|
2370
|
+
kind: "unavailable";
|
|
2371
|
+
label: string;
|
|
2372
|
+
}>;
|
|
2336
2373
|
}>[];
|
|
2337
2374
|
memberships: readonly Readonly<{
|
|
2338
2375
|
id: string;
|
|
@@ -2344,7 +2381,6 @@ export declare const runtimeBackedBlockClientEntries: {
|
|
|
2344
2381
|
}>[];
|
|
2345
2382
|
}>;
|
|
2346
2383
|
hydration: Readonly<{
|
|
2347
|
-
passes: readonly import("../..").PublicPassProduct[];
|
|
2348
2384
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
2349
2385
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
2350
2386
|
buttonVariant: import("../../..").BlockButtonRole;
|
|
@@ -2382,6 +2418,7 @@ export declare const clientComponentRegistryEntries: {
|
|
|
2382
2418
|
component: React.ComponentType<{
|
|
2383
2419
|
[key: string]: unknown;
|
|
2384
2420
|
className?: string;
|
|
2421
|
+
runtime?: import("../header/runtimeContract").HeaderChromeRuntimeContract;
|
|
2385
2422
|
blockId?: string;
|
|
2386
2423
|
blockKind?: string;
|
|
2387
2424
|
blockContent?: unknown;
|
|
@@ -466,7 +466,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
466
466
|
}>[];
|
|
467
467
|
}>;
|
|
468
468
|
hydration: Readonly<{
|
|
469
|
-
products: readonly import("
|
|
469
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
470
470
|
showSummary: boolean;
|
|
471
471
|
showPrices: boolean;
|
|
472
472
|
addButtonText: string;
|
|
@@ -509,7 +509,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
509
509
|
}>[];
|
|
510
510
|
}>;
|
|
511
511
|
hydration: Readonly<{
|
|
512
|
-
products: readonly import("
|
|
512
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
513
513
|
showSummary: boolean;
|
|
514
514
|
showPrices: boolean;
|
|
515
515
|
addButtonText: string;
|
|
@@ -546,7 +546,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
546
546
|
}>[];
|
|
547
547
|
}>;
|
|
548
548
|
hydration: Readonly<{
|
|
549
|
-
products: readonly import("
|
|
549
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
550
550
|
showSummary: boolean;
|
|
551
551
|
showPrices: boolean;
|
|
552
552
|
addButtonText: string;
|
|
@@ -564,7 +564,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
564
564
|
buildRender: (source: import("../nodes/shop.interactive").ShopSourceProps) => Readonly<{
|
|
565
565
|
display: import("../../../contracts").ProductDetailDisplay;
|
|
566
566
|
hydration: Readonly<{
|
|
567
|
-
products: readonly import("
|
|
567
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
568
568
|
productId: string | null;
|
|
569
569
|
showSummary: boolean;
|
|
570
570
|
showBody: boolean;
|
|
@@ -580,7 +580,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
580
580
|
encode: (value: Readonly<{
|
|
581
581
|
display: import("../../../contracts").ProductDetailDisplay;
|
|
582
582
|
hydration: Readonly<{
|
|
583
|
-
products: readonly import("
|
|
583
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
584
584
|
productId: string | null;
|
|
585
585
|
showSummary: boolean;
|
|
586
586
|
showBody: boolean;
|
|
@@ -590,7 +590,7 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
590
590
|
decode: (input: unknown) => import("../../../contracts").DecodeResult<Readonly<{
|
|
591
591
|
display: import("../../../contracts").ProductDetailDisplay;
|
|
592
592
|
hydration: Readonly<{
|
|
593
|
-
products: readonly import("
|
|
593
|
+
products: readonly import("../api/types").PublicProduct[];
|
|
594
594
|
productId: string | null;
|
|
595
595
|
showSummary: boolean;
|
|
596
596
|
showBody: boolean;
|
|
@@ -1074,7 +1074,14 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1074
1074
|
creditsLabel: string;
|
|
1075
1075
|
perCreditLabel: string | null;
|
|
1076
1076
|
validityLabel: string | null;
|
|
1077
|
-
|
|
1077
|
+
action: Readonly<{
|
|
1078
|
+
kind: "purchase";
|
|
1079
|
+
label: string;
|
|
1080
|
+
product: import("../..").PurchasablePublicPassProduct;
|
|
1081
|
+
}> | Readonly<{
|
|
1082
|
+
kind: "unavailable";
|
|
1083
|
+
label: string;
|
|
1084
|
+
}>;
|
|
1078
1085
|
}>[];
|
|
1079
1086
|
memberships: readonly Readonly<{
|
|
1080
1087
|
id: string;
|
|
@@ -1086,7 +1093,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1086
1093
|
}>[];
|
|
1087
1094
|
}>;
|
|
1088
1095
|
hydration: Readonly<{
|
|
1089
|
-
passes: readonly import("../..").PublicPassProduct[];
|
|
1090
1096
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
1091
1097
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
1092
1098
|
buttonVariant: import("../../..").BlockButtonRole;
|
|
@@ -1116,7 +1122,14 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1116
1122
|
creditsLabel: string;
|
|
1117
1123
|
perCreditLabel: string | null;
|
|
1118
1124
|
validityLabel: string | null;
|
|
1119
|
-
|
|
1125
|
+
action: Readonly<{
|
|
1126
|
+
kind: "purchase";
|
|
1127
|
+
label: string;
|
|
1128
|
+
product: import("../..").PurchasablePublicPassProduct;
|
|
1129
|
+
}> | Readonly<{
|
|
1130
|
+
kind: "unavailable";
|
|
1131
|
+
label: string;
|
|
1132
|
+
}>;
|
|
1120
1133
|
}>[];
|
|
1121
1134
|
memberships: readonly Readonly<{
|
|
1122
1135
|
id: string;
|
|
@@ -1128,7 +1141,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1128
1141
|
}>[];
|
|
1129
1142
|
}>;
|
|
1130
1143
|
hydration: Readonly<{
|
|
1131
|
-
passes: readonly import("../..").PublicPassProduct[];
|
|
1132
1144
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
1133
1145
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
1134
1146
|
buttonVariant: import("../../..").BlockButtonRole;
|
|
@@ -1152,7 +1164,14 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1152
1164
|
creditsLabel: string;
|
|
1153
1165
|
perCreditLabel: string | null;
|
|
1154
1166
|
validityLabel: string | null;
|
|
1155
|
-
|
|
1167
|
+
action: Readonly<{
|
|
1168
|
+
kind: "purchase";
|
|
1169
|
+
label: string;
|
|
1170
|
+
product: import("../..").PurchasablePublicPassProduct;
|
|
1171
|
+
}> | Readonly<{
|
|
1172
|
+
kind: "unavailable";
|
|
1173
|
+
label: string;
|
|
1174
|
+
}>;
|
|
1156
1175
|
}>[];
|
|
1157
1176
|
memberships: readonly Readonly<{
|
|
1158
1177
|
id: string;
|
|
@@ -1164,7 +1183,6 @@ export declare const runtimeBackedBlockServerEntries: {
|
|
|
1164
1183
|
}>[];
|
|
1165
1184
|
}>;
|
|
1166
1185
|
hydration: Readonly<{
|
|
1167
|
-
passes: readonly import("../..").PublicPassProduct[];
|
|
1168
1186
|
memberships: readonly import("../..").PublicMembershipProduct[];
|
|
1169
1187
|
passPurchaseMode: "add_to_cart" | "buy_now";
|
|
1170
1188
|
buttonVariant: import("../../..").BlockButtonRole;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
+
import { type HeaderChromeRuntimeContract } from './runtimeContract';
|
|
1
2
|
export type HeaderChromeRuntimeOptions = {
|
|
2
|
-
/**
|
|
3
|
-
|
|
4
|
-
* If omitted, inferred from DOM (`.rb-header-shrink` class on the section target).
|
|
5
|
-
*/
|
|
6
|
-
scrollEnabled?: boolean;
|
|
3
|
+
/** Semantic runtime requirements derived from the effective header theme. */
|
|
4
|
+
runtime?: HeaderChromeRuntimeContract;
|
|
7
5
|
/**
|
|
8
6
|
* Optional explicit target to receive the `header-scrolled` class.
|
|
9
7
|
* If omitted, the enhancer uses the first non-script child element.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const headerScrollRuntimeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3
|
+
kind: z.ZodLiteral<"none">;
|
|
4
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
kind: z.ZodLiteral<"threshold">;
|
|
6
|
+
}, z.core.$strip>], "kind">;
|
|
7
|
+
export type HeaderScrollRuntime = z.infer<typeof headerScrollRuntimeSchema>;
|
|
8
|
+
export declare const headerChromeRuntimeContractSchema: z.ZodObject<{
|
|
9
|
+
scroll: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10
|
+
kind: z.ZodLiteral<"none">;
|
|
11
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12
|
+
kind: z.ZodLiteral<"threshold">;
|
|
13
|
+
}, z.core.$strip>], "kind">;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export type HeaderChromeRuntimeContract = z.infer<typeof headerChromeRuntimeContractSchema>;
|
|
16
|
+
export declare const staticHeaderChromeRuntime: {
|
|
17
|
+
readonly scroll: {
|
|
18
|
+
readonly kind: "none";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export declare function isHeaderScrollRuntimeEnabled(header: unknown): boolean;
|
|
22
|
+
export declare function resolveHeaderChromeRuntimeContract(header: unknown): HeaderChromeRuntimeContract;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PublicMembershipProduct, PublicPassProduct } from '../../../../blocks/shop';
|
|
1
|
+
import type { PublicMembershipProduct, PublicPassProduct, PurchasablePublicPassProduct } from '../../../../blocks/shop';
|
|
2
2
|
import type { PublicProduct } from '../../../../blocks/products/shared';
|
|
3
3
|
import type { CommerceCartItem, CommerceCheckoutState } from '../../shop-commerce.shared';
|
|
4
4
|
export declare function formatCommercePrice(cents: number, currency: string): string;
|
|
@@ -67,7 +67,14 @@ export type PassCardDisplay = Readonly<{
|
|
|
67
67
|
creditsLabel: string;
|
|
68
68
|
perCreditLabel: string | null;
|
|
69
69
|
validityLabel: string | null;
|
|
70
|
-
|
|
70
|
+
action: Readonly<{
|
|
71
|
+
kind: 'purchase';
|
|
72
|
+
label: string;
|
|
73
|
+
product: PurchasablePublicPassProduct;
|
|
74
|
+
}> | Readonly<{
|
|
75
|
+
kind: 'unavailable';
|
|
76
|
+
label: string;
|
|
77
|
+
}>;
|
|
71
78
|
}>;
|
|
72
79
|
export type MembershipCardDisplay = Readonly<{
|
|
73
80
|
id: string;
|
|
@@ -37,6 +37,9 @@ export declare function PassCardView(props: Readonly<{
|
|
|
37
37
|
action: React.ReactNode;
|
|
38
38
|
feedback?: React.ReactNode;
|
|
39
39
|
}>): React.JSX.Element;
|
|
40
|
+
export declare function PassPurchaseUnavailable(props: Readonly<{
|
|
41
|
+
label: string;
|
|
42
|
+
}>): React.JSX.Element;
|
|
40
43
|
export declare function MembershipCardView(props: Readonly<{
|
|
41
44
|
display: MembershipCardDisplay;
|
|
42
45
|
action: React.ReactNode;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type HeaderChromeRuntimeContract } from '../header/runtimeContract';
|
|
2
3
|
type HeaderSectionNodeProps = React.PropsWithChildren<{
|
|
3
4
|
className?: string;
|
|
5
|
+
runtime?: HeaderChromeRuntimeContract;
|
|
4
6
|
blockId?: string;
|
|
5
7
|
blockKind?: string;
|
|
6
8
|
blockContent?: unknown;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { type ReactNode, type Ref } from 'react';
|
|
2
|
+
export type HeaderSectionFrameProps = React.PropsWithChildren<{
|
|
3
|
+
rootRef?: Ref<HTMLElement>;
|
|
4
|
+
rootClassName: string;
|
|
5
|
+
sectionClassName?: string;
|
|
6
|
+
blockId?: string | null;
|
|
7
|
+
blockKind?: string;
|
|
8
|
+
previewSiteChromeSurface?: string;
|
|
9
|
+
islandMounted?: boolean;
|
|
10
|
+
islandId?: string;
|
|
11
|
+
islandPropsNode?: ReactNode;
|
|
12
|
+
hasBlockContent?: boolean;
|
|
13
|
+
hasFragmentRegistry?: boolean;
|
|
14
|
+
pathBase?: string;
|
|
15
|
+
as?: React.ElementType;
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
background?: string;
|
|
18
|
+
dataSlot?: string;
|
|
19
|
+
}>;
|
|
20
|
+
/** Shared DOM frame for server-rendered and React-owned site headers. */
|
|
21
|
+
export declare function HeaderSectionFrame({ rootRef, rootClassName, sectionClassName, blockId, blockKind, previewSiteChromeSurface, islandMounted, islandId, islandPropsNode, hasBlockContent, hasFragmentRegistry, pathBase, as, style, background, dataSlot, children, }: HeaderSectionFrameProps): React.JSX.Element;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { type HeaderChromeRuntimeContract } from "../header/runtimeContract";
|
|
2
3
|
type HeaderSectionNodeProps = React.PropsWithChildren<{
|
|
3
4
|
blockId?: string | null;
|
|
4
5
|
className?: string;
|
|
6
|
+
runtime?: HeaderChromeRuntimeContract;
|
|
5
7
|
"data-preview-site-chrome-surface"?: string;
|
|
6
8
|
[key: string]: unknown;
|
|
7
9
|
}>;
|