@riverbankcms/sdk 0.60.6 → 0.60.7
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/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/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/schema.d.ts +201 -201
- package/dist/_dts/blocks/src/system/manifest/validation.d.ts +2 -2
- 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/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 +61 -61
- package/dist/_dts/sdk/src/client/types.d.ts +9 -2
- 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/system-block-content.d.ts +17 -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 +276 -24
- package/dist/client/client.mjs +607 -306
- package/dist/client/hooks.mjs +272 -23
- package/dist/client/rendering/client.mjs +179 -130
- package/dist/client/rendering/islands.mjs +68 -43
- package/dist/client/rendering.mjs +646 -363
- package/dist/preview-next/before-render.mjs +147 -1
- package/dist/preview-next/client/runtime.mjs +338 -43
- package/dist/preview-next/middleware.mjs +147 -1
- package/dist/server/components.mjs +727 -470
- package/dist/server/config-validation.mjs +488 -254
- package/dist/server/config.mjs +488 -254
- package/dist/server/data.mjs +272 -23
- package/dist/server/index.mjs +168 -2
- package/dist/server/next.mjs +476 -185
- package/dist/server/page-converter.mjs +335 -249
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +742 -469
- package/dist/server/rendering.mjs +742 -469
- package/dist/server/routing.mjs +274 -24
- package/dist/server/server.mjs +291 -24
- package/package.json +1 -1
|
@@ -117,10 +117,10 @@ export declare const bookingQuestionsFormSettingsSchema: z.ZodObject<{
|
|
|
117
117
|
}, z.core.$strict>>;
|
|
118
118
|
templateKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
119
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
120
|
+
appointments: "appointments";
|
|
120
121
|
courses: "courses";
|
|
121
122
|
events: "events";
|
|
122
123
|
mixed: "mixed";
|
|
123
|
-
appointments: "appointments";
|
|
124
124
|
}>>;
|
|
125
125
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
126
126
|
introTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -214,10 +214,10 @@ export declare const formSettingsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
214
214
|
}, z.core.$strict>>;
|
|
215
215
|
templateKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
216
216
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
217
|
+
appointments: "appointments";
|
|
217
218
|
courses: "courses";
|
|
218
219
|
events: "events";
|
|
219
220
|
mixed: "mixed";
|
|
220
|
-
appointments: "appointments";
|
|
221
221
|
}>>;
|
|
222
222
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
223
223
|
introTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -240,17 +240,17 @@ export declare const formFieldSchema: z.ZodObject<{
|
|
|
240
240
|
label: z.ZodString;
|
|
241
241
|
type: z.ZodEnum<{
|
|
242
242
|
number: "number";
|
|
243
|
+
url: "url";
|
|
243
244
|
date: "date";
|
|
244
|
-
time: "time";
|
|
245
245
|
email: "email";
|
|
246
|
-
url: "url";
|
|
247
|
-
select: "select";
|
|
248
|
-
textarea: "textarea";
|
|
249
246
|
text: "text";
|
|
250
|
-
|
|
247
|
+
textarea: "textarea";
|
|
248
|
+
select: "select";
|
|
251
249
|
radio: "radio";
|
|
252
250
|
checkbox: "checkbox";
|
|
253
251
|
consent: "consent";
|
|
252
|
+
tel: "tel";
|
|
253
|
+
time: "time";
|
|
254
254
|
}>;
|
|
255
255
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
256
256
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -273,8 +273,8 @@ export declare const formFieldSchema: z.ZodObject<{
|
|
|
273
273
|
}, z.core.$strict>>;
|
|
274
274
|
}, z.core.$strict>;
|
|
275
275
|
export declare const bookingQuestionDocumentFileTypeSchema: z.ZodEnum<{
|
|
276
|
-
image: "image";
|
|
277
276
|
pdf: "pdf";
|
|
277
|
+
image: "image";
|
|
278
278
|
docx: "docx";
|
|
279
279
|
}>;
|
|
280
280
|
declare const bookingQuestionScalarFieldSchema: z.ZodObject<{
|
|
@@ -301,16 +301,16 @@ declare const bookingQuestionScalarFieldSchema: z.ZodObject<{
|
|
|
301
301
|
}, z.core.$strict>>;
|
|
302
302
|
type: z.ZodEnum<{
|
|
303
303
|
number: "number";
|
|
304
|
+
url: "url";
|
|
304
305
|
date: "date";
|
|
305
|
-
time: "time";
|
|
306
306
|
email: "email";
|
|
307
|
-
url: "url";
|
|
308
|
-
select: "select";
|
|
309
|
-
textarea: "textarea";
|
|
310
307
|
text: "text";
|
|
311
|
-
|
|
308
|
+
textarea: "textarea";
|
|
309
|
+
select: "select";
|
|
312
310
|
radio: "radio";
|
|
313
311
|
checkbox: "checkbox";
|
|
312
|
+
tel: "tel";
|
|
313
|
+
time: "time";
|
|
314
314
|
}>;
|
|
315
315
|
}, z.core.$strict>;
|
|
316
316
|
declare const bookingQuestionDocumentUploadFieldSchema: z.ZodObject<{
|
|
@@ -327,8 +327,8 @@ declare const bookingQuestionDocumentUploadFieldSchema: z.ZodObject<{
|
|
|
327
327
|
}>>;
|
|
328
328
|
}, z.core.$strict>>;
|
|
329
329
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
330
|
-
image: "image";
|
|
331
330
|
pdf: "pdf";
|
|
331
|
+
image: "image";
|
|
332
332
|
docx: "docx";
|
|
333
333
|
}>>>;
|
|
334
334
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -357,16 +357,16 @@ export declare const bookingQuestionFieldSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
357
357
|
}, z.core.$strict>>;
|
|
358
358
|
type: z.ZodEnum<{
|
|
359
359
|
number: "number";
|
|
360
|
+
url: "url";
|
|
360
361
|
date: "date";
|
|
361
|
-
time: "time";
|
|
362
362
|
email: "email";
|
|
363
|
-
url: "url";
|
|
364
|
-
select: "select";
|
|
365
|
-
textarea: "textarea";
|
|
366
363
|
text: "text";
|
|
367
|
-
|
|
364
|
+
textarea: "textarea";
|
|
365
|
+
select: "select";
|
|
368
366
|
radio: "radio";
|
|
369
367
|
checkbox: "checkbox";
|
|
368
|
+
tel: "tel";
|
|
369
|
+
time: "time";
|
|
370
370
|
}>;
|
|
371
371
|
}, z.core.$strict>, z.ZodObject<{
|
|
372
372
|
id: z.ZodString;
|
|
@@ -382,8 +382,8 @@ export declare const bookingQuestionFieldSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
382
382
|
}>>;
|
|
383
383
|
}, z.core.$strict>>;
|
|
384
384
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
385
|
-
image: "image";
|
|
386
385
|
pdf: "pdf";
|
|
386
|
+
image: "image";
|
|
387
387
|
docx: "docx";
|
|
388
388
|
}>>>;
|
|
389
389
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -416,16 +416,16 @@ export declare const bookingQuestionsSectionSchema: z.ZodObject<{
|
|
|
416
416
|
}, z.core.$strict>>;
|
|
417
417
|
type: z.ZodEnum<{
|
|
418
418
|
number: "number";
|
|
419
|
+
url: "url";
|
|
419
420
|
date: "date";
|
|
420
|
-
time: "time";
|
|
421
421
|
email: "email";
|
|
422
|
-
url: "url";
|
|
423
|
-
select: "select";
|
|
424
|
-
textarea: "textarea";
|
|
425
422
|
text: "text";
|
|
426
|
-
|
|
423
|
+
textarea: "textarea";
|
|
424
|
+
select: "select";
|
|
427
425
|
radio: "radio";
|
|
428
426
|
checkbox: "checkbox";
|
|
427
|
+
tel: "tel";
|
|
428
|
+
time: "time";
|
|
429
429
|
}>;
|
|
430
430
|
}, z.core.$strict>, z.ZodObject<{
|
|
431
431
|
id: z.ZodString;
|
|
@@ -441,8 +441,8 @@ export declare const bookingQuestionsSectionSchema: z.ZodObject<{
|
|
|
441
441
|
}>>;
|
|
442
442
|
}, z.core.$strict>>;
|
|
443
443
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
444
|
-
image: "image";
|
|
445
444
|
pdf: "pdf";
|
|
445
|
+
image: "image";
|
|
446
446
|
docx: "docx";
|
|
447
447
|
}>>>;
|
|
448
448
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -478,16 +478,16 @@ export declare const bookingQuestionsDetailedSchemaSchema: z.ZodObject<{
|
|
|
478
478
|
}, z.core.$strict>>;
|
|
479
479
|
type: z.ZodEnum<{
|
|
480
480
|
number: "number";
|
|
481
|
+
url: "url";
|
|
481
482
|
date: "date";
|
|
482
|
-
time: "time";
|
|
483
483
|
email: "email";
|
|
484
|
-
url: "url";
|
|
485
|
-
select: "select";
|
|
486
|
-
textarea: "textarea";
|
|
487
484
|
text: "text";
|
|
488
|
-
|
|
485
|
+
textarea: "textarea";
|
|
486
|
+
select: "select";
|
|
489
487
|
radio: "radio";
|
|
490
488
|
checkbox: "checkbox";
|
|
489
|
+
tel: "tel";
|
|
490
|
+
time: "time";
|
|
491
491
|
}>;
|
|
492
492
|
}, z.core.$strict>, z.ZodObject<{
|
|
493
493
|
id: z.ZodString;
|
|
@@ -503,8 +503,8 @@ export declare const bookingQuestionsDetailedSchemaSchema: z.ZodObject<{
|
|
|
503
503
|
}>>;
|
|
504
504
|
}, z.core.$strict>>;
|
|
505
505
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
506
|
-
image: "image";
|
|
507
506
|
pdf: "pdf";
|
|
507
|
+
image: "image";
|
|
508
508
|
docx: "docx";
|
|
509
509
|
}>>>;
|
|
510
510
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -522,17 +522,17 @@ export declare const formSchemaSchema: z.ZodObject<{
|
|
|
522
522
|
label: z.ZodString;
|
|
523
523
|
type: z.ZodEnum<{
|
|
524
524
|
number: "number";
|
|
525
|
+
url: "url";
|
|
525
526
|
date: "date";
|
|
526
|
-
time: "time";
|
|
527
527
|
email: "email";
|
|
528
|
-
url: "url";
|
|
529
|
-
select: "select";
|
|
530
|
-
textarea: "textarea";
|
|
531
528
|
text: "text";
|
|
532
|
-
|
|
529
|
+
textarea: "textarea";
|
|
530
|
+
select: "select";
|
|
533
531
|
radio: "radio";
|
|
534
532
|
checkbox: "checkbox";
|
|
535
533
|
consent: "consent";
|
|
534
|
+
tel: "tel";
|
|
535
|
+
time: "time";
|
|
536
536
|
}>;
|
|
537
537
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
538
538
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -581,16 +581,16 @@ export declare const bookingQuestionsFlatSchemaSchema: z.ZodObject<{
|
|
|
581
581
|
}, z.core.$strict>>;
|
|
582
582
|
type: z.ZodEnum<{
|
|
583
583
|
number: "number";
|
|
584
|
+
url: "url";
|
|
584
585
|
date: "date";
|
|
585
|
-
time: "time";
|
|
586
586
|
email: "email";
|
|
587
|
-
url: "url";
|
|
588
|
-
select: "select";
|
|
589
|
-
textarea: "textarea";
|
|
590
587
|
text: "text";
|
|
591
|
-
|
|
588
|
+
textarea: "textarea";
|
|
589
|
+
select: "select";
|
|
592
590
|
radio: "radio";
|
|
593
591
|
checkbox: "checkbox";
|
|
592
|
+
tel: "tel";
|
|
593
|
+
time: "time";
|
|
594
594
|
}>;
|
|
595
595
|
}, z.core.$strict>, z.ZodObject<{
|
|
596
596
|
id: z.ZodString;
|
|
@@ -606,8 +606,8 @@ export declare const bookingQuestionsFlatSchemaSchema: z.ZodObject<{
|
|
|
606
606
|
}>>;
|
|
607
607
|
}, z.core.$strict>>;
|
|
608
608
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
609
|
-
image: "image";
|
|
610
609
|
pdf: "pdf";
|
|
610
|
+
image: "image";
|
|
611
611
|
docx: "docx";
|
|
612
612
|
}>>>;
|
|
613
613
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -639,16 +639,16 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
639
639
|
}, z.core.$strict>>;
|
|
640
640
|
type: z.ZodEnum<{
|
|
641
641
|
number: "number";
|
|
642
|
+
url: "url";
|
|
642
643
|
date: "date";
|
|
643
|
-
time: "time";
|
|
644
644
|
email: "email";
|
|
645
|
-
url: "url";
|
|
646
|
-
select: "select";
|
|
647
|
-
textarea: "textarea";
|
|
648
645
|
text: "text";
|
|
649
|
-
|
|
646
|
+
textarea: "textarea";
|
|
647
|
+
select: "select";
|
|
650
648
|
radio: "radio";
|
|
651
649
|
checkbox: "checkbox";
|
|
650
|
+
tel: "tel";
|
|
651
|
+
time: "time";
|
|
652
652
|
}>;
|
|
653
653
|
}, z.core.$strict>, z.ZodObject<{
|
|
654
654
|
id: z.ZodString;
|
|
@@ -664,8 +664,8 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
664
664
|
}>>;
|
|
665
665
|
}, z.core.$strict>>;
|
|
666
666
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
667
|
-
image: "image";
|
|
668
667
|
pdf: "pdf";
|
|
668
|
+
image: "image";
|
|
669
669
|
docx: "docx";
|
|
670
670
|
}>>>;
|
|
671
671
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -700,16 +700,16 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
700
700
|
}, z.core.$strict>>;
|
|
701
701
|
type: z.ZodEnum<{
|
|
702
702
|
number: "number";
|
|
703
|
+
url: "url";
|
|
703
704
|
date: "date";
|
|
704
|
-
time: "time";
|
|
705
705
|
email: "email";
|
|
706
|
-
url: "url";
|
|
707
|
-
select: "select";
|
|
708
|
-
textarea: "textarea";
|
|
709
706
|
text: "text";
|
|
710
|
-
|
|
707
|
+
textarea: "textarea";
|
|
708
|
+
select: "select";
|
|
711
709
|
radio: "radio";
|
|
712
710
|
checkbox: "checkbox";
|
|
711
|
+
tel: "tel";
|
|
712
|
+
time: "time";
|
|
713
713
|
}>;
|
|
714
714
|
}, z.core.$strict>, z.ZodObject<{
|
|
715
715
|
id: z.ZodString;
|
|
@@ -725,8 +725,8 @@ export declare const bookingQuestionsStoredSchemaSchema: z.ZodUnion<readonly [z.
|
|
|
725
725
|
}>>;
|
|
726
726
|
}, z.core.$strict>>;
|
|
727
727
|
allowedFileTypes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
728
|
-
image: "image";
|
|
729
728
|
pdf: "pdf";
|
|
729
|
+
image: "image";
|
|
730
730
|
docx: "docx";
|
|
731
731
|
}>>>;
|
|
732
732
|
maxBytes: z.ZodDefault<z.ZodNumber>;
|
|
@@ -775,17 +775,17 @@ export declare const createFormPayloadSchema: z.ZodObject<{
|
|
|
775
775
|
label: z.ZodString;
|
|
776
776
|
type: z.ZodEnum<{
|
|
777
777
|
number: "number";
|
|
778
|
+
url: "url";
|
|
778
779
|
date: "date";
|
|
779
|
-
time: "time";
|
|
780
780
|
email: "email";
|
|
781
|
-
url: "url";
|
|
782
|
-
select: "select";
|
|
783
|
-
textarea: "textarea";
|
|
784
781
|
text: "text";
|
|
785
|
-
|
|
782
|
+
textarea: "textarea";
|
|
783
|
+
select: "select";
|
|
786
784
|
radio: "radio";
|
|
787
785
|
checkbox: "checkbox";
|
|
788
786
|
consent: "consent";
|
|
787
|
+
tel: "tel";
|
|
788
|
+
time: "time";
|
|
789
789
|
}>;
|
|
790
790
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
791
791
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
@@ -888,10 +888,10 @@ export declare const createFormPayloadSchema: z.ZodObject<{
|
|
|
888
888
|
}, z.core.$strict>>;
|
|
889
889
|
templateKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
890
890
|
audienceHint: z.ZodOptional<z.ZodEnum<{
|
|
891
|
+
appointments: "appointments";
|
|
891
892
|
courses: "courses";
|
|
892
893
|
events: "events";
|
|
893
894
|
mixed: "mixed";
|
|
894
|
-
appointments: "appointments";
|
|
895
895
|
}>>;
|
|
896
896
|
customerTitle: z.ZodOptional<z.ZodString>;
|
|
897
897
|
introTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicCoursesResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, PublicEventsResponse, ResolveEntrySubrouteResponse, ResolveEventOccurrenceResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, PublicProductCategorySelector } from '../public-api/contracts';
|
|
2
|
-
export type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicCoursesResponse, PublicEventsResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, ResolveEntrySubrouteResponse, ResolveEventOccurrenceResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, } from '../public-api/contracts';
|
|
1
|
+
import type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicCoursesResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, PublicEventsResponse, ResolveEntrySubrouteResponse, ResolveEventOccurrenceResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, PublicProductCategorySelector } from '../public-api/contracts';
|
|
2
|
+
export type { CheckRedirectResponse, EntriesResponse, EntryResponse, PageResponse, PublicBookingServicesResponse, PublicCoursesResponse, PublicEventsResponse, PublicFormResponse, PublicFormsResponse, PublicProductsResponse, PublicTeamMembersResponse, PublicMembershipsResponse, PublicPassesResponse, PublicEventDetailsResponse, ResolveEntrySubrouteResponse, ResolveEventOccurrenceResponse, RoutableContentResponse, SiteResponse, SitemapRoutesResponse, } from '../public-api/contracts';
|
|
3
3
|
/**
|
|
4
4
|
* Pagination metadata returned when `includeMeta: true`
|
|
5
5
|
*/
|
|
@@ -418,6 +418,13 @@ export interface RiverbankClient {
|
|
|
418
418
|
limit?: number;
|
|
419
419
|
stage?: string;
|
|
420
420
|
} & SdkMethodOptions): Promise<PublicCoursesResponse>;
|
|
421
|
+
/**
|
|
422
|
+
* List public team members for a site (for Team Members block)
|
|
423
|
+
*/
|
|
424
|
+
listPublicTeamMembers(params: {
|
|
425
|
+
siteId: string;
|
|
426
|
+
stage?: string;
|
|
427
|
+
} & SdkMethodOptions): Promise<PublicTeamMembersResponse>;
|
|
421
428
|
/**
|
|
422
429
|
* List public products for a site (for product list/detail blocks)
|
|
423
430
|
*/
|
|
@@ -45,7 +45,7 @@ export type BlockCategory = 'marketing' | 'content' | 'blog' | 'media' | 'layout
|
|
|
45
45
|
*
|
|
46
46
|
* Re-exported from `@riverbankcms/blocks` (single source of truth).
|
|
47
47
|
*/
|
|
48
|
-
export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "getPublicEventDetails", "listPublicCourses", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices"];
|
|
48
|
+
export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "getPublicEventDetails", "listPublicCourses", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices"];
|
|
49
49
|
export type SdkLoaderEndpoint = (typeof SUPPORTED_LOADER_ENDPOINTS)[number];
|
|
50
50
|
export type LoaderParamBinding = {
|
|
51
51
|
$bind: {
|
|
@@ -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";
|
|
@@ -439,7 +439,16 @@ export type LayoutWidth = 'full' | 'lg-3-4-left';
|
|
|
439
439
|
export type ThumbnailPadding = 'none' | 'sm' | 'md' | 'lg';
|
|
440
440
|
export type StackImagePosition = 'left' | 'right' | 'alternate';
|
|
441
441
|
export type StackContentAlignment = 'top' | 'center';
|
|
442
|
-
|
|
442
|
+
type ManualTeamMemberItem = {
|
|
443
|
+
_type: 'teamMember';
|
|
444
|
+
name: string;
|
|
445
|
+
role?: string | null;
|
|
446
|
+
bio?: unknown;
|
|
447
|
+
photo?: ImageMedia | null;
|
|
448
|
+
profilePath?: string | null;
|
|
449
|
+
};
|
|
450
|
+
type TeamMembersCommonContent = {
|
|
451
|
+
variant?: 'grid' | 'stack' | null;
|
|
443
452
|
heading?: string | null;
|
|
444
453
|
layoutAlign?: LayoutAlign | null;
|
|
445
454
|
layoutWidth?: LayoutWidth | null;
|
|
@@ -450,14 +459,14 @@ export type TeamMembersContent = {
|
|
|
450
459
|
stackContentAlignment?: StackContentAlignment | null;
|
|
451
460
|
columns?: string | number | null;
|
|
452
461
|
gap?: SemanticSpacing;
|
|
453
|
-
members: Array<{
|
|
454
|
-
_type: 'teamMember';
|
|
455
|
-
name: string;
|
|
456
|
-
role?: string | null;
|
|
457
|
-
bio?: unknown;
|
|
458
|
-
photo?: unknown;
|
|
459
|
-
}>;
|
|
460
462
|
};
|
|
463
|
+
export type TeamMembersContent = (TeamMembersCommonContent & {
|
|
464
|
+
source?: 'manual' | null;
|
|
465
|
+
members: ManualTeamMemberItem[];
|
|
466
|
+
}) | (TeamMembersCommonContent & {
|
|
467
|
+
source: 'site_staff';
|
|
468
|
+
members?: ManualTeamMemberItem[];
|
|
469
|
+
});
|
|
461
470
|
export type TestimonialsBlockContent = {
|
|
462
471
|
variant?: 'carousel' | 'grid' | null;
|
|
463
472
|
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.
|