@riverbankcms/sdk 0.60.6 → 0.60.9
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/appointmentSetup.d.ts +2 -2
- package/dist/_dts/api/src/bookingConfig.d.ts +6 -0
- package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +45 -3
- package/dist/_dts/api/src/bookingOperations.d.ts +40 -3
- package/dist/_dts/api/src/courses.d.ts +1 -5
- package/dist/_dts/api/src/endpoints.d.ts +80 -1
- package/dist/_dts/api/src/index.d.ts +3 -2
- 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/public/endpoints.d.ts +1 -1
- package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +15 -1
- package/dist/_dts/api/src/resources.d.ts +1 -1
- package/dist/_dts/api/src/siteBanner.d.ts +8 -8
- package/dist/_dts/api/src/siteOnboarding.d.ts +1 -0
- package/dist/_dts/api/src/teamMembers.d.ts +27 -0
- package/dist/_dts/blocks/src/index.d.ts +2 -1
- package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +35 -29
- package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -5
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +40 -34
- package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -5
- package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +1 -1
- package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +2 -2
- package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +9 -9
- package/dist/_dts/blocks/src/system/blocks/shared/teamMembers.d.ts +24 -0
- package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +18 -8
- package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
- package/dist/_dts/blocks/src/system/data/utils.d.ts +1 -1
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +185 -0
- package/dist/_dts/blocks/src/system/manifest/index.d.ts +1 -0
- package/dist/_dts/blocks/src/system/manifest/schema.d.ts +201 -201
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +2 -84
- package/dist/_dts/blocks/src/system/node/schema.d.ts +5 -5
- 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 +4 -4
- 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 +93 -1
- package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
- package/dist/_dts/content-model/src/metadataConfig.d.ts +1 -0
- package/dist/_dts/core/src/branded.d.ts +2 -0
- package/dist/_dts/db/src/generated/supabase/database.types.d.ts +124 -8
- package/dist/_dts/db/src/schemas/forms.d.ts +85 -64
- package/dist/_dts/editor-blocks/src/widgets/link/LinkSummary.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/LinkWidget.d.ts +1 -1
- package/dist/_dts/editor-blocks/src/widgets/link/utils.d.ts +1 -1
- package/dist/_dts/sdk/src/client/types.d.ts +9 -2
- package/dist/_dts/sdk/src/config/typed-entries.d.ts +36 -1
- package/dist/_dts/sdk/src/config/types.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +40 -37
- package/dist/_dts/sdk/src/contracts/content.d.ts +6 -1
- package/dist/_dts/sdk/src/contracts/index.d.ts +1 -1
- package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +18 -8
- package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +19 -19
- package/dist/_dts/sdk/src/public-api/contracts.d.ts +87 -69
- package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -5
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/_dts/theme-core/src/accordions/types.d.ts +11 -11
- package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +10 -10
- package/dist/_dts/theme-core/src/buttons/types.d.ts +27 -27
- package/dist/_dts/theme-core/src/cards/types.d.ts +17 -17
- package/dist/_dts/theme-core/src/inputs/types.d.ts +14 -14
- package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +2 -2
- package/dist/_dts/theme-core/src/mock-themes/all.d.ts +438 -438
- package/dist/_dts/theme-core/src/navigation/types.d.ts +16 -16
- package/dist/_dts/theme-core/src/palette/variants/types.d.ts +15 -15
- package/dist/_dts/theme-core/src/schema.d.ts +662 -662
- package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +4 -4
- package/dist/_dts/theme-core/src/site-styles/designState.d.ts +15 -15
- package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +7 -7
- package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +1 -1
- package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +5 -5
- package/dist/_dts/ui/src/badge.d.ts +1 -1
- package/dist/_dts/ui/src/button-group.d.ts +1 -1
- package/dist/_dts/ui/src/button.d.ts +2 -2
- package/dist/_dts/ui/src/callout.d.ts +1 -1
- package/dist/_dts/ui/src/card.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 +951 -451
- package/dist/client/client.mjs +39490 -38952
- package/dist/client/hooks.mjs +1992 -1741
- package/dist/client/rendering/client.mjs +179 -130
- package/dist/client/rendering/islands.mjs +68 -43
- package/dist/client/rendering.mjs +1812 -1292
- package/dist/preview-next/before-render.mjs +147 -1
- package/dist/preview-next/client/runtime.mjs +1377 -829
- package/dist/preview-next/middleware.mjs +147 -1
- package/dist/server/components.mjs +3246 -2751
- package/dist/server/config-validation.mjs +2198 -1962
- package/dist/server/config.mjs +2198 -1962
- package/dist/server/data.mjs +1992 -1741
- package/dist/server/index.mjs +168 -2
- package/dist/server/next.mjs +3230 -2701
- package/dist/server/page-converter.mjs +345 -259
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +3274 -2763
- package/dist/server/rendering.mjs +3274 -2763
- package/dist/server/routing.mjs +530 -309
- package/dist/server/server.mjs +2011 -1742
- package/package.json +1 -1
|
@@ -39,18 +39,18 @@ export declare const sectionBackgroundSchema: z.ZodObject<{
|
|
|
39
39
|
* Schema for section spacing values.
|
|
40
40
|
*/
|
|
41
41
|
export declare const sectionSpacingSchema: z.ZodEnum<{
|
|
42
|
+
default: "default";
|
|
42
43
|
compact: "compact";
|
|
43
44
|
spacious: "spacious";
|
|
44
|
-
default: "default";
|
|
45
45
|
}>;
|
|
46
46
|
/**
|
|
47
47
|
* Schema for container max-width values.
|
|
48
48
|
*/
|
|
49
49
|
export declare const containerMaxWidthSchema: z.ZodEnum<{
|
|
50
|
-
narrow: "narrow";
|
|
51
|
-
full: "full";
|
|
52
50
|
default: "default";
|
|
51
|
+
full: "full";
|
|
53
52
|
wide: "wide";
|
|
53
|
+
narrow: "narrow";
|
|
54
54
|
}>;
|
|
55
55
|
/**
|
|
56
56
|
* Schema for container alignment values.
|
|
@@ -68,9 +68,9 @@ export declare const sectionOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
|
68
68
|
backgroundImage: z.ZodOptional<z.ZodBoolean>;
|
|
69
69
|
backgroundGradient: z.ZodOptional<z.ZodBoolean>;
|
|
70
70
|
spacing: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
|
|
71
|
+
default: "default";
|
|
71
72
|
compact: "compact";
|
|
72
73
|
spacious: "spacious";
|
|
73
|
-
default: "default";
|
|
74
74
|
}>>, z.ZodBoolean]>>;
|
|
75
75
|
textColor: z.ZodOptional<z.ZodBoolean>;
|
|
76
76
|
}, z.core.$strip>>;
|
|
@@ -79,10 +79,10 @@ export declare const sectionOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
|
79
79
|
*/
|
|
80
80
|
export declare const containerOptionsSchema: z.ZodOptional<z.ZodObject<{
|
|
81
81
|
maxWidth: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
|
|
82
|
-
narrow: "narrow";
|
|
83
|
-
full: "full";
|
|
84
82
|
default: "default";
|
|
83
|
+
full: "full";
|
|
85
84
|
wide: "wide";
|
|
85
|
+
narrow: "narrow";
|
|
86
86
|
}>>, z.ZodBoolean]>>;
|
|
87
87
|
alignment: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
|
|
88
88
|
center: "center";
|
|
@@ -104,18 +104,18 @@ export declare const siteStyleConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
104
104
|
backgroundImage: z.ZodOptional<z.ZodBoolean>;
|
|
105
105
|
backgroundGradient: z.ZodOptional<z.ZodBoolean>;
|
|
106
106
|
spacing: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
|
|
107
|
+
default: "default";
|
|
107
108
|
compact: "compact";
|
|
108
109
|
spacious: "spacious";
|
|
109
|
-
default: "default";
|
|
110
110
|
}>>, z.ZodBoolean]>>;
|
|
111
111
|
textColor: z.ZodOptional<z.ZodBoolean>;
|
|
112
112
|
}, z.core.$strip>>;
|
|
113
113
|
containerOptions: z.ZodOptional<z.ZodObject<{
|
|
114
114
|
maxWidth: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
|
|
115
|
-
narrow: "narrow";
|
|
116
|
-
full: "full";
|
|
117
115
|
default: "default";
|
|
116
|
+
full: "full";
|
|
118
117
|
wide: "wide";
|
|
118
|
+
narrow: "narrow";
|
|
119
119
|
}>>, z.ZodBoolean]>>;
|
|
120
120
|
alignment: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
|
|
121
121
|
center: "center";
|
|
@@ -133,16 +133,17 @@ export declare const siteStyleConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
133
133
|
* Derived from SUPPORTED_LOADER_ENDPOINTS - the single source of truth.
|
|
134
134
|
*/
|
|
135
135
|
export declare const sdkLoaderEndpointSchema: z.ZodEnum<{
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
getPublicFormById: "getPublicFormById";
|
|
137
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
138
138
|
listPublicEvents: "listPublicEvents";
|
|
139
|
-
getPublicEventDetails: "getPublicEventDetails";
|
|
140
|
-
listPublicCourses: "listPublicCourses";
|
|
141
|
-
listPublicProducts: "listPublicProducts";
|
|
142
139
|
listPublicPasses: "listPublicPasses";
|
|
140
|
+
listPublicCourses: "listPublicCourses";
|
|
141
|
+
listPublicTeamMembers: "listPublicTeamMembers";
|
|
143
142
|
listPublicMemberships: "listPublicMemberships";
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
listPublicProducts: "listPublicProducts";
|
|
144
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
145
|
+
listPublishedEntries: "listPublishedEntries";
|
|
146
|
+
getPublicEventDetails: "getPublicEventDetails";
|
|
146
147
|
}>;
|
|
147
148
|
export declare const loaderParamBindingSchema: z.ZodObject<{
|
|
148
149
|
$bind: z.ZodObject<{
|
|
@@ -154,8 +155,8 @@ export declare const loaderParamBindingSchema: z.ZodObject<{
|
|
|
154
155
|
}, z.core.$strip>>>;
|
|
155
156
|
pick: z.ZodDefault<z.ZodEnum<{
|
|
156
157
|
value: "value";
|
|
157
|
-
collection: "collection";
|
|
158
158
|
context: "context";
|
|
159
|
+
collection: "collection";
|
|
159
160
|
}>>;
|
|
160
161
|
coerce: z.ZodOptional<z.ZodEnum<{
|
|
161
162
|
string: "string";
|
|
@@ -177,8 +178,8 @@ export declare const loaderParamValueSchema: z.ZodUnion<readonly [z.ZodString, z
|
|
|
177
178
|
}, z.core.$strip>>>;
|
|
178
179
|
pick: z.ZodDefault<z.ZodEnum<{
|
|
179
180
|
value: "value";
|
|
180
|
-
collection: "collection";
|
|
181
181
|
context: "context";
|
|
182
|
+
collection: "collection";
|
|
182
183
|
}>>;
|
|
183
184
|
coerce: z.ZodOptional<z.ZodEnum<{
|
|
184
185
|
string: "string";
|
|
@@ -201,8 +202,8 @@ export declare const loaderWhenValueSchema: z.ZodUnion<readonly [z.ZodBoolean, z
|
|
|
201
202
|
}, z.core.$strip>>>;
|
|
202
203
|
pick: z.ZodDefault<z.ZodEnum<{
|
|
203
204
|
value: "value";
|
|
204
|
-
collection: "collection";
|
|
205
205
|
context: "context";
|
|
206
|
+
collection: "collection";
|
|
206
207
|
}>>;
|
|
207
208
|
coerce: z.ZodOptional<z.ZodEnum<{
|
|
208
209
|
string: "string";
|
|
@@ -219,16 +220,17 @@ export declare const loaderWhenValueSchema: z.ZodUnion<readonly [z.ZodBoolean, z
|
|
|
219
220
|
*/
|
|
220
221
|
export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
221
222
|
endpoint: z.ZodEnum<{
|
|
222
|
-
|
|
223
|
-
|
|
223
|
+
getPublicFormById: "getPublicFormById";
|
|
224
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
224
225
|
listPublicEvents: "listPublicEvents";
|
|
225
|
-
getPublicEventDetails: "getPublicEventDetails";
|
|
226
|
-
listPublicCourses: "listPublicCourses";
|
|
227
|
-
listPublicProducts: "listPublicProducts";
|
|
228
226
|
listPublicPasses: "listPublicPasses";
|
|
227
|
+
listPublicCourses: "listPublicCourses";
|
|
228
|
+
listPublicTeamMembers: "listPublicTeamMembers";
|
|
229
229
|
listPublicMemberships: "listPublicMemberships";
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
listPublicProducts: "listPublicProducts";
|
|
231
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
232
|
+
listPublishedEntries: "listPublishedEntries";
|
|
233
|
+
getPublicEventDetails: "getPublicEventDetails";
|
|
232
234
|
}>;
|
|
233
235
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
234
236
|
$bind: z.ZodObject<{
|
|
@@ -240,8 +242,8 @@ export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
|
240
242
|
}, z.core.$strip>>>;
|
|
241
243
|
pick: z.ZodDefault<z.ZodEnum<{
|
|
242
244
|
value: "value";
|
|
243
|
-
collection: "collection";
|
|
244
245
|
context: "context";
|
|
246
|
+
collection: "collection";
|
|
245
247
|
}>>;
|
|
246
248
|
coerce: z.ZodOptional<z.ZodEnum<{
|
|
247
249
|
string: "string";
|
|
@@ -264,8 +266,8 @@ export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
|
264
266
|
}, z.core.$strip>>>;
|
|
265
267
|
pick: z.ZodDefault<z.ZodEnum<{
|
|
266
268
|
value: "value";
|
|
267
|
-
collection: "collection";
|
|
268
269
|
context: "context";
|
|
270
|
+
collection: "collection";
|
|
269
271
|
}>>;
|
|
270
272
|
coerce: z.ZodOptional<z.ZodEnum<{
|
|
271
273
|
string: "string";
|
|
@@ -281,16 +283,17 @@ export declare const sdkConfigLoaderSchema: z.ZodObject<{
|
|
|
281
283
|
*/
|
|
282
284
|
export declare const sdkDataLoadersSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
283
285
|
endpoint: z.ZodEnum<{
|
|
284
|
-
|
|
285
|
-
|
|
286
|
+
getPublicFormById: "getPublicFormById";
|
|
287
|
+
getPublicBookingServices: "getPublicBookingServices";
|
|
286
288
|
listPublicEvents: "listPublicEvents";
|
|
287
|
-
getPublicEventDetails: "getPublicEventDetails";
|
|
288
|
-
listPublicCourses: "listPublicCourses";
|
|
289
|
-
listPublicProducts: "listPublicProducts";
|
|
290
289
|
listPublicPasses: "listPublicPasses";
|
|
290
|
+
listPublicCourses: "listPublicCourses";
|
|
291
|
+
listPublicTeamMembers: "listPublicTeamMembers";
|
|
291
292
|
listPublicMemberships: "listPublicMemberships";
|
|
292
|
-
|
|
293
|
-
|
|
293
|
+
listPublicProducts: "listPublicProducts";
|
|
294
|
+
getPublishedEntryPreview: "getPublishedEntryPreview";
|
|
295
|
+
listPublishedEntries: "listPublishedEntries";
|
|
296
|
+
getPublicEventDetails: "getPublicEventDetails";
|
|
294
297
|
}>;
|
|
295
298
|
params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
296
299
|
$bind: z.ZodObject<{
|
|
@@ -302,8 +305,8 @@ export declare const sdkDataLoadersSchema: z.ZodOptional<z.ZodRecord<z.ZodString
|
|
|
302
305
|
}, z.core.$strip>>>;
|
|
303
306
|
pick: z.ZodDefault<z.ZodEnum<{
|
|
304
307
|
value: "value";
|
|
305
|
-
collection: "collection";
|
|
306
308
|
context: "context";
|
|
309
|
+
collection: "collection";
|
|
307
310
|
}>>;
|
|
308
311
|
coerce: z.ZodOptional<z.ZodEnum<{
|
|
309
312
|
string: "string";
|
|
@@ -326,8 +329,8 @@ export declare const sdkDataLoadersSchema: z.ZodOptional<z.ZodRecord<z.ZodString
|
|
|
326
329
|
}, z.core.$strip>>>;
|
|
327
330
|
pick: z.ZodDefault<z.ZodEnum<{
|
|
328
331
|
value: "value";
|
|
329
|
-
collection: "collection";
|
|
330
332
|
context: "context";
|
|
333
|
+
collection: "collection";
|
|
331
334
|
}>>;
|
|
332
335
|
coerce: z.ZodOptional<z.ZodEnum<{
|
|
333
336
|
string: "string";
|
|
@@ -17,7 +17,11 @@ export type TipTapNode = {
|
|
|
17
17
|
attrs?: Record<string, unknown>;
|
|
18
18
|
marks?: TipTapMark[];
|
|
19
19
|
};
|
|
20
|
-
export type
|
|
20
|
+
export type InternalRouteOnlyLinkValue = {
|
|
21
|
+
kind: 'internal';
|
|
22
|
+
routeId: string;
|
|
23
|
+
};
|
|
24
|
+
export type InternalResolvedLinkValue = {
|
|
21
25
|
kind: 'internal';
|
|
22
26
|
routeId: string;
|
|
23
27
|
entityId: string;
|
|
@@ -29,6 +33,7 @@ export type InternalLinkValue = {
|
|
|
29
33
|
contentTypeName?: string | null;
|
|
30
34
|
updatedAt?: string | null;
|
|
31
35
|
};
|
|
36
|
+
export type InternalLinkValue = InternalRouteOnlyLinkValue | InternalResolvedLinkValue;
|
|
32
37
|
export type ExternalLinkValue = {
|
|
33
38
|
kind: 'external';
|
|
34
39
|
href: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { TipTapNode, TipTapMark, Media, LinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, RichTextPrimitiveProps, RichTextVariant, } from './content';
|
|
1
|
+
export type { TipTapNode, TipTapMark, Media, LinkValue, InternalRouteOnlyLinkValue, InternalResolvedLinkValue, InternalLinkValue, ExternalLinkValue, CustomLinkValue, PageLinkValue, EntryLinkValue, RichTextPrimitiveProps, RichTextVariant, } from './content';
|
|
2
2
|
export type { AppointmentBookingContent, BlogListingContent, BlogPostContent, BodyTextAlignment, BodyTextContent, ButtonVariant, CalendarTabViews, CartContent, CardStylesContent, CheckoutContent, CollectionContent, ColumnsContent, ColumnOption, ContainerStylesContent, CourseDetailsContent, CourseRegistrationContent, CtaFullContent, DisplayMode, EmbedContent, EventCalendarContent, EventDetailsContent, EventLayout, EventListingContent, EventRegistrationContent, EventSpotlightContent, FaqContent, FaqItem, FilterAutoShow, FormBlockContent, GiftingContent, HeroContent, HeroCta, HeroCtaInput, HeroMedia, ImageColSize, ImageGalleryContent, LocationMapContent, LayoutAlign, LayoutWidth, MediaTextAlignment, MediaTextAspectRatio, MediaTextContent, MediaTextImagePosition, NewsletterSignupContent, NewsletterSignupPreset, ProductDetailContent, ProductListContent, SectionStylesContent, SemanticSpacing, ShopContent, SingleButtonContent, SiteFooterContent, SiteHeaderContent, StackContentAlignment, StackImagePosition, SystemBlockContentByFullKind, SystemBlockContentByKind, SystemBlockContentFor, SystemBlockShortKind, TeamMembersContent, TestimonialEntryContent, TestimonialsBlockContent, ThumbnailPadding, ThumbnailShape, VideoGridContent, WeekStart, } from './system-block-content';
|
|
3
3
|
export type { PageOutline, BlockOutline, RouteMap, RouteMapEntry, OccurrenceContextData, EntrySubrouteContextData, } from './page';
|
|
4
4
|
export type { Theme, ThemeTokens } from './theme';
|
|
@@ -311,6 +311,7 @@ export type HeroContent = {
|
|
|
311
311
|
contentMaxWidth?: 'default' | 'narrow' | 'medium' | 'wide';
|
|
312
312
|
_sectionStyles?: SectionStylesContent;
|
|
313
313
|
_containerStyles?: ContainerStylesContent;
|
|
314
|
+
_contentCardStyles?: ContainerStylesContent;
|
|
314
315
|
ctas?: HeroCtaInput[];
|
|
315
316
|
};
|
|
316
317
|
export type HeroMedia = Media;
|
|
@@ -439,7 +440,16 @@ export type LayoutWidth = 'full' | 'lg-3-4-left';
|
|
|
439
440
|
export type ThumbnailPadding = 'none' | 'sm' | 'md' | 'lg';
|
|
440
441
|
export type StackImagePosition = 'left' | 'right' | 'alternate';
|
|
441
442
|
export type StackContentAlignment = 'top' | 'center';
|
|
442
|
-
|
|
443
|
+
type ManualTeamMemberItem = {
|
|
444
|
+
_type: 'teamMember';
|
|
445
|
+
name: string;
|
|
446
|
+
role?: string | null;
|
|
447
|
+
bio?: unknown;
|
|
448
|
+
photo?: ImageMedia | null;
|
|
449
|
+
profilePath?: string | null;
|
|
450
|
+
};
|
|
451
|
+
type TeamMembersCommonContent = {
|
|
452
|
+
variant?: 'grid' | 'stack' | null;
|
|
443
453
|
heading?: string | null;
|
|
444
454
|
layoutAlign?: LayoutAlign | null;
|
|
445
455
|
layoutWidth?: LayoutWidth | null;
|
|
@@ -450,14 +460,14 @@ export type TeamMembersContent = {
|
|
|
450
460
|
stackContentAlignment?: StackContentAlignment | null;
|
|
451
461
|
columns?: string | number | null;
|
|
452
462
|
gap?: SemanticSpacing;
|
|
453
|
-
members: Array<{
|
|
454
|
-
_type: 'teamMember';
|
|
455
|
-
name: string;
|
|
456
|
-
role?: string | null;
|
|
457
|
-
bio?: unknown;
|
|
458
|
-
photo?: unknown;
|
|
459
|
-
}>;
|
|
460
463
|
};
|
|
464
|
+
export type TeamMembersContent = (TeamMembersCommonContent & {
|
|
465
|
+
source?: 'manual' | null;
|
|
466
|
+
members: ManualTeamMemberItem[];
|
|
467
|
+
}) | (TeamMembersCommonContent & {
|
|
468
|
+
source: 'site_staff';
|
|
469
|
+
members?: ManualTeamMemberItem[];
|
|
470
|
+
});
|
|
461
471
|
export type TestimonialsBlockContent = {
|
|
462
472
|
variant?: 'carousel' | 'grid' | null;
|
|
463
473
|
heading?: string | null;
|
|
@@ -19,7 +19,7 @@ export type ResolvedBlockData = Record<string, Record<string, unknown>>;
|
|
|
19
19
|
* This is the SDK's public contract for whitelisted endpoints.
|
|
20
20
|
* In the monorepo we should keep it in sync with blocks' internal list.
|
|
21
21
|
*/
|
|
22
|
-
export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "listPublicCourses", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices", "getPublicEventDetails"];
|
|
22
|
+
export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "listPublicCourses", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices", "getPublicEventDetails"];
|
|
23
23
|
export type SupportedLoaderEndpoint = (typeof SUPPORTED_LOADER_ENDPOINTS)[number];
|
|
24
24
|
/**
|
|
25
25
|
* Options for SDK block data prefetching.
|
|
@@ -8,22 +8,22 @@ import { z } from 'zod';
|
|
|
8
8
|
export declare const simpleFieldTypeEnum: z.ZodEnum<{
|
|
9
9
|
number: "number";
|
|
10
10
|
boolean: "boolean";
|
|
11
|
-
media: "media";
|
|
12
11
|
link: "link";
|
|
13
|
-
select: "select";
|
|
14
12
|
text: "text";
|
|
13
|
+
select: "select";
|
|
14
|
+
media: "media";
|
|
15
15
|
richText: "richText";
|
|
16
16
|
}>;
|
|
17
17
|
export declare const fieldTypeEnum: z.ZodEnum<{
|
|
18
18
|
number: "number";
|
|
19
19
|
boolean: "boolean";
|
|
20
|
-
media: "media";
|
|
21
20
|
link: "link";
|
|
22
|
-
select: "select";
|
|
23
21
|
text: "text";
|
|
22
|
+
select: "select";
|
|
23
|
+
media: "media";
|
|
24
|
+
group: "group";
|
|
24
25
|
richText: "richText";
|
|
25
26
|
repeater: "repeater";
|
|
26
|
-
group: "group";
|
|
27
27
|
}>;
|
|
28
28
|
/**
|
|
29
29
|
* Combined field schema supporting all field types.
|
|
@@ -34,10 +34,10 @@ export declare const extractedFieldSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
34
34
|
type: z.ZodEnum<{
|
|
35
35
|
number: "number";
|
|
36
36
|
boolean: "boolean";
|
|
37
|
-
media: "media";
|
|
38
37
|
link: "link";
|
|
39
|
-
select: "select";
|
|
40
38
|
text: "text";
|
|
39
|
+
select: "select";
|
|
40
|
+
media: "media";
|
|
41
41
|
richText: "richText";
|
|
42
42
|
}>;
|
|
43
43
|
label: z.ZodString;
|
|
@@ -61,10 +61,10 @@ export declare const extractedFieldSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
61
61
|
type: z.ZodEnum<{
|
|
62
62
|
number: "number";
|
|
63
63
|
boolean: "boolean";
|
|
64
|
-
media: "media";
|
|
65
64
|
link: "link";
|
|
66
|
-
select: "select";
|
|
67
65
|
text: "text";
|
|
66
|
+
select: "select";
|
|
67
|
+
media: "media";
|
|
68
68
|
richText: "richText";
|
|
69
69
|
}>;
|
|
70
70
|
label: z.ZodString;
|
|
@@ -81,10 +81,10 @@ export declare const extractedFieldSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
81
81
|
type: z.ZodEnum<{
|
|
82
82
|
number: "number";
|
|
83
83
|
boolean: "boolean";
|
|
84
|
-
media: "media";
|
|
85
84
|
link: "link";
|
|
86
|
-
select: "select";
|
|
87
85
|
text: "text";
|
|
86
|
+
select: "select";
|
|
87
|
+
media: "media";
|
|
88
88
|
richText: "richText";
|
|
89
89
|
}>;
|
|
90
90
|
label: z.ZodString;
|
|
@@ -167,10 +167,10 @@ export declare const pass1OutputSchema: z.ZodObject<{
|
|
|
167
167
|
blockDescription: z.ZodNullable<z.ZodString>;
|
|
168
168
|
category: z.ZodEnum<{
|
|
169
169
|
content: "content";
|
|
170
|
-
media: "media";
|
|
171
170
|
layout: "layout";
|
|
172
|
-
|
|
171
|
+
media: "media";
|
|
173
172
|
blog: "blog";
|
|
173
|
+
marketing: "marketing";
|
|
174
174
|
interactive: "interactive";
|
|
175
175
|
}>;
|
|
176
176
|
fields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -178,10 +178,10 @@ export declare const pass1OutputSchema: z.ZodObject<{
|
|
|
178
178
|
type: z.ZodEnum<{
|
|
179
179
|
number: "number";
|
|
180
180
|
boolean: "boolean";
|
|
181
|
-
media: "media";
|
|
182
181
|
link: "link";
|
|
183
|
-
select: "select";
|
|
184
182
|
text: "text";
|
|
183
|
+
select: "select";
|
|
184
|
+
media: "media";
|
|
185
185
|
richText: "richText";
|
|
186
186
|
}>;
|
|
187
187
|
label: z.ZodString;
|
|
@@ -205,10 +205,10 @@ export declare const pass1OutputSchema: z.ZodObject<{
|
|
|
205
205
|
type: z.ZodEnum<{
|
|
206
206
|
number: "number";
|
|
207
207
|
boolean: "boolean";
|
|
208
|
-
media: "media";
|
|
209
208
|
link: "link";
|
|
210
|
-
select: "select";
|
|
211
209
|
text: "text";
|
|
210
|
+
select: "select";
|
|
211
|
+
media: "media";
|
|
212
212
|
richText: "richText";
|
|
213
213
|
}>;
|
|
214
214
|
label: z.ZodString;
|
|
@@ -225,10 +225,10 @@ export declare const pass1OutputSchema: z.ZodObject<{
|
|
|
225
225
|
type: z.ZodEnum<{
|
|
226
226
|
number: "number";
|
|
227
227
|
boolean: "boolean";
|
|
228
|
-
media: "media";
|
|
229
228
|
link: "link";
|
|
230
|
-
select: "select";
|
|
231
229
|
text: "text";
|
|
230
|
+
select: "select";
|
|
231
|
+
media: "media";
|
|
232
232
|
richText: "richText";
|
|
233
233
|
}>;
|
|
234
234
|
label: z.ZodString;
|