@riverbankcms/sdk 0.2.1 → 0.4.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.
Files changed (147) hide show
  1. package/README.md +255 -1
  2. package/dist/cli/index.js +249 -40
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/client/bookings.js +15 -1
  5. package/dist/client/bookings.js.map +1 -1
  6. package/dist/client/bookings.mjs +15 -1
  7. package/dist/client/bookings.mjs.map +1 -1
  8. package/dist/client/client.d.mts +2 -2
  9. package/dist/client/client.d.ts +2 -2
  10. package/dist/client/client.js +51 -6
  11. package/dist/client/client.js.map +1 -1
  12. package/dist/client/client.mjs +51 -6
  13. package/dist/client/client.mjs.map +1 -1
  14. package/dist/client/hooks.d.mts +2 -2
  15. package/dist/client/hooks.d.ts +2 -2
  16. package/dist/client/rendering/client.js +114 -116
  17. package/dist/client/rendering/client.js.map +1 -1
  18. package/dist/client/rendering/client.mjs +114 -116
  19. package/dist/client/rendering/client.mjs.map +1 -1
  20. package/dist/client/usePage-BcjWPXvh.d.mts +6388 -0
  21. package/dist/client/usePage-C3ZKNwY7.d.mts +6393 -0
  22. package/dist/client/usePage-CrKw1H6Y.d.ts +6338 -0
  23. package/dist/client/usePage-CyYpOJud.d.ts +6388 -0
  24. package/dist/client/usePage-DMI8ImsU.d.mts +6338 -0
  25. package/dist/client/usePage-gpVaeWDy.d.ts +6393 -0
  26. package/dist/server/{Layout-DK_9OOgb.d.mts → Layout-B_zUr9ci.d.mts} +1 -1
  27. package/dist/server/{Layout-CLg8oH_S.d.ts → Layout-CHG77dhK.d.ts} +1 -1
  28. package/dist/server/blockKinds-B6MWzNWp.d.mts +16 -0
  29. package/dist/server/blockKinds-B6MWzNWp.d.ts +16 -0
  30. package/dist/server/chunk-BOHTTHY5.mjs +406 -0
  31. package/dist/server/chunk-BOHTTHY5.mjs.map +1 -0
  32. package/dist/server/{chunk-5R4NMVXA.js → chunk-BUCJWG6G.js} +5 -5
  33. package/dist/server/chunk-BUCJWG6G.js.map +1 -0
  34. package/dist/server/chunk-D2QLTPUJ.mjs +33 -0
  35. package/dist/server/chunk-D2QLTPUJ.mjs.map +1 -0
  36. package/dist/server/{chunk-62ZJI564.js → chunk-FPYK6527.js} +4 -4
  37. package/dist/server/{chunk-62ZJI564.js.map → chunk-FPYK6527.js.map} +1 -1
  38. package/dist/server/{chunk-YXDDFG3N.js → chunk-G4CKM4EN.js} +1 -1
  39. package/dist/server/chunk-G4CKM4EN.js.map +1 -0
  40. package/dist/server/chunk-GERCMTPQ.js +33 -0
  41. package/dist/server/chunk-GERCMTPQ.js.map +1 -0
  42. package/dist/server/{chunk-SF63XAX7.js → chunk-IT5ICP43.js} +24 -4
  43. package/dist/server/chunk-IT5ICP43.js.map +1 -0
  44. package/dist/server/{chunk-GWBMJPLH.mjs → chunk-M5KTLZTD.mjs} +1 -1
  45. package/dist/server/chunk-M5KTLZTD.mjs.map +1 -0
  46. package/dist/server/{chunk-3J46ILMJ.mjs → chunk-N3PX76AP.mjs} +29 -4
  47. package/dist/server/chunk-N3PX76AP.mjs.map +1 -0
  48. package/dist/server/{chunk-O5DC7MYW.mjs → chunk-NKXS4TBK.mjs} +24 -4
  49. package/dist/server/chunk-NKXS4TBK.mjs.map +1 -0
  50. package/dist/server/{chunk-INWKF3IC.js → chunk-P6CDRJN3.js} +8 -8
  51. package/dist/server/{chunk-INWKF3IC.js.map → chunk-P6CDRJN3.js.map} +1 -1
  52. package/dist/server/{chunk-GKYNDDJS.js → chunk-R5B6IOFQ.js} +29 -4
  53. package/dist/server/chunk-R5B6IOFQ.js.map +1 -0
  54. package/dist/server/{chunk-FK64TZBT.mjs → chunk-SFQ7VF3G.mjs} +2 -2
  55. package/dist/server/{chunk-JTAERCX2.mjs → chunk-VVFYHAUD.mjs} +2 -2
  56. package/dist/server/{chunk-PN3CHDVX.mjs → chunk-XK2YIISA.mjs} +2 -2
  57. package/dist/server/chunk-XK2YIISA.mjs.map +1 -0
  58. package/dist/server/chunk-ZIM53VP6.js +406 -0
  59. package/dist/server/chunk-ZIM53VP6.js.map +1 -0
  60. package/dist/server/{components-DhIcstww.d.ts → components-BYxloYJm.d.ts} +3 -3
  61. package/dist/server/{components-BzdA6NAc.d.mts → components-Ci5nlyUj.d.mts} +3 -3
  62. package/dist/server/components.d.mts +7 -5
  63. package/dist/server/components.d.ts +7 -5
  64. package/dist/server/components.js +3 -3
  65. package/dist/server/components.mjs +2 -2
  66. package/dist/server/config-validation.d.mts +5 -300
  67. package/dist/server/config-validation.d.ts +5 -300
  68. package/dist/server/config-validation.js +6 -3
  69. package/dist/server/config-validation.js.map +1 -1
  70. package/dist/server/config-validation.mjs +5 -2
  71. package/dist/server/config.d.mts +43 -4
  72. package/dist/server/config.d.ts +43 -4
  73. package/dist/server/config.js +27 -3
  74. package/dist/server/config.js.map +1 -1
  75. package/dist/server/config.mjs +26 -2
  76. package/dist/server/config.mjs.map +1 -1
  77. package/dist/server/data.d.mts +5 -3
  78. package/dist/server/data.d.ts +5 -3
  79. package/dist/server/data.js +2 -2
  80. package/dist/server/data.mjs +1 -1
  81. package/dist/server/{index-BB28KAui.d.ts → index-DbSfrRA0.d.ts} +1 -1
  82. package/dist/server/{index-C_FVup_o.d.mts → index-Dj7VKH34.d.mts} +1 -1
  83. package/dist/server/index.d.mts +19 -4
  84. package/dist/server/index.d.ts +19 -4
  85. package/dist/server/index.js +6 -2
  86. package/dist/server/index.js.map +1 -1
  87. package/dist/server/index.mjs +5 -1
  88. package/dist/server/{loadContent-AQOBf_gP.d.ts → loadContent-BqQ-VPMW.d.ts} +4 -3
  89. package/dist/server/{loadContent-DBmprsB4.d.mts → loadContent-Czu7xTOU.d.mts} +4 -3
  90. package/dist/server/{loadPage-BMg8PJxJ.d.ts → loadPage-BElEkA_J.d.ts} +3 -2
  91. package/dist/server/{loadPage-pg4HimlK.d.mts → loadPage-Dw57_n5N.d.mts} +3 -2
  92. package/dist/server/loadPage-E3ZC6NHB.js +11 -0
  93. package/dist/server/{loadPage-3ECPF426.js.map → loadPage-E3ZC6NHB.js.map} +1 -1
  94. package/dist/server/{loadPage-LW273NYO.mjs → loadPage-E7L7NMR3.mjs} +3 -3
  95. package/dist/server/metadata.d.mts +5 -3
  96. package/dist/server/metadata.d.ts +5 -3
  97. package/dist/server/navigation.d.mts +100 -0
  98. package/dist/server/navigation.d.ts +100 -0
  99. package/dist/server/navigation.js +44 -0
  100. package/dist/server/navigation.js.map +1 -0
  101. package/dist/server/navigation.mjs +44 -0
  102. package/dist/server/navigation.mjs.map +1 -0
  103. package/dist/server/rendering/server.d.mts +8 -6
  104. package/dist/server/rendering/server.d.ts +8 -6
  105. package/dist/server/rendering/server.js +4 -4
  106. package/dist/server/rendering/server.mjs +3 -3
  107. package/dist/server/rendering.d.mts +9 -7
  108. package/dist/server/rendering.d.ts +9 -7
  109. package/dist/server/rendering.js +6 -6
  110. package/dist/server/rendering.mjs +5 -5
  111. package/dist/server/routing.d.mts +5 -3
  112. package/dist/server/routing.d.ts +5 -3
  113. package/dist/server/routing.js +1 -1
  114. package/dist/server/routing.mjs +1 -1
  115. package/dist/server/server.d.mts +7 -5
  116. package/dist/server/server.d.ts +7 -5
  117. package/dist/server/server.js +4 -4
  118. package/dist/server/server.mjs +3 -3
  119. package/dist/server/theme-bridge.js +7 -7
  120. package/dist/server/theme-bridge.mjs +1 -1
  121. package/dist/server/{types-BprgZt-t.d.ts → types-5XdVD2J1.d.ts} +43 -147
  122. package/dist/server/{types-C0G9IxWO.d.mts → types-BA-J9K8r.d.mts} +43 -147
  123. package/dist/server/types-BC9eB2KH.d.mts +198 -0
  124. package/dist/server/{types-_nDnPHpv.d.ts → types-BuZJWVmj.d.mts} +4 -1
  125. package/dist/server/types-CAnC529E.d.ts +198 -0
  126. package/dist/server/{types--u4GLCAY.d.ts → types-CMqVHYLG.d.ts} +266 -4
  127. package/dist/server/{types-_zWJTgv0.d.mts → types-CYfHxUhe.d.mts} +266 -4
  128. package/dist/server/{types-_nDnPHpv.d.mts → types-DSFvXKhO.d.ts} +4 -1
  129. package/dist/server/validation-C7W2Fe0i.d.ts +459 -0
  130. package/dist/server/validation-hg1sqhrt.d.mts +459 -0
  131. package/package.json +23 -17
  132. package/dist/server/chunk-3J46ILMJ.mjs.map +0 -1
  133. package/dist/server/chunk-5R4NMVXA.js.map +0 -1
  134. package/dist/server/chunk-BPKYRPCQ.mjs +0 -215
  135. package/dist/server/chunk-BPKYRPCQ.mjs.map +0 -1
  136. package/dist/server/chunk-GKYNDDJS.js.map +0 -1
  137. package/dist/server/chunk-GWBMJPLH.mjs.map +0 -1
  138. package/dist/server/chunk-O5DC7MYW.mjs.map +0 -1
  139. package/dist/server/chunk-PN3CHDVX.mjs.map +0 -1
  140. package/dist/server/chunk-SF63XAX7.js.map +0 -1
  141. package/dist/server/chunk-XLVL5WPH.js +0 -215
  142. package/dist/server/chunk-XLVL5WPH.js.map +0 -1
  143. package/dist/server/chunk-YXDDFG3N.js.map +0 -1
  144. package/dist/server/loadPage-3ECPF426.js +0 -11
  145. /package/dist/server/{chunk-FK64TZBT.mjs.map → chunk-SFQ7VF3G.mjs.map} +0 -0
  146. /package/dist/server/{chunk-JTAERCX2.mjs.map → chunk-VVFYHAUD.mjs.map} +0 -0
  147. /package/dist/server/{loadPage-LW273NYO.mjs.map → loadPage-E7L7NMR3.mjs.map} +0 -0
@@ -1,300 +1,5 @@
1
- import { z } from 'zod';
2
- import { S as SdkCustomBlock } from './schema-Bpy9N5ZI.mjs';
3
- import { R as RiverbankSiteConfig, h as BlockFieldOptionsMap, i as BlockFieldExtension, j as BlockFieldExtensionsMap } from './types-_zWJTgv0.mjs';
4
-
5
- /**
6
- * Zod validation schemas for SDK site configuration.
7
- *
8
- * These schemas are used to validate configuration fetched from
9
- * SDK sites before storing in the database.
10
- */
11
-
12
- /**
13
- * Schema for SDK theme palette.
14
- * Maps token names to CSS color values.
15
- */
16
- declare const sdkThemePaletteSchema: z.ZodRecord<z.ZodString, z.ZodString>;
17
- /**
18
- * Schema for SDK theme configuration.
19
- */
20
- declare const sdkThemeConfigSchema: z.ZodObject<{
21
- palette: z.ZodRecord<z.ZodString, z.ZodString>;
22
- }, z.core.$strip>;
23
- /**
24
- * Schema for section background color options.
25
- */
26
- declare const sectionBackgroundSchema: z.ZodObject<{
27
- id: z.ZodString;
28
- label: z.ZodString;
29
- token: z.ZodString;
30
- }, z.core.$strip>;
31
- /**
32
- * Schema for section spacing values.
33
- */
34
- declare const sectionSpacingSchema: z.ZodEnum<{
35
- default: "default";
36
- compact: "compact";
37
- spacious: "spacious";
38
- }>;
39
- /**
40
- * Schema for container max-width values.
41
- */
42
- declare const containerMaxWidthSchema: z.ZodEnum<{
43
- default: "default";
44
- full: "full";
45
- narrow: "narrow";
46
- wide: "wide";
47
- }>;
48
- /**
49
- * Schema for container alignment values.
50
- */
51
- declare const containerAlignmentSchema: z.ZodEnum<{
52
- center: "center";
53
- left: "left";
54
- right: "right";
55
- }>;
56
- /**
57
- * Schema for section options configuration.
58
- */
59
- declare const sectionOptionsSchema: z.ZodOptional<z.ZodObject<{
60
- backgroundColor: z.ZodOptional<z.ZodBoolean>;
61
- backgroundImage: z.ZodOptional<z.ZodBoolean>;
62
- backgroundGradient: z.ZodOptional<z.ZodBoolean>;
63
- spacing: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
64
- default: "default";
65
- compact: "compact";
66
- spacious: "spacious";
67
- }>>, z.ZodBoolean]>>;
68
- textColor: z.ZodOptional<z.ZodBoolean>;
69
- }, z.core.$strip>>;
70
- /**
71
- * Schema for container options configuration.
72
- */
73
- declare const containerOptionsSchema: z.ZodOptional<z.ZodObject<{
74
- maxWidth: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
75
- default: "default";
76
- full: "full";
77
- narrow: "narrow";
78
- wide: "wide";
79
- }>>, z.ZodBoolean]>>;
80
- alignment: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
81
- center: "center";
82
- left: "left";
83
- right: "right";
84
- }>>, z.ZodBoolean]>>;
85
- }, z.core.$strip>>;
86
- /**
87
- * Schema for site style configuration.
88
- */
89
- declare const siteStyleConfigSchema: z.ZodOptional<z.ZodObject<{
90
- sectionBackgrounds: z.ZodOptional<z.ZodArray<z.ZodObject<{
91
- id: z.ZodString;
92
- label: z.ZodString;
93
- token: z.ZodString;
94
- }, z.core.$strip>>>;
95
- sectionOptions: z.ZodOptional<z.ZodObject<{
96
- backgroundColor: z.ZodOptional<z.ZodBoolean>;
97
- backgroundImage: z.ZodOptional<z.ZodBoolean>;
98
- backgroundGradient: z.ZodOptional<z.ZodBoolean>;
99
- spacing: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
100
- default: "default";
101
- compact: "compact";
102
- spacious: "spacious";
103
- }>>, z.ZodBoolean]>>;
104
- textColor: z.ZodOptional<z.ZodBoolean>;
105
- }, z.core.$strip>>;
106
- containerOptions: z.ZodOptional<z.ZodObject<{
107
- maxWidth: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
108
- default: "default";
109
- full: "full";
110
- narrow: "narrow";
111
- wide: "wide";
112
- }>>, z.ZodBoolean]>>;
113
- alignment: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
114
- center: "center";
115
- left: "left";
116
- right: "right";
117
- }>>, z.ZodBoolean]>>;
118
- }, z.core.$strip>>;
119
- }, z.core.$strip>>;
120
- /**
121
- * Whitelisted endpoints for SDK data loaders.
122
- *
123
- * These are the only CMS endpoints that can be called from config-based loaders.
124
- * This ensures SDK sites can only access safe, read-only public endpoints.
125
- *
126
- * Derived from SUPPORTED_LOADER_ENDPOINTS - the single source of truth.
127
- */
128
- declare const sdkLoaderEndpointSchema: z.ZodEnum<{
129
- listPublishedEntries: "listPublishedEntries";
130
- getPublishedEntryPreview: "getPublishedEntryPreview";
131
- listPublicEvents: "listPublicEvents";
132
- getPublicFormById: "getPublicFormById";
133
- getPublicBookingServices: "getPublicBookingServices";
134
- }>;
135
- /**
136
- * A binding expression for dynamic loader params.
137
- *
138
- * @example
139
- * ```typescript
140
- * { $bind: { from: 'content.categoryId' } }
141
- * { $bind: { from: '$root.siteId' } }
142
- * { $bind: { from: 'content.limit', fallback: '10' } }
143
- * ```
144
- */
145
- declare const loaderParamBindingSchema: z.ZodObject<{
146
- $bind: z.ZodObject<{
147
- from: z.ZodString;
148
- fallback: z.ZodOptional<z.ZodString>;
149
- }, z.core.$strip>;
150
- }, z.core.$strip>;
151
- /**
152
- * A loader param value can be static or a binding expression.
153
- */
154
- declare const loaderParamValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
155
- $bind: z.ZodObject<{
156
- from: z.ZodString;
157
- fallback: z.ZodOptional<z.ZodString>;
158
- }, z.core.$strip>;
159
- }, z.core.$strip>]>;
160
- /**
161
- * Schema for config-based data loader.
162
- *
163
- * Config loaders execute server-side during loadPage() and are
164
- * restricted to whitelisted CMS endpoints.
165
- */
166
- declare const sdkConfigLoaderSchema: z.ZodObject<{
167
- endpoint: z.ZodEnum<{
168
- listPublishedEntries: "listPublishedEntries";
169
- getPublishedEntryPreview: "getPublishedEntryPreview";
170
- listPublicEvents: "listPublicEvents";
171
- getPublicFormById: "getPublicFormById";
172
- getPublicBookingServices: "getPublicBookingServices";
173
- }>;
174
- params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
175
- $bind: z.ZodObject<{
176
- from: z.ZodString;
177
- fallback: z.ZodOptional<z.ZodString>;
178
- }, z.core.$strip>;
179
- }, z.core.$strip>]>>;
180
- mode: z.ZodDefault<z.ZodEnum<{
181
- server: "server";
182
- client: "client";
183
- }>>;
184
- }, z.core.$strip>;
185
- /**
186
- * Schema for the dataLoaders field on custom blocks.
187
- * Validates the loader configuration and limits the number of loaders.
188
- */
189
- declare const sdkDataLoadersSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
190
- endpoint: z.ZodEnum<{
191
- listPublishedEntries: "listPublishedEntries";
192
- getPublishedEntryPreview: "getPublishedEntryPreview";
193
- listPublicEvents: "listPublicEvents";
194
- getPublicFormById: "getPublicFormById";
195
- getPublicBookingServices: "getPublicBookingServices";
196
- }>;
197
- params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
198
- $bind: z.ZodObject<{
199
- from: z.ZodString;
200
- fallback: z.ZodOptional<z.ZodString>;
201
- }, z.core.$strip>;
202
- }, z.core.$strip>]>>;
203
- mode: z.ZodDefault<z.ZodEnum<{
204
- server: "server";
205
- client: "client";
206
- }>>;
207
- }, z.core.$strip>>>;
208
- /**
209
- * Schema for field select option.
210
- */
211
- declare const fieldSelectOptionSchema: z.ZodObject<{
212
- value: z.ZodString;
213
- label: z.ZodString;
214
- }, z.core.$strip>;
215
- /**
216
- * Schema for per-field configuration within a block.
217
- */
218
- declare const blockFieldConfigSchema: z.ZodObject<{
219
- options: z.ZodOptional<z.ZodArray<z.ZodObject<{
220
- value: z.ZodString;
221
- label: z.ZodString;
222
- }, z.core.$strip>>>;
223
- }, z.core.$strip>;
224
- /**
225
- * Schema for per-block field options.
226
- *
227
- * Block IDs must be either 'block.*' (system blocks) or 'custom.*' (custom blocks).
228
- * Field IDs can be any valid identifier string.
229
- */
230
- declare const blockFieldOptionsSchema: z.ZodType<BlockFieldOptionsMap>;
231
- /**
232
- * Schema for block field extension configuration.
233
- *
234
- * Validates additional fields to be appended to a built-in block.
235
- * Includes refinement to ensure required fields have defaultValue.
236
- *
237
- * Note: Explicit type annotation required due to recursive fieldSchema complexity.
238
- */
239
- declare const blockFieldExtensionSchema: z.ZodType<BlockFieldExtension>;
240
- /**
241
- * Schema for block field extensions map.
242
- *
243
- * Block IDs must be system blocks (e.g., 'block.bodyText', 'block.hero').
244
- * Custom blocks ('custom.*') should define their fields directly, not via extensions.
245
- */
246
- declare const blockFieldExtensionsSchema: z.ZodType<BlockFieldExtensionsMap | undefined>;
247
- /**
248
- * Validates that extended field IDs don't conflict with existing block fields.
249
- *
250
- * This validation should be called during config push to provide clear error messages.
251
- * Returns an array of conflict errors, or empty array if valid.
252
- *
253
- * @example
254
- * ```typescript
255
- * const conflicts = validateFieldIdConflicts(config.blockFieldExtensions);
256
- * if (conflicts.length > 0) {
257
- * throw new Error(conflicts.map(c => c.message).join('\n'));
258
- * }
259
- * ```
260
- */
261
- declare function validateFieldIdConflicts(blockFieldExtensions?: BlockFieldExtensionsMap | null): {
262
- blockId: string;
263
- fieldId: string;
264
- message: string;
265
- }[];
266
- /**
267
- * Schema for SDK custom block definitions.
268
- *
269
- * Validates custom blocks defined in riverbank.config.ts.
270
- * Reuses fieldSchema from @riverbankcms/blocks for field validation.
271
- *
272
- * Note: Explicit type annotation required due to recursive fieldSchema complexity.
273
- */
274
- declare const sdkCustomBlockSchema: z.ZodType<SdkCustomBlock>;
275
- /**
276
- * Schema for the complete SDK site configuration.
277
- *
278
- * Use this schema to validate configuration fetched from SDK sites
279
- * before storing in the database.
280
- *
281
- * @example
282
- * ```typescript
283
- * import { riverbankSiteConfigSchema } from '@riverbankcms/sdk/config/validation';
284
- *
285
- * const rawConfig = await response.json();
286
- * const config = riverbankSiteConfigSchema.parse(rawConfig);
287
- * ```
288
- */
289
- declare const riverbankSiteConfigSchema: z.ZodType<RiverbankSiteConfig>;
290
- /**
291
- * Type inferred from the validation schema.
292
- * This should match the RiverbankSiteConfig type from ./types.ts
293
- */
294
- type ValidatedRiverbankSiteConfig = z.infer<typeof riverbankSiteConfigSchema>;
295
- /**
296
- * Type for a validated SDK custom block.
297
- */
298
- type ValidatedSdkCustomBlock = z.infer<typeof sdkCustomBlockSchema>;
299
-
300
- export { type ValidatedRiverbankSiteConfig, type ValidatedSdkCustomBlock, blockFieldConfigSchema, blockFieldExtensionSchema, blockFieldExtensionsSchema, blockFieldOptionsSchema, containerAlignmentSchema, containerMaxWidthSchema, containerOptionsSchema, fieldSelectOptionSchema, loaderParamBindingSchema, loaderParamValueSchema, riverbankSiteConfigSchema, sdkConfigLoaderSchema, sdkCustomBlockSchema, sdkDataLoadersSchema, sdkLoaderEndpointSchema, sdkThemeConfigSchema, sdkThemePaletteSchema, sectionBackgroundSchema, sectionOptionsSchema, sectionSpacingSchema, siteStyleConfigSchema, validateFieldIdConflicts };
1
+ import 'zod';
2
+ import './schema-Bpy9N5ZI.mjs';
3
+ import './types-CYfHxUhe.mjs';
4
+ export { C as ContentConfigInput, z as ContentConfigOutput, V as ValidatedRiverbankSiteConfig, y as ValidatedSdkCustomBlock, k as blockFieldConfigSchema, m as blockFieldExtensionSchema, n as blockFieldExtensionsSchema, l as blockFieldOptionsSchema, d as containerAlignmentSchema, c as containerMaxWidthSchema, f as containerOptionsSchema, o as contentConfigSchema, j as fieldSelectOptionSchema, B as loaderParamBindingSchema, D as loaderParamValueSchema, r as riverbankSiteConfigSchema, E as sdkConfigLoaderSchema, i as sdkCustomBlockSchema, F as sdkDataLoadersSchema, A as sdkLoaderEndpointSchema, g as sdkThemeConfigSchema, h as sdkThemePaletteSchema, a as sectionBackgroundSchema, e as sectionOptionsSchema, b as sectionSpacingSchema, s as siteStyleConfigSchema, G as validateFieldIdConflicts } from './validation-hg1sqhrt.mjs';
5
+ import './blockKinds-B6MWzNWp.mjs';
@@ -1,300 +1,5 @@
1
- import { z } from 'zod';
2
- import { S as SdkCustomBlock } from './schema-Bpy9N5ZI.js';
3
- import { R as RiverbankSiteConfig, h as BlockFieldOptionsMap, i as BlockFieldExtension, j as BlockFieldExtensionsMap } from './types--u4GLCAY.js';
4
-
5
- /**
6
- * Zod validation schemas for SDK site configuration.
7
- *
8
- * These schemas are used to validate configuration fetched from
9
- * SDK sites before storing in the database.
10
- */
11
-
12
- /**
13
- * Schema for SDK theme palette.
14
- * Maps token names to CSS color values.
15
- */
16
- declare const sdkThemePaletteSchema: z.ZodRecord<z.ZodString, z.ZodString>;
17
- /**
18
- * Schema for SDK theme configuration.
19
- */
20
- declare const sdkThemeConfigSchema: z.ZodObject<{
21
- palette: z.ZodRecord<z.ZodString, z.ZodString>;
22
- }, z.core.$strip>;
23
- /**
24
- * Schema for section background color options.
25
- */
26
- declare const sectionBackgroundSchema: z.ZodObject<{
27
- id: z.ZodString;
28
- label: z.ZodString;
29
- token: z.ZodString;
30
- }, z.core.$strip>;
31
- /**
32
- * Schema for section spacing values.
33
- */
34
- declare const sectionSpacingSchema: z.ZodEnum<{
35
- default: "default";
36
- compact: "compact";
37
- spacious: "spacious";
38
- }>;
39
- /**
40
- * Schema for container max-width values.
41
- */
42
- declare const containerMaxWidthSchema: z.ZodEnum<{
43
- default: "default";
44
- full: "full";
45
- narrow: "narrow";
46
- wide: "wide";
47
- }>;
48
- /**
49
- * Schema for container alignment values.
50
- */
51
- declare const containerAlignmentSchema: z.ZodEnum<{
52
- center: "center";
53
- left: "left";
54
- right: "right";
55
- }>;
56
- /**
57
- * Schema for section options configuration.
58
- */
59
- declare const sectionOptionsSchema: z.ZodOptional<z.ZodObject<{
60
- backgroundColor: z.ZodOptional<z.ZodBoolean>;
61
- backgroundImage: z.ZodOptional<z.ZodBoolean>;
62
- backgroundGradient: z.ZodOptional<z.ZodBoolean>;
63
- spacing: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
64
- default: "default";
65
- compact: "compact";
66
- spacious: "spacious";
67
- }>>, z.ZodBoolean]>>;
68
- textColor: z.ZodOptional<z.ZodBoolean>;
69
- }, z.core.$strip>>;
70
- /**
71
- * Schema for container options configuration.
72
- */
73
- declare const containerOptionsSchema: z.ZodOptional<z.ZodObject<{
74
- maxWidth: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
75
- default: "default";
76
- full: "full";
77
- narrow: "narrow";
78
- wide: "wide";
79
- }>>, z.ZodBoolean]>>;
80
- alignment: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
81
- center: "center";
82
- left: "left";
83
- right: "right";
84
- }>>, z.ZodBoolean]>>;
85
- }, z.core.$strip>>;
86
- /**
87
- * Schema for site style configuration.
88
- */
89
- declare const siteStyleConfigSchema: z.ZodOptional<z.ZodObject<{
90
- sectionBackgrounds: z.ZodOptional<z.ZodArray<z.ZodObject<{
91
- id: z.ZodString;
92
- label: z.ZodString;
93
- token: z.ZodString;
94
- }, z.core.$strip>>>;
95
- sectionOptions: z.ZodOptional<z.ZodObject<{
96
- backgroundColor: z.ZodOptional<z.ZodBoolean>;
97
- backgroundImage: z.ZodOptional<z.ZodBoolean>;
98
- backgroundGradient: z.ZodOptional<z.ZodBoolean>;
99
- spacing: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
100
- default: "default";
101
- compact: "compact";
102
- spacious: "spacious";
103
- }>>, z.ZodBoolean]>>;
104
- textColor: z.ZodOptional<z.ZodBoolean>;
105
- }, z.core.$strip>>;
106
- containerOptions: z.ZodOptional<z.ZodObject<{
107
- maxWidth: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
108
- default: "default";
109
- full: "full";
110
- narrow: "narrow";
111
- wide: "wide";
112
- }>>, z.ZodBoolean]>>;
113
- alignment: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodEnum<{
114
- center: "center";
115
- left: "left";
116
- right: "right";
117
- }>>, z.ZodBoolean]>>;
118
- }, z.core.$strip>>;
119
- }, z.core.$strip>>;
120
- /**
121
- * Whitelisted endpoints for SDK data loaders.
122
- *
123
- * These are the only CMS endpoints that can be called from config-based loaders.
124
- * This ensures SDK sites can only access safe, read-only public endpoints.
125
- *
126
- * Derived from SUPPORTED_LOADER_ENDPOINTS - the single source of truth.
127
- */
128
- declare const sdkLoaderEndpointSchema: z.ZodEnum<{
129
- listPublishedEntries: "listPublishedEntries";
130
- getPublishedEntryPreview: "getPublishedEntryPreview";
131
- listPublicEvents: "listPublicEvents";
132
- getPublicFormById: "getPublicFormById";
133
- getPublicBookingServices: "getPublicBookingServices";
134
- }>;
135
- /**
136
- * A binding expression for dynamic loader params.
137
- *
138
- * @example
139
- * ```typescript
140
- * { $bind: { from: 'content.categoryId' } }
141
- * { $bind: { from: '$root.siteId' } }
142
- * { $bind: { from: 'content.limit', fallback: '10' } }
143
- * ```
144
- */
145
- declare const loaderParamBindingSchema: z.ZodObject<{
146
- $bind: z.ZodObject<{
147
- from: z.ZodString;
148
- fallback: z.ZodOptional<z.ZodString>;
149
- }, z.core.$strip>;
150
- }, z.core.$strip>;
151
- /**
152
- * A loader param value can be static or a binding expression.
153
- */
154
- declare const loaderParamValueSchema: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
155
- $bind: z.ZodObject<{
156
- from: z.ZodString;
157
- fallback: z.ZodOptional<z.ZodString>;
158
- }, z.core.$strip>;
159
- }, z.core.$strip>]>;
160
- /**
161
- * Schema for config-based data loader.
162
- *
163
- * Config loaders execute server-side during loadPage() and are
164
- * restricted to whitelisted CMS endpoints.
165
- */
166
- declare const sdkConfigLoaderSchema: z.ZodObject<{
167
- endpoint: z.ZodEnum<{
168
- listPublishedEntries: "listPublishedEntries";
169
- getPublishedEntryPreview: "getPublishedEntryPreview";
170
- listPublicEvents: "listPublicEvents";
171
- getPublicFormById: "getPublicFormById";
172
- getPublicBookingServices: "getPublicBookingServices";
173
- }>;
174
- params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
175
- $bind: z.ZodObject<{
176
- from: z.ZodString;
177
- fallback: z.ZodOptional<z.ZodString>;
178
- }, z.core.$strip>;
179
- }, z.core.$strip>]>>;
180
- mode: z.ZodDefault<z.ZodEnum<{
181
- server: "server";
182
- client: "client";
183
- }>>;
184
- }, z.core.$strip>;
185
- /**
186
- * Schema for the dataLoaders field on custom blocks.
187
- * Validates the loader configuration and limits the number of loaders.
188
- */
189
- declare const sdkDataLoadersSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
190
- endpoint: z.ZodEnum<{
191
- listPublishedEntries: "listPublishedEntries";
192
- getPublishedEntryPreview: "getPublishedEntryPreview";
193
- listPublicEvents: "listPublicEvents";
194
- getPublicFormById: "getPublicFormById";
195
- getPublicBookingServices: "getPublicBookingServices";
196
- }>;
197
- params: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
198
- $bind: z.ZodObject<{
199
- from: z.ZodString;
200
- fallback: z.ZodOptional<z.ZodString>;
201
- }, z.core.$strip>;
202
- }, z.core.$strip>]>>;
203
- mode: z.ZodDefault<z.ZodEnum<{
204
- server: "server";
205
- client: "client";
206
- }>>;
207
- }, z.core.$strip>>>;
208
- /**
209
- * Schema for field select option.
210
- */
211
- declare const fieldSelectOptionSchema: z.ZodObject<{
212
- value: z.ZodString;
213
- label: z.ZodString;
214
- }, z.core.$strip>;
215
- /**
216
- * Schema for per-field configuration within a block.
217
- */
218
- declare const blockFieldConfigSchema: z.ZodObject<{
219
- options: z.ZodOptional<z.ZodArray<z.ZodObject<{
220
- value: z.ZodString;
221
- label: z.ZodString;
222
- }, z.core.$strip>>>;
223
- }, z.core.$strip>;
224
- /**
225
- * Schema for per-block field options.
226
- *
227
- * Block IDs must be either 'block.*' (system blocks) or 'custom.*' (custom blocks).
228
- * Field IDs can be any valid identifier string.
229
- */
230
- declare const blockFieldOptionsSchema: z.ZodType<BlockFieldOptionsMap>;
231
- /**
232
- * Schema for block field extension configuration.
233
- *
234
- * Validates additional fields to be appended to a built-in block.
235
- * Includes refinement to ensure required fields have defaultValue.
236
- *
237
- * Note: Explicit type annotation required due to recursive fieldSchema complexity.
238
- */
239
- declare const blockFieldExtensionSchema: z.ZodType<BlockFieldExtension>;
240
- /**
241
- * Schema for block field extensions map.
242
- *
243
- * Block IDs must be system blocks (e.g., 'block.bodyText', 'block.hero').
244
- * Custom blocks ('custom.*') should define their fields directly, not via extensions.
245
- */
246
- declare const blockFieldExtensionsSchema: z.ZodType<BlockFieldExtensionsMap | undefined>;
247
- /**
248
- * Validates that extended field IDs don't conflict with existing block fields.
249
- *
250
- * This validation should be called during config push to provide clear error messages.
251
- * Returns an array of conflict errors, or empty array if valid.
252
- *
253
- * @example
254
- * ```typescript
255
- * const conflicts = validateFieldIdConflicts(config.blockFieldExtensions);
256
- * if (conflicts.length > 0) {
257
- * throw new Error(conflicts.map(c => c.message).join('\n'));
258
- * }
259
- * ```
260
- */
261
- declare function validateFieldIdConflicts(blockFieldExtensions?: BlockFieldExtensionsMap | null): {
262
- blockId: string;
263
- fieldId: string;
264
- message: string;
265
- }[];
266
- /**
267
- * Schema for SDK custom block definitions.
268
- *
269
- * Validates custom blocks defined in riverbank.config.ts.
270
- * Reuses fieldSchema from @riverbankcms/blocks for field validation.
271
- *
272
- * Note: Explicit type annotation required due to recursive fieldSchema complexity.
273
- */
274
- declare const sdkCustomBlockSchema: z.ZodType<SdkCustomBlock>;
275
- /**
276
- * Schema for the complete SDK site configuration.
277
- *
278
- * Use this schema to validate configuration fetched from SDK sites
279
- * before storing in the database.
280
- *
281
- * @example
282
- * ```typescript
283
- * import { riverbankSiteConfigSchema } from '@riverbankcms/sdk/config/validation';
284
- *
285
- * const rawConfig = await response.json();
286
- * const config = riverbankSiteConfigSchema.parse(rawConfig);
287
- * ```
288
- */
289
- declare const riverbankSiteConfigSchema: z.ZodType<RiverbankSiteConfig>;
290
- /**
291
- * Type inferred from the validation schema.
292
- * This should match the RiverbankSiteConfig type from ./types.ts
293
- */
294
- type ValidatedRiverbankSiteConfig = z.infer<typeof riverbankSiteConfigSchema>;
295
- /**
296
- * Type for a validated SDK custom block.
297
- */
298
- type ValidatedSdkCustomBlock = z.infer<typeof sdkCustomBlockSchema>;
299
-
300
- export { type ValidatedRiverbankSiteConfig, type ValidatedSdkCustomBlock, blockFieldConfigSchema, blockFieldExtensionSchema, blockFieldExtensionsSchema, blockFieldOptionsSchema, containerAlignmentSchema, containerMaxWidthSchema, containerOptionsSchema, fieldSelectOptionSchema, loaderParamBindingSchema, loaderParamValueSchema, riverbankSiteConfigSchema, sdkConfigLoaderSchema, sdkCustomBlockSchema, sdkDataLoadersSchema, sdkLoaderEndpointSchema, sdkThemeConfigSchema, sdkThemePaletteSchema, sectionBackgroundSchema, sectionOptionsSchema, sectionSpacingSchema, siteStyleConfigSchema, validateFieldIdConflicts };
1
+ import 'zod';
2
+ import './schema-Bpy9N5ZI.js';
3
+ import './types-CMqVHYLG.js';
4
+ export { C as ContentConfigInput, z as ContentConfigOutput, V as ValidatedRiverbankSiteConfig, y as ValidatedSdkCustomBlock, k as blockFieldConfigSchema, m as blockFieldExtensionSchema, n as blockFieldExtensionsSchema, l as blockFieldOptionsSchema, d as containerAlignmentSchema, c as containerMaxWidthSchema, f as containerOptionsSchema, o as contentConfigSchema, j as fieldSelectOptionSchema, B as loaderParamBindingSchema, D as loaderParamValueSchema, r as riverbankSiteConfigSchema, E as sdkConfigLoaderSchema, i as sdkCustomBlockSchema, F as sdkDataLoadersSchema, A as sdkLoaderEndpointSchema, g as sdkThemeConfigSchema, h as sdkThemePaletteSchema, a as sectionBackgroundSchema, e as sectionOptionsSchema, b as sectionSpacingSchema, s as siteStyleConfigSchema, G as validateFieldIdConflicts } from './validation-C7W2Fe0i.js';
5
+ import './blockKinds-B6MWzNWp.js';
@@ -21,8 +21,10 @@
21
21
 
22
22
 
23
23
 
24
- var _chunkXLVL5WPHjs = require('./chunk-XLVL5WPH.js');
25
- require('./chunk-SF63XAX7.js');
24
+
25
+ var _chunkZIM53VP6js = require('./chunk-ZIM53VP6.js');
26
+ require('./chunk-GERCMTPQ.js');
27
+ require('./chunk-IT5ICP43.js');
26
28
  require('./chunk-HOY77YBF.js');
27
29
  require('./chunk-EGTDJ4PL.js');
28
30
  require('./chunk-DGUM43GV.js');
@@ -49,5 +51,6 @@ require('./chunk-DGUM43GV.js');
49
51
 
50
52
 
51
53
 
52
- exports.blockFieldConfigSchema = _chunkXLVL5WPHjs.blockFieldConfigSchema; exports.blockFieldExtensionSchema = _chunkXLVL5WPHjs.blockFieldExtensionSchema; exports.blockFieldExtensionsSchema = _chunkXLVL5WPHjs.blockFieldExtensionsSchema; exports.blockFieldOptionsSchema = _chunkXLVL5WPHjs.blockFieldOptionsSchema; exports.containerAlignmentSchema = _chunkXLVL5WPHjs.containerAlignmentSchema; exports.containerMaxWidthSchema = _chunkXLVL5WPHjs.containerMaxWidthSchema; exports.containerOptionsSchema = _chunkXLVL5WPHjs.containerOptionsSchema; exports.fieldSelectOptionSchema = _chunkXLVL5WPHjs.fieldSelectOptionSchema; exports.loaderParamBindingSchema = _chunkXLVL5WPHjs.loaderParamBindingSchema; exports.loaderParamValueSchema = _chunkXLVL5WPHjs.loaderParamValueSchema; exports.riverbankSiteConfigSchema = _chunkXLVL5WPHjs.riverbankSiteConfigSchema; exports.sdkConfigLoaderSchema = _chunkXLVL5WPHjs.sdkConfigLoaderSchema; exports.sdkCustomBlockSchema = _chunkXLVL5WPHjs.sdkCustomBlockSchema; exports.sdkDataLoadersSchema = _chunkXLVL5WPHjs.sdkDataLoadersSchema; exports.sdkLoaderEndpointSchema = _chunkXLVL5WPHjs.sdkLoaderEndpointSchema; exports.sdkThemeConfigSchema = _chunkXLVL5WPHjs.sdkThemeConfigSchema; exports.sdkThemePaletteSchema = _chunkXLVL5WPHjs.sdkThemePaletteSchema; exports.sectionBackgroundSchema = _chunkXLVL5WPHjs.sectionBackgroundSchema; exports.sectionOptionsSchema = _chunkXLVL5WPHjs.sectionOptionsSchema; exports.sectionSpacingSchema = _chunkXLVL5WPHjs.sectionSpacingSchema; exports.siteStyleConfigSchema = _chunkXLVL5WPHjs.siteStyleConfigSchema; exports.validateFieldIdConflicts = _chunkXLVL5WPHjs.validateFieldIdConflicts;
54
+
55
+ exports.blockFieldConfigSchema = _chunkZIM53VP6js.blockFieldConfigSchema; exports.blockFieldExtensionSchema = _chunkZIM53VP6js.blockFieldExtensionSchema; exports.blockFieldExtensionsSchema = _chunkZIM53VP6js.blockFieldExtensionsSchema; exports.blockFieldOptionsSchema = _chunkZIM53VP6js.blockFieldOptionsSchema; exports.containerAlignmentSchema = _chunkZIM53VP6js.containerAlignmentSchema; exports.containerMaxWidthSchema = _chunkZIM53VP6js.containerMaxWidthSchema; exports.containerOptionsSchema = _chunkZIM53VP6js.containerOptionsSchema; exports.contentConfigSchema = _chunkZIM53VP6js.contentConfigSchema; exports.fieldSelectOptionSchema = _chunkZIM53VP6js.fieldSelectOptionSchema; exports.loaderParamBindingSchema = _chunkZIM53VP6js.loaderParamBindingSchema; exports.loaderParamValueSchema = _chunkZIM53VP6js.loaderParamValueSchema; exports.riverbankSiteConfigSchema = _chunkZIM53VP6js.riverbankSiteConfigSchema; exports.sdkConfigLoaderSchema = _chunkZIM53VP6js.sdkConfigLoaderSchema; exports.sdkCustomBlockSchema = _chunkZIM53VP6js.sdkCustomBlockSchema; exports.sdkDataLoadersSchema = _chunkZIM53VP6js.sdkDataLoadersSchema; exports.sdkLoaderEndpointSchema = _chunkZIM53VP6js.sdkLoaderEndpointSchema; exports.sdkThemeConfigSchema = _chunkZIM53VP6js.sdkThemeConfigSchema; exports.sdkThemePaletteSchema = _chunkZIM53VP6js.sdkThemePaletteSchema; exports.sectionBackgroundSchema = _chunkZIM53VP6js.sectionBackgroundSchema; exports.sectionOptionsSchema = _chunkZIM53VP6js.sectionOptionsSchema; exports.sectionSpacingSchema = _chunkZIM53VP6js.sectionSpacingSchema; exports.siteStyleConfigSchema = _chunkZIM53VP6js.siteStyleConfigSchema; exports.validateFieldIdConflicts = _chunkZIM53VP6js.validateFieldIdConflicts;
53
56
  //# sourceMappingURL=config-validation.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/Users/will/Projects/Business/cms/builder/packages/sdk/dist/server/config-validation.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,2mDAAC","file":"/Users/will/Projects/Business/cms/builder/packages/sdk/dist/server/config-validation.js"}
1
+ {"version":3,"sources":["/Users/will/Projects/Business/cms/builder/packages/sdk/dist/server/config-validation.js"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,sDAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B,+BAA4B;AAC5B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,+qDAAC","file":"/Users/will/Projects/Business/cms/builder/packages/sdk/dist/server/config-validation.js"}
@@ -6,6 +6,7 @@ import {
6
6
  containerAlignmentSchema,
7
7
  containerMaxWidthSchema,
8
8
  containerOptionsSchema,
9
+ contentConfigSchema,
9
10
  fieldSelectOptionSchema,
10
11
  loaderParamBindingSchema,
11
12
  loaderParamValueSchema,
@@ -21,8 +22,9 @@ import {
21
22
  sectionSpacingSchema,
22
23
  siteStyleConfigSchema,
23
24
  validateFieldIdConflicts
24
- } from "./chunk-BPKYRPCQ.mjs";
25
- import "./chunk-O5DC7MYW.mjs";
25
+ } from "./chunk-BOHTTHY5.mjs";
26
+ import "./chunk-D2QLTPUJ.mjs";
27
+ import "./chunk-NKXS4TBK.mjs";
26
28
  import "./chunk-7DS4Q3GA.mjs";
27
29
  import "./chunk-USQF2XTU.mjs";
28
30
  import "./chunk-BJTO5JO5.mjs";
@@ -34,6 +36,7 @@ export {
34
36
  containerAlignmentSchema,
35
37
  containerMaxWidthSchema,
36
38
  containerOptionsSchema,
39
+ contentConfigSchema,
37
40
  fieldSelectOptionSchema,
38
41
  loaderParamBindingSchema,
39
42
  loaderParamValueSchema,