@riverbankcms/sdk 0.60.16 → 0.62.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +41 -1
- package/dist/_dts/api/src/bookingRecords.d.ts +100 -3
- package/dist/_dts/api/src/bookings.d.ts +2 -1
- package/dist/_dts/api/src/endpoints.d.ts +96 -0
- package/dist/_dts/api/src/index.d.ts +5 -1
- package/dist/_dts/api/src/participantMessaging.d.ts +113 -0
- package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +51 -47
- package/dist/_dts/api/src/types.d.ts +1 -0
- package/dist/_dts/blocks/src/index.d.ts +66 -62
- package/dist/_dts/blocks/src/lib/media.d.ts +60 -0
- package/dist/_dts/blocks/src/system/blocks/appointment-booking.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/audio-player.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/blog-listing.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/blog-post.d.ts +0 -21
- package/dist/_dts/blocks/src/system/blocks/body-text.d.ts +2 -6
- package/dist/_dts/blocks/src/system/blocks/cart.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/checkout.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/collection.d.ts +0 -10
- package/dist/_dts/blocks/src/system/blocks/columns.d.ts +0 -10
- package/dist/_dts/blocks/src/system/blocks/course-details.d.ts +0 -20
- package/dist/_dts/blocks/src/system/blocks/course-registration.d.ts +0 -20
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +15 -15
- package/dist/_dts/blocks/src/system/blocks/cta-full.d.ts +5 -10
- package/dist/_dts/blocks/src/system/blocks/embed.d.ts +0 -11
- package/dist/_dts/blocks/src/system/blocks/event-details.d.ts +0 -20
- package/dist/_dts/blocks/src/system/blocks/event-registration.d.ts +0 -20
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +43 -27
- package/dist/_dts/blocks/src/system/blocks/events/event-listing.d.ts +24 -15
- package/dist/_dts/blocks/src/system/blocks/events/event-spotlight.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +132 -12
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +3 -2
- package/dist/_dts/blocks/src/system/blocks/faq.d.ts +2 -10
- package/dist/_dts/blocks/src/system/blocks/file-download.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/form.d.ts +2 -24
- package/dist/_dts/blocks/src/system/blocks/gifting.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/hero.d.ts +2 -3
- package/dist/_dts/blocks/src/system/blocks/image-gallery.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +0 -13
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +17 -17
- package/dist/_dts/blocks/src/system/blocks/newsletter-signup.d.ts +2 -10
- package/dist/_dts/blocks/src/system/blocks/product-detail.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +9 -9
- package/dist/_dts/blocks/src/system/blocks/shop.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/single-button.d.ts +16 -15
- package/dist/_dts/blocks/src/system/blocks/site-footer.d.ts +2 -6
- package/dist/_dts/blocks/src/system/blocks/site-header.d.ts +0 -11
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +3 -3
- package/dist/_dts/blocks/src/system/blocks/testimonials.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/video-grid.d.ts +2 -2
- package/dist/_dts/blocks/src/system/constants/events.d.ts +18 -0
- package/dist/_dts/blocks/src/system/customize/facets.d.ts +105 -0
- package/dist/_dts/blocks/src/system/defineBlock.d.ts +29 -5
- package/dist/_dts/blocks/src/system/fields/boxStyles.d.ts +2 -1
- package/dist/_dts/blocks/src/system/fragments/library/blogFeaturedPost.d.ts +0 -24
- package/dist/_dts/blocks/src/system/fragments/library/bodyCopy.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/bookingForm.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/card.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/columnContent.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/ctaCopy.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/ctaRow.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/faqAccordion.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/faqHeading.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/feedbackCallout.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/footerBottomText.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/formCopy.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/formEmbed.d.ts +0 -18
- package/dist/_dts/blocks/src/system/fragments/library/headerCta.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/heading.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/heroCopy.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/heroCtaRow.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/heroLayoutControls.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/image.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/newsletterCopy.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/newsletterForm.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/quote.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/richText.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/sectionState.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/singleButton.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/spinner.d.ts +0 -5
- package/dist/_dts/blocks/src/system/fragments/library/teamMember.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/library/testimonialsCarousel.d.ts +0 -31
- package/dist/_dts/blocks/src/system/fragments/library/testimonialsHeading.d.ts +0 -4
- package/dist/_dts/blocks/src/system/fragments/library/videoEmbed.d.ts +0 -6
- package/dist/_dts/blocks/src/system/fragments/types.d.ts +11 -3
- package/dist/_dts/blocks/src/system/helpers/resolveBackground.d.ts +4 -0
- package/dist/_dts/blocks/src/system/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/manifest/derivedContent.d.ts +3 -3
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +10 -10
- package/dist/_dts/blocks/src/system/media/constrainedVideoMedia.d.ts +13 -0
- package/dist/_dts/blocks/src/system/runtime/components/registry.client.d.ts +6 -0
- package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +3 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/EventCalendar.interactive.d.ts +4 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/media.d.ts +1 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +7 -0
- package/dist/_dts/content-model/src/contentManifest.d.ts +2 -2
- package/dist/_dts/content-model/src/referenceFields.d.ts +7 -1
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +34 -6
- package/dist/_dts/editor-blocks/src/media/MediaField.d.ts +2 -0
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/EntryPickerWidgetProvider.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/loaders.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/entry-picker/types.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkPicker.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidgetContext.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/loaders.d.ts +2 -1
- package/dist/_dts/editor-blocks/src/widgets/link/types.d.ts +3 -2
- package/dist/_dts/editor-blocks/src/widgets/reference/dynamicAdapters.d.ts +9 -0
- package/dist/_dts/editor-blocks/src/widgets/reference/loaders.d.ts +5 -1
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/media-core/src/videoSlotPolicy.d.ts +38 -0
- package/dist/_dts/media-editor/src/MediaEditor.d.ts +3 -1
- package/dist/_dts/media-editor/src/MediaPickerDialog.d.ts +7 -0
- package/dist/_dts/preview-next/src/client/blocks/customizeFacetControls.d.ts +9 -0
- package/dist/_dts/preview-next/src/client/blocks/previewCustomizeActions.d.ts +14 -0
- package/dist/_dts/preview-next/src/client/layout/PreviewLayoutContext.d.ts +9 -7
- package/dist/_dts/preview-next/src/client/preview/previewCustomizeHistory.d.ts +6 -3
- package/dist/_dts/preview-next/src/client/widgets/widgetAdapters.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/content.d.ts +10 -0
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/prompt/examples/features-grid.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/prompt/examples/pricing.d.ts +5 -5
- package/dist/_dts/sdk/src/rendering/helpers/bindings.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +3 -0
- package/dist/_dts/theme-core/src/schema.d.ts +25 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetCatalog.d.ts +515 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetResolution.d.ts +12 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresetTypes.d.ts +119 -0
- package/dist/_dts/theme-core/src/site-styles/appearancePresets.d.ts +5 -563
- package/dist/_dts/theme-core/src/site-styles/blockAppearancePresets.d.ts +448 -0
- package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +6 -0
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +12 -0
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -0
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +8 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeAppearancePresets.d.ts +67 -0
- package/dist/_dts/theme-core/src/site-styles/sourceCatalogs.d.ts +6 -6
- package/dist/_dts/theme-core/src/site-styles/types.d.ts +22 -3
- package/dist/_dts/theme-core/src/siteChrome.d.ts +11 -0
- package/dist/cli/index.mjs +4310 -3464
- package/dist/client/bookings.mjs +310 -310
- package/dist/client/client.mjs +61329 -60359
- package/dist/client/hooks.mjs +1254 -731
- package/dist/client/rendering/client.mjs +5959 -5226
- package/dist/client/rendering/islands.mjs +3842 -3275
- package/dist/client/rendering.mjs +7495 -6519
- package/dist/preview-next/before-render.mjs +118 -0
- package/dist/preview-next/client/runtime.mjs +4489 -2773
- package/dist/preview-next/middleware.mjs +136 -0
- package/dist/server/components.mjs +1342 -765
- package/dist/server/config-validation.mjs +1256 -733
- package/dist/server/config.mjs +1256 -733
- package/dist/server/data.mjs +1254 -731
- package/dist/server/index.mjs +191 -18
- package/dist/server/next.mjs +1339 -760
- package/dist/server/page-converter.mjs +1088 -734
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +1338 -762
- package/dist/server/rendering.mjs +1351 -770
- package/dist/server/routing.mjs +1340 -754
- package/dist/server/server.mjs +1260 -734
- package/dist/server/theme-bridge.mjs +198 -34
- package/dist/server/theme.mjs +6 -0
- package/dist/styles/index.css +28 -9
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Theme } from
|
|
2
|
-
import type { ListMediaAssetsResult, MediaAssetWithLabels } from
|
|
3
|
-
import type { DbJson } from
|
|
4
|
-
import type { PageDesignEditorReadModel, PageDesignIntent, AppearancePresetId, BoundaryOptionId, DesignBlockId, LayoutVariantKey } from
|
|
5
|
-
import type { ButtonPersonalityId } from
|
|
6
|
-
import type { PaletteOverrides, PaletteVariantId } from
|
|
1
|
+
import type { SystemCustomizeFacetSelection, Theme } from '@riverbankcms/blocks';
|
|
2
|
+
import type { ListMediaAssetsResult, MediaAssetWithLabels } from '@riverbankcms/media-storage-supabase';
|
|
3
|
+
import type { DbJson } from '@riverbankcms/db';
|
|
4
|
+
import type { PageDesignEditorReadModel, PageDesignIntent, AppearancePresetId, BoundaryOptionId, DesignBlockId, LayoutVariantKey } from '@riverbankcms/theme-core/site-styles';
|
|
5
|
+
import type { ButtonPersonalityId } from '@riverbankcms/theme-core/buttons';
|
|
6
|
+
import type { PaletteOverrides, PaletteVariantId } from '@riverbankcms/theme-core/palette';
|
|
7
7
|
/**
|
|
8
8
|
* Round-trip shape for the Style configurator's persisted selections on the
|
|
9
9
|
* `saveSiteTheme` endpoint. Each field is optional independently so callers
|
|
@@ -16,36 +16,40 @@ export type SiteThemeSelectionsPayload = {
|
|
|
16
16
|
paletteVariantId?: PaletteVariantId | null;
|
|
17
17
|
paletteOverrides?: PaletteOverrides | null;
|
|
18
18
|
};
|
|
19
|
-
import type { APIEndpoint } from
|
|
20
|
-
import type { AnalyticsReportFilters, AnalyticsReportResponse } from
|
|
21
|
-
import type { CreateMediaAssetBody, MediaAssetResponse, MediaAssetFileFilterContract, MediaBulkDeleteResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse } from
|
|
22
|
-
import type { MediaUsageCheckResponse } from
|
|
23
|
-
import type { BlockWithContentResponse, BlockListItem, ContentEntryListStage, ListPublishedEntriesResponse, PageDraftRecord, PublishedBlockBaseline, PublishedContentEntryPreviewResponse, PublishedPostPreviewResponse, SdkBlockContent, SdkRuntimeContentByPathResponse, SdkTemplate, SiteBySlugResponse, ThemeGenerationTurn, ThemePreferencesRecord, ThemeRow } from
|
|
24
|
-
import type { CreateInstagramZipUploadUrlRequest, CreateInstagramZipUploadUrlResponse, CreateMediaUploadUrlRequest, CreateMediaUploadUrlResponse, CreateSiteLogoUploadUrlRequest, CreateSiteLogoUploadUrlResponse, InstagramUploadZipRequest, MediaUploadFinalizeRequest, UploadSiteLogoRequest } from
|
|
25
|
-
import type { DevToolsGetSiteRoleDowngradeQuery, DevToolsImpersonationResponse, DevToolsSeedResponse, DevToolsSetSiteRoleDowngradeRequest, SiteRoleDowngradeState } from
|
|
19
|
+
import type { APIEndpoint } from './apiEndpointTypes';
|
|
20
|
+
import type { AnalyticsReportFilters, AnalyticsReportResponse } from './analytics';
|
|
21
|
+
import type { CreateMediaAssetBody, MediaAssetResponse, MediaAssetFileFilterContract, MediaBulkDeleteResponse, MediaClassifyJobResponse, MediaJobSummaryResponse, MediaLabelSummary, MediaSettingsResponse } from './media';
|
|
22
|
+
import type { MediaUsageCheckResponse } from './shared-contracts';
|
|
23
|
+
import type { BlockWithContentResponse, BlockListItem, ContentEntryListStage, ListPublishedEntriesResponse, PageDraftRecord, PublishedBlockBaseline, PublishedContentEntryPreviewResponse, PublishedPostPreviewResponse, SdkBlockContent, SdkRuntimeContentByPathResponse, SdkTemplate, SiteBySlugResponse, ThemeGenerationTurn, ThemePreferencesRecord, ThemeRow } from './contentRuntime';
|
|
24
|
+
import type { CreateInstagramZipUploadUrlRequest, CreateInstagramZipUploadUrlResponse, CreateMediaUploadUrlRequest, CreateMediaUploadUrlResponse, CreateSiteLogoUploadUrlRequest, CreateSiteLogoUploadUrlResponse, InstagramUploadZipRequest, MediaUploadFinalizeRequest, UploadSiteLogoRequest } from './siteInfrastructure';
|
|
25
|
+
import type { DevToolsGetSiteRoleDowngradeQuery, DevToolsImpersonationResponse, DevToolsSeedResponse, DevToolsSetSiteRoleDowngradeRequest, SiteRoleDowngradeState } from './siteOperations';
|
|
26
26
|
export type PageDesignRevisionToken = {
|
|
27
|
-
kind:
|
|
27
|
+
kind: 'absent';
|
|
28
28
|
} | {
|
|
29
|
-
kind:
|
|
29
|
+
kind: 'draft' | 'published';
|
|
30
30
|
contentVersionId: string;
|
|
31
31
|
updatedAt: string;
|
|
32
32
|
};
|
|
33
33
|
export type SavePageDesignStateResponse = {
|
|
34
34
|
ok: true;
|
|
35
|
-
outcome:
|
|
35
|
+
outcome: 'created' | 'updated';
|
|
36
36
|
revision: PageDesignRevisionToken;
|
|
37
37
|
};
|
|
38
38
|
export type PageDesignEditorAction = {
|
|
39
|
-
kind:
|
|
39
|
+
kind: 'set-layout';
|
|
40
40
|
blockId: DesignBlockId;
|
|
41
41
|
layoutVariantKey: LayoutVariantKey;
|
|
42
42
|
baseContentId: string | null;
|
|
43
|
-
} | {
|
|
44
|
-
kind:
|
|
43
|
+
} | ({
|
|
44
|
+
kind: 'set-block-facet';
|
|
45
|
+
blockId: DesignBlockId;
|
|
46
|
+
baseContentId: string | null;
|
|
47
|
+
} & SystemCustomizeFacetSelection) | {
|
|
48
|
+
kind: 'set-look';
|
|
45
49
|
blockId: DesignBlockId;
|
|
46
50
|
appearancePresetId: AppearancePresetId | null;
|
|
47
51
|
} | {
|
|
48
|
-
kind:
|
|
52
|
+
kind: 'set-boundary';
|
|
49
53
|
previousBlockId: DesignBlockId;
|
|
50
54
|
nextBlockId: DesignBlockId;
|
|
51
55
|
boundaryOptionId: BoundaryOptionId | null;
|
|
@@ -58,31 +62,31 @@ export type ApplyPageDesignEditorActionResponse = {
|
|
|
58
62
|
contentId: string;
|
|
59
63
|
version: number;
|
|
60
64
|
data: DbJson;
|
|
61
|
-
stage:
|
|
65
|
+
stage: 'draft' | 'published';
|
|
62
66
|
};
|
|
63
67
|
revision: PageDesignRevisionToken;
|
|
64
68
|
editorModel: PageDesignEditorReadModel;
|
|
65
69
|
};
|
|
66
70
|
export type PageDesignEditorStateResponse = {
|
|
67
|
-
kind:
|
|
71
|
+
kind: 'absent';
|
|
68
72
|
revision: PageDesignRevisionToken;
|
|
69
73
|
} | {
|
|
70
|
-
kind:
|
|
71
|
-
source:
|
|
74
|
+
kind: 'invalid';
|
|
75
|
+
source: 'draft' | 'published-fallback';
|
|
72
76
|
revision: PageDesignRevisionToken;
|
|
73
77
|
message: string;
|
|
74
78
|
} | {
|
|
75
|
-
kind:
|
|
76
|
-
source:
|
|
79
|
+
kind: 'loaded';
|
|
80
|
+
source: 'draft' | 'published-fallback';
|
|
77
81
|
revision: PageDesignRevisionToken;
|
|
78
82
|
editorModel: PageDesignEditorReadModel;
|
|
79
83
|
};
|
|
80
84
|
export type PageBlockDesignSyncWarning = Readonly<{
|
|
81
|
-
kind:
|
|
82
|
-
operation:
|
|
85
|
+
kind: 'blocked' | 'failed' | 'skipped-invalid';
|
|
86
|
+
operation: 'create' | 'delete' | 'reorder';
|
|
83
87
|
message: string;
|
|
84
88
|
blocker?: string;
|
|
85
|
-
source?:
|
|
89
|
+
source?: 'draft' | 'published-fallback';
|
|
86
90
|
reason?: string;
|
|
87
91
|
}>;
|
|
88
92
|
/**
|
|
@@ -105,10 +109,10 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
105
109
|
type: string;
|
|
106
110
|
limit?: string;
|
|
107
111
|
offset?: string;
|
|
108
|
-
order?:
|
|
112
|
+
order?: 'published_at.asc' | 'published_at.desc' | 'title.asc' | 'title.desc' | 'updated_at.asc' | 'updated_at.desc';
|
|
109
113
|
stage?: ContentEntryListStage;
|
|
110
114
|
meta?: string;
|
|
111
|
-
mode?:
|
|
115
|
+
mode?: 'manual';
|
|
112
116
|
entryIds?: string;
|
|
113
117
|
}, ListPublishedEntriesResponse>;
|
|
114
118
|
createTheme: APIEndpoint<{
|
|
@@ -133,8 +137,8 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
133
137
|
surface: string;
|
|
134
138
|
text: string;
|
|
135
139
|
};
|
|
136
|
-
mode:
|
|
137
|
-
source:
|
|
140
|
+
mode: 'light' | 'dark';
|
|
141
|
+
source: 'extracted' | 'fallback';
|
|
138
142
|
}>;
|
|
139
143
|
saveSiteTheme: APIEndpoint<{
|
|
140
144
|
theme: Theme;
|
|
@@ -175,7 +179,7 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
175
179
|
palette_variants?: Array<{
|
|
176
180
|
key: string;
|
|
177
181
|
recipe_id?: string;
|
|
178
|
-
strategy?:
|
|
182
|
+
strategy?: 'seedLocked' | 'blendLocked';
|
|
179
183
|
palette: {
|
|
180
184
|
primary: string;
|
|
181
185
|
secondary: string;
|
|
@@ -187,8 +191,8 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
187
191
|
}>;
|
|
188
192
|
selected_palette_key?: string;
|
|
189
193
|
style_axes?: {
|
|
190
|
-
energy?:
|
|
191
|
-
density?:
|
|
194
|
+
energy?: 'calm' | 'vibrant';
|
|
195
|
+
density?: 'airy' | 'compact';
|
|
192
196
|
};
|
|
193
197
|
}, never, {
|
|
194
198
|
preferences: ThemePreferencesRecord;
|
|
@@ -198,7 +202,7 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
198
202
|
id?: string;
|
|
199
203
|
slug?: string;
|
|
200
204
|
domain?: string;
|
|
201
|
-
scope?:
|
|
205
|
+
scope?: 'full';
|
|
202
206
|
currentPath?: string;
|
|
203
207
|
force?: string;
|
|
204
208
|
}, // Query parameters
|
|
@@ -207,7 +211,7 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
207
211
|
id?: string;
|
|
208
212
|
slug?: string;
|
|
209
213
|
domain?: string;
|
|
210
|
-
scope:
|
|
214
|
+
scope: 'id-only';
|
|
211
215
|
}, {
|
|
212
216
|
site: {
|
|
213
217
|
id: string;
|
|
@@ -306,7 +310,7 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
306
310
|
}, never, MediaUsageCheckResponse>;
|
|
307
311
|
mediaGetSignedUrl: APIEndpoint<never, {
|
|
308
312
|
assetId: string;
|
|
309
|
-
disposition?:
|
|
313
|
+
disposition?: 'attachment' | 'inline';
|
|
310
314
|
}, {
|
|
311
315
|
signedUrl: string;
|
|
312
316
|
}>;
|
|
@@ -323,7 +327,7 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
323
327
|
contentId: string;
|
|
324
328
|
version: number;
|
|
325
329
|
data: DbJson;
|
|
326
|
-
stage:
|
|
330
|
+
stage: 'draft' | 'published';
|
|
327
331
|
optimistic_hash?: string | null;
|
|
328
332
|
}>;
|
|
329
333
|
saveBlockContent: APIEndpoint<{
|
|
@@ -340,7 +344,7 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
340
344
|
contentId: string;
|
|
341
345
|
version: number;
|
|
342
346
|
data: DbJson;
|
|
343
|
-
stage:
|
|
347
|
+
stage: 'draft' | 'published';
|
|
344
348
|
optimistic_hash?: string | null;
|
|
345
349
|
}>;
|
|
346
350
|
createBlock: APIEndpoint<{
|
|
@@ -505,10 +509,10 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
505
509
|
force?: boolean;
|
|
506
510
|
prompt?: string;
|
|
507
511
|
}, never, {
|
|
508
|
-
kind:
|
|
512
|
+
kind: 'noop';
|
|
509
513
|
reason: string;
|
|
510
514
|
} | {
|
|
511
|
-
kind:
|
|
515
|
+
kind: 'enqueued';
|
|
512
516
|
job: MediaClassifyJobResponse;
|
|
513
517
|
}>;
|
|
514
518
|
runMediaClassifyJob: APIEndpoint<{
|
|
@@ -516,10 +520,10 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
516
520
|
jobId?: string;
|
|
517
521
|
maxSteps?: number;
|
|
518
522
|
}, never, {
|
|
519
|
-
kind:
|
|
523
|
+
kind: 'noop';
|
|
520
524
|
reason: string;
|
|
521
525
|
} | {
|
|
522
|
-
kind:
|
|
526
|
+
kind: 'ran';
|
|
523
527
|
job: MediaClassifyJobResponse | null;
|
|
524
528
|
summary?: MediaJobSummaryResponse;
|
|
525
529
|
completed?: boolean;
|
|
@@ -533,7 +537,7 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
533
537
|
results: Array<{
|
|
534
538
|
siteId: string;
|
|
535
539
|
jobId: string | null;
|
|
536
|
-
status:
|
|
540
|
+
status: 'skipped' | 'completed' | 'processing';
|
|
537
541
|
summary?: MediaJobSummaryResponse;
|
|
538
542
|
}>;
|
|
539
543
|
}>;
|
|
@@ -648,7 +652,7 @@ export type SiteRuntimeAPIEndpoints = {
|
|
|
648
652
|
}>;
|
|
649
653
|
analyticsCollect: APIEndpoint<{
|
|
650
654
|
siteId?: string;
|
|
651
|
-
eventName:
|
|
655
|
+
eventName: 'page_view' | 'cta_click' | 'form_submit';
|
|
652
656
|
path: string;
|
|
653
657
|
referrer?: string | null;
|
|
654
658
|
metadata?: Record<string, unknown>;
|
|
@@ -15,6 +15,7 @@ export type * from "./commercePortalEndpoints";
|
|
|
15
15
|
export type * from "./communications";
|
|
16
16
|
export type * from "./contentRuntime";
|
|
17
17
|
export type * from "./courses";
|
|
18
|
+
export type * from "./participantMessaging";
|
|
18
19
|
export type * from "./publicExperienceEndpoints";
|
|
19
20
|
export type * from "./sdkContracts";
|
|
20
21
|
export type * from "./siteInfrastructure";
|
|
@@ -1,62 +1,66 @@
|
|
|
1
|
-
export { default as PageRenderer } from
|
|
2
|
-
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, SdkConfigForRenderer, } from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export { type ButtonBackground, type ButtonBorder, type ButtonGlobalSettings, type ButtonSystem, type ButtonVariant, type CornerStyle, type EffectApplication, type FontWeight, type GradientSharpness, type GradientStyle, type HoverColor, type HoverTransform, type ShadowSize, type TextTransform, buttonBackgroundSchema, buttonBorderSchema, buttonGlobalSettingsSchema, buttonSystemSchema, buttonVariantSchema, cornerStyleSchema, effectApplicationSchema, fontWeightSchema, gradientSharpnessSchema, gradientStyleSchema, hoverColorSchema, hoverTransformSchema, shadowSizeSchema, textTransformSchema, generateButtonCss, generateDefaultButtonSystem, buttonPresets, type ButtonPreset, EFFECT_PRESETS, getEffectPreset, getEffectPresetsByCategory, getAllEffectPresets, type EffectCategory, type EffectPreset, type EffectContext, type StateGroup, generateButtonCoreCss, getDefaultButtonVariants, type ButtonVariantCore, type ButtonCoreSettings, type ButtonBackgroundType, type GradientDirection, } from
|
|
15
|
-
export { type CardBackground, type CardBorder, type CardSpacing, type CardSystem, type CardVariant, cardBackgroundSchema, cardBorderSchema, cardSpacingSchema, cardSystemSchema, cardVariantSchema, generateCardCss, generateDefaultCardSystem, generateCardCoreCss, getDefaultCardVariants, type CardVariantCore, type CardCoreSettings, type CardBackgroundType, type CardSpacingCore, } from
|
|
16
|
-
export { generateInputCoreCss, getDefaultInputSettings, type InputCoreSettings, } from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
27
|
-
export * from
|
|
28
|
-
export * from
|
|
29
|
-
export * from
|
|
30
|
-
export * from
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export
|
|
36
|
-
export {
|
|
37
|
-
export
|
|
38
|
-
export type {
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export
|
|
43
|
-
export {
|
|
44
|
-
export
|
|
45
|
-
export type {
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export
|
|
49
|
-
export {
|
|
50
|
-
export {
|
|
51
|
-
export type {
|
|
52
|
-
export
|
|
53
|
-
export type
|
|
54
|
-
export type {
|
|
55
|
-
export {
|
|
56
|
-
export type {
|
|
57
|
-
export
|
|
58
|
-
export
|
|
59
|
-
export {
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
62
|
-
export {
|
|
1
|
+
export { default as PageRenderer } from './PageRenderer';
|
|
2
|
+
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, SdkConfigForRenderer, } from './PageRenderer';
|
|
3
|
+
export * from './subroutes';
|
|
4
|
+
export * from './primitives/content/components/Button';
|
|
5
|
+
export * from './structure/schema';
|
|
6
|
+
export * from '@riverbankcms/theme-core/palette';
|
|
7
|
+
export * from '@riverbankcms/theme-core/palette/generateShades';
|
|
8
|
+
export * from '@riverbankcms/theme-core/palette/utils';
|
|
9
|
+
export * from '@riverbankcms/theme-core/recommend/generateThemes';
|
|
10
|
+
export * from '@riverbankcms/theme-core/schema';
|
|
11
|
+
export * from '@riverbankcms/theme-core/site-styles';
|
|
12
|
+
export * from '@riverbankcms/theme-core/styles/buttons';
|
|
13
|
+
export * from '@riverbankcms/theme-core/styles/buttonsLibrary';
|
|
14
|
+
export { type ButtonBackground, type ButtonBorder, type ButtonGlobalSettings, type ButtonSystem, type ButtonVariant, type CornerStyle, type EffectApplication, type FontWeight, type GradientSharpness, type GradientStyle, type HoverColor, type HoverTransform, type ShadowSize, type TextTransform, buttonBackgroundSchema, buttonBorderSchema, buttonGlobalSettingsSchema, buttonSystemSchema, buttonVariantSchema, cornerStyleSchema, effectApplicationSchema, fontWeightSchema, gradientSharpnessSchema, gradientStyleSchema, hoverColorSchema, hoverTransformSchema, shadowSizeSchema, textTransformSchema, generateButtonCss, generateDefaultButtonSystem, buttonPresets, type ButtonPreset, EFFECT_PRESETS, getEffectPreset, getEffectPresetsByCategory, getAllEffectPresets, type EffectCategory, type EffectPreset, type EffectContext, type StateGroup, generateButtonCoreCss, getDefaultButtonVariants, type ButtonVariantCore, type ButtonCoreSettings, type ButtonBackgroundType, type GradientDirection, } from '@riverbankcms/theme-core/buttons';
|
|
15
|
+
export { type CardBackground, type CardBorder, type CardSpacing, type CardSystem, type CardVariant, cardBackgroundSchema, cardBorderSchema, cardSpacingSchema, cardSystemSchema, cardVariantSchema, generateCardCss, generateDefaultCardSystem, generateCardCoreCss, getDefaultCardVariants, type CardVariantCore, type CardCoreSettings, type CardBackgroundType, type CardSpacingCore, } from '@riverbankcms/theme-core/cards';
|
|
16
|
+
export { generateInputCoreCss, getDefaultInputSettings, type InputCoreSettings, } from '@riverbankcms/theme-core/inputs/core';
|
|
17
|
+
export * from '@riverbankcms/theme-core/tokens';
|
|
18
|
+
export * from '@riverbankcms/theme-core/styles/gradients';
|
|
19
|
+
export * from '@riverbankcms/theme-core/styles/gradientsLibrary';
|
|
20
|
+
export * from '@riverbankcms/theme-core/gradients';
|
|
21
|
+
export * from '@riverbankcms/theme-core/footer/mode';
|
|
22
|
+
export * from '@riverbankcms/theme-core/ThemeScope';
|
|
23
|
+
export * from '@riverbankcms/theme-core/ThemeFontLoader';
|
|
24
|
+
export * from '@riverbankcms/theme-core/ThemeScopeCore';
|
|
25
|
+
export * from '@riverbankcms/theme-core/themeScopeUtils';
|
|
26
|
+
export * from '@riverbankcms/theme-core/fonts';
|
|
27
|
+
export * from '@riverbankcms/theme-core/runtime/buildThemeRuntime';
|
|
28
|
+
export * from '@riverbankcms/theme-core/runtime/buildThemeRuntimeFromBridge';
|
|
29
|
+
export * from '@riverbankcms/theme-core/siteChrome';
|
|
30
|
+
export * from '@riverbankcms/theme-core/blocks';
|
|
31
|
+
export * from './system';
|
|
32
|
+
export { SUPPORTED_LOADER_ENDPOINTS, isSupportedLoaderEndpoint, type SupportedLoaderEndpoint, } from './system/data';
|
|
33
|
+
export type { AuthoredLinkValue, LinkValue, InternalLinkValue, InternalResolvedLinkValue, InternalRouteOnlyLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, } from './system/types/link';
|
|
34
|
+
export { linkSchema, internalLinkSchema, internalResolvedLinkSchema, internalRouteOnlyLinkSchema, externalLinkSchema, customLinkSchema, pageLinkSchema, entryLinkSchema, isInternalResolvedLinkValue, } from './system/types/link';
|
|
35
|
+
export { heroManifest } from './system/blocks/hero';
|
|
36
|
+
export type { HeroContent, HeroMedia } from './system/blocks/hero';
|
|
37
|
+
export { bodyTextManifest } from './system/blocks/body-text';
|
|
38
|
+
export type { BodyTextContent } from './system/blocks/body-text';
|
|
39
|
+
export type { TipTapNode } from './system/manifest/richTextSchema';
|
|
40
|
+
export { createManifestValidator } from './system/manifest/validation';
|
|
41
|
+
export { singleButtonManifest } from './system/blocks/single-button';
|
|
42
|
+
export { Text, RichText } from './primitives/content/primitives';
|
|
43
|
+
export type { PrimitiveAPI, RichTextPrimitiveProps, RichTextVariant, TextProps, } from './primitives/content/primitives';
|
|
44
|
+
export { resolveImageUrl, ImagePresets, buildMediaAssetIndex, buildResolveImageUrlContext, setContextSupabaseUrl, setContextSiteId, setContextMediaAssetIndex, setContextResolveImageUrlContext, setContextMediaAssets, getSiteId, runWithMediaContext, computeMediaTransformStyle, resolveImageSourceSetWithContext, resolveImageUrlWithContext, resolveMediaStorageUrl, resolveMediaWithContext, resolveTargetAspectRatio, } from './system/runtime/nodes/media';
|
|
45
|
+
export type { ImageOptions, MediaAssetIndex, MediaAssetIndexItem, ResolveImageSourceSetOptions, ResolveImageUrlContext, ResolveImageUrlContextInput, ResolvedImageSourceSet, } from './system/runtime/nodes/media';
|
|
46
|
+
export type { AudioMedia, ArchiveMedia, DocumentMedia, ImageMedia, Media, MediaOfType, MediaTypeDiscriminant, PublicDownloadMediaType, PublicDownloadMedia, SpreadsheetMedia, VideoMedia, } from './lib/media';
|
|
47
|
+
export { MEDIA_TYPE_DISCRIMINANTS, PUBLIC_DOWNLOAD_MEDIA_TYPES, isMediaTypeDiscriminant, mediaSchema, mediaTypeDiscriminantFromMimeType, } from './lib/media';
|
|
48
|
+
export { resolveMediaSlotContract } from './system/media/slotContracts';
|
|
49
|
+
export { collectConstrainedVideoMediaValues } from './system/media/constrainedVideoMedia';
|
|
50
|
+
export type { ConstrainedVideoMediaValue } from './system/media/constrainedVideoMedia';
|
|
51
|
+
export type { MediaDeliveryStrategyId, MediaSlotContract, MediaSlotCropMode, MediaSlotDeliveryContract, MediaSlotEditContract, } from '@riverbankcms/media-core';
|
|
52
|
+
export { getPicsumImage } from './lib/picsum';
|
|
53
|
+
export { asRecord, isObjectRecord, isRecord, type UnknownRecord, } from './lib/typeGuards';
|
|
54
|
+
export type { PublicEvent, EventLayout, ColumnOption, CalendarView, WeekStart, EventVenue, } from './system/blocks/events/shared/types';
|
|
55
|
+
export type { FormRecord, FormFieldDef, } from './system/runtime/nodes/form.types';
|
|
56
|
+
export type { ShopDisplayConfig } from './system/runtime/nodes/shop.types';
|
|
57
|
+
export type { SemanticSpacing } from './system/spacing';
|
|
58
|
+
export { defineFrameCapability, flushPanelFrame, panelFrame, plainFrame, resolveFrameStyles, } from './system/frame/frameStyles';
|
|
59
|
+
export type { ContentFrameIntent, FlushFrameTreatment, FlushPanelFrameIntent, FrameBleedEdge, FrameCapability, FrameDecisionFor, FrameKind, PanelFrameIntent, PanelFrameTreatment, PlainFrameIntent, ResolvedFlushPanelFrame, ResolvedFrameStyles, ResolvedPanelFrame, ResolvedPlainFrame, SectionPaddingX, FrameSurfaceOwner, } from './system/frame/frameStyles';
|
|
60
|
+
export { resolveBackground, SectionBackground, type BackgroundInput, type ResolvedBackground, type SectionBackgroundProps, } from './system/helpers';
|
|
61
|
+
export type { SectionStylesContent } from './system/fields/boxStyles';
|
|
62
|
+
export { eventCalendarDisplayModeValues, eventCalendarListLayoutAppliesToDisplayMode, eventCalendarListLayoutCompatibleDisplayModeValues, eventCalendarListLayoutOptions, eventCalendarListLayoutValues, getPreviewContext, isEventCalendarDisplayMode, isEventCalendarListLayout, isEventContentType, type EventCalendarDisplayMode, type EventCalendarListLayout, type PreviewContext, } from './system/constants/events';
|
|
63
|
+
export { eventCalendarListLayoutFacet, defineCustomizeFacet, isSystemCustomizeFacetId, isSystemCustomizeFacetValue, parseSystemCustomizeFacetSelection, systemCustomizeFacetApplyContentPatch, systemCustomizeFacetAppliesToLayoutVariant, systemCustomizeFacetCurrentValue, systemCustomizeFacetDefinitionForBlock, systemCustomizeFacetDefinitionForId, systemCustomizeFacetDefinitions, systemCustomizeFacetDefinitionsForBlock, systemCustomizeFacetIds, systemCustomizeFacetLabelForValue, systemCustomizeFacetNextValue, systemCustomizeFacetRollbackContentPatch, systemCustomizeFacetValues, type EventCalendarListLayoutCustomizeFacetTarget, type CustomizeFacetContent, type CustomizeFacetCycleDirection, type CustomizeFacetDefinition, type CustomizeFacetTarget, type CustomizeFacetValueOption, type ParseSystemCustomizeFacetSelectionResult, type SystemCustomizeFacetBlockKind, type SystemCustomizeFacetDefinition, type SystemCustomizeFacetHistorySelection, type SystemCustomizeFacetId, type SystemCustomizeFacetSelection, type SystemCustomizeFacetTransition, type SystemCustomizeFacetValue, } from './system/customize/facets';
|
|
64
|
+
export { transformSdkBlockToManifest, transformSdkBlockToDefinition, } from './sdkBlockTransform';
|
|
65
|
+
export { rgbColorValue, cssVarValue, backgroundColorStyle, textColorStyle, borderColorStyle, gradientBackgroundStyle, mergeStyles, } from '@riverbankcms/theme-core/utils/colorStyles';
|
|
66
|
+
export { parseVideoUrl, getVideoEmbed, getEmbedUrl, getThumbnailUrl, type VideoProvider, type VideoInfo, type EmbedInfo, } from './lib/video';
|
|
@@ -18,6 +18,16 @@ export declare const mediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
18
18
|
height: z.ZodOptional<z.ZodNumber>;
|
|
19
19
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
20
20
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
21
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22
|
+
tag: z.ZodLiteral<"storage">;
|
|
23
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
storageBucket: z.ZodString;
|
|
25
|
+
storagePath: z.ZodString;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
tag: z.ZodLiteral<"external-src">;
|
|
28
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
29
|
+
src: z.ZodString;
|
|
30
|
+
}, z.core.$strip>], "tag">>;
|
|
21
31
|
transform: z.ZodOptional<z.ZodObject<{
|
|
22
32
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
23
33
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -51,6 +61,16 @@ export declare const mediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
51
61
|
height: z.ZodOptional<z.ZodNumber>;
|
|
52
62
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
53
63
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
64
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
65
|
+
tag: z.ZodLiteral<"storage">;
|
|
66
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
67
|
+
storageBucket: z.ZodString;
|
|
68
|
+
storagePath: z.ZodString;
|
|
69
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
70
|
+
tag: z.ZodLiteral<"external-src">;
|
|
71
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
72
|
+
src: z.ZodString;
|
|
73
|
+
}, z.core.$strip>], "tag">>;
|
|
54
74
|
transform: z.ZodOptional<z.ZodObject<{
|
|
55
75
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
56
76
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -84,6 +104,16 @@ export declare const mediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
84
104
|
height: z.ZodOptional<z.ZodNumber>;
|
|
85
105
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
86
106
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
107
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
108
|
+
tag: z.ZodLiteral<"storage">;
|
|
109
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
110
|
+
storageBucket: z.ZodString;
|
|
111
|
+
storagePath: z.ZodString;
|
|
112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
113
|
+
tag: z.ZodLiteral<"external-src">;
|
|
114
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
115
|
+
src: z.ZodString;
|
|
116
|
+
}, z.core.$strip>], "tag">>;
|
|
87
117
|
transform: z.ZodOptional<z.ZodObject<{
|
|
88
118
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
89
119
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -117,6 +147,16 @@ export declare const mediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
117
147
|
height: z.ZodOptional<z.ZodNumber>;
|
|
118
148
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
119
149
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
150
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
151
|
+
tag: z.ZodLiteral<"storage">;
|
|
152
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
153
|
+
storageBucket: z.ZodString;
|
|
154
|
+
storagePath: z.ZodString;
|
|
155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
156
|
+
tag: z.ZodLiteral<"external-src">;
|
|
157
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
158
|
+
src: z.ZodString;
|
|
159
|
+
}, z.core.$strip>], "tag">>;
|
|
120
160
|
transform: z.ZodOptional<z.ZodObject<{
|
|
121
161
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
122
162
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -150,6 +190,16 @@ export declare const mediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
150
190
|
height: z.ZodOptional<z.ZodNumber>;
|
|
151
191
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
152
192
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
193
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
194
|
+
tag: z.ZodLiteral<"storage">;
|
|
195
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
196
|
+
storageBucket: z.ZodString;
|
|
197
|
+
storagePath: z.ZodString;
|
|
198
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
199
|
+
tag: z.ZodLiteral<"external-src">;
|
|
200
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
201
|
+
src: z.ZodString;
|
|
202
|
+
}, z.core.$strip>], "tag">>;
|
|
153
203
|
transform: z.ZodOptional<z.ZodObject<{
|
|
154
204
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
155
205
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -183,6 +233,16 @@ export declare const mediaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
183
233
|
height: z.ZodOptional<z.ZodNumber>;
|
|
184
234
|
storageBucket: z.ZodOptional<z.ZodString>;
|
|
185
235
|
storagePath: z.ZodOptional<z.ZodString>;
|
|
236
|
+
poster: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
237
|
+
tag: z.ZodLiteral<"storage">;
|
|
238
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
239
|
+
storageBucket: z.ZodString;
|
|
240
|
+
storagePath: z.ZodString;
|
|
241
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
242
|
+
tag: z.ZodLiteral<"external-src">;
|
|
243
|
+
assetId: z.ZodOptional<z.ZodString>;
|
|
244
|
+
src: z.ZodString;
|
|
245
|
+
}, z.core.$strip>], "tag">>;
|
|
186
246
|
transform: z.ZodOptional<z.ZodObject<{
|
|
187
247
|
aspectCrops: z.ZodOptional<z.ZodPipe<z.ZodTransform<object | undefined, unknown>, z.ZodRecord<z.ZodString, z.ZodCatch<z.ZodObject<{
|
|
188
248
|
aspect: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodOptional<z.ZodString>>;
|
|
@@ -17,7 +17,7 @@ import { type SectionStylesContent } from "../fields/boxStyles";
|
|
|
17
17
|
* The block no longer uses fragment composition - instead it dynamically
|
|
18
18
|
* loads the booking form definition and renders its fields.
|
|
19
19
|
*/
|
|
20
|
-
export declare const appointmentBookingManifest: import("..").DefinedBlockManifest<{
|
|
20
|
+
export declare const appointmentBookingManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
21
21
|
readonly id: "block.appointment-booking";
|
|
22
22
|
readonly version: "2.0.0";
|
|
23
23
|
readonly title: "Appointment Booking";
|
|
@@ -29104,7 +29104,7 @@ export declare const appointmentBookingManifest: import("..").DefinedBlockManife
|
|
|
29104
29104
|
readonly tags: readonly ["booking", "appointment", "calendar", "scheduling", "reservation"];
|
|
29105
29105
|
readonly icon: "Calendar";
|
|
29106
29106
|
readonly layout: readonly [import("..").NodeDefinition];
|
|
29107
|
-
}
|
|
29107
|
+
}>>;
|
|
29108
29108
|
export type AppointmentBookingContent = {
|
|
29109
29109
|
formId: string;
|
|
29110
29110
|
heading?: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AudioMedia, ImageMedia } from "../../lib/media";
|
|
2
2
|
import type { SystemBlockDefinition } from "../registry";
|
|
3
|
-
export declare const audioPlayerManifest: import("..").DefinedBlockManifest<{
|
|
3
|
+
export declare const audioPlayerManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
4
4
|
readonly id: "block.audio-player";
|
|
5
5
|
readonly title: "Audio Player";
|
|
6
6
|
readonly titleSource: "title";
|
|
@@ -49,7 +49,7 @@ export declare const audioPlayerManifest: import("..").DefinedBlockManifest<{
|
|
|
49
49
|
readonly typography: "body";
|
|
50
50
|
readonly spacing: "md";
|
|
51
51
|
};
|
|
52
|
-
}
|
|
52
|
+
}>>;
|
|
53
53
|
export type AudioPlayerContent = {
|
|
54
54
|
audio?: AudioMedia | null;
|
|
55
55
|
title?: string | null;
|
|
@@ -2,7 +2,7 @@ import { type CardStylesContent, type ContainerStylesContent, type SectionStyles
|
|
|
2
2
|
import type { NodeDefinition } from "../node";
|
|
3
3
|
import type { SystemBlockDefinition } from "../registry";
|
|
4
4
|
type BlogListingVariant = "grid" | "stack";
|
|
5
|
-
export declare const blogListingManifest: import("..").DefinedBlockManifest<{
|
|
5
|
+
export declare const blogListingManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
6
6
|
readonly id: "block.blog-listing";
|
|
7
7
|
readonly title: "Blog listing";
|
|
8
8
|
readonly category: "blog";
|
|
@@ -29071,7 +29071,7 @@ export declare const blogListingManifest: import("..").DefinedBlockManifest<{
|
|
|
29071
29071
|
readonly background: "surface";
|
|
29072
29072
|
readonly spacing: "lg";
|
|
29073
29073
|
};
|
|
29074
|
-
}
|
|
29074
|
+
}>>;
|
|
29075
29075
|
export type BlogListingContent = {
|
|
29076
29076
|
variant?: BlogListingVariant | null;
|
|
29077
29077
|
/**
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import type { NodeDefinition } from "../node";
|
|
3
2
|
import type { SystemBlockDefinition } from "../registry";
|
|
4
3
|
export declare const blogPostManifest: import("..").DefinedBlockManifest<{
|
|
5
|
-
readonly id: "block.blog-post";
|
|
6
|
-
readonly version: "0.1.0";
|
|
7
|
-
readonly title: "Blog post";
|
|
8
|
-
readonly description: "Highlights a single blog post with title, image, and excerpt.";
|
|
9
|
-
readonly category: "blog";
|
|
10
|
-
readonly contentTypes: readonly ["post"];
|
|
11
|
-
readonly tags: readonly ["blog", "post", "featured", "highlight", "article", "single"];
|
|
12
|
-
readonly icon: "FileText";
|
|
13
|
-
readonly styleTokens: {
|
|
14
|
-
readonly background: "surface";
|
|
15
|
-
readonly typography: "body";
|
|
16
|
-
readonly spacing: "md";
|
|
17
|
-
};
|
|
18
|
-
readonly behaviours: {
|
|
19
|
-
readonly supportsThemeSwitching: true;
|
|
20
|
-
readonly inlineEditing: false;
|
|
21
|
-
readonly animation: false;
|
|
22
|
-
readonly paletteHidden: false;
|
|
23
|
-
};
|
|
24
4
|
readonly additionalFields: import("..").FieldDefinition[];
|
|
25
|
-
readonly layout: NodeDefinition;
|
|
26
5
|
}>;
|
|
27
6
|
export type BlogPostContent = {
|
|
28
7
|
title?: string | null;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import type { TipTapNode } from "../manifest/richTextSchema";
|
|
2
2
|
import type { SystemBlockDefinition } from "../registry";
|
|
3
|
-
export declare const bodyTextManifest: import("..").DefinedBlockManifest<{
|
|
3
|
+
export declare const bodyTextManifest: import("..").DefinedBlockManifest<import("..").BlockContentShapeInput<{
|
|
4
4
|
readonly id: "block.body-text";
|
|
5
5
|
readonly title: "Body Text";
|
|
6
6
|
readonly titleSource: "heading";
|
|
7
7
|
readonly category: "content";
|
|
8
8
|
readonly fragments: readonly [{
|
|
9
9
|
readonly fragment: import("..").DefinedFragment<{
|
|
10
|
-
readonly id: "bodyCopy";
|
|
11
|
-
readonly title: "Body Copy";
|
|
12
|
-
readonly description: "Heading, rich text body, and alignment controls.";
|
|
13
10
|
readonly fields: readonly [{
|
|
14
11
|
readonly id: "heading";
|
|
15
12
|
readonly type: "text";
|
|
@@ -37,7 +34,6 @@ export declare const bodyTextManifest: import("..").DefinedBlockManifest<{
|
|
|
37
34
|
readonly label: "Center";
|
|
38
35
|
}];
|
|
39
36
|
}];
|
|
40
|
-
readonly layout: import("..").NodeDefinition;
|
|
41
37
|
}>;
|
|
42
38
|
readonly fieldPriority: 0;
|
|
43
39
|
}];
|
|
@@ -71,7 +67,7 @@ export declare const bodyTextManifest: import("..").DefinedBlockManifest<{
|
|
|
71
67
|
readonly styleTokens: {
|
|
72
68
|
readonly spacing: "md";
|
|
73
69
|
};
|
|
74
|
-
}
|
|
70
|
+
}>>;
|
|
75
71
|
export type BodyTextManifest = typeof bodyTextManifest;
|
|
76
72
|
export type BodyTextAlignment = "left" | "center";
|
|
77
73
|
export type BodyTextContent = {
|