@prismicio/types-internal 3.17.0 → 4.0.0-canary.4689e2d

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 (769) hide show
  1. package/README.md +36 -20
  2. package/dist/_virtual/_rolldown/runtime.js +13 -0
  3. package/dist/common/asset.d.ts +22 -0
  4. package/dist/common/asset.d.ts.map +1 -0
  5. package/dist/common/asset.js +21 -0
  6. package/dist/common/asset.js.map +1 -0
  7. package/dist/common/embed.d.ts +21 -0
  8. package/dist/common/embed.d.ts.map +1 -0
  9. package/dist/common/embed.js +20 -0
  10. package/dist/common/embed.js.map +1 -0
  11. package/dist/common/hexaColorCode.d.ts +8 -0
  12. package/dist/common/hexaColorCode.d.ts.map +1 -0
  13. package/dist/common/hexaColorCode.js +8 -0
  14. package/dist/common/hexaColorCode.js.map +1 -0
  15. package/dist/common/nonEmptyString.d.ts +8 -0
  16. package/dist/common/nonEmptyString.d.ts.map +1 -0
  17. package/dist/common/nonEmptyString.js +7 -0
  18. package/dist/common/nonEmptyString.js.map +1 -0
  19. package/dist/common/widgetKey.d.ts +8 -0
  20. package/dist/common/widgetKey.d.ts.map +1 -0
  21. package/dist/common/widgetKey.js +8 -0
  22. package/dist/common/widgetKey.js.map +1 -0
  23. package/dist/content/boolean.d.ts +11 -0
  24. package/dist/content/boolean.d.ts.map +1 -0
  25. package/dist/content/boolean.js +11 -0
  26. package/dist/content/boolean.js.map +1 -0
  27. package/dist/content/codec/boolean.js +31 -0
  28. package/dist/content/codec/boolean.js.map +1 -0
  29. package/dist/content/codec/document.js +49 -0
  30. package/dist/content/codec/document.js.map +1 -0
  31. package/dist/content/codec/embed.js +42 -0
  32. package/dist/content/codec/embed.js.map +1 -0
  33. package/dist/content/codec/empty.js +35 -0
  34. package/dist/content/codec/empty.js.map +1 -0
  35. package/dist/content/codec/field.js +41 -0
  36. package/dist/content/codec/field.js.map +1 -0
  37. package/dist/content/codec/geopoint.js +32 -0
  38. package/dist/content/codec/geopoint.js.map +1 -0
  39. package/dist/content/codec/group.js +127 -0
  40. package/dist/content/codec/group.js.map +1 -0
  41. package/dist/content/codec/image.js +44 -0
  42. package/dist/content/codec/image.js.map +1 -0
  43. package/dist/content/codec/integrationField.js +31 -0
  44. package/dist/content/codec/integrationField.js.map +1 -0
  45. package/dist/content/codec/legacyContentCtx.d.ts +50 -0
  46. package/dist/content/codec/legacyContentCtx.d.ts.map +1 -0
  47. package/dist/content/codec/legacyContentCtx.js +68 -0
  48. package/dist/content/codec/legacyContentCtx.js.map +1 -0
  49. package/dist/content/codec/link.js +93 -0
  50. package/dist/content/codec/link.js.map +1 -0
  51. package/dist/content/codec/nestable.js +91 -0
  52. package/dist/content/codec/nestable.js.map +1 -0
  53. package/dist/content/codec/repeatable.js +56 -0
  54. package/dist/content/codec/repeatable.js.map +1 -0
  55. package/dist/content/codec/richText.js +87 -0
  56. package/dist/content/codec/richText.js.map +1 -0
  57. package/dist/content/codec/separator.js +26 -0
  58. package/dist/content/codec/separator.js.map +1 -0
  59. package/dist/content/codec/slice.js +220 -0
  60. package/dist/content/codec/slice.js.map +1 -0
  61. package/dist/content/codec/slices.js +106 -0
  62. package/dist/content/codec/slices.js.map +1 -0
  63. package/dist/content/codec/table.js +56 -0
  64. package/dist/content/codec/table.js.map +1 -0
  65. package/dist/content/codec/uid.js +31 -0
  66. package/dist/content/codec/uid.js.map +1 -0
  67. package/dist/content/codec/widget.js +39 -0
  68. package/dist/content/codec/widget.js.map +1 -0
  69. package/dist/content/document.d.ts +9 -0
  70. package/dist/content/document.d.ts.map +1 -0
  71. package/dist/content/document.js +9 -0
  72. package/dist/content/document.js.map +1 -0
  73. package/dist/content/embed.d.ts +24 -0
  74. package/dist/content/embed.d.ts.map +1 -0
  75. package/dist/content/embed.js +12 -0
  76. package/dist/content/embed.js.map +1 -0
  77. package/dist/content/empty.d.ts +11 -0
  78. package/dist/content/empty.d.ts.map +1 -0
  79. package/dist/content/empty.js +11 -0
  80. package/dist/content/empty.js.map +1 -0
  81. package/dist/content/field.d.ts +49 -0
  82. package/dist/content/field.d.ts.map +1 -0
  83. package/dist/content/field.js +52 -0
  84. package/dist/content/field.js.map +1 -0
  85. package/dist/content/geopoint.d.ts +14 -0
  86. package/dist/content/geopoint.d.ts.map +1 -0
  87. package/dist/content/geopoint.js +9 -0
  88. package/dist/content/geopoint.js.map +1 -0
  89. package/dist/content/group.d.ts +19 -0
  90. package/dist/content/group.d.ts.map +1 -0
  91. package/dist/content/group.js +19 -0
  92. package/dist/content/group.js.map +1 -0
  93. package/dist/content/image.d.ts +54 -0
  94. package/dist/content/image.d.ts.map +1 -0
  95. package/dist/content/image.js +10 -0
  96. package/dist/content/image.js.map +1 -0
  97. package/dist/content/integrationField.d.ts +11 -0
  98. package/dist/content/integrationField.d.ts.map +1 -0
  99. package/dist/content/integrationField.js +11 -0
  100. package/dist/content/integrationField.js.map +1 -0
  101. package/dist/content/legacy/boolean.d.ts +1 -0
  102. package/dist/content/legacy/boolean.js +7 -0
  103. package/dist/content/legacy/boolean.js.map +1 -0
  104. package/dist/content/legacy/document.d.ts +8 -0
  105. package/dist/content/legacy/document.d.ts.map +1 -0
  106. package/dist/content/legacy/document.js +15 -0
  107. package/dist/content/legacy/document.js.map +1 -0
  108. package/dist/content/legacy/embed.d.ts +1 -0
  109. package/dist/content/legacy/embed.js +23 -0
  110. package/dist/content/legacy/embed.js.map +1 -0
  111. package/dist/content/legacy/empty.d.ts +1 -0
  112. package/dist/content/legacy/empty.js +7 -0
  113. package/dist/content/legacy/empty.js.map +1 -0
  114. package/dist/content/legacy/field.d.ts +1 -0
  115. package/dist/content/legacy/field.js +7 -0
  116. package/dist/content/legacy/field.js.map +1 -0
  117. package/dist/content/legacy/geopoint.d.ts +1 -0
  118. package/dist/content/legacy/geopoint.js +10 -0
  119. package/dist/content/legacy/geopoint.js.map +1 -0
  120. package/dist/content/legacy/group.d.ts +9 -0
  121. package/dist/content/legacy/group.d.ts.map +1 -0
  122. package/dist/content/legacy/group.js +10 -0
  123. package/dist/content/legacy/group.js.map +1 -0
  124. package/dist/content/legacy/image.d.ts +28 -0
  125. package/dist/content/legacy/image.d.ts.map +1 -0
  126. package/dist/content/legacy/image.js +33 -0
  127. package/dist/content/legacy/image.js.map +1 -0
  128. package/dist/content/legacy/integrationField.d.ts +1 -0
  129. package/dist/content/legacy/integrationField.js +7 -0
  130. package/dist/content/legacy/integrationField.js.map +1 -0
  131. package/dist/content/legacy/link.d.ts +41 -0
  132. package/dist/content/legacy/link.d.ts.map +1 -0
  133. package/dist/content/legacy/link.js +88 -0
  134. package/dist/content/legacy/link.js.map +1 -0
  135. package/dist/content/legacy/nestable.d.ts +1 -0
  136. package/dist/content/legacy/nestable.js +32 -0
  137. package/dist/content/legacy/nestable.js.map +1 -0
  138. package/dist/content/legacy/repeatable.d.ts +1 -0
  139. package/dist/content/legacy/repeatable.js +7 -0
  140. package/dist/content/legacy/repeatable.js.map +1 -0
  141. package/dist/content/legacy/richText.d.ts +110 -0
  142. package/dist/content/legacy/richText.d.ts.map +1 -0
  143. package/dist/content/legacy/richText.js +100 -0
  144. package/dist/content/legacy/richText.js.map +1 -0
  145. package/dist/content/legacy/separator.d.ts +1 -0
  146. package/dist/content/legacy/separator.js +7 -0
  147. package/dist/content/legacy/separator.js.map +1 -0
  148. package/dist/content/legacy/slice.js +22 -0
  149. package/dist/content/legacy/slice.js.map +1 -0
  150. package/dist/content/legacy/slices.js +13 -0
  151. package/dist/content/legacy/slices.js.map +1 -0
  152. package/dist/content/legacy/table.d.ts +1 -0
  153. package/dist/content/legacy/table.js +19 -0
  154. package/dist/content/legacy/table.js.map +1 -0
  155. package/dist/content/legacy/uid.js +7 -0
  156. package/dist/content/legacy/uid.js.map +1 -0
  157. package/dist/content/link.d.ts +140 -0
  158. package/dist/content/link.d.ts.map +1 -0
  159. package/dist/content/link.js +53 -0
  160. package/dist/content/link.js.map +1 -0
  161. package/dist/content/nestable.d.ts +19 -0
  162. package/dist/content/nestable.d.ts.map +1 -0
  163. package/dist/content/nestable.js +56 -0
  164. package/dist/content/nestable.js.map +1 -0
  165. package/dist/content/repeatable.d.ts +32 -0
  166. package/dist/content/repeatable.d.ts.map +1 -0
  167. package/dist/content/repeatable.js +17 -0
  168. package/dist/content/repeatable.js.map +1 -0
  169. package/dist/content/richText.d.ts +91 -0
  170. package/dist/content/richText.d.ts.map +1 -0
  171. package/dist/content/richText.js +24 -0
  172. package/dist/content/richText.js.map +1 -0
  173. package/dist/content/separator.d.ts +10 -0
  174. package/dist/content/separator.d.ts.map +1 -0
  175. package/dist/content/separator.js +8 -0
  176. package/dist/content/separator.js.map +1 -0
  177. package/dist/content/slice.d.ts +24 -0
  178. package/dist/content/slice.d.ts.map +1 -0
  179. package/dist/content/slice.js +27 -0
  180. package/dist/content/slice.js.map +1 -0
  181. package/dist/content/slices.d.ts +56 -0
  182. package/dist/content/slices.d.ts.map +1 -0
  183. package/dist/content/slices.js +24 -0
  184. package/dist/content/slices.js.map +1 -0
  185. package/dist/content/table.d.ts +21 -0
  186. package/dist/content/table.d.ts.map +1 -0
  187. package/dist/content/table.js +13 -0
  188. package/dist/content/table.js.map +1 -0
  189. package/dist/content/uid.d.ts +11 -0
  190. package/dist/content/uid.d.ts.map +1 -0
  191. package/dist/content/uid.js +11 -0
  192. package/dist/content/uid.js.map +1 -0
  193. package/dist/content/widget.d.ts +11 -0
  194. package/dist/content/widget.d.ts.map +1 -0
  195. package/dist/content/widget.js +16 -0
  196. package/dist/content/widget.js.map +1 -0
  197. package/dist/helpers/contentPath.d.ts +15 -0
  198. package/dist/helpers/contentPath.d.ts.map +1 -0
  199. package/dist/helpers/contentPath.js +30 -0
  200. package/dist/helpers/contentPath.js.map +1 -0
  201. package/dist/helpers/customTypeModel.d.ts +15 -0
  202. package/dist/helpers/customTypeModel.d.ts.map +1 -0
  203. package/dist/helpers/customTypeModel.js +85 -0
  204. package/dist/helpers/customTypeModel.js.map +1 -0
  205. package/dist/helpers/documentContent.d.ts +20 -0
  206. package/dist/helpers/documentContent.d.ts.map +1 -0
  207. package/dist/helpers/documentContent.js +64 -0
  208. package/dist/helpers/documentContent.js.map +1 -0
  209. package/dist/helpers/imageContent.d.ts +33 -0
  210. package/dist/helpers/imageContent.d.ts.map +1 -0
  211. package/dist/helpers/imageContent.js +55 -0
  212. package/dist/helpers/imageContent.js.map +1 -0
  213. package/dist/helpers/sliceContent.d.ts +12 -0
  214. package/dist/helpers/sliceContent.d.ts.map +1 -0
  215. package/dist/helpers/sliceContent.js +60 -0
  216. package/dist/helpers/sliceContent.js.map +1 -0
  217. package/dist/helpers/traverseContent.d.ts +84 -0
  218. package/dist/helpers/traverseContent.d.ts.map +1 -0
  219. package/dist/helpers/traverseContent.js +376 -0
  220. package/dist/helpers/traverseContent.js.map +1 -0
  221. package/dist/helpers/traverseContentWithModel.d.ts +84 -0
  222. package/dist/helpers/traverseContentWithModel.d.ts.map +1 -0
  223. package/dist/helpers/traverseContentWithModel.js +388 -0
  224. package/dist/helpers/traverseContentWithModel.js.map +1 -0
  225. package/dist/helpers/withDefaultContent.d.ts +21 -0
  226. package/dist/helpers/withDefaultContent.d.ts.map +1 -0
  227. package/dist/helpers/withDefaultContent.js +120 -0
  228. package/dist/helpers/withDefaultContent.js.map +1 -0
  229. package/dist/index.d.ts +59 -0
  230. package/dist/index.js +14 -0
  231. package/dist/io-ts.d.ts +4792 -0
  232. package/dist/io-ts.d.ts.map +1 -0
  233. package/dist/io-ts.js +224 -0
  234. package/dist/io-ts.js.map +1 -0
  235. package/dist/model/boolean.d.ts +16 -0
  236. package/dist/model/boolean.d.ts.map +1 -0
  237. package/dist/model/boolean.js +16 -0
  238. package/dist/model/boolean.js.map +1 -0
  239. package/dist/model/color.d.ts +15 -0
  240. package/dist/model/color.d.ts.map +1 -0
  241. package/dist/model/color.js +15 -0
  242. package/dist/model/color.js.map +1 -0
  243. package/dist/model/customType.d.ts +31 -0
  244. package/dist/model/customType.d.ts.map +1 -0
  245. package/dist/model/customType.js +18 -0
  246. package/dist/model/customType.js.map +1 -0
  247. package/dist/model/date.d.ts +16 -0
  248. package/dist/model/date.d.ts.map +1 -0
  249. package/dist/model/date.js +16 -0
  250. package/dist/model/date.js.map +1 -0
  251. package/dist/model/embed.d.ts +16 -0
  252. package/dist/model/embed.d.ts.map +1 -0
  253. package/dist/model/embed.js +16 -0
  254. package/dist/model/embed.js.map +1 -0
  255. package/dist/model/geopoint.d.ts +14 -0
  256. package/dist/model/geopoint.d.ts.map +1 -0
  257. package/dist/model/geopoint.js +12 -0
  258. package/dist/model/geopoint.js.map +1 -0
  259. package/dist/model/group.d.ts +567 -0
  260. package/dist/model/group.d.ts.map +1 -0
  261. package/dist/model/group.js +23 -0
  262. package/dist/model/group.js.map +1 -0
  263. package/dist/model/image.d.ts +24 -0
  264. package/dist/model/image.d.ts.map +1 -0
  265. package/dist/model/image.js +41 -0
  266. package/dist/model/image.js.map +1 -0
  267. package/dist/model/integrationField.d.ts +16 -0
  268. package/dist/model/integrationField.d.ts.map +1 -0
  269. package/dist/model/integrationField.js +16 -0
  270. package/dist/model/integrationField.js.map +1 -0
  271. package/dist/model/link.d.ts +48 -0
  272. package/dist/model/link.d.ts.map +1 -0
  273. package/dist/model/link.js +94 -0
  274. package/dist/model/link.js.map +1 -0
  275. package/dist/model/nestable.d.ts +23 -0
  276. package/dist/model/nestable.d.ts.map +1 -0
  277. package/dist/model/nestable.js +40 -0
  278. package/dist/model/nestable.js.map +1 -0
  279. package/dist/model/number.d.ts +18 -0
  280. package/dist/model/number.d.ts.map +1 -0
  281. package/dist/model/number.js +19 -0
  282. package/dist/model/number.js.map +1 -0
  283. package/dist/model/range.d.ts +18 -0
  284. package/dist/model/range.d.ts.map +1 -0
  285. package/dist/model/range.js +19 -0
  286. package/dist/model/range.js.map +1 -0
  287. package/dist/model/richText.d.ts +43 -0
  288. package/dist/model/richText.d.ts.map +1 -0
  289. package/dist/model/richText.js +73 -0
  290. package/dist/model/richText.js.map +1 -0
  291. package/dist/model/section.d.ts +11 -0
  292. package/dist/model/section.d.ts.map +1 -0
  293. package/dist/model/section.js +10 -0
  294. package/dist/model/section.js.map +1 -0
  295. package/dist/model/select.d.ts +17 -0
  296. package/dist/model/select.d.ts.map +1 -0
  297. package/dist/model/select.js +22 -0
  298. package/dist/model/select.js.map +1 -0
  299. package/dist/model/separator.d.ts +13 -0
  300. package/dist/model/separator.d.ts.map +1 -0
  301. package/dist/model/separator.js +11 -0
  302. package/dist/model/separator.js.map +1 -0
  303. package/dist/model/slice.d.ts +2084 -0
  304. package/dist/model/slice.d.ts.map +1 -0
  305. package/dist/model/slice.js +68 -0
  306. package/dist/model/slice.js.map +1 -0
  307. package/dist/model/slices.d.ts +33 -0
  308. package/dist/model/slices.d.ts.map +1 -0
  309. package/dist/model/slices.js +29 -0
  310. package/dist/model/slices.js.map +1 -0
  311. package/dist/model/table.d.ts +14 -0
  312. package/dist/model/table.d.ts.map +1 -0
  313. package/dist/model/table.js +22 -0
  314. package/dist/model/table.js.map +1 -0
  315. package/dist/model/text.d.ts +16 -0
  316. package/dist/model/text.d.ts.map +1 -0
  317. package/dist/model/text.js +16 -0
  318. package/dist/model/text.js.map +1 -0
  319. package/dist/model/timestamp.d.ts +16 -0
  320. package/dist/model/timestamp.d.ts.map +1 -0
  321. package/dist/model/timestamp.js +16 -0
  322. package/dist/model/timestamp.js.map +1 -0
  323. package/dist/model/uid.d.ts +16 -0
  324. package/dist/model/uid.d.ts.map +1 -0
  325. package/dist/model/uid.js +16 -0
  326. package/dist/model/uid.js.map +1 -0
  327. package/dist/model/widget.d.ts +58 -0
  328. package/dist/model/widget.d.ts.map +1 -0
  329. package/dist/model/widget.js +50 -0
  330. package/dist/model/widget.js.map +1 -0
  331. package/dist/zod4.d.ts +2840 -0
  332. package/dist/zod4.d.ts.map +1 -0
  333. package/dist/zod4.js +136 -0
  334. package/dist/zod4.js.map +1 -0
  335. package/package.json +62 -58
  336. package/src/common/asset.ts +29 -0
  337. package/src/common/embed.ts +27 -0
  338. package/src/common/hexaColorCode.ts +11 -0
  339. package/src/common/nonEmptyString.ts +9 -0
  340. package/src/common/widgetKey.ts +11 -0
  341. package/src/content/boolean.ts +10 -0
  342. package/src/content/codec/boolean.ts +38 -0
  343. package/src/content/codec/document.ts +60 -0
  344. package/src/content/codec/embed.ts +55 -0
  345. package/src/content/codec/empty.ts +49 -0
  346. package/src/content/codec/field.ts +96 -0
  347. package/src/content/codec/geopoint.ts +40 -0
  348. package/src/content/codec/group.ts +163 -0
  349. package/src/content/codec/image.ts +50 -0
  350. package/src/content/codec/integrationField.ts +38 -0
  351. package/src/content/{LegacyContentCtx.ts → codec/legacyContentCtx.ts} +17 -17
  352. package/src/content/codec/link.ts +103 -0
  353. package/src/content/codec/nestable.ts +146 -0
  354. package/src/content/codec/repeatable.ts +68 -0
  355. package/src/content/codec/richText.ts +117 -0
  356. package/src/content/codec/separator.ts +33 -0
  357. package/src/content/codec/slice.ts +276 -0
  358. package/src/content/codec/slices.ts +130 -0
  359. package/src/content/codec/table.ts +65 -0
  360. package/src/content/codec/uid.ts +36 -0
  361. package/src/content/codec/widget.ts +58 -0
  362. package/src/content/document.ts +8 -0
  363. package/src/content/embed.ts +12 -0
  364. package/src/content/empty.ts +10 -0
  365. package/src/content/field.ts +80 -0
  366. package/src/content/geopoint.ts +11 -0
  367. package/src/content/group.ts +46 -0
  368. package/src/content/image.ts +15 -0
  369. package/src/content/integrationField.ts +10 -0
  370. package/src/content/legacy/boolean.ts +5 -0
  371. package/src/content/legacy/document.ts +25 -0
  372. package/src/content/legacy/embed.ts +23 -0
  373. package/src/content/legacy/empty.ts +10 -0
  374. package/src/content/legacy/field.ts +8 -0
  375. package/src/content/legacy/geopoint.ts +10 -0
  376. package/src/content/legacy/group.ts +23 -0
  377. package/src/content/legacy/image.ts +43 -0
  378. package/src/content/legacy/integrationField.ts +5 -0
  379. package/src/content/legacy/link.ts +194 -0
  380. package/src/content/legacy/nestable.ts +55 -0
  381. package/src/content/legacy/repeatable.ts +7 -0
  382. package/src/content/legacy/richText.ts +200 -0
  383. package/src/content/legacy/separator.ts +6 -0
  384. package/src/content/legacy/slice.ts +38 -0
  385. package/src/content/legacy/slices.ts +17 -0
  386. package/src/content/legacy/table.ts +39 -0
  387. package/src/content/legacy/uid.ts +6 -0
  388. package/src/content/legacy/widget.ts +19 -0
  389. package/src/content/link.ts +165 -0
  390. package/src/content/nestable.ts +107 -0
  391. package/src/content/repeatable.ts +21 -0
  392. package/src/content/richText.ts +60 -0
  393. package/src/content/separator.ts +9 -0
  394. package/src/content/slice.ts +41 -0
  395. package/src/content/slices.ts +57 -0
  396. package/src/content/table.ts +14 -0
  397. package/src/content/uid.ts +10 -0
  398. package/src/content/widget.ts +21 -0
  399. package/src/helpers/contentPath.ts +35 -0
  400. package/src/helpers/customTypeModel.ts +113 -0
  401. package/src/helpers/documentContent.ts +108 -0
  402. package/src/helpers/imageContent.ts +84 -0
  403. package/src/helpers/sliceContent.ts +86 -0
  404. package/src/helpers/traverseContent.ts +597 -0
  405. package/src/helpers/traverseContentWithModel.ts +616 -0
  406. package/src/helpers/withDefaultContent.ts +180 -0
  407. package/src/index.ts +136 -0
  408. package/src/io-ts.ts +363 -0
  409. package/src/model/boolean.ts +15 -0
  410. package/src/model/color.ts +14 -0
  411. package/src/model/customType.ts +26 -0
  412. package/src/model/date.ts +15 -0
  413. package/src/model/diff/index.ts +4 -0
  414. package/src/{customtypes/diff/SharedSlice.ts → model/diff/sharedSlice.ts} +16 -18
  415. package/src/model/diff/utils.ts +45 -0
  416. package/src/model/diff/variation.ts +155 -0
  417. package/src/model/diff/widgets.ts +15 -0
  418. package/src/model/embed.ts +15 -0
  419. package/src/model/geopoint.ts +13 -0
  420. package/src/model/group.ts +39 -0
  421. package/src/model/image.ts +54 -0
  422. package/src/model/integrationField.ts +15 -0
  423. package/src/model/link.ts +141 -0
  424. package/src/model/nestable.ts +71 -0
  425. package/src/model/number.ts +26 -0
  426. package/src/model/range.ts +26 -0
  427. package/src/model/richText.ts +109 -0
  428. package/src/model/section.ts +12 -0
  429. package/src/model/select.ts +30 -0
  430. package/src/model/separator.ts +12 -0
  431. package/src/model/slice.ts +131 -0
  432. package/src/model/slices.ts +54 -0
  433. package/src/model/table.ts +29 -0
  434. package/src/model/text.ts +15 -0
  435. package/src/model/timestamp.ts +15 -0
  436. package/src/model/uid.ts +15 -0
  437. package/src/model/widget.ts +67 -0
  438. package/src/zod4.ts +199 -0
  439. package/lib/common/Asset.d.ts +0 -16
  440. package/lib/common/Asset.js +0 -11
  441. package/lib/common/Embed.d.ts +0 -15
  442. package/lib/common/Embed.js +0 -10
  443. package/lib/common/HexaColorCode.d.ts +0 -4
  444. package/lib/common/HexaColorCode.js +0 -7
  445. package/lib/common/UUID.d.ts +0 -6
  446. package/lib/common/UUID.js +0 -8
  447. package/lib/common/WidgetKey.d.ts +0 -3
  448. package/lib/common/WidgetKey.js +0 -8
  449. package/lib/common/index.d.ts +0 -3
  450. package/lib/common/index.js +0 -6
  451. package/lib/content/Document.d.ts +0 -11813
  452. package/lib/content/Document.js +0 -364
  453. package/lib/content/LegacyContentCtx.d.ts +0 -64
  454. package/lib/content/LegacyContentCtx.js +0 -130
  455. package/lib/content/fields/EmptyContent.d.ts +0 -16
  456. package/lib/content/fields/EmptyContent.js +0 -30
  457. package/lib/content/fields/GroupContent.d.ts +0 -53
  458. package/lib/content/fields/GroupContent.js +0 -307
  459. package/lib/content/fields/UIDContent.d.ts +0 -16
  460. package/lib/content/fields/UIDContent.js +0 -25
  461. package/lib/content/fields/WidgetContent.d.ts +0 -11749
  462. package/lib/content/fields/WidgetContent.js +0 -57
  463. package/lib/content/fields/index.d.ts +0 -6
  464. package/lib/content/fields/index.js +0 -9
  465. package/lib/content/fields/nestable/BooleanContent.d.ts +0 -18
  466. package/lib/content/fields/nestable/BooleanContent.js +0 -35
  467. package/lib/content/fields/nestable/EmbedContent.d.ts +0 -78
  468. package/lib/content/fields/nestable/EmbedContent.js +0 -56
  469. package/lib/content/fields/nestable/FieldContent/ColorContent.d.ts +0 -18
  470. package/lib/content/fields/nestable/FieldContent/ColorContent.js +0 -35
  471. package/lib/content/fields/nestable/FieldContent/DateContent.d.ts +0 -18
  472. package/lib/content/fields/nestable/FieldContent/DateContent.js +0 -35
  473. package/lib/content/fields/nestable/FieldContent/NumberContent.d.ts +0 -18
  474. package/lib/content/fields/nestable/FieldContent/NumberContent.js +0 -35
  475. package/lib/content/fields/nestable/FieldContent/RangeContent.d.ts +0 -18
  476. package/lib/content/fields/nestable/FieldContent/RangeContent.js +0 -35
  477. package/lib/content/fields/nestable/FieldContent/SelectContent.d.ts +0 -20
  478. package/lib/content/fields/nestable/FieldContent/SelectContent.js +0 -46
  479. package/lib/content/fields/nestable/FieldContent/TextContent.d.ts +0 -18
  480. package/lib/content/fields/nestable/FieldContent/TextContent.js +0 -35
  481. package/lib/content/fields/nestable/FieldContent/TimestampContent.d.ts +0 -18
  482. package/lib/content/fields/nestable/FieldContent/TimestampContent.js +0 -35
  483. package/lib/content/fields/nestable/FieldContent/common.d.ts +0 -1
  484. package/lib/content/fields/nestable/FieldContent/common.js +0 -4
  485. package/lib/content/fields/nestable/FieldContent/index.d.ts +0 -49
  486. package/lib/content/fields/nestable/FieldContent/index.js +0 -38
  487. package/lib/content/fields/nestable/GeoPointContent.d.ts +0 -33
  488. package/lib/content/fields/nestable/GeoPointContent.js +0 -31
  489. package/lib/content/fields/nestable/ImageContent.d.ts +0 -252
  490. package/lib/content/fields/nestable/ImageContent.js +0 -122
  491. package/lib/content/fields/nestable/IntegrationFieldContent.d.ts +0 -16
  492. package/lib/content/fields/nestable/IntegrationFieldContent.js +0 -28
  493. package/lib/content/fields/nestable/LinkContent.d.ts +0 -919
  494. package/lib/content/fields/nestable/LinkContent.js +0 -399
  495. package/lib/content/fields/nestable/NestableContent.d.ts +0 -1953
  496. package/lib/content/fields/nestable/NestableContent.js +0 -167
  497. package/lib/content/fields/nestable/RepeatableContent.d.ts +0 -182
  498. package/lib/content/fields/nestable/RepeatableContent.js +0 -146
  499. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +0 -1261
  500. package/lib/content/fields/nestable/RichTextContent/Blocks.js +0 -170
  501. package/lib/content/fields/nestable/RichTextContent/index.d.ts +0 -1004
  502. package/lib/content/fields/nestable/RichTextContent/index.js +0 -28
  503. package/lib/content/fields/nestable/SeparatorContent.d.ts +0 -13
  504. package/lib/content/fields/nestable/SeparatorContent.js +0 -22
  505. package/lib/content/fields/nestable/TableContent.d.ts +0 -776
  506. package/lib/content/fields/nestable/TableContent.js +0 -167
  507. package/lib/content/fields/nestable/index.d.ts +0 -12
  508. package/lib/content/fields/nestable/index.js +0 -15
  509. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +0 -3934
  510. package/lib/content/fields/slices/Slice/CompositeSliceContent.js +0 -195
  511. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +0 -774
  512. package/lib/content/fields/slices/Slice/RepeatableContent.js +0 -21
  513. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +0 -3937
  514. package/lib/content/fields/slices/Slice/SharedSliceContent.js +0 -215
  515. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +0 -1962
  516. package/lib/content/fields/slices/Slice/SimpleSliceContent.js +0 -130
  517. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +0 -1952
  518. package/lib/content/fields/slices/Slice/SlicePrimaryContent.js +0 -30
  519. package/lib/content/fields/slices/Slice/index.d.ts +0 -6810
  520. package/lib/content/fields/slices/Slice/index.js +0 -45
  521. package/lib/content/fields/slices/SliceItem.d.ts +0 -6846
  522. package/lib/content/fields/slices/SliceItem.js +0 -116
  523. package/lib/content/fields/slices/SlicesContent.d.ts +0 -9827
  524. package/lib/content/fields/slices/SlicesContent.js +0 -465
  525. package/lib/content/fields/slices/index.d.ts +0 -3
  526. package/lib/content/fields/slices/index.js +0 -6
  527. package/lib/content/fields/withDefaultValues.d.ts +0 -9
  528. package/lib/content/fields/withDefaultValues.js +0 -79
  529. package/lib/content/helpers.d.ts +0 -9
  530. package/lib/content/helpers.js +0 -22
  531. package/lib/content/index.d.ts +0 -4
  532. package/lib/content/index.js +0 -7
  533. package/lib/content/utils.d.ts +0 -50
  534. package/lib/content/utils.js +0 -35
  535. package/lib/customtypes/CustomType.d.ts +0 -3680
  536. package/lib/customtypes/CustomType.js +0 -184
  537. package/lib/customtypes/Section.d.ts +0 -3635
  538. package/lib/customtypes/Section.js +0 -66
  539. package/lib/customtypes/diff/Changes.d.ts +0 -17
  540. package/lib/customtypes/diff/Changes.js +0 -9
  541. package/lib/customtypes/diff/SharedSlice.d.ts +0 -1624
  542. package/lib/customtypes/diff/SharedSlice.js +0 -55
  543. package/lib/customtypes/diff/Variation.d.ts +0 -1605
  544. package/lib/customtypes/diff/Variation.js +0 -113
  545. package/lib/customtypes/diff/Widgets.d.ts +0 -11
  546. package/lib/customtypes/diff/Widgets.js +0 -2
  547. package/lib/customtypes/diff/index.d.ts +0 -4
  548. package/lib/customtypes/diff/index.js +0 -7
  549. package/lib/customtypes/index.d.ts +0 -4
  550. package/lib/customtypes/index.js +0 -7
  551. package/lib/customtypes/widgets/Group.d.ts +0 -1352
  552. package/lib/customtypes/widgets/Group.js +0 -92
  553. package/lib/customtypes/widgets/UID.d.ts +0 -19
  554. package/lib/customtypes/widgets/UID.js +0 -21
  555. package/lib/customtypes/widgets/Widget.d.ts +0 -4457
  556. package/lib/customtypes/widgets/Widget.js +0 -49
  557. package/lib/customtypes/widgets/index.d.ts +0 -6
  558. package/lib/customtypes/widgets/index.js +0 -9
  559. package/lib/customtypes/widgets/nestable/BooleanField.d.ts +0 -20
  560. package/lib/customtypes/widgets/nestable/BooleanField.js +0 -21
  561. package/lib/customtypes/widgets/nestable/Color.d.ts +0 -17
  562. package/lib/customtypes/widgets/nestable/Color.js +0 -20
  563. package/lib/customtypes/widgets/nestable/Date.d.ts +0 -19
  564. package/lib/customtypes/widgets/nestable/Date.js +0 -21
  565. package/lib/customtypes/widgets/nestable/Embed.d.ts +0 -19
  566. package/lib/customtypes/widgets/nestable/Embed.js +0 -21
  567. package/lib/customtypes/widgets/nestable/GeoPoint.d.ts +0 -15
  568. package/lib/customtypes/widgets/nestable/GeoPoint.js +0 -19
  569. package/lib/customtypes/widgets/nestable/Image.d.ts +0 -44
  570. package/lib/customtypes/widgets/nestable/Image.js +0 -29
  571. package/lib/customtypes/widgets/nestable/IntegrationField.d.ts +0 -19
  572. package/lib/customtypes/widgets/nestable/IntegrationField.js +0 -21
  573. package/lib/customtypes/widgets/nestable/Link.d.ts +0 -196
  574. package/lib/customtypes/widgets/nestable/Link.js +0 -167
  575. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -217
  576. package/lib/customtypes/widgets/nestable/NestableWidget.js +0 -39
  577. package/lib/customtypes/widgets/nestable/Number.d.ts +0 -23
  578. package/lib/customtypes/widgets/nestable/Number.js +0 -24
  579. package/lib/customtypes/widgets/nestable/Range.d.ts +0 -23
  580. package/lib/customtypes/widgets/nestable/Range.js +0 -24
  581. package/lib/customtypes/widgets/nestable/RichText.d.ts +0 -73
  582. package/lib/customtypes/widgets/nestable/RichText.js +0 -131
  583. package/lib/customtypes/widgets/nestable/Select.d.ts +0 -21
  584. package/lib/customtypes/widgets/nestable/Select.js +0 -22
  585. package/lib/customtypes/widgets/nestable/Separator.d.ts +0 -14
  586. package/lib/customtypes/widgets/nestable/Separator.js +0 -18
  587. package/lib/customtypes/widgets/nestable/Table.d.ts +0 -21
  588. package/lib/customtypes/widgets/nestable/Table.js +0 -30
  589. package/lib/customtypes/widgets/nestable/Text.d.ts +0 -19
  590. package/lib/customtypes/widgets/nestable/Text.js +0 -21
  591. package/lib/customtypes/widgets/nestable/Timestamp.d.ts +0 -19
  592. package/lib/customtypes/widgets/nestable/Timestamp.js +0 -21
  593. package/lib/customtypes/widgets/nestable/index.d.ts +0 -17
  594. package/lib/customtypes/widgets/nestable/index.js +0 -20
  595. package/lib/customtypes/widgets/shared/ImageConstraint.d.ts +0 -7
  596. package/lib/customtypes/widgets/shared/ImageConstraint.js +0 -31
  597. package/lib/customtypes/widgets/shared/index.d.ts +0 -1
  598. package/lib/customtypes/widgets/shared/index.js +0 -8
  599. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -455
  600. package/lib/customtypes/widgets/slices/CompositeSlice.js +0 -63
  601. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -442
  602. package/lib/customtypes/widgets/slices/LegacySlice.js +0 -12
  603. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +0 -1807
  604. package/lib/customtypes/widgets/slices/SharedSlice.js +0 -118
  605. package/lib/customtypes/widgets/slices/SharedSliceRef.d.ts +0 -5
  606. package/lib/customtypes/widgets/slices/SharedSliceRef.js +0 -9
  607. package/lib/customtypes/widgets/slices/Slice.d.ts +0 -6
  608. package/lib/customtypes/widgets/slices/Slice.js +0 -2
  609. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +0 -1259
  610. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.js +0 -10
  611. package/lib/customtypes/widgets/slices/Slices.d.ts +0 -5917
  612. package/lib/customtypes/widgets/slices/Slices.js +0 -146
  613. package/lib/customtypes/widgets/slices/SlicesTypes.d.ts +0 -6
  614. package/lib/customtypes/widgets/slices/SlicesTypes.js +0 -11
  615. package/lib/customtypes/widgets/slices/index.d.ts +0 -8
  616. package/lib/customtypes/widgets/slices/index.js +0 -11
  617. package/lib/utils/Arrays.d.ts +0 -1
  618. package/lib/utils/Arrays.js +0 -13
  619. package/lib/utils/DocumentId.d.ts +0 -2
  620. package/lib/utils/DocumentId.js +0 -7
  621. package/lib/utils/Fields.d.ts +0 -6
  622. package/lib/utils/Fields.js +0 -2
  623. package/lib/utils/Objects.d.ts +0 -8
  624. package/lib/utils/Objects.js +0 -42
  625. package/lib/utils/index.d.ts +0 -4
  626. package/lib/utils/index.js +0 -8
  627. package/lib/validators/BasicTypes.d.ts +0 -10
  628. package/lib/validators/BasicTypes.js +0 -25
  629. package/lib/validators/DateFromString.d.ts +0 -3
  630. package/lib/validators/DateFromString.js +0 -11
  631. package/lib/validators/DateFromStringOrNumber.d.ts +0 -3
  632. package/lib/validators/DateFromStringOrNumber.js +0 -10
  633. package/lib/validators/DateFromTsMs.d.ts +0 -3
  634. package/lib/validators/DateFromTsMs.js +0 -10
  635. package/lib/validators/DefaultOrElse.d.ts +0 -5
  636. package/lib/validators/DefaultOrElse.js +0 -21
  637. package/lib/validators/IntFromNumber.d.ts +0 -5
  638. package/lib/validators/IntFromNumber.js +0 -14
  639. package/lib/validators/IntFromPixels.d.ts +0 -8
  640. package/lib/validators/IntFromPixels.js +0 -24
  641. package/lib/validators/NonEmptyString.d.ts +0 -3
  642. package/lib/validators/NonEmptyString.js +0 -6
  643. package/lib/validators/NonEmptyStringOrNull.d.ts +0 -3
  644. package/lib/validators/NonEmptyStringOrNull.js +0 -15
  645. package/lib/validators/NumberOrNull.d.ts +0 -3
  646. package/lib/validators/NumberOrNull.js +0 -6
  647. package/lib/validators/NumberRange.d.ts +0 -32
  648. package/lib/validators/NumberRange.js +0 -40
  649. package/lib/validators/StringFromBoolean.d.ts +0 -5
  650. package/lib/validators/StringFromBoolean.js +0 -10
  651. package/lib/validators/StringFromNumber.d.ts +0 -5
  652. package/lib/validators/StringFromNumber.js +0 -10
  653. package/lib/validators/StringOrNull.d.ts +0 -3
  654. package/lib/validators/StringOrNull.js +0 -6
  655. package/lib/validators/TrimmedString.d.ts +0 -5
  656. package/lib/validators/TrimmedString.js +0 -23
  657. package/lib/validators/function.d.ts +0 -34
  658. package/lib/validators/function.js +0 -100
  659. package/lib/validators/index.d.ts +0 -15
  660. package/lib/validators/index.js +0 -31
  661. package/src/common/Asset.ts +0 -25
  662. package/src/common/Embed.ts +0 -22
  663. package/src/common/HexaColorCode.ts +0 -11
  664. package/src/common/UUID.ts +0 -19
  665. package/src/common/WidgetKey.ts +0 -13
  666. package/src/common/index.ts +0 -3
  667. package/src/content/Document.ts +0 -539
  668. package/src/content/fields/EmptyContent.ts +0 -45
  669. package/src/content/fields/GroupContent.ts +0 -466
  670. package/src/content/fields/UIDContent.ts +0 -42
  671. package/src/content/fields/WidgetContent.ts +0 -76
  672. package/src/content/fields/index.ts +0 -6
  673. package/src/content/fields/nestable/BooleanContent.ts +0 -52
  674. package/src/content/fields/nestable/EmbedContent.ts +0 -74
  675. package/src/content/fields/nestable/FieldContent/ColorContent.ts +0 -49
  676. package/src/content/fields/nestable/FieldContent/DateContent.ts +0 -49
  677. package/src/content/fields/nestable/FieldContent/NumberContent.ts +0 -49
  678. package/src/content/fields/nestable/FieldContent/RangeContent.ts +0 -49
  679. package/src/content/fields/nestable/FieldContent/SelectContent.ts +0 -60
  680. package/src/content/fields/nestable/FieldContent/TextContent.ts +0 -49
  681. package/src/content/fields/nestable/FieldContent/TimestampContent.ts +0 -49
  682. package/src/content/fields/nestable/FieldContent/common.ts +0 -1
  683. package/src/content/fields/nestable/FieldContent/index.ts +0 -40
  684. package/src/content/fields/nestable/GeoPointContent.ts +0 -48
  685. package/src/content/fields/nestable/ImageContent.ts +0 -196
  686. package/src/content/fields/nestable/IntegrationFieldContent.ts +0 -51
  687. package/src/content/fields/nestable/LinkContent.ts +0 -651
  688. package/src/content/fields/nestable/NestableContent.ts +0 -241
  689. package/src/content/fields/nestable/RepeatableContent.ts +0 -224
  690. package/src/content/fields/nestable/RichTextContent/Blocks.ts +0 -238
  691. package/src/content/fields/nestable/RichTextContent/index.ts +0 -42
  692. package/src/content/fields/nestable/SeparatorContent.ts +0 -34
  693. package/src/content/fields/nestable/TableContent.ts +0 -234
  694. package/src/content/fields/nestable/index.ts +0 -12
  695. package/src/content/fields/slices/Slice/CompositeSliceContent.ts +0 -293
  696. package/src/content/fields/slices/Slice/RepeatableContent.ts +0 -29
  697. package/src/content/fields/slices/Slice/SharedSliceContent.ts +0 -305
  698. package/src/content/fields/slices/Slice/SimpleSliceContent.ts +0 -180
  699. package/src/content/fields/slices/Slice/SlicePrimaryContent.ts +0 -40
  700. package/src/content/fields/slices/Slice/index.ts +0 -52
  701. package/src/content/fields/slices/SliceItem.ts +0 -184
  702. package/src/content/fields/slices/SlicesContent.ts +0 -677
  703. package/src/content/fields/slices/index.ts +0 -3
  704. package/src/content/fields/withDefaultValues.ts +0 -119
  705. package/src/content/helpers.ts +0 -25
  706. package/src/content/index.ts +0 -4
  707. package/src/content/utils.ts +0 -145
  708. package/src/customtypes/CustomType.ts +0 -280
  709. package/src/customtypes/Section.ts +0 -98
  710. package/src/customtypes/diff/Variation.ts +0 -167
  711. package/src/customtypes/diff/Widgets.ts +0 -17
  712. package/src/customtypes/diff/index.ts +0 -4
  713. package/src/customtypes/index.ts +0 -4
  714. package/src/customtypes/widgets/Group.ts +0 -120
  715. package/src/customtypes/widgets/UID.ts +0 -27
  716. package/src/customtypes/widgets/Widget.ts +0 -83
  717. package/src/customtypes/widgets/index.ts +0 -6
  718. package/src/customtypes/widgets/nestable/BooleanField.ts +0 -29
  719. package/src/customtypes/widgets/nestable/Color.ts +0 -25
  720. package/src/customtypes/widgets/nestable/Date.ts +0 -27
  721. package/src/customtypes/widgets/nestable/Embed.ts +0 -27
  722. package/src/customtypes/widgets/nestable/GeoPoint.ts +0 -25
  723. package/src/customtypes/widgets/nestable/Image.ts +0 -39
  724. package/src/customtypes/widgets/nestable/IntegrationField.ts +0 -26
  725. package/src/customtypes/widgets/nestable/Link.ts +0 -313
  726. package/src/customtypes/widgets/nestable/NestableWidget.ts +0 -40
  727. package/src/customtypes/widgets/nestable/Number.ts +0 -30
  728. package/src/customtypes/widgets/nestable/Range.ts +0 -30
  729. package/src/customtypes/widgets/nestable/RichText.ts +0 -215
  730. package/src/customtypes/widgets/nestable/Select.ts +0 -34
  731. package/src/customtypes/widgets/nestable/Separator.ts +0 -24
  732. package/src/customtypes/widgets/nestable/Table.ts +0 -38
  733. package/src/customtypes/widgets/nestable/Text.ts +0 -27
  734. package/src/customtypes/widgets/nestable/Timestamp.ts +0 -27
  735. package/src/customtypes/widgets/nestable/index.ts +0 -17
  736. package/src/customtypes/widgets/shared/ImageConstraint.ts +0 -41
  737. package/src/customtypes/widgets/shared/index.ts +0 -1
  738. package/src/customtypes/widgets/slices/CompositeSlice.ts +0 -79
  739. package/src/customtypes/widgets/slices/LegacySlice.ts +0 -15
  740. package/src/customtypes/widgets/slices/SharedSlice.ts +0 -152
  741. package/src/customtypes/widgets/slices/SharedSliceRef.ts +0 -10
  742. package/src/customtypes/widgets/slices/Slice.ts +0 -7
  743. package/src/customtypes/widgets/slices/SlicePrimaryWidget.ts +0 -12
  744. package/src/customtypes/widgets/slices/Slices.ts +0 -184
  745. package/src/customtypes/widgets/slices/SlicesTypes.ts +0 -11
  746. package/src/customtypes/widgets/slices/index.ts +0 -8
  747. package/src/utils/Arrays.ts +0 -12
  748. package/src/utils/DocumentId.ts +0 -8
  749. package/src/utils/Fields.ts +0 -4
  750. package/src/utils/Objects.ts +0 -53
  751. package/src/utils/index.ts +0 -4
  752. package/src/validators/BasicTypes.ts +0 -55
  753. package/src/validators/DateFromString.ts +0 -19
  754. package/src/validators/DateFromStringOrNumber.ts +0 -17
  755. package/src/validators/DateFromTsMs.ts +0 -17
  756. package/src/validators/DefaultOrElse.ts +0 -24
  757. package/src/validators/IntFromNumber.ts +0 -22
  758. package/src/validators/IntFromPixels.ts +0 -32
  759. package/src/validators/NonEmptyString.ts +0 -8
  760. package/src/validators/NonEmptyStringOrNull.ts +0 -22
  761. package/src/validators/NumberOrNull.ts +0 -5
  762. package/src/validators/NumberRange.ts +0 -51
  763. package/src/validators/StringFromBoolean.ts +0 -19
  764. package/src/validators/StringFromNumber.ts +0 -19
  765. package/src/validators/StringOrNull.ts +0 -5
  766. package/src/validators/TrimmedString.ts +0 -33
  767. package/src/validators/function.ts +0 -115
  768. package/src/validators/index.ts +0 -15
  769. /package/src/{customtypes/diff/Changes.ts → model/diff/changes.ts} +0 -0
@@ -0,0 +1,4792 @@
1
+ import { FieldContent } from "./content/field.js";
2
+ import { EmptyLinkContentValue, FilledLinkContentValue, LinkContentValue } from "./content/link.js";
3
+ import { RichTextLegacyBlock } from "./content/legacy/richText.js";
4
+ import { RichTextContent, RichTextContentBlock, RichTextContentSpan } from "./content/richText.js";
5
+ import { NestableContent } from "./content/nestable.js";
6
+ import { GroupItemContent, NestableAndGroupContent } from "./content/group.js";
7
+ import { SliceContent } from "./content/slice.js";
8
+ import { WidgetContent } from "./content/widget.js";
9
+ import { NestableModel } from "./model/nestable.js";
10
+ import { DynamicSliceModel, LegacySliceModel, SliceContentModel, StaticSliceModel } from "./model/slice.js";
11
+ import { DynamicWidgetModel, FieldOrSliceType, StaticWidgetModel } from "./model/widget.js";
12
+ import { LegacyContentCtx } from "./content/codec/legacyContentCtx.js";
13
+ import { GroupLegacy as GroupLegacy$1 } from "./content/legacy/group.js";
14
+ import * as t from "io-ts";
15
+
16
+ //#region src/io-ts.d.ts
17
+ declare const AssetSchema: t.Type<{
18
+ id: string;
19
+ last_modified: string;
20
+ kind: "image" | "all";
21
+ origin_url: string;
22
+ url: string;
23
+ filename?: string | undefined;
24
+ extension?: string | undefined;
25
+ size?: number | undefined;
26
+ width?: number | undefined;
27
+ height?: number | undefined;
28
+ notes?: string | undefined;
29
+ credits?: string | undefined;
30
+ alt?: string | undefined;
31
+ }, {
32
+ id: string;
33
+ last_modified: string;
34
+ kind: "image" | "all";
35
+ origin_url: string;
36
+ url: string;
37
+ filename?: string | undefined;
38
+ extension?: string | undefined;
39
+ size?: number | undefined;
40
+ width?: number | undefined;
41
+ height?: number | undefined;
42
+ notes?: string | undefined;
43
+ credits?: string | undefined;
44
+ alt?: string | undefined;
45
+ }, unknown>;
46
+ declare const EmbedSchema: t.Type<{
47
+ type: string;
48
+ version?: string | null | undefined;
49
+ author_name?: string | null | undefined;
50
+ author_url?: string | null | undefined;
51
+ provider_name?: string | null | undefined;
52
+ provider_url?: string | null | undefined;
53
+ cache_age?: string | null | undefined;
54
+ thumbnail_url?: string | null | undefined;
55
+ thumbnail_width?: number | null | undefined;
56
+ thumbnail_height?: number | null | undefined;
57
+ html?: string | null | undefined;
58
+ title?: string | null | undefined;
59
+ }, {
60
+ type: string;
61
+ version?: string | null | undefined;
62
+ author_name?: string | null | undefined;
63
+ author_url?: string | null | undefined;
64
+ provider_name?: string | null | undefined;
65
+ provider_url?: string | null | undefined;
66
+ cache_age?: string | null | undefined;
67
+ thumbnail_url?: string | null | undefined;
68
+ thumbnail_width?: number | null | undefined;
69
+ thumbnail_height?: number | null | undefined;
70
+ html?: string | null | undefined;
71
+ title?: string | null | undefined;
72
+ }, unknown>;
73
+ declare const HexaColorCodeSchema: t.Type<string, string, unknown>;
74
+ declare const NonEmptyStringSchema: t.Type<string, string, unknown>;
75
+ declare const WidgetKeySchema: t.Type<string, string, unknown>;
76
+ declare const BooleanContentSchema: t.Type<{
77
+ __TYPE__: "BooleanContent";
78
+ value: boolean;
79
+ }, {
80
+ __TYPE__: "BooleanContent";
81
+ value: boolean;
82
+ }, unknown>;
83
+ declare const ColorContentSchema: t.Type<{
84
+ type: "Color";
85
+ value: string;
86
+ __TYPE__: "FieldContent";
87
+ }, {
88
+ type: "Color";
89
+ value: string;
90
+ __TYPE__: "FieldContent";
91
+ }, unknown>;
92
+ declare const DateContentSchema: t.Type<{
93
+ type: "Date";
94
+ value: string;
95
+ __TYPE__: "FieldContent";
96
+ }, {
97
+ type: "Date";
98
+ value: string;
99
+ __TYPE__: "FieldContent";
100
+ }, unknown>;
101
+ declare const EmptyContentSchema: t.Type<{
102
+ type: string;
103
+ __TYPE__: "EmptyContent";
104
+ }, {
105
+ type: string;
106
+ __TYPE__: "EmptyContent";
107
+ }, unknown>;
108
+ declare const GeoPointContentSchema: t.Type<{
109
+ position: {
110
+ lat: number;
111
+ lng: number;
112
+ };
113
+ __TYPE__: "GeoPointContent";
114
+ }, {
115
+ position: {
116
+ lat: number;
117
+ lng: number;
118
+ };
119
+ __TYPE__: "GeoPointContent";
120
+ }, unknown>;
121
+ declare const FilledLinkContentSchema: t.Type<{
122
+ __TYPE__: "LinkContent";
123
+ key: string;
124
+ value: {
125
+ variant?: string | undefined;
126
+ text?: string | undefined;
127
+ } & FilledLinkContentValue;
128
+ }, {
129
+ __TYPE__: "LinkContent";
130
+ key: string;
131
+ value: {
132
+ variant?: string | undefined;
133
+ text?: string | undefined;
134
+ } & FilledLinkContentValue;
135
+ }, unknown>;
136
+ declare const EmptyLinkContentSchema: t.Type<{
137
+ __TYPE__: "LinkContent";
138
+ key: string;
139
+ value: {
140
+ variant?: string | undefined;
141
+ text?: string | undefined;
142
+ } & EmptyLinkContentValue;
143
+ }, {
144
+ __TYPE__: "LinkContent";
145
+ key: string;
146
+ value: {
147
+ variant?: string | undefined;
148
+ text?: string | undefined;
149
+ } & EmptyLinkContentValue;
150
+ }, unknown>;
151
+ declare const LinkContentSchema: t.Type<{
152
+ __TYPE__: "LinkContent";
153
+ key: string;
154
+ value: {
155
+ variant?: string | undefined;
156
+ text?: string | undefined;
157
+ } & LinkContentValue;
158
+ }, {
159
+ __TYPE__: "LinkContent";
160
+ key: string;
161
+ value: {
162
+ variant?: string | undefined;
163
+ text?: string | undefined;
164
+ } & LinkContentValue;
165
+ }, unknown>;
166
+ declare const NumberContentSchema: t.Type<{
167
+ type: "Number";
168
+ value: string;
169
+ __TYPE__: "FieldContent";
170
+ }, {
171
+ type: "Number";
172
+ value: string;
173
+ __TYPE__: "FieldContent";
174
+ }, unknown>;
175
+ declare const RangeContentSchema: t.Type<{
176
+ type: "Range";
177
+ value: string;
178
+ __TYPE__: "FieldContent";
179
+ }, {
180
+ type: "Range";
181
+ value: string;
182
+ __TYPE__: "FieldContent";
183
+ }, unknown>;
184
+ declare const SelectContentSchema: t.Type<{
185
+ type: "Select";
186
+ value: string;
187
+ __TYPE__: "FieldContent";
188
+ }, {
189
+ type: "Select";
190
+ value: string;
191
+ __TYPE__: "FieldContent";
192
+ }, unknown>;
193
+ declare const SeparatorContentSchema: t.Type<{
194
+ __TYPE__: "SeparatorContent";
195
+ }, {
196
+ __TYPE__: "SeparatorContent";
197
+ }, unknown>;
198
+ declare const SharedSliceContentSchema: t.Type<{
199
+ __TYPE__: "SharedSliceContent";
200
+ variation: string;
201
+ primary: Record<string, NestableAndGroupContent>;
202
+ items: GroupItemContent[];
203
+ }, {
204
+ __TYPE__: "SharedSliceContent";
205
+ variation: string;
206
+ primary: Record<string, NestableAndGroupContent>;
207
+ items: GroupItemContent[];
208
+ }, unknown>;
209
+ declare const TextContentSchema: t.Type<{
210
+ type: "Text";
211
+ value: string;
212
+ __TYPE__: "FieldContent";
213
+ }, {
214
+ type: "Text";
215
+ value: string;
216
+ __TYPE__: "FieldContent";
217
+ }, unknown>;
218
+ declare const TimestampContentSchema: t.Type<{
219
+ type: "Timestamp";
220
+ value: string;
221
+ __TYPE__: "FieldContent";
222
+ }, {
223
+ type: "Timestamp";
224
+ value: string;
225
+ __TYPE__: "FieldContent";
226
+ }, unknown>;
227
+ declare const FieldContentSchema: t.Type<FieldContent, FieldContent, unknown>;
228
+ declare const UIDContentSchema: t.Type<{
229
+ __TYPE__: "UIDContent";
230
+ value: string;
231
+ }, {
232
+ __TYPE__: "UIDContent";
233
+ value: string;
234
+ }, unknown>;
235
+ declare const IntegrationFieldContentSchema: t.Type<{
236
+ __TYPE__: "IntegrationFieldsContent";
237
+ value: string;
238
+ }, {
239
+ __TYPE__: "IntegrationFieldsContent";
240
+ value: string;
241
+ }, unknown>;
242
+ declare const EmbedContentSchema: t.Type<{
243
+ embed_url: string;
244
+ type: string;
245
+ __TYPE__: "EmbedContent";
246
+ all: unknown;
247
+ version?: string | number | null | undefined;
248
+ title?: string | null | undefined;
249
+ author_name?: string | null | undefined;
250
+ author_url?: string | null | undefined;
251
+ provider_name?: string | null | undefined;
252
+ provider_url?: string | null | undefined;
253
+ cache_age?: string | number | null | undefined;
254
+ thumbnail_url?: string | null | undefined;
255
+ thumbnail_width?: number | null | undefined;
256
+ thumbnail_height?: number | null | undefined;
257
+ html?: string | null | undefined;
258
+ }, {
259
+ embed_url: string;
260
+ type: string;
261
+ __TYPE__: "EmbedContent";
262
+ all: unknown;
263
+ version?: string | number | null | undefined;
264
+ title?: string | null | undefined;
265
+ author_name?: string | null | undefined;
266
+ author_url?: string | null | undefined;
267
+ provider_name?: string | null | undefined;
268
+ provider_url?: string | null | undefined;
269
+ cache_age?: string | number | null | undefined;
270
+ thumbnail_url?: string | null | undefined;
271
+ thumbnail_width?: number | null | undefined;
272
+ thumbnail_height?: number | null | undefined;
273
+ html?: string | null | undefined;
274
+ }, unknown>;
275
+ declare const ImageContentViewSchema: t.Type<{
276
+ origin: {
277
+ id: string;
278
+ url: string;
279
+ width: number;
280
+ height: number;
281
+ };
282
+ width: number;
283
+ height: number;
284
+ edit: {
285
+ zoom: number;
286
+ crop: {
287
+ x: number;
288
+ y: number;
289
+ };
290
+ background: string;
291
+ };
292
+ url?: string | undefined;
293
+ credits?: string | null | undefined;
294
+ alt?: string | null | undefined;
295
+ provider?: string | null | undefined;
296
+ }, {
297
+ origin: {
298
+ id: string;
299
+ url: string;
300
+ width: number;
301
+ height: number;
302
+ };
303
+ width: number;
304
+ height: number;
305
+ edit: {
306
+ zoom: number;
307
+ crop: {
308
+ x: number;
309
+ y: number;
310
+ };
311
+ background: string;
312
+ };
313
+ url?: string | undefined;
314
+ credits?: string | null | undefined;
315
+ alt?: string | null | undefined;
316
+ provider?: string | null | undefined;
317
+ }, unknown>;
318
+ declare const ImageContentSchema: t.Type<{
319
+ origin: {
320
+ id: string;
321
+ url: string;
322
+ width: number;
323
+ height: number;
324
+ };
325
+ width: number;
326
+ height: number;
327
+ edit: {
328
+ zoom: number;
329
+ crop: {
330
+ x: number;
331
+ y: number;
332
+ };
333
+ background: string;
334
+ };
335
+ __TYPE__: "ImageContent";
336
+ url?: string | undefined;
337
+ credits?: string | null | undefined;
338
+ alt?: string | null | undefined;
339
+ provider?: string | null | undefined;
340
+ thumbnails?: Record<string, {
341
+ origin: {
342
+ id: string;
343
+ url: string;
344
+ width: number;
345
+ height: number;
346
+ };
347
+ width: number;
348
+ height: number;
349
+ edit: {
350
+ zoom: number;
351
+ crop: {
352
+ x: number;
353
+ y: number;
354
+ };
355
+ background: string;
356
+ };
357
+ url?: string | undefined;
358
+ credits?: string | null | undefined;
359
+ alt?: string | null | undefined;
360
+ provider?: string | null | undefined;
361
+ }> | undefined;
362
+ }, {
363
+ origin: {
364
+ id: string;
365
+ url: string;
366
+ width: number;
367
+ height: number;
368
+ };
369
+ width: number;
370
+ height: number;
371
+ edit: {
372
+ zoom: number;
373
+ crop: {
374
+ x: number;
375
+ y: number;
376
+ };
377
+ background: string;
378
+ };
379
+ __TYPE__: "ImageContent";
380
+ url?: string | undefined;
381
+ credits?: string | null | undefined;
382
+ alt?: string | null | undefined;
383
+ provider?: string | null | undefined;
384
+ thumbnails?: Record<string, {
385
+ origin: {
386
+ id: string;
387
+ url: string;
388
+ width: number;
389
+ height: number;
390
+ };
391
+ width: number;
392
+ height: number;
393
+ edit: {
394
+ zoom: number;
395
+ crop: {
396
+ x: number;
397
+ y: number;
398
+ };
399
+ background: string;
400
+ };
401
+ url?: string | undefined;
402
+ credits?: string | null | undefined;
403
+ alt?: string | null | undefined;
404
+ provider?: string | null | undefined;
405
+ }> | undefined;
406
+ }, unknown>;
407
+ declare const RichTextContentSchema: t.Type<RichTextContent, RichTextContent, unknown>;
408
+ declare const RichTextContentBlockSchema: t.Type<RichTextContentBlock, RichTextContentBlock, unknown>;
409
+ declare const RichTextContentSpanSchema: t.Type<RichTextContentSpan, RichTextContentSpan, unknown>;
410
+ declare const TableContentSchema: t.Type<{
411
+ __TYPE__: "TableContent";
412
+ content: {
413
+ key: string;
414
+ type: "tableRow";
415
+ content: {
416
+ key: string;
417
+ type: "tableHeader" | "tableCell";
418
+ content: RichTextContent;
419
+ columnWidth?: number | undefined;
420
+ }[];
421
+ }[];
422
+ }, {
423
+ __TYPE__: "TableContent";
424
+ content: {
425
+ key: string;
426
+ type: "tableRow";
427
+ content: {
428
+ key: string;
429
+ type: "tableHeader" | "tableCell";
430
+ content: RichTextContent;
431
+ columnWidth?: number | undefined;
432
+ }[];
433
+ }[];
434
+ }, unknown>;
435
+ declare const RepeatableContentSchema: t.Type<{
436
+ __TYPE__: "RepeatableContent";
437
+ type: "Link";
438
+ value: {
439
+ __TYPE__: "LinkContent";
440
+ key: string;
441
+ value: {
442
+ variant?: string | undefined;
443
+ text?: string | undefined;
444
+ } & LinkContentValue;
445
+ }[];
446
+ }, {
447
+ __TYPE__: "RepeatableContent";
448
+ type: "Link";
449
+ value: {
450
+ __TYPE__: "LinkContent";
451
+ key: string;
452
+ value: {
453
+ variant?: string | undefined;
454
+ text?: string | undefined;
455
+ } & LinkContentValue;
456
+ }[];
457
+ }, unknown>;
458
+ declare const NestableContentSchema: t.Type<NestableContent, NestableContent, unknown>;
459
+ declare const GroupContentSchema: t.Type<{
460
+ __TYPE__: "GroupContentType";
461
+ value: GroupItemContent[];
462
+ }, {
463
+ __TYPE__: "GroupContentType";
464
+ value: GroupItemContent[];
465
+ }, unknown>;
466
+ declare const GroupItemContentSchema: t.Type<GroupItemContent, GroupItemContent, unknown>;
467
+ declare const CompositeSliceContentSchema: t.Type<{
468
+ __TYPE__: "CompositeSliceContent";
469
+ nonRepeat: Record<string, NestableContent>;
470
+ repeat: GroupItemContent[];
471
+ }, {
472
+ __TYPE__: "CompositeSliceContent";
473
+ nonRepeat: Record<string, NestableContent>;
474
+ repeat: GroupItemContent[];
475
+ }, unknown>;
476
+ declare const LegacySliceContentSchema: t.Type<NestableAndGroupContent, NestableAndGroupContent, unknown>;
477
+ declare const SliceContentSchema: t.Type<SliceContent, SliceContent, unknown>;
478
+ declare const LegacySliceItemContentSchema: t.Type<{
479
+ key: string;
480
+ name: string;
481
+ widget: NestableAndGroupContent;
482
+ maybeLabel?: string | undefined;
483
+ }, {
484
+ key: string;
485
+ name: string;
486
+ widget: NestableAndGroupContent;
487
+ maybeLabel?: string | undefined;
488
+ }, unknown>;
489
+ declare const CompositeSliceItemContentSchema: t.Type<{
490
+ key: string;
491
+ name: string;
492
+ widget: {
493
+ __TYPE__: "CompositeSliceContent";
494
+ nonRepeat: Record<string, NestableContent>;
495
+ repeat: GroupItemContent[];
496
+ };
497
+ maybeLabel?: string | undefined;
498
+ }, {
499
+ key: string;
500
+ name: string;
501
+ widget: {
502
+ __TYPE__: "CompositeSliceContent";
503
+ nonRepeat: Record<string, NestableContent>;
504
+ repeat: GroupItemContent[];
505
+ };
506
+ maybeLabel?: string | undefined;
507
+ }, unknown>;
508
+ declare const SharedSliceItemContentSchema: t.Type<{
509
+ key: string;
510
+ name: string;
511
+ widget: {
512
+ __TYPE__: "SharedSliceContent";
513
+ variation: string;
514
+ primary: Record<string, NestableAndGroupContent>;
515
+ items: GroupItemContent[];
516
+ };
517
+ maybeLabel?: string | undefined;
518
+ }, {
519
+ key: string;
520
+ name: string;
521
+ widget: {
522
+ __TYPE__: "SharedSliceContent";
523
+ variation: string;
524
+ primary: Record<string, NestableAndGroupContent>;
525
+ items: GroupItemContent[];
526
+ };
527
+ maybeLabel?: string | undefined;
528
+ }, unknown>;
529
+ declare const SliceItemContentSchema: t.Type<{
530
+ key: string;
531
+ name: string;
532
+ widget: SliceContent;
533
+ maybeLabel?: string | undefined;
534
+ }, {
535
+ key: string;
536
+ name: string;
537
+ widget: SliceContent;
538
+ maybeLabel?: string | undefined;
539
+ }, unknown>;
540
+ declare const SlicesContentSchema: t.Type<{
541
+ __TYPE__: "SliceContentType";
542
+ value: {
543
+ key: string;
544
+ name: string;
545
+ widget: SliceContent;
546
+ maybeLabel?: string | undefined;
547
+ }[];
548
+ }, {
549
+ __TYPE__: "SliceContentType";
550
+ value: {
551
+ key: string;
552
+ name: string;
553
+ widget: SliceContent;
554
+ maybeLabel?: string | undefined;
555
+ }[];
556
+ }, unknown>;
557
+ declare const WidgetContentSchema: t.Type<WidgetContent, WidgetContent, unknown>;
558
+ declare const DocumentContentSchema: t.Type<Record<string, WidgetContent>, Record<string, WidgetContent>, unknown>;
559
+ declare const BooleanLegacy: (ctx: LegacyContentCtx) => t.Type<{
560
+ __TYPE__: "BooleanContent";
561
+ value: boolean;
562
+ }, {
563
+ keys: Record<string, string>;
564
+ types: Record<string, FieldOrSliceType>;
565
+ content: boolean;
566
+ }, unknown>;
567
+ declare const EmptyLegacy: (ctx: LegacyContentCtx) => t.Type<{
568
+ type: string;
569
+ __TYPE__: "EmptyContent";
570
+ }, {
571
+ keys: Record<string, string>;
572
+ types: Record<string, FieldOrSliceType>;
573
+ content: {
574
+ value: null;
575
+ } | null;
576
+ }, unknown>;
577
+ declare const TextLegacy: (ctx: LegacyContentCtx) => t.Type<{
578
+ type: "Text";
579
+ value: string;
580
+ __TYPE__: "FieldContent";
581
+ }, {
582
+ keys: Record<string, string>;
583
+ types: Record<string, FieldOrSliceType>;
584
+ content: string;
585
+ }, unknown>;
586
+ declare const ColorLegacy: (ctx: LegacyContentCtx) => t.Type<{
587
+ type: "Color";
588
+ value: string;
589
+ __TYPE__: "FieldContent";
590
+ }, {
591
+ keys: Record<string, string>;
592
+ types: Record<string, FieldOrSliceType>;
593
+ content: string;
594
+ }, unknown>;
595
+ declare const DateLegacy: (ctx: LegacyContentCtx) => t.Type<{
596
+ type: "Date";
597
+ value: string;
598
+ __TYPE__: "FieldContent";
599
+ }, {
600
+ keys: Record<string, string>;
601
+ types: Record<string, FieldOrSliceType>;
602
+ content: string;
603
+ }, unknown>;
604
+ declare const TimestampLegacy: (ctx: LegacyContentCtx) => t.Type<{
605
+ type: "Timestamp";
606
+ value: string;
607
+ __TYPE__: "FieldContent";
608
+ }, {
609
+ keys: Record<string, string>;
610
+ types: Record<string, FieldOrSliceType>;
611
+ content: string;
612
+ }, unknown>;
613
+ declare const NumberLegacy: (ctx: LegacyContentCtx) => t.Type<{
614
+ type: "Number";
615
+ value: string;
616
+ __TYPE__: "FieldContent";
617
+ }, {
618
+ keys: Record<string, string>;
619
+ types: Record<string, FieldOrSliceType>;
620
+ content: string;
621
+ }, unknown>;
622
+ declare const RangeLegacy: (ctx: LegacyContentCtx) => t.Type<{
623
+ type: "Range";
624
+ value: string;
625
+ __TYPE__: "FieldContent";
626
+ }, {
627
+ keys: Record<string, string>;
628
+ types: Record<string, FieldOrSliceType>;
629
+ content: string;
630
+ }, unknown>;
631
+ declare const SelectLegacy: (ctx: LegacyContentCtx) => t.Type<{
632
+ type: "Select";
633
+ value: string;
634
+ __TYPE__: "FieldContent";
635
+ }, {
636
+ keys: Record<string, string>;
637
+ types: Record<string, FieldOrSliceType>;
638
+ content: string;
639
+ }, unknown>;
640
+ declare const GeoPointLegacy: (ctx: LegacyContentCtx) => t.Type<{
641
+ position: {
642
+ lat: number;
643
+ lng: number;
644
+ };
645
+ __TYPE__: "GeoPointContent";
646
+ }, {
647
+ keys: Record<string, string>;
648
+ types: Record<string, FieldOrSliceType>;
649
+ content: {
650
+ position: {
651
+ lat: number;
652
+ lng: number;
653
+ };
654
+ };
655
+ }, unknown>;
656
+ declare const EmbedLegacy: (ctx: LegacyContentCtx) => t.Type<{
657
+ embed_url: string;
658
+ type: string;
659
+ __TYPE__: "EmbedContent";
660
+ all: unknown;
661
+ version?: string | number | null | undefined;
662
+ title?: string | null | undefined;
663
+ author_name?: string | null | undefined;
664
+ author_url?: string | null | undefined;
665
+ provider_name?: string | null | undefined;
666
+ provider_url?: string | null | undefined;
667
+ cache_age?: string | number | null | undefined;
668
+ thumbnail_url?: string | null | undefined;
669
+ thumbnail_width?: number | null | undefined;
670
+ thumbnail_height?: number | null | undefined;
671
+ html?: string | null | undefined;
672
+ }, {
673
+ keys: Record<string, string>;
674
+ types: Record<string, FieldOrSliceType>;
675
+ content: {
676
+ embed_url: string;
677
+ type: string;
678
+ version?: string | number | null | undefined;
679
+ title?: string | null | undefined;
680
+ author_name?: string | null | undefined;
681
+ author_url?: string | null | undefined;
682
+ provider_name?: string | null | undefined;
683
+ provider_url?: string | null | undefined;
684
+ cache_age?: string | number | null | undefined;
685
+ thumbnail_url?: string | null | undefined;
686
+ thumbnail_width?: number | null | undefined;
687
+ thumbnail_height?: number | null | undefined;
688
+ html?: string | null | undefined;
689
+ };
690
+ }, unknown>;
691
+ declare const ImageLegacy: (ctx: LegacyContentCtx) => t.Type<{
692
+ origin: {
693
+ id: string;
694
+ url: string;
695
+ width: number;
696
+ height: number;
697
+ };
698
+ width: number;
699
+ height: number;
700
+ edit: {
701
+ zoom: number;
702
+ crop: {
703
+ x: number;
704
+ y: number;
705
+ };
706
+ background: string;
707
+ };
708
+ __TYPE__: "ImageContent";
709
+ url?: string | undefined;
710
+ credits?: string | null | undefined;
711
+ alt?: string | null | undefined;
712
+ provider?: string | null | undefined;
713
+ thumbnails?: Record<string, {
714
+ origin: {
715
+ id: string;
716
+ url: string;
717
+ width: number;
718
+ height: number;
719
+ };
720
+ width: number;
721
+ height: number;
722
+ edit: {
723
+ zoom: number;
724
+ crop: {
725
+ x: number;
726
+ y: number;
727
+ };
728
+ background: string;
729
+ };
730
+ url?: string | undefined;
731
+ credits?: string | null | undefined;
732
+ alt?: string | null | undefined;
733
+ provider?: string | null | undefined;
734
+ }> | undefined;
735
+ }, {
736
+ keys: Record<string, string>;
737
+ types: Record<string, FieldOrSliceType>;
738
+ content: {
739
+ origin: {
740
+ id: string;
741
+ url: string;
742
+ width: number;
743
+ height: number;
744
+ };
745
+ width: number;
746
+ height: number;
747
+ edit: {
748
+ zoom: number;
749
+ crop: {
750
+ x: number;
751
+ y: number;
752
+ };
753
+ background: string;
754
+ };
755
+ url?: string | undefined;
756
+ credits?: string | null | undefined;
757
+ alt?: string | null | undefined;
758
+ provider?: string | null | undefined;
759
+ thumbnails?: Record<string, {
760
+ origin: {
761
+ id: string;
762
+ url: string;
763
+ width: number;
764
+ height: number;
765
+ };
766
+ width: number;
767
+ height: number;
768
+ edit: {
769
+ zoom: number;
770
+ crop: {
771
+ x: number;
772
+ y: number;
773
+ };
774
+ background: string;
775
+ };
776
+ url?: string | undefined;
777
+ credits?: string | null | undefined;
778
+ alt?: string | null | undefined;
779
+ provider?: string | null | undefined;
780
+ }> | undefined;
781
+ };
782
+ }, unknown>;
783
+ declare const LinkLegacy: (ctx: LegacyContentCtx) => t.Type<{
784
+ __TYPE__: "LinkContent";
785
+ key: string;
786
+ value: {
787
+ variant?: string | undefined;
788
+ text?: string | undefined;
789
+ } & LinkContentValue;
790
+ }, {
791
+ keys: Record<string, string>;
792
+ types: Record<string, FieldOrSliceType>;
793
+ content: {
794
+ kind: "image";
795
+ id: string;
796
+ url: string;
797
+ height: string;
798
+ width: string;
799
+ size: string;
800
+ name: string;
801
+ date?: string | null | undefined;
802
+ variant?: string | undefined;
803
+ text?: string | undefined;
804
+ key: string;
805
+ } | {
806
+ kind: "file";
807
+ id: string;
808
+ url: string;
809
+ name: string;
810
+ size: string;
811
+ date?: string | null | undefined;
812
+ variant?: string | undefined;
813
+ text?: string | undefined;
814
+ key: string;
815
+ } | {
816
+ kind: "document";
817
+ id: string;
818
+ variant?: string | undefined;
819
+ text?: string | undefined;
820
+ key: string;
821
+ } | {
822
+ kind: "web";
823
+ url: string;
824
+ target?: string | null | undefined;
825
+ preview?: {
826
+ title?: string | undefined;
827
+ } | null | undefined;
828
+ variant?: string | undefined;
829
+ text?: string | undefined;
830
+ key: string;
831
+ } | {
832
+ kind: "image";
833
+ variant?: string | undefined;
834
+ text?: string | undefined;
835
+ key: string;
836
+ } | {
837
+ kind: "file";
838
+ variant?: string | undefined;
839
+ text?: string | undefined;
840
+ key: string;
841
+ } | {
842
+ kind: "media";
843
+ variant?: string | undefined;
844
+ text?: string | undefined;
845
+ key: string;
846
+ } | {
847
+ kind: "document";
848
+ variant?: string | undefined;
849
+ text?: string | undefined;
850
+ key: string;
851
+ } | {
852
+ kind: "web";
853
+ variant?: string | undefined;
854
+ text?: string | undefined;
855
+ key: string;
856
+ } | {
857
+ kind: "any";
858
+ variant?: string | undefined;
859
+ text?: string | undefined;
860
+ key: string;
861
+ };
862
+ }, unknown>;
863
+ declare const RepeatableLegacy: (ctx: LegacyContentCtx, fieldType: "Link") => t.Type<{
864
+ __TYPE__: "RepeatableContent";
865
+ type: "Link";
866
+ value: {
867
+ __TYPE__: "LinkContent";
868
+ key: string;
869
+ value: {
870
+ variant?: string | undefined;
871
+ text?: string | undefined;
872
+ } & LinkContentValue;
873
+ }[];
874
+ }, {
875
+ keys: Record<string, string>;
876
+ types: Record<string, FieldOrSliceType>;
877
+ content: unknown[];
878
+ }, unknown>;
879
+ declare const RichTextLegacy: (ctx: LegacyContentCtx) => t.Type<RichTextContent, {
880
+ keys: Record<string, string>;
881
+ types: Record<string, FieldOrSliceType>;
882
+ content: RichTextLegacyBlock[];
883
+ }, unknown>;
884
+ declare const SeparatorLegacy: (ctx: LegacyContentCtx) => t.Type<{
885
+ __TYPE__: "SeparatorContent";
886
+ }, {
887
+ keys: Record<string, string>;
888
+ types: Record<string, FieldOrSliceType>;
889
+ content: unknown;
890
+ }, unknown>;
891
+ declare const IntegrationFieldLegacy: (ctx: LegacyContentCtx) => t.Type<{
892
+ __TYPE__: "IntegrationFieldsContent";
893
+ value: string;
894
+ }, {
895
+ keys: Record<string, string>;
896
+ types: Record<string, FieldOrSliceType>;
897
+ content: string;
898
+ }, unknown>;
899
+ declare const TableLegacy: (ctx: LegacyContentCtx) => t.Type<{
900
+ __TYPE__: "TableContent";
901
+ content: {
902
+ key: string;
903
+ type: "tableRow";
904
+ content: {
905
+ key: string;
906
+ type: "tableHeader" | "tableCell";
907
+ content: RichTextContent;
908
+ columnWidth?: number | undefined;
909
+ }[];
910
+ }[];
911
+ }, {
912
+ keys: Record<string, string>;
913
+ types: Record<string, FieldOrSliceType>;
914
+ content: {
915
+ content: {
916
+ key: string;
917
+ type: "tableRow";
918
+ content: {
919
+ key: string;
920
+ type: "tableHeader" | "tableCell";
921
+ content: RichTextLegacyBlock[];
922
+ columnWidth?: number | undefined;
923
+ }[];
924
+ }[];
925
+ };
926
+ }, unknown>;
927
+ declare const NestableLegacy: (ctx: LegacyContentCtx) => t.Type<NestableContent, {
928
+ keys: Record<string, string>;
929
+ types: Record<string, FieldOrSliceType>;
930
+ content: unknown;
931
+ } | undefined, unknown>;
932
+ declare const UIDLegacy: (ctx: LegacyContentCtx) => t.Type<{
933
+ __TYPE__: "UIDContent";
934
+ value: string;
935
+ }, {
936
+ keys: Record<string, string>;
937
+ types: Record<string, FieldOrSliceType>;
938
+ content: string;
939
+ }, unknown>;
940
+ declare const GroupItemLegacy: (ctx: LegacyContentCtx, index: number) => t.Type<GroupItemContent, {
941
+ keys: Record<string, string>;
942
+ types: Record<string, FieldOrSliceType>;
943
+ content: Record<string, unknown>;
944
+ }, unknown>;
945
+ declare const GroupLegacy: (ctx: LegacyContentCtx) => t.Type<{
946
+ __TYPE__: "GroupContentType";
947
+ value: GroupItemContent[];
948
+ }, {
949
+ keys: Record<string, string>;
950
+ types: Record<string, FieldOrSliceType>;
951
+ content: GroupLegacy$1;
952
+ }, unknown>;
953
+ declare const LegacySliceLegacy: (ctx: LegacyContentCtx) => t.Type<NestableAndGroupContent, {
954
+ keys: Record<string, string>;
955
+ types: Record<string, FieldOrSliceType>;
956
+ content: unknown;
957
+ } | undefined, unknown>;
958
+ declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
959
+ __TYPE__: "CompositeSliceContent";
960
+ nonRepeat: Record<string, NestableContent>;
961
+ repeat: GroupItemContent[];
962
+ }, {
963
+ keys: Record<string, string>;
964
+ types: Record<string, FieldOrSliceType>;
965
+ content: {
966
+ "non-repeat"?: Record<string, unknown> | undefined;
967
+ repeat?: Record<string, unknown>[] | undefined;
968
+ };
969
+ }, unknown>;
970
+ declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
971
+ __TYPE__: "SharedSliceContent";
972
+ variation: string;
973
+ primary: Record<string, NestableAndGroupContent>;
974
+ items: GroupItemContent[];
975
+ }, {
976
+ keys: Record<string, string>;
977
+ types: Record<string, FieldOrSliceType>;
978
+ content: {
979
+ variation: string;
980
+ primary: Record<string, unknown>;
981
+ items: Record<string, unknown>[];
982
+ };
983
+ }, unknown>;
984
+ declare const SliceLegacy: (ctx: LegacyContentCtx) => t.Type<SliceContent, {
985
+ keys: Record<string, string>;
986
+ types: Record<string, FieldOrSliceType>;
987
+ content: unknown;
988
+ } | undefined, unknown>;
989
+ declare const SliceItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
990
+ key: string;
991
+ name: string;
992
+ widget: SliceContent;
993
+ maybeLabel?: string | undefined;
994
+ }, {
995
+ keys: Record<string, string>;
996
+ types: Record<string, FieldOrSliceType>;
997
+ content: {
998
+ key: string;
999
+ value: unknown;
1000
+ label?: string | null | undefined;
1001
+ };
1002
+ }, unknown>;
1003
+ declare const SlicesLegacy: (ctx: LegacyContentCtx) => t.Type<{
1004
+ __TYPE__: "SliceContentType";
1005
+ value: {
1006
+ key: string;
1007
+ name: string;
1008
+ widget: SliceContent;
1009
+ maybeLabel?: string | undefined;
1010
+ }[];
1011
+ }, {
1012
+ keys: Record<string, string>;
1013
+ types: Record<string, FieldOrSliceType>;
1014
+ content: {
1015
+ key: string;
1016
+ value: unknown;
1017
+ label?: string | null | undefined;
1018
+ }[];
1019
+ }, unknown>;
1020
+ declare const WidgetLegacy: (ctx: LegacyContentCtx) => t.Type<WidgetContent, {
1021
+ keys: Record<string, string>;
1022
+ types: Record<string, FieldOrSliceType>;
1023
+ content: unknown;
1024
+ } | undefined, unknown>;
1025
+ declare const DocumentLegacy: (ctx: LegacyContentCtx) => t.Type<Record<string, WidgetContent>, {
1026
+ keys: Record<string, string>;
1027
+ types: Record<string, FieldOrSliceType>;
1028
+ content: Record<string, unknown>;
1029
+ }, unknown>;
1030
+ declare const BooleanModelSchema: t.Type<{
1031
+ type: "Boolean";
1032
+ config?: {
1033
+ label?: string | null | undefined;
1034
+ default_value?: boolean | undefined;
1035
+ placeholder_true?: string | undefined;
1036
+ placeholder_false?: string | undefined;
1037
+ } | undefined;
1038
+ }, {
1039
+ type: "Boolean";
1040
+ config?: {
1041
+ label?: string | null | undefined;
1042
+ default_value?: boolean | undefined;
1043
+ placeholder_true?: string | undefined;
1044
+ placeholder_false?: string | undefined;
1045
+ } | undefined;
1046
+ }, unknown>;
1047
+ declare const ColorModelSchema: t.Type<{
1048
+ type: "Color";
1049
+ fieldset?: string | null | undefined;
1050
+ config?: {
1051
+ label?: string | null | undefined;
1052
+ placeholder?: string | undefined;
1053
+ } | undefined;
1054
+ }, {
1055
+ type: "Color";
1056
+ fieldset?: string | null | undefined;
1057
+ config?: {
1058
+ label?: string | null | undefined;
1059
+ placeholder?: string | undefined;
1060
+ } | undefined;
1061
+ }, unknown>;
1062
+ declare const DateModelSchema: t.Type<{
1063
+ type: "Date";
1064
+ fieldset?: string | null | undefined;
1065
+ config?: {
1066
+ label?: string | null | undefined;
1067
+ placeholder?: string | undefined;
1068
+ default?: string | undefined;
1069
+ } | undefined;
1070
+ }, {
1071
+ type: "Date";
1072
+ fieldset?: string | null | undefined;
1073
+ config?: {
1074
+ label?: string | null | undefined;
1075
+ placeholder?: string | undefined;
1076
+ default?: string | undefined;
1077
+ } | undefined;
1078
+ }, unknown>;
1079
+ declare const EmbedModelSchema: t.Type<{
1080
+ type: "Embed";
1081
+ fieldset?: string | null | undefined;
1082
+ config?: {
1083
+ label?: string | null | undefined;
1084
+ placeholder?: string | undefined;
1085
+ useAsTitle?: boolean | undefined;
1086
+ } | undefined;
1087
+ }, {
1088
+ type: "Embed";
1089
+ fieldset?: string | null | undefined;
1090
+ config?: {
1091
+ label?: string | null | undefined;
1092
+ placeholder?: string | undefined;
1093
+ useAsTitle?: boolean | undefined;
1094
+ } | undefined;
1095
+ }, unknown>;
1096
+ declare const GeoPointModelSchema: t.Type<{
1097
+ type: "GeoPoint";
1098
+ fieldset?: string | null | undefined;
1099
+ config?: {
1100
+ label?: string | null | undefined;
1101
+ } | undefined;
1102
+ }, {
1103
+ type: "GeoPoint";
1104
+ fieldset?: string | null | undefined;
1105
+ config?: {
1106
+ label?: string | null | undefined;
1107
+ } | undefined;
1108
+ }, unknown>;
1109
+ declare const ImageModelSchema: t.Type<{
1110
+ type: "Image";
1111
+ fieldset?: string | null | undefined;
1112
+ config?: {
1113
+ label?: string | null | undefined;
1114
+ placeholder?: string | undefined;
1115
+ constraint?: {
1116
+ width?: number | null | undefined;
1117
+ height?: number | null | undefined;
1118
+ } | undefined;
1119
+ thumbnails?: {
1120
+ name: string;
1121
+ width?: number | null | undefined;
1122
+ height?: number | null | undefined;
1123
+ }[] | undefined;
1124
+ } | undefined;
1125
+ }, {
1126
+ type: "Image";
1127
+ fieldset?: string | null | undefined;
1128
+ config?: {
1129
+ label?: string | null | undefined;
1130
+ placeholder?: string | undefined;
1131
+ constraint?: {
1132
+ width?: number | null | undefined;
1133
+ height?: number | null | undefined;
1134
+ } | undefined;
1135
+ thumbnails?: {
1136
+ name: string;
1137
+ width?: number | null | undefined;
1138
+ height?: number | null | undefined;
1139
+ }[] | undefined;
1140
+ } | undefined;
1141
+ }, unknown>;
1142
+ declare const IntegrationFieldModelSchema: t.Type<{
1143
+ type: "IntegrationFields";
1144
+ fieldset?: string | null | undefined;
1145
+ config?: {
1146
+ label?: string | null | undefined;
1147
+ placeholder?: string | undefined;
1148
+ catalog?: string | undefined;
1149
+ } | undefined;
1150
+ }, {
1151
+ type: "IntegrationFields";
1152
+ fieldset?: string | null | undefined;
1153
+ config?: {
1154
+ label?: string | null | undefined;
1155
+ placeholder?: string | undefined;
1156
+ catalog?: string | undefined;
1157
+ } | undefined;
1158
+ }, unknown>;
1159
+ declare const LinkModelSchema: t.Type<{
1160
+ type: "Link";
1161
+ fieldset?: string | null | undefined;
1162
+ config?: {
1163
+ label?: string | null | undefined;
1164
+ useAsTitle?: boolean | undefined;
1165
+ placeholder?: string | undefined;
1166
+ select?: "media" | "document" | "web" | null | undefined;
1167
+ customtypes?: (string | {
1168
+ id: string;
1169
+ fields: (string | {
1170
+ id: string;
1171
+ customtypes: (string | {
1172
+ id: string;
1173
+ fields: (string | {
1174
+ id: string;
1175
+ fields: string[];
1176
+ })[];
1177
+ })[];
1178
+ } | {
1179
+ id: string;
1180
+ fields: (string | {
1181
+ id: string;
1182
+ customtypes: (string | {
1183
+ id: string;
1184
+ fields: (string | {
1185
+ id: string;
1186
+ fields: string[];
1187
+ })[];
1188
+ })[];
1189
+ })[];
1190
+ })[];
1191
+ })[] | undefined;
1192
+ masks?: string[] | undefined;
1193
+ tags?: string[] | undefined;
1194
+ allowTargetBlank?: boolean | undefined;
1195
+ allowText?: boolean | undefined;
1196
+ repeat?: boolean | undefined;
1197
+ variants?: string[] | undefined;
1198
+ } | undefined;
1199
+ }, {
1200
+ type: "Link";
1201
+ fieldset?: string | null | undefined;
1202
+ config?: {
1203
+ label?: string | null | undefined;
1204
+ useAsTitle?: boolean | undefined;
1205
+ placeholder?: string | undefined;
1206
+ select?: "media" | "document" | "web" | null | undefined;
1207
+ customtypes?: (string | {
1208
+ id: string;
1209
+ fields: (string | {
1210
+ id: string;
1211
+ customtypes: (string | {
1212
+ id: string;
1213
+ fields: (string | {
1214
+ id: string;
1215
+ fields: string[];
1216
+ })[];
1217
+ })[];
1218
+ } | {
1219
+ id: string;
1220
+ fields: (string | {
1221
+ id: string;
1222
+ customtypes: (string | {
1223
+ id: string;
1224
+ fields: (string | {
1225
+ id: string;
1226
+ fields: string[];
1227
+ })[];
1228
+ })[];
1229
+ })[];
1230
+ })[];
1231
+ })[] | undefined;
1232
+ masks?: string[] | undefined;
1233
+ tags?: string[] | undefined;
1234
+ allowTargetBlank?: boolean | undefined;
1235
+ allowText?: boolean | undefined;
1236
+ repeat?: boolean | undefined;
1237
+ variants?: string[] | undefined;
1238
+ } | undefined;
1239
+ }, unknown>;
1240
+ declare const NestableModelSchema: t.Type<{
1241
+ type: "Boolean";
1242
+ config?: {
1243
+ label?: string | null | undefined;
1244
+ default_value?: boolean | undefined;
1245
+ placeholder_true?: string | undefined;
1246
+ placeholder_false?: string | undefined;
1247
+ } | undefined;
1248
+ } | {
1249
+ type: "Color";
1250
+ fieldset?: string | null | undefined;
1251
+ config?: {
1252
+ label?: string | null | undefined;
1253
+ placeholder?: string | undefined;
1254
+ } | undefined;
1255
+ } | {
1256
+ type: "Date";
1257
+ fieldset?: string | null | undefined;
1258
+ config?: {
1259
+ label?: string | null | undefined;
1260
+ placeholder?: string | undefined;
1261
+ default?: string | undefined;
1262
+ } | undefined;
1263
+ } | {
1264
+ type: "Embed";
1265
+ fieldset?: string | null | undefined;
1266
+ config?: {
1267
+ label?: string | null | undefined;
1268
+ placeholder?: string | undefined;
1269
+ useAsTitle?: boolean | undefined;
1270
+ } | undefined;
1271
+ } | {
1272
+ type: "GeoPoint";
1273
+ fieldset?: string | null | undefined;
1274
+ config?: {
1275
+ label?: string | null | undefined;
1276
+ } | undefined;
1277
+ } | {
1278
+ type: "Image";
1279
+ fieldset?: string | null | undefined;
1280
+ config?: {
1281
+ label?: string | null | undefined;
1282
+ placeholder?: string | undefined;
1283
+ constraint?: {
1284
+ width?: number | null | undefined;
1285
+ height?: number | null | undefined;
1286
+ } | undefined;
1287
+ thumbnails?: {
1288
+ name: string;
1289
+ width?: number | null | undefined;
1290
+ height?: number | null | undefined;
1291
+ }[] | undefined;
1292
+ } | undefined;
1293
+ } | {
1294
+ type: "IntegrationFields";
1295
+ fieldset?: string | null | undefined;
1296
+ config?: {
1297
+ label?: string | null | undefined;
1298
+ placeholder?: string | undefined;
1299
+ catalog?: string | undefined;
1300
+ } | undefined;
1301
+ } | {
1302
+ type: "Link";
1303
+ fieldset?: string | null | undefined;
1304
+ config?: {
1305
+ label?: string | null | undefined;
1306
+ useAsTitle?: boolean | undefined;
1307
+ placeholder?: string | undefined;
1308
+ select?: "media" | "document" | "web" | null | undefined;
1309
+ customtypes?: (string | {
1310
+ id: string;
1311
+ fields: (string | {
1312
+ id: string;
1313
+ customtypes: (string | {
1314
+ id: string;
1315
+ fields: (string | {
1316
+ id: string;
1317
+ fields: string[];
1318
+ })[];
1319
+ })[];
1320
+ } | {
1321
+ id: string;
1322
+ fields: (string | {
1323
+ id: string;
1324
+ customtypes: (string | {
1325
+ id: string;
1326
+ fields: (string | {
1327
+ id: string;
1328
+ fields: string[];
1329
+ })[];
1330
+ })[];
1331
+ })[];
1332
+ })[];
1333
+ })[] | undefined;
1334
+ masks?: string[] | undefined;
1335
+ tags?: string[] | undefined;
1336
+ allowTargetBlank?: boolean | undefined;
1337
+ allowText?: boolean | undefined;
1338
+ repeat?: boolean | undefined;
1339
+ variants?: string[] | undefined;
1340
+ } | undefined;
1341
+ } | {
1342
+ type: "Number";
1343
+ fieldset?: string | null | undefined;
1344
+ config?: {
1345
+ label?: string | null | undefined;
1346
+ placeholder?: string | undefined;
1347
+ min?: number | undefined;
1348
+ max?: number | undefined;
1349
+ step?: number | undefined;
1350
+ } | undefined;
1351
+ } | {
1352
+ type: "Range";
1353
+ fieldset?: string | null | undefined;
1354
+ config?: {
1355
+ label?: string | null | undefined;
1356
+ placeholder?: string | undefined;
1357
+ min?: number | undefined;
1358
+ max?: number | undefined;
1359
+ step?: number | undefined;
1360
+ } | undefined;
1361
+ } | {
1362
+ type: "StructuredText";
1363
+ fieldset?: string | null | undefined;
1364
+ config?: {
1365
+ label?: string | null | undefined;
1366
+ placeholder?: string | undefined;
1367
+ useAsTitle?: boolean | undefined;
1368
+ single?: string | undefined;
1369
+ multi?: string | undefined;
1370
+ imageConstraint?: {
1371
+ width?: number | null | undefined;
1372
+ height?: number | null | undefined;
1373
+ } | undefined;
1374
+ labels?: string[] | undefined;
1375
+ allowTargetBlank?: boolean | undefined;
1376
+ } | undefined;
1377
+ } | {
1378
+ type: "Select";
1379
+ fieldset?: string | null | undefined;
1380
+ config?: {
1381
+ label?: string | null | undefined;
1382
+ placeholder?: string | undefined;
1383
+ default_value?: string | undefined;
1384
+ options?: string[] | undefined;
1385
+ } | undefined;
1386
+ } | {
1387
+ type: "Separator";
1388
+ config?: {
1389
+ label?: string | null | undefined;
1390
+ } | undefined;
1391
+ } | {
1392
+ type: "Table";
1393
+ config?: {
1394
+ label?: string | null | undefined;
1395
+ } | undefined;
1396
+ } | {
1397
+ type: "Text";
1398
+ fieldset?: string | null | undefined;
1399
+ config?: {
1400
+ label?: string | null | undefined;
1401
+ useAsTitle?: boolean | undefined;
1402
+ placeholder?: string | undefined;
1403
+ } | undefined;
1404
+ } | {
1405
+ type: "Timestamp";
1406
+ fieldset?: string | null | undefined;
1407
+ config?: {
1408
+ label?: string | null | undefined;
1409
+ placeholder?: string | undefined;
1410
+ default?: string | undefined;
1411
+ } | undefined;
1412
+ }, {
1413
+ type: "Boolean";
1414
+ config?: {
1415
+ label?: string | null | undefined;
1416
+ default_value?: boolean | undefined;
1417
+ placeholder_true?: string | undefined;
1418
+ placeholder_false?: string | undefined;
1419
+ } | undefined;
1420
+ } | {
1421
+ type: "Color";
1422
+ fieldset?: string | null | undefined;
1423
+ config?: {
1424
+ label?: string | null | undefined;
1425
+ placeholder?: string | undefined;
1426
+ } | undefined;
1427
+ } | {
1428
+ type: "Date";
1429
+ fieldset?: string | null | undefined;
1430
+ config?: {
1431
+ label?: string | null | undefined;
1432
+ placeholder?: string | undefined;
1433
+ default?: string | undefined;
1434
+ } | undefined;
1435
+ } | {
1436
+ type: "Embed";
1437
+ fieldset?: string | null | undefined;
1438
+ config?: {
1439
+ label?: string | null | undefined;
1440
+ placeholder?: string | undefined;
1441
+ useAsTitle?: boolean | undefined;
1442
+ } | undefined;
1443
+ } | {
1444
+ type: "GeoPoint";
1445
+ fieldset?: string | null | undefined;
1446
+ config?: {
1447
+ label?: string | null | undefined;
1448
+ } | undefined;
1449
+ } | {
1450
+ type: "Image";
1451
+ fieldset?: string | null | undefined;
1452
+ config?: {
1453
+ label?: string | null | undefined;
1454
+ placeholder?: string | undefined;
1455
+ constraint?: {
1456
+ width?: number | null | undefined;
1457
+ height?: number | null | undefined;
1458
+ } | undefined;
1459
+ thumbnails?: {
1460
+ name: string;
1461
+ width?: number | null | undefined;
1462
+ height?: number | null | undefined;
1463
+ }[] | undefined;
1464
+ } | undefined;
1465
+ } | {
1466
+ type: "IntegrationFields";
1467
+ fieldset?: string | null | undefined;
1468
+ config?: {
1469
+ label?: string | null | undefined;
1470
+ placeholder?: string | undefined;
1471
+ catalog?: string | undefined;
1472
+ } | undefined;
1473
+ } | {
1474
+ type: "Link";
1475
+ fieldset?: string | null | undefined;
1476
+ config?: {
1477
+ label?: string | null | undefined;
1478
+ useAsTitle?: boolean | undefined;
1479
+ placeholder?: string | undefined;
1480
+ select?: "media" | "document" | "web" | null | undefined;
1481
+ customtypes?: (string | {
1482
+ id: string;
1483
+ fields: (string | {
1484
+ id: string;
1485
+ customtypes: (string | {
1486
+ id: string;
1487
+ fields: (string | {
1488
+ id: string;
1489
+ fields: string[];
1490
+ })[];
1491
+ })[];
1492
+ } | {
1493
+ id: string;
1494
+ fields: (string | {
1495
+ id: string;
1496
+ customtypes: (string | {
1497
+ id: string;
1498
+ fields: (string | {
1499
+ id: string;
1500
+ fields: string[];
1501
+ })[];
1502
+ })[];
1503
+ })[];
1504
+ })[];
1505
+ })[] | undefined;
1506
+ masks?: string[] | undefined;
1507
+ tags?: string[] | undefined;
1508
+ allowTargetBlank?: boolean | undefined;
1509
+ allowText?: boolean | undefined;
1510
+ repeat?: boolean | undefined;
1511
+ variants?: string[] | undefined;
1512
+ } | undefined;
1513
+ } | {
1514
+ type: "Number";
1515
+ fieldset?: string | null | undefined;
1516
+ config?: {
1517
+ label?: string | null | undefined;
1518
+ placeholder?: string | undefined;
1519
+ min?: number | undefined;
1520
+ max?: number | undefined;
1521
+ step?: number | undefined;
1522
+ } | undefined;
1523
+ } | {
1524
+ type: "Range";
1525
+ fieldset?: string | null | undefined;
1526
+ config?: {
1527
+ label?: string | null | undefined;
1528
+ placeholder?: string | undefined;
1529
+ min?: number | undefined;
1530
+ max?: number | undefined;
1531
+ step?: number | undefined;
1532
+ } | undefined;
1533
+ } | {
1534
+ type: "StructuredText";
1535
+ fieldset?: string | null | undefined;
1536
+ config?: {
1537
+ label?: string | null | undefined;
1538
+ placeholder?: string | undefined;
1539
+ useAsTitle?: boolean | undefined;
1540
+ single?: string | undefined;
1541
+ multi?: string | undefined;
1542
+ imageConstraint?: {
1543
+ width?: number | null | undefined;
1544
+ height?: number | null | undefined;
1545
+ } | undefined;
1546
+ labels?: string[] | undefined;
1547
+ allowTargetBlank?: boolean | undefined;
1548
+ } | undefined;
1549
+ } | {
1550
+ type: "Select";
1551
+ fieldset?: string | null | undefined;
1552
+ config?: {
1553
+ label?: string | null | undefined;
1554
+ placeholder?: string | undefined;
1555
+ default_value?: string | undefined;
1556
+ options?: string[] | undefined;
1557
+ } | undefined;
1558
+ } | {
1559
+ type: "Separator";
1560
+ config?: {
1561
+ label?: string | null | undefined;
1562
+ } | undefined;
1563
+ } | {
1564
+ type: "Table";
1565
+ config?: {
1566
+ label?: string | null | undefined;
1567
+ } | undefined;
1568
+ } | {
1569
+ type: "Text";
1570
+ fieldset?: string | null | undefined;
1571
+ config?: {
1572
+ label?: string | null | undefined;
1573
+ useAsTitle?: boolean | undefined;
1574
+ placeholder?: string | undefined;
1575
+ } | undefined;
1576
+ } | {
1577
+ type: "Timestamp";
1578
+ fieldset?: string | null | undefined;
1579
+ config?: {
1580
+ label?: string | null | undefined;
1581
+ placeholder?: string | undefined;
1582
+ default?: string | undefined;
1583
+ } | undefined;
1584
+ }, unknown>;
1585
+ declare const NumberModelSchema: t.Type<{
1586
+ type: "Number";
1587
+ fieldset?: string | null | undefined;
1588
+ config?: {
1589
+ label?: string | null | undefined;
1590
+ placeholder?: string | undefined;
1591
+ min?: number | undefined;
1592
+ max?: number | undefined;
1593
+ step?: number | undefined;
1594
+ } | undefined;
1595
+ }, {
1596
+ type: "Number";
1597
+ fieldset?: string | null | undefined;
1598
+ config?: {
1599
+ label?: string | null | undefined;
1600
+ placeholder?: string | undefined;
1601
+ min?: number | undefined;
1602
+ max?: number | undefined;
1603
+ step?: number | undefined;
1604
+ } | undefined;
1605
+ }, unknown>;
1606
+ declare const RangeModelSchema: t.Type<{
1607
+ type: "Range";
1608
+ fieldset?: string | null | undefined;
1609
+ config?: {
1610
+ label?: string | null | undefined;
1611
+ placeholder?: string | undefined;
1612
+ min?: number | undefined;
1613
+ max?: number | undefined;
1614
+ step?: number | undefined;
1615
+ } | undefined;
1616
+ }, {
1617
+ type: "Range";
1618
+ fieldset?: string | null | undefined;
1619
+ config?: {
1620
+ label?: string | null | undefined;
1621
+ placeholder?: string | undefined;
1622
+ min?: number | undefined;
1623
+ max?: number | undefined;
1624
+ step?: number | undefined;
1625
+ } | undefined;
1626
+ }, unknown>;
1627
+ declare const RichTextModelSchema: t.Type<{
1628
+ type: "StructuredText";
1629
+ fieldset?: string | null | undefined;
1630
+ config?: {
1631
+ label?: string | null | undefined;
1632
+ placeholder?: string | undefined;
1633
+ useAsTitle?: boolean | undefined;
1634
+ single?: string | undefined;
1635
+ multi?: string | undefined;
1636
+ imageConstraint?: {
1637
+ width?: number | null | undefined;
1638
+ height?: number | null | undefined;
1639
+ } | undefined;
1640
+ labels?: string[] | undefined;
1641
+ allowTargetBlank?: boolean | undefined;
1642
+ } | undefined;
1643
+ }, {
1644
+ type: "StructuredText";
1645
+ fieldset?: string | null | undefined;
1646
+ config?: {
1647
+ label?: string | null | undefined;
1648
+ placeholder?: string | undefined;
1649
+ useAsTitle?: boolean | undefined;
1650
+ single?: string | undefined;
1651
+ multi?: string | undefined;
1652
+ imageConstraint?: {
1653
+ width?: number | null | undefined;
1654
+ height?: number | null | undefined;
1655
+ } | undefined;
1656
+ labels?: string[] | undefined;
1657
+ allowTargetBlank?: boolean | undefined;
1658
+ } | undefined;
1659
+ }, unknown>;
1660
+ declare const SelectModelSchema: t.Type<{
1661
+ type: "Select";
1662
+ fieldset?: string | null | undefined;
1663
+ config?: {
1664
+ label?: string | null | undefined;
1665
+ placeholder?: string | undefined;
1666
+ default_value?: string | undefined;
1667
+ options?: string[] | undefined;
1668
+ } | undefined;
1669
+ }, {
1670
+ type: "Select";
1671
+ fieldset?: string | null | undefined;
1672
+ config?: {
1673
+ label?: string | null | undefined;
1674
+ placeholder?: string | undefined;
1675
+ default_value?: string | undefined;
1676
+ options?: string[] | undefined;
1677
+ } | undefined;
1678
+ }, unknown>;
1679
+ declare const SeparatorModelSchema: t.Type<{
1680
+ type: "Separator";
1681
+ config?: {
1682
+ label?: string | null | undefined;
1683
+ } | undefined;
1684
+ }, {
1685
+ type: "Separator";
1686
+ config?: {
1687
+ label?: string | null | undefined;
1688
+ } | undefined;
1689
+ }, unknown>;
1690
+ declare const SharedSliceModelSchema: t.Type<{
1691
+ id: string;
1692
+ type: "SharedSlice";
1693
+ name: string;
1694
+ variations: {
1695
+ id: string;
1696
+ name: string;
1697
+ description: string;
1698
+ imageUrl: string;
1699
+ docURL: string;
1700
+ version: string;
1701
+ display?: string | undefined;
1702
+ primary?: Record<string, NestableModel | {
1703
+ type: "Group";
1704
+ fieldset?: string | null | undefined;
1705
+ icon?: string | undefined;
1706
+ description?: string | undefined;
1707
+ config?: {
1708
+ label?: string | null | undefined;
1709
+ repeat?: boolean | undefined;
1710
+ fields?: Record<string, NestableModel | {
1711
+ type: "Group";
1712
+ fieldset?: string | null | undefined;
1713
+ icon?: string | undefined;
1714
+ description?: string | undefined;
1715
+ config?: {
1716
+ label?: string | null | undefined;
1717
+ repeat?: boolean | undefined;
1718
+ fields?: Record<string, {
1719
+ type: "Boolean";
1720
+ config?: {
1721
+ label?: string | null | undefined;
1722
+ default_value?: boolean | undefined;
1723
+ placeholder_true?: string | undefined;
1724
+ placeholder_false?: string | undefined;
1725
+ } | undefined;
1726
+ } | {
1727
+ type: "Color";
1728
+ fieldset?: string | null | undefined;
1729
+ config?: {
1730
+ label?: string | null | undefined;
1731
+ placeholder?: string | undefined;
1732
+ } | undefined;
1733
+ } | {
1734
+ type: "Date";
1735
+ fieldset?: string | null | undefined;
1736
+ config?: {
1737
+ label?: string | null | undefined;
1738
+ placeholder?: string | undefined;
1739
+ default?: string | undefined;
1740
+ } | undefined;
1741
+ } | {
1742
+ type: "Embed";
1743
+ fieldset?: string | null | undefined;
1744
+ config?: {
1745
+ label?: string | null | undefined;
1746
+ placeholder?: string | undefined;
1747
+ useAsTitle?: boolean | undefined;
1748
+ } | undefined;
1749
+ } | {
1750
+ type: "GeoPoint";
1751
+ fieldset?: string | null | undefined;
1752
+ config?: {
1753
+ label?: string | null | undefined;
1754
+ } | undefined;
1755
+ } | {
1756
+ type: "Image";
1757
+ fieldset?: string | null | undefined;
1758
+ config?: {
1759
+ label?: string | null | undefined;
1760
+ placeholder?: string | undefined;
1761
+ constraint?: {
1762
+ width?: number | null | undefined;
1763
+ height?: number | null | undefined;
1764
+ } | undefined;
1765
+ thumbnails?: {
1766
+ name: string;
1767
+ width?: number | null | undefined;
1768
+ height?: number | null | undefined;
1769
+ }[] | undefined;
1770
+ } | undefined;
1771
+ } | {
1772
+ type: "IntegrationFields";
1773
+ fieldset?: string | null | undefined;
1774
+ config?: {
1775
+ label?: string | null | undefined;
1776
+ placeholder?: string | undefined;
1777
+ catalog?: string | undefined;
1778
+ } | undefined;
1779
+ } | {
1780
+ type: "Link";
1781
+ fieldset?: string | null | undefined;
1782
+ config?: {
1783
+ label?: string | null | undefined;
1784
+ useAsTitle?: boolean | undefined;
1785
+ placeholder?: string | undefined;
1786
+ select?: "media" | "document" | "web" | null | undefined;
1787
+ customtypes?: (string | {
1788
+ id: string;
1789
+ fields: (string | {
1790
+ id: string;
1791
+ customtypes: (string | {
1792
+ id: string;
1793
+ fields: (string | /*elided*/any)[];
1794
+ })[];
1795
+ } | {
1796
+ id: string;
1797
+ fields: (string | {
1798
+ id: string;
1799
+ customtypes: (string | /*elided*/any)[];
1800
+ })[];
1801
+ })[];
1802
+ })[] | undefined;
1803
+ masks?: string[] | undefined;
1804
+ tags?: string[] | undefined;
1805
+ allowTargetBlank?: boolean | undefined;
1806
+ allowText?: boolean | undefined;
1807
+ repeat?: boolean | undefined;
1808
+ variants?: string[] | undefined;
1809
+ } | undefined;
1810
+ } | {
1811
+ type: "Number";
1812
+ fieldset?: string | null | undefined;
1813
+ config?: {
1814
+ label?: string | null | undefined;
1815
+ placeholder?: string | undefined;
1816
+ min?: number | undefined;
1817
+ max?: number | undefined;
1818
+ step?: number | undefined;
1819
+ } | undefined;
1820
+ } | {
1821
+ type: "Range";
1822
+ fieldset?: string | null | undefined;
1823
+ config?: {
1824
+ label?: string | null | undefined;
1825
+ placeholder?: string | undefined;
1826
+ min?: number | undefined;
1827
+ max?: number | undefined;
1828
+ step?: number | undefined;
1829
+ } | undefined;
1830
+ } | {
1831
+ type: "StructuredText";
1832
+ fieldset?: string | null | undefined;
1833
+ config?: {
1834
+ label?: string | null | undefined;
1835
+ placeholder?: string | undefined;
1836
+ useAsTitle?: boolean | undefined;
1837
+ single?: string | undefined;
1838
+ multi?: string | undefined;
1839
+ imageConstraint?: {
1840
+ width?: number | null | undefined;
1841
+ height?: number | null | undefined;
1842
+ } | undefined;
1843
+ labels?: string[] | undefined;
1844
+ allowTargetBlank?: boolean | undefined;
1845
+ } | undefined;
1846
+ } | {
1847
+ type: "Select";
1848
+ fieldset?: string | null | undefined;
1849
+ config?: {
1850
+ label?: string | null | undefined;
1851
+ placeholder?: string | undefined;
1852
+ default_value?: string | undefined;
1853
+ options?: string[] | undefined;
1854
+ } | undefined;
1855
+ } | {
1856
+ type: "Separator";
1857
+ config?: {
1858
+ label?: string | null | undefined;
1859
+ } | undefined;
1860
+ } | {
1861
+ type: "Table";
1862
+ config?: {
1863
+ label?: string | null | undefined;
1864
+ } | undefined;
1865
+ } | {
1866
+ type: "Text";
1867
+ fieldset?: string | null | undefined;
1868
+ config?: {
1869
+ label?: string | null | undefined;
1870
+ useAsTitle?: boolean | undefined;
1871
+ placeholder?: string | undefined;
1872
+ } | undefined;
1873
+ } | {
1874
+ type: "Timestamp";
1875
+ fieldset?: string | null | undefined;
1876
+ config?: {
1877
+ label?: string | null | undefined;
1878
+ placeholder?: string | undefined;
1879
+ default?: string | undefined;
1880
+ } | undefined;
1881
+ }> | undefined;
1882
+ } | undefined;
1883
+ }> | undefined;
1884
+ } | undefined;
1885
+ }> | undefined;
1886
+ items?: Record<string, {
1887
+ type: "Boolean";
1888
+ config?: {
1889
+ label?: string | null | undefined;
1890
+ default_value?: boolean | undefined;
1891
+ placeholder_true?: string | undefined;
1892
+ placeholder_false?: string | undefined;
1893
+ } | undefined;
1894
+ } | {
1895
+ type: "Color";
1896
+ fieldset?: string | null | undefined;
1897
+ config?: {
1898
+ label?: string | null | undefined;
1899
+ placeholder?: string | undefined;
1900
+ } | undefined;
1901
+ } | {
1902
+ type: "Date";
1903
+ fieldset?: string | null | undefined;
1904
+ config?: {
1905
+ label?: string | null | undefined;
1906
+ placeholder?: string | undefined;
1907
+ default?: string | undefined;
1908
+ } | undefined;
1909
+ } | {
1910
+ type: "Embed";
1911
+ fieldset?: string | null | undefined;
1912
+ config?: {
1913
+ label?: string | null | undefined;
1914
+ placeholder?: string | undefined;
1915
+ useAsTitle?: boolean | undefined;
1916
+ } | undefined;
1917
+ } | {
1918
+ type: "GeoPoint";
1919
+ fieldset?: string | null | undefined;
1920
+ config?: {
1921
+ label?: string | null | undefined;
1922
+ } | undefined;
1923
+ } | {
1924
+ type: "Image";
1925
+ fieldset?: string | null | undefined;
1926
+ config?: {
1927
+ label?: string | null | undefined;
1928
+ placeholder?: string | undefined;
1929
+ constraint?: {
1930
+ width?: number | null | undefined;
1931
+ height?: number | null | undefined;
1932
+ } | undefined;
1933
+ thumbnails?: {
1934
+ name: string;
1935
+ width?: number | null | undefined;
1936
+ height?: number | null | undefined;
1937
+ }[] | undefined;
1938
+ } | undefined;
1939
+ } | {
1940
+ type: "IntegrationFields";
1941
+ fieldset?: string | null | undefined;
1942
+ config?: {
1943
+ label?: string | null | undefined;
1944
+ placeholder?: string | undefined;
1945
+ catalog?: string | undefined;
1946
+ } | undefined;
1947
+ } | {
1948
+ type: "Link";
1949
+ fieldset?: string | null | undefined;
1950
+ config?: {
1951
+ label?: string | null | undefined;
1952
+ useAsTitle?: boolean | undefined;
1953
+ placeholder?: string | undefined;
1954
+ select?: "media" | "document" | "web" | null | undefined;
1955
+ customtypes?: (string | {
1956
+ id: string;
1957
+ fields: (string | {
1958
+ id: string;
1959
+ customtypes: (string | {
1960
+ id: string;
1961
+ fields: (string | {
1962
+ id: string;
1963
+ fields: string[];
1964
+ })[];
1965
+ })[];
1966
+ } | {
1967
+ id: string;
1968
+ fields: (string | {
1969
+ id: string;
1970
+ customtypes: (string | {
1971
+ id: string;
1972
+ fields: (string | {
1973
+ id: string;
1974
+ fields: string[];
1975
+ })[];
1976
+ })[];
1977
+ })[];
1978
+ })[];
1979
+ })[] | undefined;
1980
+ masks?: string[] | undefined;
1981
+ tags?: string[] | undefined;
1982
+ allowTargetBlank?: boolean | undefined;
1983
+ allowText?: boolean | undefined;
1984
+ repeat?: boolean | undefined;
1985
+ variants?: string[] | undefined;
1986
+ } | undefined;
1987
+ } | {
1988
+ type: "Number";
1989
+ fieldset?: string | null | undefined;
1990
+ config?: {
1991
+ label?: string | null | undefined;
1992
+ placeholder?: string | undefined;
1993
+ min?: number | undefined;
1994
+ max?: number | undefined;
1995
+ step?: number | undefined;
1996
+ } | undefined;
1997
+ } | {
1998
+ type: "Range";
1999
+ fieldset?: string | null | undefined;
2000
+ config?: {
2001
+ label?: string | null | undefined;
2002
+ placeholder?: string | undefined;
2003
+ min?: number | undefined;
2004
+ max?: number | undefined;
2005
+ step?: number | undefined;
2006
+ } | undefined;
2007
+ } | {
2008
+ type: "StructuredText";
2009
+ fieldset?: string | null | undefined;
2010
+ config?: {
2011
+ label?: string | null | undefined;
2012
+ placeholder?: string | undefined;
2013
+ useAsTitle?: boolean | undefined;
2014
+ single?: string | undefined;
2015
+ multi?: string | undefined;
2016
+ imageConstraint?: {
2017
+ width?: number | null | undefined;
2018
+ height?: number | null | undefined;
2019
+ } | undefined;
2020
+ labels?: string[] | undefined;
2021
+ allowTargetBlank?: boolean | undefined;
2022
+ } | undefined;
2023
+ } | {
2024
+ type: "Select";
2025
+ fieldset?: string | null | undefined;
2026
+ config?: {
2027
+ label?: string | null | undefined;
2028
+ placeholder?: string | undefined;
2029
+ default_value?: string | undefined;
2030
+ options?: string[] | undefined;
2031
+ } | undefined;
2032
+ } | {
2033
+ type: "Separator";
2034
+ config?: {
2035
+ label?: string | null | undefined;
2036
+ } | undefined;
2037
+ } | {
2038
+ type: "Table";
2039
+ config?: {
2040
+ label?: string | null | undefined;
2041
+ } | undefined;
2042
+ } | {
2043
+ type: "Text";
2044
+ fieldset?: string | null | undefined;
2045
+ config?: {
2046
+ label?: string | null | undefined;
2047
+ useAsTitle?: boolean | undefined;
2048
+ placeholder?: string | undefined;
2049
+ } | undefined;
2050
+ } | {
2051
+ type: "Timestamp";
2052
+ fieldset?: string | null | undefined;
2053
+ config?: {
2054
+ label?: string | null | undefined;
2055
+ placeholder?: string | undefined;
2056
+ default?: string | undefined;
2057
+ } | undefined;
2058
+ }> | undefined;
2059
+ }[];
2060
+ description?: string | undefined;
2061
+ legacyPaths?: Record<string, string> | undefined;
2062
+ }, {
2063
+ id: string;
2064
+ type: "SharedSlice";
2065
+ name: string;
2066
+ variations: {
2067
+ id: string;
2068
+ name: string;
2069
+ description: string;
2070
+ imageUrl: string;
2071
+ docURL: string;
2072
+ version: string;
2073
+ display?: string | undefined;
2074
+ primary?: Record<string, NestableModel | {
2075
+ type: "Group";
2076
+ fieldset?: string | null | undefined;
2077
+ icon?: string | undefined;
2078
+ description?: string | undefined;
2079
+ config?: {
2080
+ label?: string | null | undefined;
2081
+ repeat?: boolean | undefined;
2082
+ fields?: Record<string, NestableModel | {
2083
+ type: "Group";
2084
+ fieldset?: string | null | undefined;
2085
+ icon?: string | undefined;
2086
+ description?: string | undefined;
2087
+ config?: {
2088
+ label?: string | null | undefined;
2089
+ repeat?: boolean | undefined;
2090
+ fields?: Record<string, {
2091
+ type: "Boolean";
2092
+ config?: {
2093
+ label?: string | null | undefined;
2094
+ default_value?: boolean | undefined;
2095
+ placeholder_true?: string | undefined;
2096
+ placeholder_false?: string | undefined;
2097
+ } | undefined;
2098
+ } | {
2099
+ type: "Color";
2100
+ fieldset?: string | null | undefined;
2101
+ config?: {
2102
+ label?: string | null | undefined;
2103
+ placeholder?: string | undefined;
2104
+ } | undefined;
2105
+ } | {
2106
+ type: "Date";
2107
+ fieldset?: string | null | undefined;
2108
+ config?: {
2109
+ label?: string | null | undefined;
2110
+ placeholder?: string | undefined;
2111
+ default?: string | undefined;
2112
+ } | undefined;
2113
+ } | {
2114
+ type: "Embed";
2115
+ fieldset?: string | null | undefined;
2116
+ config?: {
2117
+ label?: string | null | undefined;
2118
+ placeholder?: string | undefined;
2119
+ useAsTitle?: boolean | undefined;
2120
+ } | undefined;
2121
+ } | {
2122
+ type: "GeoPoint";
2123
+ fieldset?: string | null | undefined;
2124
+ config?: {
2125
+ label?: string | null | undefined;
2126
+ } | undefined;
2127
+ } | {
2128
+ type: "Image";
2129
+ fieldset?: string | null | undefined;
2130
+ config?: {
2131
+ label?: string | null | undefined;
2132
+ placeholder?: string | undefined;
2133
+ constraint?: {
2134
+ width?: number | null | undefined;
2135
+ height?: number | null | undefined;
2136
+ } | undefined;
2137
+ thumbnails?: {
2138
+ name: string;
2139
+ width?: number | null | undefined;
2140
+ height?: number | null | undefined;
2141
+ }[] | undefined;
2142
+ } | undefined;
2143
+ } | {
2144
+ type: "IntegrationFields";
2145
+ fieldset?: string | null | undefined;
2146
+ config?: {
2147
+ label?: string | null | undefined;
2148
+ placeholder?: string | undefined;
2149
+ catalog?: string | undefined;
2150
+ } | undefined;
2151
+ } | {
2152
+ type: "Link";
2153
+ fieldset?: string | null | undefined;
2154
+ config?: {
2155
+ label?: string | null | undefined;
2156
+ useAsTitle?: boolean | undefined;
2157
+ placeholder?: string | undefined;
2158
+ select?: "media" | "document" | "web" | null | undefined;
2159
+ customtypes?: (string | {
2160
+ id: string;
2161
+ fields: (string | {
2162
+ id: string;
2163
+ customtypes: (string | {
2164
+ id: string;
2165
+ fields: (string | /*elided*/any)[];
2166
+ })[];
2167
+ } | {
2168
+ id: string;
2169
+ fields: (string | {
2170
+ id: string;
2171
+ customtypes: (string | /*elided*/any)[];
2172
+ })[];
2173
+ })[];
2174
+ })[] | undefined;
2175
+ masks?: string[] | undefined;
2176
+ tags?: string[] | undefined;
2177
+ allowTargetBlank?: boolean | undefined;
2178
+ allowText?: boolean | undefined;
2179
+ repeat?: boolean | undefined;
2180
+ variants?: string[] | undefined;
2181
+ } | undefined;
2182
+ } | {
2183
+ type: "Number";
2184
+ fieldset?: string | null | undefined;
2185
+ config?: {
2186
+ label?: string | null | undefined;
2187
+ placeholder?: string | undefined;
2188
+ min?: number | undefined;
2189
+ max?: number | undefined;
2190
+ step?: number | undefined;
2191
+ } | undefined;
2192
+ } | {
2193
+ type: "Range";
2194
+ fieldset?: string | null | undefined;
2195
+ config?: {
2196
+ label?: string | null | undefined;
2197
+ placeholder?: string | undefined;
2198
+ min?: number | undefined;
2199
+ max?: number | undefined;
2200
+ step?: number | undefined;
2201
+ } | undefined;
2202
+ } | {
2203
+ type: "StructuredText";
2204
+ fieldset?: string | null | undefined;
2205
+ config?: {
2206
+ label?: string | null | undefined;
2207
+ placeholder?: string | undefined;
2208
+ useAsTitle?: boolean | undefined;
2209
+ single?: string | undefined;
2210
+ multi?: string | undefined;
2211
+ imageConstraint?: {
2212
+ width?: number | null | undefined;
2213
+ height?: number | null | undefined;
2214
+ } | undefined;
2215
+ labels?: string[] | undefined;
2216
+ allowTargetBlank?: boolean | undefined;
2217
+ } | undefined;
2218
+ } | {
2219
+ type: "Select";
2220
+ fieldset?: string | null | undefined;
2221
+ config?: {
2222
+ label?: string | null | undefined;
2223
+ placeholder?: string | undefined;
2224
+ default_value?: string | undefined;
2225
+ options?: string[] | undefined;
2226
+ } | undefined;
2227
+ } | {
2228
+ type: "Separator";
2229
+ config?: {
2230
+ label?: string | null | undefined;
2231
+ } | undefined;
2232
+ } | {
2233
+ type: "Table";
2234
+ config?: {
2235
+ label?: string | null | undefined;
2236
+ } | undefined;
2237
+ } | {
2238
+ type: "Text";
2239
+ fieldset?: string | null | undefined;
2240
+ config?: {
2241
+ label?: string | null | undefined;
2242
+ useAsTitle?: boolean | undefined;
2243
+ placeholder?: string | undefined;
2244
+ } | undefined;
2245
+ } | {
2246
+ type: "Timestamp";
2247
+ fieldset?: string | null | undefined;
2248
+ config?: {
2249
+ label?: string | null | undefined;
2250
+ placeholder?: string | undefined;
2251
+ default?: string | undefined;
2252
+ } | undefined;
2253
+ }> | undefined;
2254
+ } | undefined;
2255
+ }> | undefined;
2256
+ } | undefined;
2257
+ }> | undefined;
2258
+ items?: Record<string, {
2259
+ type: "Boolean";
2260
+ config?: {
2261
+ label?: string | null | undefined;
2262
+ default_value?: boolean | undefined;
2263
+ placeholder_true?: string | undefined;
2264
+ placeholder_false?: string | undefined;
2265
+ } | undefined;
2266
+ } | {
2267
+ type: "Color";
2268
+ fieldset?: string | null | undefined;
2269
+ config?: {
2270
+ label?: string | null | undefined;
2271
+ placeholder?: string | undefined;
2272
+ } | undefined;
2273
+ } | {
2274
+ type: "Date";
2275
+ fieldset?: string | null | undefined;
2276
+ config?: {
2277
+ label?: string | null | undefined;
2278
+ placeholder?: string | undefined;
2279
+ default?: string | undefined;
2280
+ } | undefined;
2281
+ } | {
2282
+ type: "Embed";
2283
+ fieldset?: string | null | undefined;
2284
+ config?: {
2285
+ label?: string | null | undefined;
2286
+ placeholder?: string | undefined;
2287
+ useAsTitle?: boolean | undefined;
2288
+ } | undefined;
2289
+ } | {
2290
+ type: "GeoPoint";
2291
+ fieldset?: string | null | undefined;
2292
+ config?: {
2293
+ label?: string | null | undefined;
2294
+ } | undefined;
2295
+ } | {
2296
+ type: "Image";
2297
+ fieldset?: string | null | undefined;
2298
+ config?: {
2299
+ label?: string | null | undefined;
2300
+ placeholder?: string | undefined;
2301
+ constraint?: {
2302
+ width?: number | null | undefined;
2303
+ height?: number | null | undefined;
2304
+ } | undefined;
2305
+ thumbnails?: {
2306
+ name: string;
2307
+ width?: number | null | undefined;
2308
+ height?: number | null | undefined;
2309
+ }[] | undefined;
2310
+ } | undefined;
2311
+ } | {
2312
+ type: "IntegrationFields";
2313
+ fieldset?: string | null | undefined;
2314
+ config?: {
2315
+ label?: string | null | undefined;
2316
+ placeholder?: string | undefined;
2317
+ catalog?: string | undefined;
2318
+ } | undefined;
2319
+ } | {
2320
+ type: "Link";
2321
+ fieldset?: string | null | undefined;
2322
+ config?: {
2323
+ label?: string | null | undefined;
2324
+ useAsTitle?: boolean | undefined;
2325
+ placeholder?: string | undefined;
2326
+ select?: "media" | "document" | "web" | null | undefined;
2327
+ customtypes?: (string | {
2328
+ id: string;
2329
+ fields: (string | {
2330
+ id: string;
2331
+ customtypes: (string | {
2332
+ id: string;
2333
+ fields: (string | {
2334
+ id: string;
2335
+ fields: string[];
2336
+ })[];
2337
+ })[];
2338
+ } | {
2339
+ id: string;
2340
+ fields: (string | {
2341
+ id: string;
2342
+ customtypes: (string | {
2343
+ id: string;
2344
+ fields: (string | {
2345
+ id: string;
2346
+ fields: string[];
2347
+ })[];
2348
+ })[];
2349
+ })[];
2350
+ })[];
2351
+ })[] | undefined;
2352
+ masks?: string[] | undefined;
2353
+ tags?: string[] | undefined;
2354
+ allowTargetBlank?: boolean | undefined;
2355
+ allowText?: boolean | undefined;
2356
+ repeat?: boolean | undefined;
2357
+ variants?: string[] | undefined;
2358
+ } | undefined;
2359
+ } | {
2360
+ type: "Number";
2361
+ fieldset?: string | null | undefined;
2362
+ config?: {
2363
+ label?: string | null | undefined;
2364
+ placeholder?: string | undefined;
2365
+ min?: number | undefined;
2366
+ max?: number | undefined;
2367
+ step?: number | undefined;
2368
+ } | undefined;
2369
+ } | {
2370
+ type: "Range";
2371
+ fieldset?: string | null | undefined;
2372
+ config?: {
2373
+ label?: string | null | undefined;
2374
+ placeholder?: string | undefined;
2375
+ min?: number | undefined;
2376
+ max?: number | undefined;
2377
+ step?: number | undefined;
2378
+ } | undefined;
2379
+ } | {
2380
+ type: "StructuredText";
2381
+ fieldset?: string | null | undefined;
2382
+ config?: {
2383
+ label?: string | null | undefined;
2384
+ placeholder?: string | undefined;
2385
+ useAsTitle?: boolean | undefined;
2386
+ single?: string | undefined;
2387
+ multi?: string | undefined;
2388
+ imageConstraint?: {
2389
+ width?: number | null | undefined;
2390
+ height?: number | null | undefined;
2391
+ } | undefined;
2392
+ labels?: string[] | undefined;
2393
+ allowTargetBlank?: boolean | undefined;
2394
+ } | undefined;
2395
+ } | {
2396
+ type: "Select";
2397
+ fieldset?: string | null | undefined;
2398
+ config?: {
2399
+ label?: string | null | undefined;
2400
+ placeholder?: string | undefined;
2401
+ default_value?: string | undefined;
2402
+ options?: string[] | undefined;
2403
+ } | undefined;
2404
+ } | {
2405
+ type: "Separator";
2406
+ config?: {
2407
+ label?: string | null | undefined;
2408
+ } | undefined;
2409
+ } | {
2410
+ type: "Table";
2411
+ config?: {
2412
+ label?: string | null | undefined;
2413
+ } | undefined;
2414
+ } | {
2415
+ type: "Text";
2416
+ fieldset?: string | null | undefined;
2417
+ config?: {
2418
+ label?: string | null | undefined;
2419
+ useAsTitle?: boolean | undefined;
2420
+ placeholder?: string | undefined;
2421
+ } | undefined;
2422
+ } | {
2423
+ type: "Timestamp";
2424
+ fieldset?: string | null | undefined;
2425
+ config?: {
2426
+ label?: string | null | undefined;
2427
+ placeholder?: string | undefined;
2428
+ default?: string | undefined;
2429
+ } | undefined;
2430
+ }> | undefined;
2431
+ }[];
2432
+ description?: string | undefined;
2433
+ legacyPaths?: Record<string, string> | undefined;
2434
+ }, unknown>;
2435
+ declare const TableModelSchema: t.Type<{
2436
+ type: "Table";
2437
+ config?: {
2438
+ label?: string | null | undefined;
2439
+ } | undefined;
2440
+ }, {
2441
+ type: "Table";
2442
+ config?: {
2443
+ label?: string | null | undefined;
2444
+ } | undefined;
2445
+ }, unknown>;
2446
+ declare const TextModelSchema: t.Type<{
2447
+ type: "Text";
2448
+ fieldset?: string | null | undefined;
2449
+ config?: {
2450
+ label?: string | null | undefined;
2451
+ useAsTitle?: boolean | undefined;
2452
+ placeholder?: string | undefined;
2453
+ } | undefined;
2454
+ }, {
2455
+ type: "Text";
2456
+ fieldset?: string | null | undefined;
2457
+ config?: {
2458
+ label?: string | null | undefined;
2459
+ useAsTitle?: boolean | undefined;
2460
+ placeholder?: string | undefined;
2461
+ } | undefined;
2462
+ }, unknown>;
2463
+ declare const TimestampModelSchema: t.Type<{
2464
+ type: "Timestamp";
2465
+ fieldset?: string | null | undefined;
2466
+ config?: {
2467
+ label?: string | null | undefined;
2468
+ placeholder?: string | undefined;
2469
+ default?: string | undefined;
2470
+ } | undefined;
2471
+ }, {
2472
+ type: "Timestamp";
2473
+ fieldset?: string | null | undefined;
2474
+ config?: {
2475
+ label?: string | null | undefined;
2476
+ placeholder?: string | undefined;
2477
+ default?: string | undefined;
2478
+ } | undefined;
2479
+ }, unknown>;
2480
+ declare const UIDModelSchema: t.Type<{
2481
+ type: "UID";
2482
+ fieldset?: string | null | undefined;
2483
+ config?: {
2484
+ label?: string | null | undefined;
2485
+ useAsTitle?: boolean | undefined;
2486
+ placeholder?: string | undefined;
2487
+ } | undefined;
2488
+ }, {
2489
+ type: "UID";
2490
+ fieldset?: string | null | undefined;
2491
+ config?: {
2492
+ label?: string | null | undefined;
2493
+ useAsTitle?: boolean | undefined;
2494
+ placeholder?: string | undefined;
2495
+ } | undefined;
2496
+ }, unknown>;
2497
+ declare const GroupModelSchema: t.Type<{
2498
+ type: "Group";
2499
+ fieldset?: string | null | undefined;
2500
+ icon?: string | undefined;
2501
+ description?: string | undefined;
2502
+ config?: {
2503
+ label?: string | null | undefined;
2504
+ repeat?: boolean | undefined;
2505
+ fields?: Record<string, NestableModel | {
2506
+ type: "Group";
2507
+ fieldset?: string | null | undefined;
2508
+ icon?: string | undefined;
2509
+ description?: string | undefined;
2510
+ config?: {
2511
+ label?: string | null | undefined;
2512
+ repeat?: boolean | undefined;
2513
+ fields?: Record<string, {
2514
+ type: "Boolean";
2515
+ config?: {
2516
+ label?: string | null | undefined;
2517
+ default_value?: boolean | undefined;
2518
+ placeholder_true?: string | undefined;
2519
+ placeholder_false?: string | undefined;
2520
+ } | undefined;
2521
+ } | {
2522
+ type: "Color";
2523
+ fieldset?: string | null | undefined;
2524
+ config?: {
2525
+ label?: string | null | undefined;
2526
+ placeholder?: string | undefined;
2527
+ } | undefined;
2528
+ } | {
2529
+ type: "Date";
2530
+ fieldset?: string | null | undefined;
2531
+ config?: {
2532
+ label?: string | null | undefined;
2533
+ placeholder?: string | undefined;
2534
+ default?: string | undefined;
2535
+ } | undefined;
2536
+ } | {
2537
+ type: "Embed";
2538
+ fieldset?: string | null | undefined;
2539
+ config?: {
2540
+ label?: string | null | undefined;
2541
+ placeholder?: string | undefined;
2542
+ useAsTitle?: boolean | undefined;
2543
+ } | undefined;
2544
+ } | {
2545
+ type: "GeoPoint";
2546
+ fieldset?: string | null | undefined;
2547
+ config?: {
2548
+ label?: string | null | undefined;
2549
+ } | undefined;
2550
+ } | {
2551
+ type: "Image";
2552
+ fieldset?: string | null | undefined;
2553
+ config?: {
2554
+ label?: string | null | undefined;
2555
+ placeholder?: string | undefined;
2556
+ constraint?: {
2557
+ width?: number | null | undefined;
2558
+ height?: number | null | undefined;
2559
+ } | undefined;
2560
+ thumbnails?: {
2561
+ name: string;
2562
+ width?: number | null | undefined;
2563
+ height?: number | null | undefined;
2564
+ }[] | undefined;
2565
+ } | undefined;
2566
+ } | {
2567
+ type: "IntegrationFields";
2568
+ fieldset?: string | null | undefined;
2569
+ config?: {
2570
+ label?: string | null | undefined;
2571
+ placeholder?: string | undefined;
2572
+ catalog?: string | undefined;
2573
+ } | undefined;
2574
+ } | {
2575
+ type: "Link";
2576
+ fieldset?: string | null | undefined;
2577
+ config?: {
2578
+ label?: string | null | undefined;
2579
+ useAsTitle?: boolean | undefined;
2580
+ placeholder?: string | undefined;
2581
+ select?: "media" | "document" | "web" | null | undefined;
2582
+ customtypes?: (string | {
2583
+ id: string;
2584
+ fields: (string | {
2585
+ id: string;
2586
+ customtypes: (string | {
2587
+ id: string;
2588
+ fields: (string | {
2589
+ id: string;
2590
+ fields: string[];
2591
+ })[];
2592
+ })[];
2593
+ } | {
2594
+ id: string;
2595
+ fields: (string | {
2596
+ id: string;
2597
+ customtypes: (string | {
2598
+ id: string;
2599
+ fields: (string | {
2600
+ id: string;
2601
+ fields: string[];
2602
+ })[];
2603
+ })[];
2604
+ })[];
2605
+ })[];
2606
+ })[] | undefined;
2607
+ masks?: string[] | undefined;
2608
+ tags?: string[] | undefined;
2609
+ allowTargetBlank?: boolean | undefined;
2610
+ allowText?: boolean | undefined;
2611
+ repeat?: boolean | undefined;
2612
+ variants?: string[] | undefined;
2613
+ } | undefined;
2614
+ } | {
2615
+ type: "Number";
2616
+ fieldset?: string | null | undefined;
2617
+ config?: {
2618
+ label?: string | null | undefined;
2619
+ placeholder?: string | undefined;
2620
+ min?: number | undefined;
2621
+ max?: number | undefined;
2622
+ step?: number | undefined;
2623
+ } | undefined;
2624
+ } | {
2625
+ type: "Range";
2626
+ fieldset?: string | null | undefined;
2627
+ config?: {
2628
+ label?: string | null | undefined;
2629
+ placeholder?: string | undefined;
2630
+ min?: number | undefined;
2631
+ max?: number | undefined;
2632
+ step?: number | undefined;
2633
+ } | undefined;
2634
+ } | {
2635
+ type: "StructuredText";
2636
+ fieldset?: string | null | undefined;
2637
+ config?: {
2638
+ label?: string | null | undefined;
2639
+ placeholder?: string | undefined;
2640
+ useAsTitle?: boolean | undefined;
2641
+ single?: string | undefined;
2642
+ multi?: string | undefined;
2643
+ imageConstraint?: {
2644
+ width?: number | null | undefined;
2645
+ height?: number | null | undefined;
2646
+ } | undefined;
2647
+ labels?: string[] | undefined;
2648
+ allowTargetBlank?: boolean | undefined;
2649
+ } | undefined;
2650
+ } | {
2651
+ type: "Select";
2652
+ fieldset?: string | null | undefined;
2653
+ config?: {
2654
+ label?: string | null | undefined;
2655
+ placeholder?: string | undefined;
2656
+ default_value?: string | undefined;
2657
+ options?: string[] | undefined;
2658
+ } | undefined;
2659
+ } | {
2660
+ type: "Separator";
2661
+ config?: {
2662
+ label?: string | null | undefined;
2663
+ } | undefined;
2664
+ } | {
2665
+ type: "Table";
2666
+ config?: {
2667
+ label?: string | null | undefined;
2668
+ } | undefined;
2669
+ } | {
2670
+ type: "Text";
2671
+ fieldset?: string | null | undefined;
2672
+ config?: {
2673
+ label?: string | null | undefined;
2674
+ useAsTitle?: boolean | undefined;
2675
+ placeholder?: string | undefined;
2676
+ } | undefined;
2677
+ } | {
2678
+ type: "Timestamp";
2679
+ fieldset?: string | null | undefined;
2680
+ config?: {
2681
+ label?: string | null | undefined;
2682
+ placeholder?: string | undefined;
2683
+ default?: string | undefined;
2684
+ } | undefined;
2685
+ }> | undefined;
2686
+ } | undefined;
2687
+ }> | undefined;
2688
+ } | undefined;
2689
+ }, {
2690
+ type: "Group";
2691
+ fieldset?: string | null | undefined;
2692
+ icon?: string | undefined;
2693
+ description?: string | undefined;
2694
+ config?: {
2695
+ label?: string | null | undefined;
2696
+ repeat?: boolean | undefined;
2697
+ fields?: Record<string, NestableModel | {
2698
+ type: "Group";
2699
+ fieldset?: string | null | undefined;
2700
+ icon?: string | undefined;
2701
+ description?: string | undefined;
2702
+ config?: {
2703
+ label?: string | null | undefined;
2704
+ repeat?: boolean | undefined;
2705
+ fields?: Record<string, {
2706
+ type: "Boolean";
2707
+ config?: {
2708
+ label?: string | null | undefined;
2709
+ default_value?: boolean | undefined;
2710
+ placeholder_true?: string | undefined;
2711
+ placeholder_false?: string | undefined;
2712
+ } | undefined;
2713
+ } | {
2714
+ type: "Color";
2715
+ fieldset?: string | null | undefined;
2716
+ config?: {
2717
+ label?: string | null | undefined;
2718
+ placeholder?: string | undefined;
2719
+ } | undefined;
2720
+ } | {
2721
+ type: "Date";
2722
+ fieldset?: string | null | undefined;
2723
+ config?: {
2724
+ label?: string | null | undefined;
2725
+ placeholder?: string | undefined;
2726
+ default?: string | undefined;
2727
+ } | undefined;
2728
+ } | {
2729
+ type: "Embed";
2730
+ fieldset?: string | null | undefined;
2731
+ config?: {
2732
+ label?: string | null | undefined;
2733
+ placeholder?: string | undefined;
2734
+ useAsTitle?: boolean | undefined;
2735
+ } | undefined;
2736
+ } | {
2737
+ type: "GeoPoint";
2738
+ fieldset?: string | null | undefined;
2739
+ config?: {
2740
+ label?: string | null | undefined;
2741
+ } | undefined;
2742
+ } | {
2743
+ type: "Image";
2744
+ fieldset?: string | null | undefined;
2745
+ config?: {
2746
+ label?: string | null | undefined;
2747
+ placeholder?: string | undefined;
2748
+ constraint?: {
2749
+ width?: number | null | undefined;
2750
+ height?: number | null | undefined;
2751
+ } | undefined;
2752
+ thumbnails?: {
2753
+ name: string;
2754
+ width?: number | null | undefined;
2755
+ height?: number | null | undefined;
2756
+ }[] | undefined;
2757
+ } | undefined;
2758
+ } | {
2759
+ type: "IntegrationFields";
2760
+ fieldset?: string | null | undefined;
2761
+ config?: {
2762
+ label?: string | null | undefined;
2763
+ placeholder?: string | undefined;
2764
+ catalog?: string | undefined;
2765
+ } | undefined;
2766
+ } | {
2767
+ type: "Link";
2768
+ fieldset?: string | null | undefined;
2769
+ config?: {
2770
+ label?: string | null | undefined;
2771
+ useAsTitle?: boolean | undefined;
2772
+ placeholder?: string | undefined;
2773
+ select?: "media" | "document" | "web" | null | undefined;
2774
+ customtypes?: (string | {
2775
+ id: string;
2776
+ fields: (string | {
2777
+ id: string;
2778
+ customtypes: (string | {
2779
+ id: string;
2780
+ fields: (string | {
2781
+ id: string;
2782
+ fields: string[];
2783
+ })[];
2784
+ })[];
2785
+ } | {
2786
+ id: string;
2787
+ fields: (string | {
2788
+ id: string;
2789
+ customtypes: (string | {
2790
+ id: string;
2791
+ fields: (string | {
2792
+ id: string;
2793
+ fields: string[];
2794
+ })[];
2795
+ })[];
2796
+ })[];
2797
+ })[];
2798
+ })[] | undefined;
2799
+ masks?: string[] | undefined;
2800
+ tags?: string[] | undefined;
2801
+ allowTargetBlank?: boolean | undefined;
2802
+ allowText?: boolean | undefined;
2803
+ repeat?: boolean | undefined;
2804
+ variants?: string[] | undefined;
2805
+ } | undefined;
2806
+ } | {
2807
+ type: "Number";
2808
+ fieldset?: string | null | undefined;
2809
+ config?: {
2810
+ label?: string | null | undefined;
2811
+ placeholder?: string | undefined;
2812
+ min?: number | undefined;
2813
+ max?: number | undefined;
2814
+ step?: number | undefined;
2815
+ } | undefined;
2816
+ } | {
2817
+ type: "Range";
2818
+ fieldset?: string | null | undefined;
2819
+ config?: {
2820
+ label?: string | null | undefined;
2821
+ placeholder?: string | undefined;
2822
+ min?: number | undefined;
2823
+ max?: number | undefined;
2824
+ step?: number | undefined;
2825
+ } | undefined;
2826
+ } | {
2827
+ type: "StructuredText";
2828
+ fieldset?: string | null | undefined;
2829
+ config?: {
2830
+ label?: string | null | undefined;
2831
+ placeholder?: string | undefined;
2832
+ useAsTitle?: boolean | undefined;
2833
+ single?: string | undefined;
2834
+ multi?: string | undefined;
2835
+ imageConstraint?: {
2836
+ width?: number | null | undefined;
2837
+ height?: number | null | undefined;
2838
+ } | undefined;
2839
+ labels?: string[] | undefined;
2840
+ allowTargetBlank?: boolean | undefined;
2841
+ } | undefined;
2842
+ } | {
2843
+ type: "Select";
2844
+ fieldset?: string | null | undefined;
2845
+ config?: {
2846
+ label?: string | null | undefined;
2847
+ placeholder?: string | undefined;
2848
+ default_value?: string | undefined;
2849
+ options?: string[] | undefined;
2850
+ } | undefined;
2851
+ } | {
2852
+ type: "Separator";
2853
+ config?: {
2854
+ label?: string | null | undefined;
2855
+ } | undefined;
2856
+ } | {
2857
+ type: "Table";
2858
+ config?: {
2859
+ label?: string | null | undefined;
2860
+ } | undefined;
2861
+ } | {
2862
+ type: "Text";
2863
+ fieldset?: string | null | undefined;
2864
+ config?: {
2865
+ label?: string | null | undefined;
2866
+ useAsTitle?: boolean | undefined;
2867
+ placeholder?: string | undefined;
2868
+ } | undefined;
2869
+ } | {
2870
+ type: "Timestamp";
2871
+ fieldset?: string | null | undefined;
2872
+ config?: {
2873
+ label?: string | null | undefined;
2874
+ placeholder?: string | undefined;
2875
+ default?: string | undefined;
2876
+ } | undefined;
2877
+ }> | undefined;
2878
+ } | undefined;
2879
+ }> | undefined;
2880
+ } | undefined;
2881
+ }, unknown>;
2882
+ declare const NestedGroupModelSchema: t.Type<{
2883
+ type: "Group";
2884
+ fieldset?: string | null | undefined;
2885
+ icon?: string | undefined;
2886
+ description?: string | undefined;
2887
+ config?: {
2888
+ label?: string | null | undefined;
2889
+ repeat?: boolean | undefined;
2890
+ fields?: Record<string, {
2891
+ type: "Boolean";
2892
+ config?: {
2893
+ label?: string | null | undefined;
2894
+ default_value?: boolean | undefined;
2895
+ placeholder_true?: string | undefined;
2896
+ placeholder_false?: string | undefined;
2897
+ } | undefined;
2898
+ } | {
2899
+ type: "Color";
2900
+ fieldset?: string | null | undefined;
2901
+ config?: {
2902
+ label?: string | null | undefined;
2903
+ placeholder?: string | undefined;
2904
+ } | undefined;
2905
+ } | {
2906
+ type: "Date";
2907
+ fieldset?: string | null | undefined;
2908
+ config?: {
2909
+ label?: string | null | undefined;
2910
+ placeholder?: string | undefined;
2911
+ default?: string | undefined;
2912
+ } | undefined;
2913
+ } | {
2914
+ type: "Embed";
2915
+ fieldset?: string | null | undefined;
2916
+ config?: {
2917
+ label?: string | null | undefined;
2918
+ placeholder?: string | undefined;
2919
+ useAsTitle?: boolean | undefined;
2920
+ } | undefined;
2921
+ } | {
2922
+ type: "GeoPoint";
2923
+ fieldset?: string | null | undefined;
2924
+ config?: {
2925
+ label?: string | null | undefined;
2926
+ } | undefined;
2927
+ } | {
2928
+ type: "Image";
2929
+ fieldset?: string | null | undefined;
2930
+ config?: {
2931
+ label?: string | null | undefined;
2932
+ placeholder?: string | undefined;
2933
+ constraint?: {
2934
+ width?: number | null | undefined;
2935
+ height?: number | null | undefined;
2936
+ } | undefined;
2937
+ thumbnails?: {
2938
+ name: string;
2939
+ width?: number | null | undefined;
2940
+ height?: number | null | undefined;
2941
+ }[] | undefined;
2942
+ } | undefined;
2943
+ } | {
2944
+ type: "IntegrationFields";
2945
+ fieldset?: string | null | undefined;
2946
+ config?: {
2947
+ label?: string | null | undefined;
2948
+ placeholder?: string | undefined;
2949
+ catalog?: string | undefined;
2950
+ } | undefined;
2951
+ } | {
2952
+ type: "Link";
2953
+ fieldset?: string | null | undefined;
2954
+ config?: {
2955
+ label?: string | null | undefined;
2956
+ useAsTitle?: boolean | undefined;
2957
+ placeholder?: string | undefined;
2958
+ select?: "media" | "document" | "web" | null | undefined;
2959
+ customtypes?: (string | {
2960
+ id: string;
2961
+ fields: (string | {
2962
+ id: string;
2963
+ customtypes: (string | {
2964
+ id: string;
2965
+ fields: (string | {
2966
+ id: string;
2967
+ fields: string[];
2968
+ })[];
2969
+ })[];
2970
+ } | {
2971
+ id: string;
2972
+ fields: (string | {
2973
+ id: string;
2974
+ customtypes: (string | {
2975
+ id: string;
2976
+ fields: (string | {
2977
+ id: string;
2978
+ fields: string[];
2979
+ })[];
2980
+ })[];
2981
+ })[];
2982
+ })[];
2983
+ })[] | undefined;
2984
+ masks?: string[] | undefined;
2985
+ tags?: string[] | undefined;
2986
+ allowTargetBlank?: boolean | undefined;
2987
+ allowText?: boolean | undefined;
2988
+ repeat?: boolean | undefined;
2989
+ variants?: string[] | undefined;
2990
+ } | undefined;
2991
+ } | {
2992
+ type: "Number";
2993
+ fieldset?: string | null | undefined;
2994
+ config?: {
2995
+ label?: string | null | undefined;
2996
+ placeholder?: string | undefined;
2997
+ min?: number | undefined;
2998
+ max?: number | undefined;
2999
+ step?: number | undefined;
3000
+ } | undefined;
3001
+ } | {
3002
+ type: "Range";
3003
+ fieldset?: string | null | undefined;
3004
+ config?: {
3005
+ label?: string | null | undefined;
3006
+ placeholder?: string | undefined;
3007
+ min?: number | undefined;
3008
+ max?: number | undefined;
3009
+ step?: number | undefined;
3010
+ } | undefined;
3011
+ } | {
3012
+ type: "StructuredText";
3013
+ fieldset?: string | null | undefined;
3014
+ config?: {
3015
+ label?: string | null | undefined;
3016
+ placeholder?: string | undefined;
3017
+ useAsTitle?: boolean | undefined;
3018
+ single?: string | undefined;
3019
+ multi?: string | undefined;
3020
+ imageConstraint?: {
3021
+ width?: number | null | undefined;
3022
+ height?: number | null | undefined;
3023
+ } | undefined;
3024
+ labels?: string[] | undefined;
3025
+ allowTargetBlank?: boolean | undefined;
3026
+ } | undefined;
3027
+ } | {
3028
+ type: "Select";
3029
+ fieldset?: string | null | undefined;
3030
+ config?: {
3031
+ label?: string | null | undefined;
3032
+ placeholder?: string | undefined;
3033
+ default_value?: string | undefined;
3034
+ options?: string[] | undefined;
3035
+ } | undefined;
3036
+ } | {
3037
+ type: "Separator";
3038
+ config?: {
3039
+ label?: string | null | undefined;
3040
+ } | undefined;
3041
+ } | {
3042
+ type: "Table";
3043
+ config?: {
3044
+ label?: string | null | undefined;
3045
+ } | undefined;
3046
+ } | {
3047
+ type: "Text";
3048
+ fieldset?: string | null | undefined;
3049
+ config?: {
3050
+ label?: string | null | undefined;
3051
+ useAsTitle?: boolean | undefined;
3052
+ placeholder?: string | undefined;
3053
+ } | undefined;
3054
+ } | {
3055
+ type: "Timestamp";
3056
+ fieldset?: string | null | undefined;
3057
+ config?: {
3058
+ label?: string | null | undefined;
3059
+ placeholder?: string | undefined;
3060
+ default?: string | undefined;
3061
+ } | undefined;
3062
+ }> | undefined;
3063
+ } | undefined;
3064
+ }, {
3065
+ type: "Group";
3066
+ fieldset?: string | null | undefined;
3067
+ icon?: string | undefined;
3068
+ description?: string | undefined;
3069
+ config?: {
3070
+ label?: string | null | undefined;
3071
+ repeat?: boolean | undefined;
3072
+ fields?: Record<string, {
3073
+ type: "Boolean";
3074
+ config?: {
3075
+ label?: string | null | undefined;
3076
+ default_value?: boolean | undefined;
3077
+ placeholder_true?: string | undefined;
3078
+ placeholder_false?: string | undefined;
3079
+ } | undefined;
3080
+ } | {
3081
+ type: "Color";
3082
+ fieldset?: string | null | undefined;
3083
+ config?: {
3084
+ label?: string | null | undefined;
3085
+ placeholder?: string | undefined;
3086
+ } | undefined;
3087
+ } | {
3088
+ type: "Date";
3089
+ fieldset?: string | null | undefined;
3090
+ config?: {
3091
+ label?: string | null | undefined;
3092
+ placeholder?: string | undefined;
3093
+ default?: string | undefined;
3094
+ } | undefined;
3095
+ } | {
3096
+ type: "Embed";
3097
+ fieldset?: string | null | undefined;
3098
+ config?: {
3099
+ label?: string | null | undefined;
3100
+ placeholder?: string | undefined;
3101
+ useAsTitle?: boolean | undefined;
3102
+ } | undefined;
3103
+ } | {
3104
+ type: "GeoPoint";
3105
+ fieldset?: string | null | undefined;
3106
+ config?: {
3107
+ label?: string | null | undefined;
3108
+ } | undefined;
3109
+ } | {
3110
+ type: "Image";
3111
+ fieldset?: string | null | undefined;
3112
+ config?: {
3113
+ label?: string | null | undefined;
3114
+ placeholder?: string | undefined;
3115
+ constraint?: {
3116
+ width?: number | null | undefined;
3117
+ height?: number | null | undefined;
3118
+ } | undefined;
3119
+ thumbnails?: {
3120
+ name: string;
3121
+ width?: number | null | undefined;
3122
+ height?: number | null | undefined;
3123
+ }[] | undefined;
3124
+ } | undefined;
3125
+ } | {
3126
+ type: "IntegrationFields";
3127
+ fieldset?: string | null | undefined;
3128
+ config?: {
3129
+ label?: string | null | undefined;
3130
+ placeholder?: string | undefined;
3131
+ catalog?: string | undefined;
3132
+ } | undefined;
3133
+ } | {
3134
+ type: "Link";
3135
+ fieldset?: string | null | undefined;
3136
+ config?: {
3137
+ label?: string | null | undefined;
3138
+ useAsTitle?: boolean | undefined;
3139
+ placeholder?: string | undefined;
3140
+ select?: "media" | "document" | "web" | null | undefined;
3141
+ customtypes?: (string | {
3142
+ id: string;
3143
+ fields: (string | {
3144
+ id: string;
3145
+ customtypes: (string | {
3146
+ id: string;
3147
+ fields: (string | {
3148
+ id: string;
3149
+ fields: string[];
3150
+ })[];
3151
+ })[];
3152
+ } | {
3153
+ id: string;
3154
+ fields: (string | {
3155
+ id: string;
3156
+ customtypes: (string | {
3157
+ id: string;
3158
+ fields: (string | {
3159
+ id: string;
3160
+ fields: string[];
3161
+ })[];
3162
+ })[];
3163
+ })[];
3164
+ })[];
3165
+ })[] | undefined;
3166
+ masks?: string[] | undefined;
3167
+ tags?: string[] | undefined;
3168
+ allowTargetBlank?: boolean | undefined;
3169
+ allowText?: boolean | undefined;
3170
+ repeat?: boolean | undefined;
3171
+ variants?: string[] | undefined;
3172
+ } | undefined;
3173
+ } | {
3174
+ type: "Number";
3175
+ fieldset?: string | null | undefined;
3176
+ config?: {
3177
+ label?: string | null | undefined;
3178
+ placeholder?: string | undefined;
3179
+ min?: number | undefined;
3180
+ max?: number | undefined;
3181
+ step?: number | undefined;
3182
+ } | undefined;
3183
+ } | {
3184
+ type: "Range";
3185
+ fieldset?: string | null | undefined;
3186
+ config?: {
3187
+ label?: string | null | undefined;
3188
+ placeholder?: string | undefined;
3189
+ min?: number | undefined;
3190
+ max?: number | undefined;
3191
+ step?: number | undefined;
3192
+ } | undefined;
3193
+ } | {
3194
+ type: "StructuredText";
3195
+ fieldset?: string | null | undefined;
3196
+ config?: {
3197
+ label?: string | null | undefined;
3198
+ placeholder?: string | undefined;
3199
+ useAsTitle?: boolean | undefined;
3200
+ single?: string | undefined;
3201
+ multi?: string | undefined;
3202
+ imageConstraint?: {
3203
+ width?: number | null | undefined;
3204
+ height?: number | null | undefined;
3205
+ } | undefined;
3206
+ labels?: string[] | undefined;
3207
+ allowTargetBlank?: boolean | undefined;
3208
+ } | undefined;
3209
+ } | {
3210
+ type: "Select";
3211
+ fieldset?: string | null | undefined;
3212
+ config?: {
3213
+ label?: string | null | undefined;
3214
+ placeholder?: string | undefined;
3215
+ default_value?: string | undefined;
3216
+ options?: string[] | undefined;
3217
+ } | undefined;
3218
+ } | {
3219
+ type: "Separator";
3220
+ config?: {
3221
+ label?: string | null | undefined;
3222
+ } | undefined;
3223
+ } | {
3224
+ type: "Table";
3225
+ config?: {
3226
+ label?: string | null | undefined;
3227
+ } | undefined;
3228
+ } | {
3229
+ type: "Text";
3230
+ fieldset?: string | null | undefined;
3231
+ config?: {
3232
+ label?: string | null | undefined;
3233
+ useAsTitle?: boolean | undefined;
3234
+ placeholder?: string | undefined;
3235
+ } | undefined;
3236
+ } | {
3237
+ type: "Timestamp";
3238
+ fieldset?: string | null | undefined;
3239
+ config?: {
3240
+ label?: string | null | undefined;
3241
+ placeholder?: string | undefined;
3242
+ default?: string | undefined;
3243
+ } | undefined;
3244
+ }> | undefined;
3245
+ } | undefined;
3246
+ }, unknown>;
3247
+ declare const SharedSliceModelVariationSchema: t.Type<{
3248
+ id: string;
3249
+ name: string;
3250
+ description: string;
3251
+ imageUrl: string;
3252
+ docURL: string;
3253
+ version: string;
3254
+ display?: string | undefined;
3255
+ primary?: Record<string, NestableModel | {
3256
+ type: "Group";
3257
+ fieldset?: string | null | undefined;
3258
+ icon?: string | undefined;
3259
+ description?: string | undefined;
3260
+ config?: {
3261
+ label?: string | null | undefined;
3262
+ repeat?: boolean | undefined;
3263
+ fields?: Record<string, NestableModel | {
3264
+ type: "Group";
3265
+ fieldset?: string | null | undefined;
3266
+ icon?: string | undefined;
3267
+ description?: string | undefined;
3268
+ config?: {
3269
+ label?: string | null | undefined;
3270
+ repeat?: boolean | undefined;
3271
+ fields?: Record<string, {
3272
+ type: "Boolean";
3273
+ config?: {
3274
+ label?: string | null | undefined;
3275
+ default_value?: boolean | undefined;
3276
+ placeholder_true?: string | undefined;
3277
+ placeholder_false?: string | undefined;
3278
+ } | undefined;
3279
+ } | {
3280
+ type: "Color";
3281
+ fieldset?: string | null | undefined;
3282
+ config?: {
3283
+ label?: string | null | undefined;
3284
+ placeholder?: string | undefined;
3285
+ } | undefined;
3286
+ } | {
3287
+ type: "Date";
3288
+ fieldset?: string | null | undefined;
3289
+ config?: {
3290
+ label?: string | null | undefined;
3291
+ placeholder?: string | undefined;
3292
+ default?: string | undefined;
3293
+ } | undefined;
3294
+ } | {
3295
+ type: "Embed";
3296
+ fieldset?: string | null | undefined;
3297
+ config?: {
3298
+ label?: string | null | undefined;
3299
+ placeholder?: string | undefined;
3300
+ useAsTitle?: boolean | undefined;
3301
+ } | undefined;
3302
+ } | {
3303
+ type: "GeoPoint";
3304
+ fieldset?: string | null | undefined;
3305
+ config?: {
3306
+ label?: string | null | undefined;
3307
+ } | undefined;
3308
+ } | {
3309
+ type: "Image";
3310
+ fieldset?: string | null | undefined;
3311
+ config?: {
3312
+ label?: string | null | undefined;
3313
+ placeholder?: string | undefined;
3314
+ constraint?: {
3315
+ width?: number | null | undefined;
3316
+ height?: number | null | undefined;
3317
+ } | undefined;
3318
+ thumbnails?: {
3319
+ name: string;
3320
+ width?: number | null | undefined;
3321
+ height?: number | null | undefined;
3322
+ }[] | undefined;
3323
+ } | undefined;
3324
+ } | {
3325
+ type: "IntegrationFields";
3326
+ fieldset?: string | null | undefined;
3327
+ config?: {
3328
+ label?: string | null | undefined;
3329
+ placeholder?: string | undefined;
3330
+ catalog?: string | undefined;
3331
+ } | undefined;
3332
+ } | {
3333
+ type: "Link";
3334
+ fieldset?: string | null | undefined;
3335
+ config?: {
3336
+ label?: string | null | undefined;
3337
+ useAsTitle?: boolean | undefined;
3338
+ placeholder?: string | undefined;
3339
+ select?: "media" | "document" | "web" | null | undefined;
3340
+ customtypes?: (string | {
3341
+ id: string;
3342
+ fields: (string | {
3343
+ id: string;
3344
+ customtypes: (string | {
3345
+ id: string;
3346
+ fields: (string | {
3347
+ id: string;
3348
+ fields: string[];
3349
+ })[];
3350
+ })[];
3351
+ } | {
3352
+ id: string;
3353
+ fields: (string | {
3354
+ id: string;
3355
+ customtypes: (string | {
3356
+ id: string;
3357
+ fields: (string | /*elided*/any)[];
3358
+ })[];
3359
+ })[];
3360
+ })[];
3361
+ })[] | undefined;
3362
+ masks?: string[] | undefined;
3363
+ tags?: string[] | undefined;
3364
+ allowTargetBlank?: boolean | undefined;
3365
+ allowText?: boolean | undefined;
3366
+ repeat?: boolean | undefined;
3367
+ variants?: string[] | undefined;
3368
+ } | undefined;
3369
+ } | {
3370
+ type: "Number";
3371
+ fieldset?: string | null | undefined;
3372
+ config?: {
3373
+ label?: string | null | undefined;
3374
+ placeholder?: string | undefined;
3375
+ min?: number | undefined;
3376
+ max?: number | undefined;
3377
+ step?: number | undefined;
3378
+ } | undefined;
3379
+ } | {
3380
+ type: "Range";
3381
+ fieldset?: string | null | undefined;
3382
+ config?: {
3383
+ label?: string | null | undefined;
3384
+ placeholder?: string | undefined;
3385
+ min?: number | undefined;
3386
+ max?: number | undefined;
3387
+ step?: number | undefined;
3388
+ } | undefined;
3389
+ } | {
3390
+ type: "StructuredText";
3391
+ fieldset?: string | null | undefined;
3392
+ config?: {
3393
+ label?: string | null | undefined;
3394
+ placeholder?: string | undefined;
3395
+ useAsTitle?: boolean | undefined;
3396
+ single?: string | undefined;
3397
+ multi?: string | undefined;
3398
+ imageConstraint?: {
3399
+ width?: number | null | undefined;
3400
+ height?: number | null | undefined;
3401
+ } | undefined;
3402
+ labels?: string[] | undefined;
3403
+ allowTargetBlank?: boolean | undefined;
3404
+ } | undefined;
3405
+ } | {
3406
+ type: "Select";
3407
+ fieldset?: string | null | undefined;
3408
+ config?: {
3409
+ label?: string | null | undefined;
3410
+ placeholder?: string | undefined;
3411
+ default_value?: string | undefined;
3412
+ options?: string[] | undefined;
3413
+ } | undefined;
3414
+ } | {
3415
+ type: "Separator";
3416
+ config?: {
3417
+ label?: string | null | undefined;
3418
+ } | undefined;
3419
+ } | {
3420
+ type: "Table";
3421
+ config?: {
3422
+ label?: string | null | undefined;
3423
+ } | undefined;
3424
+ } | {
3425
+ type: "Text";
3426
+ fieldset?: string | null | undefined;
3427
+ config?: {
3428
+ label?: string | null | undefined;
3429
+ useAsTitle?: boolean | undefined;
3430
+ placeholder?: string | undefined;
3431
+ } | undefined;
3432
+ } | {
3433
+ type: "Timestamp";
3434
+ fieldset?: string | null | undefined;
3435
+ config?: {
3436
+ label?: string | null | undefined;
3437
+ placeholder?: string | undefined;
3438
+ default?: string | undefined;
3439
+ } | undefined;
3440
+ }> | undefined;
3441
+ } | undefined;
3442
+ }> | undefined;
3443
+ } | undefined;
3444
+ }> | undefined;
3445
+ items?: Record<string, {
3446
+ type: "Boolean";
3447
+ config?: {
3448
+ label?: string | null | undefined;
3449
+ default_value?: boolean | undefined;
3450
+ placeholder_true?: string | undefined;
3451
+ placeholder_false?: string | undefined;
3452
+ } | undefined;
3453
+ } | {
3454
+ type: "Color";
3455
+ fieldset?: string | null | undefined;
3456
+ config?: {
3457
+ label?: string | null | undefined;
3458
+ placeholder?: string | undefined;
3459
+ } | undefined;
3460
+ } | {
3461
+ type: "Date";
3462
+ fieldset?: string | null | undefined;
3463
+ config?: {
3464
+ label?: string | null | undefined;
3465
+ placeholder?: string | undefined;
3466
+ default?: string | undefined;
3467
+ } | undefined;
3468
+ } | {
3469
+ type: "Embed";
3470
+ fieldset?: string | null | undefined;
3471
+ config?: {
3472
+ label?: string | null | undefined;
3473
+ placeholder?: string | undefined;
3474
+ useAsTitle?: boolean | undefined;
3475
+ } | undefined;
3476
+ } | {
3477
+ type: "GeoPoint";
3478
+ fieldset?: string | null | undefined;
3479
+ config?: {
3480
+ label?: string | null | undefined;
3481
+ } | undefined;
3482
+ } | {
3483
+ type: "Image";
3484
+ fieldset?: string | null | undefined;
3485
+ config?: {
3486
+ label?: string | null | undefined;
3487
+ placeholder?: string | undefined;
3488
+ constraint?: {
3489
+ width?: number | null | undefined;
3490
+ height?: number | null | undefined;
3491
+ } | undefined;
3492
+ thumbnails?: {
3493
+ name: string;
3494
+ width?: number | null | undefined;
3495
+ height?: number | null | undefined;
3496
+ }[] | undefined;
3497
+ } | undefined;
3498
+ } | {
3499
+ type: "IntegrationFields";
3500
+ fieldset?: string | null | undefined;
3501
+ config?: {
3502
+ label?: string | null | undefined;
3503
+ placeholder?: string | undefined;
3504
+ catalog?: string | undefined;
3505
+ } | undefined;
3506
+ } | {
3507
+ type: "Link";
3508
+ fieldset?: string | null | undefined;
3509
+ config?: {
3510
+ label?: string | null | undefined;
3511
+ useAsTitle?: boolean | undefined;
3512
+ placeholder?: string | undefined;
3513
+ select?: "media" | "document" | "web" | null | undefined;
3514
+ customtypes?: (string | {
3515
+ id: string;
3516
+ fields: (string | {
3517
+ id: string;
3518
+ customtypes: (string | {
3519
+ id: string;
3520
+ fields: (string | {
3521
+ id: string;
3522
+ fields: string[];
3523
+ })[];
3524
+ })[];
3525
+ } | {
3526
+ id: string;
3527
+ fields: (string | {
3528
+ id: string;
3529
+ customtypes: (string | {
3530
+ id: string;
3531
+ fields: (string | {
3532
+ id: string;
3533
+ fields: string[];
3534
+ })[];
3535
+ })[];
3536
+ })[];
3537
+ })[];
3538
+ })[] | undefined;
3539
+ masks?: string[] | undefined;
3540
+ tags?: string[] | undefined;
3541
+ allowTargetBlank?: boolean | undefined;
3542
+ allowText?: boolean | undefined;
3543
+ repeat?: boolean | undefined;
3544
+ variants?: string[] | undefined;
3545
+ } | undefined;
3546
+ } | {
3547
+ type: "Number";
3548
+ fieldset?: string | null | undefined;
3549
+ config?: {
3550
+ label?: string | null | undefined;
3551
+ placeholder?: string | undefined;
3552
+ min?: number | undefined;
3553
+ max?: number | undefined;
3554
+ step?: number | undefined;
3555
+ } | undefined;
3556
+ } | {
3557
+ type: "Range";
3558
+ fieldset?: string | null | undefined;
3559
+ config?: {
3560
+ label?: string | null | undefined;
3561
+ placeholder?: string | undefined;
3562
+ min?: number | undefined;
3563
+ max?: number | undefined;
3564
+ step?: number | undefined;
3565
+ } | undefined;
3566
+ } | {
3567
+ type: "StructuredText";
3568
+ fieldset?: string | null | undefined;
3569
+ config?: {
3570
+ label?: string | null | undefined;
3571
+ placeholder?: string | undefined;
3572
+ useAsTitle?: boolean | undefined;
3573
+ single?: string | undefined;
3574
+ multi?: string | undefined;
3575
+ imageConstraint?: {
3576
+ width?: number | null | undefined;
3577
+ height?: number | null | undefined;
3578
+ } | undefined;
3579
+ labels?: string[] | undefined;
3580
+ allowTargetBlank?: boolean | undefined;
3581
+ } | undefined;
3582
+ } | {
3583
+ type: "Select";
3584
+ fieldset?: string | null | undefined;
3585
+ config?: {
3586
+ label?: string | null | undefined;
3587
+ placeholder?: string | undefined;
3588
+ default_value?: string | undefined;
3589
+ options?: string[] | undefined;
3590
+ } | undefined;
3591
+ } | {
3592
+ type: "Separator";
3593
+ config?: {
3594
+ label?: string | null | undefined;
3595
+ } | undefined;
3596
+ } | {
3597
+ type: "Table";
3598
+ config?: {
3599
+ label?: string | null | undefined;
3600
+ } | undefined;
3601
+ } | {
3602
+ type: "Text";
3603
+ fieldset?: string | null | undefined;
3604
+ config?: {
3605
+ label?: string | null | undefined;
3606
+ useAsTitle?: boolean | undefined;
3607
+ placeholder?: string | undefined;
3608
+ } | undefined;
3609
+ } | {
3610
+ type: "Timestamp";
3611
+ fieldset?: string | null | undefined;
3612
+ config?: {
3613
+ label?: string | null | undefined;
3614
+ placeholder?: string | undefined;
3615
+ default?: string | undefined;
3616
+ } | undefined;
3617
+ }> | undefined;
3618
+ }, {
3619
+ id: string;
3620
+ name: string;
3621
+ description: string;
3622
+ imageUrl: string;
3623
+ docURL: string;
3624
+ version: string;
3625
+ display?: string | undefined;
3626
+ primary?: Record<string, NestableModel | {
3627
+ type: "Group";
3628
+ fieldset?: string | null | undefined;
3629
+ icon?: string | undefined;
3630
+ description?: string | undefined;
3631
+ config?: {
3632
+ label?: string | null | undefined;
3633
+ repeat?: boolean | undefined;
3634
+ fields?: Record<string, NestableModel | {
3635
+ type: "Group";
3636
+ fieldset?: string | null | undefined;
3637
+ icon?: string | undefined;
3638
+ description?: string | undefined;
3639
+ config?: {
3640
+ label?: string | null | undefined;
3641
+ repeat?: boolean | undefined;
3642
+ fields?: Record<string, {
3643
+ type: "Boolean";
3644
+ config?: {
3645
+ label?: string | null | undefined;
3646
+ default_value?: boolean | undefined;
3647
+ placeholder_true?: string | undefined;
3648
+ placeholder_false?: string | undefined;
3649
+ } | undefined;
3650
+ } | {
3651
+ type: "Color";
3652
+ fieldset?: string | null | undefined;
3653
+ config?: {
3654
+ label?: string | null | undefined;
3655
+ placeholder?: string | undefined;
3656
+ } | undefined;
3657
+ } | {
3658
+ type: "Date";
3659
+ fieldset?: string | null | undefined;
3660
+ config?: {
3661
+ label?: string | null | undefined;
3662
+ placeholder?: string | undefined;
3663
+ default?: string | undefined;
3664
+ } | undefined;
3665
+ } | {
3666
+ type: "Embed";
3667
+ fieldset?: string | null | undefined;
3668
+ config?: {
3669
+ label?: string | null | undefined;
3670
+ placeholder?: string | undefined;
3671
+ useAsTitle?: boolean | undefined;
3672
+ } | undefined;
3673
+ } | {
3674
+ type: "GeoPoint";
3675
+ fieldset?: string | null | undefined;
3676
+ config?: {
3677
+ label?: string | null | undefined;
3678
+ } | undefined;
3679
+ } | {
3680
+ type: "Image";
3681
+ fieldset?: string | null | undefined;
3682
+ config?: {
3683
+ label?: string | null | undefined;
3684
+ placeholder?: string | undefined;
3685
+ constraint?: {
3686
+ width?: number | null | undefined;
3687
+ height?: number | null | undefined;
3688
+ } | undefined;
3689
+ thumbnails?: {
3690
+ name: string;
3691
+ width?: number | null | undefined;
3692
+ height?: number | null | undefined;
3693
+ }[] | undefined;
3694
+ } | undefined;
3695
+ } | {
3696
+ type: "IntegrationFields";
3697
+ fieldset?: string | null | undefined;
3698
+ config?: {
3699
+ label?: string | null | undefined;
3700
+ placeholder?: string | undefined;
3701
+ catalog?: string | undefined;
3702
+ } | undefined;
3703
+ } | {
3704
+ type: "Link";
3705
+ fieldset?: string | null | undefined;
3706
+ config?: {
3707
+ label?: string | null | undefined;
3708
+ useAsTitle?: boolean | undefined;
3709
+ placeholder?: string | undefined;
3710
+ select?: "media" | "document" | "web" | null | undefined;
3711
+ customtypes?: (string | {
3712
+ id: string;
3713
+ fields: (string | {
3714
+ id: string;
3715
+ customtypes: (string | {
3716
+ id: string;
3717
+ fields: (string | {
3718
+ id: string;
3719
+ fields: string[];
3720
+ })[];
3721
+ })[];
3722
+ } | {
3723
+ id: string;
3724
+ fields: (string | {
3725
+ id: string;
3726
+ customtypes: (string | {
3727
+ id: string;
3728
+ fields: (string | /*elided*/any)[];
3729
+ })[];
3730
+ })[];
3731
+ })[];
3732
+ })[] | undefined;
3733
+ masks?: string[] | undefined;
3734
+ tags?: string[] | undefined;
3735
+ allowTargetBlank?: boolean | undefined;
3736
+ allowText?: boolean | undefined;
3737
+ repeat?: boolean | undefined;
3738
+ variants?: string[] | undefined;
3739
+ } | undefined;
3740
+ } | {
3741
+ type: "Number";
3742
+ fieldset?: string | null | undefined;
3743
+ config?: {
3744
+ label?: string | null | undefined;
3745
+ placeholder?: string | undefined;
3746
+ min?: number | undefined;
3747
+ max?: number | undefined;
3748
+ step?: number | undefined;
3749
+ } | undefined;
3750
+ } | {
3751
+ type: "Range";
3752
+ fieldset?: string | null | undefined;
3753
+ config?: {
3754
+ label?: string | null | undefined;
3755
+ placeholder?: string | undefined;
3756
+ min?: number | undefined;
3757
+ max?: number | undefined;
3758
+ step?: number | undefined;
3759
+ } | undefined;
3760
+ } | {
3761
+ type: "StructuredText";
3762
+ fieldset?: string | null | undefined;
3763
+ config?: {
3764
+ label?: string | null | undefined;
3765
+ placeholder?: string | undefined;
3766
+ useAsTitle?: boolean | undefined;
3767
+ single?: string | undefined;
3768
+ multi?: string | undefined;
3769
+ imageConstraint?: {
3770
+ width?: number | null | undefined;
3771
+ height?: number | null | undefined;
3772
+ } | undefined;
3773
+ labels?: string[] | undefined;
3774
+ allowTargetBlank?: boolean | undefined;
3775
+ } | undefined;
3776
+ } | {
3777
+ type: "Select";
3778
+ fieldset?: string | null | undefined;
3779
+ config?: {
3780
+ label?: string | null | undefined;
3781
+ placeholder?: string | undefined;
3782
+ default_value?: string | undefined;
3783
+ options?: string[] | undefined;
3784
+ } | undefined;
3785
+ } | {
3786
+ type: "Separator";
3787
+ config?: {
3788
+ label?: string | null | undefined;
3789
+ } | undefined;
3790
+ } | {
3791
+ type: "Table";
3792
+ config?: {
3793
+ label?: string | null | undefined;
3794
+ } | undefined;
3795
+ } | {
3796
+ type: "Text";
3797
+ fieldset?: string | null | undefined;
3798
+ config?: {
3799
+ label?: string | null | undefined;
3800
+ useAsTitle?: boolean | undefined;
3801
+ placeholder?: string | undefined;
3802
+ } | undefined;
3803
+ } | {
3804
+ type: "Timestamp";
3805
+ fieldset?: string | null | undefined;
3806
+ config?: {
3807
+ label?: string | null | undefined;
3808
+ placeholder?: string | undefined;
3809
+ default?: string | undefined;
3810
+ } | undefined;
3811
+ }> | undefined;
3812
+ } | undefined;
3813
+ }> | undefined;
3814
+ } | undefined;
3815
+ }> | undefined;
3816
+ items?: Record<string, {
3817
+ type: "Boolean";
3818
+ config?: {
3819
+ label?: string | null | undefined;
3820
+ default_value?: boolean | undefined;
3821
+ placeholder_true?: string | undefined;
3822
+ placeholder_false?: string | undefined;
3823
+ } | undefined;
3824
+ } | {
3825
+ type: "Color";
3826
+ fieldset?: string | null | undefined;
3827
+ config?: {
3828
+ label?: string | null | undefined;
3829
+ placeholder?: string | undefined;
3830
+ } | undefined;
3831
+ } | {
3832
+ type: "Date";
3833
+ fieldset?: string | null | undefined;
3834
+ config?: {
3835
+ label?: string | null | undefined;
3836
+ placeholder?: string | undefined;
3837
+ default?: string | undefined;
3838
+ } | undefined;
3839
+ } | {
3840
+ type: "Embed";
3841
+ fieldset?: string | null | undefined;
3842
+ config?: {
3843
+ label?: string | null | undefined;
3844
+ placeholder?: string | undefined;
3845
+ useAsTitle?: boolean | undefined;
3846
+ } | undefined;
3847
+ } | {
3848
+ type: "GeoPoint";
3849
+ fieldset?: string | null | undefined;
3850
+ config?: {
3851
+ label?: string | null | undefined;
3852
+ } | undefined;
3853
+ } | {
3854
+ type: "Image";
3855
+ fieldset?: string | null | undefined;
3856
+ config?: {
3857
+ label?: string | null | undefined;
3858
+ placeholder?: string | undefined;
3859
+ constraint?: {
3860
+ width?: number | null | undefined;
3861
+ height?: number | null | undefined;
3862
+ } | undefined;
3863
+ thumbnails?: {
3864
+ name: string;
3865
+ width?: number | null | undefined;
3866
+ height?: number | null | undefined;
3867
+ }[] | undefined;
3868
+ } | undefined;
3869
+ } | {
3870
+ type: "IntegrationFields";
3871
+ fieldset?: string | null | undefined;
3872
+ config?: {
3873
+ label?: string | null | undefined;
3874
+ placeholder?: string | undefined;
3875
+ catalog?: string | undefined;
3876
+ } | undefined;
3877
+ } | {
3878
+ type: "Link";
3879
+ fieldset?: string | null | undefined;
3880
+ config?: {
3881
+ label?: string | null | undefined;
3882
+ useAsTitle?: boolean | undefined;
3883
+ placeholder?: string | undefined;
3884
+ select?: "media" | "document" | "web" | null | undefined;
3885
+ customtypes?: (string | {
3886
+ id: string;
3887
+ fields: (string | {
3888
+ id: string;
3889
+ customtypes: (string | {
3890
+ id: string;
3891
+ fields: (string | {
3892
+ id: string;
3893
+ fields: string[];
3894
+ })[];
3895
+ })[];
3896
+ } | {
3897
+ id: string;
3898
+ fields: (string | {
3899
+ id: string;
3900
+ customtypes: (string | {
3901
+ id: string;
3902
+ fields: (string | {
3903
+ id: string;
3904
+ fields: string[];
3905
+ })[];
3906
+ })[];
3907
+ })[];
3908
+ })[];
3909
+ })[] | undefined;
3910
+ masks?: string[] | undefined;
3911
+ tags?: string[] | undefined;
3912
+ allowTargetBlank?: boolean | undefined;
3913
+ allowText?: boolean | undefined;
3914
+ repeat?: boolean | undefined;
3915
+ variants?: string[] | undefined;
3916
+ } | undefined;
3917
+ } | {
3918
+ type: "Number";
3919
+ fieldset?: string | null | undefined;
3920
+ config?: {
3921
+ label?: string | null | undefined;
3922
+ placeholder?: string | undefined;
3923
+ min?: number | undefined;
3924
+ max?: number | undefined;
3925
+ step?: number | undefined;
3926
+ } | undefined;
3927
+ } | {
3928
+ type: "Range";
3929
+ fieldset?: string | null | undefined;
3930
+ config?: {
3931
+ label?: string | null | undefined;
3932
+ placeholder?: string | undefined;
3933
+ min?: number | undefined;
3934
+ max?: number | undefined;
3935
+ step?: number | undefined;
3936
+ } | undefined;
3937
+ } | {
3938
+ type: "StructuredText";
3939
+ fieldset?: string | null | undefined;
3940
+ config?: {
3941
+ label?: string | null | undefined;
3942
+ placeholder?: string | undefined;
3943
+ useAsTitle?: boolean | undefined;
3944
+ single?: string | undefined;
3945
+ multi?: string | undefined;
3946
+ imageConstraint?: {
3947
+ width?: number | null | undefined;
3948
+ height?: number | null | undefined;
3949
+ } | undefined;
3950
+ labels?: string[] | undefined;
3951
+ allowTargetBlank?: boolean | undefined;
3952
+ } | undefined;
3953
+ } | {
3954
+ type: "Select";
3955
+ fieldset?: string | null | undefined;
3956
+ config?: {
3957
+ label?: string | null | undefined;
3958
+ placeholder?: string | undefined;
3959
+ default_value?: string | undefined;
3960
+ options?: string[] | undefined;
3961
+ } | undefined;
3962
+ } | {
3963
+ type: "Separator";
3964
+ config?: {
3965
+ label?: string | null | undefined;
3966
+ } | undefined;
3967
+ } | {
3968
+ type: "Table";
3969
+ config?: {
3970
+ label?: string | null | undefined;
3971
+ } | undefined;
3972
+ } | {
3973
+ type: "Text";
3974
+ fieldset?: string | null | undefined;
3975
+ config?: {
3976
+ label?: string | null | undefined;
3977
+ useAsTitle?: boolean | undefined;
3978
+ placeholder?: string | undefined;
3979
+ } | undefined;
3980
+ } | {
3981
+ type: "Timestamp";
3982
+ fieldset?: string | null | undefined;
3983
+ config?: {
3984
+ label?: string | null | undefined;
3985
+ placeholder?: string | undefined;
3986
+ default?: string | undefined;
3987
+ } | undefined;
3988
+ }> | undefined;
3989
+ }, unknown>;
3990
+ declare const SharedSliceRefModelSchema: t.Type<{
3991
+ type: "SharedSlice";
3992
+ }, {
3993
+ type: "SharedSlice";
3994
+ }, unknown>;
3995
+ declare const CompositeSliceModelSchema: t.Type<{
3996
+ type: "Slice";
3997
+ fieldset?: string | null | undefined;
3998
+ description?: string | undefined;
3999
+ icon?: string | undefined;
4000
+ display?: string | undefined;
4001
+ "non-repeat"?: Record<string, {
4002
+ type: "Boolean";
4003
+ config?: {
4004
+ label?: string | null | undefined;
4005
+ default_value?: boolean | undefined;
4006
+ placeholder_true?: string | undefined;
4007
+ placeholder_false?: string | undefined;
4008
+ } | undefined;
4009
+ } | {
4010
+ type: "Color";
4011
+ fieldset?: string | null | undefined;
4012
+ config?: {
4013
+ label?: string | null | undefined;
4014
+ placeholder?: string | undefined;
4015
+ } | undefined;
4016
+ } | {
4017
+ type: "Date";
4018
+ fieldset?: string | null | undefined;
4019
+ config?: {
4020
+ label?: string | null | undefined;
4021
+ placeholder?: string | undefined;
4022
+ default?: string | undefined;
4023
+ } | undefined;
4024
+ } | {
4025
+ type: "Embed";
4026
+ fieldset?: string | null | undefined;
4027
+ config?: {
4028
+ label?: string | null | undefined;
4029
+ placeholder?: string | undefined;
4030
+ useAsTitle?: boolean | undefined;
4031
+ } | undefined;
4032
+ } | {
4033
+ type: "GeoPoint";
4034
+ fieldset?: string | null | undefined;
4035
+ config?: {
4036
+ label?: string | null | undefined;
4037
+ } | undefined;
4038
+ } | {
4039
+ type: "Image";
4040
+ fieldset?: string | null | undefined;
4041
+ config?: {
4042
+ label?: string | null | undefined;
4043
+ placeholder?: string | undefined;
4044
+ constraint?: {
4045
+ width?: number | null | undefined;
4046
+ height?: number | null | undefined;
4047
+ } | undefined;
4048
+ thumbnails?: {
4049
+ name: string;
4050
+ width?: number | null | undefined;
4051
+ height?: number | null | undefined;
4052
+ }[] | undefined;
4053
+ } | undefined;
4054
+ } | {
4055
+ type: "IntegrationFields";
4056
+ fieldset?: string | null | undefined;
4057
+ config?: {
4058
+ label?: string | null | undefined;
4059
+ placeholder?: string | undefined;
4060
+ catalog?: string | undefined;
4061
+ } | undefined;
4062
+ } | {
4063
+ type: "Link";
4064
+ fieldset?: string | null | undefined;
4065
+ config?: {
4066
+ label?: string | null | undefined;
4067
+ useAsTitle?: boolean | undefined;
4068
+ placeholder?: string | undefined;
4069
+ select?: "media" | "document" | "web" | null | undefined;
4070
+ customtypes?: (string | {
4071
+ id: string;
4072
+ fields: (string | {
4073
+ id: string;
4074
+ customtypes: (string | {
4075
+ id: string;
4076
+ fields: (string | {
4077
+ id: string;
4078
+ fields: string[];
4079
+ })[];
4080
+ })[];
4081
+ } | {
4082
+ id: string;
4083
+ fields: (string | {
4084
+ id: string;
4085
+ customtypes: (string | {
4086
+ id: string;
4087
+ fields: (string | {
4088
+ id: string;
4089
+ fields: string[];
4090
+ })[];
4091
+ })[];
4092
+ })[];
4093
+ })[];
4094
+ })[] | undefined;
4095
+ masks?: string[] | undefined;
4096
+ tags?: string[] | undefined;
4097
+ allowTargetBlank?: boolean | undefined;
4098
+ allowText?: boolean | undefined;
4099
+ repeat?: boolean | undefined;
4100
+ variants?: string[] | undefined;
4101
+ } | undefined;
4102
+ } | {
4103
+ type: "Number";
4104
+ fieldset?: string | null | undefined;
4105
+ config?: {
4106
+ label?: string | null | undefined;
4107
+ placeholder?: string | undefined;
4108
+ min?: number | undefined;
4109
+ max?: number | undefined;
4110
+ step?: number | undefined;
4111
+ } | undefined;
4112
+ } | {
4113
+ type: "Range";
4114
+ fieldset?: string | null | undefined;
4115
+ config?: {
4116
+ label?: string | null | undefined;
4117
+ placeholder?: string | undefined;
4118
+ min?: number | undefined;
4119
+ max?: number | undefined;
4120
+ step?: number | undefined;
4121
+ } | undefined;
4122
+ } | {
4123
+ type: "StructuredText";
4124
+ fieldset?: string | null | undefined;
4125
+ config?: {
4126
+ label?: string | null | undefined;
4127
+ placeholder?: string | undefined;
4128
+ useAsTitle?: boolean | undefined;
4129
+ single?: string | undefined;
4130
+ multi?: string | undefined;
4131
+ imageConstraint?: {
4132
+ width?: number | null | undefined;
4133
+ height?: number | null | undefined;
4134
+ } | undefined;
4135
+ labels?: string[] | undefined;
4136
+ allowTargetBlank?: boolean | undefined;
4137
+ } | undefined;
4138
+ } | {
4139
+ type: "Select";
4140
+ fieldset?: string | null | undefined;
4141
+ config?: {
4142
+ label?: string | null | undefined;
4143
+ placeholder?: string | undefined;
4144
+ default_value?: string | undefined;
4145
+ options?: string[] | undefined;
4146
+ } | undefined;
4147
+ } | {
4148
+ type: "Separator";
4149
+ config?: {
4150
+ label?: string | null | undefined;
4151
+ } | undefined;
4152
+ } | {
4153
+ type: "Table";
4154
+ config?: {
4155
+ label?: string | null | undefined;
4156
+ } | undefined;
4157
+ } | {
4158
+ type: "Text";
4159
+ fieldset?: string | null | undefined;
4160
+ config?: {
4161
+ label?: string | null | undefined;
4162
+ useAsTitle?: boolean | undefined;
4163
+ placeholder?: string | undefined;
4164
+ } | undefined;
4165
+ } | {
4166
+ type: "Timestamp";
4167
+ fieldset?: string | null | undefined;
4168
+ config?: {
4169
+ label?: string | null | undefined;
4170
+ placeholder?: string | undefined;
4171
+ default?: string | undefined;
4172
+ } | undefined;
4173
+ }> | undefined;
4174
+ repeat?: Record<string, {
4175
+ type: "Boolean";
4176
+ config?: {
4177
+ label?: string | null | undefined;
4178
+ default_value?: boolean | undefined;
4179
+ placeholder_true?: string | undefined;
4180
+ placeholder_false?: string | undefined;
4181
+ } | undefined;
4182
+ } | {
4183
+ type: "Color";
4184
+ fieldset?: string | null | undefined;
4185
+ config?: {
4186
+ label?: string | null | undefined;
4187
+ placeholder?: string | undefined;
4188
+ } | undefined;
4189
+ } | {
4190
+ type: "Date";
4191
+ fieldset?: string | null | undefined;
4192
+ config?: {
4193
+ label?: string | null | undefined;
4194
+ placeholder?: string | undefined;
4195
+ default?: string | undefined;
4196
+ } | undefined;
4197
+ } | {
4198
+ type: "Embed";
4199
+ fieldset?: string | null | undefined;
4200
+ config?: {
4201
+ label?: string | null | undefined;
4202
+ placeholder?: string | undefined;
4203
+ useAsTitle?: boolean | undefined;
4204
+ } | undefined;
4205
+ } | {
4206
+ type: "GeoPoint";
4207
+ fieldset?: string | null | undefined;
4208
+ config?: {
4209
+ label?: string | null | undefined;
4210
+ } | undefined;
4211
+ } | {
4212
+ type: "Image";
4213
+ fieldset?: string | null | undefined;
4214
+ config?: {
4215
+ label?: string | null | undefined;
4216
+ placeholder?: string | undefined;
4217
+ constraint?: {
4218
+ width?: number | null | undefined;
4219
+ height?: number | null | undefined;
4220
+ } | undefined;
4221
+ thumbnails?: {
4222
+ name: string;
4223
+ width?: number | null | undefined;
4224
+ height?: number | null | undefined;
4225
+ }[] | undefined;
4226
+ } | undefined;
4227
+ } | {
4228
+ type: "IntegrationFields";
4229
+ fieldset?: string | null | undefined;
4230
+ config?: {
4231
+ label?: string | null | undefined;
4232
+ placeholder?: string | undefined;
4233
+ catalog?: string | undefined;
4234
+ } | undefined;
4235
+ } | {
4236
+ type: "Link";
4237
+ fieldset?: string | null | undefined;
4238
+ config?: {
4239
+ label?: string | null | undefined;
4240
+ useAsTitle?: boolean | undefined;
4241
+ placeholder?: string | undefined;
4242
+ select?: "media" | "document" | "web" | null | undefined;
4243
+ customtypes?: (string | {
4244
+ id: string;
4245
+ fields: (string | {
4246
+ id: string;
4247
+ customtypes: (string | {
4248
+ id: string;
4249
+ fields: (string | {
4250
+ id: string;
4251
+ fields: string[];
4252
+ })[];
4253
+ })[];
4254
+ } | {
4255
+ id: string;
4256
+ fields: (string | {
4257
+ id: string;
4258
+ customtypes: (string | {
4259
+ id: string;
4260
+ fields: (string | {
4261
+ id: string;
4262
+ fields: string[];
4263
+ })[];
4264
+ })[];
4265
+ })[];
4266
+ })[];
4267
+ })[] | undefined;
4268
+ masks?: string[] | undefined;
4269
+ tags?: string[] | undefined;
4270
+ allowTargetBlank?: boolean | undefined;
4271
+ allowText?: boolean | undefined;
4272
+ repeat?: boolean | undefined;
4273
+ variants?: string[] | undefined;
4274
+ } | undefined;
4275
+ } | {
4276
+ type: "Number";
4277
+ fieldset?: string | null | undefined;
4278
+ config?: {
4279
+ label?: string | null | undefined;
4280
+ placeholder?: string | undefined;
4281
+ min?: number | undefined;
4282
+ max?: number | undefined;
4283
+ step?: number | undefined;
4284
+ } | undefined;
4285
+ } | {
4286
+ type: "Range";
4287
+ fieldset?: string | null | undefined;
4288
+ config?: {
4289
+ label?: string | null | undefined;
4290
+ placeholder?: string | undefined;
4291
+ min?: number | undefined;
4292
+ max?: number | undefined;
4293
+ step?: number | undefined;
4294
+ } | undefined;
4295
+ } | {
4296
+ type: "StructuredText";
4297
+ fieldset?: string | null | undefined;
4298
+ config?: {
4299
+ label?: string | null | undefined;
4300
+ placeholder?: string | undefined;
4301
+ useAsTitle?: boolean | undefined;
4302
+ single?: string | undefined;
4303
+ multi?: string | undefined;
4304
+ imageConstraint?: {
4305
+ width?: number | null | undefined;
4306
+ height?: number | null | undefined;
4307
+ } | undefined;
4308
+ labels?: string[] | undefined;
4309
+ allowTargetBlank?: boolean | undefined;
4310
+ } | undefined;
4311
+ } | {
4312
+ type: "Select";
4313
+ fieldset?: string | null | undefined;
4314
+ config?: {
4315
+ label?: string | null | undefined;
4316
+ placeholder?: string | undefined;
4317
+ default_value?: string | undefined;
4318
+ options?: string[] | undefined;
4319
+ } | undefined;
4320
+ } | {
4321
+ type: "Separator";
4322
+ config?: {
4323
+ label?: string | null | undefined;
4324
+ } | undefined;
4325
+ } | {
4326
+ type: "Table";
4327
+ config?: {
4328
+ label?: string | null | undefined;
4329
+ } | undefined;
4330
+ } | {
4331
+ type: "Text";
4332
+ fieldset?: string | null | undefined;
4333
+ config?: {
4334
+ label?: string | null | undefined;
4335
+ useAsTitle?: boolean | undefined;
4336
+ placeholder?: string | undefined;
4337
+ } | undefined;
4338
+ } | {
4339
+ type: "Timestamp";
4340
+ fieldset?: string | null | undefined;
4341
+ config?: {
4342
+ label?: string | null | undefined;
4343
+ placeholder?: string | undefined;
4344
+ default?: string | undefined;
4345
+ } | undefined;
4346
+ }> | undefined;
4347
+ config?: {
4348
+ label?: string | null | undefined;
4349
+ } | undefined;
4350
+ }, {
4351
+ type: "Slice";
4352
+ fieldset?: string | null | undefined;
4353
+ description?: string | undefined;
4354
+ icon?: string | undefined;
4355
+ display?: string | undefined;
4356
+ "non-repeat"?: Record<string, {
4357
+ type: "Boolean";
4358
+ config?: {
4359
+ label?: string | null | undefined;
4360
+ default_value?: boolean | undefined;
4361
+ placeholder_true?: string | undefined;
4362
+ placeholder_false?: string | undefined;
4363
+ } | undefined;
4364
+ } | {
4365
+ type: "Color";
4366
+ fieldset?: string | null | undefined;
4367
+ config?: {
4368
+ label?: string | null | undefined;
4369
+ placeholder?: string | undefined;
4370
+ } | undefined;
4371
+ } | {
4372
+ type: "Date";
4373
+ fieldset?: string | null | undefined;
4374
+ config?: {
4375
+ label?: string | null | undefined;
4376
+ placeholder?: string | undefined;
4377
+ default?: string | undefined;
4378
+ } | undefined;
4379
+ } | {
4380
+ type: "Embed";
4381
+ fieldset?: string | null | undefined;
4382
+ config?: {
4383
+ label?: string | null | undefined;
4384
+ placeholder?: string | undefined;
4385
+ useAsTitle?: boolean | undefined;
4386
+ } | undefined;
4387
+ } | {
4388
+ type: "GeoPoint";
4389
+ fieldset?: string | null | undefined;
4390
+ config?: {
4391
+ label?: string | null | undefined;
4392
+ } | undefined;
4393
+ } | {
4394
+ type: "Image";
4395
+ fieldset?: string | null | undefined;
4396
+ config?: {
4397
+ label?: string | null | undefined;
4398
+ placeholder?: string | undefined;
4399
+ constraint?: {
4400
+ width?: number | null | undefined;
4401
+ height?: number | null | undefined;
4402
+ } | undefined;
4403
+ thumbnails?: {
4404
+ name: string;
4405
+ width?: number | null | undefined;
4406
+ height?: number | null | undefined;
4407
+ }[] | undefined;
4408
+ } | undefined;
4409
+ } | {
4410
+ type: "IntegrationFields";
4411
+ fieldset?: string | null | undefined;
4412
+ config?: {
4413
+ label?: string | null | undefined;
4414
+ placeholder?: string | undefined;
4415
+ catalog?: string | undefined;
4416
+ } | undefined;
4417
+ } | {
4418
+ type: "Link";
4419
+ fieldset?: string | null | undefined;
4420
+ config?: {
4421
+ label?: string | null | undefined;
4422
+ useAsTitle?: boolean | undefined;
4423
+ placeholder?: string | undefined;
4424
+ select?: "media" | "document" | "web" | null | undefined;
4425
+ customtypes?: (string | {
4426
+ id: string;
4427
+ fields: (string | {
4428
+ id: string;
4429
+ customtypes: (string | {
4430
+ id: string;
4431
+ fields: (string | {
4432
+ id: string;
4433
+ fields: string[];
4434
+ })[];
4435
+ })[];
4436
+ } | {
4437
+ id: string;
4438
+ fields: (string | {
4439
+ id: string;
4440
+ customtypes: (string | {
4441
+ id: string;
4442
+ fields: (string | {
4443
+ id: string;
4444
+ fields: string[];
4445
+ })[];
4446
+ })[];
4447
+ })[];
4448
+ })[];
4449
+ })[] | undefined;
4450
+ masks?: string[] | undefined;
4451
+ tags?: string[] | undefined;
4452
+ allowTargetBlank?: boolean | undefined;
4453
+ allowText?: boolean | undefined;
4454
+ repeat?: boolean | undefined;
4455
+ variants?: string[] | undefined;
4456
+ } | undefined;
4457
+ } | {
4458
+ type: "Number";
4459
+ fieldset?: string | null | undefined;
4460
+ config?: {
4461
+ label?: string | null | undefined;
4462
+ placeholder?: string | undefined;
4463
+ min?: number | undefined;
4464
+ max?: number | undefined;
4465
+ step?: number | undefined;
4466
+ } | undefined;
4467
+ } | {
4468
+ type: "Range";
4469
+ fieldset?: string | null | undefined;
4470
+ config?: {
4471
+ label?: string | null | undefined;
4472
+ placeholder?: string | undefined;
4473
+ min?: number | undefined;
4474
+ max?: number | undefined;
4475
+ step?: number | undefined;
4476
+ } | undefined;
4477
+ } | {
4478
+ type: "StructuredText";
4479
+ fieldset?: string | null | undefined;
4480
+ config?: {
4481
+ label?: string | null | undefined;
4482
+ placeholder?: string | undefined;
4483
+ useAsTitle?: boolean | undefined;
4484
+ single?: string | undefined;
4485
+ multi?: string | undefined;
4486
+ imageConstraint?: {
4487
+ width?: number | null | undefined;
4488
+ height?: number | null | undefined;
4489
+ } | undefined;
4490
+ labels?: string[] | undefined;
4491
+ allowTargetBlank?: boolean | undefined;
4492
+ } | undefined;
4493
+ } | {
4494
+ type: "Select";
4495
+ fieldset?: string | null | undefined;
4496
+ config?: {
4497
+ label?: string | null | undefined;
4498
+ placeholder?: string | undefined;
4499
+ default_value?: string | undefined;
4500
+ options?: string[] | undefined;
4501
+ } | undefined;
4502
+ } | {
4503
+ type: "Separator";
4504
+ config?: {
4505
+ label?: string | null | undefined;
4506
+ } | undefined;
4507
+ } | {
4508
+ type: "Table";
4509
+ config?: {
4510
+ label?: string | null | undefined;
4511
+ } | undefined;
4512
+ } | {
4513
+ type: "Text";
4514
+ fieldset?: string | null | undefined;
4515
+ config?: {
4516
+ label?: string | null | undefined;
4517
+ useAsTitle?: boolean | undefined;
4518
+ placeholder?: string | undefined;
4519
+ } | undefined;
4520
+ } | {
4521
+ type: "Timestamp";
4522
+ fieldset?: string | null | undefined;
4523
+ config?: {
4524
+ label?: string | null | undefined;
4525
+ placeholder?: string | undefined;
4526
+ default?: string | undefined;
4527
+ } | undefined;
4528
+ }> | undefined;
4529
+ repeat?: Record<string, {
4530
+ type: "Boolean";
4531
+ config?: {
4532
+ label?: string | null | undefined;
4533
+ default_value?: boolean | undefined;
4534
+ placeholder_true?: string | undefined;
4535
+ placeholder_false?: string | undefined;
4536
+ } | undefined;
4537
+ } | {
4538
+ type: "Color";
4539
+ fieldset?: string | null | undefined;
4540
+ config?: {
4541
+ label?: string | null | undefined;
4542
+ placeholder?: string | undefined;
4543
+ } | undefined;
4544
+ } | {
4545
+ type: "Date";
4546
+ fieldset?: string | null | undefined;
4547
+ config?: {
4548
+ label?: string | null | undefined;
4549
+ placeholder?: string | undefined;
4550
+ default?: string | undefined;
4551
+ } | undefined;
4552
+ } | {
4553
+ type: "Embed";
4554
+ fieldset?: string | null | undefined;
4555
+ config?: {
4556
+ label?: string | null | undefined;
4557
+ placeholder?: string | undefined;
4558
+ useAsTitle?: boolean | undefined;
4559
+ } | undefined;
4560
+ } | {
4561
+ type: "GeoPoint";
4562
+ fieldset?: string | null | undefined;
4563
+ config?: {
4564
+ label?: string | null | undefined;
4565
+ } | undefined;
4566
+ } | {
4567
+ type: "Image";
4568
+ fieldset?: string | null | undefined;
4569
+ config?: {
4570
+ label?: string | null | undefined;
4571
+ placeholder?: string | undefined;
4572
+ constraint?: {
4573
+ width?: number | null | undefined;
4574
+ height?: number | null | undefined;
4575
+ } | undefined;
4576
+ thumbnails?: {
4577
+ name: string;
4578
+ width?: number | null | undefined;
4579
+ height?: number | null | undefined;
4580
+ }[] | undefined;
4581
+ } | undefined;
4582
+ } | {
4583
+ type: "IntegrationFields";
4584
+ fieldset?: string | null | undefined;
4585
+ config?: {
4586
+ label?: string | null | undefined;
4587
+ placeholder?: string | undefined;
4588
+ catalog?: string | undefined;
4589
+ } | undefined;
4590
+ } | {
4591
+ type: "Link";
4592
+ fieldset?: string | null | undefined;
4593
+ config?: {
4594
+ label?: string | null | undefined;
4595
+ useAsTitle?: boolean | undefined;
4596
+ placeholder?: string | undefined;
4597
+ select?: "media" | "document" | "web" | null | undefined;
4598
+ customtypes?: (string | {
4599
+ id: string;
4600
+ fields: (string | {
4601
+ id: string;
4602
+ customtypes: (string | {
4603
+ id: string;
4604
+ fields: (string | {
4605
+ id: string;
4606
+ fields: string[];
4607
+ })[];
4608
+ })[];
4609
+ } | {
4610
+ id: string;
4611
+ fields: (string | {
4612
+ id: string;
4613
+ customtypes: (string | {
4614
+ id: string;
4615
+ fields: (string | {
4616
+ id: string;
4617
+ fields: string[];
4618
+ })[];
4619
+ })[];
4620
+ })[];
4621
+ })[];
4622
+ })[] | undefined;
4623
+ masks?: string[] | undefined;
4624
+ tags?: string[] | undefined;
4625
+ allowTargetBlank?: boolean | undefined;
4626
+ allowText?: boolean | undefined;
4627
+ repeat?: boolean | undefined;
4628
+ variants?: string[] | undefined;
4629
+ } | undefined;
4630
+ } | {
4631
+ type: "Number";
4632
+ fieldset?: string | null | undefined;
4633
+ config?: {
4634
+ label?: string | null | undefined;
4635
+ placeholder?: string | undefined;
4636
+ min?: number | undefined;
4637
+ max?: number | undefined;
4638
+ step?: number | undefined;
4639
+ } | undefined;
4640
+ } | {
4641
+ type: "Range";
4642
+ fieldset?: string | null | undefined;
4643
+ config?: {
4644
+ label?: string | null | undefined;
4645
+ placeholder?: string | undefined;
4646
+ min?: number | undefined;
4647
+ max?: number | undefined;
4648
+ step?: number | undefined;
4649
+ } | undefined;
4650
+ } | {
4651
+ type: "StructuredText";
4652
+ fieldset?: string | null | undefined;
4653
+ config?: {
4654
+ label?: string | null | undefined;
4655
+ placeholder?: string | undefined;
4656
+ useAsTitle?: boolean | undefined;
4657
+ single?: string | undefined;
4658
+ multi?: string | undefined;
4659
+ imageConstraint?: {
4660
+ width?: number | null | undefined;
4661
+ height?: number | null | undefined;
4662
+ } | undefined;
4663
+ labels?: string[] | undefined;
4664
+ allowTargetBlank?: boolean | undefined;
4665
+ } | undefined;
4666
+ } | {
4667
+ type: "Select";
4668
+ fieldset?: string | null | undefined;
4669
+ config?: {
4670
+ label?: string | null | undefined;
4671
+ placeholder?: string | undefined;
4672
+ default_value?: string | undefined;
4673
+ options?: string[] | undefined;
4674
+ } | undefined;
4675
+ } | {
4676
+ type: "Separator";
4677
+ config?: {
4678
+ label?: string | null | undefined;
4679
+ } | undefined;
4680
+ } | {
4681
+ type: "Table";
4682
+ config?: {
4683
+ label?: string | null | undefined;
4684
+ } | undefined;
4685
+ } | {
4686
+ type: "Text";
4687
+ fieldset?: string | null | undefined;
4688
+ config?: {
4689
+ label?: string | null | undefined;
4690
+ useAsTitle?: boolean | undefined;
4691
+ placeholder?: string | undefined;
4692
+ } | undefined;
4693
+ } | {
4694
+ type: "Timestamp";
4695
+ fieldset?: string | null | undefined;
4696
+ config?: {
4697
+ label?: string | null | undefined;
4698
+ placeholder?: string | undefined;
4699
+ default?: string | undefined;
4700
+ } | undefined;
4701
+ }> | undefined;
4702
+ config?: {
4703
+ label?: string | null | undefined;
4704
+ } | undefined;
4705
+ }, unknown>;
4706
+ declare const LegacySliceModelSchema: t.Type<LegacySliceModel, LegacySliceModel, unknown>;
4707
+ declare const DynamicSliceModelSchema: t.Type<DynamicSliceModel, DynamicSliceModel, unknown>;
4708
+ declare const StaticSliceModelSchema: t.Type<StaticSliceModel, StaticSliceModel, unknown>;
4709
+ declare const SliceContentModelSchema: t.Type<SliceContentModel, SliceContentModel, unknown>;
4710
+ declare const DynamicSlicesModelSchema: t.Type<{
4711
+ type: "Slices" | "Choice";
4712
+ fieldset?: string | null | undefined;
4713
+ config?: {
4714
+ label?: string | null | undefined;
4715
+ labels?: Record<string, {
4716
+ name: string;
4717
+ display?: string | undefined;
4718
+ }[]> | null | undefined;
4719
+ choices?: Record<string, DynamicSliceModel> | undefined;
4720
+ } | undefined;
4721
+ }, {
4722
+ type: "Slices" | "Choice";
4723
+ fieldset?: string | null | undefined;
4724
+ config?: {
4725
+ label?: string | null | undefined;
4726
+ labels?: Record<string, {
4727
+ name: string;
4728
+ display?: string | undefined;
4729
+ }[]> | null | undefined;
4730
+ choices?: Record<string, DynamicSliceModel> | undefined;
4731
+ } | undefined;
4732
+ }, unknown>;
4733
+ declare const StaticSlicesModelSchema: t.Type<{
4734
+ type: "Slices" | "Choice";
4735
+ fieldset?: string | null | undefined;
4736
+ config?: {
4737
+ label?: string | null | undefined;
4738
+ labels?: Record<string, {
4739
+ name: string;
4740
+ display?: string | undefined;
4741
+ }[]> | null | undefined;
4742
+ choices?: Record<string, StaticSliceModel> | undefined;
4743
+ } | undefined;
4744
+ }, {
4745
+ type: "Slices" | "Choice";
4746
+ fieldset?: string | null | undefined;
4747
+ config?: {
4748
+ label?: string | null | undefined;
4749
+ labels?: Record<string, {
4750
+ name: string;
4751
+ display?: string | undefined;
4752
+ }[]> | null | undefined;
4753
+ choices?: Record<string, StaticSliceModel> | undefined;
4754
+ } | undefined;
4755
+ }, unknown>;
4756
+ declare const StaticWidgetModelSchema: t.Type<StaticWidgetModel, StaticWidgetModel, unknown>;
4757
+ declare const DynamicWidgetModelSchema: t.Type<DynamicWidgetModel, DynamicWidgetModel, unknown>;
4758
+ declare const StaticSectionModelSchema: t.Type<Record<string, StaticWidgetModel>, Record<string, StaticWidgetModel>, unknown>;
4759
+ declare const DynamicSectionModelSchema: t.Type<Record<string, DynamicWidgetModel>, Record<string, DynamicWidgetModel>, unknown>;
4760
+ declare const StaticCustomTypeModelSchema: t.Type<{
4761
+ id: string;
4762
+ repeatable: boolean;
4763
+ json: Record<string, Record<string, StaticWidgetModel>>;
4764
+ status: boolean;
4765
+ format: "custom" | "page";
4766
+ label?: string | null | undefined;
4767
+ }, {
4768
+ id: string;
4769
+ repeatable: boolean;
4770
+ json: Record<string, Record<string, StaticWidgetModel>>;
4771
+ status: boolean;
4772
+ format: "custom" | "page";
4773
+ label?: string | null | undefined;
4774
+ }, unknown>;
4775
+ declare const CustomTypeModelSchema: t.Type<{
4776
+ id: string;
4777
+ repeatable: boolean;
4778
+ json: Record<string, Record<string, DynamicWidgetModel>>;
4779
+ status: boolean;
4780
+ format: "custom" | "page";
4781
+ label?: string | null | undefined;
4782
+ }, {
4783
+ id: string;
4784
+ repeatable: boolean;
4785
+ json: Record<string, Record<string, DynamicWidgetModel>>;
4786
+ status: boolean;
4787
+ format: "custom" | "page";
4788
+ label?: string | null | undefined;
4789
+ }, unknown>;
4790
+ //#endregion
4791
+ export { AssetSchema, BooleanContentSchema, BooleanLegacy, BooleanModelSchema, ColorContentSchema, ColorLegacy, ColorModelSchema, CompositeSliceContentSchema, CompositeSliceItemContentSchema, CompositeSliceLegacy, CompositeSliceModelSchema, CustomTypeModelSchema, DateContentSchema, DateLegacy, DateModelSchema, DocumentContentSchema, DocumentLegacy, DynamicSectionModelSchema, 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, StaticSectionModelSchema, StaticSliceModelSchema, StaticSlicesModelSchema, StaticWidgetModelSchema, TableContentSchema, TableLegacy, TableModelSchema, TextContentSchema, TextLegacy, TextModelSchema, TimestampContentSchema, TimestampLegacy, TimestampModelSchema, UIDContentSchema, UIDLegacy, UIDModelSchema, WidgetContentSchema, WidgetKeySchema, WidgetLegacy };
4792
+ //# sourceMappingURL=io-ts.d.ts.map