@riverbankcms/sdk 0.60.3 → 0.60.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/_dts/api/src/appointmentSetup.d.ts +2 -2
  2. package/dist/_dts/api/src/bookingConfig.d.ts +6 -0
  3. package/dist/_dts/api/src/bookingManagementEndpoints.d.ts +45 -3
  4. package/dist/_dts/api/src/bookingOperations.d.ts +40 -3
  5. package/dist/_dts/api/src/bookingVerticals.d.ts +1 -0
  6. package/dist/_dts/api/src/courses.d.ts +1 -5
  7. package/dist/_dts/api/src/endpoints.d.ts +80 -1
  8. package/dist/_dts/api/src/index.d.ts +3 -2
  9. package/dist/_dts/api/src/navigation/contracts.d.ts +9 -9
  10. package/dist/_dts/api/src/public/endpoints.d.ts +1 -1
  11. package/dist/_dts/api/src/publicExperienceEndpoints.d.ts +15 -1
  12. package/dist/_dts/api/src/resources.d.ts +1 -1
  13. package/dist/_dts/api/src/siteBanner.d.ts +8 -8
  14. package/dist/_dts/api/src/siteManagementEndpoints.d.ts +3 -39
  15. package/dist/_dts/api/src/siteOnboarding.d.ts +1 -0
  16. package/dist/_dts/api/src/siteRuntimeEndpoints.d.ts +2 -0
  17. package/dist/_dts/api/src/teamMembers.d.ts +27 -0
  18. package/dist/_dts/blocks/src/system/blocks/courses/shared/schemas.d.ts +35 -29
  19. package/dist/_dts/blocks/src/system/blocks/courses/shared/types.d.ts +1 -5
  20. package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +40 -34
  21. package/dist/_dts/blocks/src/system/blocks/events/shared/types.d.ts +1 -5
  22. package/dist/_dts/blocks/src/system/blocks/product-list.d.ts +1 -1
  23. package/dist/_dts/blocks/src/system/blocks/products/shared.d.ts +2 -2
  24. package/dist/_dts/blocks/src/system/blocks/shared/bookingPaymentTerms.d.ts +9 -9
  25. package/dist/_dts/blocks/src/system/blocks/shared/teamMembers.d.ts +24 -0
  26. package/dist/_dts/blocks/src/system/blocks/team-members.d.ts +18 -8
  27. package/dist/_dts/blocks/src/system/constants/background.d.ts +1 -1
  28. package/dist/_dts/blocks/src/system/data/loaderEndpoints.d.ts +1 -1
  29. package/dist/_dts/blocks/src/system/data/utils.d.ts +1 -1
  30. package/dist/_dts/blocks/src/system/manifest/schema.d.ts +201 -201
  31. package/dist/_dts/blocks/src/system/manifest/validation.d.ts +2 -2
  32. package/dist/_dts/blocks/src/system/node/fragments/ctaButton.d.ts +2 -0
  33. package/dist/_dts/blocks/src/system/node/schema.d.ts +5 -5
  34. package/dist/_dts/blocks/src/system/runtime/components/runtime-backed-blocks.d.ts +1 -1
  35. package/dist/_dts/blocks/src/system/runtime/nodes/shared/contract-schemas.d.ts +4 -4
  36. package/dist/_dts/blocks/src/system/runtime/shared/themedButtonClass.d.ts +11 -0
  37. package/dist/_dts/blocks/src/system/transforms/registry/ui.d.ts +1 -1
  38. package/dist/_dts/blocks/src/system/transforms/typed.d.ts +3 -3
  39. package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +10 -2
  40. package/dist/_dts/content-model/src/content-types/schema.d.ts +8 -8
  41. package/dist/_dts/content-model/src/metadataConfig.d.ts +1 -0
  42. package/dist/_dts/core/src/branded.d.ts +2 -0
  43. package/dist/_dts/core/src/participants.d.ts +32 -1
  44. package/dist/_dts/core/src/rectification.d.ts +79 -0
  45. package/dist/_dts/db/src/generated/supabase/database.types.d.ts +130 -14
  46. package/dist/_dts/db/src/schemas/forms.d.ts +61 -61
  47. package/dist/_dts/preview-next/src/client/preview/StyleConfigurator.state.d.ts +17 -15
  48. package/dist/_dts/sdk/src/client/types.d.ts +10 -2
  49. package/dist/_dts/sdk/src/config/types.d.ts +1 -1
  50. package/dist/_dts/sdk/src/config/validation.d.ts +40 -37
  51. package/dist/_dts/sdk/src/contracts/system-block-content.d.ts +17 -8
  52. package/dist/_dts/sdk/src/data/prefetchBlockData.d.ts +1 -1
  53. package/dist/_dts/sdk/src/manifest/passes/pass1-fields.d.ts +19 -19
  54. package/dist/_dts/sdk/src/public-api/contracts.d.ts +87 -69
  55. package/dist/_dts/sdk/src/public-api/runtime.d.ts +1 -1
  56. package/dist/_dts/sdk/src/rendering/islands/types.d.ts +2 -5
  57. package/dist/_dts/sdk/src/version.d.ts +1 -1
  58. package/dist/_dts/theme-core/src/accordions/types.d.ts +11 -11
  59. package/dist/_dts/theme-core/src/buttons/personalities/brushed-wash.d.ts +7 -2
  60. package/dist/_dts/theme-core/src/buttons/personalities/confident-chip.d.ts +7 -2
  61. package/dist/_dts/theme-core/src/buttons/personalities/editorial-link.d.ts +7 -2
  62. package/dist/_dts/theme-core/src/buttons/personalities/index.d.ts +86 -5
  63. package/dist/_dts/theme-core/src/buttons/personalities/ink-stamp.d.ts +7 -2
  64. package/dist/_dts/theme-core/src/buttons/personalities/pebble.d.ts +7 -2
  65. package/dist/_dts/theme-core/src/buttons/personalities/soft-pill.d.ts +7 -2
  66. package/dist/_dts/theme-core/src/buttons/personalities/types.d.ts +20 -20
  67. package/dist/_dts/theme-core/src/buttons/types.d.ts +27 -27
  68. package/dist/_dts/theme-core/src/cards/types.d.ts +17 -17
  69. package/dist/_dts/theme-core/src/inputs/types.d.ts +14 -14
  70. package/dist/_dts/theme-core/src/interactive/baseSchema.d.ts +2 -2
  71. package/dist/_dts/theme-core/src/mock-themes/all.d.ts +438 -438
  72. package/dist/_dts/theme-core/src/navigation/types.d.ts +16 -16
  73. package/dist/_dts/theme-core/src/palette/variants/brand-led.d.ts +33 -9
  74. package/dist/_dts/theme-core/src/palette/variants/high-contrast.d.ts +33 -9
  75. package/dist/_dts/theme-core/src/palette/variants/index.d.ts +200 -4
  76. package/dist/_dts/theme-core/src/palette/variants/soft-natural.d.ts +33 -9
  77. package/dist/_dts/theme-core/src/palette/variants/types.d.ts +25 -25
  78. package/dist/_dts/theme-core/src/palette/variants/warm-neutral.d.ts +33 -9
  79. package/dist/_dts/theme-core/src/schema.d.ts +662 -662
  80. package/dist/_dts/theme-core/src/shared/componentStyles.d.ts +4 -4
  81. package/dist/_dts/theme-core/src/site-styles/curatedChoices.d.ts +27 -0
  82. package/dist/_dts/theme-core/src/site-styles/curatedSiteStyles.d.ts +48 -194
  83. package/dist/_dts/theme-core/src/site-styles/designState.d.ts +15 -15
  84. package/dist/_dts/theme-core/src/site-styles/generatedSchemas.d.ts +7 -7
  85. package/dist/_dts/theme-core/src/site-styles/index.d.ts +2 -1
  86. package/dist/_dts/theme-core/src/site-styles/previewCompiler.d.ts +12 -14
  87. package/dist/_dts/theme-core/src/site-styles/styleTags.d.ts +46 -0
  88. package/dist/_dts/theme-core/src/site-styles/tokenRecipes.d.ts +5 -5
  89. package/dist/_dts/ui/src/badge.d.ts +1 -1
  90. package/dist/_dts/ui/src/button-group.d.ts +1 -1
  91. package/dist/_dts/ui/src/button.d.ts +2 -2
  92. package/dist/_dts/ui/src/callout.d.ts +1 -1
  93. package/dist/_dts/ui/src/card.d.ts +1 -1
  94. package/dist/_dts/ui/src/palette/ColorChooserDialog.d.ts +47 -0
  95. package/dist/_dts/ui/src/palette/ColorSlotButton.d.ts +15 -0
  96. package/dist/_dts/ui/src/palette/ColorSwatchButton.d.ts +15 -0
  97. package/dist/_dts/ui/src/palette/PaletteTokenEditor.d.ts +50 -0
  98. package/dist/_dts/ui/src/palette/hex.d.ts +23 -0
  99. package/dist/_dts/ui/src/palette/index.d.ts +14 -0
  100. package/dist/_dts/ui/src/surface.d.ts +2 -2
  101. package/dist/_dts/ui/src/toggle.d.ts +4 -4
  102. package/dist/cli/index.mjs +1535 -1183
  103. package/dist/client/client.mjs +3944 -3454
  104. package/dist/client/hooks.mjs +2053 -1743
  105. package/dist/client/rendering/client.mjs +311 -167
  106. package/dist/client/rendering/islands.mjs +159 -73
  107. package/dist/client/rendering.mjs +1918 -1447
  108. package/dist/preview-next/before-render.mjs +147 -1
  109. package/dist/preview-next/client/runtime.mjs +2828 -2174
  110. package/dist/preview-next/middleware.mjs +147 -1
  111. package/dist/server/components.mjs +4311 -3928
  112. package/dist/server/config-validation.mjs +2201 -1906
  113. package/dist/server/config.mjs +2201 -1906
  114. package/dist/server/data.mjs +2053 -1743
  115. package/dist/server/index.mjs +171 -4
  116. package/dist/server/next.mjs +3442 -3024
  117. package/dist/server/page-converter.mjs +2109 -1962
  118. package/dist/server/prebuild.mjs +1 -1
  119. package/dist/server/rendering/server.mjs +4021 -3622
  120. package/dist/server/rendering.mjs +4021 -3622
  121. package/dist/server/routing.mjs +2377 -2058
  122. package/dist/server/server.mjs +2244 -1915
  123. package/dist/server/theme-bridge.mjs +130 -126
  124. package/dist/server/theme.mjs +131 -129
  125. package/package.json +1 -1
  126. package/dist/_dts/theme-core/src/site-styles/compatibility.d.ts +0 -109
@@ -1,10 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  export declare const eventPresetSchema: z.ZodEnum<{
3
+ event: "event";
3
4
  class: "class";
4
5
  workshop: "workshop";
5
6
  retreat: "retreat";
6
7
  performance: "performance";
7
- event: "event";
8
8
  }>;
9
9
  export declare const eventScheduleScopeSchema: z.ZodEnum<{
10
10
  recurring: "recurring";
@@ -34,8 +34,8 @@ export declare const eventCategorySchema: z.ZodObject<{
34
34
  * Pricing type for public events
35
35
  */
36
36
  export declare const pricingTypeSchema: z.ZodEnum<{
37
- paid: "paid";
38
37
  free: "free";
38
+ paid: "paid";
39
39
  pass_only: "pass_only";
40
40
  membership_only: "membership_only";
41
41
  }>;
@@ -88,13 +88,13 @@ export declare const publicEventTicketTypeSchema: z.ZodObject<{
88
88
  isActive: z.ZodBoolean;
89
89
  sortOrder: z.ZodNumber;
90
90
  capacityMode: z.ZodEnum<{
91
- limited: "limited";
92
91
  unlimited: "unlimited";
92
+ limited: "limited";
93
93
  }>;
94
94
  capacityLimit: z.ZodNullable<z.ZodNumber>;
95
95
  attendanceScope: z.ZodOptional<z.ZodEnum<{
96
- both: "both";
97
96
  in_person: "in_person";
97
+ both: "both";
98
98
  online: "online";
99
99
  }>>;
100
100
  saleStartsAt: z.ZodNullable<z.ZodString>;
@@ -119,7 +119,9 @@ export declare const publicEventTicketTypeSchema: z.ZodObject<{
119
119
  export declare const publicTeamMemberSummarySchema: z.ZodObject<{
120
120
  id: z.ZodString;
121
121
  name: z.ZodString;
122
+ roleLabel: z.ZodNullable<z.ZodString>;
122
123
  summary: z.ZodNullable<z.ZodString>;
124
+ profilePath: z.ZodNullable<z.ZodString>;
123
125
  }, z.core.$strip>;
124
126
  /**
125
127
  * Zod schema for public event data
@@ -130,11 +132,11 @@ export declare const publicEventSchema: z.ZodObject<{
130
132
  course_session: "course_session";
131
133
  }>>;
132
134
  eventPreset: z.ZodOptional<z.ZodEnum<{
135
+ event: "event";
133
136
  class: "class";
134
137
  workshop: "workshop";
135
138
  retreat: "retreat";
136
139
  performance: "performance";
137
- event: "event";
138
140
  }>>;
139
141
  scheduleScope: z.ZodOptional<z.ZodEnum<{
140
142
  recurring: "recurring";
@@ -356,8 +358,8 @@ export declare const publicEventSchema: z.ZodObject<{
356
358
  requiresRegistration: z.ZodBoolean;
357
359
  deliveryMode: z.ZodEnum<{
358
360
  in_person: "in_person";
359
- online: "online";
360
361
  hybrid: "hybrid";
362
+ online: "online";
361
363
  }>;
362
364
  attendanceModes: z.ZodArray<z.ZodObject<{
363
365
  mode: z.ZodEnum<{
@@ -392,17 +394,19 @@ export declare const publicEventSchema: z.ZodObject<{
392
394
  teamMembers: z.ZodOptional<z.ZodArray<z.ZodObject<{
393
395
  id: z.ZodString;
394
396
  name: z.ZodString;
397
+ roleLabel: z.ZodNullable<z.ZodString>;
395
398
  summary: z.ZodNullable<z.ZodString>;
399
+ profilePath: z.ZodNullable<z.ZodString>;
396
400
  }, z.core.$strip>>>;
397
401
  status: z.ZodOptional<z.ZodEnum<{
398
- active: "active";
399
402
  draft: "draft";
403
+ active: "active";
400
404
  archived: "archived";
401
405
  }>>;
402
406
  timeZone: z.ZodString;
403
407
  pricingType: z.ZodEnum<{
404
- paid: "paid";
405
408
  free: "free";
409
+ paid: "paid";
406
410
  pass_only: "pass_only";
407
411
  membership_only: "membership_only";
408
412
  }>;
@@ -424,9 +428,9 @@ export declare const publicEventSchema: z.ZodObject<{
424
428
  }>;
425
429
  remainderDueCount: z.ZodNumber;
426
430
  intervalUnit: z.ZodEnum<{
431
+ month: "month";
427
432
  day: "day";
428
433
  week: "week";
429
- month: "month";
430
434
  }>;
431
435
  }, z.core.$strip>, z.ZodObject<{
432
436
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -438,18 +442,18 @@ export declare const publicEventSchema: z.ZodObject<{
438
442
  instalmentCount: z.ZodNumber;
439
443
  intervalCount: z.ZodNumber;
440
444
  intervalUnit: z.ZodEnum<{
445
+ month: "month";
441
446
  day: "day";
442
447
  week: "week";
443
- month: "month";
444
448
  }>;
445
449
  }, z.core.$strip>, z.ZodObject<{
446
450
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
447
451
  instalmentCount: z.ZodNumber;
448
452
  intervalCount: z.ZodNumber;
449
453
  intervalUnit: z.ZodEnum<{
454
+ month: "month";
450
455
  day: "day";
451
456
  week: "week";
452
- month: "month";
453
457
  }>;
454
458
  }, z.core.$strip>]>;
455
459
  }, z.core.$strip>, z.ZodObject<{
@@ -484,13 +488,13 @@ export declare const publicEventSchema: z.ZodObject<{
484
488
  isActive: z.ZodBoolean;
485
489
  sortOrder: z.ZodNumber;
486
490
  capacityMode: z.ZodEnum<{
487
- limited: "limited";
488
491
  unlimited: "unlimited";
492
+ limited: "limited";
489
493
  }>;
490
494
  capacityLimit: z.ZodNullable<z.ZodNumber>;
491
495
  attendanceScope: z.ZodOptional<z.ZodEnum<{
492
- both: "both";
493
496
  in_person: "in_person";
497
+ both: "both";
494
498
  online: "online";
495
499
  }>>;
496
500
  saleStartsAt: z.ZodNullable<z.ZodString>;
@@ -524,12 +528,12 @@ export declare const publicEventSchema: z.ZodObject<{
524
528
  id: z.ZodString;
525
529
  pricing: z.ZodOptional<z.ZodObject<{
526
530
  bookingRequirement: z.ZodEnum<{
527
- none: "none";
528
531
  required: "required";
532
+ none: "none";
529
533
  }>;
530
534
  pricingStrategy: z.ZodEnum<{
531
- single: "single";
532
535
  free: "free";
536
+ single: "single";
533
537
  tiered: "tiered";
534
538
  }>;
535
539
  currency: z.ZodString;
@@ -550,9 +554,9 @@ export declare const publicEventSchema: z.ZodObject<{
550
554
  }>;
551
555
  remainderDueCount: z.ZodNumber;
552
556
  intervalUnit: z.ZodEnum<{
557
+ month: "month";
553
558
  day: "day";
554
559
  week: "week";
555
- month: "month";
556
560
  }>;
557
561
  }, z.core.$strip>, z.ZodObject<{
558
562
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -564,18 +568,18 @@ export declare const publicEventSchema: z.ZodObject<{
564
568
  instalmentCount: z.ZodNumber;
565
569
  intervalCount: z.ZodNumber;
566
570
  intervalUnit: z.ZodEnum<{
571
+ month: "month";
567
572
  day: "day";
568
573
  week: "week";
569
- month: "month";
570
574
  }>;
571
575
  }, z.core.$strip>, z.ZodObject<{
572
576
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
573
577
  instalmentCount: z.ZodNumber;
574
578
  intervalCount: z.ZodNumber;
575
579
  intervalUnit: z.ZodEnum<{
580
+ month: "month";
576
581
  day: "day";
577
582
  week: "week";
578
- month: "month";
579
583
  }>;
580
584
  }, z.core.$strip>]>;
581
585
  }, z.core.$strip>, z.ZodObject<{
@@ -607,8 +611,8 @@ export declare const publicEventSchema: z.ZodObject<{
607
611
  saleStartsAt: z.ZodNullable<z.ZodString>;
608
612
  saleEndsAt: z.ZodNullable<z.ZodString>;
609
613
  attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
610
- both: "both";
611
614
  in_person: "in_person";
615
+ both: "both";
612
616
  online: "online";
613
617
  }>>>;
614
618
  }, z.core.$strip>>;
@@ -627,11 +631,11 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
627
631
  course_session: "course_session";
628
632
  }>>;
629
633
  eventPreset: z.ZodOptional<z.ZodEnum<{
634
+ event: "event";
630
635
  class: "class";
631
636
  workshop: "workshop";
632
637
  retreat: "retreat";
633
638
  performance: "performance";
634
- event: "event";
635
639
  }>>;
636
640
  scheduleScope: z.ZodOptional<z.ZodEnum<{
637
641
  recurring: "recurring";
@@ -853,8 +857,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
853
857
  requiresRegistration: z.ZodBoolean;
854
858
  deliveryMode: z.ZodEnum<{
855
859
  in_person: "in_person";
856
- online: "online";
857
860
  hybrid: "hybrid";
861
+ online: "online";
858
862
  }>;
859
863
  attendanceModes: z.ZodArray<z.ZodObject<{
860
864
  mode: z.ZodEnum<{
@@ -889,17 +893,19 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
889
893
  teamMembers: z.ZodOptional<z.ZodArray<z.ZodObject<{
890
894
  id: z.ZodString;
891
895
  name: z.ZodString;
896
+ roleLabel: z.ZodNullable<z.ZodString>;
892
897
  summary: z.ZodNullable<z.ZodString>;
898
+ profilePath: z.ZodNullable<z.ZodString>;
893
899
  }, z.core.$strip>>>;
894
900
  status: z.ZodOptional<z.ZodEnum<{
895
- active: "active";
896
901
  draft: "draft";
902
+ active: "active";
897
903
  archived: "archived";
898
904
  }>>;
899
905
  timeZone: z.ZodString;
900
906
  pricingType: z.ZodEnum<{
901
- paid: "paid";
902
907
  free: "free";
908
+ paid: "paid";
903
909
  pass_only: "pass_only";
904
910
  membership_only: "membership_only";
905
911
  }>;
@@ -921,9 +927,9 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
921
927
  }>;
922
928
  remainderDueCount: z.ZodNumber;
923
929
  intervalUnit: z.ZodEnum<{
930
+ month: "month";
924
931
  day: "day";
925
932
  week: "week";
926
- month: "month";
927
933
  }>;
928
934
  }, z.core.$strip>, z.ZodObject<{
929
935
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -935,18 +941,18 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
935
941
  instalmentCount: z.ZodNumber;
936
942
  intervalCount: z.ZodNumber;
937
943
  intervalUnit: z.ZodEnum<{
944
+ month: "month";
938
945
  day: "day";
939
946
  week: "week";
940
- month: "month";
941
947
  }>;
942
948
  }, z.core.$strip>, z.ZodObject<{
943
949
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
944
950
  instalmentCount: z.ZodNumber;
945
951
  intervalCount: z.ZodNumber;
946
952
  intervalUnit: z.ZodEnum<{
953
+ month: "month";
947
954
  day: "day";
948
955
  week: "week";
949
- month: "month";
950
956
  }>;
951
957
  }, z.core.$strip>]>;
952
958
  }, z.core.$strip>, z.ZodObject<{
@@ -981,13 +987,13 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
981
987
  isActive: z.ZodBoolean;
982
988
  sortOrder: z.ZodNumber;
983
989
  capacityMode: z.ZodEnum<{
984
- limited: "limited";
985
990
  unlimited: "unlimited";
991
+ limited: "limited";
986
992
  }>;
987
993
  capacityLimit: z.ZodNullable<z.ZodNumber>;
988
994
  attendanceScope: z.ZodOptional<z.ZodEnum<{
989
- both: "both";
990
995
  in_person: "in_person";
996
+ both: "both";
991
997
  online: "online";
992
998
  }>>;
993
999
  saleStartsAt: z.ZodNullable<z.ZodString>;
@@ -1021,12 +1027,12 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
1021
1027
  id: z.ZodString;
1022
1028
  pricing: z.ZodOptional<z.ZodObject<{
1023
1029
  bookingRequirement: z.ZodEnum<{
1024
- none: "none";
1025
1030
  required: "required";
1031
+ none: "none";
1026
1032
  }>;
1027
1033
  pricingStrategy: z.ZodEnum<{
1028
- single: "single";
1029
1034
  free: "free";
1035
+ single: "single";
1030
1036
  tiered: "tiered";
1031
1037
  }>;
1032
1038
  currency: z.ZodString;
@@ -1047,9 +1053,9 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
1047
1053
  }>;
1048
1054
  remainderDueCount: z.ZodNumber;
1049
1055
  intervalUnit: z.ZodEnum<{
1056
+ month: "month";
1050
1057
  day: "day";
1051
1058
  week: "week";
1052
- month: "month";
1053
1059
  }>;
1054
1060
  }, z.core.$strip>, z.ZodObject<{
1055
1061
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -1061,18 +1067,18 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
1061
1067
  instalmentCount: z.ZodNumber;
1062
1068
  intervalCount: z.ZodNumber;
1063
1069
  intervalUnit: z.ZodEnum<{
1070
+ month: "month";
1064
1071
  day: "day";
1065
1072
  week: "week";
1066
- month: "month";
1067
1073
  }>;
1068
1074
  }, z.core.$strip>, z.ZodObject<{
1069
1075
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
1070
1076
  instalmentCount: z.ZodNumber;
1071
1077
  intervalCount: z.ZodNumber;
1072
1078
  intervalUnit: z.ZodEnum<{
1079
+ month: "month";
1073
1080
  day: "day";
1074
1081
  week: "week";
1075
- month: "month";
1076
1082
  }>;
1077
1083
  }, z.core.$strip>]>;
1078
1084
  }, z.core.$strip>, z.ZodObject<{
@@ -1104,8 +1110,8 @@ export declare const publicEventsArraySchema: z.ZodArray<z.ZodObject<{
1104
1110
  saleStartsAt: z.ZodNullable<z.ZodString>;
1105
1111
  saleEndsAt: z.ZodNullable<z.ZodString>;
1106
1112
  attendanceScope: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1107
- both: "both";
1108
1113
  in_person: "in_person";
1114
+ both: "both";
1109
1115
  online: "online";
1110
1116
  }>>>;
1111
1117
  }, z.core.$strip>>;
@@ -4,6 +4,7 @@
4
4
  import type { LocationCoordinates } from '@riverbankcms/core';
5
5
  import type { Media } from '../../../../lib/media';
6
6
  import type { BlockBookingPaymentTerms } from '../../shared/bookingPaymentTerms';
7
+ import type { PublicTeamMemberSummary } from '../../shared/teamMembers';
7
8
  import type { CoursePricing } from '../../courses/shared/types';
8
9
  import type { EventBlockKind, EventScheduleScope, EventSurfacePreset, EventSurfaceScope } from './filtering';
9
10
  /**
@@ -61,11 +62,6 @@ export type PublicEventTicketType = {
61
62
  createdAt: string;
62
63
  updatedAt: string;
63
64
  };
64
- export type PublicTeamMemberSummary = {
65
- id: string;
66
- name: string;
67
- summary: string | null;
68
- };
69
65
  export type PublicEventAttendanceMode = "in_person" | "online";
70
66
  export type PublicEventAttendanceModeAvailability = {
71
67
  mode: PublicEventAttendanceMode;
@@ -25,8 +25,8 @@ export declare const productListDataSchema: z.ZodObject<{
25
25
  slug: z.ZodString;
26
26
  path: z.ZodNullable<z.ZodString>;
27
27
  status: z.ZodEnum<{
28
- active: "active";
29
28
  draft: "draft";
29
+ active: "active";
30
30
  }>;
31
31
  priceCents: z.ZodNumber;
32
32
  currency: z.ZodString;
@@ -14,8 +14,8 @@ export declare const publicProductSchema: z.ZodObject<{
14
14
  slug: z.ZodString;
15
15
  path: z.ZodNullable<z.ZodString>;
16
16
  status: z.ZodEnum<{
17
- active: "active";
18
17
  draft: "draft";
18
+ active: "active";
19
19
  }>;
20
20
  priceCents: z.ZodNumber;
21
21
  currency: z.ZodString;
@@ -59,8 +59,8 @@ export declare const publicProductsResponseSchema: z.ZodObject<{
59
59
  slug: z.ZodString;
60
60
  path: z.ZodNullable<z.ZodString>;
61
61
  status: z.ZodEnum<{
62
- active: "active";
63
62
  draft: "draft";
63
+ active: "active";
64
64
  }>;
65
65
  priceCents: z.ZodNumber;
66
66
  currency: z.ZodString;
@@ -32,9 +32,9 @@ export declare const bookingInstalmentPlanSchema: z.ZodUnion<readonly [z.ZodObje
32
32
  }>;
33
33
  remainderDueCount: z.ZodNumber;
34
34
  intervalUnit: z.ZodEnum<{
35
+ month: "month";
35
36
  day: "day";
36
37
  week: "week";
37
- month: "month";
38
38
  }>;
39
39
  }, z.core.$strip>, z.ZodObject<{
40
40
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -46,18 +46,18 @@ export declare const bookingInstalmentPlanSchema: z.ZodUnion<readonly [z.ZodObje
46
46
  instalmentCount: z.ZodNumber;
47
47
  intervalCount: z.ZodNumber;
48
48
  intervalUnit: z.ZodEnum<{
49
+ month: "month";
49
50
  day: "day";
50
51
  week: "week";
51
- month: "month";
52
52
  }>;
53
53
  }, z.core.$strip>, z.ZodObject<{
54
54
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
55
55
  instalmentCount: z.ZodNumber;
56
56
  intervalCount: z.ZodNumber;
57
57
  intervalUnit: z.ZodEnum<{
58
+ month: "month";
58
59
  day: "day";
59
60
  week: "week";
60
- month: "month";
61
61
  }>;
62
62
  }, z.core.$strip>]>;
63
63
  export declare const bookingFlexibleBalanceDueDateRuleSchema: z.ZodUnion<readonly [z.ZodObject<{
@@ -96,9 +96,9 @@ export declare const blockBookingPaymentCollectionOptionSchema: z.ZodUnion<reado
96
96
  }>;
97
97
  remainderDueCount: z.ZodNumber;
98
98
  intervalUnit: z.ZodEnum<{
99
+ month: "month";
99
100
  day: "day";
100
101
  week: "week";
101
- month: "month";
102
102
  }>;
103
103
  }, z.core.$strip>, z.ZodObject<{
104
104
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -110,18 +110,18 @@ export declare const blockBookingPaymentCollectionOptionSchema: z.ZodUnion<reado
110
110
  instalmentCount: z.ZodNumber;
111
111
  intervalCount: z.ZodNumber;
112
112
  intervalUnit: z.ZodEnum<{
113
+ month: "month";
113
114
  day: "day";
114
115
  week: "week";
115
- month: "month";
116
116
  }>;
117
117
  }, z.core.$strip>, z.ZodObject<{
118
118
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
119
119
  instalmentCount: z.ZodNumber;
120
120
  intervalCount: z.ZodNumber;
121
121
  intervalUnit: z.ZodEnum<{
122
+ month: "month";
122
123
  day: "day";
123
124
  week: "week";
124
- month: "month";
125
125
  }>;
126
126
  }, z.core.$strip>]>;
127
127
  }, z.core.$strip>, z.ZodObject<{
@@ -157,9 +157,9 @@ export declare const blockBookingPaymentTermsSchema: z.ZodObject<{
157
157
  }>;
158
158
  remainderDueCount: z.ZodNumber;
159
159
  intervalUnit: z.ZodEnum<{
160
+ month: "month";
160
161
  day: "day";
161
162
  week: "week";
162
- month: "month";
163
163
  }>;
164
164
  }, z.core.$strip>, z.ZodObject<{
165
165
  kind: z.ZodLiteral<"deposit_plus_scheduled_instalments">;
@@ -171,18 +171,18 @@ export declare const blockBookingPaymentTermsSchema: z.ZodObject<{
171
171
  instalmentCount: z.ZodNumber;
172
172
  intervalCount: z.ZodNumber;
173
173
  intervalUnit: z.ZodEnum<{
174
+ month: "month";
174
175
  day: "day";
175
176
  week: "week";
176
- month: "month";
177
177
  }>;
178
178
  }, z.core.$strip>, z.ZodObject<{
179
179
  kind: z.ZodLiteral<"equal_scheduled_instalments">;
180
180
  instalmentCount: z.ZodNumber;
181
181
  intervalCount: z.ZodNumber;
182
182
  intervalUnit: z.ZodEnum<{
183
+ month: "month";
183
184
  day: "day";
184
185
  week: "week";
185
- month: "month";
186
186
  }>;
187
187
  }, z.core.$strip>]>;
188
188
  }, z.core.$strip>, z.ZodObject<{
@@ -0,0 +1,24 @@
1
+ import type { ImageMedia } from "../../../lib/media";
2
+ /**
3
+ * Team member block contracts
4
+ *
5
+ * These local block-side types mirror the public API team-member summary
6
+ * contract without making `@riverbankcms/blocks` depend on `@riverbankcms/api`.
7
+ *
8
+ * Keep structural-equivalence guardrails in `@riverbankcms/api` in sync with
9
+ * this file when changing public team-member payload fields.
10
+ */
11
+ export type PublicTeamMemberSummary = {
12
+ id: string;
13
+ name: string;
14
+ roleLabel: string | null;
15
+ summary: string | null;
16
+ profilePath: string | null;
17
+ };
18
+ export type PublicTeamMemberPhoto = ImageMedia | null;
19
+ export type PublicTeamMemberBlockItem = PublicTeamMemberSummary & {
20
+ _type: "teamMember";
21
+ role: string | null;
22
+ bio: string | null;
23
+ photo: PublicTeamMemberPhoto;
24
+ };
@@ -2,6 +2,7 @@ import { type BlockManifest } from "../manifest/schema";
2
2
  import type { SystemBlockDefinition } from "../registry";
3
3
  import type { SemanticSpacing } from "../spacing";
4
4
  import { type ImageColSize } from "../fields/imageLayout";
5
+ import type { PublicTeamMemberPhoto } from "./shared/teamMembers";
5
6
  type ThumbnailShape = "round" | "rounded" | "square";
6
7
  type LayoutAlign = "center" | "left";
7
8
  type LayoutWidth = "full" | "lg-3-4-left";
@@ -9,7 +10,16 @@ type ThumbnailPadding = "none" | "sm" | "md" | "lg";
9
10
  type StackImagePosition = "left" | "right" | "alternate";
10
11
  type StackContentAlignment = "top" | "center";
11
12
  export declare const teamMembersManifest: BlockManifest;
12
- export type TeamMembersContent = {
13
+ type ManualTeamMemberItem = {
14
+ _type: "teamMember";
15
+ name: string;
16
+ role?: string | null;
17
+ bio?: unknown;
18
+ photo?: PublicTeamMemberPhoto;
19
+ profilePath?: string | null;
20
+ };
21
+ type TeamMembersCommonContent = {
22
+ variant?: "grid" | "stack" | null;
13
23
  heading?: string | null;
14
24
  layoutAlign?: LayoutAlign | null;
15
25
  layoutWidth?: LayoutWidth | null;
@@ -20,13 +30,13 @@ export type TeamMembersContent = {
20
30
  stackContentAlignment?: StackContentAlignment | null;
21
31
  columns?: string | number | null;
22
32
  gap?: SemanticSpacing;
23
- members: Array<{
24
- _type: "teamMember";
25
- name: string;
26
- role?: string | null;
27
- bio?: unknown;
28
- photo?: unknown;
29
- }>;
30
33
  };
34
+ export type TeamMembersContent = (TeamMembersCommonContent & {
35
+ source?: "manual" | null;
36
+ members: ManualTeamMemberItem[];
37
+ }) | (TeamMembersCommonContent & {
38
+ source: "site_staff";
39
+ members?: ManualTeamMemberItem[];
40
+ });
31
41
  export declare const teamMembersBlockDefinition: SystemBlockDefinition<TeamMembersContent>;
32
42
  export {};
@@ -54,7 +54,7 @@ export declare const BACKGROUND_POSITION_PRESETS: readonly [{
54
54
  readonly value: "right bottom";
55
55
  readonly label: "Right Bottom";
56
56
  }];
57
- export declare const BACKGROUND_POSITION_PRESET_VALUES: ("center" | "left" | "right" | "top" | "bottom" | "right center" | "top left" | "top right" | "bottom left" | "bottom right" | "top center" | "bottom center" | "left center" | "left top" | "right top" | "left bottom" | "right bottom")[];
57
+ export declare const BACKGROUND_POSITION_PRESET_VALUES: ("bottom" | "top" | "center" | "left" | "right" | "right center" | "top left" | "top right" | "bottom left" | "bottom right" | "top center" | "bottom center" | "left center" | "left top" | "right top" | "left bottom" | "right bottom")[];
58
58
  /**
59
59
  * Maps position keywords to rb-* anchor positioning classes.
60
60
  * Used for positioning scaled/overflow images within their containers.
@@ -1,3 +1,3 @@
1
- export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "getPublicEventDetails", "listPublicCourses", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices"];
1
+ export declare const SUPPORTED_LOADER_ENDPOINTS: readonly ["listPublishedEntries", "getPublishedEntryPreview", "listPublicEvents", "getPublicEventDetails", "listPublicCourses", "listPublicTeamMembers", "listPublicProducts", "listPublicPasses", "listPublicMemberships", "getPublicFormById", "getPublicBookingServices"];
2
2
  export type SupportedLoaderEndpoint = typeof SUPPORTED_LOADER_ENDPOINTS[number];
3
3
  export declare function isSupportedLoaderEndpoint(endpoint: string): endpoint is SupportedLoaderEndpoint;
@@ -30,7 +30,7 @@ export declare function normalizeParams(input: unknown): Record<string, string>;
30
30
  export declare function coerceToString(value: unknown): string;
31
31
  /**
32
32
  * Extract data from API response.
33
- * Unwraps common response wrappers: { data }, { form }, { entries }, { services }
33
+ * Unwraps common response wrappers: { data }, { form }, { entries }, { services }, { teamMembers }
34
34
  *
35
35
  * Note: We check that properties are NOT functions to avoid returning
36
36
  * built-in methods like Array.prototype.entries