@riverbankcms/sdk 0.102.0 → 0.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/dist/{PreviewEditorSidebar-BKkhhkJk.mjs → PreviewEditorSidebar-DkNpCPja.mjs} +75 -9
- package/dist/{PreviewEditorUI-DIvTqcqI.mjs → PreviewEditorUI-DeNKtqk3.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-CA2k7Z_T.mjs → SdkPreviewModeRuntime-5bCsXK2y.mjs} +572 -285
- package/dist/{SiteChromeCustomizeContext-Bh9-DtMQ.mjs → SiteChromeCustomizeContext-CO1sTK_W.mjs} +336 -36
- package/dist/_dts/ai/src/contracts/proposals.d.ts +298 -298
- package/dist/_dts/api/src/index.d.ts +1 -1
- package/dist/_dts/api/src/navigation/contracts.d.ts +6 -6
- package/dist/_dts/api/src/siteBanner.d.ts +2 -2
- package/dist/_dts/blocks/src/PageRenderer.d.ts +6 -1
- package/dist/_dts/blocks/src/bindings/index.d.ts +2 -2
- package/dist/_dts/blocks/src/index.d.ts +1 -1
- package/dist/_dts/blocks/src/server.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +7 -7
- package/dist/_dts/blocks/src/system/blocks/events/event-calendar.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +14 -14
- package/dist/_dts/blocks/src/system/blocks/location-map.d.ts +5 -5
- package/dist/_dts/blocks/src/system/blocks/media-text.d.ts +227 -227
- package/dist/_dts/blocks/src/system/blocks/offerings-preview/model.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 +2 -2
- package/dist/_dts/blocks/src/system/inlineText.d.ts +2 -2
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +177 -177
- package/dist/_dts/blocks/src/system/node/schema.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/nodes/shared/contract-schemas.d.ts +7 -7
- package/dist/_dts/blocks/src/system/transforms/typed.d.ts +1 -1
- package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +154 -18
- package/dist/_dts/db/src/schemas/forms.d.ts +15 -15
- package/dist/_dts/preview-next/src/client/blocks/previewProjection/types.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/CustomizeColorTokenPicker.d.ts +27 -0
- package/dist/_dts/preview-next/src/client/preview/PageBlockEditorPanel.d.ts +2 -1
- package/dist/_dts/preview-next/src/client/preview/SiteChromeCustomizeContext.d.ts +10 -2
- package/dist/_dts/preview-next/src/client/preview/sidebarTabPreference.d.ts +1 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeQuickControlHistoryState.d.ts +16 -1
- package/dist/_dts/preview-next/src/client/preview/siteChromeSavePlan.d.ts +3 -2
- package/dist/_dts/sdk/src/config/validation.d.ts +3 -3
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/page.d.ts +2 -0
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +10 -10
- package/dist/_dts/sdk/src/next/revalidate.d.ts +14 -1
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/blocks-page-renderer.d.ts +2 -1
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +3 -2
- package/dist/_dts/sdk/src/rendering/helpers/loadContent.d.ts +3 -4
- package/dist/_dts/sdk/src/rendering/hooks/useContent.d.ts +1 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/site-commands/src/commands.d.ts +19 -19
- package/dist/_dts/theme-core/src/accordions/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +3 -3
- package/dist/_dts/theme-core/src/buttons/types.d.ts +7 -7
- package/dist/_dts/theme-core/src/cards/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/generated/containerResponsiveThemeCss.d.ts +1 -1
- package/dist/_dts/theme-core/src/inputs/types.d.ts +4 -4
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +150 -144
- package/dist/_dts/theme-core/src/navigation/types.d.ts +6 -6
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +5 -5
- package/dist/_dts/theme-core/src/schema.d.ts +199 -169
- package/dist/_dts/theme-core/src/site-styles/backgroundAppearance.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/contentTemplateRuntimeCompiler.d.ts +2 -1
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +24 -24
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +2 -2
- package/dist/_dts/theme-core/src/site-styles/index.d.ts +1 -0
- package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +4 -2
- package/dist/_dts/theme-core/src/site-styles/runtimeCompiler.d.ts +26 -1
- package/dist/_dts/theme-core/src/site-styles/sectionTransitions.d.ts +77 -0
- package/dist/_dts/theme-core/src/site-styles/siteChromeNavPreferences.d.ts +44 -0
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +1 -1
- package/dist/_dts/theme-core/src/tokens/themeColorTokens.d.ts +3 -3
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +1 -1
- package/dist/_dts/ui/src/card.d.ts +1 -1
- package/dist/_dts/ui/src/toggle.d.ts +2 -2
- package/dist/cli/index.mjs +28 -7
- package/dist/cli/init-docs/content/workflow-isr-revalidation.md +9 -1
- package/dist/client/client.mjs +337 -69
- package/dist/client/hooks.mjs +13 -1
- package/dist/client/rendering/client.mjs +25 -4
- package/dist/client/rendering.mjs +336 -68
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-K8Oqj97H.mjs → sdk-runtime-C8whifOy.mjs} +1 -1
- package/dist/{separator-CRoP34pT.mjs → separator-CM2C5Axs.mjs} +1 -1
- package/dist/server/components.mjs +321 -65
- package/dist/server/config-validation.mjs +12 -1
- package/dist/server/config.mjs +12 -1
- package/dist/server/data.mjs +12 -1
- package/dist/server/index.mjs +1 -1
- package/dist/server/next/revalidate.mjs +31 -1
- package/dist/server/next.mjs +325 -66
- package/dist/server/page-converter.mjs +12 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +323 -65
- package/dist/server/rendering.mjs +323 -65
- package/dist/server/routing.mjs +24 -3
- package/dist/server/server.mjs +15 -2
- package/dist/server/theme-bridge.mjs +153 -32
- package/dist/server/theme.mjs +2 -0
- package/dist/styles/index.css +123 -30
- package/package.json +1 -1
|
@@ -121,4 +121,4 @@ export type { AIChatMessage, AiBriefTurn, AiDesignerThemePatchOp, AiPatchApplyRe
|
|
|
121
121
|
export type { CancelFlexibleBalanceBookingDueToNonPaymentRequest, FlexibleBalanceAdminActionPlan, FlexibleBalanceAdminActionResponse, FlexibleBalanceAdminActionSource, FlexibleBalanceAdminActionView, ReopenFlexibleBalanceBookingAfterNonPaymentCancellationRequest, } from "./types";
|
|
122
122
|
export type { CancelShopOrderItemRequest, CancelShopOrderItemResponse, CancelShopOrderRequest, CancelShopOrderResponse, StaffCancellationContextCategory, StaffCancellationContextInput, StaffCancellationContextUiCategory, } from "./siteOperations";
|
|
123
123
|
export type { ContentTypeKey } from "./contentEntries";
|
|
124
|
-
export type { BlockListItem, EntryPageContentSlot, EntryPageContentSlotAllowedBlocks, EntryPageContentSlotWarning, EntryPageContentSlotsResponse, SdkEntrySlotContent, SiteBookingOfferingPresetSummary, WorkflowContentEntryTargetSnapshot, WorkflowPageDraftContent, WorkflowPagePublishedContent, WorkflowPageStatus, WorkflowPageTargetSnapshot, WorkflowRunStatusResponse, WorkflowTargetEntrySnapshot, } from "./contentRuntime";
|
|
124
|
+
export type { BlockListItem, EntryPageContentSlot, EntryPageContentSlotAllowedBlocks, EntryPageContentSlotWarning, EntryPageContentSlotsResponse, SdkEntrySlotContent, SdkRuntimePageSurfaceSubject, SiteBookingOfferingPresetSummary, WorkflowContentEntryTargetSnapshot, WorkflowPageDraftContent, WorkflowPagePublishedContent, WorkflowPageStatus, WorkflowPageTargetSnapshot, WorkflowRunStatusResponse, WorkflowTargetEntrySnapshot, } from "./contentRuntime";
|
|
@@ -24,8 +24,8 @@ export declare const cartLinkLabelConfigSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
24
24
|
export declare const cartLinkPayloadSchema: z.ZodObject<{
|
|
25
25
|
kind: z.ZodLiteral<"cart">;
|
|
26
26
|
badge: z.ZodEnum<{
|
|
27
|
-
hidden: "hidden";
|
|
28
27
|
"show-count": "show-count";
|
|
28
|
+
hidden: "hidden";
|
|
29
29
|
}>;
|
|
30
30
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
31
31
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -103,8 +103,8 @@ export declare const linkPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
103
103
|
}, z.core.$strip>, z.ZodObject<{
|
|
104
104
|
kind: z.ZodLiteral<"cart">;
|
|
105
105
|
badge: z.ZodEnum<{
|
|
106
|
-
hidden: "hidden";
|
|
107
106
|
"show-count": "show-count";
|
|
107
|
+
hidden: "hidden";
|
|
108
108
|
}>;
|
|
109
109
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
110
110
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -136,8 +136,8 @@ export declare const navigationLinkInputSchemaOptions: readonly [z.ZodObject<{
|
|
|
136
136
|
}, z.core.$strip>, z.ZodObject<{
|
|
137
137
|
kind: z.ZodLiteral<"cart">;
|
|
138
138
|
badge: z.ZodEnum<{
|
|
139
|
-
hidden: "hidden";
|
|
140
139
|
"show-count": "show-count";
|
|
140
|
+
hidden: "hidden";
|
|
141
141
|
}>;
|
|
142
142
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
143
143
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -169,8 +169,8 @@ export declare const navigationLinkInputSchema: z.ZodDiscriminatedUnion<readonly
|
|
|
169
169
|
}, z.core.$strip>, z.ZodObject<{
|
|
170
170
|
kind: z.ZodLiteral<"cart">;
|
|
171
171
|
badge: z.ZodEnum<{
|
|
172
|
-
hidden: "hidden";
|
|
173
172
|
"show-count": "show-count";
|
|
173
|
+
hidden: "hidden";
|
|
174
174
|
}>;
|
|
175
175
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
176
176
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -216,8 +216,8 @@ export declare const dashboardNavigationLinkSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
216
216
|
}, z.core.$strip>, z.ZodObject<{
|
|
217
217
|
kind: z.ZodLiteral<"cart">;
|
|
218
218
|
badge: z.ZodEnum<{
|
|
219
|
-
hidden: "hidden";
|
|
220
219
|
"show-count": "show-count";
|
|
220
|
+
hidden: "hidden";
|
|
221
221
|
}>;
|
|
222
222
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
223
223
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -249,8 +249,8 @@ export declare const sdkNavigationLinkInputSchema: z.ZodDiscriminatedUnion<reado
|
|
|
249
249
|
}, z.core.$strip>, z.ZodObject<{
|
|
250
250
|
kind: z.ZodLiteral<"cart">;
|
|
251
251
|
badge: z.ZodEnum<{
|
|
252
|
-
hidden: "hidden";
|
|
253
252
|
"show-count": "show-count";
|
|
253
|
+
hidden: "hidden";
|
|
254
254
|
}>;
|
|
255
255
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
256
256
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -121,8 +121,8 @@ export declare const siteBannerSettingsSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
121
121
|
}, z.core.$strip>, z.ZodObject<{
|
|
122
122
|
kind: z.ZodLiteral<"cart">;
|
|
123
123
|
badge: z.ZodEnum<{
|
|
124
|
-
hidden: "hidden";
|
|
125
124
|
"show-count": "show-count";
|
|
125
|
+
hidden: "hidden";
|
|
126
126
|
}>;
|
|
127
127
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
128
128
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -187,8 +187,8 @@ export declare const siteBannerSettingsInputSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
187
187
|
}, z.core.$strip>, z.ZodObject<{
|
|
188
188
|
kind: z.ZodLiteral<"cart">;
|
|
189
189
|
badge: z.ZodEnum<{
|
|
190
|
-
hidden: "hidden";
|
|
191
190
|
"show-count": "show-count";
|
|
191
|
+
hidden: "hidden";
|
|
192
192
|
}>;
|
|
193
193
|
label: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
194
194
|
kind: z.ZodLiteral<"icon-only">;
|
|
@@ -5,6 +5,7 @@ import type { Theme } from '../../theme-core/src/schema';
|
|
|
5
5
|
import type { SdkCustomBlock } from './system/manifest/schema';
|
|
6
6
|
import type { ThemeTokens } from './system/theme';
|
|
7
7
|
import type { RouteMap } from './system/transforms';
|
|
8
|
+
import type { CompiledBoundaryRuntime } from '../../theme-core/src/site-styles/index';
|
|
8
9
|
import { type MediaAssetIndexItem, type ResolveImageUrlContext, type ResolveImageUrlContextInput } from './system/runtime/nodes/media';
|
|
9
10
|
import type { BookingOfferingPresetSummary } from './system/blocks/offerings-preview/model';
|
|
10
11
|
/**
|
|
@@ -166,13 +167,17 @@ export type SdkConfigForRenderer = {
|
|
|
166
167
|
customBlocks?: SdkCustomBlock[];
|
|
167
168
|
};
|
|
168
169
|
export type PageBlockPosition = 'only' | 'first' | 'middle' | 'last';
|
|
170
|
+
export type PageRuntimeBoundary = CompiledBoundaryRuntime<string>;
|
|
171
|
+
type PageBoundaryWrapper = (boundary: PageRuntimeBoundary, rendered: React.ReactNode) => React.ReactNode;
|
|
169
172
|
interface PageRendererProps {
|
|
170
173
|
theme: Theme;
|
|
171
174
|
page: PageOutline | null;
|
|
175
|
+
runtimeBoundaries?: readonly PageRuntimeBoundary[];
|
|
172
176
|
usePlaceholders?: boolean;
|
|
173
177
|
dataContext?: PageRendererDataContext;
|
|
174
178
|
routeMap?: RouteMap;
|
|
175
179
|
wrapBlock?: (blockId: string, rendered: React.ReactNode) => React.ReactNode;
|
|
180
|
+
wrapBoundary?: PageBoundaryWrapper;
|
|
176
181
|
registry?: ResolverContext['registry'];
|
|
177
182
|
themeTokens?: ThemeTokens;
|
|
178
183
|
blockOverrides?: BlockOverrides;
|
|
@@ -180,5 +185,5 @@ interface PageRendererProps {
|
|
|
180
185
|
customBlocks?: SdkCustomBlock[];
|
|
181
186
|
previewAuthoring?: ResolverContext['previewAuthoring'];
|
|
182
187
|
}
|
|
183
|
-
export default function PageRenderer({ theme, page, usePlaceholders, dataContext, wrapBlock, registry, themeTokens: providedThemeTokens, routeMap, blockOverrides, sdkConfig, customBlocks, previewAuthoring, }: PageRendererProps): React.JSX.Element;
|
|
188
|
+
export default function PageRenderer({ theme, page, runtimeBoundaries, usePlaceholders, dataContext, wrapBlock, wrapBoundary, registry, themeTokens: providedThemeTokens, routeMap, blockOverrides, sdkConfig, customBlocks, previewAuthoring, }: PageRendererProps): React.JSX.Element;
|
|
184
189
|
export {};
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
export type { BindingSource, BindingDescriptor, BindingInput, BindingMap, BindingContext, BindingPath, BindingTransformName, KnownBindingTransformName, FieldBindingDescriptor, MetaBindingDescriptor, LiteralBindingDescriptor, TransformBindingDescriptor, FallbackBindingDescriptor, } from './types';
|
|
8
8
|
export { TRANSFORMS, BINDING_SOURCES } from './types';
|
|
9
|
-
export { asDesignBlockId, asContentTemplateDesignBlockId, asLayoutVariantKey, buildPageDesignEditorReadModel, compileContentTemplateRuntimeFields, parsePageDesignIntent, surfaceResolutionContextFromTheme, designRuntimeRulesForTheme, type DesignBlockId, parseContentTemplateDesignIntent, type CompiledBlockRuntimeFields, type LayoutVariantKey, type PageDesignEditorBlockInput, type PageDesignIntent, type SurfaceResolutionContext, applyBlockContentVariantPolicy, deriveSiteStyleBlockPolicy, } from '../../../theme-core/src/site-styles/index';
|
|
10
|
-
export { applyCompiledRuntimeFieldsToContent, buildEditorModelRuntimeFieldsByBlockId, retargetCompiledRuntimeFieldsForContentAdjacency, } from '../../../theme-core/src/site-styles/previewCompiler';
|
|
9
|
+
export { asDesignBlockId, asContentTemplateDesignBlockId, asLayoutVariantKey, buildPageDesignEditorReadModel, compileContentTemplateRuntimeFields, parsePageDesignIntent, surfaceResolutionContextFromTheme, designRuntimeRulesForTheme, type DesignBlockId, parseContentTemplateDesignIntent, type CompiledBlockRuntimeFields, type CompiledBoundaryRuntime, type LayoutVariantKey, type PageDesignEditorBlockInput, type PageDesignIntent, type SurfaceResolutionContext, applyBlockContentVariantPolicy, deriveSiteStyleBlockPolicy, } from '../../../theme-core/src/site-styles/index';
|
|
10
|
+
export { applyCompiledRuntimeFieldsToContent, buildEditorModelRuntimeBoundaries, buildEditorModelRuntimeFieldsByBlockId, compileEditorModelRuntime, retargetCompiledBoundaryRuntimeForContentAdjacency, retargetCompiledRuntimeFieldsForContentAdjacency, } from '../../../theme-core/src/site-styles/previewCompiler';
|
|
11
11
|
export { blockDesignMetadataMapFromDefinitions } from '../system/designCapabilities';
|
|
12
12
|
export { systemBlockDefinitions } from '../system/blocks';
|
|
13
13
|
import type { BindingContext, BindingDescriptor, BindingInput, BindingMap, BindingPath, FieldBindingDescriptor, FallbackBindingDescriptor, KnownBindingTransformName, LiteralBindingDescriptor, MetaBindingDescriptor, TransformBindingDescriptor } from './types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { default as PageRenderer } from './PageRenderer';
|
|
2
2
|
export { createCustomBlockRegistry, mergeBlockDescriptorsWithRegistry, planCustomBlockRegistryResolution, transformToBlockDescriptor, } from './customBlockRegistry';
|
|
3
3
|
export type { CustomBlockConflictReason, CustomBlockManifestSource, CustomBlockRegistry, CustomBlockRegistryConflict, CustomBlockRegistryEntry, CustomBlockRegistryResolutionPlan, CustomBlockSourcePolicy, ResolvedCustomBlockManifest, SdkConfigForBlockPicker, } from './customBlockRegistry';
|
|
4
|
-
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, PageBlockPosition, SdkConfigForRenderer, } from './PageRenderer';
|
|
4
|
+
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, PageBlockPosition, PageRuntimeBoundary, SdkConfigForRenderer, } from './PageRenderer';
|
|
5
5
|
export * from './subroutes';
|
|
6
6
|
export * from './primitives/content/components/Button';
|
|
7
7
|
export * from './structure/schema';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as PageRenderer } from './PageRenderer';
|
|
2
|
-
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, PageBlockPosition, SdkConfigForRenderer, } from './PageRenderer';
|
|
2
|
+
export type { BlockOverrideComponent, BlockOverrideProps, BlockOverrides, EntrySubrouteContextData, OccurrenceContextData, PageBlockPosition, PageRuntimeBoundary, SdkConfigForRenderer, } from './PageRenderer';
|
|
3
3
|
export * from './subroutes';
|
|
4
4
|
export { ThemeScope } from '../../theme-core/src/ThemeScope';
|
|
@@ -36,15 +36,15 @@ export declare const coursePricingOptionSchema: z.ZodObject<{
|
|
|
36
36
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
37
37
|
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
38
38
|
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
39
|
-
both: "both";
|
|
40
39
|
in_person: "in_person";
|
|
40
|
+
both: "both";
|
|
41
41
|
online: "online";
|
|
42
42
|
}>>>;
|
|
43
43
|
}, z.core.$strip>;
|
|
44
44
|
export declare const coursePricingSchema: z.ZodObject<{
|
|
45
45
|
bookingRequirement: z.ZodEnum<{
|
|
46
|
-
none: "none";
|
|
47
46
|
required: "required";
|
|
47
|
+
none: "none";
|
|
48
48
|
}>;
|
|
49
49
|
pricingStrategy: z.ZodEnum<{
|
|
50
50
|
single: "single";
|
|
@@ -130,8 +130,8 @@ export declare const coursePricingSchema: z.ZodObject<{
|
|
|
130
130
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
131
131
|
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
132
132
|
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
133
|
-
both: "both";
|
|
134
133
|
in_person: "in_person";
|
|
134
|
+
both: "both";
|
|
135
135
|
online: "online";
|
|
136
136
|
}>>>;
|
|
137
137
|
}, z.core.$strip>>;
|
|
@@ -154,8 +154,8 @@ export declare const publicCourseSchema: z.ZodObject<{
|
|
|
154
154
|
enrollmentOpen: z.ZodBoolean;
|
|
155
155
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
156
156
|
bookingRequirement: z.ZodEnum<{
|
|
157
|
-
none: "none";
|
|
158
157
|
required: "required";
|
|
158
|
+
none: "none";
|
|
159
159
|
}>;
|
|
160
160
|
pricingStrategy: z.ZodEnum<{
|
|
161
161
|
single: "single";
|
|
@@ -241,8 +241,8 @@ export declare const publicCourseSchema: z.ZodObject<{
|
|
|
241
241
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
242
242
|
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
243
243
|
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
244
|
-
both: "both";
|
|
245
244
|
in_person: "in_person";
|
|
245
|
+
both: "both";
|
|
246
246
|
online: "online";
|
|
247
247
|
}>>>;
|
|
248
248
|
}, z.core.$strip>>;
|
|
@@ -354,8 +354,8 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
354
354
|
enrollmentOpen: z.ZodBoolean;
|
|
355
355
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
356
356
|
bookingRequirement: z.ZodEnum<{
|
|
357
|
-
none: "none";
|
|
358
357
|
required: "required";
|
|
358
|
+
none: "none";
|
|
359
359
|
}>;
|
|
360
360
|
pricingStrategy: z.ZodEnum<{
|
|
361
361
|
single: "single";
|
|
@@ -441,8 +441,8 @@ export declare const publicCoursesArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
441
441
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
442
442
|
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
443
443
|
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
444
|
-
both: "both";
|
|
445
444
|
in_person: "in_person";
|
|
445
|
+
both: "both";
|
|
446
446
|
online: "online";
|
|
447
447
|
}>>>;
|
|
448
448
|
}, z.core.$strip>>;
|
|
@@ -25,7 +25,7 @@ export declare const eventCalendarManifest: import("../..").DefinedBlockManifest
|
|
|
25
25
|
readonly required: false;
|
|
26
26
|
readonly multiple: false;
|
|
27
27
|
readonly options: {
|
|
28
|
-
value: "
|
|
28
|
+
value: "stack" | "grid" | "compact";
|
|
29
29
|
}[];
|
|
30
30
|
}, {
|
|
31
31
|
readonly id: "defaultCalendarView";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const eventPresetSchema: z.ZodEnum<{
|
|
3
|
+
event: "event";
|
|
4
|
+
performance: "performance";
|
|
3
5
|
class: "class";
|
|
4
6
|
workshop: "workshop";
|
|
5
7
|
retreat: "retreat";
|
|
6
|
-
performance: "performance";
|
|
7
|
-
event: "event";
|
|
8
8
|
}>;
|
|
9
9
|
export declare const eventScheduleScopeSchema: z.ZodEnum<{
|
|
10
10
|
recurring: "recurring";
|
|
@@ -193,8 +193,8 @@ export declare const publicEventTicketTypeSchema: z.ZodObject<{
|
|
|
193
193
|
}>;
|
|
194
194
|
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
195
195
|
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
196
|
-
both: "both";
|
|
197
196
|
in_person: "in_person";
|
|
197
|
+
both: "both";
|
|
198
198
|
online: "online";
|
|
199
199
|
}>>;
|
|
200
200
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -257,8 +257,8 @@ export declare const publicEventPricingSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
257
257
|
}>;
|
|
258
258
|
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
259
259
|
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
260
|
-
both: "both";
|
|
261
260
|
in_person: "in_person";
|
|
261
|
+
both: "both";
|
|
262
262
|
online: "online";
|
|
263
263
|
}>>;
|
|
264
264
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -360,11 +360,11 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
360
360
|
course_session: "course_session";
|
|
361
361
|
}>>;
|
|
362
362
|
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
363
|
+
event: "event";
|
|
364
|
+
performance: "performance";
|
|
363
365
|
class: "class";
|
|
364
366
|
workshop: "workshop";
|
|
365
367
|
retreat: "retreat";
|
|
366
|
-
performance: "performance";
|
|
367
|
-
event: "event";
|
|
368
368
|
}>>;
|
|
369
369
|
eventDestinationMode: z.ZodOptional<z.ZodEnum<{
|
|
370
370
|
"cms-managed": "cms-managed";
|
|
@@ -752,8 +752,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
752
752
|
}>;
|
|
753
753
|
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
754
754
|
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
755
|
-
both: "both";
|
|
756
755
|
in_person: "in_person";
|
|
756
|
+
both: "both";
|
|
757
757
|
online: "online";
|
|
758
758
|
}>>;
|
|
759
759
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -913,8 +913,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
913
913
|
id: z.ZodString;
|
|
914
914
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
915
915
|
bookingRequirement: z.ZodEnum<{
|
|
916
|
-
none: "none";
|
|
917
916
|
required: "required";
|
|
917
|
+
none: "none";
|
|
918
918
|
}>;
|
|
919
919
|
pricingStrategy: z.ZodEnum<{
|
|
920
920
|
single: "single";
|
|
@@ -1000,8 +1000,8 @@ export declare const publicEventSchema: z.ZodObject<{
|
|
|
1000
1000
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
1001
1001
|
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
1002
1002
|
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1003
|
-
both: "both";
|
|
1004
1003
|
in_person: "in_person";
|
|
1004
|
+
both: "both";
|
|
1005
1005
|
online: "online";
|
|
1006
1006
|
}>>>;
|
|
1007
1007
|
}, z.core.$strip>>;
|
|
@@ -1020,11 +1020,11 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1020
1020
|
course_session: "course_session";
|
|
1021
1021
|
}>>;
|
|
1022
1022
|
eventPreset: z.ZodOptional<z.ZodEnum<{
|
|
1023
|
+
event: "event";
|
|
1024
|
+
performance: "performance";
|
|
1023
1025
|
class: "class";
|
|
1024
1026
|
workshop: "workshop";
|
|
1025
1027
|
retreat: "retreat";
|
|
1026
|
-
performance: "performance";
|
|
1027
|
-
event: "event";
|
|
1028
1028
|
}>>;
|
|
1029
1029
|
eventDestinationMode: z.ZodOptional<z.ZodEnum<{
|
|
1030
1030
|
"cms-managed": "cms-managed";
|
|
@@ -1412,8 +1412,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1412
1412
|
}>;
|
|
1413
1413
|
capacityLimit: z.ZodNullable<z.ZodNumber>;
|
|
1414
1414
|
attendanceScope: z.ZodOptional<z.ZodEnum<{
|
|
1415
|
-
both: "both";
|
|
1416
1415
|
in_person: "in_person";
|
|
1416
|
+
both: "both";
|
|
1417
1417
|
online: "online";
|
|
1418
1418
|
}>>;
|
|
1419
1419
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
@@ -1573,8 +1573,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1573
1573
|
id: z.ZodString;
|
|
1574
1574
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
1575
1575
|
bookingRequirement: z.ZodEnum<{
|
|
1576
|
-
none: "none";
|
|
1577
1576
|
required: "required";
|
|
1577
|
+
none: "none";
|
|
1578
1578
|
}>;
|
|
1579
1579
|
pricingStrategy: z.ZodEnum<{
|
|
1580
1580
|
single: "single";
|
|
@@ -1660,8 +1660,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
|
|
|
1660
1660
|
saleStartsAt: z.ZodNullable<z.ZodString>;
|
|
1661
1661
|
saleEndsAt: z.ZodNullable<z.ZodString>;
|
|
1662
1662
|
attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1663
|
-
both: "both";
|
|
1664
1663
|
in_person: "in_person";
|
|
1664
|
+
both: "both";
|
|
1665
1665
|
online: "online";
|
|
1666
1666
|
}>>>;
|
|
1667
1667
|
}, z.core.$strip>>;
|
|
@@ -46,8 +46,8 @@ export declare const locationMapManifest: import("..").DefinedBlockManifest<{
|
|
|
46
46
|
max: number;
|
|
47
47
|
} | undefined;
|
|
48
48
|
showSlugPreview?: boolean | undefined;
|
|
49
|
-
variant?: "full" | "
|
|
50
|
-
richTextVariant?: "full" | "
|
|
49
|
+
variant?: "full" | "media" | "limited" | "inline" | "notes" | undefined;
|
|
50
|
+
richTextVariant?: "full" | "media" | "limited" | "inline" | "notes" | undefined;
|
|
51
51
|
cropEditorMode?: "inline" | "dialog" | undefined;
|
|
52
52
|
cropEditorAutoOpen?: boolean | undefined;
|
|
53
53
|
mediaPickerAutoOpen?: boolean | undefined;
|
|
@@ -82,7 +82,7 @@ export declare const locationMapManifest: import("..").DefinedBlockManifest<{
|
|
|
82
82
|
modalConfig?: {
|
|
83
83
|
buttonLabel?: string | undefined;
|
|
84
84
|
description?: string | undefined;
|
|
85
|
-
buttonVariant?: "
|
|
85
|
+
buttonVariant?: "default" | "outline" | undefined;
|
|
86
86
|
showCustomizedIndicator?: boolean | undefined;
|
|
87
87
|
maxWidth?: string | undefined;
|
|
88
88
|
} | undefined;
|
|
@@ -90,7 +90,7 @@ export declare const locationMapManifest: import("..").DefinedBlockManifest<{
|
|
|
90
90
|
fullWidth?: boolean | undefined;
|
|
91
91
|
row?: string | undefined;
|
|
92
92
|
colSpan?: number | undefined;
|
|
93
|
-
layout?: "
|
|
93
|
+
layout?: "stack" | "grid" | undefined;
|
|
94
94
|
columns?: number | undefined;
|
|
95
95
|
gridColsPreset?: "simple2" | "simple3" | "simple4" | "buttonCtaRow" | undefined;
|
|
96
96
|
gridColumns?: {
|
|
@@ -121,7 +121,7 @@ export declare const locationMapManifest: import("..").DefinedBlockManifest<{
|
|
|
121
121
|
iconPickerPreset?: "cta" | "feature" | undefined;
|
|
122
122
|
contentTypeField?: string | undefined;
|
|
123
123
|
fixedContentType?: string | undefined;
|
|
124
|
-
valueFrom?: "id" | "
|
|
124
|
+
valueFrom?: "id" | "slug" | "identifier" | undefined;
|
|
125
125
|
siteOptionSource?: "venues" | "eventCategories" | "staffMembers" | undefined;
|
|
126
126
|
searchThreshold?: number | undefined;
|
|
127
127
|
renderInHeader?: boolean | undefined;
|