@mwam/sdk 0.3.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,48 @@
1
1
  import { z } from 'zod';
2
2
 
3
+ /** A block of a page, as this function reads one: by its `type`, whatever else it carries. */
4
+ export interface PageBlockLike {
5
+ type: string;
6
+ [key: string]: unknown;
7
+ }
8
+ export interface PageLike {
9
+ sections: readonly {
10
+ layout: string;
11
+ width: string;
12
+ background: string | null;
13
+ spacing: string;
14
+ columns: readonly {
15
+ sticky: boolean;
16
+ align: string;
17
+ blocks: readonly PageBlockLike[];
18
+ }[];
19
+ }[];
20
+ }
21
+ export interface PageHtmlOptions {
22
+ /** What a snippet becomes. Absent, or answering null: an empty placeholder with its classes. */
23
+ snippet?: (block: PageBlockLike) => string | null;
24
+ }
25
+ export declare function pageHtml(page: PageLike, opts?: PageHtmlOptions): string;
26
+ export interface LayoutCssOptions {
27
+ /** Below this width, in CSS pixels, columns stack. 900 unless the site's own is known. */
28
+ breakpoint?: number | null;
29
+ /** How far below the top a sticky column stops, in CSS pixels. */
30
+ stickyTop?: number | null;
31
+ /** The monastery's colours, by key (PublicPage's style.palette). */
32
+ palette?: readonly {
33
+ key: string;
34
+ cssVar: string | null;
35
+ color: string;
36
+ text: string;
37
+ }[];
38
+ }
39
+ /**
40
+ * The stylesheet for pageHtml's classes. Grid, stacking on a phone, the sticky column, the
41
+ * backgrounds — and nothing a site's own stylesheet decides: no fonts, no colours but the
42
+ * palette's own. Every value it is handed is checked before it is written: a colour must be
43
+ * `#rrggbb`, a variable `--name`, a measure a number in range.
44
+ */
45
+ export declare function layoutCss(opts?: LayoutCssOptions): string;
3
46
  declare const publicSessionSchema: z.ZodObject<{
4
47
  id: z.ZodString;
5
48
  /**
@@ -53,12 +96,6 @@ declare const publicSessionSchema: z.ZodObject<{
53
96
  */
54
97
  seatsLeft: z.ZodNullable<z.ZodNumber>;
55
98
  }, "strip", z.ZodTypeAny, {
56
- status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
57
- startsAt: string;
58
- endsAt: string;
59
- statusNote: string | null;
60
- capacity: number | null;
61
- id: string;
62
99
  place: {
63
100
  streetAddress: string | null;
64
101
  locality: string | null;
@@ -68,14 +105,14 @@ declare const publicSessionSchema: z.ZodObject<{
68
105
  onlineUrl: string | null;
69
106
  name: string | null;
70
107
  };
71
- seatsLeft: number | null;
72
- }, {
73
108
  status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
109
+ id: string;
74
110
  startsAt: string;
75
111
  endsAt: string;
76
112
  statusNote: string | null;
77
113
  capacity: number | null;
78
- id: string;
114
+ seatsLeft: number | null;
115
+ }, {
79
116
  place: {
80
117
  streetAddress: string | null;
81
118
  locality: string | null;
@@ -85,6 +122,12 @@ declare const publicSessionSchema: z.ZodObject<{
85
122
  onlineUrl: string | null;
86
123
  name: string | null;
87
124
  };
125
+ status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
126
+ id: string;
127
+ startsAt: string;
128
+ endsAt: string;
129
+ statusNote: string | null;
130
+ capacity: number | null;
88
131
  seatsLeft: number | null;
89
132
  }>;
90
133
  declare const publicSessionRowSchema: z.ZodObject<z.objectUtil.extendShape<{
@@ -165,6 +208,25 @@ declare const publicSessionRowSchema: z.ZodObject<z.objectUtil.extendShape<{
165
208
  "EXTERNAL",
166
209
  "OURS"
167
210
  ]>;
211
+ /**
212
+ * EACH_DATE: a place is booked a date at a time. ALL_DATES: people sign up once for every date
213
+ * (`signUp` in the SDK), and each date's `capacity` and `seatsLeft` are the event's.
214
+ */
215
+ signUp: z.ZodDefault<z.ZodEnum<[
216
+ "EACH_DATE",
217
+ "ALL_DATES"
218
+ ]>>;
219
+ /**
220
+ * DONATION: booking a date takes a donation by card of at least `priceCents` a place —
221
+ * `register` with `card` and `amountCents`, the card box started with what `giving()`
222
+ * answers as `card`. FREE: nothing is taken, whatever `priceCents` shows.
223
+ */
224
+ pricing: z.ZodDefault<z.ZodEnum<[
225
+ "FREE",
226
+ "DONATION"
227
+ ]>>;
228
+ /** Where a DONATION's amount starts; null starts at `priceCents`. */
229
+ suggestedCents: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
168
230
  /** Where registering happens when `registration` is EXTERNAL. Null otherwise. */
169
231
  registrationUrl: z.ZodNullable<z.ZodString>;
170
232
  series: z.ZodNullable<z.ZodObject<{
@@ -189,13 +251,13 @@ declare const publicSessionRowSchema: z.ZodObject<z.objectUtil.extendShape<{
189
251
  height: z.ZodNumber;
190
252
  }, "caption">, "strip", z.ZodTypeAny, {
191
253
  alt: string;
192
- url: string;
193
254
  width: number;
255
+ url: string;
194
256
  height: number;
195
257
  }, {
196
258
  alt: string;
197
- url: string;
198
259
  width: number;
260
+ url: string;
199
261
  height: number;
200
262
  }>>;
201
263
  }, "strip", z.ZodTypeAny, {
@@ -209,10 +271,13 @@ declare const publicSessionRowSchema: z.ZodObject<z.objectUtil.extendShape<{
209
271
  priceCents: number;
210
272
  priceCurrency: string;
211
273
  registration: "NONE" | "EXTERNAL" | "OURS";
274
+ signUp: "EACH_DATE" | "ALL_DATES";
275
+ pricing: "FREE" | "DONATION";
276
+ suggestedCents: number | null;
212
277
  cover: {
213
278
  alt: string;
214
- url: string;
215
279
  width: number;
280
+ url: string;
216
281
  height: number;
217
282
  } | null;
218
283
  registrationUrl: string | null;
@@ -233,8 +298,8 @@ declare const publicSessionRowSchema: z.ZodObject<z.objectUtil.extendShape<{
233
298
  registration: "NONE" | "EXTERNAL" | "OURS";
234
299
  cover: {
235
300
  alt: string;
236
- url: string;
237
301
  width: number;
302
+ url: string;
238
303
  height: number;
239
304
  } | null;
240
305
  registrationUrl: string | null;
@@ -242,9 +307,22 @@ declare const publicSessionRowSchema: z.ZodObject<z.objectUtil.extendShape<{
242
307
  slug: string;
243
308
  name: string;
244
309
  } | null;
310
+ signUp?: "EACH_DATE" | "ALL_DATES" | undefined;
311
+ pricing?: "FREE" | "DONATION" | undefined;
312
+ suggestedCents?: number | null | undefined;
245
313
  }>;
246
314
  }>, "strip", z.ZodTypeAny, {
315
+ place: {
316
+ streetAddress: string | null;
317
+ locality: string | null;
318
+ region: string | null;
319
+ postalCode: string | null;
320
+ country: string | null;
321
+ onlineUrl: string | null;
322
+ name: string | null;
323
+ };
247
324
  status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
325
+ id: string;
248
326
  startsAt: string;
249
327
  endsAt: string;
250
328
  statusNote: string | null;
@@ -260,10 +338,13 @@ declare const publicSessionRowSchema: z.ZodObject<z.objectUtil.extendShape<{
260
338
  priceCents: number;
261
339
  priceCurrency: string;
262
340
  registration: "NONE" | "EXTERNAL" | "OURS";
341
+ signUp: "EACH_DATE" | "ALL_DATES";
342
+ pricing: "FREE" | "DONATION";
343
+ suggestedCents: number | null;
263
344
  cover: {
264
345
  alt: string;
265
- url: string;
266
346
  width: number;
347
+ url: string;
267
348
  height: number;
268
349
  } | null;
269
350
  registrationUrl: string | null;
@@ -272,7 +353,8 @@ declare const publicSessionRowSchema: z.ZodObject<z.objectUtil.extendShape<{
272
353
  name: string;
273
354
  } | null;
274
355
  };
275
- id: string;
356
+ seatsLeft: number | null;
357
+ }, {
276
358
  place: {
277
359
  streetAddress: string | null;
278
360
  locality: string | null;
@@ -282,9 +364,8 @@ declare const publicSessionRowSchema: z.ZodObject<z.objectUtil.extendShape<{
282
364
  onlineUrl: string | null;
283
365
  name: string | null;
284
366
  };
285
- seatsLeft: number | null;
286
- }, {
287
367
  status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
368
+ id: string;
288
369
  startsAt: string;
289
370
  endsAt: string;
290
371
  statusNote: string | null;
@@ -302,8 +383,8 @@ declare const publicSessionRowSchema: z.ZodObject<z.objectUtil.extendShape<{
302
383
  registration: "NONE" | "EXTERNAL" | "OURS";
303
384
  cover: {
304
385
  alt: string;
305
- url: string;
306
386
  width: number;
387
+ url: string;
307
388
  height: number;
308
389
  } | null;
309
390
  registrationUrl: string | null;
@@ -311,18 +392,1582 @@ declare const publicSessionRowSchema: z.ZodObject<z.objectUtil.extendShape<{
311
392
  slug: string;
312
393
  name: string;
313
394
  } | null;
395
+ signUp?: "EACH_DATE" | "ALL_DATES" | undefined;
396
+ pricing?: "FREE" | "DONATION" | undefined;
397
+ suggestedCents?: number | null | undefined;
314
398
  };
399
+ seatsLeft: number | null;
400
+ }>;
401
+ declare const publicTeacherSchema: z.ZodObject<{
402
+ id: z.ZodString;
403
+ name: z.ZodString;
404
+ /** How they are addressed — "Venerable" — written before the name, or null. */
405
+ title: z.ZodNullable<z.ZodString>;
406
+ bio: z.ZodNullable<z.ZodString>;
407
+ photo: z.ZodNullable<z.ZodObject<Omit<{
408
+ url: z.ZodString;
409
+ alt: z.ZodString;
410
+ caption: z.ZodNullable<z.ZodString>;
411
+ width: z.ZodNumber;
412
+ height: z.ZodNumber;
413
+ }, "caption">, "strip", z.ZodTypeAny, {
414
+ alt: string;
415
+ width: number;
416
+ url: string;
417
+ height: number;
418
+ }, {
419
+ alt: string;
420
+ width: number;
421
+ url: string;
422
+ height: number;
423
+ }>>;
424
+ }, "strip", z.ZodTypeAny, {
315
425
  id: string;
316
- place: {
317
- streetAddress: string | null;
318
- locality: string | null;
319
- region: string | null;
320
- postalCode: string | null;
321
- country: string | null;
322
- onlineUrl: string | null;
323
- name: string | null;
426
+ title: string | null;
427
+ name: string;
428
+ bio: string | null;
429
+ photo: {
430
+ alt: string;
431
+ width: number;
432
+ url: string;
433
+ height: number;
434
+ } | null;
435
+ }, {
436
+ id: string;
437
+ title: string | null;
438
+ name: string;
439
+ bio: string | null;
440
+ photo: {
441
+ alt: string;
442
+ width: number;
443
+ url: string;
444
+ height: number;
445
+ } | null;
446
+ }>;
447
+ declare const publicPageSchema: z.ZodObject<{
448
+ sections: z.ZodArray<z.ZodObject<{
449
+ id: z.ZodNullable<z.ZodString>;
450
+ /** How the columns share the width. Phones stack them, in order. */
451
+ layout: z.ZodEnum<[
452
+ "one",
453
+ "halves",
454
+ "wideLeft",
455
+ "wideRight",
456
+ "thirds",
457
+ "mainSidebar",
458
+ "sidebarMain"
459
+ ]>;
460
+ width: z.ZodEnum<[
461
+ "contained",
462
+ "full"
463
+ ]>;
464
+ /** One of `style.palette`'s keys, or none. */
465
+ background: z.ZodNullable<z.ZodEnum<[
466
+ "bg-1",
467
+ "bg-2",
468
+ "bg-3",
469
+ "bg-4",
470
+ "bg-5",
471
+ "bg-6"
472
+ ]>>;
473
+ spacing: z.ZodEnum<[
474
+ "s",
475
+ "m",
476
+ "l"
477
+ ]>;
478
+ columns: z.ZodArray<z.ZodObject<{
479
+ /** Stays in view while the rest of the section scrolls past, on a wide screen. */
480
+ sticky: z.ZodBoolean;
481
+ align: z.ZodEnum<[
482
+ "top",
483
+ "middle"
484
+ ]>;
485
+ blocks: z.ZodArray<z.ZodUnion<[
486
+ z.ZodObject<{
487
+ type: z.ZodLiteral<"html">;
488
+ html: z.ZodString;
489
+ }, "strip", z.ZodTypeAny, {
490
+ type: "html";
491
+ html: string;
492
+ }, {
493
+ type: "html";
494
+ html: string;
495
+ }>,
496
+ z.ZodObject<{
497
+ type: z.ZodLiteral<"button">;
498
+ label: z.ZodString;
499
+ href: z.ZodString;
500
+ variant: z.ZodEnum<[
501
+ "primary",
502
+ "secondary"
503
+ ]>;
504
+ }, "strip", z.ZodTypeAny, {
505
+ type: "button";
506
+ href: string;
507
+ label: string;
508
+ variant: "primary" | "secondary";
509
+ }, {
510
+ type: "button";
511
+ href: string;
512
+ label: string;
513
+ variant: "primary" | "secondary";
514
+ }>,
515
+ z.ZodObject<{
516
+ type: z.ZodLiteral<"snippet">;
517
+ /** teacher, dates, schedule, booking, gallery or place. Skip a kind you do not know. */
518
+ kind: z.ZodString;
519
+ /** The booking card on a phone: where it is, or pinned to the bottom of the screen. */
520
+ phone: z.ZodNullable<z.ZodEnum<[
521
+ "inline",
522
+ "bar"
523
+ ]>>;
524
+ teacher: z.ZodOptional<z.ZodNullable<z.ZodObject<{
525
+ id: z.ZodString;
526
+ name: z.ZodString;
527
+ /** How they are addressed — "Venerable" — written before the name, or null. */
528
+ title: z.ZodNullable<z.ZodString>;
529
+ bio: z.ZodNullable<z.ZodString>;
530
+ photo: z.ZodNullable<z.ZodObject<Omit<{
531
+ url: z.ZodString;
532
+ alt: z.ZodString;
533
+ caption: z.ZodNullable<z.ZodString>;
534
+ width: z.ZodNumber;
535
+ height: z.ZodNumber;
536
+ }, "caption">, "strip", z.ZodTypeAny, {
537
+ alt: string;
538
+ width: number;
539
+ url: string;
540
+ height: number;
541
+ }, {
542
+ alt: string;
543
+ width: number;
544
+ url: string;
545
+ height: number;
546
+ }>>;
547
+ }, "strip", z.ZodTypeAny, {
548
+ id: string;
549
+ title: string | null;
550
+ name: string;
551
+ bio: string | null;
552
+ photo: {
553
+ alt: string;
554
+ width: number;
555
+ url: string;
556
+ height: number;
557
+ } | null;
558
+ }, {
559
+ id: string;
560
+ title: string | null;
561
+ name: string;
562
+ bio: string | null;
563
+ photo: {
564
+ alt: string;
565
+ width: number;
566
+ url: string;
567
+ height: number;
568
+ } | null;
569
+ }>>>;
570
+ gallery: z.ZodOptional<z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
571
+ slug: z.ZodString;
572
+ title: z.ZodString;
573
+ summary: z.ZodNullable<z.ZodString>;
574
+ cover: z.ZodNullable<z.ZodObject<{
575
+ url: z.ZodString;
576
+ alt: z.ZodString;
577
+ caption: z.ZodNullable<z.ZodString>;
578
+ width: z.ZodNumber;
579
+ height: z.ZodNumber;
580
+ }, "strip", z.ZodTypeAny, {
581
+ alt: string;
582
+ caption: string | null;
583
+ width: number;
584
+ url: string;
585
+ height: number;
586
+ }, {
587
+ alt: string;
588
+ caption: string | null;
589
+ width: number;
590
+ url: string;
591
+ height: number;
592
+ }>>;
593
+ pictureCount: z.ZodNumber;
594
+ publishedAt: z.ZodNullable<z.ZodString>;
595
+ }, {
596
+ pictures: z.ZodArray<z.ZodObject<{
597
+ url: z.ZodString;
598
+ alt: z.ZodString;
599
+ caption: z.ZodNullable<z.ZodString>;
600
+ width: z.ZodNumber;
601
+ height: z.ZodNumber;
602
+ }, "strip", z.ZodTypeAny, {
603
+ alt: string;
604
+ caption: string | null;
605
+ width: number;
606
+ url: string;
607
+ height: number;
608
+ }, {
609
+ alt: string;
610
+ caption: string | null;
611
+ width: number;
612
+ url: string;
613
+ height: number;
614
+ }>, "many">;
615
+ event: z.ZodNullable<z.ZodObject<{
616
+ slug: z.ZodString;
617
+ title: z.ZodString;
618
+ }, "strip", z.ZodTypeAny, {
619
+ slug: string;
620
+ title: string;
621
+ }, {
622
+ slug: string;
623
+ title: string;
624
+ }>>;
625
+ }>, "event">, "strip", z.ZodTypeAny, {
626
+ slug: string;
627
+ title: string;
628
+ summary: string | null;
629
+ cover: {
630
+ alt: string;
631
+ caption: string | null;
632
+ width: number;
633
+ url: string;
634
+ height: number;
635
+ } | null;
636
+ pictureCount: number;
637
+ publishedAt: string | null;
638
+ pictures: {
639
+ alt: string;
640
+ caption: string | null;
641
+ width: number;
642
+ url: string;
643
+ height: number;
644
+ }[];
645
+ }, {
646
+ slug: string;
647
+ title: string;
648
+ summary: string | null;
649
+ cover: {
650
+ alt: string;
651
+ caption: string | null;
652
+ width: number;
653
+ url: string;
654
+ height: number;
655
+ } | null;
656
+ pictureCount: number;
657
+ publishedAt: string | null;
658
+ pictures: {
659
+ alt: string;
660
+ caption: string | null;
661
+ width: number;
662
+ url: string;
663
+ height: number;
664
+ }[];
665
+ }>>>;
666
+ }, "strip", z.ZodTypeAny, {
667
+ type: "snippet";
668
+ kind: string;
669
+ phone: "inline" | "bar" | null;
670
+ teacher?: {
671
+ id: string;
672
+ title: string | null;
673
+ name: string;
674
+ bio: string | null;
675
+ photo: {
676
+ alt: string;
677
+ width: number;
678
+ url: string;
679
+ height: number;
680
+ } | null;
681
+ } | null | undefined;
682
+ gallery?: {
683
+ slug: string;
684
+ title: string;
685
+ summary: string | null;
686
+ cover: {
687
+ alt: string;
688
+ caption: string | null;
689
+ width: number;
690
+ url: string;
691
+ height: number;
692
+ } | null;
693
+ pictureCount: number;
694
+ publishedAt: string | null;
695
+ pictures: {
696
+ alt: string;
697
+ caption: string | null;
698
+ width: number;
699
+ url: string;
700
+ height: number;
701
+ }[];
702
+ } | null | undefined;
703
+ }, {
704
+ type: "snippet";
705
+ kind: string;
706
+ phone: "inline" | "bar" | null;
707
+ teacher?: {
708
+ id: string;
709
+ title: string | null;
710
+ name: string;
711
+ bio: string | null;
712
+ photo: {
713
+ alt: string;
714
+ width: number;
715
+ url: string;
716
+ height: number;
717
+ } | null;
718
+ } | null | undefined;
719
+ gallery?: {
720
+ slug: string;
721
+ title: string;
722
+ summary: string | null;
723
+ cover: {
724
+ alt: string;
725
+ caption: string | null;
726
+ width: number;
727
+ url: string;
728
+ height: number;
729
+ } | null;
730
+ pictureCount: number;
731
+ publishedAt: string | null;
732
+ pictures: {
733
+ alt: string;
734
+ caption: string | null;
735
+ width: number;
736
+ url: string;
737
+ height: number;
738
+ }[];
739
+ } | null | undefined;
740
+ }>,
741
+ z.ZodObject<{
742
+ type: z.ZodLiteral<"row">;
743
+ layout: z.ZodEnum<[
744
+ "halves",
745
+ "thirds",
746
+ "wideLeft",
747
+ "wideRight"
748
+ ]>;
749
+ columns: z.ZodArray<z.ZodObject<{
750
+ align: z.ZodEnum<[
751
+ "top",
752
+ "middle"
753
+ ]>;
754
+ blocks: z.ZodArray<z.ZodUnion<[
755
+ z.ZodObject<{
756
+ type: z.ZodLiteral<"html">;
757
+ html: z.ZodString;
758
+ }, "strip", z.ZodTypeAny, {
759
+ type: "html";
760
+ html: string;
761
+ }, {
762
+ type: "html";
763
+ html: string;
764
+ }>,
765
+ z.ZodObject<{
766
+ type: z.ZodLiteral<"button">;
767
+ label: z.ZodString;
768
+ href: z.ZodString;
769
+ variant: z.ZodEnum<[
770
+ "primary",
771
+ "secondary"
772
+ ]>;
773
+ }, "strip", z.ZodTypeAny, {
774
+ type: "button";
775
+ href: string;
776
+ label: string;
777
+ variant: "primary" | "secondary";
778
+ }, {
779
+ type: "button";
780
+ href: string;
781
+ label: string;
782
+ variant: "primary" | "secondary";
783
+ }>,
784
+ z.ZodObject<{
785
+ type: z.ZodLiteral<"snippet">;
786
+ /** teacher, dates, schedule, booking, gallery or place. Skip a kind you do not know. */
787
+ kind: z.ZodString;
788
+ /** The booking card on a phone: where it is, or pinned to the bottom of the screen. */
789
+ phone: z.ZodNullable<z.ZodEnum<[
790
+ "inline",
791
+ "bar"
792
+ ]>>;
793
+ teacher: z.ZodOptional<z.ZodNullable<z.ZodObject<{
794
+ id: z.ZodString;
795
+ name: z.ZodString;
796
+ /** How they are addressed — "Venerable" — written before the name, or null. */
797
+ title: z.ZodNullable<z.ZodString>;
798
+ bio: z.ZodNullable<z.ZodString>;
799
+ photo: z.ZodNullable<z.ZodObject<Omit<{
800
+ url: z.ZodString;
801
+ alt: z.ZodString;
802
+ caption: z.ZodNullable<z.ZodString>;
803
+ width: z.ZodNumber;
804
+ height: z.ZodNumber;
805
+ }, "caption">, "strip", z.ZodTypeAny, {
806
+ alt: string;
807
+ width: number;
808
+ url: string;
809
+ height: number;
810
+ }, {
811
+ alt: string;
812
+ width: number;
813
+ url: string;
814
+ height: number;
815
+ }>>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ id: string;
818
+ title: string | null;
819
+ name: string;
820
+ bio: string | null;
821
+ photo: {
822
+ alt: string;
823
+ width: number;
824
+ url: string;
825
+ height: number;
826
+ } | null;
827
+ }, {
828
+ id: string;
829
+ title: string | null;
830
+ name: string;
831
+ bio: string | null;
832
+ photo: {
833
+ alt: string;
834
+ width: number;
835
+ url: string;
836
+ height: number;
837
+ } | null;
838
+ }>>>;
839
+ gallery: z.ZodOptional<z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
840
+ slug: z.ZodString;
841
+ title: z.ZodString;
842
+ summary: z.ZodNullable<z.ZodString>;
843
+ cover: z.ZodNullable<z.ZodObject<{
844
+ url: z.ZodString;
845
+ alt: z.ZodString;
846
+ caption: z.ZodNullable<z.ZodString>;
847
+ width: z.ZodNumber;
848
+ height: z.ZodNumber;
849
+ }, "strip", z.ZodTypeAny, {
850
+ alt: string;
851
+ caption: string | null;
852
+ width: number;
853
+ url: string;
854
+ height: number;
855
+ }, {
856
+ alt: string;
857
+ caption: string | null;
858
+ width: number;
859
+ url: string;
860
+ height: number;
861
+ }>>;
862
+ pictureCount: z.ZodNumber;
863
+ publishedAt: z.ZodNullable<z.ZodString>;
864
+ }, {
865
+ pictures: z.ZodArray<z.ZodObject<{
866
+ url: z.ZodString;
867
+ alt: z.ZodString;
868
+ caption: z.ZodNullable<z.ZodString>;
869
+ width: z.ZodNumber;
870
+ height: z.ZodNumber;
871
+ }, "strip", z.ZodTypeAny, {
872
+ alt: string;
873
+ caption: string | null;
874
+ width: number;
875
+ url: string;
876
+ height: number;
877
+ }, {
878
+ alt: string;
879
+ caption: string | null;
880
+ width: number;
881
+ url: string;
882
+ height: number;
883
+ }>, "many">;
884
+ event: z.ZodNullable<z.ZodObject<{
885
+ slug: z.ZodString;
886
+ title: z.ZodString;
887
+ }, "strip", z.ZodTypeAny, {
888
+ slug: string;
889
+ title: string;
890
+ }, {
891
+ slug: string;
892
+ title: string;
893
+ }>>;
894
+ }>, "event">, "strip", z.ZodTypeAny, {
895
+ slug: string;
896
+ title: string;
897
+ summary: string | null;
898
+ cover: {
899
+ alt: string;
900
+ caption: string | null;
901
+ width: number;
902
+ url: string;
903
+ height: number;
904
+ } | null;
905
+ pictureCount: number;
906
+ publishedAt: string | null;
907
+ pictures: {
908
+ alt: string;
909
+ caption: string | null;
910
+ width: number;
911
+ url: string;
912
+ height: number;
913
+ }[];
914
+ }, {
915
+ slug: string;
916
+ title: string;
917
+ summary: string | null;
918
+ cover: {
919
+ alt: string;
920
+ caption: string | null;
921
+ width: number;
922
+ url: string;
923
+ height: number;
924
+ } | null;
925
+ pictureCount: number;
926
+ publishedAt: string | null;
927
+ pictures: {
928
+ alt: string;
929
+ caption: string | null;
930
+ width: number;
931
+ url: string;
932
+ height: number;
933
+ }[];
934
+ }>>>;
935
+ }, "strip", z.ZodTypeAny, {
936
+ type: "snippet";
937
+ kind: string;
938
+ phone: "inline" | "bar" | null;
939
+ teacher?: {
940
+ id: string;
941
+ title: string | null;
942
+ name: string;
943
+ bio: string | null;
944
+ photo: {
945
+ alt: string;
946
+ width: number;
947
+ url: string;
948
+ height: number;
949
+ } | null;
950
+ } | null | undefined;
951
+ gallery?: {
952
+ slug: string;
953
+ title: string;
954
+ summary: string | null;
955
+ cover: {
956
+ alt: string;
957
+ caption: string | null;
958
+ width: number;
959
+ url: string;
960
+ height: number;
961
+ } | null;
962
+ pictureCount: number;
963
+ publishedAt: string | null;
964
+ pictures: {
965
+ alt: string;
966
+ caption: string | null;
967
+ width: number;
968
+ url: string;
969
+ height: number;
970
+ }[];
971
+ } | null | undefined;
972
+ }, {
973
+ type: "snippet";
974
+ kind: string;
975
+ phone: "inline" | "bar" | null;
976
+ teacher?: {
977
+ id: string;
978
+ title: string | null;
979
+ name: string;
980
+ bio: string | null;
981
+ photo: {
982
+ alt: string;
983
+ width: number;
984
+ url: string;
985
+ height: number;
986
+ } | null;
987
+ } | null | undefined;
988
+ gallery?: {
989
+ slug: string;
990
+ title: string;
991
+ summary: string | null;
992
+ cover: {
993
+ alt: string;
994
+ caption: string | null;
995
+ width: number;
996
+ url: string;
997
+ height: number;
998
+ } | null;
999
+ pictureCount: number;
1000
+ publishedAt: string | null;
1001
+ pictures: {
1002
+ alt: string;
1003
+ caption: string | null;
1004
+ width: number;
1005
+ url: string;
1006
+ height: number;
1007
+ }[];
1008
+ } | null | undefined;
1009
+ }>,
1010
+ z.ZodObject<{
1011
+ type: z.ZodString;
1012
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1013
+ type: z.ZodString;
1014
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1015
+ type: z.ZodString;
1016
+ }, z.ZodTypeAny, "passthrough">>
1017
+ ]>, "many">;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ align: "top" | "middle";
1020
+ blocks: ({
1021
+ type: "snippet";
1022
+ kind: string;
1023
+ phone: "inline" | "bar" | null;
1024
+ teacher?: {
1025
+ id: string;
1026
+ title: string | null;
1027
+ name: string;
1028
+ bio: string | null;
1029
+ photo: {
1030
+ alt: string;
1031
+ width: number;
1032
+ url: string;
1033
+ height: number;
1034
+ } | null;
1035
+ } | null | undefined;
1036
+ gallery?: {
1037
+ slug: string;
1038
+ title: string;
1039
+ summary: string | null;
1040
+ cover: {
1041
+ alt: string;
1042
+ caption: string | null;
1043
+ width: number;
1044
+ url: string;
1045
+ height: number;
1046
+ } | null;
1047
+ pictureCount: number;
1048
+ publishedAt: string | null;
1049
+ pictures: {
1050
+ alt: string;
1051
+ caption: string | null;
1052
+ width: number;
1053
+ url: string;
1054
+ height: number;
1055
+ }[];
1056
+ } | null | undefined;
1057
+ } | {
1058
+ type: "html";
1059
+ html: string;
1060
+ } | {
1061
+ type: "button";
1062
+ href: string;
1063
+ label: string;
1064
+ variant: "primary" | "secondary";
1065
+ } | z.objectOutputType<{
1066
+ type: z.ZodString;
1067
+ }, z.ZodTypeAny, "passthrough">)[];
1068
+ }, {
1069
+ align: "top" | "middle";
1070
+ blocks: ({
1071
+ type: "snippet";
1072
+ kind: string;
1073
+ phone: "inline" | "bar" | null;
1074
+ teacher?: {
1075
+ id: string;
1076
+ title: string | null;
1077
+ name: string;
1078
+ bio: string | null;
1079
+ photo: {
1080
+ alt: string;
1081
+ width: number;
1082
+ url: string;
1083
+ height: number;
1084
+ } | null;
1085
+ } | null | undefined;
1086
+ gallery?: {
1087
+ slug: string;
1088
+ title: string;
1089
+ summary: string | null;
1090
+ cover: {
1091
+ alt: string;
1092
+ caption: string | null;
1093
+ width: number;
1094
+ url: string;
1095
+ height: number;
1096
+ } | null;
1097
+ pictureCount: number;
1098
+ publishedAt: string | null;
1099
+ pictures: {
1100
+ alt: string;
1101
+ caption: string | null;
1102
+ width: number;
1103
+ url: string;
1104
+ height: number;
1105
+ }[];
1106
+ } | null | undefined;
1107
+ } | {
1108
+ type: "html";
1109
+ html: string;
1110
+ } | {
1111
+ type: "button";
1112
+ href: string;
1113
+ label: string;
1114
+ variant: "primary" | "secondary";
1115
+ } | z.objectInputType<{
1116
+ type: z.ZodString;
1117
+ }, z.ZodTypeAny, "passthrough">)[];
1118
+ }>, "many">;
1119
+ }, "strip", z.ZodTypeAny, {
1120
+ type: "row";
1121
+ columns: {
1122
+ align: "top" | "middle";
1123
+ blocks: ({
1124
+ type: "snippet";
1125
+ kind: string;
1126
+ phone: "inline" | "bar" | null;
1127
+ teacher?: {
1128
+ id: string;
1129
+ title: string | null;
1130
+ name: string;
1131
+ bio: string | null;
1132
+ photo: {
1133
+ alt: string;
1134
+ width: number;
1135
+ url: string;
1136
+ height: number;
1137
+ } | null;
1138
+ } | null | undefined;
1139
+ gallery?: {
1140
+ slug: string;
1141
+ title: string;
1142
+ summary: string | null;
1143
+ cover: {
1144
+ alt: string;
1145
+ caption: string | null;
1146
+ width: number;
1147
+ url: string;
1148
+ height: number;
1149
+ } | null;
1150
+ pictureCount: number;
1151
+ publishedAt: string | null;
1152
+ pictures: {
1153
+ alt: string;
1154
+ caption: string | null;
1155
+ width: number;
1156
+ url: string;
1157
+ height: number;
1158
+ }[];
1159
+ } | null | undefined;
1160
+ } | {
1161
+ type: "html";
1162
+ html: string;
1163
+ } | {
1164
+ type: "button";
1165
+ href: string;
1166
+ label: string;
1167
+ variant: "primary" | "secondary";
1168
+ } | z.objectOutputType<{
1169
+ type: z.ZodString;
1170
+ }, z.ZodTypeAny, "passthrough">)[];
1171
+ }[];
1172
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
1173
+ }, {
1174
+ type: "row";
1175
+ columns: {
1176
+ align: "top" | "middle";
1177
+ blocks: ({
1178
+ type: "snippet";
1179
+ kind: string;
1180
+ phone: "inline" | "bar" | null;
1181
+ teacher?: {
1182
+ id: string;
1183
+ title: string | null;
1184
+ name: string;
1185
+ bio: string | null;
1186
+ photo: {
1187
+ alt: string;
1188
+ width: number;
1189
+ url: string;
1190
+ height: number;
1191
+ } | null;
1192
+ } | null | undefined;
1193
+ gallery?: {
1194
+ slug: string;
1195
+ title: string;
1196
+ summary: string | null;
1197
+ cover: {
1198
+ alt: string;
1199
+ caption: string | null;
1200
+ width: number;
1201
+ url: string;
1202
+ height: number;
1203
+ } | null;
1204
+ pictureCount: number;
1205
+ publishedAt: string | null;
1206
+ pictures: {
1207
+ alt: string;
1208
+ caption: string | null;
1209
+ width: number;
1210
+ url: string;
1211
+ height: number;
1212
+ }[];
1213
+ } | null | undefined;
1214
+ } | {
1215
+ type: "html";
1216
+ html: string;
1217
+ } | {
1218
+ type: "button";
1219
+ href: string;
1220
+ label: string;
1221
+ variant: "primary" | "secondary";
1222
+ } | z.objectInputType<{
1223
+ type: z.ZodString;
1224
+ }, z.ZodTypeAny, "passthrough">)[];
1225
+ }[];
1226
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
1227
+ }>,
1228
+ z.ZodObject<{
1229
+ type: z.ZodString;
1230
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1231
+ type: z.ZodString;
1232
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1233
+ type: z.ZodString;
1234
+ }, z.ZodTypeAny, "passthrough">>
1235
+ ]>, "many">;
1236
+ }, "strip", z.ZodTypeAny, {
1237
+ align: "top" | "middle";
1238
+ sticky: boolean;
1239
+ blocks: ({
1240
+ type: "snippet";
1241
+ kind: string;
1242
+ phone: "inline" | "bar" | null;
1243
+ teacher?: {
1244
+ id: string;
1245
+ title: string | null;
1246
+ name: string;
1247
+ bio: string | null;
1248
+ photo: {
1249
+ alt: string;
1250
+ width: number;
1251
+ url: string;
1252
+ height: number;
1253
+ } | null;
1254
+ } | null | undefined;
1255
+ gallery?: {
1256
+ slug: string;
1257
+ title: string;
1258
+ summary: string | null;
1259
+ cover: {
1260
+ alt: string;
1261
+ caption: string | null;
1262
+ width: number;
1263
+ url: string;
1264
+ height: number;
1265
+ } | null;
1266
+ pictureCount: number;
1267
+ publishedAt: string | null;
1268
+ pictures: {
1269
+ alt: string;
1270
+ caption: string | null;
1271
+ width: number;
1272
+ url: string;
1273
+ height: number;
1274
+ }[];
1275
+ } | null | undefined;
1276
+ } | {
1277
+ type: "html";
1278
+ html: string;
1279
+ } | {
1280
+ type: "button";
1281
+ href: string;
1282
+ label: string;
1283
+ variant: "primary" | "secondary";
1284
+ } | z.objectOutputType<{
1285
+ type: z.ZodString;
1286
+ }, z.ZodTypeAny, "passthrough"> | {
1287
+ type: "row";
1288
+ columns: {
1289
+ align: "top" | "middle";
1290
+ blocks: ({
1291
+ type: "snippet";
1292
+ kind: string;
1293
+ phone: "inline" | "bar" | null;
1294
+ teacher?: {
1295
+ id: string;
1296
+ title: string | null;
1297
+ name: string;
1298
+ bio: string | null;
1299
+ photo: {
1300
+ alt: string;
1301
+ width: number;
1302
+ url: string;
1303
+ height: number;
1304
+ } | null;
1305
+ } | null | undefined;
1306
+ gallery?: {
1307
+ slug: string;
1308
+ title: string;
1309
+ summary: string | null;
1310
+ cover: {
1311
+ alt: string;
1312
+ caption: string | null;
1313
+ width: number;
1314
+ url: string;
1315
+ height: number;
1316
+ } | null;
1317
+ pictureCount: number;
1318
+ publishedAt: string | null;
1319
+ pictures: {
1320
+ alt: string;
1321
+ caption: string | null;
1322
+ width: number;
1323
+ url: string;
1324
+ height: number;
1325
+ }[];
1326
+ } | null | undefined;
1327
+ } | {
1328
+ type: "html";
1329
+ html: string;
1330
+ } | {
1331
+ type: "button";
1332
+ href: string;
1333
+ label: string;
1334
+ variant: "primary" | "secondary";
1335
+ } | z.objectOutputType<{
1336
+ type: z.ZodString;
1337
+ }, z.ZodTypeAny, "passthrough">)[];
1338
+ }[];
1339
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
1340
+ })[];
1341
+ }, {
1342
+ align: "top" | "middle";
1343
+ sticky: boolean;
1344
+ blocks: ({
1345
+ type: "snippet";
1346
+ kind: string;
1347
+ phone: "inline" | "bar" | null;
1348
+ teacher?: {
1349
+ id: string;
1350
+ title: string | null;
1351
+ name: string;
1352
+ bio: string | null;
1353
+ photo: {
1354
+ alt: string;
1355
+ width: number;
1356
+ url: string;
1357
+ height: number;
1358
+ } | null;
1359
+ } | null | undefined;
1360
+ gallery?: {
1361
+ slug: string;
1362
+ title: string;
1363
+ summary: string | null;
1364
+ cover: {
1365
+ alt: string;
1366
+ caption: string | null;
1367
+ width: number;
1368
+ url: string;
1369
+ height: number;
1370
+ } | null;
1371
+ pictureCount: number;
1372
+ publishedAt: string | null;
1373
+ pictures: {
1374
+ alt: string;
1375
+ caption: string | null;
1376
+ width: number;
1377
+ url: string;
1378
+ height: number;
1379
+ }[];
1380
+ } | null | undefined;
1381
+ } | {
1382
+ type: "html";
1383
+ html: string;
1384
+ } | {
1385
+ type: "button";
1386
+ href: string;
1387
+ label: string;
1388
+ variant: "primary" | "secondary";
1389
+ } | z.objectInputType<{
1390
+ type: z.ZodString;
1391
+ }, z.ZodTypeAny, "passthrough"> | {
1392
+ type: "row";
1393
+ columns: {
1394
+ align: "top" | "middle";
1395
+ blocks: ({
1396
+ type: "snippet";
1397
+ kind: string;
1398
+ phone: "inline" | "bar" | null;
1399
+ teacher?: {
1400
+ id: string;
1401
+ title: string | null;
1402
+ name: string;
1403
+ bio: string | null;
1404
+ photo: {
1405
+ alt: string;
1406
+ width: number;
1407
+ url: string;
1408
+ height: number;
1409
+ } | null;
1410
+ } | null | undefined;
1411
+ gallery?: {
1412
+ slug: string;
1413
+ title: string;
1414
+ summary: string | null;
1415
+ cover: {
1416
+ alt: string;
1417
+ caption: string | null;
1418
+ width: number;
1419
+ url: string;
1420
+ height: number;
1421
+ } | null;
1422
+ pictureCount: number;
1423
+ publishedAt: string | null;
1424
+ pictures: {
1425
+ alt: string;
1426
+ caption: string | null;
1427
+ width: number;
1428
+ url: string;
1429
+ height: number;
1430
+ }[];
1431
+ } | null | undefined;
1432
+ } | {
1433
+ type: "html";
1434
+ html: string;
1435
+ } | {
1436
+ type: "button";
1437
+ href: string;
1438
+ label: string;
1439
+ variant: "primary" | "secondary";
1440
+ } | z.objectInputType<{
1441
+ type: z.ZodString;
1442
+ }, z.ZodTypeAny, "passthrough">)[];
1443
+ }[];
1444
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
1445
+ })[];
1446
+ }>, "many">;
1447
+ }, "strip", z.ZodTypeAny, {
1448
+ columns: {
1449
+ align: "top" | "middle";
1450
+ sticky: boolean;
1451
+ blocks: ({
1452
+ type: "snippet";
1453
+ kind: string;
1454
+ phone: "inline" | "bar" | null;
1455
+ teacher?: {
1456
+ id: string;
1457
+ title: string | null;
1458
+ name: string;
1459
+ bio: string | null;
1460
+ photo: {
1461
+ alt: string;
1462
+ width: number;
1463
+ url: string;
1464
+ height: number;
1465
+ } | null;
1466
+ } | null | undefined;
1467
+ gallery?: {
1468
+ slug: string;
1469
+ title: string;
1470
+ summary: string | null;
1471
+ cover: {
1472
+ alt: string;
1473
+ caption: string | null;
1474
+ width: number;
1475
+ url: string;
1476
+ height: number;
1477
+ } | null;
1478
+ pictureCount: number;
1479
+ publishedAt: string | null;
1480
+ pictures: {
1481
+ alt: string;
1482
+ caption: string | null;
1483
+ width: number;
1484
+ url: string;
1485
+ height: number;
1486
+ }[];
1487
+ } | null | undefined;
1488
+ } | {
1489
+ type: "html";
1490
+ html: string;
1491
+ } | {
1492
+ type: "button";
1493
+ href: string;
1494
+ label: string;
1495
+ variant: "primary" | "secondary";
1496
+ } | z.objectOutputType<{
1497
+ type: z.ZodString;
1498
+ }, z.ZodTypeAny, "passthrough"> | {
1499
+ type: "row";
1500
+ columns: {
1501
+ align: "top" | "middle";
1502
+ blocks: ({
1503
+ type: "snippet";
1504
+ kind: string;
1505
+ phone: "inline" | "bar" | null;
1506
+ teacher?: {
1507
+ id: string;
1508
+ title: string | null;
1509
+ name: string;
1510
+ bio: string | null;
1511
+ photo: {
1512
+ alt: string;
1513
+ width: number;
1514
+ url: string;
1515
+ height: number;
1516
+ } | null;
1517
+ } | null | undefined;
1518
+ gallery?: {
1519
+ slug: string;
1520
+ title: string;
1521
+ summary: string | null;
1522
+ cover: {
1523
+ alt: string;
1524
+ caption: string | null;
1525
+ width: number;
1526
+ url: string;
1527
+ height: number;
1528
+ } | null;
1529
+ pictureCount: number;
1530
+ publishedAt: string | null;
1531
+ pictures: {
1532
+ alt: string;
1533
+ caption: string | null;
1534
+ width: number;
1535
+ url: string;
1536
+ height: number;
1537
+ }[];
1538
+ } | null | undefined;
1539
+ } | {
1540
+ type: "html";
1541
+ html: string;
1542
+ } | {
1543
+ type: "button";
1544
+ href: string;
1545
+ label: string;
1546
+ variant: "primary" | "secondary";
1547
+ } | z.objectOutputType<{
1548
+ type: z.ZodString;
1549
+ }, z.ZodTypeAny, "passthrough">)[];
1550
+ }[];
1551
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
1552
+ })[];
1553
+ }[];
1554
+ id: string | null;
1555
+ layout: "one" | "halves" | "wideLeft" | "wideRight" | "thirds" | "mainSidebar" | "sidebarMain";
1556
+ width: "contained" | "full";
1557
+ background: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6" | null;
1558
+ spacing: "s" | "m" | "l";
1559
+ }, {
1560
+ columns: {
1561
+ align: "top" | "middle";
1562
+ sticky: boolean;
1563
+ blocks: ({
1564
+ type: "snippet";
1565
+ kind: string;
1566
+ phone: "inline" | "bar" | null;
1567
+ teacher?: {
1568
+ id: string;
1569
+ title: string | null;
1570
+ name: string;
1571
+ bio: string | null;
1572
+ photo: {
1573
+ alt: string;
1574
+ width: number;
1575
+ url: string;
1576
+ height: number;
1577
+ } | null;
1578
+ } | null | undefined;
1579
+ gallery?: {
1580
+ slug: string;
1581
+ title: string;
1582
+ summary: string | null;
1583
+ cover: {
1584
+ alt: string;
1585
+ caption: string | null;
1586
+ width: number;
1587
+ url: string;
1588
+ height: number;
1589
+ } | null;
1590
+ pictureCount: number;
1591
+ publishedAt: string | null;
1592
+ pictures: {
1593
+ alt: string;
1594
+ caption: string | null;
1595
+ width: number;
1596
+ url: string;
1597
+ height: number;
1598
+ }[];
1599
+ } | null | undefined;
1600
+ } | {
1601
+ type: "html";
1602
+ html: string;
1603
+ } | {
1604
+ type: "button";
1605
+ href: string;
1606
+ label: string;
1607
+ variant: "primary" | "secondary";
1608
+ } | z.objectInputType<{
1609
+ type: z.ZodString;
1610
+ }, z.ZodTypeAny, "passthrough"> | {
1611
+ type: "row";
1612
+ columns: {
1613
+ align: "top" | "middle";
1614
+ blocks: ({
1615
+ type: "snippet";
1616
+ kind: string;
1617
+ phone: "inline" | "bar" | null;
1618
+ teacher?: {
1619
+ id: string;
1620
+ title: string | null;
1621
+ name: string;
1622
+ bio: string | null;
1623
+ photo: {
1624
+ alt: string;
1625
+ width: number;
1626
+ url: string;
1627
+ height: number;
1628
+ } | null;
1629
+ } | null | undefined;
1630
+ gallery?: {
1631
+ slug: string;
1632
+ title: string;
1633
+ summary: string | null;
1634
+ cover: {
1635
+ alt: string;
1636
+ caption: string | null;
1637
+ width: number;
1638
+ url: string;
1639
+ height: number;
1640
+ } | null;
1641
+ pictureCount: number;
1642
+ publishedAt: string | null;
1643
+ pictures: {
1644
+ alt: string;
1645
+ caption: string | null;
1646
+ width: number;
1647
+ url: string;
1648
+ height: number;
1649
+ }[];
1650
+ } | null | undefined;
1651
+ } | {
1652
+ type: "html";
1653
+ html: string;
1654
+ } | {
1655
+ type: "button";
1656
+ href: string;
1657
+ label: string;
1658
+ variant: "primary" | "secondary";
1659
+ } | z.objectInputType<{
1660
+ type: z.ZodString;
1661
+ }, z.ZodTypeAny, "passthrough">)[];
1662
+ }[];
1663
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
1664
+ })[];
1665
+ }[];
1666
+ id: string | null;
1667
+ layout: "one" | "halves" | "wideLeft" | "wideRight" | "thirds" | "mainSidebar" | "sidebarMain";
1668
+ width: "contained" | "full";
1669
+ background: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6" | null;
1670
+ spacing: "s" | "m" | "l";
1671
+ }>, "many">;
1672
+ /** The monastery's own colours and measures, learned from its website (Website style). */
1673
+ style: z.ZodObject<{
1674
+ palette: z.ZodArray<z.ZodObject<{
1675
+ key: z.ZodEnum<[
1676
+ "bg-1",
1677
+ "bg-2",
1678
+ "bg-3",
1679
+ "bg-4",
1680
+ "bg-5",
1681
+ "bg-6"
1682
+ ]>;
1683
+ /** The site's own CSS variable for it, when it has one. */
1684
+ cssVar: z.ZodNullable<z.ZodString>;
1685
+ /** The colour itself, as #rrggbb. */
1686
+ color: z.ZodString;
1687
+ /** The text colour that reads on it, as #rrggbb. */
1688
+ text: z.ZodString;
1689
+ }, "strip", z.ZodTypeAny, {
1690
+ text: string;
1691
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
1692
+ cssVar: string | null;
1693
+ color: string;
1694
+ }, {
1695
+ text: string;
1696
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
1697
+ cssVar: string | null;
1698
+ color: string;
1699
+ }>, "many">;
1700
+ /** Below this width, in CSS pixels, the site stacks columns. Null: the site's own choice. */
1701
+ breakpoint: z.ZodNullable<z.ZodNumber>;
1702
+ /** How far below the top a sticky column stops, in CSS pixels — under the site's header. */
1703
+ stickyTop: z.ZodNullable<z.ZodNumber>;
1704
+ }, "strip", z.ZodTypeAny, {
1705
+ palette: {
1706
+ text: string;
1707
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
1708
+ cssVar: string | null;
1709
+ color: string;
1710
+ }[];
1711
+ breakpoint: number | null;
1712
+ stickyTop: number | null;
1713
+ }, {
1714
+ palette: {
1715
+ text: string;
1716
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
1717
+ cssVar: string | null;
1718
+ color: string;
1719
+ }[];
1720
+ breakpoint: number | null;
1721
+ stickyTop: number | null;
1722
+ }>;
1723
+ }, "strip", z.ZodTypeAny, {
1724
+ sections: {
1725
+ columns: {
1726
+ align: "top" | "middle";
1727
+ sticky: boolean;
1728
+ blocks: ({
1729
+ type: "snippet";
1730
+ kind: string;
1731
+ phone: "inline" | "bar" | null;
1732
+ teacher?: {
1733
+ id: string;
1734
+ title: string | null;
1735
+ name: string;
1736
+ bio: string | null;
1737
+ photo: {
1738
+ alt: string;
1739
+ width: number;
1740
+ url: string;
1741
+ height: number;
1742
+ } | null;
1743
+ } | null | undefined;
1744
+ gallery?: {
1745
+ slug: string;
1746
+ title: string;
1747
+ summary: string | null;
1748
+ cover: {
1749
+ alt: string;
1750
+ caption: string | null;
1751
+ width: number;
1752
+ url: string;
1753
+ height: number;
1754
+ } | null;
1755
+ pictureCount: number;
1756
+ publishedAt: string | null;
1757
+ pictures: {
1758
+ alt: string;
1759
+ caption: string | null;
1760
+ width: number;
1761
+ url: string;
1762
+ height: number;
1763
+ }[];
1764
+ } | null | undefined;
1765
+ } | {
1766
+ type: "html";
1767
+ html: string;
1768
+ } | {
1769
+ type: "button";
1770
+ href: string;
1771
+ label: string;
1772
+ variant: "primary" | "secondary";
1773
+ } | z.objectOutputType<{
1774
+ type: z.ZodString;
1775
+ }, z.ZodTypeAny, "passthrough"> | {
1776
+ type: "row";
1777
+ columns: {
1778
+ align: "top" | "middle";
1779
+ blocks: ({
1780
+ type: "snippet";
1781
+ kind: string;
1782
+ phone: "inline" | "bar" | null;
1783
+ teacher?: {
1784
+ id: string;
1785
+ title: string | null;
1786
+ name: string;
1787
+ bio: string | null;
1788
+ photo: {
1789
+ alt: string;
1790
+ width: number;
1791
+ url: string;
1792
+ height: number;
1793
+ } | null;
1794
+ } | null | undefined;
1795
+ gallery?: {
1796
+ slug: string;
1797
+ title: string;
1798
+ summary: string | null;
1799
+ cover: {
1800
+ alt: string;
1801
+ caption: string | null;
1802
+ width: number;
1803
+ url: string;
1804
+ height: number;
1805
+ } | null;
1806
+ pictureCount: number;
1807
+ publishedAt: string | null;
1808
+ pictures: {
1809
+ alt: string;
1810
+ caption: string | null;
1811
+ width: number;
1812
+ url: string;
1813
+ height: number;
1814
+ }[];
1815
+ } | null | undefined;
1816
+ } | {
1817
+ type: "html";
1818
+ html: string;
1819
+ } | {
1820
+ type: "button";
1821
+ href: string;
1822
+ label: string;
1823
+ variant: "primary" | "secondary";
1824
+ } | z.objectOutputType<{
1825
+ type: z.ZodString;
1826
+ }, z.ZodTypeAny, "passthrough">)[];
1827
+ }[];
1828
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
1829
+ })[];
1830
+ }[];
1831
+ id: string | null;
1832
+ layout: "one" | "halves" | "wideLeft" | "wideRight" | "thirds" | "mainSidebar" | "sidebarMain";
1833
+ width: "contained" | "full";
1834
+ background: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6" | null;
1835
+ spacing: "s" | "m" | "l";
1836
+ }[];
1837
+ style: {
1838
+ palette: {
1839
+ text: string;
1840
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
1841
+ cssVar: string | null;
1842
+ color: string;
1843
+ }[];
1844
+ breakpoint: number | null;
1845
+ stickyTop: number | null;
1846
+ };
1847
+ }, {
1848
+ sections: {
1849
+ columns: {
1850
+ align: "top" | "middle";
1851
+ sticky: boolean;
1852
+ blocks: ({
1853
+ type: "snippet";
1854
+ kind: string;
1855
+ phone: "inline" | "bar" | null;
1856
+ teacher?: {
1857
+ id: string;
1858
+ title: string | null;
1859
+ name: string;
1860
+ bio: string | null;
1861
+ photo: {
1862
+ alt: string;
1863
+ width: number;
1864
+ url: string;
1865
+ height: number;
1866
+ } | null;
1867
+ } | null | undefined;
1868
+ gallery?: {
1869
+ slug: string;
1870
+ title: string;
1871
+ summary: string | null;
1872
+ cover: {
1873
+ alt: string;
1874
+ caption: string | null;
1875
+ width: number;
1876
+ url: string;
1877
+ height: number;
1878
+ } | null;
1879
+ pictureCount: number;
1880
+ publishedAt: string | null;
1881
+ pictures: {
1882
+ alt: string;
1883
+ caption: string | null;
1884
+ width: number;
1885
+ url: string;
1886
+ height: number;
1887
+ }[];
1888
+ } | null | undefined;
1889
+ } | {
1890
+ type: "html";
1891
+ html: string;
1892
+ } | {
1893
+ type: "button";
1894
+ href: string;
1895
+ label: string;
1896
+ variant: "primary" | "secondary";
1897
+ } | z.objectInputType<{
1898
+ type: z.ZodString;
1899
+ }, z.ZodTypeAny, "passthrough"> | {
1900
+ type: "row";
1901
+ columns: {
1902
+ align: "top" | "middle";
1903
+ blocks: ({
1904
+ type: "snippet";
1905
+ kind: string;
1906
+ phone: "inline" | "bar" | null;
1907
+ teacher?: {
1908
+ id: string;
1909
+ title: string | null;
1910
+ name: string;
1911
+ bio: string | null;
1912
+ photo: {
1913
+ alt: string;
1914
+ width: number;
1915
+ url: string;
1916
+ height: number;
1917
+ } | null;
1918
+ } | null | undefined;
1919
+ gallery?: {
1920
+ slug: string;
1921
+ title: string;
1922
+ summary: string | null;
1923
+ cover: {
1924
+ alt: string;
1925
+ caption: string | null;
1926
+ width: number;
1927
+ url: string;
1928
+ height: number;
1929
+ } | null;
1930
+ pictureCount: number;
1931
+ publishedAt: string | null;
1932
+ pictures: {
1933
+ alt: string;
1934
+ caption: string | null;
1935
+ width: number;
1936
+ url: string;
1937
+ height: number;
1938
+ }[];
1939
+ } | null | undefined;
1940
+ } | {
1941
+ type: "html";
1942
+ html: string;
1943
+ } | {
1944
+ type: "button";
1945
+ href: string;
1946
+ label: string;
1947
+ variant: "primary" | "secondary";
1948
+ } | z.objectInputType<{
1949
+ type: z.ZodString;
1950
+ }, z.ZodTypeAny, "passthrough">)[];
1951
+ }[];
1952
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
1953
+ })[];
1954
+ }[];
1955
+ id: string | null;
1956
+ layout: "one" | "halves" | "wideLeft" | "wideRight" | "thirds" | "mainSidebar" | "sidebarMain";
1957
+ width: "contained" | "full";
1958
+ background: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6" | null;
1959
+ spacing: "s" | "m" | "l";
1960
+ }[];
1961
+ style: {
1962
+ palette: {
1963
+ text: string;
1964
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
1965
+ cssVar: string | null;
1966
+ color: string;
1967
+ }[];
1968
+ breakpoint: number | null;
1969
+ stickyTop: number | null;
324
1970
  };
325
- seatsLeft: number | null;
326
1971
  }>;
327
1972
  declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
328
1973
  slug: z.ZodString;
@@ -349,6 +1994,25 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
349
1994
  "EXTERNAL",
350
1995
  "OURS"
351
1996
  ]>;
1997
+ /**
1998
+ * EACH_DATE: a place is booked a date at a time. ALL_DATES: people sign up once for every date
1999
+ * (`signUp` in the SDK), and each date's `capacity` and `seatsLeft` are the event's.
2000
+ */
2001
+ signUp: z.ZodDefault<z.ZodEnum<[
2002
+ "EACH_DATE",
2003
+ "ALL_DATES"
2004
+ ]>>;
2005
+ /**
2006
+ * DONATION: booking a date takes a donation by card of at least `priceCents` a place —
2007
+ * `register` with `card` and `amountCents`, the card box started with what `giving()`
2008
+ * answers as `card`. FREE: nothing is taken, whatever `priceCents` shows.
2009
+ */
2010
+ pricing: z.ZodDefault<z.ZodEnum<[
2011
+ "FREE",
2012
+ "DONATION"
2013
+ ]>>;
2014
+ /** Where a DONATION's amount starts; null starts at `priceCents`. */
2015
+ suggestedCents: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
352
2016
  /** Where registering happens when `registration` is EXTERNAL. Null otherwise. */
353
2017
  registrationUrl: z.ZodNullable<z.ZodString>;
354
2018
  series: z.ZodNullable<z.ZodObject<{
@@ -373,13 +2037,13 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
373
2037
  height: z.ZodNumber;
374
2038
  }, "caption">, "strip", z.ZodTypeAny, {
375
2039
  alt: string;
376
- url: string;
377
2040
  width: number;
2041
+ url: string;
378
2042
  height: number;
379
2043
  }, {
380
2044
  alt: string;
381
- url: string;
382
2045
  width: number;
2046
+ url: string;
383
2047
  height: number;
384
2048
  }>>;
385
2049
  }, {
@@ -440,12 +2104,6 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
440
2104
  */
441
2105
  seatsLeft: z.ZodNullable<z.ZodNumber>;
442
2106
  }, "strip", z.ZodTypeAny, {
443
- status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
444
- startsAt: string;
445
- endsAt: string;
446
- statusNote: string | null;
447
- capacity: number | null;
448
- id: string;
449
2107
  place: {
450
2108
  streetAddress: string | null;
451
2109
  locality: string | null;
@@ -455,14 +2113,14 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
455
2113
  onlineUrl: string | null;
456
2114
  name: string | null;
457
2115
  };
458
- seatsLeft: number | null;
459
- }, {
460
2116
  status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
2117
+ id: string;
461
2118
  startsAt: string;
462
2119
  endsAt: string;
463
2120
  statusNote: string | null;
464
2121
  capacity: number | null;
465
- id: string;
2122
+ seatsLeft: number | null;
2123
+ }, {
466
2124
  place: {
467
2125
  streetAddress: string | null;
468
2126
  locality: string | null;
@@ -472,6 +2130,12 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
472
2130
  onlineUrl: string | null;
473
2131
  name: string | null;
474
2132
  };
2133
+ status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
2134
+ id: string;
2135
+ startsAt: string;
2136
+ endsAt: string;
2137
+ statusNote: string | null;
2138
+ capacity: number | null;
475
2139
  seatsLeft: number | null;
476
2140
  }>, "many">;
477
2141
  /** Minutes from the session's start — the running order, not clock times. */
@@ -480,13 +2144,13 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
480
2144
  endsMinute: z.ZodNumber;
481
2145
  label: z.ZodString;
482
2146
  }, "strip", z.ZodTypeAny, {
2147
+ label: string;
483
2148
  startsMinute: number;
484
2149
  endsMinute: number;
485
- label: string;
486
2150
  }, {
2151
+ label: string;
487
2152
  startsMinute: number;
488
2153
  endsMinute: number;
489
- label: string;
490
2154
  }>, "many">;
491
2155
  /** Galleries linked to this event in the CRM, published ones only, newest first. */
492
2156
  galleries: z.ZodArray<z.ZodObject<Omit<z.objectUtil.extendShape<{
@@ -502,14 +2166,14 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
502
2166
  }, "strip", z.ZodTypeAny, {
503
2167
  alt: string;
504
2168
  caption: string | null;
505
- url: string;
506
2169
  width: number;
2170
+ url: string;
507
2171
  height: number;
508
2172
  }, {
509
2173
  alt: string;
510
2174
  caption: string | null;
511
- url: string;
512
2175
  width: number;
2176
+ url: string;
513
2177
  height: number;
514
2178
  }>>;
515
2179
  pictureCount: z.ZodNumber;
@@ -524,14 +2188,14 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
524
2188
  }, "strip", z.ZodTypeAny, {
525
2189
  alt: string;
526
2190
  caption: string | null;
527
- url: string;
528
2191
  width: number;
2192
+ url: string;
529
2193
  height: number;
530
2194
  }, {
531
2195
  alt: string;
532
2196
  caption: string | null;
533
- url: string;
534
2197
  width: number;
2198
+ url: string;
535
2199
  height: number;
536
2200
  }>, "many">;
537
2201
  event: z.ZodNullable<z.ZodObject<{
@@ -551,8 +2215,8 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
551
2215
  cover: {
552
2216
  alt: string;
553
2217
  caption: string | null;
554
- url: string;
555
2218
  width: number;
2219
+ url: string;
556
2220
  height: number;
557
2221
  } | null;
558
2222
  pictureCount: number;
@@ -560,8 +2224,8 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
560
2224
  pictures: {
561
2225
  alt: string;
562
2226
  caption: string | null;
563
- url: string;
564
2227
  width: number;
2228
+ url: string;
565
2229
  height: number;
566
2230
  }[];
567
2231
  }, {
@@ -571,8 +2235,8 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
571
2235
  cover: {
572
2236
  alt: string;
573
2237
  caption: string | null;
574
- url: string;
575
2238
  width: number;
2239
+ url: string;
576
2240
  height: number;
577
2241
  } | null;
578
2242
  pictureCount: number;
@@ -580,12 +2244,1603 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
580
2244
  pictures: {
581
2245
  alt: string;
582
2246
  caption: string | null;
583
- url: string;
584
2247
  width: number;
2248
+ url: string;
585
2249
  height: number;
586
2250
  }[];
587
2251
  }>, "many">;
2252
+ /** The page, laid out — or null for a plain description, which is `bodyHtml`. Draw this in place of the description and any sidebar of your own. */
2253
+ page: z.ZodNullable<z.ZodObject<{
2254
+ sections: z.ZodArray<z.ZodObject<{
2255
+ id: z.ZodNullable<z.ZodString>;
2256
+ /** How the columns share the width. Phones stack them, in order. */
2257
+ layout: z.ZodEnum<[
2258
+ "one",
2259
+ "halves",
2260
+ "wideLeft",
2261
+ "wideRight",
2262
+ "thirds",
2263
+ "mainSidebar",
2264
+ "sidebarMain"
2265
+ ]>;
2266
+ width: z.ZodEnum<[
2267
+ "contained",
2268
+ "full"
2269
+ ]>;
2270
+ /** One of `style.palette`'s keys, or none. */
2271
+ background: z.ZodNullable<z.ZodEnum<[
2272
+ "bg-1",
2273
+ "bg-2",
2274
+ "bg-3",
2275
+ "bg-4",
2276
+ "bg-5",
2277
+ "bg-6"
2278
+ ]>>;
2279
+ spacing: z.ZodEnum<[
2280
+ "s",
2281
+ "m",
2282
+ "l"
2283
+ ]>;
2284
+ columns: z.ZodArray<z.ZodObject<{
2285
+ /** Stays in view while the rest of the section scrolls past, on a wide screen. */
2286
+ sticky: z.ZodBoolean;
2287
+ align: z.ZodEnum<[
2288
+ "top",
2289
+ "middle"
2290
+ ]>;
2291
+ blocks: z.ZodArray<z.ZodUnion<[
2292
+ z.ZodObject<{
2293
+ type: z.ZodLiteral<"html">;
2294
+ html: z.ZodString;
2295
+ }, "strip", z.ZodTypeAny, {
2296
+ type: "html";
2297
+ html: string;
2298
+ }, {
2299
+ type: "html";
2300
+ html: string;
2301
+ }>,
2302
+ z.ZodObject<{
2303
+ type: z.ZodLiteral<"button">;
2304
+ label: z.ZodString;
2305
+ href: z.ZodString;
2306
+ variant: z.ZodEnum<[
2307
+ "primary",
2308
+ "secondary"
2309
+ ]>;
2310
+ }, "strip", z.ZodTypeAny, {
2311
+ type: "button";
2312
+ href: string;
2313
+ label: string;
2314
+ variant: "primary" | "secondary";
2315
+ }, {
2316
+ type: "button";
2317
+ href: string;
2318
+ label: string;
2319
+ variant: "primary" | "secondary";
2320
+ }>,
2321
+ z.ZodObject<{
2322
+ type: z.ZodLiteral<"snippet">;
2323
+ /** teacher, dates, schedule, booking, gallery or place. Skip a kind you do not know. */
2324
+ kind: z.ZodString;
2325
+ /** The booking card on a phone: where it is, or pinned to the bottom of the screen. */
2326
+ phone: z.ZodNullable<z.ZodEnum<[
2327
+ "inline",
2328
+ "bar"
2329
+ ]>>;
2330
+ teacher: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2331
+ id: z.ZodString;
2332
+ name: z.ZodString;
2333
+ /** How they are addressed — "Venerable" — written before the name, or null. */
2334
+ title: z.ZodNullable<z.ZodString>;
2335
+ bio: z.ZodNullable<z.ZodString>;
2336
+ photo: z.ZodNullable<z.ZodObject<Omit<{
2337
+ url: z.ZodString;
2338
+ alt: z.ZodString;
2339
+ caption: z.ZodNullable<z.ZodString>;
2340
+ width: z.ZodNumber;
2341
+ height: z.ZodNumber;
2342
+ }, "caption">, "strip", z.ZodTypeAny, {
2343
+ alt: string;
2344
+ width: number;
2345
+ url: string;
2346
+ height: number;
2347
+ }, {
2348
+ alt: string;
2349
+ width: number;
2350
+ url: string;
2351
+ height: number;
2352
+ }>>;
2353
+ }, "strip", z.ZodTypeAny, {
2354
+ id: string;
2355
+ title: string | null;
2356
+ name: string;
2357
+ bio: string | null;
2358
+ photo: {
2359
+ alt: string;
2360
+ width: number;
2361
+ url: string;
2362
+ height: number;
2363
+ } | null;
2364
+ }, {
2365
+ id: string;
2366
+ title: string | null;
2367
+ name: string;
2368
+ bio: string | null;
2369
+ photo: {
2370
+ alt: string;
2371
+ width: number;
2372
+ url: string;
2373
+ height: number;
2374
+ } | null;
2375
+ }>>>;
2376
+ gallery: z.ZodOptional<z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
2377
+ slug: z.ZodString;
2378
+ title: z.ZodString;
2379
+ summary: z.ZodNullable<z.ZodString>;
2380
+ cover: z.ZodNullable<z.ZodObject<{
2381
+ url: z.ZodString;
2382
+ alt: z.ZodString;
2383
+ caption: z.ZodNullable<z.ZodString>;
2384
+ width: z.ZodNumber;
2385
+ height: z.ZodNumber;
2386
+ }, "strip", z.ZodTypeAny, {
2387
+ alt: string;
2388
+ caption: string | null;
2389
+ width: number;
2390
+ url: string;
2391
+ height: number;
2392
+ }, {
2393
+ alt: string;
2394
+ caption: string | null;
2395
+ width: number;
2396
+ url: string;
2397
+ height: number;
2398
+ }>>;
2399
+ pictureCount: z.ZodNumber;
2400
+ publishedAt: z.ZodNullable<z.ZodString>;
2401
+ }, {
2402
+ pictures: z.ZodArray<z.ZodObject<{
2403
+ url: z.ZodString;
2404
+ alt: z.ZodString;
2405
+ caption: z.ZodNullable<z.ZodString>;
2406
+ width: z.ZodNumber;
2407
+ height: z.ZodNumber;
2408
+ }, "strip", z.ZodTypeAny, {
2409
+ alt: string;
2410
+ caption: string | null;
2411
+ width: number;
2412
+ url: string;
2413
+ height: number;
2414
+ }, {
2415
+ alt: string;
2416
+ caption: string | null;
2417
+ width: number;
2418
+ url: string;
2419
+ height: number;
2420
+ }>, "many">;
2421
+ event: z.ZodNullable<z.ZodObject<{
2422
+ slug: z.ZodString;
2423
+ title: z.ZodString;
2424
+ }, "strip", z.ZodTypeAny, {
2425
+ slug: string;
2426
+ title: string;
2427
+ }, {
2428
+ slug: string;
2429
+ title: string;
2430
+ }>>;
2431
+ }>, "event">, "strip", z.ZodTypeAny, {
2432
+ slug: string;
2433
+ title: string;
2434
+ summary: string | null;
2435
+ cover: {
2436
+ alt: string;
2437
+ caption: string | null;
2438
+ width: number;
2439
+ url: string;
2440
+ height: number;
2441
+ } | null;
2442
+ pictureCount: number;
2443
+ publishedAt: string | null;
2444
+ pictures: {
2445
+ alt: string;
2446
+ caption: string | null;
2447
+ width: number;
2448
+ url: string;
2449
+ height: number;
2450
+ }[];
2451
+ }, {
2452
+ slug: string;
2453
+ title: string;
2454
+ summary: string | null;
2455
+ cover: {
2456
+ alt: string;
2457
+ caption: string | null;
2458
+ width: number;
2459
+ url: string;
2460
+ height: number;
2461
+ } | null;
2462
+ pictureCount: number;
2463
+ publishedAt: string | null;
2464
+ pictures: {
2465
+ alt: string;
2466
+ caption: string | null;
2467
+ width: number;
2468
+ url: string;
2469
+ height: number;
2470
+ }[];
2471
+ }>>>;
2472
+ }, "strip", z.ZodTypeAny, {
2473
+ type: "snippet";
2474
+ kind: string;
2475
+ phone: "inline" | "bar" | null;
2476
+ teacher?: {
2477
+ id: string;
2478
+ title: string | null;
2479
+ name: string;
2480
+ bio: string | null;
2481
+ photo: {
2482
+ alt: string;
2483
+ width: number;
2484
+ url: string;
2485
+ height: number;
2486
+ } | null;
2487
+ } | null | undefined;
2488
+ gallery?: {
2489
+ slug: string;
2490
+ title: string;
2491
+ summary: string | null;
2492
+ cover: {
2493
+ alt: string;
2494
+ caption: string | null;
2495
+ width: number;
2496
+ url: string;
2497
+ height: number;
2498
+ } | null;
2499
+ pictureCount: number;
2500
+ publishedAt: string | null;
2501
+ pictures: {
2502
+ alt: string;
2503
+ caption: string | null;
2504
+ width: number;
2505
+ url: string;
2506
+ height: number;
2507
+ }[];
2508
+ } | null | undefined;
2509
+ }, {
2510
+ type: "snippet";
2511
+ kind: string;
2512
+ phone: "inline" | "bar" | null;
2513
+ teacher?: {
2514
+ id: string;
2515
+ title: string | null;
2516
+ name: string;
2517
+ bio: string | null;
2518
+ photo: {
2519
+ alt: string;
2520
+ width: number;
2521
+ url: string;
2522
+ height: number;
2523
+ } | null;
2524
+ } | null | undefined;
2525
+ gallery?: {
2526
+ slug: string;
2527
+ title: string;
2528
+ summary: string | null;
2529
+ cover: {
2530
+ alt: string;
2531
+ caption: string | null;
2532
+ width: number;
2533
+ url: string;
2534
+ height: number;
2535
+ } | null;
2536
+ pictureCount: number;
2537
+ publishedAt: string | null;
2538
+ pictures: {
2539
+ alt: string;
2540
+ caption: string | null;
2541
+ width: number;
2542
+ url: string;
2543
+ height: number;
2544
+ }[];
2545
+ } | null | undefined;
2546
+ }>,
2547
+ z.ZodObject<{
2548
+ type: z.ZodLiteral<"row">;
2549
+ layout: z.ZodEnum<[
2550
+ "halves",
2551
+ "thirds",
2552
+ "wideLeft",
2553
+ "wideRight"
2554
+ ]>;
2555
+ columns: z.ZodArray<z.ZodObject<{
2556
+ align: z.ZodEnum<[
2557
+ "top",
2558
+ "middle"
2559
+ ]>;
2560
+ blocks: z.ZodArray<z.ZodUnion<[
2561
+ z.ZodObject<{
2562
+ type: z.ZodLiteral<"html">;
2563
+ html: z.ZodString;
2564
+ }, "strip", z.ZodTypeAny, {
2565
+ type: "html";
2566
+ html: string;
2567
+ }, {
2568
+ type: "html";
2569
+ html: string;
2570
+ }>,
2571
+ z.ZodObject<{
2572
+ type: z.ZodLiteral<"button">;
2573
+ label: z.ZodString;
2574
+ href: z.ZodString;
2575
+ variant: z.ZodEnum<[
2576
+ "primary",
2577
+ "secondary"
2578
+ ]>;
2579
+ }, "strip", z.ZodTypeAny, {
2580
+ type: "button";
2581
+ href: string;
2582
+ label: string;
2583
+ variant: "primary" | "secondary";
2584
+ }, {
2585
+ type: "button";
2586
+ href: string;
2587
+ label: string;
2588
+ variant: "primary" | "secondary";
2589
+ }>,
2590
+ z.ZodObject<{
2591
+ type: z.ZodLiteral<"snippet">;
2592
+ /** teacher, dates, schedule, booking, gallery or place. Skip a kind you do not know. */
2593
+ kind: z.ZodString;
2594
+ /** The booking card on a phone: where it is, or pinned to the bottom of the screen. */
2595
+ phone: z.ZodNullable<z.ZodEnum<[
2596
+ "inline",
2597
+ "bar"
2598
+ ]>>;
2599
+ teacher: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2600
+ id: z.ZodString;
2601
+ name: z.ZodString;
2602
+ /** How they are addressed — "Venerable" — written before the name, or null. */
2603
+ title: z.ZodNullable<z.ZodString>;
2604
+ bio: z.ZodNullable<z.ZodString>;
2605
+ photo: z.ZodNullable<z.ZodObject<Omit<{
2606
+ url: z.ZodString;
2607
+ alt: z.ZodString;
2608
+ caption: z.ZodNullable<z.ZodString>;
2609
+ width: z.ZodNumber;
2610
+ height: z.ZodNumber;
2611
+ }, "caption">, "strip", z.ZodTypeAny, {
2612
+ alt: string;
2613
+ width: number;
2614
+ url: string;
2615
+ height: number;
2616
+ }, {
2617
+ alt: string;
2618
+ width: number;
2619
+ url: string;
2620
+ height: number;
2621
+ }>>;
2622
+ }, "strip", z.ZodTypeAny, {
2623
+ id: string;
2624
+ title: string | null;
2625
+ name: string;
2626
+ bio: string | null;
2627
+ photo: {
2628
+ alt: string;
2629
+ width: number;
2630
+ url: string;
2631
+ height: number;
2632
+ } | null;
2633
+ }, {
2634
+ id: string;
2635
+ title: string | null;
2636
+ name: string;
2637
+ bio: string | null;
2638
+ photo: {
2639
+ alt: string;
2640
+ width: number;
2641
+ url: string;
2642
+ height: number;
2643
+ } | null;
2644
+ }>>>;
2645
+ gallery: z.ZodOptional<z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
2646
+ slug: z.ZodString;
2647
+ title: z.ZodString;
2648
+ summary: z.ZodNullable<z.ZodString>;
2649
+ cover: z.ZodNullable<z.ZodObject<{
2650
+ url: z.ZodString;
2651
+ alt: z.ZodString;
2652
+ caption: z.ZodNullable<z.ZodString>;
2653
+ width: z.ZodNumber;
2654
+ height: z.ZodNumber;
2655
+ }, "strip", z.ZodTypeAny, {
2656
+ alt: string;
2657
+ caption: string | null;
2658
+ width: number;
2659
+ url: string;
2660
+ height: number;
2661
+ }, {
2662
+ alt: string;
2663
+ caption: string | null;
2664
+ width: number;
2665
+ url: string;
2666
+ height: number;
2667
+ }>>;
2668
+ pictureCount: z.ZodNumber;
2669
+ publishedAt: z.ZodNullable<z.ZodString>;
2670
+ }, {
2671
+ pictures: z.ZodArray<z.ZodObject<{
2672
+ url: z.ZodString;
2673
+ alt: z.ZodString;
2674
+ caption: z.ZodNullable<z.ZodString>;
2675
+ width: z.ZodNumber;
2676
+ height: z.ZodNumber;
2677
+ }, "strip", z.ZodTypeAny, {
2678
+ alt: string;
2679
+ caption: string | null;
2680
+ width: number;
2681
+ url: string;
2682
+ height: number;
2683
+ }, {
2684
+ alt: string;
2685
+ caption: string | null;
2686
+ width: number;
2687
+ url: string;
2688
+ height: number;
2689
+ }>, "many">;
2690
+ event: z.ZodNullable<z.ZodObject<{
2691
+ slug: z.ZodString;
2692
+ title: z.ZodString;
2693
+ }, "strip", z.ZodTypeAny, {
2694
+ slug: string;
2695
+ title: string;
2696
+ }, {
2697
+ slug: string;
2698
+ title: string;
2699
+ }>>;
2700
+ }>, "event">, "strip", z.ZodTypeAny, {
2701
+ slug: string;
2702
+ title: string;
2703
+ summary: string | null;
2704
+ cover: {
2705
+ alt: string;
2706
+ caption: string | null;
2707
+ width: number;
2708
+ url: string;
2709
+ height: number;
2710
+ } | null;
2711
+ pictureCount: number;
2712
+ publishedAt: string | null;
2713
+ pictures: {
2714
+ alt: string;
2715
+ caption: string | null;
2716
+ width: number;
2717
+ url: string;
2718
+ height: number;
2719
+ }[];
2720
+ }, {
2721
+ slug: string;
2722
+ title: string;
2723
+ summary: string | null;
2724
+ cover: {
2725
+ alt: string;
2726
+ caption: string | null;
2727
+ width: number;
2728
+ url: string;
2729
+ height: number;
2730
+ } | null;
2731
+ pictureCount: number;
2732
+ publishedAt: string | null;
2733
+ pictures: {
2734
+ alt: string;
2735
+ caption: string | null;
2736
+ width: number;
2737
+ url: string;
2738
+ height: number;
2739
+ }[];
2740
+ }>>>;
2741
+ }, "strip", z.ZodTypeAny, {
2742
+ type: "snippet";
2743
+ kind: string;
2744
+ phone: "inline" | "bar" | null;
2745
+ teacher?: {
2746
+ id: string;
2747
+ title: string | null;
2748
+ name: string;
2749
+ bio: string | null;
2750
+ photo: {
2751
+ alt: string;
2752
+ width: number;
2753
+ url: string;
2754
+ height: number;
2755
+ } | null;
2756
+ } | null | undefined;
2757
+ gallery?: {
2758
+ slug: string;
2759
+ title: string;
2760
+ summary: string | null;
2761
+ cover: {
2762
+ alt: string;
2763
+ caption: string | null;
2764
+ width: number;
2765
+ url: string;
2766
+ height: number;
2767
+ } | null;
2768
+ pictureCount: number;
2769
+ publishedAt: string | null;
2770
+ pictures: {
2771
+ alt: string;
2772
+ caption: string | null;
2773
+ width: number;
2774
+ url: string;
2775
+ height: number;
2776
+ }[];
2777
+ } | null | undefined;
2778
+ }, {
2779
+ type: "snippet";
2780
+ kind: string;
2781
+ phone: "inline" | "bar" | null;
2782
+ teacher?: {
2783
+ id: string;
2784
+ title: string | null;
2785
+ name: string;
2786
+ bio: string | null;
2787
+ photo: {
2788
+ alt: string;
2789
+ width: number;
2790
+ url: string;
2791
+ height: number;
2792
+ } | null;
2793
+ } | null | undefined;
2794
+ gallery?: {
2795
+ slug: string;
2796
+ title: string;
2797
+ summary: string | null;
2798
+ cover: {
2799
+ alt: string;
2800
+ caption: string | null;
2801
+ width: number;
2802
+ url: string;
2803
+ height: number;
2804
+ } | null;
2805
+ pictureCount: number;
2806
+ publishedAt: string | null;
2807
+ pictures: {
2808
+ alt: string;
2809
+ caption: string | null;
2810
+ width: number;
2811
+ url: string;
2812
+ height: number;
2813
+ }[];
2814
+ } | null | undefined;
2815
+ }>,
2816
+ z.ZodObject<{
2817
+ type: z.ZodString;
2818
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2819
+ type: z.ZodString;
2820
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2821
+ type: z.ZodString;
2822
+ }, z.ZodTypeAny, "passthrough">>
2823
+ ]>, "many">;
2824
+ }, "strip", z.ZodTypeAny, {
2825
+ align: "top" | "middle";
2826
+ blocks: ({
2827
+ type: "snippet";
2828
+ kind: string;
2829
+ phone: "inline" | "bar" | null;
2830
+ teacher?: {
2831
+ id: string;
2832
+ title: string | null;
2833
+ name: string;
2834
+ bio: string | null;
2835
+ photo: {
2836
+ alt: string;
2837
+ width: number;
2838
+ url: string;
2839
+ height: number;
2840
+ } | null;
2841
+ } | null | undefined;
2842
+ gallery?: {
2843
+ slug: string;
2844
+ title: string;
2845
+ summary: string | null;
2846
+ cover: {
2847
+ alt: string;
2848
+ caption: string | null;
2849
+ width: number;
2850
+ url: string;
2851
+ height: number;
2852
+ } | null;
2853
+ pictureCount: number;
2854
+ publishedAt: string | null;
2855
+ pictures: {
2856
+ alt: string;
2857
+ caption: string | null;
2858
+ width: number;
2859
+ url: string;
2860
+ height: number;
2861
+ }[];
2862
+ } | null | undefined;
2863
+ } | {
2864
+ type: "html";
2865
+ html: string;
2866
+ } | {
2867
+ type: "button";
2868
+ href: string;
2869
+ label: string;
2870
+ variant: "primary" | "secondary";
2871
+ } | z.objectOutputType<{
2872
+ type: z.ZodString;
2873
+ }, z.ZodTypeAny, "passthrough">)[];
2874
+ }, {
2875
+ align: "top" | "middle";
2876
+ blocks: ({
2877
+ type: "snippet";
2878
+ kind: string;
2879
+ phone: "inline" | "bar" | null;
2880
+ teacher?: {
2881
+ id: string;
2882
+ title: string | null;
2883
+ name: string;
2884
+ bio: string | null;
2885
+ photo: {
2886
+ alt: string;
2887
+ width: number;
2888
+ url: string;
2889
+ height: number;
2890
+ } | null;
2891
+ } | null | undefined;
2892
+ gallery?: {
2893
+ slug: string;
2894
+ title: string;
2895
+ summary: string | null;
2896
+ cover: {
2897
+ alt: string;
2898
+ caption: string | null;
2899
+ width: number;
2900
+ url: string;
2901
+ height: number;
2902
+ } | null;
2903
+ pictureCount: number;
2904
+ publishedAt: string | null;
2905
+ pictures: {
2906
+ alt: string;
2907
+ caption: string | null;
2908
+ width: number;
2909
+ url: string;
2910
+ height: number;
2911
+ }[];
2912
+ } | null | undefined;
2913
+ } | {
2914
+ type: "html";
2915
+ html: string;
2916
+ } | {
2917
+ type: "button";
2918
+ href: string;
2919
+ label: string;
2920
+ variant: "primary" | "secondary";
2921
+ } | z.objectInputType<{
2922
+ type: z.ZodString;
2923
+ }, z.ZodTypeAny, "passthrough">)[];
2924
+ }>, "many">;
2925
+ }, "strip", z.ZodTypeAny, {
2926
+ type: "row";
2927
+ columns: {
2928
+ align: "top" | "middle";
2929
+ blocks: ({
2930
+ type: "snippet";
2931
+ kind: string;
2932
+ phone: "inline" | "bar" | null;
2933
+ teacher?: {
2934
+ id: string;
2935
+ title: string | null;
2936
+ name: string;
2937
+ bio: string | null;
2938
+ photo: {
2939
+ alt: string;
2940
+ width: number;
2941
+ url: string;
2942
+ height: number;
2943
+ } | null;
2944
+ } | null | undefined;
2945
+ gallery?: {
2946
+ slug: string;
2947
+ title: string;
2948
+ summary: string | null;
2949
+ cover: {
2950
+ alt: string;
2951
+ caption: string | null;
2952
+ width: number;
2953
+ url: string;
2954
+ height: number;
2955
+ } | null;
2956
+ pictureCount: number;
2957
+ publishedAt: string | null;
2958
+ pictures: {
2959
+ alt: string;
2960
+ caption: string | null;
2961
+ width: number;
2962
+ url: string;
2963
+ height: number;
2964
+ }[];
2965
+ } | null | undefined;
2966
+ } | {
2967
+ type: "html";
2968
+ html: string;
2969
+ } | {
2970
+ type: "button";
2971
+ href: string;
2972
+ label: string;
2973
+ variant: "primary" | "secondary";
2974
+ } | z.objectOutputType<{
2975
+ type: z.ZodString;
2976
+ }, z.ZodTypeAny, "passthrough">)[];
2977
+ }[];
2978
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
2979
+ }, {
2980
+ type: "row";
2981
+ columns: {
2982
+ align: "top" | "middle";
2983
+ blocks: ({
2984
+ type: "snippet";
2985
+ kind: string;
2986
+ phone: "inline" | "bar" | null;
2987
+ teacher?: {
2988
+ id: string;
2989
+ title: string | null;
2990
+ name: string;
2991
+ bio: string | null;
2992
+ photo: {
2993
+ alt: string;
2994
+ width: number;
2995
+ url: string;
2996
+ height: number;
2997
+ } | null;
2998
+ } | null | undefined;
2999
+ gallery?: {
3000
+ slug: string;
3001
+ title: string;
3002
+ summary: string | null;
3003
+ cover: {
3004
+ alt: string;
3005
+ caption: string | null;
3006
+ width: number;
3007
+ url: string;
3008
+ height: number;
3009
+ } | null;
3010
+ pictureCount: number;
3011
+ publishedAt: string | null;
3012
+ pictures: {
3013
+ alt: string;
3014
+ caption: string | null;
3015
+ width: number;
3016
+ url: string;
3017
+ height: number;
3018
+ }[];
3019
+ } | null | undefined;
3020
+ } | {
3021
+ type: "html";
3022
+ html: string;
3023
+ } | {
3024
+ type: "button";
3025
+ href: string;
3026
+ label: string;
3027
+ variant: "primary" | "secondary";
3028
+ } | z.objectInputType<{
3029
+ type: z.ZodString;
3030
+ }, z.ZodTypeAny, "passthrough">)[];
3031
+ }[];
3032
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
3033
+ }>,
3034
+ z.ZodObject<{
3035
+ type: z.ZodString;
3036
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3037
+ type: z.ZodString;
3038
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3039
+ type: z.ZodString;
3040
+ }, z.ZodTypeAny, "passthrough">>
3041
+ ]>, "many">;
3042
+ }, "strip", z.ZodTypeAny, {
3043
+ align: "top" | "middle";
3044
+ sticky: boolean;
3045
+ blocks: ({
3046
+ type: "snippet";
3047
+ kind: string;
3048
+ phone: "inline" | "bar" | null;
3049
+ teacher?: {
3050
+ id: string;
3051
+ title: string | null;
3052
+ name: string;
3053
+ bio: string | null;
3054
+ photo: {
3055
+ alt: string;
3056
+ width: number;
3057
+ url: string;
3058
+ height: number;
3059
+ } | null;
3060
+ } | null | undefined;
3061
+ gallery?: {
3062
+ slug: string;
3063
+ title: string;
3064
+ summary: string | null;
3065
+ cover: {
3066
+ alt: string;
3067
+ caption: string | null;
3068
+ width: number;
3069
+ url: string;
3070
+ height: number;
3071
+ } | null;
3072
+ pictureCount: number;
3073
+ publishedAt: string | null;
3074
+ pictures: {
3075
+ alt: string;
3076
+ caption: string | null;
3077
+ width: number;
3078
+ url: string;
3079
+ height: number;
3080
+ }[];
3081
+ } | null | undefined;
3082
+ } | {
3083
+ type: "html";
3084
+ html: string;
3085
+ } | {
3086
+ type: "button";
3087
+ href: string;
3088
+ label: string;
3089
+ variant: "primary" | "secondary";
3090
+ } | z.objectOutputType<{
3091
+ type: z.ZodString;
3092
+ }, z.ZodTypeAny, "passthrough"> | {
3093
+ type: "row";
3094
+ columns: {
3095
+ align: "top" | "middle";
3096
+ blocks: ({
3097
+ type: "snippet";
3098
+ kind: string;
3099
+ phone: "inline" | "bar" | null;
3100
+ teacher?: {
3101
+ id: string;
3102
+ title: string | null;
3103
+ name: string;
3104
+ bio: string | null;
3105
+ photo: {
3106
+ alt: string;
3107
+ width: number;
3108
+ url: string;
3109
+ height: number;
3110
+ } | null;
3111
+ } | null | undefined;
3112
+ gallery?: {
3113
+ slug: string;
3114
+ title: string;
3115
+ summary: string | null;
3116
+ cover: {
3117
+ alt: string;
3118
+ caption: string | null;
3119
+ width: number;
3120
+ url: string;
3121
+ height: number;
3122
+ } | null;
3123
+ pictureCount: number;
3124
+ publishedAt: string | null;
3125
+ pictures: {
3126
+ alt: string;
3127
+ caption: string | null;
3128
+ width: number;
3129
+ url: string;
3130
+ height: number;
3131
+ }[];
3132
+ } | null | undefined;
3133
+ } | {
3134
+ type: "html";
3135
+ html: string;
3136
+ } | {
3137
+ type: "button";
3138
+ href: string;
3139
+ label: string;
3140
+ variant: "primary" | "secondary";
3141
+ } | z.objectOutputType<{
3142
+ type: z.ZodString;
3143
+ }, z.ZodTypeAny, "passthrough">)[];
3144
+ }[];
3145
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
3146
+ })[];
3147
+ }, {
3148
+ align: "top" | "middle";
3149
+ sticky: boolean;
3150
+ blocks: ({
3151
+ type: "snippet";
3152
+ kind: string;
3153
+ phone: "inline" | "bar" | null;
3154
+ teacher?: {
3155
+ id: string;
3156
+ title: string | null;
3157
+ name: string;
3158
+ bio: string | null;
3159
+ photo: {
3160
+ alt: string;
3161
+ width: number;
3162
+ url: string;
3163
+ height: number;
3164
+ } | null;
3165
+ } | null | undefined;
3166
+ gallery?: {
3167
+ slug: string;
3168
+ title: string;
3169
+ summary: string | null;
3170
+ cover: {
3171
+ alt: string;
3172
+ caption: string | null;
3173
+ width: number;
3174
+ url: string;
3175
+ height: number;
3176
+ } | null;
3177
+ pictureCount: number;
3178
+ publishedAt: string | null;
3179
+ pictures: {
3180
+ alt: string;
3181
+ caption: string | null;
3182
+ width: number;
3183
+ url: string;
3184
+ height: number;
3185
+ }[];
3186
+ } | null | undefined;
3187
+ } | {
3188
+ type: "html";
3189
+ html: string;
3190
+ } | {
3191
+ type: "button";
3192
+ href: string;
3193
+ label: string;
3194
+ variant: "primary" | "secondary";
3195
+ } | z.objectInputType<{
3196
+ type: z.ZodString;
3197
+ }, z.ZodTypeAny, "passthrough"> | {
3198
+ type: "row";
3199
+ columns: {
3200
+ align: "top" | "middle";
3201
+ blocks: ({
3202
+ type: "snippet";
3203
+ kind: string;
3204
+ phone: "inline" | "bar" | null;
3205
+ teacher?: {
3206
+ id: string;
3207
+ title: string | null;
3208
+ name: string;
3209
+ bio: string | null;
3210
+ photo: {
3211
+ alt: string;
3212
+ width: number;
3213
+ url: string;
3214
+ height: number;
3215
+ } | null;
3216
+ } | null | undefined;
3217
+ gallery?: {
3218
+ slug: string;
3219
+ title: string;
3220
+ summary: string | null;
3221
+ cover: {
3222
+ alt: string;
3223
+ caption: string | null;
3224
+ width: number;
3225
+ url: string;
3226
+ height: number;
3227
+ } | null;
3228
+ pictureCount: number;
3229
+ publishedAt: string | null;
3230
+ pictures: {
3231
+ alt: string;
3232
+ caption: string | null;
3233
+ width: number;
3234
+ url: string;
3235
+ height: number;
3236
+ }[];
3237
+ } | null | undefined;
3238
+ } | {
3239
+ type: "html";
3240
+ html: string;
3241
+ } | {
3242
+ type: "button";
3243
+ href: string;
3244
+ label: string;
3245
+ variant: "primary" | "secondary";
3246
+ } | z.objectInputType<{
3247
+ type: z.ZodString;
3248
+ }, z.ZodTypeAny, "passthrough">)[];
3249
+ }[];
3250
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
3251
+ })[];
3252
+ }>, "many">;
3253
+ }, "strip", z.ZodTypeAny, {
3254
+ columns: {
3255
+ align: "top" | "middle";
3256
+ sticky: boolean;
3257
+ blocks: ({
3258
+ type: "snippet";
3259
+ kind: string;
3260
+ phone: "inline" | "bar" | null;
3261
+ teacher?: {
3262
+ id: string;
3263
+ title: string | null;
3264
+ name: string;
3265
+ bio: string | null;
3266
+ photo: {
3267
+ alt: string;
3268
+ width: number;
3269
+ url: string;
3270
+ height: number;
3271
+ } | null;
3272
+ } | null | undefined;
3273
+ gallery?: {
3274
+ slug: string;
3275
+ title: string;
3276
+ summary: string | null;
3277
+ cover: {
3278
+ alt: string;
3279
+ caption: string | null;
3280
+ width: number;
3281
+ url: string;
3282
+ height: number;
3283
+ } | null;
3284
+ pictureCount: number;
3285
+ publishedAt: string | null;
3286
+ pictures: {
3287
+ alt: string;
3288
+ caption: string | null;
3289
+ width: number;
3290
+ url: string;
3291
+ height: number;
3292
+ }[];
3293
+ } | null | undefined;
3294
+ } | {
3295
+ type: "html";
3296
+ html: string;
3297
+ } | {
3298
+ type: "button";
3299
+ href: string;
3300
+ label: string;
3301
+ variant: "primary" | "secondary";
3302
+ } | z.objectOutputType<{
3303
+ type: z.ZodString;
3304
+ }, z.ZodTypeAny, "passthrough"> | {
3305
+ type: "row";
3306
+ columns: {
3307
+ align: "top" | "middle";
3308
+ blocks: ({
3309
+ type: "snippet";
3310
+ kind: string;
3311
+ phone: "inline" | "bar" | null;
3312
+ teacher?: {
3313
+ id: string;
3314
+ title: string | null;
3315
+ name: string;
3316
+ bio: string | null;
3317
+ photo: {
3318
+ alt: string;
3319
+ width: number;
3320
+ url: string;
3321
+ height: number;
3322
+ } | null;
3323
+ } | null | undefined;
3324
+ gallery?: {
3325
+ slug: string;
3326
+ title: string;
3327
+ summary: string | null;
3328
+ cover: {
3329
+ alt: string;
3330
+ caption: string | null;
3331
+ width: number;
3332
+ url: string;
3333
+ height: number;
3334
+ } | null;
3335
+ pictureCount: number;
3336
+ publishedAt: string | null;
3337
+ pictures: {
3338
+ alt: string;
3339
+ caption: string | null;
3340
+ width: number;
3341
+ url: string;
3342
+ height: number;
3343
+ }[];
3344
+ } | null | undefined;
3345
+ } | {
3346
+ type: "html";
3347
+ html: string;
3348
+ } | {
3349
+ type: "button";
3350
+ href: string;
3351
+ label: string;
3352
+ variant: "primary" | "secondary";
3353
+ } | z.objectOutputType<{
3354
+ type: z.ZodString;
3355
+ }, z.ZodTypeAny, "passthrough">)[];
3356
+ }[];
3357
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
3358
+ })[];
3359
+ }[];
3360
+ id: string | null;
3361
+ layout: "one" | "halves" | "wideLeft" | "wideRight" | "thirds" | "mainSidebar" | "sidebarMain";
3362
+ width: "contained" | "full";
3363
+ background: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6" | null;
3364
+ spacing: "s" | "m" | "l";
3365
+ }, {
3366
+ columns: {
3367
+ align: "top" | "middle";
3368
+ sticky: boolean;
3369
+ blocks: ({
3370
+ type: "snippet";
3371
+ kind: string;
3372
+ phone: "inline" | "bar" | null;
3373
+ teacher?: {
3374
+ id: string;
3375
+ title: string | null;
3376
+ name: string;
3377
+ bio: string | null;
3378
+ photo: {
3379
+ alt: string;
3380
+ width: number;
3381
+ url: string;
3382
+ height: number;
3383
+ } | null;
3384
+ } | null | undefined;
3385
+ gallery?: {
3386
+ slug: string;
3387
+ title: string;
3388
+ summary: string | null;
3389
+ cover: {
3390
+ alt: string;
3391
+ caption: string | null;
3392
+ width: number;
3393
+ url: string;
3394
+ height: number;
3395
+ } | null;
3396
+ pictureCount: number;
3397
+ publishedAt: string | null;
3398
+ pictures: {
3399
+ alt: string;
3400
+ caption: string | null;
3401
+ width: number;
3402
+ url: string;
3403
+ height: number;
3404
+ }[];
3405
+ } | null | undefined;
3406
+ } | {
3407
+ type: "html";
3408
+ html: string;
3409
+ } | {
3410
+ type: "button";
3411
+ href: string;
3412
+ label: string;
3413
+ variant: "primary" | "secondary";
3414
+ } | z.objectInputType<{
3415
+ type: z.ZodString;
3416
+ }, z.ZodTypeAny, "passthrough"> | {
3417
+ type: "row";
3418
+ columns: {
3419
+ align: "top" | "middle";
3420
+ blocks: ({
3421
+ type: "snippet";
3422
+ kind: string;
3423
+ phone: "inline" | "bar" | null;
3424
+ teacher?: {
3425
+ id: string;
3426
+ title: string | null;
3427
+ name: string;
3428
+ bio: string | null;
3429
+ photo: {
3430
+ alt: string;
3431
+ width: number;
3432
+ url: string;
3433
+ height: number;
3434
+ } | null;
3435
+ } | null | undefined;
3436
+ gallery?: {
3437
+ slug: string;
3438
+ title: string;
3439
+ summary: string | null;
3440
+ cover: {
3441
+ alt: string;
3442
+ caption: string | null;
3443
+ width: number;
3444
+ url: string;
3445
+ height: number;
3446
+ } | null;
3447
+ pictureCount: number;
3448
+ publishedAt: string | null;
3449
+ pictures: {
3450
+ alt: string;
3451
+ caption: string | null;
3452
+ width: number;
3453
+ url: string;
3454
+ height: number;
3455
+ }[];
3456
+ } | null | undefined;
3457
+ } | {
3458
+ type: "html";
3459
+ html: string;
3460
+ } | {
3461
+ type: "button";
3462
+ href: string;
3463
+ label: string;
3464
+ variant: "primary" | "secondary";
3465
+ } | z.objectInputType<{
3466
+ type: z.ZodString;
3467
+ }, z.ZodTypeAny, "passthrough">)[];
3468
+ }[];
3469
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
3470
+ })[];
3471
+ }[];
3472
+ id: string | null;
3473
+ layout: "one" | "halves" | "wideLeft" | "wideRight" | "thirds" | "mainSidebar" | "sidebarMain";
3474
+ width: "contained" | "full";
3475
+ background: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6" | null;
3476
+ spacing: "s" | "m" | "l";
3477
+ }>, "many">;
3478
+ /** The monastery's own colours and measures, learned from its website (Website style). */
3479
+ style: z.ZodObject<{
3480
+ palette: z.ZodArray<z.ZodObject<{
3481
+ key: z.ZodEnum<[
3482
+ "bg-1",
3483
+ "bg-2",
3484
+ "bg-3",
3485
+ "bg-4",
3486
+ "bg-5",
3487
+ "bg-6"
3488
+ ]>;
3489
+ /** The site's own CSS variable for it, when it has one. */
3490
+ cssVar: z.ZodNullable<z.ZodString>;
3491
+ /** The colour itself, as #rrggbb. */
3492
+ color: z.ZodString;
3493
+ /** The text colour that reads on it, as #rrggbb. */
3494
+ text: z.ZodString;
3495
+ }, "strip", z.ZodTypeAny, {
3496
+ text: string;
3497
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
3498
+ cssVar: string | null;
3499
+ color: string;
3500
+ }, {
3501
+ text: string;
3502
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
3503
+ cssVar: string | null;
3504
+ color: string;
3505
+ }>, "many">;
3506
+ /** Below this width, in CSS pixels, the site stacks columns. Null: the site's own choice. */
3507
+ breakpoint: z.ZodNullable<z.ZodNumber>;
3508
+ /** How far below the top a sticky column stops, in CSS pixels — under the site's header. */
3509
+ stickyTop: z.ZodNullable<z.ZodNumber>;
3510
+ }, "strip", z.ZodTypeAny, {
3511
+ palette: {
3512
+ text: string;
3513
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
3514
+ cssVar: string | null;
3515
+ color: string;
3516
+ }[];
3517
+ breakpoint: number | null;
3518
+ stickyTop: number | null;
3519
+ }, {
3520
+ palette: {
3521
+ text: string;
3522
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
3523
+ cssVar: string | null;
3524
+ color: string;
3525
+ }[];
3526
+ breakpoint: number | null;
3527
+ stickyTop: number | null;
3528
+ }>;
3529
+ }, "strip", z.ZodTypeAny, {
3530
+ sections: {
3531
+ columns: {
3532
+ align: "top" | "middle";
3533
+ sticky: boolean;
3534
+ blocks: ({
3535
+ type: "snippet";
3536
+ kind: string;
3537
+ phone: "inline" | "bar" | null;
3538
+ teacher?: {
3539
+ id: string;
3540
+ title: string | null;
3541
+ name: string;
3542
+ bio: string | null;
3543
+ photo: {
3544
+ alt: string;
3545
+ width: number;
3546
+ url: string;
3547
+ height: number;
3548
+ } | null;
3549
+ } | null | undefined;
3550
+ gallery?: {
3551
+ slug: string;
3552
+ title: string;
3553
+ summary: string | null;
3554
+ cover: {
3555
+ alt: string;
3556
+ caption: string | null;
3557
+ width: number;
3558
+ url: string;
3559
+ height: number;
3560
+ } | null;
3561
+ pictureCount: number;
3562
+ publishedAt: string | null;
3563
+ pictures: {
3564
+ alt: string;
3565
+ caption: string | null;
3566
+ width: number;
3567
+ url: string;
3568
+ height: number;
3569
+ }[];
3570
+ } | null | undefined;
3571
+ } | {
3572
+ type: "html";
3573
+ html: string;
3574
+ } | {
3575
+ type: "button";
3576
+ href: string;
3577
+ label: string;
3578
+ variant: "primary" | "secondary";
3579
+ } | z.objectOutputType<{
3580
+ type: z.ZodString;
3581
+ }, z.ZodTypeAny, "passthrough"> | {
3582
+ type: "row";
3583
+ columns: {
3584
+ align: "top" | "middle";
3585
+ blocks: ({
3586
+ type: "snippet";
3587
+ kind: string;
3588
+ phone: "inline" | "bar" | null;
3589
+ teacher?: {
3590
+ id: string;
3591
+ title: string | null;
3592
+ name: string;
3593
+ bio: string | null;
3594
+ photo: {
3595
+ alt: string;
3596
+ width: number;
3597
+ url: string;
3598
+ height: number;
3599
+ } | null;
3600
+ } | null | undefined;
3601
+ gallery?: {
3602
+ slug: string;
3603
+ title: string;
3604
+ summary: string | null;
3605
+ cover: {
3606
+ alt: string;
3607
+ caption: string | null;
3608
+ width: number;
3609
+ url: string;
3610
+ height: number;
3611
+ } | null;
3612
+ pictureCount: number;
3613
+ publishedAt: string | null;
3614
+ pictures: {
3615
+ alt: string;
3616
+ caption: string | null;
3617
+ width: number;
3618
+ url: string;
3619
+ height: number;
3620
+ }[];
3621
+ } | null | undefined;
3622
+ } | {
3623
+ type: "html";
3624
+ html: string;
3625
+ } | {
3626
+ type: "button";
3627
+ href: string;
3628
+ label: string;
3629
+ variant: "primary" | "secondary";
3630
+ } | z.objectOutputType<{
3631
+ type: z.ZodString;
3632
+ }, z.ZodTypeAny, "passthrough">)[];
3633
+ }[];
3634
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
3635
+ })[];
3636
+ }[];
3637
+ id: string | null;
3638
+ layout: "one" | "halves" | "wideLeft" | "wideRight" | "thirds" | "mainSidebar" | "sidebarMain";
3639
+ width: "contained" | "full";
3640
+ background: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6" | null;
3641
+ spacing: "s" | "m" | "l";
3642
+ }[];
3643
+ style: {
3644
+ palette: {
3645
+ text: string;
3646
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
3647
+ cssVar: string | null;
3648
+ color: string;
3649
+ }[];
3650
+ breakpoint: number | null;
3651
+ stickyTop: number | null;
3652
+ };
3653
+ }, {
3654
+ sections: {
3655
+ columns: {
3656
+ align: "top" | "middle";
3657
+ sticky: boolean;
3658
+ blocks: ({
3659
+ type: "snippet";
3660
+ kind: string;
3661
+ phone: "inline" | "bar" | null;
3662
+ teacher?: {
3663
+ id: string;
3664
+ title: string | null;
3665
+ name: string;
3666
+ bio: string | null;
3667
+ photo: {
3668
+ alt: string;
3669
+ width: number;
3670
+ url: string;
3671
+ height: number;
3672
+ } | null;
3673
+ } | null | undefined;
3674
+ gallery?: {
3675
+ slug: string;
3676
+ title: string;
3677
+ summary: string | null;
3678
+ cover: {
3679
+ alt: string;
3680
+ caption: string | null;
3681
+ width: number;
3682
+ url: string;
3683
+ height: number;
3684
+ } | null;
3685
+ pictureCount: number;
3686
+ publishedAt: string | null;
3687
+ pictures: {
3688
+ alt: string;
3689
+ caption: string | null;
3690
+ width: number;
3691
+ url: string;
3692
+ height: number;
3693
+ }[];
3694
+ } | null | undefined;
3695
+ } | {
3696
+ type: "html";
3697
+ html: string;
3698
+ } | {
3699
+ type: "button";
3700
+ href: string;
3701
+ label: string;
3702
+ variant: "primary" | "secondary";
3703
+ } | z.objectInputType<{
3704
+ type: z.ZodString;
3705
+ }, z.ZodTypeAny, "passthrough"> | {
3706
+ type: "row";
3707
+ columns: {
3708
+ align: "top" | "middle";
3709
+ blocks: ({
3710
+ type: "snippet";
3711
+ kind: string;
3712
+ phone: "inline" | "bar" | null;
3713
+ teacher?: {
3714
+ id: string;
3715
+ title: string | null;
3716
+ name: string;
3717
+ bio: string | null;
3718
+ photo: {
3719
+ alt: string;
3720
+ width: number;
3721
+ url: string;
3722
+ height: number;
3723
+ } | null;
3724
+ } | null | undefined;
3725
+ gallery?: {
3726
+ slug: string;
3727
+ title: string;
3728
+ summary: string | null;
3729
+ cover: {
3730
+ alt: string;
3731
+ caption: string | null;
3732
+ width: number;
3733
+ url: string;
3734
+ height: number;
3735
+ } | null;
3736
+ pictureCount: number;
3737
+ publishedAt: string | null;
3738
+ pictures: {
3739
+ alt: string;
3740
+ caption: string | null;
3741
+ width: number;
3742
+ url: string;
3743
+ height: number;
3744
+ }[];
3745
+ } | null | undefined;
3746
+ } | {
3747
+ type: "html";
3748
+ html: string;
3749
+ } | {
3750
+ type: "button";
3751
+ href: string;
3752
+ label: string;
3753
+ variant: "primary" | "secondary";
3754
+ } | z.objectInputType<{
3755
+ type: z.ZodString;
3756
+ }, z.ZodTypeAny, "passthrough">)[];
3757
+ }[];
3758
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
3759
+ })[];
3760
+ }[];
3761
+ id: string | null;
3762
+ layout: "one" | "halves" | "wideLeft" | "wideRight" | "thirds" | "mainSidebar" | "sidebarMain";
3763
+ width: "contained" | "full";
3764
+ background: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6" | null;
3765
+ spacing: "s" | "m" | "l";
3766
+ }[];
3767
+ style: {
3768
+ palette: {
3769
+ text: string;
3770
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
3771
+ cssVar: string | null;
3772
+ color: string;
3773
+ }[];
3774
+ breakpoint: number | null;
3775
+ stickyTop: number | null;
3776
+ };
3777
+ }>>;
3778
+ /** The teachers the page shows, in the order it first shows them. */
3779
+ teachers: z.ZodArray<z.ZodObject<{
3780
+ id: z.ZodString;
3781
+ name: z.ZodString;
3782
+ /** How they are addressed — "Venerable" — written before the name, or null. */
3783
+ title: z.ZodNullable<z.ZodString>;
3784
+ bio: z.ZodNullable<z.ZodString>;
3785
+ photo: z.ZodNullable<z.ZodObject<Omit<{
3786
+ url: z.ZodString;
3787
+ alt: z.ZodString;
3788
+ caption: z.ZodNullable<z.ZodString>;
3789
+ width: z.ZodNumber;
3790
+ height: z.ZodNumber;
3791
+ }, "caption">, "strip", z.ZodTypeAny, {
3792
+ alt: string;
3793
+ width: number;
3794
+ url: string;
3795
+ height: number;
3796
+ }, {
3797
+ alt: string;
3798
+ width: number;
3799
+ url: string;
3800
+ height: number;
3801
+ }>>;
3802
+ }, "strip", z.ZodTypeAny, {
3803
+ id: string;
3804
+ title: string | null;
3805
+ name: string;
3806
+ bio: string | null;
3807
+ photo: {
3808
+ alt: string;
3809
+ width: number;
3810
+ url: string;
3811
+ height: number;
3812
+ } | null;
3813
+ }, {
3814
+ id: string;
3815
+ title: string | null;
3816
+ name: string;
3817
+ bio: string | null;
3818
+ photo: {
3819
+ alt: string;
3820
+ width: number;
3821
+ url: string;
3822
+ height: number;
3823
+ } | null;
3824
+ }>, "many">;
588
3825
  }>, "strip", z.ZodTypeAny, {
3826
+ sessions: {
3827
+ place: {
3828
+ streetAddress: string | null;
3829
+ locality: string | null;
3830
+ region: string | null;
3831
+ postalCode: string | null;
3832
+ country: string | null;
3833
+ onlineUrl: string | null;
3834
+ name: string | null;
3835
+ };
3836
+ status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
3837
+ id: string;
3838
+ startsAt: string;
3839
+ endsAt: string;
3840
+ statusNote: string | null;
3841
+ capacity: number | null;
3842
+ seatsLeft: number | null;
3843
+ }[];
589
3844
  slug: string;
590
3845
  title: string;
591
3846
  summary: string | null;
@@ -599,15 +3854,18 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
599
3854
  priceCents: number;
600
3855
  priceCurrency: string;
601
3856
  registration: "NONE" | "EXTERNAL" | "OURS";
3857
+ signUp: "EACH_DATE" | "ALL_DATES";
3858
+ pricing: "FREE" | "DONATION";
3859
+ suggestedCents: number | null;
602
3860
  segments: {
3861
+ label: string;
603
3862
  startsMinute: number;
604
3863
  endsMinute: number;
605
- label: string;
606
3864
  }[];
607
3865
  cover: {
608
3866
  alt: string;
609
- url: string;
610
3867
  width: number;
3868
+ url: string;
611
3869
  height: number;
612
3870
  } | null;
613
3871
  galleries: {
@@ -617,8 +3875,8 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
617
3875
  cover: {
618
3876
  alt: string;
619
3877
  caption: string | null;
620
- url: string;
621
3878
  width: number;
3879
+ url: string;
622
3880
  height: number;
623
3881
  } | null;
624
3882
  pictureCount: number;
@@ -626,23 +3884,156 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
626
3884
  pictures: {
627
3885
  alt: string;
628
3886
  caption: string | null;
629
- url: string;
630
3887
  width: number;
3888
+ url: string;
631
3889
  height: number;
632
3890
  }[];
633
3891
  }[];
3892
+ page: {
3893
+ sections: {
3894
+ columns: {
3895
+ align: "top" | "middle";
3896
+ sticky: boolean;
3897
+ blocks: ({
3898
+ type: "snippet";
3899
+ kind: string;
3900
+ phone: "inline" | "bar" | null;
3901
+ teacher?: {
3902
+ id: string;
3903
+ title: string | null;
3904
+ name: string;
3905
+ bio: string | null;
3906
+ photo: {
3907
+ alt: string;
3908
+ width: number;
3909
+ url: string;
3910
+ height: number;
3911
+ } | null;
3912
+ } | null | undefined;
3913
+ gallery?: {
3914
+ slug: string;
3915
+ title: string;
3916
+ summary: string | null;
3917
+ cover: {
3918
+ alt: string;
3919
+ caption: string | null;
3920
+ width: number;
3921
+ url: string;
3922
+ height: number;
3923
+ } | null;
3924
+ pictureCount: number;
3925
+ publishedAt: string | null;
3926
+ pictures: {
3927
+ alt: string;
3928
+ caption: string | null;
3929
+ width: number;
3930
+ url: string;
3931
+ height: number;
3932
+ }[];
3933
+ } | null | undefined;
3934
+ } | {
3935
+ type: "html";
3936
+ html: string;
3937
+ } | {
3938
+ type: "button";
3939
+ href: string;
3940
+ label: string;
3941
+ variant: "primary" | "secondary";
3942
+ } | z.objectOutputType<{
3943
+ type: z.ZodString;
3944
+ }, z.ZodTypeAny, "passthrough"> | {
3945
+ type: "row";
3946
+ columns: {
3947
+ align: "top" | "middle";
3948
+ blocks: ({
3949
+ type: "snippet";
3950
+ kind: string;
3951
+ phone: "inline" | "bar" | null;
3952
+ teacher?: {
3953
+ id: string;
3954
+ title: string | null;
3955
+ name: string;
3956
+ bio: string | null;
3957
+ photo: {
3958
+ alt: string;
3959
+ width: number;
3960
+ url: string;
3961
+ height: number;
3962
+ } | null;
3963
+ } | null | undefined;
3964
+ gallery?: {
3965
+ slug: string;
3966
+ title: string;
3967
+ summary: string | null;
3968
+ cover: {
3969
+ alt: string;
3970
+ caption: string | null;
3971
+ width: number;
3972
+ url: string;
3973
+ height: number;
3974
+ } | null;
3975
+ pictureCount: number;
3976
+ publishedAt: string | null;
3977
+ pictures: {
3978
+ alt: string;
3979
+ caption: string | null;
3980
+ width: number;
3981
+ url: string;
3982
+ height: number;
3983
+ }[];
3984
+ } | null | undefined;
3985
+ } | {
3986
+ type: "html";
3987
+ html: string;
3988
+ } | {
3989
+ type: "button";
3990
+ href: string;
3991
+ label: string;
3992
+ variant: "primary" | "secondary";
3993
+ } | z.objectOutputType<{
3994
+ type: z.ZodString;
3995
+ }, z.ZodTypeAny, "passthrough">)[];
3996
+ }[];
3997
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
3998
+ })[];
3999
+ }[];
4000
+ id: string | null;
4001
+ layout: "one" | "halves" | "wideLeft" | "wideRight" | "thirds" | "mainSidebar" | "sidebarMain";
4002
+ width: "contained" | "full";
4003
+ background: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6" | null;
4004
+ spacing: "s" | "m" | "l";
4005
+ }[];
4006
+ style: {
4007
+ palette: {
4008
+ text: string;
4009
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
4010
+ cssVar: string | null;
4011
+ color: string;
4012
+ }[];
4013
+ breakpoint: number | null;
4014
+ stickyTop: number | null;
4015
+ };
4016
+ } | null;
634
4017
  registrationUrl: string | null;
635
4018
  series: {
636
4019
  slug: string;
637
4020
  name: string;
638
4021
  } | null;
639
- sessions: {
640
- status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
641
- startsAt: string;
642
- endsAt: string;
643
- statusNote: string | null;
644
- capacity: number | null;
4022
+ bodyHtml: string;
4023
+ teachers: {
645
4024
  id: string;
4025
+ title: string | null;
4026
+ name: string;
4027
+ bio: string | null;
4028
+ photo: {
4029
+ alt: string;
4030
+ width: number;
4031
+ url: string;
4032
+ height: number;
4033
+ } | null;
4034
+ }[];
4035
+ }, {
4036
+ sessions: {
646
4037
  place: {
647
4038
  streetAddress: string | null;
648
4039
  locality: string | null;
@@ -652,10 +4043,14 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
652
4043
  onlineUrl: string | null;
653
4044
  name: string | null;
654
4045
  };
4046
+ status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
4047
+ id: string;
4048
+ startsAt: string;
4049
+ endsAt: string;
4050
+ statusNote: string | null;
4051
+ capacity: number | null;
655
4052
  seatsLeft: number | null;
656
4053
  }[];
657
- bodyHtml: string;
658
- }, {
659
4054
  slug: string;
660
4055
  title: string;
661
4056
  summary: string | null;
@@ -670,14 +4065,14 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
670
4065
  priceCurrency: string;
671
4066
  registration: "NONE" | "EXTERNAL" | "OURS";
672
4067
  segments: {
4068
+ label: string;
673
4069
  startsMinute: number;
674
4070
  endsMinute: number;
675
- label: string;
676
4071
  }[];
677
4072
  cover: {
678
4073
  alt: string;
679
- url: string;
680
4074
  width: number;
4075
+ url: string;
681
4076
  height: number;
682
4077
  } | null;
683
4078
  galleries: {
@@ -687,8 +4082,8 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
687
4082
  cover: {
688
4083
  alt: string;
689
4084
  caption: string | null;
690
- url: string;
691
4085
  width: number;
4086
+ url: string;
692
4087
  height: number;
693
4088
  } | null;
694
4089
  pictureCount: number;
@@ -696,35 +4091,157 @@ declare const publicEventDetailSchema: z.ZodObject<z.objectUtil.extendShape<{
696
4091
  pictures: {
697
4092
  alt: string;
698
4093
  caption: string | null;
699
- url: string;
700
4094
  width: number;
4095
+ url: string;
701
4096
  height: number;
702
4097
  }[];
703
4098
  }[];
4099
+ page: {
4100
+ sections: {
4101
+ columns: {
4102
+ align: "top" | "middle";
4103
+ sticky: boolean;
4104
+ blocks: ({
4105
+ type: "snippet";
4106
+ kind: string;
4107
+ phone: "inline" | "bar" | null;
4108
+ teacher?: {
4109
+ id: string;
4110
+ title: string | null;
4111
+ name: string;
4112
+ bio: string | null;
4113
+ photo: {
4114
+ alt: string;
4115
+ width: number;
4116
+ url: string;
4117
+ height: number;
4118
+ } | null;
4119
+ } | null | undefined;
4120
+ gallery?: {
4121
+ slug: string;
4122
+ title: string;
4123
+ summary: string | null;
4124
+ cover: {
4125
+ alt: string;
4126
+ caption: string | null;
4127
+ width: number;
4128
+ url: string;
4129
+ height: number;
4130
+ } | null;
4131
+ pictureCount: number;
4132
+ publishedAt: string | null;
4133
+ pictures: {
4134
+ alt: string;
4135
+ caption: string | null;
4136
+ width: number;
4137
+ url: string;
4138
+ height: number;
4139
+ }[];
4140
+ } | null | undefined;
4141
+ } | {
4142
+ type: "html";
4143
+ html: string;
4144
+ } | {
4145
+ type: "button";
4146
+ href: string;
4147
+ label: string;
4148
+ variant: "primary" | "secondary";
4149
+ } | z.objectInputType<{
4150
+ type: z.ZodString;
4151
+ }, z.ZodTypeAny, "passthrough"> | {
4152
+ type: "row";
4153
+ columns: {
4154
+ align: "top" | "middle";
4155
+ blocks: ({
4156
+ type: "snippet";
4157
+ kind: string;
4158
+ phone: "inline" | "bar" | null;
4159
+ teacher?: {
4160
+ id: string;
4161
+ title: string | null;
4162
+ name: string;
4163
+ bio: string | null;
4164
+ photo: {
4165
+ alt: string;
4166
+ width: number;
4167
+ url: string;
4168
+ height: number;
4169
+ } | null;
4170
+ } | null | undefined;
4171
+ gallery?: {
4172
+ slug: string;
4173
+ title: string;
4174
+ summary: string | null;
4175
+ cover: {
4176
+ alt: string;
4177
+ caption: string | null;
4178
+ width: number;
4179
+ url: string;
4180
+ height: number;
4181
+ } | null;
4182
+ pictureCount: number;
4183
+ publishedAt: string | null;
4184
+ pictures: {
4185
+ alt: string;
4186
+ caption: string | null;
4187
+ width: number;
4188
+ url: string;
4189
+ height: number;
4190
+ }[];
4191
+ } | null | undefined;
4192
+ } | {
4193
+ type: "html";
4194
+ html: string;
4195
+ } | {
4196
+ type: "button";
4197
+ href: string;
4198
+ label: string;
4199
+ variant: "primary" | "secondary";
4200
+ } | z.objectInputType<{
4201
+ type: z.ZodString;
4202
+ }, z.ZodTypeAny, "passthrough">)[];
4203
+ }[];
4204
+ layout: "halves" | "wideLeft" | "wideRight" | "thirds";
4205
+ })[];
4206
+ }[];
4207
+ id: string | null;
4208
+ layout: "one" | "halves" | "wideLeft" | "wideRight" | "thirds" | "mainSidebar" | "sidebarMain";
4209
+ width: "contained" | "full";
4210
+ background: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6" | null;
4211
+ spacing: "s" | "m" | "l";
4212
+ }[];
4213
+ style: {
4214
+ palette: {
4215
+ text: string;
4216
+ key: "bg-1" | "bg-2" | "bg-3" | "bg-4" | "bg-5" | "bg-6";
4217
+ cssVar: string | null;
4218
+ color: string;
4219
+ }[];
4220
+ breakpoint: number | null;
4221
+ stickyTop: number | null;
4222
+ };
4223
+ } | null;
704
4224
  registrationUrl: string | null;
705
4225
  series: {
706
4226
  slug: string;
707
4227
  name: string;
708
4228
  } | null;
709
- sessions: {
710
- status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
711
- startsAt: string;
712
- endsAt: string;
713
- statusNote: string | null;
714
- capacity: number | null;
4229
+ bodyHtml: string;
4230
+ teachers: {
715
4231
  id: string;
716
- place: {
717
- streetAddress: string | null;
718
- locality: string | null;
719
- region: string | null;
720
- postalCode: string | null;
721
- country: string | null;
722
- onlineUrl: string | null;
723
- name: string | null;
724
- };
725
- seatsLeft: number | null;
4232
+ title: string | null;
4233
+ name: string;
4234
+ bio: string | null;
4235
+ photo: {
4236
+ alt: string;
4237
+ width: number;
4238
+ url: string;
4239
+ height: number;
4240
+ } | null;
726
4241
  }[];
727
- bodyHtml: string;
4242
+ signUp?: "EACH_DATE" | "ALL_DATES" | undefined;
4243
+ pricing?: "FREE" | "DONATION" | undefined;
4244
+ suggestedCents?: number | null | undefined;
728
4245
  }>;
729
4246
  declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
730
4247
  slug: z.ZodString;
@@ -756,6 +4273,25 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
756
4273
  "EXTERNAL",
757
4274
  "OURS"
758
4275
  ]>;
4276
+ /**
4277
+ * EACH_DATE: a place is booked a date at a time. ALL_DATES: people sign up once for every date
4278
+ * (`signUp` in the SDK), and each date's `capacity` and `seatsLeft` are the event's.
4279
+ */
4280
+ signUp: z.ZodDefault<z.ZodEnum<[
4281
+ "EACH_DATE",
4282
+ "ALL_DATES"
4283
+ ]>>;
4284
+ /**
4285
+ * DONATION: booking a date takes a donation by card of at least `priceCents` a place —
4286
+ * `register` with `card` and `amountCents`, the card box started with what `giving()`
4287
+ * answers as `card`. FREE: nothing is taken, whatever `priceCents` shows.
4288
+ */
4289
+ pricing: z.ZodDefault<z.ZodEnum<[
4290
+ "FREE",
4291
+ "DONATION"
4292
+ ]>>;
4293
+ /** Where a DONATION's amount starts; null starts at `priceCents`. */
4294
+ suggestedCents: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
759
4295
  /** Where registering happens when `registration` is EXTERNAL. Null otherwise. */
760
4296
  registrationUrl: z.ZodNullable<z.ZodString>;
761
4297
  series: z.ZodNullable<z.ZodObject<{
@@ -780,13 +4316,13 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
780
4316
  height: z.ZodNumber;
781
4317
  }, "caption">, "strip", z.ZodTypeAny, {
782
4318
  alt: string;
783
- url: string;
784
4319
  width: number;
4320
+ url: string;
785
4321
  height: number;
786
4322
  }, {
787
4323
  alt: string;
788
- url: string;
789
4324
  width: number;
4325
+ url: string;
790
4326
  height: number;
791
4327
  }>>;
792
4328
  }, {
@@ -844,12 +4380,6 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
844
4380
  */
845
4381
  seatsLeft: z.ZodNullable<z.ZodNumber>;
846
4382
  }, "strip", z.ZodTypeAny, {
847
- status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
848
- startsAt: string;
849
- endsAt: string;
850
- statusNote: string | null;
851
- capacity: number | null;
852
- id: string;
853
4383
  place: {
854
4384
  streetAddress: string | null;
855
4385
  locality: string | null;
@@ -859,14 +4389,14 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
859
4389
  onlineUrl: string | null;
860
4390
  name: string | null;
861
4391
  };
862
- seatsLeft: number | null;
863
- }, {
864
4392
  status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
4393
+ id: string;
865
4394
  startsAt: string;
866
4395
  endsAt: string;
867
4396
  statusNote: string | null;
868
4397
  capacity: number | null;
869
- id: string;
4398
+ seatsLeft: number | null;
4399
+ }, {
870
4400
  place: {
871
4401
  streetAddress: string | null;
872
4402
  locality: string | null;
@@ -876,6 +4406,12 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
876
4406
  onlineUrl: string | null;
877
4407
  name: string | null;
878
4408
  };
4409
+ status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
4410
+ id: string;
4411
+ startsAt: string;
4412
+ endsAt: string;
4413
+ statusNote: string | null;
4414
+ capacity: number | null;
879
4415
  seatsLeft: number | null;
880
4416
  }>>;
881
4417
  }>, "strip", z.ZodTypeAny, {
@@ -889,10 +4425,13 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
889
4425
  priceCents: number;
890
4426
  priceCurrency: string;
891
4427
  registration: "NONE" | "EXTERNAL" | "OURS";
4428
+ signUp: "EACH_DATE" | "ALL_DATES";
4429
+ pricing: "FREE" | "DONATION";
4430
+ suggestedCents: number | null;
892
4431
  cover: {
893
4432
  alt: string;
894
- url: string;
895
4433
  width: number;
4434
+ url: string;
896
4435
  height: number;
897
4436
  } | null;
898
4437
  registrationUrl: string | null;
@@ -901,12 +4440,6 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
901
4440
  name: string;
902
4441
  } | null;
903
4442
  nextSession: {
904
- status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
905
- startsAt: string;
906
- endsAt: string;
907
- statusNote: string | null;
908
- capacity: number | null;
909
- id: string;
910
4443
  place: {
911
4444
  streetAddress: string | null;
912
4445
  locality: string | null;
@@ -916,6 +4449,12 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
916
4449
  onlineUrl: string | null;
917
4450
  name: string | null;
918
4451
  };
4452
+ status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
4453
+ id: string;
4454
+ startsAt: string;
4455
+ endsAt: string;
4456
+ statusNote: string | null;
4457
+ capacity: number | null;
919
4458
  seatsLeft: number | null;
920
4459
  } | null;
921
4460
  }, {
@@ -931,8 +4470,8 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
931
4470
  registration: "NONE" | "EXTERNAL" | "OURS";
932
4471
  cover: {
933
4472
  alt: string;
934
- url: string;
935
4473
  width: number;
4474
+ url: string;
936
4475
  height: number;
937
4476
  } | null;
938
4477
  registrationUrl: string | null;
@@ -941,12 +4480,6 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
941
4480
  name: string;
942
4481
  } | null;
943
4482
  nextSession: {
944
- status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
945
- startsAt: string;
946
- endsAt: string;
947
- statusNote: string | null;
948
- capacity: number | null;
949
- id: string;
950
4483
  place: {
951
4484
  streetAddress: string | null;
952
4485
  locality: string | null;
@@ -956,8 +4489,17 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
956
4489
  onlineUrl: string | null;
957
4490
  name: string | null;
958
4491
  };
4492
+ status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
4493
+ id: string;
4494
+ startsAt: string;
4495
+ endsAt: string;
4496
+ statusNote: string | null;
4497
+ capacity: number | null;
959
4498
  seatsLeft: number | null;
960
4499
  } | null;
4500
+ signUp?: "EACH_DATE" | "ALL_DATES" | undefined;
4501
+ pricing?: "FREE" | "DONATION" | undefined;
4502
+ suggestedCents?: number | null | undefined;
961
4503
  }>, "many">;
962
4504
  }>, "strip", z.ZodTypeAny, {
963
4505
  slug: string;
@@ -974,10 +4516,13 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
974
4516
  priceCents: number;
975
4517
  priceCurrency: string;
976
4518
  registration: "NONE" | "EXTERNAL" | "OURS";
4519
+ signUp: "EACH_DATE" | "ALL_DATES";
4520
+ pricing: "FREE" | "DONATION";
4521
+ suggestedCents: number | null;
977
4522
  cover: {
978
4523
  alt: string;
979
- url: string;
980
4524
  width: number;
4525
+ url: string;
981
4526
  height: number;
982
4527
  } | null;
983
4528
  registrationUrl: string | null;
@@ -986,12 +4531,6 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
986
4531
  name: string;
987
4532
  } | null;
988
4533
  nextSession: {
989
- status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
990
- startsAt: string;
991
- endsAt: string;
992
- statusNote: string | null;
993
- capacity: number | null;
994
- id: string;
995
4534
  place: {
996
4535
  streetAddress: string | null;
997
4536
  locality: string | null;
@@ -1001,6 +4540,12 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
1001
4540
  onlineUrl: string | null;
1002
4541
  name: string | null;
1003
4542
  };
4543
+ status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
4544
+ id: string;
4545
+ startsAt: string;
4546
+ endsAt: string;
4547
+ statusNote: string | null;
4548
+ capacity: number | null;
1004
4549
  seatsLeft: number | null;
1005
4550
  } | null;
1006
4551
  }[];
@@ -1021,8 +4566,8 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
1021
4566
  registration: "NONE" | "EXTERNAL" | "OURS";
1022
4567
  cover: {
1023
4568
  alt: string;
1024
- url: string;
1025
4569
  width: number;
4570
+ url: string;
1026
4571
  height: number;
1027
4572
  } | null;
1028
4573
  registrationUrl: string | null;
@@ -1031,12 +4576,6 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
1031
4576
  name: string;
1032
4577
  } | null;
1033
4578
  nextSession: {
1034
- status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
1035
- startsAt: string;
1036
- endsAt: string;
1037
- statusNote: string | null;
1038
- capacity: number | null;
1039
- id: string;
1040
4579
  place: {
1041
4580
  streetAddress: string | null;
1042
4581
  locality: string | null;
@@ -1046,8 +4585,17 @@ declare const publicSeriesSchema: z.ZodObject<z.objectUtil.extendShape<{
1046
4585
  onlineUrl: string | null;
1047
4586
  name: string | null;
1048
4587
  };
4588
+ status: "SCHEDULED" | "CANCELLED" | "POSTPONED" | "RESCHEDULED" | "MOVED_ONLINE";
4589
+ id: string;
4590
+ startsAt: string;
4591
+ endsAt: string;
4592
+ statusNote: string | null;
4593
+ capacity: number | null;
1049
4594
  seatsLeft: number | null;
1050
4595
  } | null;
4596
+ signUp?: "EACH_DATE" | "ALL_DATES" | undefined;
4597
+ pricing?: "FREE" | "DONATION" | undefined;
4598
+ suggestedCents?: number | null | undefined;
1051
4599
  }[];
1052
4600
  }>;
1053
4601
  declare const publicSeriesListSchema: z.ZodObject<{
@@ -1085,9 +4633,21 @@ declare const publicSeriesListSchema: z.ZodObject<{
1085
4633
  }>;
1086
4634
  export type PublicSeries = z.infer<typeof publicSeriesSchema>;
1087
4635
  export type PublicSeriesList = z.infer<typeof publicSeriesListSchema>;
4636
+ export type PublicTeacher = z.infer<typeof publicTeacherSchema>;
4637
+ export type PublicPage = z.infer<typeof publicPageSchema>;
1088
4638
  export type PublicSession = z.infer<typeof publicSessionSchema>;
1089
4639
  export type PublicSessionRow = z.infer<typeof publicSessionRowSchema>;
1090
4640
  export type PublicEventDetail = z.infer<typeof publicEventDetailSchema>;
4641
+ declare const signedUpSchema: z.ZodObject<{
4642
+ status: z.ZodEnum<[
4643
+ "CONFIRMED",
4644
+ "WAITLISTED"
4645
+ ]>;
4646
+ }, "strip", z.ZodTypeAny, {
4647
+ status: "CONFIRMED" | "WAITLISTED";
4648
+ }, {
4649
+ status: "CONFIRMED" | "WAITLISTED";
4650
+ }>;
1091
4651
  declare const bookingSchema: z.ZodObject<{
1092
4652
  status: z.ZodEnum<[
1093
4653
  "CONFIRMED",
@@ -1153,14 +4713,14 @@ declare const publicPictureSchema: z.ZodObject<{
1153
4713
  }, "strip", z.ZodTypeAny, {
1154
4714
  alt: string;
1155
4715
  caption: string | null;
1156
- url: string;
1157
4716
  width: number;
4717
+ url: string;
1158
4718
  height: number;
1159
4719
  }, {
1160
4720
  alt: string;
1161
4721
  caption: string | null;
1162
- url: string;
1163
4722
  width: number;
4723
+ url: string;
1164
4724
  height: number;
1165
4725
  }>;
1166
4726
  declare const publicGallerySummarySchema: z.ZodObject<{
@@ -1177,14 +4737,14 @@ declare const publicGallerySummarySchema: z.ZodObject<{
1177
4737
  }, "strip", z.ZodTypeAny, {
1178
4738
  alt: string;
1179
4739
  caption: string | null;
1180
- url: string;
1181
4740
  width: number;
4741
+ url: string;
1182
4742
  height: number;
1183
4743
  }, {
1184
4744
  alt: string;
1185
4745
  caption: string | null;
1186
- url: string;
1187
4746
  width: number;
4747
+ url: string;
1188
4748
  height: number;
1189
4749
  }>>;
1190
4750
  pictureCount: z.ZodNumber;
@@ -1196,8 +4756,8 @@ declare const publicGallerySummarySchema: z.ZodObject<{
1196
4756
  cover: {
1197
4757
  alt: string;
1198
4758
  caption: string | null;
1199
- url: string;
1200
4759
  width: number;
4760
+ url: string;
1201
4761
  height: number;
1202
4762
  } | null;
1203
4763
  pictureCount: number;
@@ -1209,8 +4769,8 @@ declare const publicGallerySummarySchema: z.ZodObject<{
1209
4769
  cover: {
1210
4770
  alt: string;
1211
4771
  caption: string | null;
1212
- url: string;
1213
4772
  width: number;
4773
+ url: string;
1214
4774
  height: number;
1215
4775
  } | null;
1216
4776
  pictureCount: number;
@@ -1230,14 +4790,14 @@ declare const publicGallerySchema: z.ZodObject<z.objectUtil.extendShape<{
1230
4790
  }, "strip", z.ZodTypeAny, {
1231
4791
  alt: string;
1232
4792
  caption: string | null;
1233
- url: string;
1234
4793
  width: number;
4794
+ url: string;
1235
4795
  height: number;
1236
4796
  }, {
1237
4797
  alt: string;
1238
4798
  caption: string | null;
1239
- url: string;
1240
4799
  width: number;
4800
+ url: string;
1241
4801
  height: number;
1242
4802
  }>>;
1243
4803
  pictureCount: z.ZodNumber;
@@ -1252,14 +4812,14 @@ declare const publicGallerySchema: z.ZodObject<z.objectUtil.extendShape<{
1252
4812
  }, "strip", z.ZodTypeAny, {
1253
4813
  alt: string;
1254
4814
  caption: string | null;
1255
- url: string;
1256
4815
  width: number;
4816
+ url: string;
1257
4817
  height: number;
1258
4818
  }, {
1259
4819
  alt: string;
1260
4820
  caption: string | null;
1261
- url: string;
1262
4821
  width: number;
4822
+ url: string;
1263
4823
  height: number;
1264
4824
  }>, "many">;
1265
4825
  /** The occasion, while its event is itself on the site. */
@@ -1280,8 +4840,8 @@ declare const publicGallerySchema: z.ZodObject<z.objectUtil.extendShape<{
1280
4840
  cover: {
1281
4841
  alt: string;
1282
4842
  caption: string | null;
1283
- url: string;
1284
4843
  width: number;
4844
+ url: string;
1285
4845
  height: number;
1286
4846
  } | null;
1287
4847
  pictureCount: number;
@@ -1289,8 +4849,8 @@ declare const publicGallerySchema: z.ZodObject<z.objectUtil.extendShape<{
1289
4849
  pictures: {
1290
4850
  alt: string;
1291
4851
  caption: string | null;
1292
- url: string;
1293
4852
  width: number;
4853
+ url: string;
1294
4854
  height: number;
1295
4855
  }[];
1296
4856
  event: {
@@ -1304,8 +4864,8 @@ declare const publicGallerySchema: z.ZodObject<z.objectUtil.extendShape<{
1304
4864
  cover: {
1305
4865
  alt: string;
1306
4866
  caption: string | null;
1307
- url: string;
1308
4867
  width: number;
4868
+ url: string;
1309
4869
  height: number;
1310
4870
  } | null;
1311
4871
  pictureCount: number;
@@ -1313,8 +4873,8 @@ declare const publicGallerySchema: z.ZodObject<z.objectUtil.extendShape<{
1313
4873
  pictures: {
1314
4874
  alt: string;
1315
4875
  caption: string | null;
1316
- url: string;
1317
4876
  width: number;
4877
+ url: string;
1318
4878
  height: number;
1319
4879
  }[];
1320
4880
  event: {
@@ -1392,14 +4952,14 @@ declare const givingAvailabilitySchema: z.ZodObject<{
1392
4952
  */
1393
4953
  monthly: z.ZodDefault<z.ZodBoolean>;
1394
4954
  }, "strip", z.ZodTypeAny, {
1395
- currency: string | null;
1396
- available: boolean;
1397
4955
  card: {
1398
4956
  provider: "square";
1399
4957
  applicationId: string;
1400
4958
  locationId: string;
1401
4959
  environment: "production" | "sandbox";
1402
4960
  } | null;
4961
+ currency: string | null;
4962
+ available: boolean;
1403
4963
  monthly: boolean;
1404
4964
  }, {
1405
4965
  currency: string | null;
@@ -1448,21 +5008,21 @@ declare const cardDonationInput: z.ZodObject<z.objectUtil.extendShape<Omit<{
1448
5008
  */
1449
5009
  verificationToken: z.ZodOptional<z.ZodString>;
1450
5010
  }>, "strict", z.ZodTypeAny, {
1451
- amountCents: number;
1452
5011
  sourceId: string;
5012
+ amountCents: number;
1453
5013
  name?: string | undefined;
1454
5014
  email?: string | undefined;
5015
+ verificationToken?: string | undefined;
1455
5016
  currency?: string | undefined;
1456
5017
  dedication?: string | undefined;
1457
- verificationToken?: string | undefined;
1458
5018
  }, {
1459
- amountCents: number;
1460
5019
  sourceId: string;
5020
+ amountCents: number;
1461
5021
  name?: string | undefined;
1462
5022
  email?: string | undefined;
5023
+ verificationToken?: string | undefined;
1463
5024
  currency?: string | undefined;
1464
5025
  dedication?: string | undefined;
1465
- verificationToken?: string | undefined;
1466
5026
  }>;
1467
5027
  export type CardDonationInput = z.infer<typeof cardDonationInput>;
1468
5028
  declare const cardDonationSchema: z.ZodObject<{
@@ -1504,19 +5064,19 @@ declare const monthlyDonationInput: z.ZodObject<z.objectUtil.extendShape<Omit<{
1504
5064
  }>, "strict", z.ZodTypeAny, {
1505
5065
  name: string;
1506
5066
  email: string;
1507
- amountCents: number;
1508
5067
  sourceId: string;
5068
+ amountCents: number;
5069
+ verificationToken?: string | undefined;
1509
5070
  currency?: string | undefined;
1510
5071
  dedication?: string | undefined;
1511
- verificationToken?: string | undefined;
1512
5072
  }, {
1513
5073
  name: string;
1514
5074
  email: string;
1515
- amountCents: number;
1516
5075
  sourceId: string;
5076
+ amountCents: number;
5077
+ verificationToken?: string | undefined;
1517
5078
  currency?: string | undefined;
1518
5079
  dedication?: string | undefined;
1519
- verificationToken?: string | undefined;
1520
5080
  }>;
1521
5081
  export type MonthlyDonationInput = z.infer<typeof monthlyDonationInput>;
1522
5082
  declare const monthlyStartedSchema: z.ZodObject<{
@@ -1598,13 +5158,13 @@ declare const publicCoverSchema: z.ZodObject<Omit<{
1598
5158
  height: z.ZodNumber;
1599
5159
  }, "caption">, "strip", z.ZodTypeAny, {
1600
5160
  alt: string;
1601
- url: string;
1602
5161
  width: number;
5162
+ url: string;
1603
5163
  height: number;
1604
5164
  }, {
1605
5165
  alt: string;
1606
- url: string;
1607
5166
  width: number;
5167
+ url: string;
1608
5168
  height: number;
1609
5169
  }>;
1610
5170
  declare const publicCategorySchema: z.ZodObject<{
@@ -1630,13 +5190,13 @@ declare const publicPostSummarySchema: z.ZodObject<{
1630
5190
  height: z.ZodNumber;
1631
5191
  }, "caption">, "strip", z.ZodTypeAny, {
1632
5192
  alt: string;
1633
- url: string;
1634
5193
  width: number;
5194
+ url: string;
1635
5195
  height: number;
1636
5196
  }, {
1637
5197
  alt: string;
1638
- url: string;
1639
5198
  width: number;
5199
+ url: string;
1640
5200
  height: number;
1641
5201
  }>>;
1642
5202
  category: z.ZodNullable<z.ZodObject<{
@@ -1669,8 +5229,8 @@ declare const publicPostSummarySchema: z.ZodObject<{
1669
5229
  } | null;
1670
5230
  cover: {
1671
5231
  alt: string;
1672
- url: string;
1673
5232
  width: number;
5233
+ url: string;
1674
5234
  height: number;
1675
5235
  } | null;
1676
5236
  publishedAt: string | null;
@@ -1688,8 +5248,8 @@ declare const publicPostSummarySchema: z.ZodObject<{
1688
5248
  } | null;
1689
5249
  cover: {
1690
5250
  alt: string;
1691
- url: string;
1692
5251
  width: number;
5252
+ url: string;
1693
5253
  height: number;
1694
5254
  } | null;
1695
5255
  publishedAt: string | null;
@@ -1711,13 +5271,13 @@ declare const publicPostSchema: z.ZodObject<z.objectUtil.extendShape<{
1711
5271
  height: z.ZodNumber;
1712
5272
  }, "caption">, "strip", z.ZodTypeAny, {
1713
5273
  alt: string;
1714
- url: string;
1715
5274
  width: number;
5275
+ url: string;
1716
5276
  height: number;
1717
5277
  }, {
1718
5278
  alt: string;
1719
- url: string;
1720
5279
  width: number;
5280
+ url: string;
1721
5281
  height: number;
1722
5282
  }>>;
1723
5283
  category: z.ZodNullable<z.ZodObject<{
@@ -1764,8 +5324,8 @@ declare const publicPostSchema: z.ZodObject<z.objectUtil.extendShape<{
1764
5324
  } | null;
1765
5325
  cover: {
1766
5326
  alt: string;
1767
- url: string;
1768
5327
  width: number;
5328
+ url: string;
1769
5329
  height: number;
1770
5330
  } | null;
1771
5331
  publishedAt: string | null;
@@ -1788,8 +5348,8 @@ declare const publicPostSchema: z.ZodObject<z.objectUtil.extendShape<{
1788
5348
  } | null;
1789
5349
  cover: {
1790
5350
  alt: string;
1791
- url: string;
1792
5351
  width: number;
5352
+ url: string;
1793
5353
  height: number;
1794
5354
  } | null;
1795
5355
  publishedAt: string | null;
@@ -1817,13 +5377,13 @@ declare const publicPostListSchema: z.ZodObject<{
1817
5377
  height: z.ZodNumber;
1818
5378
  }, "caption">, "strip", z.ZodTypeAny, {
1819
5379
  alt: string;
1820
- url: string;
1821
5380
  width: number;
5381
+ url: string;
1822
5382
  height: number;
1823
5383
  }, {
1824
5384
  alt: string;
1825
- url: string;
1826
5385
  width: number;
5386
+ url: string;
1827
5387
  height: number;
1828
5388
  }>>;
1829
5389
  category: z.ZodNullable<z.ZodObject<{
@@ -1856,8 +5416,8 @@ declare const publicPostListSchema: z.ZodObject<{
1856
5416
  } | null;
1857
5417
  cover: {
1858
5418
  alt: string;
1859
- url: string;
1860
5419
  width: number;
5420
+ url: string;
1861
5421
  height: number;
1862
5422
  } | null;
1863
5423
  publishedAt: string | null;
@@ -1875,8 +5435,8 @@ declare const publicPostListSchema: z.ZodObject<{
1875
5435
  } | null;
1876
5436
  cover: {
1877
5437
  alt: string;
1878
- url: string;
1879
5438
  width: number;
5439
+ url: string;
1880
5440
  height: number;
1881
5441
  } | null;
1882
5442
  publishedAt: string | null;
@@ -1899,8 +5459,8 @@ declare const publicPostListSchema: z.ZodObject<{
1899
5459
  } | null;
1900
5460
  cover: {
1901
5461
  alt: string;
1902
- url: string;
1903
5462
  width: number;
5463
+ url: string;
1904
5464
  height: number;
1905
5465
  } | null;
1906
5466
  publishedAt: string | null;
@@ -1923,8 +5483,8 @@ declare const publicPostListSchema: z.ZodObject<{
1923
5483
  } | null;
1924
5484
  cover: {
1925
5485
  alt: string;
1926
- url: string;
1927
5486
  width: number;
5487
+ url: string;
1928
5488
  height: number;
1929
5489
  } | null;
1930
5490
  publishedAt: string | null;
@@ -2130,14 +5690,40 @@ export declare function createClient({ baseUrl, tenant, fetch: given, revalidate
2130
5690
  * error, and a site that treated it as one would tell somebody their booking failed when
2131
5691
  * they are in fact next in line. **Check `status`.**
2132
5692
  *
2133
- * The `token` it returns is the person's only authority over the booking — they have no
2134
- * account — and it also reaches them by email.
5693
+ * The person's link to their booking reaches them by email, and only by email: the answer
5694
+ * carries no token (since 0.4.0). An address that had already booked the date is answered
5695
+ * as a newcomer would be — `status` is what a new booking gets now — and is sent an email
5696
+ * saying how things really stand, so this cannot be used to ask who has booked.
5697
+ *
5698
+ * A date whose event's `pricing` is DONATION takes `card` — the card box's token, the box
5699
+ * started with what `giving()` answers as `card` — and `amountCents`, at least the event's
5700
+ * `priceCents` for each place. The card is held, the place taken, and only then is the money
5701
+ * taken: a full date throws (`conflict`, 409) with nothing taken, never waitlisting; a
5702
+ * refused card throws `declined` (402) whose message is for the person. The confirmation
5703
+ * email is their receipt.
2135
5704
  */
2136
5705
  register(sessionId: string, who: {
2137
5706
  name: string;
2138
5707
  email: string;
2139
5708
  seats?: number;
5709
+ card?: {
5710
+ sourceId: string;
5711
+ verificationToken?: string;
5712
+ };
5713
+ amountCents?: number;
2140
5714
  }, { visitor }?: VisitorOptions): Promise<Taken>;
5715
+ /**
5716
+ * Signs somebody up once for every date of an event whose `signUp` is ALL_DATES — the
5717
+ * dates it has and any added later; booking one of its dates with `register` is refused.
5718
+ *
5719
+ * The same rules as `register`: WAITLISTED when it is full, **check `status`**; an address
5720
+ * already signed up is answered as a newcomer would be and emailed how things stand. The
5721
+ * email carries the person's own page, which is where they leave.
5722
+ */
5723
+ signUp(eventSlug: string, who: {
5724
+ name: string;
5725
+ email: string;
5726
+ }, { visitor }?: VisitorOptions): Promise<SignedUp>;
2141
5727
  /** One booking, by the token from its link. */
2142
5728
  booking(token: string): Promise<Booking>;
2143
5729
  /** Gives the place back. Whoever is next and fits is confirmed and written to at once. */
@@ -2196,17 +5782,15 @@ declare const takenSchema: z.ZodObject<{
2196
5782
  "WAITLISTED"
2197
5783
  ]>;
2198
5784
  seats: z.ZodNumber;
2199
- token: z.ZodString;
2200
5785
  }, "strip", z.ZodTypeAny, {
2201
5786
  status: "CONFIRMED" | "WAITLISTED";
2202
5787
  seats: number;
2203
- token: string;
2204
5788
  }, {
2205
5789
  status: "CONFIRMED" | "WAITLISTED";
2206
5790
  seats: number;
2207
- token: string;
2208
5791
  }>;
2209
5792
  export type Taken = z.infer<typeof takenSchema>;
5793
+ export type SignedUp = z.infer<typeof signedUpSchema>;
2210
5794
  /**
2211
5795
  * One session as `schema.org/Event`, ready for a `<script type="application/ld+json">`.
2212
5796
  *
@@ -2217,7 +5801,7 @@ export type Taken = z.infer<typeof takenSchema>;
2217
5801
  * It belongs on the TENANT's page and not on ours — Google must see it on the monastery's own
2218
5802
  * domain, which is exactly why events are served as JSON rather than as an embedded fragment.
2219
5803
  */
2220
- export declare function eventJsonLd(session: PublicSession, event: Pick<PublicEventDetail, "title" | "summary" | "attendance" | "priceCents" | "priceCurrency" | "registrationUrl"> & Partial<Pick<PublicEventDetail, "series">>, opts?: {
5804
+ export declare function eventJsonLd(session: PublicSession, event: Pick<PublicEventDetail, "title" | "summary" | "attendance" | "priceCents" | "priceCurrency" | "registrationUrl"> & Partial<Pick<PublicEventDetail, "series" | "teachers">>, opts?: {
2221
5805
  url: string;
2222
5806
  organizer?: {
2223
5807
  name: string;