@prismicio/types-internal 4.6.0-pr.25.41a8b18 → 4.6.0-pr.26.ebb6cbc

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 (253) hide show
  1. package/dist/common/asset.d.ts +1 -2
  2. package/dist/common/asset.d.ts.map +1 -1
  3. package/dist/common/asset.js.map +1 -1
  4. package/dist/common/embed.d.ts +1 -2
  5. package/dist/common/embed.d.ts.map +1 -1
  6. package/dist/common/embed.js.map +1 -1
  7. package/dist/common/hexaColorCode.d.ts +1 -2
  8. package/dist/common/hexaColorCode.d.ts.map +1 -1
  9. package/dist/common/hexaColorCode.js.map +1 -1
  10. package/dist/common/nonEmptyString.d.ts +1 -2
  11. package/dist/common/nonEmptyString.d.ts.map +1 -1
  12. package/dist/common/nonEmptyString.js.map +1 -1
  13. package/dist/common/widgetKey.d.ts +1 -2
  14. package/dist/common/widgetKey.d.ts.map +1 -1
  15. package/dist/common/widgetKey.js.map +1 -1
  16. package/dist/content/boolean.d.ts +1 -2
  17. package/dist/content/boolean.d.ts.map +1 -1
  18. package/dist/content/boolean.js.map +1 -1
  19. package/dist/content/codec/boolean.js.map +1 -1
  20. package/dist/content/codec/document.js.map +1 -1
  21. package/dist/content/codec/embed.js.map +1 -1
  22. package/dist/content/codec/empty.js.map +1 -1
  23. package/dist/content/codec/field.js.map +1 -1
  24. package/dist/content/codec/geopoint.js.map +1 -1
  25. package/dist/content/codec/group.js +6 -4
  26. package/dist/content/codec/group.js.map +1 -1
  27. package/dist/content/codec/image.js.map +1 -1
  28. package/dist/content/codec/integrationField.js.map +1 -1
  29. package/dist/content/codec/legacyContentCtx.d.ts +2 -15
  30. package/dist/content/codec/legacyContentCtx.d.ts.map +1 -1
  31. package/dist/content/codec/legacyContentCtx.js.map +1 -1
  32. package/dist/content/codec/link.js.map +1 -1
  33. package/dist/content/codec/nestable.js.map +1 -1
  34. package/dist/content/codec/repeatable.js.map +1 -1
  35. package/dist/content/codec/richText.js.map +1 -1
  36. package/dist/content/codec/separator.js.map +1 -1
  37. package/dist/content/codec/slice.js.map +1 -1
  38. package/dist/content/codec/slices.js.map +1 -1
  39. package/dist/content/codec/table.js.map +1 -1
  40. package/dist/content/codec/uid.js.map +1 -1
  41. package/dist/content/codec/widget.js.map +1 -1
  42. package/dist/content/document.d.ts +1 -2
  43. package/dist/content/document.d.ts.map +1 -1
  44. package/dist/content/document.js.map +1 -1
  45. package/dist/content/embed.d.ts +1 -2
  46. package/dist/content/embed.d.ts.map +1 -1
  47. package/dist/content/embed.js.map +1 -1
  48. package/dist/content/empty.d.ts +1 -2
  49. package/dist/content/empty.d.ts.map +1 -1
  50. package/dist/content/empty.js.map +1 -1
  51. package/dist/content/field.d.ts +1 -2
  52. package/dist/content/field.d.ts.map +1 -1
  53. package/dist/content/field.js.map +1 -1
  54. package/dist/content/geopoint.d.ts +1 -2
  55. package/dist/content/geopoint.d.ts.map +1 -1
  56. package/dist/content/geopoint.js.map +1 -1
  57. package/dist/content/group.d.ts +3 -2
  58. package/dist/content/group.d.ts.map +1 -1
  59. package/dist/content/group.js.map +1 -1
  60. package/dist/content/image.d.ts +1 -2
  61. package/dist/content/image.d.ts.map +1 -1
  62. package/dist/content/image.js.map +1 -1
  63. package/dist/content/integrationField.d.ts +1 -2
  64. package/dist/content/integrationField.d.ts.map +1 -1
  65. package/dist/content/integrationField.js.map +1 -1
  66. package/dist/content/legacy/boolean.js.map +1 -1
  67. package/dist/content/legacy/document.d.ts +1 -2
  68. package/dist/content/legacy/document.d.ts.map +1 -1
  69. package/dist/content/legacy/document.js.map +1 -1
  70. package/dist/content/legacy/embed.js.map +1 -1
  71. package/dist/content/legacy/empty.js.map +1 -1
  72. package/dist/content/legacy/field.js.map +1 -1
  73. package/dist/content/legacy/geopoint.js.map +1 -1
  74. package/dist/content/legacy/group.d.ts +2 -2
  75. package/dist/content/legacy/group.d.ts.map +1 -1
  76. package/dist/content/legacy/group.js.map +1 -1
  77. package/dist/content/legacy/image.d.ts +0 -1
  78. package/dist/content/legacy/image.d.ts.map +1 -1
  79. package/dist/content/legacy/image.js.map +1 -1
  80. package/dist/content/legacy/integrationField.js.map +1 -1
  81. package/dist/content/legacy/link.d.ts +1 -2
  82. package/dist/content/legacy/link.d.ts.map +1 -1
  83. package/dist/content/legacy/link.js.map +1 -1
  84. package/dist/content/legacy/nestable.d.ts +12 -0
  85. package/dist/content/legacy/nestable.js.map +1 -1
  86. package/dist/content/legacy/repeatable.js.map +1 -1
  87. package/dist/content/legacy/richText.d.ts +5 -2
  88. package/dist/content/legacy/richText.d.ts.map +1 -1
  89. package/dist/content/legacy/richText.js.map +1 -1
  90. package/dist/content/legacy/separator.js.map +1 -1
  91. package/dist/content/legacy/slice.js +1 -1
  92. package/dist/content/legacy/slice.js.map +1 -1
  93. package/dist/content/legacy/slices.js.map +1 -1
  94. package/dist/content/legacy/table.d.ts +2 -0
  95. package/dist/content/legacy/table.js.map +1 -1
  96. package/dist/content/legacy/uid.js.map +1 -1
  97. package/dist/content/link.d.ts +7 -8
  98. package/dist/content/link.d.ts.map +1 -1
  99. package/dist/content/link.js.map +1 -1
  100. package/dist/content/nestable.d.ts +0 -1
  101. package/dist/content/nestable.d.ts.map +1 -1
  102. package/dist/content/nestable.js.map +1 -1
  103. package/dist/content/repeatable.d.ts +3 -4
  104. package/dist/content/repeatable.d.ts.map +1 -1
  105. package/dist/content/repeatable.js.map +1 -1
  106. package/dist/content/richText.d.ts +2 -3
  107. package/dist/content/richText.d.ts.map +1 -1
  108. package/dist/content/richText.js +2 -2
  109. package/dist/content/richText.js.map +1 -1
  110. package/dist/content/separator.d.ts +1 -2
  111. package/dist/content/separator.d.ts.map +1 -1
  112. package/dist/content/separator.js.map +1 -1
  113. package/dist/content/slice.d.ts +13 -14
  114. package/dist/content/slice.d.ts.map +1 -1
  115. package/dist/content/slice.js.map +1 -1
  116. package/dist/content/slices.d.ts +13 -14
  117. package/dist/content/slices.d.ts.map +1 -1
  118. package/dist/content/slices.js.map +1 -1
  119. package/dist/content/table.d.ts +1 -2
  120. package/dist/content/table.d.ts.map +1 -1
  121. package/dist/content/table.js.map +1 -1
  122. package/dist/content/uid.d.ts +1 -2
  123. package/dist/content/uid.d.ts.map +1 -1
  124. package/dist/content/uid.js.map +1 -1
  125. package/dist/content/widget.d.ts +0 -1
  126. package/dist/content/widget.d.ts.map +1 -1
  127. package/dist/content/widget.js.map +1 -1
  128. package/dist/helpers/contentPath.d.ts +1 -1
  129. package/dist/helpers/contentPath.d.ts.map +1 -1
  130. package/dist/helpers/contentPath.js +1 -1
  131. package/dist/helpers/contentPath.js.map +1 -1
  132. package/dist/helpers/customTypeModel.d.ts +1 -3
  133. package/dist/helpers/customTypeModel.d.ts.map +1 -1
  134. package/dist/helpers/customTypeModel.js +1 -1
  135. package/dist/helpers/customTypeModel.js.map +1 -1
  136. package/dist/helpers/documentContent.d.ts +1 -3
  137. package/dist/helpers/documentContent.d.ts.map +1 -1
  138. package/dist/helpers/documentContent.js +1 -1
  139. package/dist/helpers/documentContent.js.map +1 -1
  140. package/dist/helpers/fieldModel.d.ts +1 -1
  141. package/dist/helpers/fieldModel.d.ts.map +1 -1
  142. package/dist/helpers/fieldModel.js +1 -1
  143. package/dist/helpers/fieldModel.js.map +1 -1
  144. package/dist/helpers/imageContent.d.ts +2 -6
  145. package/dist/helpers/imageContent.d.ts.map +1 -1
  146. package/dist/helpers/imageContent.js +1 -1
  147. package/dist/helpers/imageContent.js.map +1 -1
  148. package/dist/helpers/repository.d.ts +1 -1
  149. package/dist/helpers/repository.d.ts.map +1 -1
  150. package/dist/helpers/repository.js +1 -1
  151. package/dist/helpers/repository.js.map +1 -1
  152. package/dist/helpers/sliceContent.d.ts +1 -3
  153. package/dist/helpers/sliceContent.d.ts.map +1 -1
  154. package/dist/helpers/sliceContent.js.map +1 -1
  155. package/dist/helpers/sliceModel.d.ts +1 -1
  156. package/dist/helpers/sliceModel.d.ts.map +1 -1
  157. package/dist/helpers/sliceModel.js +1 -1
  158. package/dist/helpers/sliceModel.js.map +1 -1
  159. package/dist/helpers/traverseContent.d.ts +0 -1
  160. package/dist/helpers/traverseContent.d.ts.map +1 -1
  161. package/dist/helpers/traverseContent.js.map +1 -1
  162. package/dist/helpers/traverseContentWithModel.d.ts +0 -1
  163. package/dist/helpers/traverseContentWithModel.d.ts.map +1 -1
  164. package/dist/helpers/traverseContentWithModel.js.map +1 -1
  165. package/dist/helpers/withDefaultContent.d.ts +1 -3
  166. package/dist/helpers/withDefaultContent.d.ts.map +1 -1
  167. package/dist/helpers/withDefaultContent.js +1 -1
  168. package/dist/helpers/withDefaultContent.js.map +1 -1
  169. package/dist/io-ts.d.ts +1153 -1159
  170. package/dist/io-ts.d.ts.map +1 -1
  171. package/dist/io-ts.js.map +1 -1
  172. package/dist/model/boolean.d.ts +1 -2
  173. package/dist/model/boolean.d.ts.map +1 -1
  174. package/dist/model/boolean.js.map +1 -1
  175. package/dist/model/color.d.ts +1 -2
  176. package/dist/model/color.d.ts.map +1 -1
  177. package/dist/model/color.js.map +1 -1
  178. package/dist/model/customType.d.ts +3 -4
  179. package/dist/model/customType.d.ts.map +1 -1
  180. package/dist/model/customType.js +1 -1
  181. package/dist/model/customType.js.map +1 -1
  182. package/dist/model/date.d.ts +1 -2
  183. package/dist/model/date.d.ts.map +1 -1
  184. package/dist/model/date.js.map +1 -1
  185. package/dist/model/embed.d.ts +1 -2
  186. package/dist/model/embed.d.ts.map +1 -1
  187. package/dist/model/embed.js.map +1 -1
  188. package/dist/model/geopoint.d.ts +1 -2
  189. package/dist/model/geopoint.d.ts.map +1 -1
  190. package/dist/model/geopoint.js.map +1 -1
  191. package/dist/model/group.d.ts +39 -40
  192. package/dist/model/group.d.ts.map +1 -1
  193. package/dist/model/group.js +1 -1
  194. package/dist/model/group.js.map +1 -1
  195. package/dist/model/image.d.ts +1 -2
  196. package/dist/model/image.d.ts.map +1 -1
  197. package/dist/model/image.js +1 -1
  198. package/dist/model/image.js.map +1 -1
  199. package/dist/model/integrationField.d.ts +1 -2
  200. package/dist/model/integrationField.d.ts.map +1 -1
  201. package/dist/model/integrationField.js.map +1 -1
  202. package/dist/model/link.d.ts +2 -3
  203. package/dist/model/link.d.ts.map +1 -1
  204. package/dist/model/link.js.map +1 -1
  205. package/dist/model/nestable.d.ts +0 -1
  206. package/dist/model/nestable.d.ts.map +1 -1
  207. package/dist/model/nestable.js.map +1 -1
  208. package/dist/model/number.d.ts +1 -2
  209. package/dist/model/number.d.ts.map +1 -1
  210. package/dist/model/number.js.map +1 -1
  211. package/dist/model/range.d.ts +1 -2
  212. package/dist/model/range.d.ts.map +1 -1
  213. package/dist/model/range.js.map +1 -1
  214. package/dist/model/richText.d.ts +1 -2
  215. package/dist/model/richText.d.ts.map +1 -1
  216. package/dist/model/richText.js +1 -1
  217. package/dist/model/richText.js.map +1 -1
  218. package/dist/model/select.d.ts +1 -2
  219. package/dist/model/select.d.ts.map +1 -1
  220. package/dist/model/select.js.map +1 -1
  221. package/dist/model/separator.d.ts +1 -2
  222. package/dist/model/separator.d.ts.map +1 -1
  223. package/dist/model/separator.js.map +1 -1
  224. package/dist/model/slice.d.ts +44 -45
  225. package/dist/model/slice.d.ts.map +1 -1
  226. package/dist/model/slice.js +1 -1
  227. package/dist/model/slice.js.map +1 -1
  228. package/dist/model/slices.d.ts +1 -2
  229. package/dist/model/slices.d.ts.map +1 -1
  230. package/dist/model/slices.js +1 -1
  231. package/dist/model/slices.js.map +1 -1
  232. package/dist/model/table.d.ts +3 -3
  233. package/dist/model/table.d.ts.map +1 -1
  234. package/dist/model/table.js.map +1 -1
  235. package/dist/model/text.d.ts +1 -2
  236. package/dist/model/text.d.ts.map +1 -1
  237. package/dist/model/text.js.map +1 -1
  238. package/dist/model/timestamp.d.ts +1 -2
  239. package/dist/model/timestamp.d.ts.map +1 -1
  240. package/dist/model/timestamp.js.map +1 -1
  241. package/dist/model/uid.d.ts +1 -2
  242. package/dist/model/uid.d.ts.map +1 -1
  243. package/dist/model/uid.js.map +1 -1
  244. package/dist/model/widget.d.ts +25 -26
  245. package/dist/model/widget.d.ts.map +1 -1
  246. package/dist/model/widget.js +1 -1
  247. package/dist/model/widget.js.map +1 -1
  248. package/dist/zod4.d.ts +3351 -3353
  249. package/dist/zod4.d.ts.map +1 -1
  250. package/dist/zod4.js.map +1 -1
  251. package/package.json +11 -12
  252. package/src/helpers/customTypeModel.ts +3 -1
  253. package/src/model/image.ts +4 -1
package/dist/io-ts.d.ts CHANGED
@@ -9,19 +9,19 @@ import { NestableModel } from "./model/nestable.js";
9
9
  import { DynamicSliceModel, SliceContentModel, StaticSliceModel } from "./model/slice.js";
10
10
  import { DynamicWidgetModel, FieldOrSliceType, StaticWidgetModel } from "./model/widget.js";
11
11
  import { LegacyContentCtx } from "./content/codec/legacyContentCtx.js";
12
+ import "./index.js";
12
13
  import { GroupLegacy as GroupLegacy$1 } from "./content/legacy/group.js";
13
14
  import * as t from "io-ts";
14
-
15
15
  //#region src/io-ts.d.ts
16
16
  declare const AssetSchema: t.Type<{
17
17
  id: string;
18
18
  last_modified: string;
19
- kind: "image" | "all";
20
- origin_url: string;
21
- url: string;
19
+ kind: "all" | "image";
22
20
  filename?: string | undefined;
23
21
  extension?: string | undefined;
24
22
  size?: number | undefined;
23
+ origin_url: string;
24
+ url: string;
25
25
  width?: number | undefined;
26
26
  height?: number | undefined;
27
27
  notes?: string | undefined;
@@ -30,12 +30,12 @@ declare const AssetSchema: t.Type<{
30
30
  }, {
31
31
  id: string;
32
32
  last_modified: string;
33
- kind: "image" | "all";
34
- origin_url: string;
35
- url: string;
33
+ kind: "all" | "image";
36
34
  filename?: string | undefined;
37
35
  extension?: string | undefined;
38
36
  size?: number | undefined;
37
+ origin_url: string;
38
+ url: string;
39
39
  width?: number | undefined;
40
40
  height?: number | undefined;
41
41
  notes?: string | undefined;
@@ -121,45 +121,45 @@ declare const FilledLinkContentSchema: t.Type<{
121
121
  __TYPE__: "LinkContent";
122
122
  key: string;
123
123
  value: {
124
- variant?: string | undefined;
125
124
  text?: string | undefined;
125
+ variant?: string | undefined;
126
126
  } & FilledLinkContentValue;
127
127
  }, {
128
128
  __TYPE__: "LinkContent";
129
129
  key: string;
130
130
  value: {
131
- variant?: string | undefined;
132
131
  text?: string | undefined;
132
+ variant?: string | undefined;
133
133
  } & FilledLinkContentValue;
134
134
  }, unknown>;
135
135
  declare const EmptyLinkContentSchema: t.Type<{
136
136
  __TYPE__: "LinkContent";
137
137
  key: string;
138
138
  value: {
139
- variant?: string | undefined;
140
139
  text?: string | undefined;
140
+ variant?: string | undefined;
141
141
  } & EmptyLinkContentValue;
142
142
  }, {
143
143
  __TYPE__: "LinkContent";
144
144
  key: string;
145
145
  value: {
146
- variant?: string | undefined;
147
146
  text?: string | undefined;
147
+ variant?: string | undefined;
148
148
  } & EmptyLinkContentValue;
149
149
  }, unknown>;
150
150
  declare const LinkContentSchema: t.Type<{
151
151
  __TYPE__: "LinkContent";
152
152
  key: string;
153
153
  value: {
154
- variant?: string | undefined;
155
154
  text?: string | undefined;
155
+ variant?: string | undefined;
156
156
  } & LinkContentValue;
157
157
  }, {
158
158
  __TYPE__: "LinkContent";
159
159
  key: string;
160
160
  value: {
161
- variant?: string | undefined;
162
161
  text?: string | undefined;
162
+ variant?: string | undefined;
163
163
  } & LinkContentValue;
164
164
  }, unknown>;
165
165
  declare const NumberContentSchema: t.Type<{
@@ -198,8 +198,9 @@ declare const SharedSliceContentSchema: t.Type<{
198
198
  __TYPE__: "SharedSliceContent";
199
199
  variation: string;
200
200
  primary: Record<string, {
201
- __TYPE__: "BooleanContent";
202
- value: boolean;
201
+ type: "Text";
202
+ value: string;
203
+ __TYPE__: "FieldContent";
203
204
  } | {
204
205
  type: "Color";
205
206
  value: string;
@@ -209,21 +210,9 @@ declare const SharedSliceContentSchema: t.Type<{
209
210
  value: string;
210
211
  __TYPE__: "FieldContent";
211
212
  } | {
212
- type: string;
213
- __TYPE__: "EmptyContent";
214
- } | {
215
- position: {
216
- lat: number;
217
- lng: number;
218
- };
219
- __TYPE__: "GeoPointContent";
220
- } | {
221
- __TYPE__: "LinkContent";
222
- key: string;
223
- value: {
224
- variant?: string | undefined;
225
- text?: string | undefined;
226
- } & LinkContentValue;
213
+ type: "Timestamp";
214
+ value: string;
215
+ __TYPE__: "FieldContent";
227
216
  } | {
228
217
  type: "Number";
229
218
  value: string;
@@ -237,20 +226,14 @@ declare const SharedSliceContentSchema: t.Type<{
237
226
  value: string;
238
227
  __TYPE__: "FieldContent";
239
228
  } | {
240
- __TYPE__: "SeparatorContent";
241
- } | {
242
- type: "Text";
243
- value: string;
244
- __TYPE__: "FieldContent";
229
+ type: string;
230
+ __TYPE__: "EmptyContent";
245
231
  } | {
246
- type: "Timestamp";
247
- value: string;
248
- __TYPE__: "FieldContent";
232
+ __TYPE__: "BooleanContent";
233
+ value: boolean;
249
234
  } | {
250
235
  embed_url: string;
251
236
  type: string;
252
- __TYPE__: "EmbedContent";
253
- all: unknown;
254
237
  version?: string | number | null | undefined;
255
238
  title?: string | null | undefined;
256
239
  author_name?: string | null | undefined;
@@ -262,6 +245,14 @@ declare const SharedSliceContentSchema: t.Type<{
262
245
  thumbnail_width?: number | null | undefined;
263
246
  thumbnail_height?: number | null | undefined;
264
247
  html?: string | null | undefined;
248
+ __TYPE__: "EmbedContent";
249
+ all: unknown;
250
+ } | {
251
+ position: {
252
+ lat: number;
253
+ lng: number;
254
+ };
255
+ __TYPE__: "GeoPointContent";
265
256
  } | {
266
257
  origin: {
267
258
  id: string;
@@ -279,7 +270,6 @@ declare const SharedSliceContentSchema: t.Type<{
279
270
  };
280
271
  background: string;
281
272
  };
282
- __TYPE__: "ImageContent";
283
273
  url?: string | undefined;
284
274
  credits?: string | null | undefined;
285
275
  alt?: string | null | undefined;
@@ -306,9 +296,17 @@ declare const SharedSliceContentSchema: t.Type<{
306
296
  alt?: string | null | undefined;
307
297
  provider?: string | null | undefined;
308
298
  }> | undefined;
299
+ __TYPE__: "ImageContent";
309
300
  } | {
310
301
  __TYPE__: "IntegrationFieldsContent";
311
302
  value: string;
303
+ } | {
304
+ __TYPE__: "LinkContent";
305
+ key: string;
306
+ value: {
307
+ text?: string | undefined;
308
+ variant?: string | undefined;
309
+ } & LinkContentValue;
312
310
  } | {
313
311
  __TYPE__: "RepeatableContent";
314
312
  type: "Link";
@@ -316,13 +314,15 @@ declare const SharedSliceContentSchema: t.Type<{
316
314
  __TYPE__: "LinkContent";
317
315
  key: string;
318
316
  value: {
319
- variant?: string | undefined;
320
317
  text?: string | undefined;
318
+ variant?: string | undefined;
321
319
  } & LinkContentValue;
322
320
  }[];
323
321
  } | {
324
322
  __TYPE__: "StructuredTextContent";
325
323
  value: RichTextContentBlock[];
324
+ } | {
325
+ __TYPE__: "SeparatorContent";
326
326
  } | {
327
327
  __TYPE__: "TableContent";
328
328
  content: {
@@ -330,7 +330,7 @@ declare const SharedSliceContentSchema: t.Type<{
330
330
  type: "tableRow";
331
331
  content: {
332
332
  key: string;
333
- type: "tableHeader" | "tableCell";
333
+ type: "tableCell" | "tableHeader";
334
334
  content: {
335
335
  __TYPE__: "StructuredTextContent";
336
336
  value: RichTextContentBlock[];
@@ -347,8 +347,9 @@ declare const SharedSliceContentSchema: t.Type<{
347
347
  __TYPE__: "SharedSliceContent";
348
348
  variation: string;
349
349
  primary: Record<string, {
350
- __TYPE__: "BooleanContent";
351
- value: boolean;
350
+ type: "Text";
351
+ value: string;
352
+ __TYPE__: "FieldContent";
352
353
  } | {
353
354
  type: "Color";
354
355
  value: string;
@@ -358,21 +359,9 @@ declare const SharedSliceContentSchema: t.Type<{
358
359
  value: string;
359
360
  __TYPE__: "FieldContent";
360
361
  } | {
361
- type: string;
362
- __TYPE__: "EmptyContent";
363
- } | {
364
- position: {
365
- lat: number;
366
- lng: number;
367
- };
368
- __TYPE__: "GeoPointContent";
369
- } | {
370
- __TYPE__: "LinkContent";
371
- key: string;
372
- value: {
373
- variant?: string | undefined;
374
- text?: string | undefined;
375
- } & LinkContentValue;
362
+ type: "Timestamp";
363
+ value: string;
364
+ __TYPE__: "FieldContent";
376
365
  } | {
377
366
  type: "Number";
378
367
  value: string;
@@ -386,20 +375,14 @@ declare const SharedSliceContentSchema: t.Type<{
386
375
  value: string;
387
376
  __TYPE__: "FieldContent";
388
377
  } | {
389
- __TYPE__: "SeparatorContent";
390
- } | {
391
- type: "Text";
392
- value: string;
393
- __TYPE__: "FieldContent";
378
+ type: string;
379
+ __TYPE__: "EmptyContent";
394
380
  } | {
395
- type: "Timestamp";
396
- value: string;
397
- __TYPE__: "FieldContent";
381
+ __TYPE__: "BooleanContent";
382
+ value: boolean;
398
383
  } | {
399
384
  embed_url: string;
400
385
  type: string;
401
- __TYPE__: "EmbedContent";
402
- all: unknown;
403
386
  version?: string | number | null | undefined;
404
387
  title?: string | null | undefined;
405
388
  author_name?: string | null | undefined;
@@ -411,6 +394,14 @@ declare const SharedSliceContentSchema: t.Type<{
411
394
  thumbnail_width?: number | null | undefined;
412
395
  thumbnail_height?: number | null | undefined;
413
396
  html?: string | null | undefined;
397
+ __TYPE__: "EmbedContent";
398
+ all: unknown;
399
+ } | {
400
+ position: {
401
+ lat: number;
402
+ lng: number;
403
+ };
404
+ __TYPE__: "GeoPointContent";
414
405
  } | {
415
406
  origin: {
416
407
  id: string;
@@ -428,7 +419,6 @@ declare const SharedSliceContentSchema: t.Type<{
428
419
  };
429
420
  background: string;
430
421
  };
431
- __TYPE__: "ImageContent";
432
422
  url?: string | undefined;
433
423
  credits?: string | null | undefined;
434
424
  alt?: string | null | undefined;
@@ -455,9 +445,17 @@ declare const SharedSliceContentSchema: t.Type<{
455
445
  alt?: string | null | undefined;
456
446
  provider?: string | null | undefined;
457
447
  }> | undefined;
448
+ __TYPE__: "ImageContent";
458
449
  } | {
459
450
  __TYPE__: "IntegrationFieldsContent";
460
451
  value: string;
452
+ } | {
453
+ __TYPE__: "LinkContent";
454
+ key: string;
455
+ value: {
456
+ text?: string | undefined;
457
+ variant?: string | undefined;
458
+ } & LinkContentValue;
461
459
  } | {
462
460
  __TYPE__: "RepeatableContent";
463
461
  type: "Link";
@@ -465,13 +463,15 @@ declare const SharedSliceContentSchema: t.Type<{
465
463
  __TYPE__: "LinkContent";
466
464
  key: string;
467
465
  value: {
468
- variant?: string | undefined;
469
466
  text?: string | undefined;
467
+ variant?: string | undefined;
470
468
  } & LinkContentValue;
471
469
  }[];
472
470
  } | {
473
471
  __TYPE__: "StructuredTextContent";
474
472
  value: RichTextContentBlock[];
473
+ } | {
474
+ __TYPE__: "SeparatorContent";
475
475
  } | {
476
476
  __TYPE__: "TableContent";
477
477
  content: {
@@ -479,7 +479,7 @@ declare const SharedSliceContentSchema: t.Type<{
479
479
  type: "tableRow";
480
480
  content: {
481
481
  key: string;
482
- type: "tableHeader" | "tableCell";
482
+ type: "tableCell" | "tableHeader";
483
483
  content: {
484
484
  __TYPE__: "StructuredTextContent";
485
485
  value: RichTextContentBlock[];
@@ -512,6 +512,10 @@ declare const TimestampContentSchema: t.Type<{
512
512
  __TYPE__: "FieldContent";
513
513
  }, unknown>;
514
514
  declare const FieldContentSchema: t.Type<{
515
+ type: "Text";
516
+ value: string;
517
+ __TYPE__: "FieldContent";
518
+ } | {
515
519
  type: "Color";
516
520
  value: string;
517
521
  __TYPE__: "FieldContent";
@@ -519,6 +523,10 @@ declare const FieldContentSchema: t.Type<{
519
523
  type: "Date";
520
524
  value: string;
521
525
  __TYPE__: "FieldContent";
526
+ } | {
527
+ type: "Timestamp";
528
+ value: string;
529
+ __TYPE__: "FieldContent";
522
530
  } | {
523
531
  type: "Number";
524
532
  value: string;
@@ -531,15 +539,11 @@ declare const FieldContentSchema: t.Type<{
531
539
  type: "Select";
532
540
  value: string;
533
541
  __TYPE__: "FieldContent";
534
- } | {
542
+ }, {
535
543
  type: "Text";
536
544
  value: string;
537
545
  __TYPE__: "FieldContent";
538
546
  } | {
539
- type: "Timestamp";
540
- value: string;
541
- __TYPE__: "FieldContent";
542
- }, {
543
547
  type: "Color";
544
548
  value: string;
545
549
  __TYPE__: "FieldContent";
@@ -548,23 +552,19 @@ declare const FieldContentSchema: t.Type<{
548
552
  value: string;
549
553
  __TYPE__: "FieldContent";
550
554
  } | {
551
- type: "Number";
552
- value: string;
553
- __TYPE__: "FieldContent";
554
- } | {
555
- type: "Range";
555
+ type: "Timestamp";
556
556
  value: string;
557
557
  __TYPE__: "FieldContent";
558
558
  } | {
559
- type: "Select";
559
+ type: "Number";
560
560
  value: string;
561
561
  __TYPE__: "FieldContent";
562
562
  } | {
563
- type: "Text";
563
+ type: "Range";
564
564
  value: string;
565
565
  __TYPE__: "FieldContent";
566
566
  } | {
567
- type: "Timestamp";
567
+ type: "Select";
568
568
  value: string;
569
569
  __TYPE__: "FieldContent";
570
570
  }, unknown>;
@@ -585,8 +585,6 @@ declare const IntegrationFieldContentSchema: t.Type<{
585
585
  declare const EmbedContentSchema: t.Type<{
586
586
  embed_url: string;
587
587
  type: string;
588
- __TYPE__: "EmbedContent";
589
- all: unknown;
590
588
  version?: string | number | null | undefined;
591
589
  title?: string | null | undefined;
592
590
  author_name?: string | null | undefined;
@@ -598,11 +596,11 @@ declare const EmbedContentSchema: t.Type<{
598
596
  thumbnail_width?: number | null | undefined;
599
597
  thumbnail_height?: number | null | undefined;
600
598
  html?: string | null | undefined;
599
+ __TYPE__: "EmbedContent";
600
+ all: unknown;
601
601
  }, {
602
602
  embed_url: string;
603
603
  type: string;
604
- __TYPE__: "EmbedContent";
605
- all: unknown;
606
604
  version?: string | number | null | undefined;
607
605
  title?: string | null | undefined;
608
606
  author_name?: string | null | undefined;
@@ -614,6 +612,8 @@ declare const EmbedContentSchema: t.Type<{
614
612
  thumbnail_width?: number | null | undefined;
615
613
  thumbnail_height?: number | null | undefined;
616
614
  html?: string | null | undefined;
615
+ __TYPE__: "EmbedContent";
616
+ all: unknown;
617
617
  }, unknown>;
618
618
  declare const ImageContentViewSchema: t.Type<{
619
619
  origin: {
@@ -675,7 +675,6 @@ declare const ImageContentSchema: t.Type<{
675
675
  };
676
676
  background: string;
677
677
  };
678
- __TYPE__: "ImageContent";
679
678
  url?: string | undefined;
680
679
  credits?: string | null | undefined;
681
680
  alt?: string | null | undefined;
@@ -702,6 +701,7 @@ declare const ImageContentSchema: t.Type<{
702
701
  alt?: string | null | undefined;
703
702
  provider?: string | null | undefined;
704
703
  }> | undefined;
704
+ __TYPE__: "ImageContent";
705
705
  }, {
706
706
  origin: {
707
707
  id: string;
@@ -719,7 +719,6 @@ declare const ImageContentSchema: t.Type<{
719
719
  };
720
720
  background: string;
721
721
  };
722
- __TYPE__: "ImageContent";
723
722
  url?: string | undefined;
724
723
  credits?: string | null | undefined;
725
724
  alt?: string | null | undefined;
@@ -746,6 +745,7 @@ declare const ImageContentSchema: t.Type<{
746
745
  alt?: string | null | undefined;
747
746
  provider?: string | null | undefined;
748
747
  }> | undefined;
748
+ __TYPE__: "ImageContent";
749
749
  }, unknown>;
750
750
  declare const RichTextContentSchema: t.Type<{
751
751
  __TYPE__: "StructuredTextContent";
@@ -763,7 +763,7 @@ declare const TableContentSchema: t.Type<{
763
763
  type: "tableRow";
764
764
  content: {
765
765
  key: string;
766
- type: "tableHeader" | "tableCell";
766
+ type: "tableCell" | "tableHeader";
767
767
  content: {
768
768
  __TYPE__: "StructuredTextContent";
769
769
  value: RichTextContentBlock[];
@@ -778,7 +778,7 @@ declare const TableContentSchema: t.Type<{
778
778
  type: "tableRow";
779
779
  content: {
780
780
  key: string;
781
- type: "tableHeader" | "tableCell";
781
+ type: "tableCell" | "tableHeader";
782
782
  content: {
783
783
  __TYPE__: "StructuredTextContent";
784
784
  value: RichTextContentBlock[];
@@ -794,8 +794,8 @@ declare const RepeatableContentSchema: t.Type<{
794
794
  __TYPE__: "LinkContent";
795
795
  key: string;
796
796
  value: {
797
- variant?: string | undefined;
798
797
  text?: string | undefined;
798
+ variant?: string | undefined;
799
799
  } & LinkContentValue;
800
800
  }[];
801
801
  }, {
@@ -805,14 +805,15 @@ declare const RepeatableContentSchema: t.Type<{
805
805
  __TYPE__: "LinkContent";
806
806
  key: string;
807
807
  value: {
808
- variant?: string | undefined;
809
808
  text?: string | undefined;
809
+ variant?: string | undefined;
810
810
  } & LinkContentValue;
811
811
  }[];
812
812
  }, unknown>;
813
813
  declare const NestableContentSchema: t.Type<{
814
- __TYPE__: "BooleanContent";
815
- value: boolean;
814
+ type: "Text";
815
+ value: string;
816
+ __TYPE__: "FieldContent";
816
817
  } | {
817
818
  type: "Color";
818
819
  value: string;
@@ -822,21 +823,9 @@ declare const NestableContentSchema: t.Type<{
822
823
  value: string;
823
824
  __TYPE__: "FieldContent";
824
825
  } | {
825
- type: string;
826
- __TYPE__: "EmptyContent";
827
- } | {
828
- position: {
829
- lat: number;
830
- lng: number;
831
- };
832
- __TYPE__: "GeoPointContent";
833
- } | {
834
- __TYPE__: "LinkContent";
835
- key: string;
836
- value: {
837
- variant?: string | undefined;
838
- text?: string | undefined;
839
- } & LinkContentValue;
826
+ type: "Timestamp";
827
+ value: string;
828
+ __TYPE__: "FieldContent";
840
829
  } | {
841
830
  type: "Number";
842
831
  value: string;
@@ -850,20 +839,14 @@ declare const NestableContentSchema: t.Type<{
850
839
  value: string;
851
840
  __TYPE__: "FieldContent";
852
841
  } | {
853
- __TYPE__: "SeparatorContent";
854
- } | {
855
- type: "Text";
856
- value: string;
857
- __TYPE__: "FieldContent";
842
+ type: string;
843
+ __TYPE__: "EmptyContent";
858
844
  } | {
859
- type: "Timestamp";
860
- value: string;
861
- __TYPE__: "FieldContent";
845
+ __TYPE__: "BooleanContent";
846
+ value: boolean;
862
847
  } | {
863
848
  embed_url: string;
864
849
  type: string;
865
- __TYPE__: "EmbedContent";
866
- all: unknown;
867
850
  version?: string | number | null | undefined;
868
851
  title?: string | null | undefined;
869
852
  author_name?: string | null | undefined;
@@ -875,6 +858,14 @@ declare const NestableContentSchema: t.Type<{
875
858
  thumbnail_width?: number | null | undefined;
876
859
  thumbnail_height?: number | null | undefined;
877
860
  html?: string | null | undefined;
861
+ __TYPE__: "EmbedContent";
862
+ all: unknown;
863
+ } | {
864
+ position: {
865
+ lat: number;
866
+ lng: number;
867
+ };
868
+ __TYPE__: "GeoPointContent";
878
869
  } | {
879
870
  origin: {
880
871
  id: string;
@@ -892,7 +883,6 @@ declare const NestableContentSchema: t.Type<{
892
883
  };
893
884
  background: string;
894
885
  };
895
- __TYPE__: "ImageContent";
896
886
  url?: string | undefined;
897
887
  credits?: string | null | undefined;
898
888
  alt?: string | null | undefined;
@@ -919,9 +909,17 @@ declare const NestableContentSchema: t.Type<{
919
909
  alt?: string | null | undefined;
920
910
  provider?: string | null | undefined;
921
911
  }> | undefined;
912
+ __TYPE__: "ImageContent";
922
913
  } | {
923
914
  __TYPE__: "IntegrationFieldsContent";
924
915
  value: string;
916
+ } | {
917
+ __TYPE__: "LinkContent";
918
+ key: string;
919
+ value: {
920
+ text?: string | undefined;
921
+ variant?: string | undefined;
922
+ } & LinkContentValue;
925
923
  } | {
926
924
  __TYPE__: "RepeatableContent";
927
925
  type: "Link";
@@ -929,13 +927,15 @@ declare const NestableContentSchema: t.Type<{
929
927
  __TYPE__: "LinkContent";
930
928
  key: string;
931
929
  value: {
932
- variant?: string | undefined;
933
930
  text?: string | undefined;
931
+ variant?: string | undefined;
934
932
  } & LinkContentValue;
935
933
  }[];
936
934
  } | {
937
935
  __TYPE__: "StructuredTextContent";
938
936
  value: RichTextContentBlock[];
937
+ } | {
938
+ __TYPE__: "SeparatorContent";
939
939
  } | {
940
940
  __TYPE__: "TableContent";
941
941
  content: {
@@ -943,7 +943,7 @@ declare const NestableContentSchema: t.Type<{
943
943
  type: "tableRow";
944
944
  content: {
945
945
  key: string;
946
- type: "tableHeader" | "tableCell";
946
+ type: "tableCell" | "tableHeader";
947
947
  content: {
948
948
  __TYPE__: "StructuredTextContent";
949
949
  value: RichTextContentBlock[];
@@ -952,8 +952,9 @@ declare const NestableContentSchema: t.Type<{
952
952
  }[];
953
953
  }[];
954
954
  }, {
955
- __TYPE__: "BooleanContent";
956
- value: boolean;
955
+ type: "Text";
956
+ value: string;
957
+ __TYPE__: "FieldContent";
957
958
  } | {
958
959
  type: "Color";
959
960
  value: string;
@@ -963,25 +964,13 @@ declare const NestableContentSchema: t.Type<{
963
964
  value: string;
964
965
  __TYPE__: "FieldContent";
965
966
  } | {
966
- type: string;
967
- __TYPE__: "EmptyContent";
967
+ type: "Timestamp";
968
+ value: string;
969
+ __TYPE__: "FieldContent";
968
970
  } | {
969
- position: {
970
- lat: number;
971
- lng: number;
972
- };
973
- __TYPE__: "GeoPointContent";
974
- } | {
975
- __TYPE__: "LinkContent";
976
- key: string;
977
- value: {
978
- variant?: string | undefined;
979
- text?: string | undefined;
980
- } & LinkContentValue;
981
- } | {
982
- type: "Number";
983
- value: string;
984
- __TYPE__: "FieldContent";
971
+ type: "Number";
972
+ value: string;
973
+ __TYPE__: "FieldContent";
985
974
  } | {
986
975
  type: "Range";
987
976
  value: string;
@@ -991,20 +980,14 @@ declare const NestableContentSchema: t.Type<{
991
980
  value: string;
992
981
  __TYPE__: "FieldContent";
993
982
  } | {
994
- __TYPE__: "SeparatorContent";
995
- } | {
996
- type: "Text";
997
- value: string;
998
- __TYPE__: "FieldContent";
983
+ type: string;
984
+ __TYPE__: "EmptyContent";
999
985
  } | {
1000
- type: "Timestamp";
1001
- value: string;
1002
- __TYPE__: "FieldContent";
986
+ __TYPE__: "BooleanContent";
987
+ value: boolean;
1003
988
  } | {
1004
989
  embed_url: string;
1005
990
  type: string;
1006
- __TYPE__: "EmbedContent";
1007
- all: unknown;
1008
991
  version?: string | number | null | undefined;
1009
992
  title?: string | null | undefined;
1010
993
  author_name?: string | null | undefined;
@@ -1016,6 +999,14 @@ declare const NestableContentSchema: t.Type<{
1016
999
  thumbnail_width?: number | null | undefined;
1017
1000
  thumbnail_height?: number | null | undefined;
1018
1001
  html?: string | null | undefined;
1002
+ __TYPE__: "EmbedContent";
1003
+ all: unknown;
1004
+ } | {
1005
+ position: {
1006
+ lat: number;
1007
+ lng: number;
1008
+ };
1009
+ __TYPE__: "GeoPointContent";
1019
1010
  } | {
1020
1011
  origin: {
1021
1012
  id: string;
@@ -1033,7 +1024,6 @@ declare const NestableContentSchema: t.Type<{
1033
1024
  };
1034
1025
  background: string;
1035
1026
  };
1036
- __TYPE__: "ImageContent";
1037
1027
  url?: string | undefined;
1038
1028
  credits?: string | null | undefined;
1039
1029
  alt?: string | null | undefined;
@@ -1060,9 +1050,17 @@ declare const NestableContentSchema: t.Type<{
1060
1050
  alt?: string | null | undefined;
1061
1051
  provider?: string | null | undefined;
1062
1052
  }> | undefined;
1053
+ __TYPE__: "ImageContent";
1063
1054
  } | {
1064
1055
  __TYPE__: "IntegrationFieldsContent";
1065
1056
  value: string;
1057
+ } | {
1058
+ __TYPE__: "LinkContent";
1059
+ key: string;
1060
+ value: {
1061
+ text?: string | undefined;
1062
+ variant?: string | undefined;
1063
+ } & LinkContentValue;
1066
1064
  } | {
1067
1065
  __TYPE__: "RepeatableContent";
1068
1066
  type: "Link";
@@ -1070,13 +1068,15 @@ declare const NestableContentSchema: t.Type<{
1070
1068
  __TYPE__: "LinkContent";
1071
1069
  key: string;
1072
1070
  value: {
1073
- variant?: string | undefined;
1074
1071
  text?: string | undefined;
1072
+ variant?: string | undefined;
1075
1073
  } & LinkContentValue;
1076
1074
  }[];
1077
1075
  } | {
1078
1076
  __TYPE__: "StructuredTextContent";
1079
1077
  value: RichTextContentBlock[];
1078
+ } | {
1079
+ __TYPE__: "SeparatorContent";
1080
1080
  } | {
1081
1081
  __TYPE__: "TableContent";
1082
1082
  content: {
@@ -1084,7 +1084,7 @@ declare const NestableContentSchema: t.Type<{
1084
1084
  type: "tableRow";
1085
1085
  content: {
1086
1086
  key: string;
1087
- type: "tableHeader" | "tableCell";
1087
+ type: "tableCell" | "tableHeader";
1088
1088
  content: {
1089
1089
  __TYPE__: "StructuredTextContent";
1090
1090
  value: RichTextContentBlock[];
@@ -1104,8 +1104,9 @@ declare const GroupItemContentSchema: t.Type<GroupItemContent, GroupItemContent,
1104
1104
  declare const CompositeSliceContentSchema: t.Type<{
1105
1105
  __TYPE__: "CompositeSliceContent";
1106
1106
  nonRepeat: Record<string, {
1107
- __TYPE__: "BooleanContent";
1108
- value: boolean;
1107
+ type: "Text";
1108
+ value: string;
1109
+ __TYPE__: "FieldContent";
1109
1110
  } | {
1110
1111
  type: "Color";
1111
1112
  value: string;
@@ -1115,21 +1116,9 @@ declare const CompositeSliceContentSchema: t.Type<{
1115
1116
  value: string;
1116
1117
  __TYPE__: "FieldContent";
1117
1118
  } | {
1118
- type: string;
1119
- __TYPE__: "EmptyContent";
1120
- } | {
1121
- position: {
1122
- lat: number;
1123
- lng: number;
1124
- };
1125
- __TYPE__: "GeoPointContent";
1126
- } | {
1127
- __TYPE__: "LinkContent";
1128
- key: string;
1129
- value: {
1130
- variant?: string | undefined;
1131
- text?: string | undefined;
1132
- } & LinkContentValue;
1119
+ type: "Timestamp";
1120
+ value: string;
1121
+ __TYPE__: "FieldContent";
1133
1122
  } | {
1134
1123
  type: "Number";
1135
1124
  value: string;
@@ -1143,20 +1132,14 @@ declare const CompositeSliceContentSchema: t.Type<{
1143
1132
  value: string;
1144
1133
  __TYPE__: "FieldContent";
1145
1134
  } | {
1146
- __TYPE__: "SeparatorContent";
1147
- } | {
1148
- type: "Text";
1149
- value: string;
1150
- __TYPE__: "FieldContent";
1135
+ type: string;
1136
+ __TYPE__: "EmptyContent";
1151
1137
  } | {
1152
- type: "Timestamp";
1153
- value: string;
1154
- __TYPE__: "FieldContent";
1138
+ __TYPE__: "BooleanContent";
1139
+ value: boolean;
1155
1140
  } | {
1156
1141
  embed_url: string;
1157
1142
  type: string;
1158
- __TYPE__: "EmbedContent";
1159
- all: unknown;
1160
1143
  version?: string | number | null | undefined;
1161
1144
  title?: string | null | undefined;
1162
1145
  author_name?: string | null | undefined;
@@ -1168,6 +1151,14 @@ declare const CompositeSliceContentSchema: t.Type<{
1168
1151
  thumbnail_width?: number | null | undefined;
1169
1152
  thumbnail_height?: number | null | undefined;
1170
1153
  html?: string | null | undefined;
1154
+ __TYPE__: "EmbedContent";
1155
+ all: unknown;
1156
+ } | {
1157
+ position: {
1158
+ lat: number;
1159
+ lng: number;
1160
+ };
1161
+ __TYPE__: "GeoPointContent";
1171
1162
  } | {
1172
1163
  origin: {
1173
1164
  id: string;
@@ -1185,7 +1176,6 @@ declare const CompositeSliceContentSchema: t.Type<{
1185
1176
  };
1186
1177
  background: string;
1187
1178
  };
1188
- __TYPE__: "ImageContent";
1189
1179
  url?: string | undefined;
1190
1180
  credits?: string | null | undefined;
1191
1181
  alt?: string | null | undefined;
@@ -1212,9 +1202,17 @@ declare const CompositeSliceContentSchema: t.Type<{
1212
1202
  alt?: string | null | undefined;
1213
1203
  provider?: string | null | undefined;
1214
1204
  }> | undefined;
1205
+ __TYPE__: "ImageContent";
1215
1206
  } | {
1216
1207
  __TYPE__: "IntegrationFieldsContent";
1217
1208
  value: string;
1209
+ } | {
1210
+ __TYPE__: "LinkContent";
1211
+ key: string;
1212
+ value: {
1213
+ text?: string | undefined;
1214
+ variant?: string | undefined;
1215
+ } & LinkContentValue;
1218
1216
  } | {
1219
1217
  __TYPE__: "RepeatableContent";
1220
1218
  type: "Link";
@@ -1222,13 +1220,15 @@ declare const CompositeSliceContentSchema: t.Type<{
1222
1220
  __TYPE__: "LinkContent";
1223
1221
  key: string;
1224
1222
  value: {
1225
- variant?: string | undefined;
1226
1223
  text?: string | undefined;
1224
+ variant?: string | undefined;
1227
1225
  } & LinkContentValue;
1228
1226
  }[];
1229
1227
  } | {
1230
1228
  __TYPE__: "StructuredTextContent";
1231
1229
  value: RichTextContentBlock[];
1230
+ } | {
1231
+ __TYPE__: "SeparatorContent";
1232
1232
  } | {
1233
1233
  __TYPE__: "TableContent";
1234
1234
  content: {
@@ -1236,7 +1236,7 @@ declare const CompositeSliceContentSchema: t.Type<{
1236
1236
  type: "tableRow";
1237
1237
  content: {
1238
1238
  key: string;
1239
- type: "tableHeader" | "tableCell";
1239
+ type: "tableCell" | "tableHeader";
1240
1240
  content: {
1241
1241
  __TYPE__: "StructuredTextContent";
1242
1242
  value: RichTextContentBlock[];
@@ -1249,8 +1249,9 @@ declare const CompositeSliceContentSchema: t.Type<{
1249
1249
  }, {
1250
1250
  __TYPE__: "CompositeSliceContent";
1251
1251
  nonRepeat: Record<string, {
1252
- __TYPE__: "BooleanContent";
1253
- value: boolean;
1252
+ type: "Text";
1253
+ value: string;
1254
+ __TYPE__: "FieldContent";
1254
1255
  } | {
1255
1256
  type: "Color";
1256
1257
  value: string;
@@ -1260,21 +1261,9 @@ declare const CompositeSliceContentSchema: t.Type<{
1260
1261
  value: string;
1261
1262
  __TYPE__: "FieldContent";
1262
1263
  } | {
1263
- type: string;
1264
- __TYPE__: "EmptyContent";
1265
- } | {
1266
- position: {
1267
- lat: number;
1268
- lng: number;
1269
- };
1270
- __TYPE__: "GeoPointContent";
1271
- } | {
1272
- __TYPE__: "LinkContent";
1273
- key: string;
1274
- value: {
1275
- variant?: string | undefined;
1276
- text?: string | undefined;
1277
- } & LinkContentValue;
1264
+ type: "Timestamp";
1265
+ value: string;
1266
+ __TYPE__: "FieldContent";
1278
1267
  } | {
1279
1268
  type: "Number";
1280
1269
  value: string;
@@ -1288,20 +1277,14 @@ declare const CompositeSliceContentSchema: t.Type<{
1288
1277
  value: string;
1289
1278
  __TYPE__: "FieldContent";
1290
1279
  } | {
1291
- __TYPE__: "SeparatorContent";
1292
- } | {
1293
- type: "Text";
1294
- value: string;
1295
- __TYPE__: "FieldContent";
1280
+ type: string;
1281
+ __TYPE__: "EmptyContent";
1296
1282
  } | {
1297
- type: "Timestamp";
1298
- value: string;
1299
- __TYPE__: "FieldContent";
1283
+ __TYPE__: "BooleanContent";
1284
+ value: boolean;
1300
1285
  } | {
1301
1286
  embed_url: string;
1302
1287
  type: string;
1303
- __TYPE__: "EmbedContent";
1304
- all: unknown;
1305
1288
  version?: string | number | null | undefined;
1306
1289
  title?: string | null | undefined;
1307
1290
  author_name?: string | null | undefined;
@@ -1313,6 +1296,14 @@ declare const CompositeSliceContentSchema: t.Type<{
1313
1296
  thumbnail_width?: number | null | undefined;
1314
1297
  thumbnail_height?: number | null | undefined;
1315
1298
  html?: string | null | undefined;
1299
+ __TYPE__: "EmbedContent";
1300
+ all: unknown;
1301
+ } | {
1302
+ position: {
1303
+ lat: number;
1304
+ lng: number;
1305
+ };
1306
+ __TYPE__: "GeoPointContent";
1316
1307
  } | {
1317
1308
  origin: {
1318
1309
  id: string;
@@ -1330,7 +1321,6 @@ declare const CompositeSliceContentSchema: t.Type<{
1330
1321
  };
1331
1322
  background: string;
1332
1323
  };
1333
- __TYPE__: "ImageContent";
1334
1324
  url?: string | undefined;
1335
1325
  credits?: string | null | undefined;
1336
1326
  alt?: string | null | undefined;
@@ -1357,9 +1347,17 @@ declare const CompositeSliceContentSchema: t.Type<{
1357
1347
  alt?: string | null | undefined;
1358
1348
  provider?: string | null | undefined;
1359
1349
  }> | undefined;
1350
+ __TYPE__: "ImageContent";
1360
1351
  } | {
1361
1352
  __TYPE__: "IntegrationFieldsContent";
1362
1353
  value: string;
1354
+ } | {
1355
+ __TYPE__: "LinkContent";
1356
+ key: string;
1357
+ value: {
1358
+ text?: string | undefined;
1359
+ variant?: string | undefined;
1360
+ } & LinkContentValue;
1363
1361
  } | {
1364
1362
  __TYPE__: "RepeatableContent";
1365
1363
  type: "Link";
@@ -1367,13 +1365,15 @@ declare const CompositeSliceContentSchema: t.Type<{
1367
1365
  __TYPE__: "LinkContent";
1368
1366
  key: string;
1369
1367
  value: {
1370
- variant?: string | undefined;
1371
1368
  text?: string | undefined;
1369
+ variant?: string | undefined;
1372
1370
  } & LinkContentValue;
1373
1371
  }[];
1374
1372
  } | {
1375
1373
  __TYPE__: "StructuredTextContent";
1376
1374
  value: RichTextContentBlock[];
1375
+ } | {
1376
+ __TYPE__: "SeparatorContent";
1377
1377
  } | {
1378
1378
  __TYPE__: "TableContent";
1379
1379
  content: {
@@ -1381,7 +1381,7 @@ declare const CompositeSliceContentSchema: t.Type<{
1381
1381
  type: "tableRow";
1382
1382
  content: {
1383
1383
  key: string;
1384
- type: "tableHeader" | "tableCell";
1384
+ type: "tableCell" | "tableHeader";
1385
1385
  content: {
1386
1386
  __TYPE__: "StructuredTextContent";
1387
1387
  value: RichTextContentBlock[];
@@ -1393,8 +1393,9 @@ declare const CompositeSliceContentSchema: t.Type<{
1393
1393
  repeat: GroupItemContent[];
1394
1394
  }, unknown>;
1395
1395
  declare const LegacySliceContentSchema: t.Type<{
1396
- __TYPE__: "BooleanContent";
1397
- value: boolean;
1396
+ type: "Text";
1397
+ value: string;
1398
+ __TYPE__: "FieldContent";
1398
1399
  } | {
1399
1400
  type: "Color";
1400
1401
  value: string;
@@ -1404,21 +1405,9 @@ declare const LegacySliceContentSchema: t.Type<{
1404
1405
  value: string;
1405
1406
  __TYPE__: "FieldContent";
1406
1407
  } | {
1407
- type: string;
1408
- __TYPE__: "EmptyContent";
1409
- } | {
1410
- position: {
1411
- lat: number;
1412
- lng: number;
1413
- };
1414
- __TYPE__: "GeoPointContent";
1415
- } | {
1416
- __TYPE__: "LinkContent";
1417
- key: string;
1418
- value: {
1419
- variant?: string | undefined;
1420
- text?: string | undefined;
1421
- } & LinkContentValue;
1408
+ type: "Timestamp";
1409
+ value: string;
1410
+ __TYPE__: "FieldContent";
1422
1411
  } | {
1423
1412
  type: "Number";
1424
1413
  value: string;
@@ -1432,20 +1421,14 @@ declare const LegacySliceContentSchema: t.Type<{
1432
1421
  value: string;
1433
1422
  __TYPE__: "FieldContent";
1434
1423
  } | {
1435
- __TYPE__: "SeparatorContent";
1436
- } | {
1437
- type: "Text";
1438
- value: string;
1439
- __TYPE__: "FieldContent";
1424
+ type: string;
1425
+ __TYPE__: "EmptyContent";
1440
1426
  } | {
1441
- type: "Timestamp";
1442
- value: string;
1443
- __TYPE__: "FieldContent";
1427
+ __TYPE__: "BooleanContent";
1428
+ value: boolean;
1444
1429
  } | {
1445
1430
  embed_url: string;
1446
1431
  type: string;
1447
- __TYPE__: "EmbedContent";
1448
- all: unknown;
1449
1432
  version?: string | number | null | undefined;
1450
1433
  title?: string | null | undefined;
1451
1434
  author_name?: string | null | undefined;
@@ -1457,6 +1440,14 @@ declare const LegacySliceContentSchema: t.Type<{
1457
1440
  thumbnail_width?: number | null | undefined;
1458
1441
  thumbnail_height?: number | null | undefined;
1459
1442
  html?: string | null | undefined;
1443
+ __TYPE__: "EmbedContent";
1444
+ all: unknown;
1445
+ } | {
1446
+ position: {
1447
+ lat: number;
1448
+ lng: number;
1449
+ };
1450
+ __TYPE__: "GeoPointContent";
1460
1451
  } | {
1461
1452
  origin: {
1462
1453
  id: string;
@@ -1474,7 +1465,6 @@ declare const LegacySliceContentSchema: t.Type<{
1474
1465
  };
1475
1466
  background: string;
1476
1467
  };
1477
- __TYPE__: "ImageContent";
1478
1468
  url?: string | undefined;
1479
1469
  credits?: string | null | undefined;
1480
1470
  alt?: string | null | undefined;
@@ -1501,9 +1491,17 @@ declare const LegacySliceContentSchema: t.Type<{
1501
1491
  alt?: string | null | undefined;
1502
1492
  provider?: string | null | undefined;
1503
1493
  }> | undefined;
1494
+ __TYPE__: "ImageContent";
1504
1495
  } | {
1505
1496
  __TYPE__: "IntegrationFieldsContent";
1506
1497
  value: string;
1498
+ } | {
1499
+ __TYPE__: "LinkContent";
1500
+ key: string;
1501
+ value: {
1502
+ text?: string | undefined;
1503
+ variant?: string | undefined;
1504
+ } & LinkContentValue;
1507
1505
  } | {
1508
1506
  __TYPE__: "RepeatableContent";
1509
1507
  type: "Link";
@@ -1511,13 +1509,15 @@ declare const LegacySliceContentSchema: t.Type<{
1511
1509
  __TYPE__: "LinkContent";
1512
1510
  key: string;
1513
1511
  value: {
1514
- variant?: string | undefined;
1515
1512
  text?: string | undefined;
1513
+ variant?: string | undefined;
1516
1514
  } & LinkContentValue;
1517
1515
  }[];
1518
1516
  } | {
1519
1517
  __TYPE__: "StructuredTextContent";
1520
1518
  value: RichTextContentBlock[];
1519
+ } | {
1520
+ __TYPE__: "SeparatorContent";
1521
1521
  } | {
1522
1522
  __TYPE__: "TableContent";
1523
1523
  content: {
@@ -1525,7 +1525,7 @@ declare const LegacySliceContentSchema: t.Type<{
1525
1525
  type: "tableRow";
1526
1526
  content: {
1527
1527
  key: string;
1528
- type: "tableHeader" | "tableCell";
1528
+ type: "tableCell" | "tableHeader";
1529
1529
  content: {
1530
1530
  __TYPE__: "StructuredTextContent";
1531
1531
  value: RichTextContentBlock[];
@@ -1537,8 +1537,9 @@ declare const LegacySliceContentSchema: t.Type<{
1537
1537
  __TYPE__: "GroupContentType";
1538
1538
  value: GroupItemContent[];
1539
1539
  }, {
1540
- __TYPE__: "BooleanContent";
1541
- value: boolean;
1540
+ type: "Text";
1541
+ value: string;
1542
+ __TYPE__: "FieldContent";
1542
1543
  } | {
1543
1544
  type: "Color";
1544
1545
  value: string;
@@ -1548,21 +1549,9 @@ declare const LegacySliceContentSchema: t.Type<{
1548
1549
  value: string;
1549
1550
  __TYPE__: "FieldContent";
1550
1551
  } | {
1551
- type: string;
1552
- __TYPE__: "EmptyContent";
1553
- } | {
1554
- position: {
1555
- lat: number;
1556
- lng: number;
1557
- };
1558
- __TYPE__: "GeoPointContent";
1559
- } | {
1560
- __TYPE__: "LinkContent";
1561
- key: string;
1562
- value: {
1563
- variant?: string | undefined;
1564
- text?: string | undefined;
1565
- } & LinkContentValue;
1552
+ type: "Timestamp";
1553
+ value: string;
1554
+ __TYPE__: "FieldContent";
1566
1555
  } | {
1567
1556
  type: "Number";
1568
1557
  value: string;
@@ -1576,20 +1565,14 @@ declare const LegacySliceContentSchema: t.Type<{
1576
1565
  value: string;
1577
1566
  __TYPE__: "FieldContent";
1578
1567
  } | {
1579
- __TYPE__: "SeparatorContent";
1580
- } | {
1581
- type: "Text";
1582
- value: string;
1583
- __TYPE__: "FieldContent";
1568
+ type: string;
1569
+ __TYPE__: "EmptyContent";
1584
1570
  } | {
1585
- type: "Timestamp";
1586
- value: string;
1587
- __TYPE__: "FieldContent";
1571
+ __TYPE__: "BooleanContent";
1572
+ value: boolean;
1588
1573
  } | {
1589
1574
  embed_url: string;
1590
1575
  type: string;
1591
- __TYPE__: "EmbedContent";
1592
- all: unknown;
1593
1576
  version?: string | number | null | undefined;
1594
1577
  title?: string | null | undefined;
1595
1578
  author_name?: string | null | undefined;
@@ -1601,6 +1584,14 @@ declare const LegacySliceContentSchema: t.Type<{
1601
1584
  thumbnail_width?: number | null | undefined;
1602
1585
  thumbnail_height?: number | null | undefined;
1603
1586
  html?: string | null | undefined;
1587
+ __TYPE__: "EmbedContent";
1588
+ all: unknown;
1589
+ } | {
1590
+ position: {
1591
+ lat: number;
1592
+ lng: number;
1593
+ };
1594
+ __TYPE__: "GeoPointContent";
1604
1595
  } | {
1605
1596
  origin: {
1606
1597
  id: string;
@@ -1618,7 +1609,6 @@ declare const LegacySliceContentSchema: t.Type<{
1618
1609
  };
1619
1610
  background: string;
1620
1611
  };
1621
- __TYPE__: "ImageContent";
1622
1612
  url?: string | undefined;
1623
1613
  credits?: string | null | undefined;
1624
1614
  alt?: string | null | undefined;
@@ -1645,9 +1635,17 @@ declare const LegacySliceContentSchema: t.Type<{
1645
1635
  alt?: string | null | undefined;
1646
1636
  provider?: string | null | undefined;
1647
1637
  }> | undefined;
1638
+ __TYPE__: "ImageContent";
1648
1639
  } | {
1649
1640
  __TYPE__: "IntegrationFieldsContent";
1650
1641
  value: string;
1642
+ } | {
1643
+ __TYPE__: "LinkContent";
1644
+ key: string;
1645
+ value: {
1646
+ text?: string | undefined;
1647
+ variant?: string | undefined;
1648
+ } & LinkContentValue;
1651
1649
  } | {
1652
1650
  __TYPE__: "RepeatableContent";
1653
1651
  type: "Link";
@@ -1655,13 +1653,15 @@ declare const LegacySliceContentSchema: t.Type<{
1655
1653
  __TYPE__: "LinkContent";
1656
1654
  key: string;
1657
1655
  value: {
1658
- variant?: string | undefined;
1659
1656
  text?: string | undefined;
1657
+ variant?: string | undefined;
1660
1658
  } & LinkContentValue;
1661
1659
  }[];
1662
1660
  } | {
1663
1661
  __TYPE__: "StructuredTextContent";
1664
1662
  value: RichTextContentBlock[];
1663
+ } | {
1664
+ __TYPE__: "SeparatorContent";
1665
1665
  } | {
1666
1666
  __TYPE__: "TableContent";
1667
1667
  content: {
@@ -1669,7 +1669,7 @@ declare const LegacySliceContentSchema: t.Type<{
1669
1669
  type: "tableRow";
1670
1670
  content: {
1671
1671
  key: string;
1672
- type: "tableHeader" | "tableCell";
1672
+ type: "tableCell" | "tableHeader";
1673
1673
  content: {
1674
1674
  __TYPE__: "StructuredTextContent";
1675
1675
  value: RichTextContentBlock[];
@@ -1685,9 +1685,11 @@ declare const SliceContentSchema: t.Type<SliceContent, SliceContent, unknown>;
1685
1685
  declare const LegacySliceItemContentSchema: t.Type<{
1686
1686
  key: string;
1687
1687
  name: string;
1688
+ maybeLabel?: string | undefined;
1688
1689
  widget: {
1689
- __TYPE__: "BooleanContent";
1690
- value: boolean;
1690
+ type: "Text";
1691
+ value: string;
1692
+ __TYPE__: "FieldContent";
1691
1693
  } | {
1692
1694
  type: "Color";
1693
1695
  value: string;
@@ -1697,21 +1699,9 @@ declare const LegacySliceItemContentSchema: t.Type<{
1697
1699
  value: string;
1698
1700
  __TYPE__: "FieldContent";
1699
1701
  } | {
1700
- type: string;
1701
- __TYPE__: "EmptyContent";
1702
- } | {
1703
- position: {
1704
- lat: number;
1705
- lng: number;
1706
- };
1707
- __TYPE__: "GeoPointContent";
1708
- } | {
1709
- __TYPE__: "LinkContent";
1710
- key: string;
1711
- value: {
1712
- variant?: string | undefined;
1713
- text?: string | undefined;
1714
- } & LinkContentValue;
1702
+ type: "Timestamp";
1703
+ value: string;
1704
+ __TYPE__: "FieldContent";
1715
1705
  } | {
1716
1706
  type: "Number";
1717
1707
  value: string;
@@ -1725,20 +1715,14 @@ declare const LegacySliceItemContentSchema: t.Type<{
1725
1715
  value: string;
1726
1716
  __TYPE__: "FieldContent";
1727
1717
  } | {
1728
- __TYPE__: "SeparatorContent";
1729
- } | {
1730
- type: "Text";
1731
- value: string;
1732
- __TYPE__: "FieldContent";
1718
+ type: string;
1719
+ __TYPE__: "EmptyContent";
1733
1720
  } | {
1734
- type: "Timestamp";
1735
- value: string;
1736
- __TYPE__: "FieldContent";
1721
+ __TYPE__: "BooleanContent";
1722
+ value: boolean;
1737
1723
  } | {
1738
1724
  embed_url: string;
1739
1725
  type: string;
1740
- __TYPE__: "EmbedContent";
1741
- all: unknown;
1742
1726
  version?: string | number | null | undefined;
1743
1727
  title?: string | null | undefined;
1744
1728
  author_name?: string | null | undefined;
@@ -1750,6 +1734,14 @@ declare const LegacySliceItemContentSchema: t.Type<{
1750
1734
  thumbnail_width?: number | null | undefined;
1751
1735
  thumbnail_height?: number | null | undefined;
1752
1736
  html?: string | null | undefined;
1737
+ __TYPE__: "EmbedContent";
1738
+ all: unknown;
1739
+ } | {
1740
+ position: {
1741
+ lat: number;
1742
+ lng: number;
1743
+ };
1744
+ __TYPE__: "GeoPointContent";
1753
1745
  } | {
1754
1746
  origin: {
1755
1747
  id: string;
@@ -1767,7 +1759,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
1767
1759
  };
1768
1760
  background: string;
1769
1761
  };
1770
- __TYPE__: "ImageContent";
1771
1762
  url?: string | undefined;
1772
1763
  credits?: string | null | undefined;
1773
1764
  alt?: string | null | undefined;
@@ -1794,9 +1785,17 @@ declare const LegacySliceItemContentSchema: t.Type<{
1794
1785
  alt?: string | null | undefined;
1795
1786
  provider?: string | null | undefined;
1796
1787
  }> | undefined;
1788
+ __TYPE__: "ImageContent";
1797
1789
  } | {
1798
1790
  __TYPE__: "IntegrationFieldsContent";
1799
1791
  value: string;
1792
+ } | {
1793
+ __TYPE__: "LinkContent";
1794
+ key: string;
1795
+ value: {
1796
+ text?: string | undefined;
1797
+ variant?: string | undefined;
1798
+ } & LinkContentValue;
1800
1799
  } | {
1801
1800
  __TYPE__: "RepeatableContent";
1802
1801
  type: "Link";
@@ -1804,13 +1803,15 @@ declare const LegacySliceItemContentSchema: t.Type<{
1804
1803
  __TYPE__: "LinkContent";
1805
1804
  key: string;
1806
1805
  value: {
1807
- variant?: string | undefined;
1808
1806
  text?: string | undefined;
1807
+ variant?: string | undefined;
1809
1808
  } & LinkContentValue;
1810
1809
  }[];
1811
1810
  } | {
1812
1811
  __TYPE__: "StructuredTextContent";
1813
1812
  value: RichTextContentBlock[];
1813
+ } | {
1814
+ __TYPE__: "SeparatorContent";
1814
1815
  } | {
1815
1816
  __TYPE__: "TableContent";
1816
1817
  content: {
@@ -1818,7 +1819,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
1818
1819
  type: "tableRow";
1819
1820
  content: {
1820
1821
  key: string;
1821
- type: "tableHeader" | "tableCell";
1822
+ type: "tableCell" | "tableHeader";
1822
1823
  content: {
1823
1824
  __TYPE__: "StructuredTextContent";
1824
1825
  value: RichTextContentBlock[];
@@ -1830,13 +1831,14 @@ declare const LegacySliceItemContentSchema: t.Type<{
1830
1831
  __TYPE__: "GroupContentType";
1831
1832
  value: GroupItemContent[];
1832
1833
  };
1833
- maybeLabel?: string | undefined;
1834
1834
  }, {
1835
1835
  key: string;
1836
1836
  name: string;
1837
+ maybeLabel?: string | undefined;
1837
1838
  widget: {
1838
- __TYPE__: "BooleanContent";
1839
- value: boolean;
1839
+ type: "Text";
1840
+ value: string;
1841
+ __TYPE__: "FieldContent";
1840
1842
  } | {
1841
1843
  type: "Color";
1842
1844
  value: string;
@@ -1846,21 +1848,9 @@ declare const LegacySliceItemContentSchema: t.Type<{
1846
1848
  value: string;
1847
1849
  __TYPE__: "FieldContent";
1848
1850
  } | {
1849
- type: string;
1850
- __TYPE__: "EmptyContent";
1851
- } | {
1852
- position: {
1853
- lat: number;
1854
- lng: number;
1855
- };
1856
- __TYPE__: "GeoPointContent";
1857
- } | {
1858
- __TYPE__: "LinkContent";
1859
- key: string;
1860
- value: {
1861
- variant?: string | undefined;
1862
- text?: string | undefined;
1863
- } & LinkContentValue;
1851
+ type: "Timestamp";
1852
+ value: string;
1853
+ __TYPE__: "FieldContent";
1864
1854
  } | {
1865
1855
  type: "Number";
1866
1856
  value: string;
@@ -1874,20 +1864,14 @@ declare const LegacySliceItemContentSchema: t.Type<{
1874
1864
  value: string;
1875
1865
  __TYPE__: "FieldContent";
1876
1866
  } | {
1877
- __TYPE__: "SeparatorContent";
1878
- } | {
1879
- type: "Text";
1880
- value: string;
1881
- __TYPE__: "FieldContent";
1867
+ type: string;
1868
+ __TYPE__: "EmptyContent";
1882
1869
  } | {
1883
- type: "Timestamp";
1884
- value: string;
1885
- __TYPE__: "FieldContent";
1870
+ __TYPE__: "BooleanContent";
1871
+ value: boolean;
1886
1872
  } | {
1887
1873
  embed_url: string;
1888
1874
  type: string;
1889
- __TYPE__: "EmbedContent";
1890
- all: unknown;
1891
1875
  version?: string | number | null | undefined;
1892
1876
  title?: string | null | undefined;
1893
1877
  author_name?: string | null | undefined;
@@ -1899,6 +1883,14 @@ declare const LegacySliceItemContentSchema: t.Type<{
1899
1883
  thumbnail_width?: number | null | undefined;
1900
1884
  thumbnail_height?: number | null | undefined;
1901
1885
  html?: string | null | undefined;
1886
+ __TYPE__: "EmbedContent";
1887
+ all: unknown;
1888
+ } | {
1889
+ position: {
1890
+ lat: number;
1891
+ lng: number;
1892
+ };
1893
+ __TYPE__: "GeoPointContent";
1902
1894
  } | {
1903
1895
  origin: {
1904
1896
  id: string;
@@ -1916,7 +1908,6 @@ declare const LegacySliceItemContentSchema: t.Type<{
1916
1908
  };
1917
1909
  background: string;
1918
1910
  };
1919
- __TYPE__: "ImageContent";
1920
1911
  url?: string | undefined;
1921
1912
  credits?: string | null | undefined;
1922
1913
  alt?: string | null | undefined;
@@ -1943,9 +1934,17 @@ declare const LegacySliceItemContentSchema: t.Type<{
1943
1934
  alt?: string | null | undefined;
1944
1935
  provider?: string | null | undefined;
1945
1936
  }> | undefined;
1937
+ __TYPE__: "ImageContent";
1946
1938
  } | {
1947
1939
  __TYPE__: "IntegrationFieldsContent";
1948
1940
  value: string;
1941
+ } | {
1942
+ __TYPE__: "LinkContent";
1943
+ key: string;
1944
+ value: {
1945
+ text?: string | undefined;
1946
+ variant?: string | undefined;
1947
+ } & LinkContentValue;
1949
1948
  } | {
1950
1949
  __TYPE__: "RepeatableContent";
1951
1950
  type: "Link";
@@ -1953,13 +1952,15 @@ declare const LegacySliceItemContentSchema: t.Type<{
1953
1952
  __TYPE__: "LinkContent";
1954
1953
  key: string;
1955
1954
  value: {
1956
- variant?: string | undefined;
1957
1955
  text?: string | undefined;
1956
+ variant?: string | undefined;
1958
1957
  } & LinkContentValue;
1959
1958
  }[];
1960
1959
  } | {
1961
1960
  __TYPE__: "StructuredTextContent";
1962
1961
  value: RichTextContentBlock[];
1962
+ } | {
1963
+ __TYPE__: "SeparatorContent";
1963
1964
  } | {
1964
1965
  __TYPE__: "TableContent";
1965
1966
  content: {
@@ -1967,7 +1968,7 @@ declare const LegacySliceItemContentSchema: t.Type<{
1967
1968
  type: "tableRow";
1968
1969
  content: {
1969
1970
  key: string;
1970
- type: "tableHeader" | "tableCell";
1971
+ type: "tableCell" | "tableHeader";
1971
1972
  content: {
1972
1973
  __TYPE__: "StructuredTextContent";
1973
1974
  value: RichTextContentBlock[];
@@ -1979,16 +1980,17 @@ declare const LegacySliceItemContentSchema: t.Type<{
1979
1980
  __TYPE__: "GroupContentType";
1980
1981
  value: GroupItemContent[];
1981
1982
  };
1982
- maybeLabel?: string | undefined;
1983
1983
  }, unknown>;
1984
1984
  declare const CompositeSliceItemContentSchema: t.Type<{
1985
1985
  key: string;
1986
1986
  name: string;
1987
+ maybeLabel?: string | undefined;
1987
1988
  widget: {
1988
1989
  __TYPE__: "CompositeSliceContent";
1989
1990
  nonRepeat: Record<string, {
1990
- __TYPE__: "BooleanContent";
1991
- value: boolean;
1991
+ type: "Text";
1992
+ value: string;
1993
+ __TYPE__: "FieldContent";
1992
1994
  } | {
1993
1995
  type: "Color";
1994
1996
  value: string;
@@ -1998,21 +2000,9 @@ declare const CompositeSliceItemContentSchema: t.Type<{
1998
2000
  value: string;
1999
2001
  __TYPE__: "FieldContent";
2000
2002
  } | {
2001
- type: string;
2002
- __TYPE__: "EmptyContent";
2003
- } | {
2004
- position: {
2005
- lat: number;
2006
- lng: number;
2007
- };
2008
- __TYPE__: "GeoPointContent";
2009
- } | {
2010
- __TYPE__: "LinkContent";
2011
- key: string;
2012
- value: {
2013
- variant?: string | undefined;
2014
- text?: string | undefined;
2015
- } & LinkContentValue;
2003
+ type: "Timestamp";
2004
+ value: string;
2005
+ __TYPE__: "FieldContent";
2016
2006
  } | {
2017
2007
  type: "Number";
2018
2008
  value: string;
@@ -2026,20 +2016,14 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2026
2016
  value: string;
2027
2017
  __TYPE__: "FieldContent";
2028
2018
  } | {
2029
- __TYPE__: "SeparatorContent";
2030
- } | {
2031
- type: "Text";
2032
- value: string;
2033
- __TYPE__: "FieldContent";
2019
+ type: string;
2020
+ __TYPE__: "EmptyContent";
2034
2021
  } | {
2035
- type: "Timestamp";
2036
- value: string;
2037
- __TYPE__: "FieldContent";
2022
+ __TYPE__: "BooleanContent";
2023
+ value: boolean;
2038
2024
  } | {
2039
2025
  embed_url: string;
2040
2026
  type: string;
2041
- __TYPE__: "EmbedContent";
2042
- all: unknown;
2043
2027
  version?: string | number | null | undefined;
2044
2028
  title?: string | null | undefined;
2045
2029
  author_name?: string | null | undefined;
@@ -2051,6 +2035,14 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2051
2035
  thumbnail_width?: number | null | undefined;
2052
2036
  thumbnail_height?: number | null | undefined;
2053
2037
  html?: string | null | undefined;
2038
+ __TYPE__: "EmbedContent";
2039
+ all: unknown;
2040
+ } | {
2041
+ position: {
2042
+ lat: number;
2043
+ lng: number;
2044
+ };
2045
+ __TYPE__: "GeoPointContent";
2054
2046
  } | {
2055
2047
  origin: {
2056
2048
  id: string;
@@ -2068,7 +2060,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2068
2060
  };
2069
2061
  background: string;
2070
2062
  };
2071
- __TYPE__: "ImageContent";
2072
2063
  url?: string | undefined;
2073
2064
  credits?: string | null | undefined;
2074
2065
  alt?: string | null | undefined;
@@ -2095,9 +2086,17 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2095
2086
  alt?: string | null | undefined;
2096
2087
  provider?: string | null | undefined;
2097
2088
  }> | undefined;
2089
+ __TYPE__: "ImageContent";
2098
2090
  } | {
2099
2091
  __TYPE__: "IntegrationFieldsContent";
2100
2092
  value: string;
2093
+ } | {
2094
+ __TYPE__: "LinkContent";
2095
+ key: string;
2096
+ value: {
2097
+ text?: string | undefined;
2098
+ variant?: string | undefined;
2099
+ } & LinkContentValue;
2101
2100
  } | {
2102
2101
  __TYPE__: "RepeatableContent";
2103
2102
  type: "Link";
@@ -2105,13 +2104,15 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2105
2104
  __TYPE__: "LinkContent";
2106
2105
  key: string;
2107
2106
  value: {
2108
- variant?: string | undefined;
2109
2107
  text?: string | undefined;
2108
+ variant?: string | undefined;
2110
2109
  } & LinkContentValue;
2111
2110
  }[];
2112
2111
  } | {
2113
2112
  __TYPE__: "StructuredTextContent";
2114
2113
  value: RichTextContentBlock[];
2114
+ } | {
2115
+ __TYPE__: "SeparatorContent";
2115
2116
  } | {
2116
2117
  __TYPE__: "TableContent";
2117
2118
  content: {
@@ -2119,7 +2120,7 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2119
2120
  type: "tableRow";
2120
2121
  content: {
2121
2122
  key: string;
2122
- type: "tableHeader" | "tableCell";
2123
+ type: "tableCell" | "tableHeader";
2123
2124
  content: {
2124
2125
  __TYPE__: "StructuredTextContent";
2125
2126
  value: RichTextContentBlock[];
@@ -2130,15 +2131,16 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2130
2131
  }>;
2131
2132
  repeat: GroupItemContent[];
2132
2133
  };
2133
- maybeLabel?: string | undefined;
2134
2134
  }, {
2135
2135
  key: string;
2136
2136
  name: string;
2137
+ maybeLabel?: string | undefined;
2137
2138
  widget: {
2138
2139
  __TYPE__: "CompositeSliceContent";
2139
2140
  nonRepeat: Record<string, {
2140
- __TYPE__: "BooleanContent";
2141
- value: boolean;
2141
+ type: "Text";
2142
+ value: string;
2143
+ __TYPE__: "FieldContent";
2142
2144
  } | {
2143
2145
  type: "Color";
2144
2146
  value: string;
@@ -2148,21 +2150,9 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2148
2150
  value: string;
2149
2151
  __TYPE__: "FieldContent";
2150
2152
  } | {
2151
- type: string;
2152
- __TYPE__: "EmptyContent";
2153
- } | {
2154
- position: {
2155
- lat: number;
2156
- lng: number;
2157
- };
2158
- __TYPE__: "GeoPointContent";
2159
- } | {
2160
- __TYPE__: "LinkContent";
2161
- key: string;
2162
- value: {
2163
- variant?: string | undefined;
2164
- text?: string | undefined;
2165
- } & LinkContentValue;
2153
+ type: "Timestamp";
2154
+ value: string;
2155
+ __TYPE__: "FieldContent";
2166
2156
  } | {
2167
2157
  type: "Number";
2168
2158
  value: string;
@@ -2176,20 +2166,14 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2176
2166
  value: string;
2177
2167
  __TYPE__: "FieldContent";
2178
2168
  } | {
2179
- __TYPE__: "SeparatorContent";
2180
- } | {
2181
- type: "Text";
2182
- value: string;
2183
- __TYPE__: "FieldContent";
2169
+ type: string;
2170
+ __TYPE__: "EmptyContent";
2184
2171
  } | {
2185
- type: "Timestamp";
2186
- value: string;
2187
- __TYPE__: "FieldContent";
2172
+ __TYPE__: "BooleanContent";
2173
+ value: boolean;
2188
2174
  } | {
2189
2175
  embed_url: string;
2190
2176
  type: string;
2191
- __TYPE__: "EmbedContent";
2192
- all: unknown;
2193
2177
  version?: string | number | null | undefined;
2194
2178
  title?: string | null | undefined;
2195
2179
  author_name?: string | null | undefined;
@@ -2201,6 +2185,14 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2201
2185
  thumbnail_width?: number | null | undefined;
2202
2186
  thumbnail_height?: number | null | undefined;
2203
2187
  html?: string | null | undefined;
2188
+ __TYPE__: "EmbedContent";
2189
+ all: unknown;
2190
+ } | {
2191
+ position: {
2192
+ lat: number;
2193
+ lng: number;
2194
+ };
2195
+ __TYPE__: "GeoPointContent";
2204
2196
  } | {
2205
2197
  origin: {
2206
2198
  id: string;
@@ -2218,7 +2210,6 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2218
2210
  };
2219
2211
  background: string;
2220
2212
  };
2221
- __TYPE__: "ImageContent";
2222
2213
  url?: string | undefined;
2223
2214
  credits?: string | null | undefined;
2224
2215
  alt?: string | null | undefined;
@@ -2245,9 +2236,17 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2245
2236
  alt?: string | null | undefined;
2246
2237
  provider?: string | null | undefined;
2247
2238
  }> | undefined;
2239
+ __TYPE__: "ImageContent";
2248
2240
  } | {
2249
2241
  __TYPE__: "IntegrationFieldsContent";
2250
2242
  value: string;
2243
+ } | {
2244
+ __TYPE__: "LinkContent";
2245
+ key: string;
2246
+ value: {
2247
+ text?: string | undefined;
2248
+ variant?: string | undefined;
2249
+ } & LinkContentValue;
2251
2250
  } | {
2252
2251
  __TYPE__: "RepeatableContent";
2253
2252
  type: "Link";
@@ -2255,13 +2254,15 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2255
2254
  __TYPE__: "LinkContent";
2256
2255
  key: string;
2257
2256
  value: {
2258
- variant?: string | undefined;
2259
2257
  text?: string | undefined;
2258
+ variant?: string | undefined;
2260
2259
  } & LinkContentValue;
2261
2260
  }[];
2262
2261
  } | {
2263
2262
  __TYPE__: "StructuredTextContent";
2264
2263
  value: RichTextContentBlock[];
2264
+ } | {
2265
+ __TYPE__: "SeparatorContent";
2265
2266
  } | {
2266
2267
  __TYPE__: "TableContent";
2267
2268
  content: {
@@ -2269,7 +2270,7 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2269
2270
  type: "tableRow";
2270
2271
  content: {
2271
2272
  key: string;
2272
- type: "tableHeader" | "tableCell";
2273
+ type: "tableCell" | "tableHeader";
2273
2274
  content: {
2274
2275
  __TYPE__: "StructuredTextContent";
2275
2276
  value: RichTextContentBlock[];
@@ -2280,17 +2281,18 @@ declare const CompositeSliceItemContentSchema: t.Type<{
2280
2281
  }>;
2281
2282
  repeat: GroupItemContent[];
2282
2283
  };
2283
- maybeLabel?: string | undefined;
2284
2284
  }, unknown>;
2285
2285
  declare const SharedSliceItemContentSchema: t.Type<{
2286
2286
  key: string;
2287
2287
  name: string;
2288
+ maybeLabel?: string | undefined;
2288
2289
  widget: {
2289
2290
  __TYPE__: "SharedSliceContent";
2290
2291
  variation: string;
2291
2292
  primary: Record<string, {
2292
- __TYPE__: "BooleanContent";
2293
- value: boolean;
2293
+ type: "Text";
2294
+ value: string;
2295
+ __TYPE__: "FieldContent";
2294
2296
  } | {
2295
2297
  type: "Color";
2296
2298
  value: string;
@@ -2300,21 +2302,9 @@ declare const SharedSliceItemContentSchema: t.Type<{
2300
2302
  value: string;
2301
2303
  __TYPE__: "FieldContent";
2302
2304
  } | {
2303
- type: string;
2304
- __TYPE__: "EmptyContent";
2305
- } | {
2306
- position: {
2307
- lat: number;
2308
- lng: number;
2309
- };
2310
- __TYPE__: "GeoPointContent";
2311
- } | {
2312
- __TYPE__: "LinkContent";
2313
- key: string;
2314
- value: {
2315
- variant?: string | undefined;
2316
- text?: string | undefined;
2317
- } & LinkContentValue;
2305
+ type: "Timestamp";
2306
+ value: string;
2307
+ __TYPE__: "FieldContent";
2318
2308
  } | {
2319
2309
  type: "Number";
2320
2310
  value: string;
@@ -2328,20 +2318,14 @@ declare const SharedSliceItemContentSchema: t.Type<{
2328
2318
  value: string;
2329
2319
  __TYPE__: "FieldContent";
2330
2320
  } | {
2331
- __TYPE__: "SeparatorContent";
2332
- } | {
2333
- type: "Text";
2334
- value: string;
2335
- __TYPE__: "FieldContent";
2321
+ type: string;
2322
+ __TYPE__: "EmptyContent";
2336
2323
  } | {
2337
- type: "Timestamp";
2338
- value: string;
2339
- __TYPE__: "FieldContent";
2324
+ __TYPE__: "BooleanContent";
2325
+ value: boolean;
2340
2326
  } | {
2341
2327
  embed_url: string;
2342
2328
  type: string;
2343
- __TYPE__: "EmbedContent";
2344
- all: unknown;
2345
2329
  version?: string | number | null | undefined;
2346
2330
  title?: string | null | undefined;
2347
2331
  author_name?: string | null | undefined;
@@ -2353,6 +2337,14 @@ declare const SharedSliceItemContentSchema: t.Type<{
2353
2337
  thumbnail_width?: number | null | undefined;
2354
2338
  thumbnail_height?: number | null | undefined;
2355
2339
  html?: string | null | undefined;
2340
+ __TYPE__: "EmbedContent";
2341
+ all: unknown;
2342
+ } | {
2343
+ position: {
2344
+ lat: number;
2345
+ lng: number;
2346
+ };
2347
+ __TYPE__: "GeoPointContent";
2356
2348
  } | {
2357
2349
  origin: {
2358
2350
  id: string;
@@ -2370,7 +2362,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
2370
2362
  };
2371
2363
  background: string;
2372
2364
  };
2373
- __TYPE__: "ImageContent";
2374
2365
  url?: string | undefined;
2375
2366
  credits?: string | null | undefined;
2376
2367
  alt?: string | null | undefined;
@@ -2397,9 +2388,17 @@ declare const SharedSliceItemContentSchema: t.Type<{
2397
2388
  alt?: string | null | undefined;
2398
2389
  provider?: string | null | undefined;
2399
2390
  }> | undefined;
2391
+ __TYPE__: "ImageContent";
2400
2392
  } | {
2401
2393
  __TYPE__: "IntegrationFieldsContent";
2402
2394
  value: string;
2395
+ } | {
2396
+ __TYPE__: "LinkContent";
2397
+ key: string;
2398
+ value: {
2399
+ text?: string | undefined;
2400
+ variant?: string | undefined;
2401
+ } & LinkContentValue;
2403
2402
  } | {
2404
2403
  __TYPE__: "RepeatableContent";
2405
2404
  type: "Link";
@@ -2407,13 +2406,15 @@ declare const SharedSliceItemContentSchema: t.Type<{
2407
2406
  __TYPE__: "LinkContent";
2408
2407
  key: string;
2409
2408
  value: {
2410
- variant?: string | undefined;
2411
2409
  text?: string | undefined;
2410
+ variant?: string | undefined;
2412
2411
  } & LinkContentValue;
2413
2412
  }[];
2414
2413
  } | {
2415
2414
  __TYPE__: "StructuredTextContent";
2416
2415
  value: RichTextContentBlock[];
2416
+ } | {
2417
+ __TYPE__: "SeparatorContent";
2417
2418
  } | {
2418
2419
  __TYPE__: "TableContent";
2419
2420
  content: {
@@ -2421,7 +2422,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
2421
2422
  type: "tableRow";
2422
2423
  content: {
2423
2424
  key: string;
2424
- type: "tableHeader" | "tableCell";
2425
+ type: "tableCell" | "tableHeader";
2425
2426
  content: {
2426
2427
  __TYPE__: "StructuredTextContent";
2427
2428
  value: RichTextContentBlock[];
@@ -2435,16 +2436,17 @@ declare const SharedSliceItemContentSchema: t.Type<{
2435
2436
  }>;
2436
2437
  items: GroupItemContent[];
2437
2438
  };
2438
- maybeLabel?: string | undefined;
2439
2439
  }, {
2440
2440
  key: string;
2441
2441
  name: string;
2442
+ maybeLabel?: string | undefined;
2442
2443
  widget: {
2443
2444
  __TYPE__: "SharedSliceContent";
2444
2445
  variation: string;
2445
2446
  primary: Record<string, {
2446
- __TYPE__: "BooleanContent";
2447
- value: boolean;
2447
+ type: "Text";
2448
+ value: string;
2449
+ __TYPE__: "FieldContent";
2448
2450
  } | {
2449
2451
  type: "Color";
2450
2452
  value: string;
@@ -2454,21 +2456,9 @@ declare const SharedSliceItemContentSchema: t.Type<{
2454
2456
  value: string;
2455
2457
  __TYPE__: "FieldContent";
2456
2458
  } | {
2457
- type: string;
2458
- __TYPE__: "EmptyContent";
2459
- } | {
2460
- position: {
2461
- lat: number;
2462
- lng: number;
2463
- };
2464
- __TYPE__: "GeoPointContent";
2465
- } | {
2466
- __TYPE__: "LinkContent";
2467
- key: string;
2468
- value: {
2469
- variant?: string | undefined;
2470
- text?: string | undefined;
2471
- } & LinkContentValue;
2459
+ type: "Timestamp";
2460
+ value: string;
2461
+ __TYPE__: "FieldContent";
2472
2462
  } | {
2473
2463
  type: "Number";
2474
2464
  value: string;
@@ -2482,20 +2472,14 @@ declare const SharedSliceItemContentSchema: t.Type<{
2482
2472
  value: string;
2483
2473
  __TYPE__: "FieldContent";
2484
2474
  } | {
2485
- __TYPE__: "SeparatorContent";
2486
- } | {
2487
- type: "Text";
2488
- value: string;
2489
- __TYPE__: "FieldContent";
2475
+ type: string;
2476
+ __TYPE__: "EmptyContent";
2490
2477
  } | {
2491
- type: "Timestamp";
2492
- value: string;
2493
- __TYPE__: "FieldContent";
2478
+ __TYPE__: "BooleanContent";
2479
+ value: boolean;
2494
2480
  } | {
2495
2481
  embed_url: string;
2496
2482
  type: string;
2497
- __TYPE__: "EmbedContent";
2498
- all: unknown;
2499
2483
  version?: string | number | null | undefined;
2500
2484
  title?: string | null | undefined;
2501
2485
  author_name?: string | null | undefined;
@@ -2507,6 +2491,14 @@ declare const SharedSliceItemContentSchema: t.Type<{
2507
2491
  thumbnail_width?: number | null | undefined;
2508
2492
  thumbnail_height?: number | null | undefined;
2509
2493
  html?: string | null | undefined;
2494
+ __TYPE__: "EmbedContent";
2495
+ all: unknown;
2496
+ } | {
2497
+ position: {
2498
+ lat: number;
2499
+ lng: number;
2500
+ };
2501
+ __TYPE__: "GeoPointContent";
2510
2502
  } | {
2511
2503
  origin: {
2512
2504
  id: string;
@@ -2524,7 +2516,6 @@ declare const SharedSliceItemContentSchema: t.Type<{
2524
2516
  };
2525
2517
  background: string;
2526
2518
  };
2527
- __TYPE__: "ImageContent";
2528
2519
  url?: string | undefined;
2529
2520
  credits?: string | null | undefined;
2530
2521
  alt?: string | null | undefined;
@@ -2551,9 +2542,17 @@ declare const SharedSliceItemContentSchema: t.Type<{
2551
2542
  alt?: string | null | undefined;
2552
2543
  provider?: string | null | undefined;
2553
2544
  }> | undefined;
2545
+ __TYPE__: "ImageContent";
2554
2546
  } | {
2555
2547
  __TYPE__: "IntegrationFieldsContent";
2556
2548
  value: string;
2549
+ } | {
2550
+ __TYPE__: "LinkContent";
2551
+ key: string;
2552
+ value: {
2553
+ text?: string | undefined;
2554
+ variant?: string | undefined;
2555
+ } & LinkContentValue;
2557
2556
  } | {
2558
2557
  __TYPE__: "RepeatableContent";
2559
2558
  type: "Link";
@@ -2561,13 +2560,15 @@ declare const SharedSliceItemContentSchema: t.Type<{
2561
2560
  __TYPE__: "LinkContent";
2562
2561
  key: string;
2563
2562
  value: {
2564
- variant?: string | undefined;
2565
2563
  text?: string | undefined;
2564
+ variant?: string | undefined;
2566
2565
  } & LinkContentValue;
2567
2566
  }[];
2568
2567
  } | {
2569
2568
  __TYPE__: "StructuredTextContent";
2570
2569
  value: RichTextContentBlock[];
2570
+ } | {
2571
+ __TYPE__: "SeparatorContent";
2571
2572
  } | {
2572
2573
  __TYPE__: "TableContent";
2573
2574
  content: {
@@ -2575,7 +2576,7 @@ declare const SharedSliceItemContentSchema: t.Type<{
2575
2576
  type: "tableRow";
2576
2577
  content: {
2577
2578
  key: string;
2578
- type: "tableHeader" | "tableCell";
2579
+ type: "tableCell" | "tableHeader";
2579
2580
  content: {
2580
2581
  __TYPE__: "StructuredTextContent";
2581
2582
  value: RichTextContentBlock[];
@@ -2589,34 +2590,33 @@ declare const SharedSliceItemContentSchema: t.Type<{
2589
2590
  }>;
2590
2591
  items: GroupItemContent[];
2591
2592
  };
2592
- maybeLabel?: string | undefined;
2593
2593
  }, unknown>;
2594
2594
  declare const SliceItemContentSchema: t.Type<{
2595
2595
  key: string;
2596
2596
  name: string;
2597
- widget: SliceContent;
2598
2597
  maybeLabel?: string | undefined;
2598
+ widget: SliceContent;
2599
2599
  }, {
2600
2600
  key: string;
2601
2601
  name: string;
2602
- widget: SliceContent;
2603
2602
  maybeLabel?: string | undefined;
2603
+ widget: SliceContent;
2604
2604
  }, unknown>;
2605
2605
  declare const SlicesContentSchema: t.Type<{
2606
2606
  __TYPE__: "SliceContentType";
2607
2607
  value: {
2608
2608
  key: string;
2609
2609
  name: string;
2610
- widget: SliceContent;
2611
2610
  maybeLabel?: string | undefined;
2611
+ widget: SliceContent;
2612
2612
  }[];
2613
2613
  }, {
2614
2614
  __TYPE__: "SliceContentType";
2615
2615
  value: {
2616
2616
  key: string;
2617
2617
  name: string;
2618
- widget: SliceContent;
2619
2618
  maybeLabel?: string | undefined;
2619
+ widget: SliceContent;
2620
2620
  }[];
2621
2621
  }, unknown>;
2622
2622
  declare const WidgetContentSchema: t.Type<WidgetContent, WidgetContent, unknown>;
@@ -2721,8 +2721,6 @@ declare const GeoPointLegacy: (ctx: LegacyContentCtx) => t.Type<{
2721
2721
  declare const EmbedLegacy: (ctx: LegacyContentCtx) => t.Type<{
2722
2722
  embed_url: string;
2723
2723
  type: string;
2724
- __TYPE__: "EmbedContent";
2725
- all: unknown;
2726
2724
  version?: string | number | null | undefined;
2727
2725
  title?: string | null | undefined;
2728
2726
  author_name?: string | null | undefined;
@@ -2734,6 +2732,8 @@ declare const EmbedLegacy: (ctx: LegacyContentCtx) => t.Type<{
2734
2732
  thumbnail_width?: number | null | undefined;
2735
2733
  thumbnail_height?: number | null | undefined;
2736
2734
  html?: string | null | undefined;
2735
+ __TYPE__: "EmbedContent";
2736
+ all: unknown;
2737
2737
  }, {
2738
2738
  keys: Record<string, string>;
2739
2739
  types: Record<string, FieldOrSliceType>;
@@ -2770,7 +2770,6 @@ declare const ImageLegacy: (ctx: LegacyContentCtx) => t.Type<{
2770
2770
  };
2771
2771
  background: string;
2772
2772
  };
2773
- __TYPE__: "ImageContent";
2774
2773
  url?: string | undefined;
2775
2774
  credits?: string | null | undefined;
2776
2775
  alt?: string | null | undefined;
@@ -2797,6 +2796,7 @@ declare const ImageLegacy: (ctx: LegacyContentCtx) => t.Type<{
2797
2796
  alt?: string | null | undefined;
2798
2797
  provider?: string | null | undefined;
2799
2798
  }> | undefined;
2799
+ __TYPE__: "ImageContent";
2800
2800
  }, {
2801
2801
  keys: Record<string, string>;
2802
2802
  types: Record<string, FieldOrSliceType>;
@@ -2849,13 +2849,43 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
2849
2849
  __TYPE__: "LinkContent";
2850
2850
  key: string;
2851
2851
  value: {
2852
- variant?: string | undefined;
2853
2852
  text?: string | undefined;
2853
+ variant?: string | undefined;
2854
2854
  } & LinkContentValue;
2855
2855
  }, {
2856
2856
  keys: Record<string, string>;
2857
2857
  types: Record<string, FieldOrSliceType>;
2858
2858
  content: {
2859
+ kind: "image";
2860
+ key: string;
2861
+ text?: string | undefined;
2862
+ variant?: string | undefined;
2863
+ } | {
2864
+ kind: "file";
2865
+ key: string;
2866
+ text?: string | undefined;
2867
+ variant?: string | undefined;
2868
+ } | {
2869
+ kind: "media";
2870
+ key: string;
2871
+ text?: string | undefined;
2872
+ variant?: string | undefined;
2873
+ } | {
2874
+ kind: "document";
2875
+ key: string;
2876
+ text?: string | undefined;
2877
+ variant?: string | undefined;
2878
+ } | {
2879
+ kind: "web";
2880
+ key: string;
2881
+ text?: string | undefined;
2882
+ variant?: string | undefined;
2883
+ } | {
2884
+ kind: "any";
2885
+ key: string;
2886
+ text?: string | undefined;
2887
+ variant?: string | undefined;
2888
+ } | {
2859
2889
  kind: "image";
2860
2890
  id: string;
2861
2891
  url: string;
@@ -2864,9 +2894,9 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
2864
2894
  size: string;
2865
2895
  name: string;
2866
2896
  date?: string | null | undefined;
2867
- variant?: string | undefined;
2868
- text?: string | undefined;
2869
2897
  key: string;
2898
+ text?: string | undefined;
2899
+ variant?: string | undefined;
2870
2900
  } | {
2871
2901
  kind: "file";
2872
2902
  id: string;
@@ -2874,15 +2904,15 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
2874
2904
  name: string;
2875
2905
  size: string;
2876
2906
  date?: string | null | undefined;
2877
- variant?: string | undefined;
2878
- text?: string | undefined;
2879
2907
  key: string;
2908
+ text?: string | undefined;
2909
+ variant?: string | undefined;
2880
2910
  } | {
2881
2911
  kind: "document";
2882
2912
  id: string;
2883
- variant?: string | undefined;
2884
- text?: string | undefined;
2885
2913
  key: string;
2914
+ text?: string | undefined;
2915
+ variant?: string | undefined;
2886
2916
  } | {
2887
2917
  kind: "web";
2888
2918
  url: string;
@@ -2890,39 +2920,9 @@ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
2890
2920
  preview?: {
2891
2921
  title?: string | undefined;
2892
2922
  } | null | undefined;
2893
- variant?: string | undefined;
2894
- text?: string | undefined;
2895
- key: string;
2896
- } | {
2897
- kind: "image";
2898
- variant?: string | undefined;
2899
- text?: string | undefined;
2900
- key: string;
2901
- } | {
2902
- kind: "file";
2903
- variant?: string | undefined;
2904
- text?: string | undefined;
2905
- key: string;
2906
- } | {
2907
- kind: "media";
2908
- variant?: string | undefined;
2909
- text?: string | undefined;
2910
- key: string;
2911
- } | {
2912
- kind: "document";
2913
- variant?: string | undefined;
2914
- text?: string | undefined;
2915
2923
  key: string;
2916
- } | {
2917
- kind: "web";
2918
- variant?: string | undefined;
2919
2924
  text?: string | undefined;
2920
- key: string;
2921
- } | {
2922
- kind: "any";
2923
2925
  variant?: string | undefined;
2924
- text?: string | undefined;
2925
- key: string;
2926
2926
  };
2927
2927
  }, unknown>;
2928
2928
  declare const RepeatableLegacy: (ctx: LegacyContentCtx, fieldType: "Link") => t.Type<{
@@ -2932,8 +2932,8 @@ declare const RepeatableLegacy: (ctx: LegacyContentCtx, fieldType: "Link") => t.
2932
2932
  __TYPE__: "LinkContent";
2933
2933
  key: string;
2934
2934
  value: {
2935
- variant?: string | undefined;
2936
2935
  text?: string | undefined;
2936
+ variant?: string | undefined;
2937
2937
  } & LinkContentValue;
2938
2938
  }[];
2939
2939
  }, {
@@ -2968,7 +2968,7 @@ declare const TableLegacy: (ctx: LegacyContentCtx) => t.Type<{
2968
2968
  type: "tableRow";
2969
2969
  content: {
2970
2970
  key: string;
2971
- type: "tableHeader" | "tableCell";
2971
+ type: "tableCell" | "tableHeader";
2972
2972
  content: {
2973
2973
  __TYPE__: "StructuredTextContent";
2974
2974
  value: RichTextContentBlock[];
@@ -2985,7 +2985,7 @@ declare const TableLegacy: (ctx: LegacyContentCtx) => t.Type<{
2985
2985
  type: "tableRow";
2986
2986
  content: {
2987
2987
  key: string;
2988
- type: "tableHeader" | "tableCell";
2988
+ type: "tableCell" | "tableHeader";
2989
2989
  content: RichTextLegacyBlock[];
2990
2990
  columnWidth?: number | undefined;
2991
2991
  }[];
@@ -3019,8 +3019,9 @@ declare const GroupLegacy: (ctx: LegacyContentCtx) => t.Type<{
3019
3019
  content: GroupLegacy$1;
3020
3020
  }, unknown>;
3021
3021
  declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3022
- __TYPE__: "BooleanContent";
3023
- value: boolean;
3022
+ type: "Text";
3023
+ value: string;
3024
+ __TYPE__: "FieldContent";
3024
3025
  } | {
3025
3026
  type: "Color";
3026
3027
  value: string;
@@ -3030,21 +3031,9 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3030
3031
  value: string;
3031
3032
  __TYPE__: "FieldContent";
3032
3033
  } | {
3033
- type: string;
3034
- __TYPE__: "EmptyContent";
3035
- } | {
3036
- position: {
3037
- lat: number;
3038
- lng: number;
3039
- };
3040
- __TYPE__: "GeoPointContent";
3041
- } | {
3042
- __TYPE__: "LinkContent";
3043
- key: string;
3044
- value: {
3045
- variant?: string | undefined;
3046
- text?: string | undefined;
3047
- } & LinkContentValue;
3034
+ type: "Timestamp";
3035
+ value: string;
3036
+ __TYPE__: "FieldContent";
3048
3037
  } | {
3049
3038
  type: "Number";
3050
3039
  value: string;
@@ -3058,20 +3047,14 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3058
3047
  value: string;
3059
3048
  __TYPE__: "FieldContent";
3060
3049
  } | {
3061
- __TYPE__: "SeparatorContent";
3062
- } | {
3063
- type: "Text";
3064
- value: string;
3065
- __TYPE__: "FieldContent";
3050
+ type: string;
3051
+ __TYPE__: "EmptyContent";
3066
3052
  } | {
3067
- type: "Timestamp";
3068
- value: string;
3069
- __TYPE__: "FieldContent";
3053
+ __TYPE__: "BooleanContent";
3054
+ value: boolean;
3070
3055
  } | {
3071
3056
  embed_url: string;
3072
3057
  type: string;
3073
- __TYPE__: "EmbedContent";
3074
- all: unknown;
3075
3058
  version?: string | number | null | undefined;
3076
3059
  title?: string | null | undefined;
3077
3060
  author_name?: string | null | undefined;
@@ -3083,6 +3066,14 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3083
3066
  thumbnail_width?: number | null | undefined;
3084
3067
  thumbnail_height?: number | null | undefined;
3085
3068
  html?: string | null | undefined;
3069
+ __TYPE__: "EmbedContent";
3070
+ all: unknown;
3071
+ } | {
3072
+ position: {
3073
+ lat: number;
3074
+ lng: number;
3075
+ };
3076
+ __TYPE__: "GeoPointContent";
3086
3077
  } | {
3087
3078
  origin: {
3088
3079
  id: string;
@@ -3100,7 +3091,6 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3100
3091
  };
3101
3092
  background: string;
3102
3093
  };
3103
- __TYPE__: "ImageContent";
3104
3094
  url?: string | undefined;
3105
3095
  credits?: string | null | undefined;
3106
3096
  alt?: string | null | undefined;
@@ -3127,9 +3117,17 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3127
3117
  alt?: string | null | undefined;
3128
3118
  provider?: string | null | undefined;
3129
3119
  }> | undefined;
3120
+ __TYPE__: "ImageContent";
3130
3121
  } | {
3131
3122
  __TYPE__: "IntegrationFieldsContent";
3132
3123
  value: string;
3124
+ } | {
3125
+ __TYPE__: "LinkContent";
3126
+ key: string;
3127
+ value: {
3128
+ text?: string | undefined;
3129
+ variant?: string | undefined;
3130
+ } & LinkContentValue;
3133
3131
  } | {
3134
3132
  __TYPE__: "RepeatableContent";
3135
3133
  type: "Link";
@@ -3137,13 +3135,15 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3137
3135
  __TYPE__: "LinkContent";
3138
3136
  key: string;
3139
3137
  value: {
3140
- variant?: string | undefined;
3141
3138
  text?: string | undefined;
3139
+ variant?: string | undefined;
3142
3140
  } & LinkContentValue;
3143
3141
  }[];
3144
3142
  } | {
3145
3143
  __TYPE__: "StructuredTextContent";
3146
3144
  value: RichTextContentBlock[];
3145
+ } | {
3146
+ __TYPE__: "SeparatorContent";
3147
3147
  } | {
3148
3148
  __TYPE__: "TableContent";
3149
3149
  content: {
@@ -3151,7 +3151,7 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3151
3151
  type: "tableRow";
3152
3152
  content: {
3153
3153
  key: string;
3154
- type: "tableHeader" | "tableCell";
3154
+ type: "tableCell" | "tableHeader";
3155
3155
  content: {
3156
3156
  __TYPE__: "StructuredTextContent";
3157
3157
  value: RichTextContentBlock[];
@@ -3170,8 +3170,9 @@ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3170
3170
  declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3171
3171
  __TYPE__: "CompositeSliceContent";
3172
3172
  nonRepeat: Record<string, {
3173
- __TYPE__: "BooleanContent";
3174
- value: boolean;
3173
+ type: "Text";
3174
+ value: string;
3175
+ __TYPE__: "FieldContent";
3175
3176
  } | {
3176
3177
  type: "Color";
3177
3178
  value: string;
@@ -3181,21 +3182,9 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3181
3182
  value: string;
3182
3183
  __TYPE__: "FieldContent";
3183
3184
  } | {
3184
- type: string;
3185
- __TYPE__: "EmptyContent";
3186
- } | {
3187
- position: {
3188
- lat: number;
3189
- lng: number;
3190
- };
3191
- __TYPE__: "GeoPointContent";
3192
- } | {
3193
- __TYPE__: "LinkContent";
3194
- key: string;
3195
- value: {
3196
- variant?: string | undefined;
3197
- text?: string | undefined;
3198
- } & LinkContentValue;
3185
+ type: "Timestamp";
3186
+ value: string;
3187
+ __TYPE__: "FieldContent";
3199
3188
  } | {
3200
3189
  type: "Number";
3201
3190
  value: string;
@@ -3209,20 +3198,14 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3209
3198
  value: string;
3210
3199
  __TYPE__: "FieldContent";
3211
3200
  } | {
3212
- __TYPE__: "SeparatorContent";
3213
- } | {
3214
- type: "Text";
3215
- value: string;
3216
- __TYPE__: "FieldContent";
3201
+ type: string;
3202
+ __TYPE__: "EmptyContent";
3217
3203
  } | {
3218
- type: "Timestamp";
3219
- value: string;
3220
- __TYPE__: "FieldContent";
3204
+ __TYPE__: "BooleanContent";
3205
+ value: boolean;
3221
3206
  } | {
3222
3207
  embed_url: string;
3223
3208
  type: string;
3224
- __TYPE__: "EmbedContent";
3225
- all: unknown;
3226
3209
  version?: string | number | null | undefined;
3227
3210
  title?: string | null | undefined;
3228
3211
  author_name?: string | null | undefined;
@@ -3234,6 +3217,14 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3234
3217
  thumbnail_width?: number | null | undefined;
3235
3218
  thumbnail_height?: number | null | undefined;
3236
3219
  html?: string | null | undefined;
3220
+ __TYPE__: "EmbedContent";
3221
+ all: unknown;
3222
+ } | {
3223
+ position: {
3224
+ lat: number;
3225
+ lng: number;
3226
+ };
3227
+ __TYPE__: "GeoPointContent";
3237
3228
  } | {
3238
3229
  origin: {
3239
3230
  id: string;
@@ -3251,7 +3242,6 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3251
3242
  };
3252
3243
  background: string;
3253
3244
  };
3254
- __TYPE__: "ImageContent";
3255
3245
  url?: string | undefined;
3256
3246
  credits?: string | null | undefined;
3257
3247
  alt?: string | null | undefined;
@@ -3278,9 +3268,17 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3278
3268
  alt?: string | null | undefined;
3279
3269
  provider?: string | null | undefined;
3280
3270
  }> | undefined;
3271
+ __TYPE__: "ImageContent";
3281
3272
  } | {
3282
3273
  __TYPE__: "IntegrationFieldsContent";
3283
3274
  value: string;
3275
+ } | {
3276
+ __TYPE__: "LinkContent";
3277
+ key: string;
3278
+ value: {
3279
+ text?: string | undefined;
3280
+ variant?: string | undefined;
3281
+ } & LinkContentValue;
3284
3282
  } | {
3285
3283
  __TYPE__: "RepeatableContent";
3286
3284
  type: "Link";
@@ -3288,13 +3286,15 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3288
3286
  __TYPE__: "LinkContent";
3289
3287
  key: string;
3290
3288
  value: {
3291
- variant?: string | undefined;
3292
3289
  text?: string | undefined;
3290
+ variant?: string | undefined;
3293
3291
  } & LinkContentValue;
3294
3292
  }[];
3295
3293
  } | {
3296
3294
  __TYPE__: "StructuredTextContent";
3297
3295
  value: RichTextContentBlock[];
3296
+ } | {
3297
+ __TYPE__: "SeparatorContent";
3298
3298
  } | {
3299
3299
  __TYPE__: "TableContent";
3300
3300
  content: {
@@ -3302,7 +3302,7 @@ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3302
3302
  type: "tableRow";
3303
3303
  content: {
3304
3304
  key: string;
3305
- type: "tableHeader" | "tableCell";
3305
+ type: "tableCell" | "tableHeader";
3306
3306
  content: {
3307
3307
  __TYPE__: "StructuredTextContent";
3308
3308
  value: RichTextContentBlock[];
@@ -3324,8 +3324,9 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3324
3324
  __TYPE__: "SharedSliceContent";
3325
3325
  variation: string;
3326
3326
  primary: Record<string, {
3327
- __TYPE__: "BooleanContent";
3328
- value: boolean;
3327
+ type: "Text";
3328
+ value: string;
3329
+ __TYPE__: "FieldContent";
3329
3330
  } | {
3330
3331
  type: "Color";
3331
3332
  value: string;
@@ -3335,21 +3336,9 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3335
3336
  value: string;
3336
3337
  __TYPE__: "FieldContent";
3337
3338
  } | {
3338
- type: string;
3339
- __TYPE__: "EmptyContent";
3340
- } | {
3341
- position: {
3342
- lat: number;
3343
- lng: number;
3344
- };
3345
- __TYPE__: "GeoPointContent";
3346
- } | {
3347
- __TYPE__: "LinkContent";
3348
- key: string;
3349
- value: {
3350
- variant?: string | undefined;
3351
- text?: string | undefined;
3352
- } & LinkContentValue;
3339
+ type: "Timestamp";
3340
+ value: string;
3341
+ __TYPE__: "FieldContent";
3353
3342
  } | {
3354
3343
  type: "Number";
3355
3344
  value: string;
@@ -3363,20 +3352,14 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3363
3352
  value: string;
3364
3353
  __TYPE__: "FieldContent";
3365
3354
  } | {
3366
- __TYPE__: "SeparatorContent";
3367
- } | {
3368
- type: "Text";
3369
- value: string;
3370
- __TYPE__: "FieldContent";
3355
+ type: string;
3356
+ __TYPE__: "EmptyContent";
3371
3357
  } | {
3372
- type: "Timestamp";
3373
- value: string;
3374
- __TYPE__: "FieldContent";
3358
+ __TYPE__: "BooleanContent";
3359
+ value: boolean;
3375
3360
  } | {
3376
3361
  embed_url: string;
3377
3362
  type: string;
3378
- __TYPE__: "EmbedContent";
3379
- all: unknown;
3380
3363
  version?: string | number | null | undefined;
3381
3364
  title?: string | null | undefined;
3382
3365
  author_name?: string | null | undefined;
@@ -3388,6 +3371,14 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3388
3371
  thumbnail_width?: number | null | undefined;
3389
3372
  thumbnail_height?: number | null | undefined;
3390
3373
  html?: string | null | undefined;
3374
+ __TYPE__: "EmbedContent";
3375
+ all: unknown;
3376
+ } | {
3377
+ position: {
3378
+ lat: number;
3379
+ lng: number;
3380
+ };
3381
+ __TYPE__: "GeoPointContent";
3391
3382
  } | {
3392
3383
  origin: {
3393
3384
  id: string;
@@ -3405,7 +3396,6 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3405
3396
  };
3406
3397
  background: string;
3407
3398
  };
3408
- __TYPE__: "ImageContent";
3409
3399
  url?: string | undefined;
3410
3400
  credits?: string | null | undefined;
3411
3401
  alt?: string | null | undefined;
@@ -3432,9 +3422,17 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3432
3422
  alt?: string | null | undefined;
3433
3423
  provider?: string | null | undefined;
3434
3424
  }> | undefined;
3425
+ __TYPE__: "ImageContent";
3435
3426
  } | {
3436
3427
  __TYPE__: "IntegrationFieldsContent";
3437
3428
  value: string;
3429
+ } | {
3430
+ __TYPE__: "LinkContent";
3431
+ key: string;
3432
+ value: {
3433
+ text?: string | undefined;
3434
+ variant?: string | undefined;
3435
+ } & LinkContentValue;
3438
3436
  } | {
3439
3437
  __TYPE__: "RepeatableContent";
3440
3438
  type: "Link";
@@ -3442,13 +3440,15 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3442
3440
  __TYPE__: "LinkContent";
3443
3441
  key: string;
3444
3442
  value: {
3445
- variant?: string | undefined;
3446
3443
  text?: string | undefined;
3444
+ variant?: string | undefined;
3447
3445
  } & LinkContentValue;
3448
3446
  }[];
3449
3447
  } | {
3450
3448
  __TYPE__: "StructuredTextContent";
3451
3449
  value: RichTextContentBlock[];
3450
+ } | {
3451
+ __TYPE__: "SeparatorContent";
3452
3452
  } | {
3453
3453
  __TYPE__: "TableContent";
3454
3454
  content: {
@@ -3456,7 +3456,7 @@ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
3456
3456
  type: "tableRow";
3457
3457
  content: {
3458
3458
  key: string;
3459
- type: "tableHeader" | "tableCell";
3459
+ type: "tableCell" | "tableHeader";
3460
3460
  content: {
3461
3461
  __TYPE__: "StructuredTextContent";
3462
3462
  value: RichTextContentBlock[];
@@ -3486,15 +3486,15 @@ declare const SliceLegacy: (ctx: LegacyContentCtx) => t.Type<SliceContent, {
3486
3486
  declare const SliceItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3487
3487
  key: string;
3488
3488
  name: string;
3489
- widget: SliceContent;
3490
3489
  maybeLabel?: string | undefined;
3490
+ widget: SliceContent;
3491
3491
  }, {
3492
3492
  keys: Record<string, string>;
3493
3493
  types: Record<string, FieldOrSliceType>;
3494
3494
  content: {
3495
3495
  key: string;
3496
- value: unknown;
3497
3496
  label?: string | null | undefined;
3497
+ value: unknown;
3498
3498
  };
3499
3499
  }, unknown>;
3500
3500
  declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
@@ -3502,16 +3502,16 @@ declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
3502
3502
  value: {
3503
3503
  key: string;
3504
3504
  name: string;
3505
- widget: SliceContent;
3506
3505
  maybeLabel?: string | undefined;
3506
+ widget: SliceContent;
3507
3507
  }[];
3508
3508
  }, {
3509
3509
  keys: Record<string, string>;
3510
3510
  types: Record<string, FieldOrSliceType>;
3511
3511
  content: {
3512
3512
  key: string;
3513
- value: unknown;
3514
3513
  label?: string | null | undefined;
3514
+ value: unknown;
3515
3515
  }[];
3516
3516
  }, unknown>;
3517
3517
  declare const WidgetLegacy: (ctx: LegacyContentCtx) => t.Type<WidgetContent, {
@@ -3660,7 +3660,7 @@ declare const LinkModelSchema: t.Type<{
3660
3660
  label?: string | null | undefined;
3661
3661
  useAsTitle?: boolean | undefined;
3662
3662
  placeholder?: string | undefined;
3663
- select?: "media" | "document" | "web" | null | undefined;
3663
+ select?: "document" | "media" | "web" | null | undefined;
3664
3664
  customtypes?: (string | {
3665
3665
  id: string;
3666
3666
  fields: (string | {
@@ -3700,7 +3700,7 @@ declare const LinkModelSchema: t.Type<{
3700
3700
  label?: string | null | undefined;
3701
3701
  useAsTitle?: boolean | undefined;
3702
3702
  placeholder?: string | undefined;
3703
- select?: "media" | "document" | "web" | null | undefined;
3703
+ select?: "document" | "media" | "web" | null | undefined;
3704
3704
  customtypes?: (string | {
3705
3705
  id: string;
3706
3706
  fields: (string | {
@@ -3735,6 +3735,22 @@ declare const LinkModelSchema: t.Type<{
3735
3735
  } | undefined;
3736
3736
  }, unknown>;
3737
3737
  declare const NestableModelSchema: t.Type<{
3738
+ type: "StructuredText";
3739
+ fieldset?: string | null | undefined;
3740
+ config?: {
3741
+ label?: string | null | undefined;
3742
+ placeholder?: string | undefined;
3743
+ useAsTitle?: boolean | undefined;
3744
+ single?: string | undefined;
3745
+ multi?: string | undefined;
3746
+ imageConstraint?: {
3747
+ width?: number | null | undefined;
3748
+ height?: number | null | undefined;
3749
+ } | undefined;
3750
+ labels?: string[] | undefined;
3751
+ allowTargetBlank?: boolean | undefined;
3752
+ } | undefined;
3753
+ } | {
3738
3754
  type: "Boolean";
3739
3755
  config?: {
3740
3756
  label?: string | null | undefined;
@@ -3802,7 +3818,7 @@ declare const NestableModelSchema: t.Type<{
3802
3818
  label?: string | null | undefined;
3803
3819
  useAsTitle?: boolean | undefined;
3804
3820
  placeholder?: string | undefined;
3805
- select?: "media" | "document" | "web" | null | undefined;
3821
+ select?: "document" | "media" | "web" | null | undefined;
3806
3822
  customtypes?: (string | {
3807
3823
  id: string;
3808
3824
  fields: (string | {
@@ -3855,22 +3871,6 @@ declare const NestableModelSchema: t.Type<{
3855
3871
  max?: number | undefined;
3856
3872
  step?: number | undefined;
3857
3873
  } | undefined;
3858
- } | {
3859
- type: "StructuredText";
3860
- fieldset?: string | null | undefined;
3861
- config?: {
3862
- label?: string | null | undefined;
3863
- placeholder?: string | undefined;
3864
- useAsTitle?: boolean | undefined;
3865
- single?: string | undefined;
3866
- multi?: string | undefined;
3867
- imageConstraint?: {
3868
- width?: number | null | undefined;
3869
- height?: number | null | undefined;
3870
- } | undefined;
3871
- labels?: string[] | undefined;
3872
- allowTargetBlank?: boolean | undefined;
3873
- } | undefined;
3874
3874
  } | {
3875
3875
  type: "Select";
3876
3876
  fieldset?: string | null | undefined;
@@ -3907,6 +3907,22 @@ declare const NestableModelSchema: t.Type<{
3907
3907
  default?: string | undefined;
3908
3908
  } | undefined;
3909
3909
  }, {
3910
+ type: "StructuredText";
3911
+ fieldset?: string | null | undefined;
3912
+ config?: {
3913
+ label?: string | null | undefined;
3914
+ placeholder?: string | undefined;
3915
+ useAsTitle?: boolean | undefined;
3916
+ single?: string | undefined;
3917
+ multi?: string | undefined;
3918
+ imageConstraint?: {
3919
+ width?: number | null | undefined;
3920
+ height?: number | null | undefined;
3921
+ } | undefined;
3922
+ labels?: string[] | undefined;
3923
+ allowTargetBlank?: boolean | undefined;
3924
+ } | undefined;
3925
+ } | {
3910
3926
  type: "Boolean";
3911
3927
  config?: {
3912
3928
  label?: string | null | undefined;
@@ -3974,7 +3990,7 @@ declare const NestableModelSchema: t.Type<{
3974
3990
  label?: string | null | undefined;
3975
3991
  useAsTitle?: boolean | undefined;
3976
3992
  placeholder?: string | undefined;
3977
- select?: "media" | "document" | "web" | null | undefined;
3993
+ select?: "document" | "media" | "web" | null | undefined;
3978
3994
  customtypes?: (string | {
3979
3995
  id: string;
3980
3996
  fields: (string | {
@@ -4027,22 +4043,6 @@ declare const NestableModelSchema: t.Type<{
4027
4043
  max?: number | undefined;
4028
4044
  step?: number | undefined;
4029
4045
  } | undefined;
4030
- } | {
4031
- type: "StructuredText";
4032
- fieldset?: string | null | undefined;
4033
- config?: {
4034
- label?: string | null | undefined;
4035
- placeholder?: string | undefined;
4036
- useAsTitle?: boolean | undefined;
4037
- single?: string | undefined;
4038
- multi?: string | undefined;
4039
- imageConstraint?: {
4040
- width?: number | null | undefined;
4041
- height?: number | null | undefined;
4042
- } | undefined;
4043
- labels?: string[] | undefined;
4044
- allowTargetBlank?: boolean | undefined;
4045
- } | undefined;
4046
4046
  } | {
4047
4047
  type: "Select";
4048
4048
  fieldset?: string | null | undefined;
@@ -4196,7 +4196,7 @@ declare const SharedSliceModelSchema: t.Type<{
4196
4196
  docURL: string;
4197
4197
  version: string;
4198
4198
  display?: string | undefined;
4199
- primary?: Record<string, NestableModel | {
4199
+ primary?: Record<string, {
4200
4200
  type: "Group";
4201
4201
  fieldset?: string | null | undefined;
4202
4202
  icon?: string | undefined;
@@ -4204,7 +4204,7 @@ declare const SharedSliceModelSchema: t.Type<{
4204
4204
  config?: {
4205
4205
  label?: string | null | undefined;
4206
4206
  repeat?: boolean | undefined;
4207
- fields?: Record<string, NestableModel | {
4207
+ fields?: Record<string, {
4208
4208
  type: "Group";
4209
4209
  fieldset?: string | null | undefined;
4210
4210
  icon?: string | undefined;
@@ -4213,6 +4213,22 @@ declare const SharedSliceModelSchema: t.Type<{
4213
4213
  label?: string | null | undefined;
4214
4214
  repeat?: boolean | undefined;
4215
4215
  fields?: Record<string, {
4216
+ type: "StructuredText";
4217
+ fieldset?: string | null | undefined;
4218
+ config?: {
4219
+ label?: string | null | undefined;
4220
+ placeholder?: string | undefined;
4221
+ useAsTitle?: boolean | undefined;
4222
+ single?: string | undefined;
4223
+ multi?: string | undefined;
4224
+ imageConstraint?: {
4225
+ width?: number | null | undefined;
4226
+ height?: number | null | undefined;
4227
+ } | undefined;
4228
+ labels?: string[] | undefined;
4229
+ allowTargetBlank?: boolean | undefined;
4230
+ } | undefined;
4231
+ } | {
4216
4232
  type: "Boolean";
4217
4233
  config?: {
4218
4234
  label?: string | null | undefined;
@@ -4280,20 +4296,23 @@ declare const SharedSliceModelSchema: t.Type<{
4280
4296
  label?: string | null | undefined;
4281
4297
  useAsTitle?: boolean | undefined;
4282
4298
  placeholder?: string | undefined;
4283
- select?: "media" | "document" | "web" | null | undefined;
4299
+ select?: "document" | "media" | "web" | null | undefined;
4284
4300
  customtypes?: (string | {
4285
4301
  id: string;
4286
4302
  fields: (string | {
4287
4303
  id: string;
4288
4304
  customtypes: (string | {
4289
4305
  id: string;
4290
- fields: (string | /*elided*/any)[];
4306
+ fields: (string | /*elided*/ any)[];
4291
4307
  })[];
4292
4308
  } | {
4293
4309
  id: string;
4294
4310
  fields: (string | {
4295
4311
  id: string;
4296
- customtypes: (string | /*elided*/any)[];
4312
+ customtypes: (string | {
4313
+ id: string;
4314
+ fields: (string | any)[];
4315
+ })[];
4297
4316
  })[];
4298
4317
  })[];
4299
4318
  })[] | undefined;
@@ -4324,22 +4343,6 @@ declare const SharedSliceModelSchema: t.Type<{
4324
4343
  max?: number | undefined;
4325
4344
  step?: number | undefined;
4326
4345
  } | undefined;
4327
- } | {
4328
- type: "StructuredText";
4329
- fieldset?: string | null | undefined;
4330
- config?: {
4331
- label?: string | null | undefined;
4332
- placeholder?: string | undefined;
4333
- useAsTitle?: boolean | undefined;
4334
- single?: string | undefined;
4335
- multi?: string | undefined;
4336
- imageConstraint?: {
4337
- width?: number | null | undefined;
4338
- height?: number | null | undefined;
4339
- } | undefined;
4340
- labels?: string[] | undefined;
4341
- allowTargetBlank?: boolean | undefined;
4342
- } | undefined;
4343
4346
  } | {
4344
4347
  type: "Select";
4345
4348
  fieldset?: string | null | undefined;
@@ -4377,10 +4380,26 @@ declare const SharedSliceModelSchema: t.Type<{
4377
4380
  } | undefined;
4378
4381
  }> | undefined;
4379
4382
  } | undefined;
4380
- }> | undefined;
4383
+ } | NestableModel> | undefined;
4381
4384
  } | undefined;
4382
- }> | undefined;
4385
+ } | NestableModel> | undefined;
4383
4386
  items?: Record<string, {
4387
+ type: "StructuredText";
4388
+ fieldset?: string | null | undefined;
4389
+ config?: {
4390
+ label?: string | null | undefined;
4391
+ placeholder?: string | undefined;
4392
+ useAsTitle?: boolean | undefined;
4393
+ single?: string | undefined;
4394
+ multi?: string | undefined;
4395
+ imageConstraint?: {
4396
+ width?: number | null | undefined;
4397
+ height?: number | null | undefined;
4398
+ } | undefined;
4399
+ labels?: string[] | undefined;
4400
+ allowTargetBlank?: boolean | undefined;
4401
+ } | undefined;
4402
+ } | {
4384
4403
  type: "Boolean";
4385
4404
  config?: {
4386
4405
  label?: string | null | undefined;
@@ -4448,17 +4467,14 @@ declare const SharedSliceModelSchema: t.Type<{
4448
4467
  label?: string | null | undefined;
4449
4468
  useAsTitle?: boolean | undefined;
4450
4469
  placeholder?: string | undefined;
4451
- select?: "media" | "document" | "web" | null | undefined;
4470
+ select?: "document" | "media" | "web" | null | undefined;
4452
4471
  customtypes?: (string | {
4453
4472
  id: string;
4454
4473
  fields: (string | {
4455
4474
  id: string;
4456
4475
  customtypes: (string | {
4457
4476
  id: string;
4458
- fields: (string | {
4459
- id: string;
4460
- fields: string[];
4461
- })[];
4477
+ fields: (string | any)[];
4462
4478
  })[];
4463
4479
  } | {
4464
4480
  id: string;
@@ -4466,10 +4482,7 @@ declare const SharedSliceModelSchema: t.Type<{
4466
4482
  id: string;
4467
4483
  customtypes: (string | {
4468
4484
  id: string;
4469
- fields: (string | {
4470
- id: string;
4471
- fields: string[];
4472
- })[];
4485
+ fields: (string | any)[];
4473
4486
  })[];
4474
4487
  })[];
4475
4488
  })[];
@@ -4501,22 +4514,6 @@ declare const SharedSliceModelSchema: t.Type<{
4501
4514
  max?: number | undefined;
4502
4515
  step?: number | undefined;
4503
4516
  } | undefined;
4504
- } | {
4505
- type: "StructuredText";
4506
- fieldset?: string | null | undefined;
4507
- config?: {
4508
- label?: string | null | undefined;
4509
- placeholder?: string | undefined;
4510
- useAsTitle?: boolean | undefined;
4511
- single?: string | undefined;
4512
- multi?: string | undefined;
4513
- imageConstraint?: {
4514
- width?: number | null | undefined;
4515
- height?: number | null | undefined;
4516
- } | undefined;
4517
- labels?: string[] | undefined;
4518
- allowTargetBlank?: boolean | undefined;
4519
- } | undefined;
4520
4517
  } | {
4521
4518
  type: "Select";
4522
4519
  fieldset?: string | null | undefined;
@@ -4558,7 +4555,6 @@ declare const SharedSliceModelSchema: t.Type<{
4558
4555
  legacyPaths?: Record<string, string> | undefined;
4559
4556
  schema?: undefined;
4560
4557
  } | {
4561
- schema: "@prismicio/types-internal@4.5.0";
4562
4558
  id: string;
4563
4559
  type: "SharedSlice";
4564
4560
  name: string;
@@ -4570,7 +4566,7 @@ declare const SharedSliceModelSchema: t.Type<{
4570
4566
  docURL: string;
4571
4567
  version: string;
4572
4568
  display?: string | undefined;
4573
- primary?: Record<string, NestableModel | {
4569
+ primary?: Record<string, {
4574
4570
  type: "Group";
4575
4571
  fieldset?: string | null | undefined;
4576
4572
  icon?: string | undefined;
@@ -4578,7 +4574,7 @@ declare const SharedSliceModelSchema: t.Type<{
4578
4574
  config?: {
4579
4575
  label?: string | null | undefined;
4580
4576
  repeat?: boolean | undefined;
4581
- fields?: Record<string, NestableModel | {
4577
+ fields?: Record<string, {
4582
4578
  type: "Group";
4583
4579
  fieldset?: string | null | undefined;
4584
4580
  icon?: string | undefined;
@@ -4587,6 +4583,22 @@ declare const SharedSliceModelSchema: t.Type<{
4587
4583
  label?: string | null | undefined;
4588
4584
  repeat?: boolean | undefined;
4589
4585
  fields?: Record<string, {
4586
+ type: "StructuredText";
4587
+ fieldset?: string | null | undefined;
4588
+ config?: {
4589
+ label?: string | null | undefined;
4590
+ placeholder?: string | undefined;
4591
+ useAsTitle?: boolean | undefined;
4592
+ single?: string | undefined;
4593
+ multi?: string | undefined;
4594
+ imageConstraint?: {
4595
+ width?: number | null | undefined;
4596
+ height?: number | null | undefined;
4597
+ } | undefined;
4598
+ labels?: string[] | undefined;
4599
+ allowTargetBlank?: boolean | undefined;
4600
+ } | undefined;
4601
+ } | {
4590
4602
  type: "Boolean";
4591
4603
  config?: {
4592
4604
  label?: string | null | undefined;
@@ -4654,20 +4666,23 @@ declare const SharedSliceModelSchema: t.Type<{
4654
4666
  label?: string | null | undefined;
4655
4667
  useAsTitle?: boolean | undefined;
4656
4668
  placeholder?: string | undefined;
4657
- select?: "media" | "document" | "web" | null | undefined;
4669
+ select?: "document" | "media" | "web" | null | undefined;
4658
4670
  customtypes?: (string | {
4659
4671
  id: string;
4660
4672
  fields: (string | {
4661
4673
  id: string;
4662
4674
  customtypes: (string | {
4663
4675
  id: string;
4664
- fields: (string | /*elided*/any)[];
4676
+ fields: (string | any)[];
4665
4677
  })[];
4666
4678
  } | {
4667
4679
  id: string;
4668
4680
  fields: (string | {
4669
4681
  id: string;
4670
- customtypes: (string | /*elided*/any)[];
4682
+ customtypes: (string | {
4683
+ id: string;
4684
+ fields: (string | any)[];
4685
+ })[];
4671
4686
  })[];
4672
4687
  })[];
4673
4688
  })[] | undefined;
@@ -4698,22 +4713,6 @@ declare const SharedSliceModelSchema: t.Type<{
4698
4713
  max?: number | undefined;
4699
4714
  step?: number | undefined;
4700
4715
  } | undefined;
4701
- } | {
4702
- type: "StructuredText";
4703
- fieldset?: string | null | undefined;
4704
- config?: {
4705
- label?: string | null | undefined;
4706
- placeholder?: string | undefined;
4707
- useAsTitle?: boolean | undefined;
4708
- single?: string | undefined;
4709
- multi?: string | undefined;
4710
- imageConstraint?: {
4711
- width?: number | null | undefined;
4712
- height?: number | null | undefined;
4713
- } | undefined;
4714
- labels?: string[] | undefined;
4715
- allowTargetBlank?: boolean | undefined;
4716
- } | undefined;
4717
4716
  } | {
4718
4717
  type: "Select";
4719
4718
  fieldset?: string | null | undefined;
@@ -4751,10 +4750,26 @@ declare const SharedSliceModelSchema: t.Type<{
4751
4750
  } | undefined;
4752
4751
  }> | undefined;
4753
4752
  } | undefined;
4754
- }> | undefined;
4753
+ } | NestableModel> | undefined;
4754
+ } | undefined;
4755
+ } | NestableModel> | undefined;
4756
+ items?: Record<string, {
4757
+ type: "StructuredText";
4758
+ fieldset?: string | null | undefined;
4759
+ config?: {
4760
+ label?: string | null | undefined;
4761
+ placeholder?: string | undefined;
4762
+ useAsTitle?: boolean | undefined;
4763
+ single?: string | undefined;
4764
+ multi?: string | undefined;
4765
+ imageConstraint?: {
4766
+ width?: number | null | undefined;
4767
+ height?: number | null | undefined;
4768
+ } | undefined;
4769
+ labels?: string[] | undefined;
4770
+ allowTargetBlank?: boolean | undefined;
4755
4771
  } | undefined;
4756
- }> | undefined;
4757
- items?: Record<string, {
4772
+ } | {
4758
4773
  type: "Boolean";
4759
4774
  config?: {
4760
4775
  label?: string | null | undefined;
@@ -4822,17 +4837,14 @@ declare const SharedSliceModelSchema: t.Type<{
4822
4837
  label?: string | null | undefined;
4823
4838
  useAsTitle?: boolean | undefined;
4824
4839
  placeholder?: string | undefined;
4825
- select?: "media" | "document" | "web" | null | undefined;
4840
+ select?: "document" | "media" | "web" | null | undefined;
4826
4841
  customtypes?: (string | {
4827
4842
  id: string;
4828
4843
  fields: (string | {
4829
4844
  id: string;
4830
4845
  customtypes: (string | {
4831
4846
  id: string;
4832
- fields: (string | {
4833
- id: string;
4834
- fields: string[];
4835
- })[];
4847
+ fields: (string | any)[];
4836
4848
  })[];
4837
4849
  } | {
4838
4850
  id: string;
@@ -4840,10 +4852,7 @@ declare const SharedSliceModelSchema: t.Type<{
4840
4852
  id: string;
4841
4853
  customtypes: (string | {
4842
4854
  id: string;
4843
- fields: (string | {
4844
- id: string;
4845
- fields: string[];
4846
- })[];
4855
+ fields: (string | any)[];
4847
4856
  })[];
4848
4857
  })[];
4849
4858
  })[];
@@ -4875,22 +4884,6 @@ declare const SharedSliceModelSchema: t.Type<{
4875
4884
  max?: number | undefined;
4876
4885
  step?: number | undefined;
4877
4886
  } | undefined;
4878
- } | {
4879
- type: "StructuredText";
4880
- fieldset?: string | null | undefined;
4881
- config?: {
4882
- label?: string | null | undefined;
4883
- placeholder?: string | undefined;
4884
- useAsTitle?: boolean | undefined;
4885
- single?: string | undefined;
4886
- multi?: string | undefined;
4887
- imageConstraint?: {
4888
- width?: number | null | undefined;
4889
- height?: number | null | undefined;
4890
- } | undefined;
4891
- labels?: string[] | undefined;
4892
- allowTargetBlank?: boolean | undefined;
4893
- } | undefined;
4894
4887
  } | {
4895
4888
  type: "Select";
4896
4889
  fieldset?: string | null | undefined;
@@ -4930,6 +4923,7 @@ declare const SharedSliceModelSchema: t.Type<{
4930
4923
  }[];
4931
4924
  description?: string | undefined;
4932
4925
  legacyPaths?: Record<string, string> | undefined;
4926
+ schema: "@prismicio/types-internal@4.5.0";
4933
4927
  }, {
4934
4928
  id: string;
4935
4929
  type: "SharedSlice";
@@ -4942,7 +4936,7 @@ declare const SharedSliceModelSchema: t.Type<{
4942
4936
  docURL: string;
4943
4937
  version: string;
4944
4938
  display?: string | undefined;
4945
- primary?: Record<string, NestableModel | {
4939
+ primary?: Record<string, {
4946
4940
  type: "Group";
4947
4941
  fieldset?: string | null | undefined;
4948
4942
  icon?: string | undefined;
@@ -4950,7 +4944,7 @@ declare const SharedSliceModelSchema: t.Type<{
4950
4944
  config?: {
4951
4945
  label?: string | null | undefined;
4952
4946
  repeat?: boolean | undefined;
4953
- fields?: Record<string, NestableModel | {
4947
+ fields?: Record<string, {
4954
4948
  type: "Group";
4955
4949
  fieldset?: string | null | undefined;
4956
4950
  icon?: string | undefined;
@@ -4959,6 +4953,22 @@ declare const SharedSliceModelSchema: t.Type<{
4959
4953
  label?: string | null | undefined;
4960
4954
  repeat?: boolean | undefined;
4961
4955
  fields?: Record<string, {
4956
+ type: "StructuredText";
4957
+ fieldset?: string | null | undefined;
4958
+ config?: {
4959
+ label?: string | null | undefined;
4960
+ placeholder?: string | undefined;
4961
+ useAsTitle?: boolean | undefined;
4962
+ single?: string | undefined;
4963
+ multi?: string | undefined;
4964
+ imageConstraint?: {
4965
+ width?: number | null | undefined;
4966
+ height?: number | null | undefined;
4967
+ } | undefined;
4968
+ labels?: string[] | undefined;
4969
+ allowTargetBlank?: boolean | undefined;
4970
+ } | undefined;
4971
+ } | {
4962
4972
  type: "Boolean";
4963
4973
  config?: {
4964
4974
  label?: string | null | undefined;
@@ -5026,20 +5036,23 @@ declare const SharedSliceModelSchema: t.Type<{
5026
5036
  label?: string | null | undefined;
5027
5037
  useAsTitle?: boolean | undefined;
5028
5038
  placeholder?: string | undefined;
5029
- select?: "media" | "document" | "web" | null | undefined;
5039
+ select?: "document" | "media" | "web" | null | undefined;
5030
5040
  customtypes?: (string | {
5031
5041
  id: string;
5032
5042
  fields: (string | {
5033
5043
  id: string;
5034
5044
  customtypes: (string | {
5035
5045
  id: string;
5036
- fields: (string | /*elided*/any)[];
5046
+ fields: (string | any)[];
5037
5047
  })[];
5038
5048
  } | {
5039
5049
  id: string;
5040
5050
  fields: (string | {
5041
5051
  id: string;
5042
- customtypes: (string | /*elided*/any)[];
5052
+ customtypes: (string | {
5053
+ id: string;
5054
+ fields: (string | any)[];
5055
+ })[];
5043
5056
  })[];
5044
5057
  })[];
5045
5058
  })[] | undefined;
@@ -5070,22 +5083,6 @@ declare const SharedSliceModelSchema: t.Type<{
5070
5083
  max?: number | undefined;
5071
5084
  step?: number | undefined;
5072
5085
  } | undefined;
5073
- } | {
5074
- type: "StructuredText";
5075
- fieldset?: string | null | undefined;
5076
- config?: {
5077
- label?: string | null | undefined;
5078
- placeholder?: string | undefined;
5079
- useAsTitle?: boolean | undefined;
5080
- single?: string | undefined;
5081
- multi?: string | undefined;
5082
- imageConstraint?: {
5083
- width?: number | null | undefined;
5084
- height?: number | null | undefined;
5085
- } | undefined;
5086
- labels?: string[] | undefined;
5087
- allowTargetBlank?: boolean | undefined;
5088
- } | undefined;
5089
5086
  } | {
5090
5087
  type: "Select";
5091
5088
  fieldset?: string | null | undefined;
@@ -5123,10 +5120,26 @@ declare const SharedSliceModelSchema: t.Type<{
5123
5120
  } | undefined;
5124
5121
  }> | undefined;
5125
5122
  } | undefined;
5126
- }> | undefined;
5123
+ } | NestableModel> | undefined;
5127
5124
  } | undefined;
5128
- }> | undefined;
5125
+ } | NestableModel> | undefined;
5129
5126
  items?: Record<string, {
5127
+ type: "StructuredText";
5128
+ fieldset?: string | null | undefined;
5129
+ config?: {
5130
+ label?: string | null | undefined;
5131
+ placeholder?: string | undefined;
5132
+ useAsTitle?: boolean | undefined;
5133
+ single?: string | undefined;
5134
+ multi?: string | undefined;
5135
+ imageConstraint?: {
5136
+ width?: number | null | undefined;
5137
+ height?: number | null | undefined;
5138
+ } | undefined;
5139
+ labels?: string[] | undefined;
5140
+ allowTargetBlank?: boolean | undefined;
5141
+ } | undefined;
5142
+ } | {
5130
5143
  type: "Boolean";
5131
5144
  config?: {
5132
5145
  label?: string | null | undefined;
@@ -5194,17 +5207,14 @@ declare const SharedSliceModelSchema: t.Type<{
5194
5207
  label?: string | null | undefined;
5195
5208
  useAsTitle?: boolean | undefined;
5196
5209
  placeholder?: string | undefined;
5197
- select?: "media" | "document" | "web" | null | undefined;
5210
+ select?: "document" | "media" | "web" | null | undefined;
5198
5211
  customtypes?: (string | {
5199
5212
  id: string;
5200
5213
  fields: (string | {
5201
5214
  id: string;
5202
5215
  customtypes: (string | {
5203
5216
  id: string;
5204
- fields: (string | {
5205
- id: string;
5206
- fields: string[];
5207
- })[];
5217
+ fields: (string | any)[];
5208
5218
  })[];
5209
5219
  } | {
5210
5220
  id: string;
@@ -5212,10 +5222,7 @@ declare const SharedSliceModelSchema: t.Type<{
5212
5222
  id: string;
5213
5223
  customtypes: (string | {
5214
5224
  id: string;
5215
- fields: (string | {
5216
- id: string;
5217
- fields: string[];
5218
- })[];
5225
+ fields: (string | any)[];
5219
5226
  })[];
5220
5227
  })[];
5221
5228
  })[];
@@ -5247,22 +5254,6 @@ declare const SharedSliceModelSchema: t.Type<{
5247
5254
  max?: number | undefined;
5248
5255
  step?: number | undefined;
5249
5256
  } | undefined;
5250
- } | {
5251
- type: "StructuredText";
5252
- fieldset?: string | null | undefined;
5253
- config?: {
5254
- label?: string | null | undefined;
5255
- placeholder?: string | undefined;
5256
- useAsTitle?: boolean | undefined;
5257
- single?: string | undefined;
5258
- multi?: string | undefined;
5259
- imageConstraint?: {
5260
- width?: number | null | undefined;
5261
- height?: number | null | undefined;
5262
- } | undefined;
5263
- labels?: string[] | undefined;
5264
- allowTargetBlank?: boolean | undefined;
5265
- } | undefined;
5266
5257
  } | {
5267
5258
  type: "Select";
5268
5259
  fieldset?: string | null | undefined;
@@ -5304,7 +5295,6 @@ declare const SharedSliceModelSchema: t.Type<{
5304
5295
  legacyPaths?: Record<string, string> | undefined;
5305
5296
  schema?: undefined;
5306
5297
  } | {
5307
- schema: "@prismicio/types-internal@4.5.0";
5308
5298
  id: string;
5309
5299
  type: "SharedSlice";
5310
5300
  name: string;
@@ -5316,7 +5306,7 @@ declare const SharedSliceModelSchema: t.Type<{
5316
5306
  docURL: string;
5317
5307
  version: string;
5318
5308
  display?: string | undefined;
5319
- primary?: Record<string, NestableModel | {
5309
+ primary?: Record<string, {
5320
5310
  type: "Group";
5321
5311
  fieldset?: string | null | undefined;
5322
5312
  icon?: string | undefined;
@@ -5324,7 +5314,7 @@ declare const SharedSliceModelSchema: t.Type<{
5324
5314
  config?: {
5325
5315
  label?: string | null | undefined;
5326
5316
  repeat?: boolean | undefined;
5327
- fields?: Record<string, NestableModel | {
5317
+ fields?: Record<string, {
5328
5318
  type: "Group";
5329
5319
  fieldset?: string | null | undefined;
5330
5320
  icon?: string | undefined;
@@ -5333,6 +5323,22 @@ declare const SharedSliceModelSchema: t.Type<{
5333
5323
  label?: string | null | undefined;
5334
5324
  repeat?: boolean | undefined;
5335
5325
  fields?: Record<string, {
5326
+ type: "StructuredText";
5327
+ fieldset?: string | null | undefined;
5328
+ config?: {
5329
+ label?: string | null | undefined;
5330
+ placeholder?: string | undefined;
5331
+ useAsTitle?: boolean | undefined;
5332
+ single?: string | undefined;
5333
+ multi?: string | undefined;
5334
+ imageConstraint?: {
5335
+ width?: number | null | undefined;
5336
+ height?: number | null | undefined;
5337
+ } | undefined;
5338
+ labels?: string[] | undefined;
5339
+ allowTargetBlank?: boolean | undefined;
5340
+ } | undefined;
5341
+ } | {
5336
5342
  type: "Boolean";
5337
5343
  config?: {
5338
5344
  label?: string | null | undefined;
@@ -5400,20 +5406,23 @@ declare const SharedSliceModelSchema: t.Type<{
5400
5406
  label?: string | null | undefined;
5401
5407
  useAsTitle?: boolean | undefined;
5402
5408
  placeholder?: string | undefined;
5403
- select?: "media" | "document" | "web" | null | undefined;
5409
+ select?: "document" | "media" | "web" | null | undefined;
5404
5410
  customtypes?: (string | {
5405
5411
  id: string;
5406
5412
  fields: (string | {
5407
5413
  id: string;
5408
5414
  customtypes: (string | {
5409
5415
  id: string;
5410
- fields: (string | /*elided*/any)[];
5416
+ fields: (string | any)[];
5411
5417
  })[];
5412
5418
  } | {
5413
5419
  id: string;
5414
5420
  fields: (string | {
5415
5421
  id: string;
5416
- customtypes: (string | /*elided*/any)[];
5422
+ customtypes: (string | {
5423
+ id: string;
5424
+ fields: (string | any)[];
5425
+ })[];
5417
5426
  })[];
5418
5427
  })[];
5419
5428
  })[] | undefined;
@@ -5444,22 +5453,6 @@ declare const SharedSliceModelSchema: t.Type<{
5444
5453
  max?: number | undefined;
5445
5454
  step?: number | undefined;
5446
5455
  } | undefined;
5447
- } | {
5448
- type: "StructuredText";
5449
- fieldset?: string | null | undefined;
5450
- config?: {
5451
- label?: string | null | undefined;
5452
- placeholder?: string | undefined;
5453
- useAsTitle?: boolean | undefined;
5454
- single?: string | undefined;
5455
- multi?: string | undefined;
5456
- imageConstraint?: {
5457
- width?: number | null | undefined;
5458
- height?: number | null | undefined;
5459
- } | undefined;
5460
- labels?: string[] | undefined;
5461
- allowTargetBlank?: boolean | undefined;
5462
- } | undefined;
5463
5456
  } | {
5464
5457
  type: "Select";
5465
5458
  fieldset?: string | null | undefined;
@@ -5497,10 +5490,26 @@ declare const SharedSliceModelSchema: t.Type<{
5497
5490
  } | undefined;
5498
5491
  }> | undefined;
5499
5492
  } | undefined;
5500
- }> | undefined;
5493
+ } | NestableModel> | undefined;
5501
5494
  } | undefined;
5502
- }> | undefined;
5495
+ } | NestableModel> | undefined;
5503
5496
  items?: Record<string, {
5497
+ type: "StructuredText";
5498
+ fieldset?: string | null | undefined;
5499
+ config?: {
5500
+ label?: string | null | undefined;
5501
+ placeholder?: string | undefined;
5502
+ useAsTitle?: boolean | undefined;
5503
+ single?: string | undefined;
5504
+ multi?: string | undefined;
5505
+ imageConstraint?: {
5506
+ width?: number | null | undefined;
5507
+ height?: number | null | undefined;
5508
+ } | undefined;
5509
+ labels?: string[] | undefined;
5510
+ allowTargetBlank?: boolean | undefined;
5511
+ } | undefined;
5512
+ } | {
5504
5513
  type: "Boolean";
5505
5514
  config?: {
5506
5515
  label?: string | null | undefined;
@@ -5568,17 +5577,14 @@ declare const SharedSliceModelSchema: t.Type<{
5568
5577
  label?: string | null | undefined;
5569
5578
  useAsTitle?: boolean | undefined;
5570
5579
  placeholder?: string | undefined;
5571
- select?: "media" | "document" | "web" | null | undefined;
5580
+ select?: "document" | "media" | "web" | null | undefined;
5572
5581
  customtypes?: (string | {
5573
5582
  id: string;
5574
5583
  fields: (string | {
5575
5584
  id: string;
5576
5585
  customtypes: (string | {
5577
5586
  id: string;
5578
- fields: (string | {
5579
- id: string;
5580
- fields: string[];
5581
- })[];
5587
+ fields: (string | any)[];
5582
5588
  })[];
5583
5589
  } | {
5584
5590
  id: string;
@@ -5586,10 +5592,7 @@ declare const SharedSliceModelSchema: t.Type<{
5586
5592
  id: string;
5587
5593
  customtypes: (string | {
5588
5594
  id: string;
5589
- fields: (string | {
5590
- id: string;
5591
- fields: string[];
5592
- })[];
5595
+ fields: (string | any)[];
5593
5596
  })[];
5594
5597
  })[];
5595
5598
  })[];
@@ -5621,22 +5624,6 @@ declare const SharedSliceModelSchema: t.Type<{
5621
5624
  max?: number | undefined;
5622
5625
  step?: number | undefined;
5623
5626
  } | undefined;
5624
- } | {
5625
- type: "StructuredText";
5626
- fieldset?: string | null | undefined;
5627
- config?: {
5628
- label?: string | null | undefined;
5629
- placeholder?: string | undefined;
5630
- useAsTitle?: boolean | undefined;
5631
- single?: string | undefined;
5632
- multi?: string | undefined;
5633
- imageConstraint?: {
5634
- width?: number | null | undefined;
5635
- height?: number | null | undefined;
5636
- } | undefined;
5637
- labels?: string[] | undefined;
5638
- allowTargetBlank?: boolean | undefined;
5639
- } | undefined;
5640
5627
  } | {
5641
5628
  type: "Select";
5642
5629
  fieldset?: string | null | undefined;
@@ -5676,6 +5663,7 @@ declare const SharedSliceModelSchema: t.Type<{
5676
5663
  }[];
5677
5664
  description?: string | undefined;
5678
5665
  legacyPaths?: Record<string, string> | undefined;
5666
+ schema: "@prismicio/types-internal@4.5.0";
5679
5667
  }, unknown>;
5680
5668
  declare const TableModelSchema: t.Type<{
5681
5669
  type: "Table";
@@ -5747,7 +5735,7 @@ declare const GroupModelSchema: t.Type<{
5747
5735
  config?: {
5748
5736
  label?: string | null | undefined;
5749
5737
  repeat?: boolean | undefined;
5750
- fields?: Record<string, NestableModel | {
5738
+ fields?: Record<string, {
5751
5739
  type: "Group";
5752
5740
  fieldset?: string | null | undefined;
5753
5741
  icon?: string | undefined;
@@ -5756,6 +5744,22 @@ declare const GroupModelSchema: t.Type<{
5756
5744
  label?: string | null | undefined;
5757
5745
  repeat?: boolean | undefined;
5758
5746
  fields?: Record<string, {
5747
+ type: "StructuredText";
5748
+ fieldset?: string | null | undefined;
5749
+ config?: {
5750
+ label?: string | null | undefined;
5751
+ placeholder?: string | undefined;
5752
+ useAsTitle?: boolean | undefined;
5753
+ single?: string | undefined;
5754
+ multi?: string | undefined;
5755
+ imageConstraint?: {
5756
+ width?: number | null | undefined;
5757
+ height?: number | null | undefined;
5758
+ } | undefined;
5759
+ labels?: string[] | undefined;
5760
+ allowTargetBlank?: boolean | undefined;
5761
+ } | undefined;
5762
+ } | {
5759
5763
  type: "Boolean";
5760
5764
  config?: {
5761
5765
  label?: string | null | undefined;
@@ -5823,7 +5827,7 @@ declare const GroupModelSchema: t.Type<{
5823
5827
  label?: string | null | undefined;
5824
5828
  useAsTitle?: boolean | undefined;
5825
5829
  placeholder?: string | undefined;
5826
- select?: "media" | "document" | "web" | null | undefined;
5830
+ select?: "document" | "media" | "web" | null | undefined;
5827
5831
  customtypes?: (string | {
5828
5832
  id: string;
5829
5833
  fields: (string | {
@@ -5876,22 +5880,6 @@ declare const GroupModelSchema: t.Type<{
5876
5880
  max?: number | undefined;
5877
5881
  step?: number | undefined;
5878
5882
  } | undefined;
5879
- } | {
5880
- type: "StructuredText";
5881
- fieldset?: string | null | undefined;
5882
- config?: {
5883
- label?: string | null | undefined;
5884
- placeholder?: string | undefined;
5885
- useAsTitle?: boolean | undefined;
5886
- single?: string | undefined;
5887
- multi?: string | undefined;
5888
- imageConstraint?: {
5889
- width?: number | null | undefined;
5890
- height?: number | null | undefined;
5891
- } | undefined;
5892
- labels?: string[] | undefined;
5893
- allowTargetBlank?: boolean | undefined;
5894
- } | undefined;
5895
5883
  } | {
5896
5884
  type: "Select";
5897
5885
  fieldset?: string | null | undefined;
@@ -5929,7 +5917,7 @@ declare const GroupModelSchema: t.Type<{
5929
5917
  } | undefined;
5930
5918
  }> | undefined;
5931
5919
  } | undefined;
5932
- }> | undefined;
5920
+ } | NestableModel> | undefined;
5933
5921
  } | undefined;
5934
5922
  }, {
5935
5923
  type: "Group";
@@ -5939,7 +5927,7 @@ declare const GroupModelSchema: t.Type<{
5939
5927
  config?: {
5940
5928
  label?: string | null | undefined;
5941
5929
  repeat?: boolean | undefined;
5942
- fields?: Record<string, NestableModel | {
5930
+ fields?: Record<string, {
5943
5931
  type: "Group";
5944
5932
  fieldset?: string | null | undefined;
5945
5933
  icon?: string | undefined;
@@ -5948,6 +5936,22 @@ declare const GroupModelSchema: t.Type<{
5948
5936
  label?: string | null | undefined;
5949
5937
  repeat?: boolean | undefined;
5950
5938
  fields?: Record<string, {
5939
+ type: "StructuredText";
5940
+ fieldset?: string | null | undefined;
5941
+ config?: {
5942
+ label?: string | null | undefined;
5943
+ placeholder?: string | undefined;
5944
+ useAsTitle?: boolean | undefined;
5945
+ single?: string | undefined;
5946
+ multi?: string | undefined;
5947
+ imageConstraint?: {
5948
+ width?: number | null | undefined;
5949
+ height?: number | null | undefined;
5950
+ } | undefined;
5951
+ labels?: string[] | undefined;
5952
+ allowTargetBlank?: boolean | undefined;
5953
+ } | undefined;
5954
+ } | {
5951
5955
  type: "Boolean";
5952
5956
  config?: {
5953
5957
  label?: string | null | undefined;
@@ -6015,7 +6019,7 @@ declare const GroupModelSchema: t.Type<{
6015
6019
  label?: string | null | undefined;
6016
6020
  useAsTitle?: boolean | undefined;
6017
6021
  placeholder?: string | undefined;
6018
- select?: "media" | "document" | "web" | null | undefined;
6022
+ select?: "document" | "media" | "web" | null | undefined;
6019
6023
  customtypes?: (string | {
6020
6024
  id: string;
6021
6025
  fields: (string | {
@@ -6062,27 +6066,11 @@ declare const GroupModelSchema: t.Type<{
6062
6066
  type: "Range";
6063
6067
  fieldset?: string | null | undefined;
6064
6068
  config?: {
6065
- label?: string | null | undefined;
6066
- placeholder?: string | undefined;
6067
- min?: number | undefined;
6068
- max?: number | undefined;
6069
- step?: number | undefined;
6070
- } | undefined;
6071
- } | {
6072
- type: "StructuredText";
6073
- fieldset?: string | null | undefined;
6074
- config?: {
6075
- label?: string | null | undefined;
6076
- placeholder?: string | undefined;
6077
- useAsTitle?: boolean | undefined;
6078
- single?: string | undefined;
6079
- multi?: string | undefined;
6080
- imageConstraint?: {
6081
- width?: number | null | undefined;
6082
- height?: number | null | undefined;
6083
- } | undefined;
6084
- labels?: string[] | undefined;
6085
- allowTargetBlank?: boolean | undefined;
6069
+ label?: string | null | undefined;
6070
+ placeholder?: string | undefined;
6071
+ min?: number | undefined;
6072
+ max?: number | undefined;
6073
+ step?: number | undefined;
6086
6074
  } | undefined;
6087
6075
  } | {
6088
6076
  type: "Select";
@@ -6121,7 +6109,7 @@ declare const GroupModelSchema: t.Type<{
6121
6109
  } | undefined;
6122
6110
  }> | undefined;
6123
6111
  } | undefined;
6124
- }> | undefined;
6112
+ } | NestableModel> | undefined;
6125
6113
  } | undefined;
6126
6114
  }, unknown>;
6127
6115
  declare const NestedGroupModelSchema: t.Type<{
@@ -6133,6 +6121,22 @@ declare const NestedGroupModelSchema: t.Type<{
6133
6121
  label?: string | null | undefined;
6134
6122
  repeat?: boolean | undefined;
6135
6123
  fields?: Record<string, {
6124
+ type: "StructuredText";
6125
+ fieldset?: string | null | undefined;
6126
+ config?: {
6127
+ label?: string | null | undefined;
6128
+ placeholder?: string | undefined;
6129
+ useAsTitle?: boolean | undefined;
6130
+ single?: string | undefined;
6131
+ multi?: string | undefined;
6132
+ imageConstraint?: {
6133
+ width?: number | null | undefined;
6134
+ height?: number | null | undefined;
6135
+ } | undefined;
6136
+ labels?: string[] | undefined;
6137
+ allowTargetBlank?: boolean | undefined;
6138
+ } | undefined;
6139
+ } | {
6136
6140
  type: "Boolean";
6137
6141
  config?: {
6138
6142
  label?: string | null | undefined;
@@ -6200,7 +6204,7 @@ declare const NestedGroupModelSchema: t.Type<{
6200
6204
  label?: string | null | undefined;
6201
6205
  useAsTitle?: boolean | undefined;
6202
6206
  placeholder?: string | undefined;
6203
- select?: "media" | "document" | "web" | null | undefined;
6207
+ select?: "document" | "media" | "web" | null | undefined;
6204
6208
  customtypes?: (string | {
6205
6209
  id: string;
6206
6210
  fields: (string | {
@@ -6253,22 +6257,6 @@ declare const NestedGroupModelSchema: t.Type<{
6253
6257
  max?: number | undefined;
6254
6258
  step?: number | undefined;
6255
6259
  } | undefined;
6256
- } | {
6257
- type: "StructuredText";
6258
- fieldset?: string | null | undefined;
6259
- config?: {
6260
- label?: string | null | undefined;
6261
- placeholder?: string | undefined;
6262
- useAsTitle?: boolean | undefined;
6263
- single?: string | undefined;
6264
- multi?: string | undefined;
6265
- imageConstraint?: {
6266
- width?: number | null | undefined;
6267
- height?: number | null | undefined;
6268
- } | undefined;
6269
- labels?: string[] | undefined;
6270
- allowTargetBlank?: boolean | undefined;
6271
- } | undefined;
6272
6260
  } | {
6273
6261
  type: "Select";
6274
6262
  fieldset?: string | null | undefined;
@@ -6315,6 +6303,22 @@ declare const NestedGroupModelSchema: t.Type<{
6315
6303
  label?: string | null | undefined;
6316
6304
  repeat?: boolean | undefined;
6317
6305
  fields?: Record<string, {
6306
+ type: "StructuredText";
6307
+ fieldset?: string | null | undefined;
6308
+ config?: {
6309
+ label?: string | null | undefined;
6310
+ placeholder?: string | undefined;
6311
+ useAsTitle?: boolean | undefined;
6312
+ single?: string | undefined;
6313
+ multi?: string | undefined;
6314
+ imageConstraint?: {
6315
+ width?: number | null | undefined;
6316
+ height?: number | null | undefined;
6317
+ } | undefined;
6318
+ labels?: string[] | undefined;
6319
+ allowTargetBlank?: boolean | undefined;
6320
+ } | undefined;
6321
+ } | {
6318
6322
  type: "Boolean";
6319
6323
  config?: {
6320
6324
  label?: string | null | undefined;
@@ -6382,7 +6386,7 @@ declare const NestedGroupModelSchema: t.Type<{
6382
6386
  label?: string | null | undefined;
6383
6387
  useAsTitle?: boolean | undefined;
6384
6388
  placeholder?: string | undefined;
6385
- select?: "media" | "document" | "web" | null | undefined;
6389
+ select?: "document" | "media" | "web" | null | undefined;
6386
6390
  customtypes?: (string | {
6387
6391
  id: string;
6388
6392
  fields: (string | {
@@ -6435,22 +6439,6 @@ declare const NestedGroupModelSchema: t.Type<{
6435
6439
  max?: number | undefined;
6436
6440
  step?: number | undefined;
6437
6441
  } | undefined;
6438
- } | {
6439
- type: "StructuredText";
6440
- fieldset?: string | null | undefined;
6441
- config?: {
6442
- label?: string | null | undefined;
6443
- placeholder?: string | undefined;
6444
- useAsTitle?: boolean | undefined;
6445
- single?: string | undefined;
6446
- multi?: string | undefined;
6447
- imageConstraint?: {
6448
- width?: number | null | undefined;
6449
- height?: number | null | undefined;
6450
- } | undefined;
6451
- labels?: string[] | undefined;
6452
- allowTargetBlank?: boolean | undefined;
6453
- } | undefined;
6454
6442
  } | {
6455
6443
  type: "Select";
6456
6444
  fieldset?: string | null | undefined;
@@ -6497,7 +6485,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6497
6485
  docURL: string;
6498
6486
  version: string;
6499
6487
  display?: string | undefined;
6500
- primary?: Record<string, NestableModel | {
6488
+ primary?: Record<string, {
6501
6489
  type: "Group";
6502
6490
  fieldset?: string | null | undefined;
6503
6491
  icon?: string | undefined;
@@ -6505,7 +6493,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6505
6493
  config?: {
6506
6494
  label?: string | null | undefined;
6507
6495
  repeat?: boolean | undefined;
6508
- fields?: Record<string, NestableModel | {
6496
+ fields?: Record<string, {
6509
6497
  type: "Group";
6510
6498
  fieldset?: string | null | undefined;
6511
6499
  icon?: string | undefined;
@@ -6514,6 +6502,22 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6514
6502
  label?: string | null | undefined;
6515
6503
  repeat?: boolean | undefined;
6516
6504
  fields?: Record<string, {
6505
+ type: "StructuredText";
6506
+ fieldset?: string | null | undefined;
6507
+ config?: {
6508
+ label?: string | null | undefined;
6509
+ placeholder?: string | undefined;
6510
+ useAsTitle?: boolean | undefined;
6511
+ single?: string | undefined;
6512
+ multi?: string | undefined;
6513
+ imageConstraint?: {
6514
+ width?: number | null | undefined;
6515
+ height?: number | null | undefined;
6516
+ } | undefined;
6517
+ labels?: string[] | undefined;
6518
+ allowTargetBlank?: boolean | undefined;
6519
+ } | undefined;
6520
+ } | {
6517
6521
  type: "Boolean";
6518
6522
  config?: {
6519
6523
  label?: string | null | undefined;
@@ -6581,7 +6585,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6581
6585
  label?: string | null | undefined;
6582
6586
  useAsTitle?: boolean | undefined;
6583
6587
  placeholder?: string | undefined;
6584
- select?: "media" | "document" | "web" | null | undefined;
6588
+ select?: "document" | "media" | "web" | null | undefined;
6585
6589
  customtypes?: (string | {
6586
6590
  id: string;
6587
6591
  fields: (string | {
@@ -6599,7 +6603,10 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6599
6603
  id: string;
6600
6604
  customtypes: (string | {
6601
6605
  id: string;
6602
- fields: (string | /*elided*/any)[];
6606
+ fields: (string | {
6607
+ id: string;
6608
+ fields: string[];
6609
+ })[];
6603
6610
  })[];
6604
6611
  })[];
6605
6612
  })[];
@@ -6631,22 +6638,6 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6631
6638
  max?: number | undefined;
6632
6639
  step?: number | undefined;
6633
6640
  } | undefined;
6634
- } | {
6635
- type: "StructuredText";
6636
- fieldset?: string | null | undefined;
6637
- config?: {
6638
- label?: string | null | undefined;
6639
- placeholder?: string | undefined;
6640
- useAsTitle?: boolean | undefined;
6641
- single?: string | undefined;
6642
- multi?: string | undefined;
6643
- imageConstraint?: {
6644
- width?: number | null | undefined;
6645
- height?: number | null | undefined;
6646
- } | undefined;
6647
- labels?: string[] | undefined;
6648
- allowTargetBlank?: boolean | undefined;
6649
- } | undefined;
6650
6641
  } | {
6651
6642
  type: "Select";
6652
6643
  fieldset?: string | null | undefined;
@@ -6684,10 +6675,26 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6684
6675
  } | undefined;
6685
6676
  }> | undefined;
6686
6677
  } | undefined;
6687
- }> | undefined;
6678
+ } | NestableModel> | undefined;
6688
6679
  } | undefined;
6689
- }> | undefined;
6680
+ } | NestableModel> | undefined;
6690
6681
  items?: Record<string, {
6682
+ type: "StructuredText";
6683
+ fieldset?: string | null | undefined;
6684
+ config?: {
6685
+ label?: string | null | undefined;
6686
+ placeholder?: string | undefined;
6687
+ useAsTitle?: boolean | undefined;
6688
+ single?: string | undefined;
6689
+ multi?: string | undefined;
6690
+ imageConstraint?: {
6691
+ width?: number | null | undefined;
6692
+ height?: number | null | undefined;
6693
+ } | undefined;
6694
+ labels?: string[] | undefined;
6695
+ allowTargetBlank?: boolean | undefined;
6696
+ } | undefined;
6697
+ } | {
6691
6698
  type: "Boolean";
6692
6699
  config?: {
6693
6700
  label?: string | null | undefined;
@@ -6755,7 +6762,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6755
6762
  label?: string | null | undefined;
6756
6763
  useAsTitle?: boolean | undefined;
6757
6764
  placeholder?: string | undefined;
6758
- select?: "media" | "document" | "web" | null | undefined;
6765
+ select?: "document" | "media" | "web" | null | undefined;
6759
6766
  customtypes?: (string | {
6760
6767
  id: string;
6761
6768
  fields: (string | {
@@ -6808,22 +6815,6 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6808
6815
  max?: number | undefined;
6809
6816
  step?: number | undefined;
6810
6817
  } | undefined;
6811
- } | {
6812
- type: "StructuredText";
6813
- fieldset?: string | null | undefined;
6814
- config?: {
6815
- label?: string | null | undefined;
6816
- placeholder?: string | undefined;
6817
- useAsTitle?: boolean | undefined;
6818
- single?: string | undefined;
6819
- multi?: string | undefined;
6820
- imageConstraint?: {
6821
- width?: number | null | undefined;
6822
- height?: number | null | undefined;
6823
- } | undefined;
6824
- labels?: string[] | undefined;
6825
- allowTargetBlank?: boolean | undefined;
6826
- } | undefined;
6827
6818
  } | {
6828
6819
  type: "Select";
6829
6820
  fieldset?: string | null | undefined;
@@ -6868,7 +6859,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6868
6859
  docURL: string;
6869
6860
  version: string;
6870
6861
  display?: string | undefined;
6871
- primary?: Record<string, NestableModel | {
6862
+ primary?: Record<string, {
6872
6863
  type: "Group";
6873
6864
  fieldset?: string | null | undefined;
6874
6865
  icon?: string | undefined;
@@ -6876,7 +6867,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6876
6867
  config?: {
6877
6868
  label?: string | null | undefined;
6878
6869
  repeat?: boolean | undefined;
6879
- fields?: Record<string, NestableModel | {
6870
+ fields?: Record<string, {
6880
6871
  type: "Group";
6881
6872
  fieldset?: string | null | undefined;
6882
6873
  icon?: string | undefined;
@@ -6885,6 +6876,22 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6885
6876
  label?: string | null | undefined;
6886
6877
  repeat?: boolean | undefined;
6887
6878
  fields?: Record<string, {
6879
+ type: "StructuredText";
6880
+ fieldset?: string | null | undefined;
6881
+ config?: {
6882
+ label?: string | null | undefined;
6883
+ placeholder?: string | undefined;
6884
+ useAsTitle?: boolean | undefined;
6885
+ single?: string | undefined;
6886
+ multi?: string | undefined;
6887
+ imageConstraint?: {
6888
+ width?: number | null | undefined;
6889
+ height?: number | null | undefined;
6890
+ } | undefined;
6891
+ labels?: string[] | undefined;
6892
+ allowTargetBlank?: boolean | undefined;
6893
+ } | undefined;
6894
+ } | {
6888
6895
  type: "Boolean";
6889
6896
  config?: {
6890
6897
  label?: string | null | undefined;
@@ -6952,7 +6959,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6952
6959
  label?: string | null | undefined;
6953
6960
  useAsTitle?: boolean | undefined;
6954
6961
  placeholder?: string | undefined;
6955
- select?: "media" | "document" | "web" | null | undefined;
6962
+ select?: "document" | "media" | "web" | null | undefined;
6956
6963
  customtypes?: (string | {
6957
6964
  id: string;
6958
6965
  fields: (string | {
@@ -6970,7 +6977,10 @@ declare const SharedSliceModelVariationSchema: t.Type<{
6970
6977
  id: string;
6971
6978
  customtypes: (string | {
6972
6979
  id: string;
6973
- fields: (string | /*elided*/any)[];
6980
+ fields: (string | {
6981
+ id: string;
6982
+ fields: string[];
6983
+ })[];
6974
6984
  })[];
6975
6985
  })[];
6976
6986
  })[];
@@ -7002,22 +7012,6 @@ declare const SharedSliceModelVariationSchema: t.Type<{
7002
7012
  max?: number | undefined;
7003
7013
  step?: number | undefined;
7004
7014
  } | undefined;
7005
- } | {
7006
- type: "StructuredText";
7007
- fieldset?: string | null | undefined;
7008
- config?: {
7009
- label?: string | null | undefined;
7010
- placeholder?: string | undefined;
7011
- useAsTitle?: boolean | undefined;
7012
- single?: string | undefined;
7013
- multi?: string | undefined;
7014
- imageConstraint?: {
7015
- width?: number | null | undefined;
7016
- height?: number | null | undefined;
7017
- } | undefined;
7018
- labels?: string[] | undefined;
7019
- allowTargetBlank?: boolean | undefined;
7020
- } | undefined;
7021
7015
  } | {
7022
7016
  type: "Select";
7023
7017
  fieldset?: string | null | undefined;
@@ -7055,10 +7049,26 @@ declare const SharedSliceModelVariationSchema: t.Type<{
7055
7049
  } | undefined;
7056
7050
  }> | undefined;
7057
7051
  } | undefined;
7058
- }> | undefined;
7052
+ } | NestableModel> | undefined;
7059
7053
  } | undefined;
7060
- }> | undefined;
7054
+ } | NestableModel> | undefined;
7061
7055
  items?: Record<string, {
7056
+ type: "StructuredText";
7057
+ fieldset?: string | null | undefined;
7058
+ config?: {
7059
+ label?: string | null | undefined;
7060
+ placeholder?: string | undefined;
7061
+ useAsTitle?: boolean | undefined;
7062
+ single?: string | undefined;
7063
+ multi?: string | undefined;
7064
+ imageConstraint?: {
7065
+ width?: number | null | undefined;
7066
+ height?: number | null | undefined;
7067
+ } | undefined;
7068
+ labels?: string[] | undefined;
7069
+ allowTargetBlank?: boolean | undefined;
7070
+ } | undefined;
7071
+ } | {
7062
7072
  type: "Boolean";
7063
7073
  config?: {
7064
7074
  label?: string | null | undefined;
@@ -7126,7 +7136,7 @@ declare const SharedSliceModelVariationSchema: t.Type<{
7126
7136
  label?: string | null | undefined;
7127
7137
  useAsTitle?: boolean | undefined;
7128
7138
  placeholder?: string | undefined;
7129
- select?: "media" | "document" | "web" | null | undefined;
7139
+ select?: "document" | "media" | "web" | null | undefined;
7130
7140
  customtypes?: (string | {
7131
7141
  id: string;
7132
7142
  fields: (string | {
@@ -7179,22 +7189,6 @@ declare const SharedSliceModelVariationSchema: t.Type<{
7179
7189
  max?: number | undefined;
7180
7190
  step?: number | undefined;
7181
7191
  } | undefined;
7182
- } | {
7183
- type: "StructuredText";
7184
- fieldset?: string | null | undefined;
7185
- config?: {
7186
- label?: string | null | undefined;
7187
- placeholder?: string | undefined;
7188
- useAsTitle?: boolean | undefined;
7189
- single?: string | undefined;
7190
- multi?: string | undefined;
7191
- imageConstraint?: {
7192
- width?: number | null | undefined;
7193
- height?: number | null | undefined;
7194
- } | undefined;
7195
- labels?: string[] | undefined;
7196
- allowTargetBlank?: boolean | undefined;
7197
- } | undefined;
7198
7192
  } | {
7199
7193
  type: "Select";
7200
7194
  fieldset?: string | null | undefined;
@@ -7244,6 +7238,22 @@ declare const CompositeSliceModelSchema: t.Type<{
7244
7238
  icon?: string | undefined;
7245
7239
  display?: string | undefined;
7246
7240
  "non-repeat"?: Record<string, {
7241
+ type: "StructuredText";
7242
+ fieldset?: string | null | undefined;
7243
+ config?: {
7244
+ label?: string | null | undefined;
7245
+ placeholder?: string | undefined;
7246
+ useAsTitle?: boolean | undefined;
7247
+ single?: string | undefined;
7248
+ multi?: string | undefined;
7249
+ imageConstraint?: {
7250
+ width?: number | null | undefined;
7251
+ height?: number | null | undefined;
7252
+ } | undefined;
7253
+ labels?: string[] | undefined;
7254
+ allowTargetBlank?: boolean | undefined;
7255
+ } | undefined;
7256
+ } | {
7247
7257
  type: "Boolean";
7248
7258
  config?: {
7249
7259
  label?: string | null | undefined;
@@ -7311,7 +7321,7 @@ declare const CompositeSliceModelSchema: t.Type<{
7311
7321
  label?: string | null | undefined;
7312
7322
  useAsTitle?: boolean | undefined;
7313
7323
  placeholder?: string | undefined;
7314
- select?: "media" | "document" | "web" | null | undefined;
7324
+ select?: "document" | "media" | "web" | null | undefined;
7315
7325
  customtypes?: (string | {
7316
7326
  id: string;
7317
7327
  fields: (string | {
@@ -7364,22 +7374,6 @@ declare const CompositeSliceModelSchema: t.Type<{
7364
7374
  max?: number | undefined;
7365
7375
  step?: number | undefined;
7366
7376
  } | undefined;
7367
- } | {
7368
- type: "StructuredText";
7369
- fieldset?: string | null | undefined;
7370
- config?: {
7371
- label?: string | null | undefined;
7372
- placeholder?: string | undefined;
7373
- useAsTitle?: boolean | undefined;
7374
- single?: string | undefined;
7375
- multi?: string | undefined;
7376
- imageConstraint?: {
7377
- width?: number | null | undefined;
7378
- height?: number | null | undefined;
7379
- } | undefined;
7380
- labels?: string[] | undefined;
7381
- allowTargetBlank?: boolean | undefined;
7382
- } | undefined;
7383
7377
  } | {
7384
7378
  type: "Select";
7385
7379
  fieldset?: string | null | undefined;
@@ -7408,15 +7402,31 @@ declare const CompositeSliceModelSchema: t.Type<{
7408
7402
  placeholder?: string | undefined;
7409
7403
  } | undefined;
7410
7404
  } | {
7411
- type: "Timestamp";
7412
- fieldset?: string | null | undefined;
7413
- config?: {
7414
- label?: string | null | undefined;
7415
- placeholder?: string | undefined;
7416
- default?: string | undefined;
7417
- } | undefined;
7418
- }> | undefined;
7419
- repeat?: Record<string, {
7405
+ type: "Timestamp";
7406
+ fieldset?: string | null | undefined;
7407
+ config?: {
7408
+ label?: string | null | undefined;
7409
+ placeholder?: string | undefined;
7410
+ default?: string | undefined;
7411
+ } | undefined;
7412
+ }> | undefined;
7413
+ repeat?: Record<string, {
7414
+ type: "StructuredText";
7415
+ fieldset?: string | null | undefined;
7416
+ config?: {
7417
+ label?: string | null | undefined;
7418
+ placeholder?: string | undefined;
7419
+ useAsTitle?: boolean | undefined;
7420
+ single?: string | undefined;
7421
+ multi?: string | undefined;
7422
+ imageConstraint?: {
7423
+ width?: number | null | undefined;
7424
+ height?: number | null | undefined;
7425
+ } | undefined;
7426
+ labels?: string[] | undefined;
7427
+ allowTargetBlank?: boolean | undefined;
7428
+ } | undefined;
7429
+ } | {
7420
7430
  type: "Boolean";
7421
7431
  config?: {
7422
7432
  label?: string | null | undefined;
@@ -7484,7 +7494,7 @@ declare const CompositeSliceModelSchema: t.Type<{
7484
7494
  label?: string | null | undefined;
7485
7495
  useAsTitle?: boolean | undefined;
7486
7496
  placeholder?: string | undefined;
7487
- select?: "media" | "document" | "web" | null | undefined;
7497
+ select?: "document" | "media" | "web" | null | undefined;
7488
7498
  customtypes?: (string | {
7489
7499
  id: string;
7490
7500
  fields: (string | {
@@ -7537,22 +7547,6 @@ declare const CompositeSliceModelSchema: t.Type<{
7537
7547
  max?: number | undefined;
7538
7548
  step?: number | undefined;
7539
7549
  } | undefined;
7540
- } | {
7541
- type: "StructuredText";
7542
- fieldset?: string | null | undefined;
7543
- config?: {
7544
- label?: string | null | undefined;
7545
- placeholder?: string | undefined;
7546
- useAsTitle?: boolean | undefined;
7547
- single?: string | undefined;
7548
- multi?: string | undefined;
7549
- imageConstraint?: {
7550
- width?: number | null | undefined;
7551
- height?: number | null | undefined;
7552
- } | undefined;
7553
- labels?: string[] | undefined;
7554
- allowTargetBlank?: boolean | undefined;
7555
- } | undefined;
7556
7550
  } | {
7557
7551
  type: "Select";
7558
7552
  fieldset?: string | null | undefined;
@@ -7599,6 +7593,22 @@ declare const CompositeSliceModelSchema: t.Type<{
7599
7593
  icon?: string | undefined;
7600
7594
  display?: string | undefined;
7601
7595
  "non-repeat"?: Record<string, {
7596
+ type: "StructuredText";
7597
+ fieldset?: string | null | undefined;
7598
+ config?: {
7599
+ label?: string | null | undefined;
7600
+ placeholder?: string | undefined;
7601
+ useAsTitle?: boolean | undefined;
7602
+ single?: string | undefined;
7603
+ multi?: string | undefined;
7604
+ imageConstraint?: {
7605
+ width?: number | null | undefined;
7606
+ height?: number | null | undefined;
7607
+ } | undefined;
7608
+ labels?: string[] | undefined;
7609
+ allowTargetBlank?: boolean | undefined;
7610
+ } | undefined;
7611
+ } | {
7602
7612
  type: "Boolean";
7603
7613
  config?: {
7604
7614
  label?: string | null | undefined;
@@ -7666,7 +7676,7 @@ declare const CompositeSliceModelSchema: t.Type<{
7666
7676
  label?: string | null | undefined;
7667
7677
  useAsTitle?: boolean | undefined;
7668
7678
  placeholder?: string | undefined;
7669
- select?: "media" | "document" | "web" | null | undefined;
7679
+ select?: "document" | "media" | "web" | null | undefined;
7670
7680
  customtypes?: (string | {
7671
7681
  id: string;
7672
7682
  fields: (string | {
@@ -7719,22 +7729,6 @@ declare const CompositeSliceModelSchema: t.Type<{
7719
7729
  max?: number | undefined;
7720
7730
  step?: number | undefined;
7721
7731
  } | undefined;
7722
- } | {
7723
- type: "StructuredText";
7724
- fieldset?: string | null | undefined;
7725
- config?: {
7726
- label?: string | null | undefined;
7727
- placeholder?: string | undefined;
7728
- useAsTitle?: boolean | undefined;
7729
- single?: string | undefined;
7730
- multi?: string | undefined;
7731
- imageConstraint?: {
7732
- width?: number | null | undefined;
7733
- height?: number | null | undefined;
7734
- } | undefined;
7735
- labels?: string[] | undefined;
7736
- allowTargetBlank?: boolean | undefined;
7737
- } | undefined;
7738
7732
  } | {
7739
7733
  type: "Select";
7740
7734
  fieldset?: string | null | undefined;
@@ -7772,6 +7766,22 @@ declare const CompositeSliceModelSchema: t.Type<{
7772
7766
  } | undefined;
7773
7767
  }> | undefined;
7774
7768
  repeat?: Record<string, {
7769
+ type: "StructuredText";
7770
+ fieldset?: string | null | undefined;
7771
+ config?: {
7772
+ label?: string | null | undefined;
7773
+ placeholder?: string | undefined;
7774
+ useAsTitle?: boolean | undefined;
7775
+ single?: string | undefined;
7776
+ multi?: string | undefined;
7777
+ imageConstraint?: {
7778
+ width?: number | null | undefined;
7779
+ height?: number | null | undefined;
7780
+ } | undefined;
7781
+ labels?: string[] | undefined;
7782
+ allowTargetBlank?: boolean | undefined;
7783
+ } | undefined;
7784
+ } | {
7775
7785
  type: "Boolean";
7776
7786
  config?: {
7777
7787
  label?: string | null | undefined;
@@ -7839,7 +7849,7 @@ declare const CompositeSliceModelSchema: t.Type<{
7839
7849
  label?: string | null | undefined;
7840
7850
  useAsTitle?: boolean | undefined;
7841
7851
  placeholder?: string | undefined;
7842
- select?: "media" | "document" | "web" | null | undefined;
7852
+ select?: "document" | "media" | "web" | null | undefined;
7843
7853
  customtypes?: (string | {
7844
7854
  id: string;
7845
7855
  fields: (string | {
@@ -7892,22 +7902,6 @@ declare const CompositeSliceModelSchema: t.Type<{
7892
7902
  max?: number | undefined;
7893
7903
  step?: number | undefined;
7894
7904
  } | undefined;
7895
- } | {
7896
- type: "StructuredText";
7897
- fieldset?: string | null | undefined;
7898
- config?: {
7899
- label?: string | null | undefined;
7900
- placeholder?: string | undefined;
7901
- useAsTitle?: boolean | undefined;
7902
- single?: string | undefined;
7903
- multi?: string | undefined;
7904
- imageConstraint?: {
7905
- width?: number | null | undefined;
7906
- height?: number | null | undefined;
7907
- } | undefined;
7908
- labels?: string[] | undefined;
7909
- allowTargetBlank?: boolean | undefined;
7910
- } | undefined;
7911
7905
  } | {
7912
7906
  type: "Select";
7913
7907
  fieldset?: string | null | undefined;
@@ -7949,6 +7943,22 @@ declare const CompositeSliceModelSchema: t.Type<{
7949
7943
  } | undefined;
7950
7944
  }, unknown>;
7951
7945
  declare const LegacySliceModelSchema: t.Type<{
7946
+ type: "StructuredText";
7947
+ fieldset?: string | null | undefined;
7948
+ config?: {
7949
+ label?: string | null | undefined;
7950
+ placeholder?: string | undefined;
7951
+ useAsTitle?: boolean | undefined;
7952
+ single?: string | undefined;
7953
+ multi?: string | undefined;
7954
+ imageConstraint?: {
7955
+ width?: number | null | undefined;
7956
+ height?: number | null | undefined;
7957
+ } | undefined;
7958
+ labels?: string[] | undefined;
7959
+ allowTargetBlank?: boolean | undefined;
7960
+ } | undefined;
7961
+ } | {
7952
7962
  type: "Boolean";
7953
7963
  config?: {
7954
7964
  label?: string | null | undefined;
@@ -8016,7 +8026,7 @@ declare const LegacySliceModelSchema: t.Type<{
8016
8026
  label?: string | null | undefined;
8017
8027
  useAsTitle?: boolean | undefined;
8018
8028
  placeholder?: string | undefined;
8019
- select?: "media" | "document" | "web" | null | undefined;
8029
+ select?: "document" | "media" | "web" | null | undefined;
8020
8030
  customtypes?: (string | {
8021
8031
  id: string;
8022
8032
  fields: (string | {
@@ -8069,22 +8079,6 @@ declare const LegacySliceModelSchema: t.Type<{
8069
8079
  max?: number | undefined;
8070
8080
  step?: number | undefined;
8071
8081
  } | undefined;
8072
- } | {
8073
- type: "StructuredText";
8074
- fieldset?: string | null | undefined;
8075
- config?: {
8076
- label?: string | null | undefined;
8077
- placeholder?: string | undefined;
8078
- useAsTitle?: boolean | undefined;
8079
- single?: string | undefined;
8080
- multi?: string | undefined;
8081
- imageConstraint?: {
8082
- width?: number | null | undefined;
8083
- height?: number | null | undefined;
8084
- } | undefined;
8085
- labels?: string[] | undefined;
8086
- allowTargetBlank?: boolean | undefined;
8087
- } | undefined;
8088
8082
  } | {
8089
8083
  type: "Select";
8090
8084
  fieldset?: string | null | undefined;
@@ -8129,6 +8123,22 @@ declare const LegacySliceModelSchema: t.Type<{
8129
8123
  label?: string | null | undefined;
8130
8124
  repeat?: boolean | undefined;
8131
8125
  fields?: Record<string, {
8126
+ type: "StructuredText";
8127
+ fieldset?: string | null | undefined;
8128
+ config?: {
8129
+ label?: string | null | undefined;
8130
+ placeholder?: string | undefined;
8131
+ useAsTitle?: boolean | undefined;
8132
+ single?: string | undefined;
8133
+ multi?: string | undefined;
8134
+ imageConstraint?: {
8135
+ width?: number | null | undefined;
8136
+ height?: number | null | undefined;
8137
+ } | undefined;
8138
+ labels?: string[] | undefined;
8139
+ allowTargetBlank?: boolean | undefined;
8140
+ } | undefined;
8141
+ } | {
8132
8142
  type: "Boolean";
8133
8143
  config?: {
8134
8144
  label?: string | null | undefined;
@@ -8196,7 +8206,7 @@ declare const LegacySliceModelSchema: t.Type<{
8196
8206
  label?: string | null | undefined;
8197
8207
  useAsTitle?: boolean | undefined;
8198
8208
  placeholder?: string | undefined;
8199
- select?: "media" | "document" | "web" | null | undefined;
8209
+ select?: "document" | "media" | "web" | null | undefined;
8200
8210
  customtypes?: (string | {
8201
8211
  id: string;
8202
8212
  fields: (string | {
@@ -8249,22 +8259,6 @@ declare const LegacySliceModelSchema: t.Type<{
8249
8259
  max?: number | undefined;
8250
8260
  step?: number | undefined;
8251
8261
  } | undefined;
8252
- } | {
8253
- type: "StructuredText";
8254
- fieldset?: string | null | undefined;
8255
- config?: {
8256
- label?: string | null | undefined;
8257
- placeholder?: string | undefined;
8258
- useAsTitle?: boolean | undefined;
8259
- single?: string | undefined;
8260
- multi?: string | undefined;
8261
- imageConstraint?: {
8262
- width?: number | null | undefined;
8263
- height?: number | null | undefined;
8264
- } | undefined;
8265
- labels?: string[] | undefined;
8266
- allowTargetBlank?: boolean | undefined;
8267
- } | undefined;
8268
8262
  } | {
8269
8263
  type: "Select";
8270
8264
  fieldset?: string | null | undefined;
@@ -8303,6 +8297,22 @@ declare const LegacySliceModelSchema: t.Type<{
8303
8297
  }> | undefined;
8304
8298
  } | undefined;
8305
8299
  }, {
8300
+ type: "StructuredText";
8301
+ fieldset?: string | null | undefined;
8302
+ config?: {
8303
+ label?: string | null | undefined;
8304
+ placeholder?: string | undefined;
8305
+ useAsTitle?: boolean | undefined;
8306
+ single?: string | undefined;
8307
+ multi?: string | undefined;
8308
+ imageConstraint?: {
8309
+ width?: number | null | undefined;
8310
+ height?: number | null | undefined;
8311
+ } | undefined;
8312
+ labels?: string[] | undefined;
8313
+ allowTargetBlank?: boolean | undefined;
8314
+ } | undefined;
8315
+ } | {
8306
8316
  type: "Boolean";
8307
8317
  config?: {
8308
8318
  label?: string | null | undefined;
@@ -8370,7 +8380,7 @@ declare const LegacySliceModelSchema: t.Type<{
8370
8380
  label?: string | null | undefined;
8371
8381
  useAsTitle?: boolean | undefined;
8372
8382
  placeholder?: string | undefined;
8373
- select?: "media" | "document" | "web" | null | undefined;
8383
+ select?: "document" | "media" | "web" | null | undefined;
8374
8384
  customtypes?: (string | {
8375
8385
  id: string;
8376
8386
  fields: (string | {
@@ -8423,22 +8433,6 @@ declare const LegacySliceModelSchema: t.Type<{
8423
8433
  max?: number | undefined;
8424
8434
  step?: number | undefined;
8425
8435
  } | undefined;
8426
- } | {
8427
- type: "StructuredText";
8428
- fieldset?: string | null | undefined;
8429
- config?: {
8430
- label?: string | null | undefined;
8431
- placeholder?: string | undefined;
8432
- useAsTitle?: boolean | undefined;
8433
- single?: string | undefined;
8434
- multi?: string | undefined;
8435
- imageConstraint?: {
8436
- width?: number | null | undefined;
8437
- height?: number | null | undefined;
8438
- } | undefined;
8439
- labels?: string[] | undefined;
8440
- allowTargetBlank?: boolean | undefined;
8441
- } | undefined;
8442
8436
  } | {
8443
8437
  type: "Select";
8444
8438
  fieldset?: string | null | undefined;
@@ -8483,6 +8477,22 @@ declare const LegacySliceModelSchema: t.Type<{
8483
8477
  label?: string | null | undefined;
8484
8478
  repeat?: boolean | undefined;
8485
8479
  fields?: Record<string, {
8480
+ type: "StructuredText";
8481
+ fieldset?: string | null | undefined;
8482
+ config?: {
8483
+ label?: string | null | undefined;
8484
+ placeholder?: string | undefined;
8485
+ useAsTitle?: boolean | undefined;
8486
+ single?: string | undefined;
8487
+ multi?: string | undefined;
8488
+ imageConstraint?: {
8489
+ width?: number | null | undefined;
8490
+ height?: number | null | undefined;
8491
+ } | undefined;
8492
+ labels?: string[] | undefined;
8493
+ allowTargetBlank?: boolean | undefined;
8494
+ } | undefined;
8495
+ } | {
8486
8496
  type: "Boolean";
8487
8497
  config?: {
8488
8498
  label?: string | null | undefined;
@@ -8550,7 +8560,7 @@ declare const LegacySliceModelSchema: t.Type<{
8550
8560
  label?: string | null | undefined;
8551
8561
  useAsTitle?: boolean | undefined;
8552
8562
  placeholder?: string | undefined;
8553
- select?: "media" | "document" | "web" | null | undefined;
8563
+ select?: "document" | "media" | "web" | null | undefined;
8554
8564
  customtypes?: (string | {
8555
8565
  id: string;
8556
8566
  fields: (string | {
@@ -8603,22 +8613,6 @@ declare const LegacySliceModelSchema: t.Type<{
8603
8613
  max?: number | undefined;
8604
8614
  step?: number | undefined;
8605
8615
  } | undefined;
8606
- } | {
8607
- type: "StructuredText";
8608
- fieldset?: string | null | undefined;
8609
- config?: {
8610
- label?: string | null | undefined;
8611
- placeholder?: string | undefined;
8612
- useAsTitle?: boolean | undefined;
8613
- single?: string | undefined;
8614
- multi?: string | undefined;
8615
- imageConstraint?: {
8616
- width?: number | null | undefined;
8617
- height?: number | null | undefined;
8618
- } | undefined;
8619
- labels?: string[] | undefined;
8620
- allowTargetBlank?: boolean | undefined;
8621
- } | undefined;
8622
8616
  } | {
8623
8617
  type: "Select";
8624
8618
  fieldset?: string | null | undefined;
@@ -8661,7 +8655,7 @@ declare const DynamicSliceModelSchema: t.Type<DynamicSliceModel, DynamicSliceMod
8661
8655
  declare const StaticSliceModelSchema: t.Type<StaticSliceModel, StaticSliceModel, unknown>;
8662
8656
  declare const SliceContentModelSchema: t.Type<SliceContentModel, SliceContentModel, unknown>;
8663
8657
  declare const DynamicSlicesModelSchema: t.Type<{
8664
- type: "Slices" | "Choice";
8658
+ type: "Choice" | "Slices";
8665
8659
  fieldset?: string | null | undefined;
8666
8660
  config?: {
8667
8661
  label?: string | null | undefined;
@@ -8672,7 +8666,7 @@ declare const DynamicSlicesModelSchema: t.Type<{
8672
8666
  choices?: Record<string, DynamicSliceModel> | undefined;
8673
8667
  } | undefined;
8674
8668
  }, {
8675
- type: "Slices" | "Choice";
8669
+ type: "Choice" | "Slices";
8676
8670
  fieldset?: string | null | undefined;
8677
8671
  config?: {
8678
8672
  label?: string | null | undefined;
@@ -8684,7 +8678,7 @@ declare const DynamicSlicesModelSchema: t.Type<{
8684
8678
  } | undefined;
8685
8679
  }, unknown>;
8686
8680
  declare const StaticSlicesModelSchema: t.Type<{
8687
- type: "Slices" | "Choice";
8681
+ type: "Choice" | "Slices";
8688
8682
  fieldset?: string | null | undefined;
8689
8683
  config?: {
8690
8684
  label?: string | null | undefined;
@@ -8695,7 +8689,7 @@ declare const StaticSlicesModelSchema: t.Type<{
8695
8689
  choices?: Record<string, StaticSliceModel> | undefined;
8696
8690
  } | undefined;
8697
8691
  }, {
8698
- type: "Slices" | "Choice";
8692
+ type: "Choice" | "Slices";
8699
8693
  fieldset?: string | null | undefined;
8700
8694
  config?: {
8701
8695
  label?: string | null | undefined;
@@ -8712,103 +8706,103 @@ declare const StaticCustomTypeModelTabSchema: t.Type<Record<string, StaticWidget
8712
8706
  declare const DynamicCustomTypeModelTabSchema: t.Type<Record<string, DynamicWidgetModel>, Record<string, DynamicWidgetModel>, unknown>;
8713
8707
  declare const StaticCustomTypeModelSchema: t.Type<{
8714
8708
  id: string;
8709
+ label?: string | null | undefined;
8715
8710
  repeatable: boolean;
8716
8711
  json: Record<string, Record<string, StaticWidgetModel>>;
8717
8712
  status: boolean;
8718
8713
  format: "custom" | "page";
8719
- label?: string | null | undefined;
8720
8714
  schema?: undefined;
8721
8715
  } | {
8722
- schema: "@prismicio/types-internal@4.5.0";
8723
8716
  id: string;
8717
+ label?: string | null | undefined;
8724
8718
  repeatable: boolean;
8725
8719
  json: Record<string, Record<string, StaticWidgetModel>>;
8726
8720
  status: boolean;
8727
8721
  format: "custom" | "page";
8728
- label?: string | null | undefined;
8722
+ schema: "@prismicio/types-internal@4.5.0";
8729
8723
  }, {
8730
8724
  id: string;
8725
+ label?: string | null | undefined;
8731
8726
  repeatable: boolean;
8732
8727
  json: Record<string, Record<string, StaticWidgetModel>>;
8733
8728
  status: boolean;
8734
8729
  format: "custom" | "page";
8735
- label?: string | null | undefined;
8736
8730
  schema?: undefined;
8737
8731
  } | {
8738
- schema: "@prismicio/types-internal@4.5.0";
8739
8732
  id: string;
8733
+ label?: string | null | undefined;
8740
8734
  repeatable: boolean;
8741
8735
  json: Record<string, Record<string, StaticWidgetModel>>;
8742
8736
  status: boolean;
8743
8737
  format: "custom" | "page";
8744
- label?: string | null | undefined;
8738
+ schema: "@prismicio/types-internal@4.5.0";
8745
8739
  }, unknown>;
8746
8740
  declare const DynamicCustomTypeModelSchema: t.Type<{
8747
8741
  id: string;
8742
+ label?: string | null | undefined;
8748
8743
  repeatable: boolean;
8749
8744
  json: Record<string, Record<string, DynamicWidgetModel>>;
8750
8745
  status: boolean;
8751
8746
  format: "custom" | "page";
8752
- label?: string | null | undefined;
8753
8747
  schema?: undefined;
8754
8748
  } | {
8755
- schema: "@prismicio/types-internal@4.5.0";
8756
8749
  id: string;
8750
+ label?: string | null | undefined;
8757
8751
  repeatable: boolean;
8758
8752
  json: Record<string, Record<string, DynamicWidgetModel>>;
8759
8753
  status: boolean;
8760
8754
  format: "custom" | "page";
8761
- label?: string | null | undefined;
8755
+ schema: "@prismicio/types-internal@4.5.0";
8762
8756
  }, {
8763
8757
  id: string;
8758
+ label?: string | null | undefined;
8764
8759
  repeatable: boolean;
8765
8760
  json: Record<string, Record<string, DynamicWidgetModel>>;
8766
8761
  status: boolean;
8767
8762
  format: "custom" | "page";
8768
- label?: string | null | undefined;
8769
8763
  schema?: undefined;
8770
8764
  } | {
8771
- schema: "@prismicio/types-internal@4.5.0";
8772
8765
  id: string;
8766
+ label?: string | null | undefined;
8773
8767
  repeatable: boolean;
8774
8768
  json: Record<string, Record<string, DynamicWidgetModel>>;
8775
8769
  status: boolean;
8776
8770
  format: "custom" | "page";
8777
- label?: string | null | undefined;
8771
+ schema: "@prismicio/types-internal@4.5.0";
8778
8772
  }, unknown>;
8779
8773
  /** @deprecated Use DynamicCustomTypeModelSchema instead */
8780
8774
  declare const CustomTypeModelSchema: t.Type<{
8781
8775
  id: string;
8776
+ label?: string | null | undefined;
8782
8777
  repeatable: boolean;
8783
8778
  json: Record<string, Record<string, DynamicWidgetModel>>;
8784
8779
  status: boolean;
8785
8780
  format: "custom" | "page";
8786
- label?: string | null | undefined;
8787
8781
  schema?: undefined;
8788
8782
  } | {
8789
- schema: "@prismicio/types-internal@4.5.0";
8790
8783
  id: string;
8784
+ label?: string | null | undefined;
8791
8785
  repeatable: boolean;
8792
8786
  json: Record<string, Record<string, DynamicWidgetModel>>;
8793
8787
  status: boolean;
8794
8788
  format: "custom" | "page";
8795
- label?: string | null | undefined;
8789
+ schema: "@prismicio/types-internal@4.5.0";
8796
8790
  }, {
8797
8791
  id: string;
8792
+ label?: string | null | undefined;
8798
8793
  repeatable: boolean;
8799
8794
  json: Record<string, Record<string, DynamicWidgetModel>>;
8800
8795
  status: boolean;
8801
8796
  format: "custom" | "page";
8802
- label?: string | null | undefined;
8803
8797
  schema?: undefined;
8804
8798
  } | {
8805
- schema: "@prismicio/types-internal@4.5.0";
8806
8799
  id: string;
8800
+ label?: string | null | undefined;
8807
8801
  repeatable: boolean;
8808
8802
  json: Record<string, Record<string, DynamicWidgetModel>>;
8809
8803
  status: boolean;
8810
8804
  format: "custom" | "page";
8811
- label?: string | null | undefined;
8805
+ schema: "@prismicio/types-internal@4.5.0";
8812
8806
  }, unknown>;
8813
8807
  //#endregion
8814
8808
  export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicCustomTypeModelSchema, DynamicCustomTypeModelTabSchema, DynamicSliceModelSchema, DynamicSlicesModelSchema, DynamicWidgetModelSchema, EmbedContentSchema, EmbedLegacy, EmbedModelSchema, EmbedSchema, EmptyContentSchema, EmptyLegacy, EmptyLinkContentSchema, FieldContentSchema, FilledLinkContentSchema, GeoPointContentSchema, GeoPointLegacy, GeoPointModelSchema, GroupContentSchema, GroupItemContentSchema, GroupItemLegacy, GroupLegacy, GroupModelSchema, HexaColorCodeSchema, ImageContentSchema, ImageContentViewSchema, ImageLegacy, ImageModelSchema, IntegrationFieldContentSchema, IntegrationFieldLegacy, IntegrationFieldModelSchema, LegacySliceContentSchema, LegacySliceItemContentSchema, LegacySliceLegacy, LegacySliceModelSchema, LinkContentSchema, LinkLegacy, LinkModelSchema, NestableContentSchema, NestableLegacy, NestableModelSchema, NestedGroupModelSchema, NonEmptyStringSchema, NumberContentSchema, NumberLegacy, NumberModelSchema, RangeContentSchema, RangeLegacy, RangeModelSchema, RepeatableContentSchema, RepeatableLegacy, RichTextContentBlockSchema, RichTextContentSchema, RichTextContentSpanSchema, RichTextLegacy, RichTextModelSchema, SelectContentSchema, SelectLegacy, SelectModelSchema, SeparatorContentSchema, SeparatorLegacy, SeparatorModelSchema, SharedSliceContentSchema, SharedSliceItemContentSchema, SharedSliceLegacy, SharedSliceModelSchema, SharedSliceModelVariationSchema, SharedSliceRefModelSchema, SliceContentModelSchema, SliceContentSchema, SliceItemContentSchema, SliceItemLegacy, SliceLegacy, SlicesContentSchema, SlicesLegacy, StaticCustomTypeModelSchema, StaticCustomTypeModelTabSchema, StaticSliceModelSchema, StaticSlicesModelSchema, StaticWidgetModelSchema, TableContentSchema, TableLegacy, TableModelSchema, TextContentSchema, TextLegacy, TextModelSchema, TimestampContentSchema, TimestampLegacy, TimestampModelSchema, UIDContentSchema, UIDLegacy, UIDModelSchema, WidgetContentSchema, WidgetKeySchema, WidgetLegacy };