@riverbankcms/sdk 0.68.0 → 0.70.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/dist/_dts/api/src/accessAdmin.d.ts +3 -3
- package/dist/_dts/api/src/admin/types.d.ts +1 -1
- package/dist/_dts/api/src/aiPlayground.d.ts +13 -87
- package/dist/_dts/api/src/appointmentSetup.d.ts +4 -0
- package/dist/_dts/api/src/billing.d.ts +1 -1
- package/dist/_dts/api/src/bookingConfig.d.ts +2 -2
- package/dist/_dts/api/src/bookingRecords.d.ts +1 -1
- package/dist/_dts/api/src/bookings.d.ts +1 -1
- package/dist/_dts/api/src/commercePortalEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/communications.d.ts +1 -1
- package/dist/_dts/api/src/contentRuntime.d.ts +2 -2
- package/dist/_dts/api/src/contentTypes.d.ts +1 -1
- package/dist/_dts/api/src/navigation/contracts.d.ts +9 -9
- package/dist/_dts/api/src/navigation/linkValue.d.ts +1 -1
- package/dist/_dts/api/src/navigation/types.d.ts +1 -1
- package/dist/_dts/api/src/public/index.d.ts +2 -2
- package/dist/_dts/api/src/public/types.d.ts +2 -2
- package/dist/_dts/api/src/sdkConfig/contracts.d.ts +1 -2
- package/dist/_dts/api/src/sdkContracts.d.ts +1 -1
- package/dist/_dts/api/src/siteBanner.d.ts +9 -9
- package/dist/_dts/api/src/siteManagementEndpoints.d.ts +2 -2
- package/dist/_dts/api/src/siteOnboarding.d.ts +1 -1
- package/dist/_dts/api/src/sitePlatformEndpoints.d.ts +1 -1
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +5 -5
- package/dist/_dts/api/src/siteSettings.d.ts +3 -3
- package/dist/_dts/api/src/teamMembers.d.ts +1 -1
- package/dist/_dts/api/src/types.d.ts +1 -1
- package/dist/_dts/api/src/url.d.ts +1 -1
- package/dist/_dts/billing/src/components/index.d.ts +61 -3
- package/dist/_dts/block-form/src/backend/store-backend.d.ts +1 -1
- package/dist/_dts/block-form/src/backend/types.d.ts +2 -2
- package/dist/_dts/block-form/src/blockDraftSaveability.d.ts +2 -2
- package/dist/_dts/block-form/src/context/ImageResolveContext.d.ts +1 -1
- package/dist/_dts/block-form/src/fields/types.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/ManifestForm.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/canonicalValidation.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/manifestFormAdapter.d.ts +1 -1
- package/dist/_dts/block-form/src/manifest/mergeManifestWithSdkOptions.d.ts +1 -1
- package/dist/_dts/block-form/src/sdk-config/SdkConfigContext.d.ts +1 -1
- package/dist/_dts/block-form/src/shared/disclosure.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/BackgroundGradientWidget/BackgroundGradientWidget.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/DateField/datePickerPopover.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/RepeaterLayoutGrid.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/components/layoutGridDomain.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/hooks/useRepeaterPointerDragCapability.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterDndDomain.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/repeaterPresentation.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RepeaterField/utils/resolveThumbnail.d.ts +1 -1
- package/dist/_dts/block-form/src/widgets/RichTextField/richTextFieldSchema.d.ts +4 -4
- package/dist/_dts/block-form/src/widgets/constants.d.ts +1 -1
- package/dist/_dts/blocks/src/PageRenderer.d.ts +1 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/client.d.ts +6 -4
- package/dist/_dts/blocks/src/index.d.ts +28 -27
- package/dist/_dts/blocks/src/portal/types.d.ts +1 -1
- package/dist/_dts/blocks/src/primitives/content/components/Button.d.ts +1 -1
- package/dist/_dts/blocks/src/rendering/server.d.ts +1 -1
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/structure/schema.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +1666 -1666
- package/dist/_dts/blocks/src/system/blocks/blog-post.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +1666 -1666
- package/dist/_dts/blocks/src/system/blocks/columns.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/pricing.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +42 -42
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +1764 -1764
- 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 +44 -44
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +9 -9
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +139 -139
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +19 -19
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +1665 -1665
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +1 -1
- package/dist/_dts/blocks/src/system/componentFactory.d.ts +1 -1
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +5 -5
- package/dist/_dts/blocks/src/system/designCapabilities.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +1 -1
- package/dist/_dts/blocks/src/system/fragments/library/card.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/ctaRow.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/feedbackCallout.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/fragments/library/sectionState.d.ts +1761 -1761
- package/dist/_dts/blocks/src/system/frame/frameStyles.d.ts +3 -3
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/augmentManifest.d.ts +1 -1
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +201 -201
- package/dist/_dts/blocks/src/system/media/constrainedVideoMedia.d.ts +1 -1
- package/dist/_dts/blocks/src/system/media/slotContracts.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/ctaButton.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/fragments/typography.d.ts +1 -1
- package/dist/_dts/blocks/src/system/node/schema.d.ts +5 -5
- package/dist/_dts/blocks/src/system/registry.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/api/types.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/header/shared.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/hooks/useHeadlessBookingFlow.state.d.ts +2 -2
- package/dist/_dts/blocks/src/system/runtime/nodes/accordion.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/accordion.server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/basic.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.headless.state.d.ts +45 -29
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.reserved-fields.d.ts +27 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/booking-form.state.d.ts +11 -7
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/timetableModel.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/utils.d.ts +3 -3
- package/dist/_dts/blocks/src/system/runtime/nodes/location-map.shared.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/LeafletStaticMap.d.ts +1 -1
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +6 -6
- package/dist/_dts/blocks/src/system/runtime/shared/bookingPaymentOptionCopy.d.ts +1 -1
- package/dist/_dts/blocks/src/system/theme/index.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/layout.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/registry/ui.d.ts +1 -1
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -3
- package/dist/_dts/blocks/src/system/types/link.d.ts +3 -3
- package/dist/_dts/content-editor/src/components/ContentFieldsForm.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/buildBlockPublishedBaselines.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/buildPublishSuccessTransition.d.ts +2 -2
- package/dist/_dts/content-editor/src/controller/deriveRecoveryConflict.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/invalidBlockRecovery.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/seedDraftBaselinesFromBlocks.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useBlocksList.d.ts +1 -1
- package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +3 -3
- package/dist/_dts/content-editor/src/controller/useInvalidBlockRecovery.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/blockedPublishPlan.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useEntryMutations.d.ts +2 -2
- package/dist/_dts/content-editor/src/hooks/useStoreAutosave.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/validateBlocksForPublish.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewRichTextEditor.d.ts +1 -1
- package/dist/_dts/content-editor/src/primitives/PreviewTextEditor.d.ts +1 -1
- package/dist/_dts/content-editor/src/registry.d.ts +1 -1
- package/dist/_dts/content-editor/src/services/contentEntryServices.d.ts +2 -2
- package/dist/_dts/content-editor/src/types.d.ts +2 -2
- package/dist/_dts/content-editor/src/ui/blockValidationView.d.ts +3 -3
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/stores/types.d.ts +1 -1
- package/dist/_dts/content-editor/src/ui/stores/utils.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
- package/dist/_dts/core/src/branded.d.ts +2 -0
- package/dist/_dts/core/src/index.d.ts +2 -0
- package/dist/_dts/core/src/planner.d.ts +64 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +17 -18
- package/dist/_dts/db/src/schemas/forms.d.ts +62 -62
- package/dist/_dts/editor-blocks/src/BlockEditor.d.ts +5 -5
- package/dist/_dts/editor-blocks/src/BlockForm.d.ts +5 -5
- package/dist/_dts/editor-blocks/src/FormProvider.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockCard.d.ts +6 -6
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardBody.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/BlockCardHeader.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockListContext.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockSettingsModal.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/BlockThumbnail.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/BlockTile.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/EnhancedBlockPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/SortableBlockItem.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/blockDiscovery.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/buildInsertBlockHistoryCommand.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockBaselineSync.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockCreation.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockDuplication.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useBlockReorder.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/hooks/useDraftContent.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/preparedManifest.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/block-editor/sdkBlockMerger.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/block-editor/settingsIntent.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-editor/types.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/block-form/debug.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/blockPayload.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/index.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +6 -6
- 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/context.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/EntryPickerWidgetProvider.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/entry-picker/loaders.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/types.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/icon-picker/IconPickerField.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPickerDialog.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/link/types.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/link/utils.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/reference/ReferenceWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/dynamicAdapters.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/reference/types.d.ts +3 -3
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextField.d.ts +2 -2
- package/dist/_dts/editor-blocks/src/widgets/rich-text/RichTextWidgetProvider.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/ensureRichTextImageAssetIdentifier.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/rich-text/richTextImageHydration.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/shared/Combobox.d.ts +1 -1
- package/dist/_dts/media-core/src/fileAssetCompatibility.d.ts +1 -1
- package/dist/_dts/media-core/src/fileAssetDeletion.d.ts +1 -1
- package/dist/_dts/media-core/src/fileDomain.d.ts +1 -1
- package/dist/_dts/media-core/src/fileDownloadResolution.d.ts +1 -1
- package/dist/_dts/media-core/src/filePersistence.d.ts +1 -1
- package/dist/_dts/media-core/src/fileStorage.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadAssetBuilder.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadCleanup.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadCompletion.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadDurableFinalization.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadFinalization.d.ts +1 -1
- package/dist/_dts/media-core/src/fileUploadSessionCreation.d.ts +1 -1
- package/dist/_dts/media-core/src/types.d.ts +2 -2
- package/dist/_dts/media-core/src/url.d.ts +1 -1
- package/dist/_dts/media-core/src/videoPrep.d.ts +1 -1
- package/dist/_dts/media-editor/src/CropDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +2 -2
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +1 -1
- package/dist/_dts/media-editor/src/context.d.ts +3 -3
- package/dist/_dts/media-editor/src/createMediaEditorProvider.d.ts +1 -1
- package/dist/_dts/media-editor/src/cropEditorSource.d.ts +1 -1
- package/dist/_dts/media-editor/src/debug.d.ts +1 -1
- package/dist/_dts/media-editor/src/provider.d.ts +3 -3
- package/dist/_dts/media-editor/src/runtimeMediaAssetState.d.ts +1 -1
- package/dist/_dts/media-editor/src/transformModel.d.ts +1 -1
- package/dist/_dts/media-editor/src/types.d.ts +2 -2
- package/dist/_dts/media-editor/src/utils.d.ts +1 -1
- package/dist/_dts/media-react/src/components/ImageCropper.d.ts +1 -1
- package/dist/_dts/media-react/src/components/cropDraftModel.d.ts +1 -1
- package/dist/_dts/media-react/src/components/cropGeometry.d.ts +1 -1
- package/dist/_dts/media-react/src/components/cropSessionState.d.ts +1 -1
- package/dist/_dts/media-react/src/components/useImageCropperController.d.ts +1 -1
- package/dist/_dts/media-react/src/ffmpegLoader.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/internal/classification.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/mediaAssetResponseMapper.d.ts +1 -1
- package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +4 -4
- package/dist/_dts/media-react/src/utils/rotation.d.ts +1 -1
- package/dist/_dts/media-react/src/videoFrameExtraction.d.ts +1 -1
- package/dist/_dts/media-react/src/videoPrepBrowser.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/BoundaryControl.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/EditablePageRenderer.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/composePageFromBlocks.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/composer/mergeDrafts.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/composer/types.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/blocks/customizeFacetControls.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/editorRegistry.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/blocks/pageDesignRuntimePreview.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/aiProposalProjection.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/applyPreviewProjections.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/runtimeContentDecoration.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/EntryEditorPanel.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/OnboardingThemeSwitcher.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/PageDesignEditorStateContext.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewAuthBanner.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorSidebar.d.ts +9 -9
- package/dist/_dts/preview-next/src/client/preview/PreviewEditorUI.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewEntryControllerProvider.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/PreviewShell.d.ts +8 -8
- package/dist/_dts/preview-next/src/client/preview/PreviewShellLayout.d.ts +8 -8
- package/dist/_dts/preview-next/src/client/preview/PreviewViewportControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/PreviewZoomControls.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.d.ts +5 -5
- package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/pageSchema.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewChromeSurface.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewChromeSurfacePolicy.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeRuntimePatch.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeWorkflowState.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/previewSurface.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeLookRows.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/preview/styleConfiguratorSnapshot.d.ts +4 -4
- package/dist/_dts/preview-next/src/client/preview/subrouteNotice.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/themeOverlay.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/sdk/SdkPreviewMode.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/widgets/PreviewMediaField.d.ts +2 -2
- package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +3 -3
- package/dist/_dts/preview-next/src/client/widgets/widgetOverrides.d.ts +3 -3
- package/dist/_dts/sdk/src/bookings/index.d.ts +3 -2
- package/dist/_dts/sdk/src/bookings/types.d.ts +16 -10
- package/dist/_dts/sdk/src/cli/commands/push/scopes/commandBackedDatedOfferingScope.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/commands/push/scopes/types.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/content/reader.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/env.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/merge-remote/entryMergePush.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/push-config.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/commandKeys.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/commandRuntime.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/commandSurfaceDispatch.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/datedOfferingCommands.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/entryCommands.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/footerCommands.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/formCommands.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/navigationCommands.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/pageCommands.d.ts +2 -2
- package/dist/_dts/sdk/src/cli/site-commands/pushExecution.d.ts +1 -1
- package/dist/_dts/sdk/src/cli/site-commands/pushExecutionTypes.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +37 -43
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +19 -19
- package/dist/_dts/sdk/src/portal/config.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/constants.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/cookies.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/middleware.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +1 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +18 -4
- package/dist/_dts/sdk/src/rendering/islands/blocksContracts.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +3 -3
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +3 -3
- package/dist/_dts/sdk/src/theme-bridge/ThemeBridgeProvider.d.ts +2 -2
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/adapter.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +70 -39
- package/dist/_dts/site-commands/src/domain.d.ts +2 -2
- package/dist/_dts/site-commands/src/exposure.d.ts +3 -3
- package/dist/_dts/site-commands/src/metadata.d.ts +13 -0
- package/dist/_dts/site-commands/src/planner.d.ts +1 -1
- package/dist/_dts/site-commands/src/refs.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +9 -9
- package/dist/_dts/theme-core/src/blocks/index.d.ts +2 -2
- package/dist/_dts/theme-core/src/blocks/types.d.ts +3 -2
- package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +35 -35
- package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/showtime-pill.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +5 -5
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/buttons/types.d.ts +18 -18
- package/dist/_dts/theme-core/src/cards/types.d.ts +17 -17
- package/dist/_dts/theme-core/src/inputs/types.d.ts +13 -13
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +1 -1
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +351 -351
- package/dist/_dts/theme-core/src/navigation/types.d.ts +15 -15
- package/dist/_dts/theme-core/src/palette/recipes/allRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/palette/variants/brand-led.d.ts +24 -24
- package/dist/_dts/theme-core/src/palette/variants/high-contrast.d.ts +18 -18
- package/dist/_dts/theme-core/src/palette/variants/index.d.ts +65 -65
- package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +18 -18
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/palette/variants/warm-neutral.d.ts +18 -18
- package/dist/_dts/theme-core/src/progress/generateProgressCss.d.ts +2 -1
- package/dist/_dts/theme-core/src/recommend/generateThemes.d.ts +1 -1
- package/dist/_dts/theme-core/src/runtime/buildThemeRuntimeFromBridge.d.ts +4 -0
- package/dist/_dts/theme-core/src/schema.d.ts +568 -568
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +34 -34
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/pageDesignAuthority.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/siteStyleBlockPolicies.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +14 -14
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +4 -4
- package/dist/_dts/theme-core/src/status/generateStatusCss.d.ts +2 -1
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +5 -5
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +2 -2
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/color-picker.d.ts +1 -1
- package/dist/_dts/ui/src/surface.d.ts +2 -2
- package/dist/_dts/ui/src/toggle.d.ts +4 -4
- package/dist/cli/index.mjs +3031 -2878
- package/dist/client/bookings.mjs +104 -34
- package/dist/client/client.mjs +7757 -7627
- package/dist/client/hooks.mjs +5704 -3822
- package/dist/client/rendering/client.mjs +164 -35
- package/dist/client/rendering/islands.mjs +164 -35
- package/dist/client/rendering.mjs +476 -346
- package/dist/preview-next/client/runtime.mjs +188 -55
- package/dist/server/components.mjs +364 -310
- package/dist/server/config-validation.mjs +6851 -4889
- package/dist/server/config.mjs +6841 -4888
- package/dist/server/data.mjs +5704 -3822
- package/dist/server/index.mjs +160 -1762
- package/dist/server/next.mjs +6515 -5260
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +366 -312
- package/dist/server/rendering.mjs +366 -312
- package/dist/server/routing.mjs +10376 -6836
- package/dist/server/server.mjs +5692 -3810
- package/dist/server/theme-bridge.mjs +249 -15
- package/package.json +1 -3
|
@@ -72,7 +72,7 @@ export declare const transformDefinitions: {
|
|
|
72
72
|
reverseClass: string;
|
|
73
73
|
}>;
|
|
74
74
|
readonly "ui.twoColumnFlexBasis": TransformDefinition<{
|
|
75
|
-
side: "
|
|
75
|
+
side: "image" | "text";
|
|
76
76
|
}>;
|
|
77
77
|
readonly "media.fromUrl": TransformDefinition<{
|
|
78
78
|
width?: number;
|
|
@@ -109,9 +109,9 @@ export declare function bindProp(from: string, opts?: {
|
|
|
109
109
|
pick?: "value" | "collection" | "context";
|
|
110
110
|
}): {
|
|
111
111
|
readonly $bind: {
|
|
112
|
-
readonly pick?: "value" | "
|
|
112
|
+
readonly pick?: "value" | "collection" | "context" | undefined;
|
|
113
113
|
readonly fallback?: {} | null | undefined;
|
|
114
|
-
readonly transforms?: TransformStep<"
|
|
114
|
+
readonly transforms?: TransformStep<"date.formatShort" | "boxStyles.semanticGap" | "boxStyles.semanticGapValue" | "ui.twoColumnContainerClass" | "ui.twoColumnFlexBasis" | "ui.sectionStateTone" | "string.uppercase" | "value.fallback" | "value.csv" | "layout.maxWidthClass" | "layout.headerRootClass" | "layout.footerRootClass" | "layout.headerRootStyle" | "layout.footerRootStyle" | "ui.headerNavLinkClass" | "ui.headingClassFromAlignment" | "ui.bodyClassFromAlignment" | "ui.stackAlignFromAlignment" | "ui.heroContentWrapperClass" | "ui.heroCtaJustify" | "ui.heroStackJustifyFromVerticalAlignment" | "ui.heroGridClassFromVerticalAlignment" | "ui.conditionalClass" | "media.fromUrl" | "content.interpolateRichTextTokens" | "layout.footerBottomBarClass" | "layout.footerBottomBarContainerClass" | "layout.footerBottomBarStyle" | "layout.footerSplitNavSingleClass" | "layout.footerSplitMainClass" | "layout.footerLogoClass" | "layout.footerLogoMediaClass" | "layout.footerLogoTextVisible">[] | undefined;
|
|
115
115
|
readonly from: string;
|
|
116
116
|
};
|
|
117
117
|
};
|
|
@@ -57,8 +57,8 @@ export declare const internalResolvedLinkSchema: z.ZodObject<{
|
|
|
57
57
|
routeId: z.ZodString;
|
|
58
58
|
entityId: z.ZodString;
|
|
59
59
|
entityType: z.ZodEnum<{
|
|
60
|
-
content: "content";
|
|
61
60
|
page: "page";
|
|
61
|
+
content: "content";
|
|
62
62
|
}>;
|
|
63
63
|
href: z.ZodString;
|
|
64
64
|
title: z.ZodString;
|
|
@@ -72,8 +72,8 @@ export declare const internalLinkSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
72
72
|
routeId: z.ZodString;
|
|
73
73
|
entityId: z.ZodString;
|
|
74
74
|
entityType: z.ZodEnum<{
|
|
75
|
-
content: "content";
|
|
76
75
|
page: "page";
|
|
76
|
+
content: "content";
|
|
77
77
|
}>;
|
|
78
78
|
href: z.ZodString;
|
|
79
79
|
title: z.ZodString;
|
|
@@ -107,8 +107,8 @@ export declare const linkSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.Zod
|
|
|
107
107
|
routeId: z.ZodString;
|
|
108
108
|
entityId: z.ZodString;
|
|
109
109
|
entityType: z.ZodEnum<{
|
|
110
|
-
content: "content";
|
|
111
110
|
page: "page";
|
|
111
|
+
content: "content";
|
|
112
112
|
}>;
|
|
113
113
|
href: z.ZodString;
|
|
114
114
|
title: z.ZodString;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
|
-
import type { BlockManifest } from '
|
|
3
|
-
import { type FieldWidgetComponent } from '
|
|
4
|
-
import type { ManifestFormSource } from '
|
|
2
|
+
import type { BlockManifest } from '../../../blocks/src/index';
|
|
3
|
+
import { type FieldWidgetComponent } from '../../../block-form/src/client/index';
|
|
4
|
+
import type { ManifestFormSource } from '../../../block-form/src/client/index';
|
|
5
5
|
export type { AutosaveHandle } from '../hooks/useSimpleAutosave';
|
|
6
6
|
export type ContentFieldsFormProps<TValues extends Record<string, unknown>> = {
|
|
7
7
|
siteId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type ContentEntrySnapshot, type ContentTypeSchema, type ToolbarState } from "
|
|
2
|
-
import type { EditorBlockId } from "
|
|
3
|
-
import type { BlockItem } from "
|
|
1
|
+
import { type ContentEntrySnapshot, type ContentTypeSchema, type ToolbarState } from "../../../content-model/src/index";
|
|
2
|
+
import type { EditorBlockId } from "../../../core/src/index";
|
|
3
|
+
import type { BlockItem } from "../../../editor-blocks/src/index";
|
|
4
4
|
import { type ReactNode } from "react";
|
|
5
5
|
import { type PublishOptions } from "../hooks/useEntryActions";
|
|
6
6
|
import { type ApiClient } from "../services";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type EditorBlockPublishedBaselineInput } from '
|
|
2
|
-
import type { BlockItem } from '
|
|
1
|
+
import { type EditorBlockPublishedBaselineInput } from '../../../core/src/index';
|
|
2
|
+
import type { BlockItem } from '../../../editor-blocks/src/index';
|
|
3
3
|
export type BlockPublishedBaselineInput = EditorBlockPublishedBaselineInput;
|
|
4
4
|
export declare function buildBlockPublishedBaselines(blocks: readonly BlockItem[]): BlockPublishedBaselineInput[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PublishedBlockBaseline } from "
|
|
2
|
-
import { type ContentEntrySnapshot, type RoutingHelpers } from "
|
|
1
|
+
import type { PublishedBlockBaseline } from "../../../api/src/content-editor";
|
|
2
|
+
import { type ContentEntrySnapshot, type RoutingHelpers } from "../../../content-model/src/index";
|
|
3
3
|
import type { BlockPublishedBaselineInput } from "./buildBlockPublishedBaselines";
|
|
4
4
|
export type PublishSuccessTransition = Readonly<{
|
|
5
5
|
metadataPublishedBaseline: Record<string, unknown> | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ContentEntrySnapshot } from '
|
|
1
|
+
import type { ContentEntrySnapshot } from '../../../content-model/src/index';
|
|
2
2
|
import type { EditorUiStoreInstance } from '../ui/editorUiStore';
|
|
3
3
|
type UseEntrySyncHelpersProps = {
|
|
4
4
|
uiStore: EditorUiStoreInstance;
|
|
@@ -16,8 +16,8 @@ export declare function useEntrySyncHelpers({ uiStore, setErrorMessage, }: UseEn
|
|
|
16
16
|
syncEntry: (nextEntry: ContentEntrySnapshot, opts?: {
|
|
17
17
|
clearError?: boolean;
|
|
18
18
|
}) => {
|
|
19
|
-
values: import("
|
|
20
|
-
baseline: import("
|
|
19
|
+
values: import("../../../content-model/src/index").RoutableMetadataValues | Record<string, never>;
|
|
20
|
+
baseline: import("../../../content-model/src/index").RoutableMetadataValues | Record<string, never>;
|
|
21
21
|
};
|
|
22
22
|
resetFromSnapshot: (snapshot: {
|
|
23
23
|
baseline: Record<string, unknown>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BlockItem } from '
|
|
1
|
+
import type { BlockItem } from '../../../editor-blocks/src/index';
|
|
2
2
|
import type { EditorUiStoreInstance } from '../ui/editorUiStore';
|
|
3
3
|
import { type RecoveryConflict } from './deriveRecoveryConflict';
|
|
4
4
|
type UseInvalidBlockRecoveryOptions = Readonly<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EditorBlockId } from "
|
|
1
|
+
import type { EditorBlockId } from "../../../core/src/index";
|
|
2
2
|
import type { BlockValidationError } from "./validateBlocksForPublish";
|
|
3
3
|
export type PublishBlockedMessage = Readonly<{
|
|
4
4
|
type: "single-invalid-block";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ContentEntrySnapshot, type RoutingHelpers } from "
|
|
1
|
+
import { type ContentEntrySnapshot, type RoutingHelpers } from "../../../content-model/src/index";
|
|
2
2
|
import type { EditorUiStoreInstance } from "../ui/editorUiStore";
|
|
3
3
|
import type { PublishEntryResult } from "../services/contentEntryServices";
|
|
4
4
|
/** Services interface for entry operations */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ContentEntrySnapshot } from "
|
|
1
|
+
import type { ContentEntrySnapshot } from "../../../content-model/src/index";
|
|
2
2
|
import type { EditorUiState } from "../ui/editorUiStore";
|
|
3
3
|
import type { PublishEntryResult } from "../services/contentEntryServices";
|
|
4
4
|
type StoreApi<T> = {
|
|
@@ -15,7 +15,7 @@ export declare function usePublishEntryMutation<TEntry extends ContentEntrySnaps
|
|
|
15
15
|
}): import("@tanstack/react-query").UseMutationResult<Readonly<{
|
|
16
16
|
snapshot: TEntry;
|
|
17
17
|
publishedContent?: Record<string, unknown> | null;
|
|
18
|
-
publishedBlocks?: readonly import("
|
|
18
|
+
publishedBlocks?: readonly import("../../../api/src/index").PublishedBlockBaseline[];
|
|
19
19
|
}>, Error, TPublishPayload | undefined, unknown>;
|
|
20
20
|
export declare function useDiscardDraftMutation<TEntry = unknown>({ discardFn, siteId, type, entryId, isPage, pageId, }: {
|
|
21
21
|
discardFn: () => Promise<TEntry>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type RefObject } from 'react';
|
|
2
|
-
import type { EditorBlockId } from '
|
|
2
|
+
import type { EditorBlockId } from '../../../core/src/index';
|
|
3
3
|
import { type AutosaveHandle } from './useSimpleAutosave';
|
|
4
4
|
import type { EditorUiStoreInstance } from '../ui/editorUiStore';
|
|
5
5
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* This catches empty required fields and other validation errors that were allowed
|
|
6
6
|
* during editing (draft mode) but must be fixed before publishing.
|
|
7
7
|
*/
|
|
8
|
-
import type { EditorBlockId } from '
|
|
8
|
+
import type { EditorBlockId } from '../../../core/src/index';
|
|
9
9
|
import type { EditorUiStoreInstance } from '../ui/editorUiStore';
|
|
10
10
|
/**
|
|
11
11
|
* Represents a validation error for a specific block field.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RichTextPrimitiveProps } from "
|
|
1
|
+
import type { RichTextPrimitiveProps } from "../../../blocks/src/index";
|
|
2
2
|
/**
|
|
3
3
|
* Memoized version to prevent unnecessary re-renders.
|
|
4
4
|
* Only re-renders when path, doc, variant, or className props actually change.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ContentEntryDefinition, ContentEntrySnapshot } from '
|
|
1
|
+
import type { ContentEntryDefinition, ContentEntrySnapshot } from '../../content-model/src/index';
|
|
2
2
|
export declare function registerContentEntryDefinition<TEntry extends ContentEntrySnapshot, TValues extends Record<string, unknown>, TMetadataPayload extends Record<string, unknown>, TPublishPayload = void>(definition: ContentEntryDefinition<TEntry, TValues, TMetadataPayload, TPublishPayload>): ContentEntryDefinition<TEntry, TValues, TMetadataPayload, TPublishPayload>;
|
|
3
3
|
export declare function getContentEntryDefinition(type: string): ContentEntryDefinition<ContentEntrySnapshot, Record<string, unknown>, Record<string, unknown>, unknown> | undefined;
|
|
4
4
|
export declare function assertContentEntryDefinition(type: string): ContentEntryDefinition<ContentEntrySnapshot, Record<string, unknown>, Record<string, unknown>, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type ContentTypeKey, type ApiClient, type PublishedBlockBaseline } from "
|
|
2
|
-
import type { ContentEntrySnapshot } from "
|
|
1
|
+
import { type ContentTypeKey, type ApiClient, type PublishedBlockBaseline } from "../../../api/src/content-editor";
|
|
2
|
+
import type { ContentEntrySnapshot } from "../../../content-model/src/index";
|
|
3
3
|
export type { ApiClient };
|
|
4
4
|
export type ContentEntryServiceConfig<TResponse, TSnapshot extends ContentEntrySnapshot> = {
|
|
5
5
|
type: ContentTypeKey;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { MutableRefObject } from 'react';
|
|
2
2
|
import type { UseFormReturn } from 'react-hook-form';
|
|
3
|
-
import type { ToolbarState } from '
|
|
3
|
+
import type { ToolbarState } from '../../content-model/src/index';
|
|
4
4
|
export type DraftWorkflowStatus = 'idle' | 'saving' | 'success' | 'error';
|
|
5
5
|
export type MetadataKindConfig = {
|
|
6
6
|
hasRoute: boolean;
|
|
@@ -41,4 +41,4 @@ export type ContentEntryControllerState<TEntry, TValues extends Record<string, u
|
|
|
41
41
|
deleteEntry: () => Promise<void>;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
|
-
export type { ContentEntryDefinition, ContentEntrySnapshot, ToolbarState, } from '
|
|
44
|
+
export type { ContentEntryDefinition, ContentEntrySnapshot, ToolbarState, } from '../../content-model/src/index';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BlockManifest } from "
|
|
2
|
-
import { type BlockDraftSaveability, type BlockDraftValidationIssue } from "
|
|
3
|
-
import type { EditorBlockId } from "
|
|
1
|
+
import type { BlockManifest } from "../../../blocks/src/index";
|
|
2
|
+
import { type BlockDraftSaveability, type BlockDraftValidationIssue } from "../../../block-form/src/blockDraftSaveability";
|
|
3
|
+
import type { EditorBlockId } from "../../../core/src/index";
|
|
4
4
|
import type { EditorDraftSnapshot } from "./editorHistory";
|
|
5
5
|
export type ResolveBlockManifest = (kind: string) => BlockManifest | null;
|
|
6
6
|
export type FirstIncompleteBlock = Readonly<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { asEditorBlockId, asEditorBlockValues, asEditorContentValues, asEditorEntryId, asEditorMetadataValues, asEditorPageId, asEditorSiteId, type EditorBlockBaselineInput, type EditorBlockId, type EditorBlockPublishedBaselineInput, type EditorDraftBlockBaselineUpdateMetaInput, type EditorDraftBlockInitMetaInput, type EditorBlockValues, type EditorContentValues, type EditorEntryId, type EditorMetadataValues, type EditorPageId, type EditorPersistedBlock, type EditorSiteId, type EditorStructuralCommand, type EditorStructuralDraftSnapshot, type EditorSyncState, type EditorValueRecord } from '
|
|
1
|
+
import { asEditorBlockId, asEditorBlockValues, asEditorContentValues, asEditorEntryId, asEditorMetadataValues, asEditorPageId, asEditorSiteId, type EditorBlockBaselineInput, type EditorBlockId, type EditorBlockPublishedBaselineInput, type EditorDraftBlockBaselineUpdateMetaInput, type EditorDraftBlockInitMetaInput, type EditorBlockValues, type EditorContentValues, type EditorEntryId, type EditorMetadataValues, type EditorPageId, type EditorPersistedBlock, type EditorSiteId, type EditorStructuralCommand, type EditorStructuralDraftSnapshot, type EditorSyncState, type EditorValueRecord } from '../../../core/src/index';
|
|
2
2
|
export { asEditorBlockId, asEditorBlockValues, asEditorContentValues, asEditorEntryId, asEditorMetadataValues, asEditorPageId, asEditorSiteId, type EditorBlockId, type EditorBlockValues, type EditorContentValues, type EditorEntryId, type EditorMetadataValues, type EditorPageId, type EditorSiteId, };
|
|
3
3
|
export type EditorCommand = {
|
|
4
4
|
type: 'set-metadata-value';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* These functions handle deep cloning and comparison of record values,
|
|
5
5
|
* which is critical for determining when draft state has changed.
|
|
6
6
|
*/
|
|
7
|
-
import type { EditorValueRecord } from '
|
|
7
|
+
import type { EditorValueRecord } from '../../../../core/src/index';
|
|
8
8
|
/**
|
|
9
9
|
* Deep clones a record using JSON serialization.
|
|
10
10
|
* Returns null if input is null.
|
|
@@ -7,19 +7,19 @@ declare const BaseContentFieldSchema: z.ZodObject<{
|
|
|
7
7
|
type: z.ZodEnum<{
|
|
8
8
|
number: "number";
|
|
9
9
|
boolean: "boolean";
|
|
10
|
-
link: "link";
|
|
11
|
-
url: "url";
|
|
12
10
|
date: "date";
|
|
13
|
-
|
|
14
|
-
textarea: "textarea";
|
|
15
|
-
select: "select";
|
|
11
|
+
url: "url";
|
|
16
12
|
media: "media";
|
|
17
13
|
button: "button";
|
|
18
|
-
|
|
14
|
+
link: "link";
|
|
15
|
+
select: "select";
|
|
16
|
+
textarea: "textarea";
|
|
17
|
+
text: "text";
|
|
18
|
+
richText: "richText";
|
|
19
19
|
datetime: "datetime";
|
|
20
20
|
reference: "reference";
|
|
21
|
-
richText: "richText";
|
|
22
21
|
repeater: "repeater";
|
|
22
|
+
group: "group";
|
|
23
23
|
}>;
|
|
24
24
|
label: z.ZodOptional<z.ZodString>;
|
|
25
25
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -51,8 +51,8 @@ declare const BaseContentFieldSchema: z.ZodObject<{
|
|
|
51
51
|
}, z.core.$strip>>;
|
|
52
52
|
valueFrom: z.ZodOptional<z.ZodEnum<{
|
|
53
53
|
id: "id";
|
|
54
|
-
slug: "slug";
|
|
55
54
|
identifier: "identifier";
|
|
55
|
+
slug: "slug";
|
|
56
56
|
}>>;
|
|
57
57
|
ui: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
58
58
|
itemLabel: z.ZodOptional<z.ZodString>;
|
|
@@ -15,6 +15,7 @@ export type Brand<T, B extends string> = T & {
|
|
|
15
15
|
};
|
|
16
16
|
export type EventInstanceId = Brand<string, 'EventInstanceId'>;
|
|
17
17
|
export type SiteId = Brand<string, 'SiteId'>;
|
|
18
|
+
export type PageId = Brand<string, 'PageId'>;
|
|
18
19
|
export type OccurrenceId = Brand<string, 'OccurrenceId'>;
|
|
19
20
|
export type EventSeriesId = Brand<string, 'EventSeriesId'>;
|
|
20
21
|
export type TicketTypeId = Brand<string, 'TicketTypeId'>;
|
|
@@ -123,6 +124,7 @@ export declare const asEntryId: (id: string) => EntryId;
|
|
|
123
124
|
export declare const unsafeAsPreviewEntryId: (id: string) => PreviewEntryId;
|
|
124
125
|
export declare const asEventInstanceId: (id: string) => EventInstanceId;
|
|
125
126
|
export declare const asSiteId: (id: string) => SiteId;
|
|
127
|
+
export declare const asPageId: (id: string) => PageId;
|
|
126
128
|
export declare const asOccurrenceId: (id: string) => OccurrenceId;
|
|
127
129
|
export declare const asEventSeriesId: (id: string) => EventSeriesId;
|
|
128
130
|
export declare const asTicketTypeId: (id: string) => TicketTypeId;
|
|
@@ -21,3 +21,5 @@ export * from "./sensitive-collection";
|
|
|
21
21
|
export * from "./assertNever";
|
|
22
22
|
export * from "./participants";
|
|
23
23
|
export * from "./participant-identity";
|
|
24
|
+
export { disabledSelection, enabledSelection, plannerNoChange, plannerPatch, plannerUpdate, resolvePlanningDateInput, resolvePlanningNow, resolvePlanningNowDate, systemPlanningClock, } from "./planner";
|
|
25
|
+
export type { DisabledSelection, EnabledSelection, OptionalSelection, PlannerNoChange, PlannerPatch, PlannerUpdate, PlanningClock, PlanningDateInput, } from "./planner";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
type ReservedTagGuard = Readonly<{
|
|
2
|
+
tag?: never;
|
|
3
|
+
}>;
|
|
4
|
+
/** Standard no-op decision for pure planners that compare current vs desired state. */
|
|
5
|
+
export type PlannerNoChange<TDetails extends object = Record<never, never>> = Readonly<TDetails & {
|
|
6
|
+
tag: 'no_change';
|
|
7
|
+
}>;
|
|
8
|
+
/** Standard update decision for pure planners that derive an effectful follow-up. */
|
|
9
|
+
export type PlannerUpdate<TDetails extends object = Record<never, never>> = Readonly<TDetails & {
|
|
10
|
+
tag: 'update';
|
|
11
|
+
}>;
|
|
12
|
+
/** Build a no-change decision while preserving literal detail types. */
|
|
13
|
+
export declare function plannerNoChange(): PlannerNoChange;
|
|
14
|
+
export declare function plannerNoChange<const TDetails extends object>(details: TDetails & ReservedTagGuard): PlannerNoChange<TDetails>;
|
|
15
|
+
/** Build an update decision while preserving literal detail types. */
|
|
16
|
+
export declare function plannerUpdate(): PlannerUpdate;
|
|
17
|
+
export declare function plannerUpdate<const TDetails extends object>(details: TDetails & ReservedTagGuard): PlannerUpdate<TDetails>;
|
|
18
|
+
/** Shallow readonly marker for planner-derived patches. */
|
|
19
|
+
export type PlannerPatch<TPatch extends object> = Readonly<TPatch>;
|
|
20
|
+
/** Identity at runtime; marks a planner-derived patch as shallow readonly. */
|
|
21
|
+
export declare function plannerPatch<const TPatch extends object>(patch: TPatch): PlannerPatch<TPatch>;
|
|
22
|
+
/** Clock dependency for pure planners that need current time. */
|
|
23
|
+
export type PlanningClock = Readonly<{
|
|
24
|
+
now(): number;
|
|
25
|
+
}>;
|
|
26
|
+
export type PlanningDateInput = Date | Readonly<{
|
|
27
|
+
now?: Date;
|
|
28
|
+
clock?: PlanningClock;
|
|
29
|
+
}>;
|
|
30
|
+
/** Default clock for production callers that do not inject time explicitly. */
|
|
31
|
+
export declare const systemPlanningClock: PlanningClock;
|
|
32
|
+
/** Resolve current time from an explicit timestamp, injected clock, or system clock. */
|
|
33
|
+
export declare function resolvePlanningNow(input?: Readonly<{
|
|
34
|
+
now?: number;
|
|
35
|
+
clock?: PlanningClock;
|
|
36
|
+
}>): number;
|
|
37
|
+
/** Resolve current time as a Date from an explicit Date, injected clock, or system clock. */
|
|
38
|
+
export declare function resolvePlanningNowDate(input?: Readonly<{
|
|
39
|
+
now?: Date;
|
|
40
|
+
clock?: PlanningClock;
|
|
41
|
+
}>): Date;
|
|
42
|
+
/**
|
|
43
|
+
* Resolve a Date-compatible planner input.
|
|
44
|
+
*
|
|
45
|
+
* Precedence: bare Date, `{ now }`, `{ clock }`, then `systemPlanningClock`.
|
|
46
|
+
* Explicit Date inputs are returned by reference, not cloned.
|
|
47
|
+
*/
|
|
48
|
+
export declare function resolvePlanningDateInput(input?: PlanningDateInput): Date;
|
|
49
|
+
/** Enabled branch for optional planner selections. */
|
|
50
|
+
export type EnabledSelection<TValue> = Readonly<{
|
|
51
|
+
enabled: true;
|
|
52
|
+
value: TValue;
|
|
53
|
+
}>;
|
|
54
|
+
/** Disabled branch for optional planner selections. */
|
|
55
|
+
export type DisabledSelection = Readonly<{
|
|
56
|
+
enabled: false;
|
|
57
|
+
}>;
|
|
58
|
+
/** Enabled/disabled selection ADT for normalized planner inputs. */
|
|
59
|
+
export type OptionalSelection<TValue> = EnabledSelection<TValue> | DisabledSelection;
|
|
60
|
+
/** Build an enabled selection while preserving literal value types. */
|
|
61
|
+
export declare function enabledSelection<const TValue>(value: TValue): EnabledSelection<TValue>;
|
|
62
|
+
/** Build a disabled selection. */
|
|
63
|
+
export declare function disabledSelection(): DisabledSelection;
|
|
64
|
+
export {};
|
|
@@ -15755,24 +15755,6 @@ export type Database = {
|
|
|
15755
15755
|
order_id: string;
|
|
15756
15756
|
}[];
|
|
15757
15757
|
};
|
|
15758
|
-
postgres_fdw_disconnect: {
|
|
15759
|
-
Args: {
|
|
15760
|
-
"": string;
|
|
15761
|
-
};
|
|
15762
|
-
Returns: boolean;
|
|
15763
|
-
};
|
|
15764
|
-
postgres_fdw_disconnect_all: {
|
|
15765
|
-
Args: never;
|
|
15766
|
-
Returns: boolean;
|
|
15767
|
-
};
|
|
15768
|
-
postgres_fdw_get_connections: {
|
|
15769
|
-
Args: never;
|
|
15770
|
-
Returns: Record<string, unknown>[];
|
|
15771
|
-
};
|
|
15772
|
-
postgres_fdw_handler: {
|
|
15773
|
-
Args: never;
|
|
15774
|
-
Returns: unknown;
|
|
15775
|
-
};
|
|
15776
15758
|
redeem_pass_credits: {
|
|
15777
15759
|
Args: {
|
|
15778
15760
|
credits_amount?: number;
|
|
@@ -15812,6 +15794,23 @@ export type Database = {
|
|
|
15812
15794
|
};
|
|
15813
15795
|
Returns: number;
|
|
15814
15796
|
};
|
|
15797
|
+
renew_demo_lifecycle_job_lease: {
|
|
15798
|
+
Args: {
|
|
15799
|
+
p_job_name: string;
|
|
15800
|
+
p_lease_token: string;
|
|
15801
|
+
p_locked_until: string;
|
|
15802
|
+
p_now: string;
|
|
15803
|
+
};
|
|
15804
|
+
Returns: {
|
|
15805
|
+
consecutive_failures: number;
|
|
15806
|
+
job_name: string;
|
|
15807
|
+
last_failed_at: string;
|
|
15808
|
+
last_started_at: string;
|
|
15809
|
+
last_succeeded_at: string;
|
|
15810
|
+
lease_token: string;
|
|
15811
|
+
locked_until: string;
|
|
15812
|
+
}[];
|
|
15813
|
+
};
|
|
15815
15814
|
reschedule_appointment_for_actor: {
|
|
15816
15815
|
Args: {
|
|
15817
15816
|
p_appointment_id: string;
|