@prismicio/types-internal 3.17.0-alpha.2 → 3.17.0-pr.144.0c8207f

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 (1095) hide show
  1. package/README.md +36 -20
  2. package/dist/_virtual/_rolldown/runtime.cjs +43 -0
  3. package/dist/_virtual/_rolldown/runtime.js +18 -0
  4. package/dist/common/Asset.cjs +11 -0
  5. package/dist/common/Asset.cjs.map +1 -0
  6. package/dist/common/Asset.d.cts +20 -0
  7. package/dist/common/Asset.d.cts.map +1 -0
  8. package/dist/common/Asset.d.ts +20 -0
  9. package/dist/common/Asset.d.ts.map +1 -0
  10. package/dist/common/Asset.js +10 -0
  11. package/dist/common/Asset.js.map +1 -0
  12. package/dist/common/Embed.cjs +11 -0
  13. package/dist/common/Embed.cjs.map +1 -0
  14. package/dist/common/Embed.d.cts +19 -0
  15. package/dist/common/Embed.d.cts.map +1 -0
  16. package/dist/common/Embed.d.ts +19 -0
  17. package/dist/common/Embed.d.ts.map +1 -0
  18. package/dist/common/Embed.js +10 -0
  19. package/dist/common/Embed.js.map +1 -0
  20. package/dist/common/HexaColorCode.cjs +15 -0
  21. package/dist/common/HexaColorCode.cjs.map +1 -0
  22. package/dist/common/HexaColorCode.d.cts +10 -0
  23. package/dist/common/HexaColorCode.d.cts.map +1 -0
  24. package/dist/common/HexaColorCode.d.ts +10 -0
  25. package/dist/common/HexaColorCode.d.ts.map +1 -0
  26. package/dist/common/HexaColorCode.js +10 -0
  27. package/dist/common/HexaColorCode.js.map +1 -0
  28. package/dist/common/UUID.cjs +11 -0
  29. package/dist/common/UUID.cjs.map +1 -0
  30. package/dist/common/UUID.js +9 -0
  31. package/dist/common/UUID.js.map +1 -0
  32. package/dist/common/WidgetKey.cjs +12 -0
  33. package/dist/common/WidgetKey.cjs.map +1 -0
  34. package/dist/common/WidgetKey.d.cts +8 -0
  35. package/dist/common/WidgetKey.d.cts.map +1 -0
  36. package/dist/common/WidgetKey.d.ts +8 -0
  37. package/dist/common/WidgetKey.d.ts.map +1 -0
  38. package/dist/common/WidgetKey.js +10 -0
  39. package/dist/common/WidgetKey.js.map +1 -0
  40. package/dist/common/index.cjs +20 -0
  41. package/dist/common/index.cjs.map +1 -0
  42. package/dist/common/index.d.cts +11 -0
  43. package/dist/common/index.d.cts.map +1 -0
  44. package/dist/common/index.d.ts +11 -0
  45. package/dist/common/index.d.ts.map +1 -0
  46. package/dist/common/index.js +15 -0
  47. package/dist/common/index.js.map +1 -0
  48. package/dist/content/Document.cjs +323 -0
  49. package/dist/content/Document.cjs.map +1 -0
  50. package/dist/content/Document.d.cts +11819 -0
  51. package/dist/content/Document.d.cts.map +1 -0
  52. package/dist/content/Document.d.ts +11822 -0
  53. package/dist/content/Document.d.ts.map +1 -0
  54. package/dist/content/Document.js +315 -0
  55. package/dist/content/Document.js.map +1 -0
  56. package/dist/content/LegacyContentCtx.cjs +79 -0
  57. package/dist/content/LegacyContentCtx.cjs.map +1 -0
  58. package/dist/content/LegacyContentCtx.d.cts +80 -0
  59. package/dist/content/LegacyContentCtx.d.cts.map +1 -0
  60. package/dist/content/LegacyContentCtx.d.ts +80 -0
  61. package/dist/content/LegacyContentCtx.d.ts.map +1 -0
  62. package/dist/content/LegacyContentCtx.js +74 -0
  63. package/dist/content/LegacyContentCtx.js.map +1 -0
  64. package/dist/content/fields/EmptyContent.cjs +31 -0
  65. package/dist/content/fields/EmptyContent.cjs.map +1 -0
  66. package/dist/content/fields/EmptyContent.d.cts +18 -0
  67. package/dist/content/fields/EmptyContent.d.cts.map +1 -0
  68. package/dist/content/fields/EmptyContent.d.ts +18 -0
  69. package/dist/content/fields/EmptyContent.d.ts.map +1 -0
  70. package/dist/content/fields/EmptyContent.js +26 -0
  71. package/dist/content/fields/EmptyContent.js.map +1 -0
  72. package/dist/content/fields/GroupContent.cjs +304 -0
  73. package/dist/content/fields/GroupContent.cjs.map +1 -0
  74. package/dist/content/fields/GroupContent.d.cts +77 -0
  75. package/dist/content/fields/GroupContent.d.cts.map +1 -0
  76. package/dist/content/fields/GroupContent.d.ts +79 -0
  77. package/dist/content/fields/GroupContent.d.ts.map +1 -0
  78. package/dist/content/fields/GroupContent.js +289 -0
  79. package/dist/content/fields/GroupContent.js.map +1 -0
  80. package/dist/content/fields/UIDContent.cjs +34 -0
  81. package/dist/content/fields/UIDContent.cjs.map +1 -0
  82. package/dist/content/fields/UIDContent.d.cts +18 -0
  83. package/dist/content/fields/UIDContent.d.cts.map +1 -0
  84. package/dist/content/fields/UIDContent.d.ts +18 -0
  85. package/dist/content/fields/UIDContent.d.ts.map +1 -0
  86. package/dist/content/fields/UIDContent.js +29 -0
  87. package/dist/content/fields/UIDContent.js.map +1 -0
  88. package/dist/content/fields/WidgetContent.cjs +50 -0
  89. package/dist/content/fields/WidgetContent.cjs.map +1 -0
  90. package/dist/content/fields/WidgetContent.d.cts +8183 -0
  91. package/dist/content/fields/WidgetContent.d.cts.map +1 -0
  92. package/dist/content/fields/WidgetContent.d.ts +8183 -0
  93. package/dist/content/fields/WidgetContent.d.ts.map +1 -0
  94. package/dist/content/fields/WidgetContent.js +46 -0
  95. package/dist/content/fields/WidgetContent.js.map +1 -0
  96. package/dist/content/fields/index.cjs +34 -0
  97. package/dist/content/fields/index.d.ts +34 -0
  98. package/dist/content/fields/index.js +34 -0
  99. package/dist/content/fields/nestable/BooleanContent.cjs +39 -0
  100. package/dist/content/fields/nestable/BooleanContent.cjs.map +1 -0
  101. package/dist/content/fields/nestable/BooleanContent.d.cts +20 -0
  102. package/dist/content/fields/nestable/BooleanContent.d.cts.map +1 -0
  103. package/dist/content/fields/nestable/BooleanContent.d.ts +21 -0
  104. package/dist/content/fields/nestable/BooleanContent.d.ts.map +1 -0
  105. package/dist/content/fields/nestable/BooleanContent.js +33 -0
  106. package/dist/content/fields/nestable/BooleanContent.js.map +1 -0
  107. package/dist/content/fields/nestable/EmbedContent.cjs +63 -0
  108. package/dist/content/fields/nestable/EmbedContent.cjs.map +1 -0
  109. package/dist/content/fields/nestable/EmbedContent.d.cts +65 -0
  110. package/dist/content/fields/nestable/EmbedContent.d.cts.map +1 -0
  111. package/dist/content/fields/nestable/EmbedContent.d.ts +65 -0
  112. package/dist/content/fields/nestable/EmbedContent.d.ts.map +1 -0
  113. package/dist/content/fields/nestable/EmbedContent.js +57 -0
  114. package/dist/content/fields/nestable/EmbedContent.js.map +1 -0
  115. package/dist/content/fields/nestable/FieldContent/ColorContent.cjs +38 -0
  116. package/dist/content/fields/nestable/FieldContent/ColorContent.cjs.map +1 -0
  117. package/dist/content/fields/nestable/FieldContent/ColorContent.d.cts +19 -0
  118. package/dist/content/fields/nestable/FieldContent/ColorContent.d.cts.map +1 -0
  119. package/dist/content/fields/nestable/FieldContent/ColorContent.d.ts +19 -0
  120. package/dist/content/fields/nestable/FieldContent/ColorContent.d.ts.map +1 -0
  121. package/dist/content/fields/nestable/FieldContent/ColorContent.js +34 -0
  122. package/dist/content/fields/nestable/FieldContent/ColorContent.js.map +1 -0
  123. package/dist/content/fields/nestable/FieldContent/DateContent.cjs +38 -0
  124. package/dist/content/fields/nestable/FieldContent/DateContent.cjs.map +1 -0
  125. package/dist/content/fields/nestable/FieldContent/DateContent.d.cts +19 -0
  126. package/dist/content/fields/nestable/FieldContent/DateContent.d.cts.map +1 -0
  127. package/dist/content/fields/nestable/FieldContent/DateContent.d.ts +19 -0
  128. package/dist/content/fields/nestable/FieldContent/DateContent.d.ts.map +1 -0
  129. package/dist/content/fields/nestable/FieldContent/DateContent.js +34 -0
  130. package/dist/content/fields/nestable/FieldContent/DateContent.js.map +1 -0
  131. package/dist/content/fields/nestable/FieldContent/NumberContent.cjs +38 -0
  132. package/dist/content/fields/nestable/FieldContent/NumberContent.cjs.map +1 -0
  133. package/dist/content/fields/nestable/FieldContent/NumberContent.d.cts +19 -0
  134. package/dist/content/fields/nestable/FieldContent/NumberContent.d.cts.map +1 -0
  135. package/dist/content/fields/nestable/FieldContent/NumberContent.d.ts +19 -0
  136. package/dist/content/fields/nestable/FieldContent/NumberContent.d.ts.map +1 -0
  137. package/dist/content/fields/nestable/FieldContent/NumberContent.js +34 -0
  138. package/dist/content/fields/nestable/FieldContent/NumberContent.js.map +1 -0
  139. package/dist/content/fields/nestable/FieldContent/RangeContent.cjs +38 -0
  140. package/dist/content/fields/nestable/FieldContent/RangeContent.cjs.map +1 -0
  141. package/dist/content/fields/nestable/FieldContent/RangeContent.d.cts +19 -0
  142. package/dist/content/fields/nestable/FieldContent/RangeContent.d.cts.map +1 -0
  143. package/dist/content/fields/nestable/FieldContent/RangeContent.d.ts +19 -0
  144. package/dist/content/fields/nestable/FieldContent/RangeContent.d.ts.map +1 -0
  145. package/dist/content/fields/nestable/FieldContent/RangeContent.js +34 -0
  146. package/dist/content/fields/nestable/FieldContent/RangeContent.js.map +1 -0
  147. package/dist/content/fields/nestable/FieldContent/SelectContent.cjs +44 -0
  148. package/dist/content/fields/nestable/FieldContent/SelectContent.cjs.map +1 -0
  149. package/dist/content/fields/nestable/FieldContent/SelectContent.d.cts +21 -0
  150. package/dist/content/fields/nestable/FieldContent/SelectContent.d.cts.map +1 -0
  151. package/dist/content/fields/nestable/FieldContent/SelectContent.d.ts +22 -0
  152. package/dist/content/fields/nestable/FieldContent/SelectContent.d.ts.map +1 -0
  153. package/dist/content/fields/nestable/FieldContent/SelectContent.js +39 -0
  154. package/dist/content/fields/nestable/FieldContent/SelectContent.js.map +1 -0
  155. package/dist/content/fields/nestable/FieldContent/TextContent.cjs +38 -0
  156. package/dist/content/fields/nestable/FieldContent/TextContent.cjs.map +1 -0
  157. package/dist/content/fields/nestable/FieldContent/TextContent.d.cts +19 -0
  158. package/dist/content/fields/nestable/FieldContent/TextContent.d.cts.map +1 -0
  159. package/dist/content/fields/nestable/FieldContent/TextContent.d.ts +19 -0
  160. package/dist/content/fields/nestable/FieldContent/TextContent.d.ts.map +1 -0
  161. package/dist/content/fields/nestable/FieldContent/TextContent.js +34 -0
  162. package/dist/content/fields/nestable/FieldContent/TextContent.js.map +1 -0
  163. package/dist/content/fields/nestable/FieldContent/TimestampContent.cjs +38 -0
  164. package/dist/content/fields/nestable/FieldContent/TimestampContent.cjs.map +1 -0
  165. package/dist/content/fields/nestable/FieldContent/TimestampContent.d.cts +19 -0
  166. package/dist/content/fields/nestable/FieldContent/TimestampContent.d.cts.map +1 -0
  167. package/dist/content/fields/nestable/FieldContent/TimestampContent.d.ts +19 -0
  168. package/dist/content/fields/nestable/FieldContent/TimestampContent.d.ts.map +1 -0
  169. package/dist/content/fields/nestable/FieldContent/TimestampContent.js +34 -0
  170. package/dist/content/fields/nestable/FieldContent/TimestampContent.js.map +1 -0
  171. package/dist/content/fields/nestable/FieldContent/common.cjs +7 -0
  172. package/dist/content/fields/nestable/FieldContent/common.cjs.map +1 -0
  173. package/dist/content/fields/nestable/FieldContent/common.d.cts +5 -0
  174. package/dist/content/fields/nestable/FieldContent/common.d.cts.map +1 -0
  175. package/dist/content/fields/nestable/FieldContent/common.d.ts +5 -0
  176. package/dist/content/fields/nestable/FieldContent/common.d.ts.map +1 -0
  177. package/dist/content/fields/nestable/FieldContent/common.js +6 -0
  178. package/dist/content/fields/nestable/FieldContent/common.js.map +1 -0
  179. package/dist/content/fields/nestable/FieldContent/index.cjs +36 -0
  180. package/dist/content/fields/nestable/FieldContent/index.cjs.map +1 -0
  181. package/dist/content/fields/nestable/FieldContent/index.d.cts +54 -0
  182. package/dist/content/fields/nestable/FieldContent/index.d.cts.map +1 -0
  183. package/dist/content/fields/nestable/FieldContent/index.d.ts +54 -0
  184. package/dist/content/fields/nestable/FieldContent/index.d.ts.map +1 -0
  185. package/dist/content/fields/nestable/FieldContent/index.js +33 -0
  186. package/dist/content/fields/nestable/FieldContent/index.js.map +1 -0
  187. package/dist/content/fields/nestable/GeoPointContent.cjs +33 -0
  188. package/dist/content/fields/nestable/GeoPointContent.cjs.map +1 -0
  189. package/dist/content/fields/nestable/GeoPointContent.d.cts +31 -0
  190. package/dist/content/fields/nestable/GeoPointContent.d.cts.map +1 -0
  191. package/dist/content/fields/nestable/GeoPointContent.d.ts +31 -0
  192. package/dist/content/fields/nestable/GeoPointContent.d.ts.map +1 -0
  193. package/dist/content/fields/nestable/GeoPointContent.js +28 -0
  194. package/dist/content/fields/nestable/GeoPointContent.js.map +1 -0
  195. package/dist/content/fields/nestable/ImageContent.cjs +119 -0
  196. package/dist/content/fields/nestable/ImageContent.cjs.map +1 -0
  197. package/dist/content/fields/nestable/ImageContent.d.cts +208 -0
  198. package/dist/content/fields/nestable/ImageContent.d.cts.map +1 -0
  199. package/dist/content/fields/nestable/ImageContent.d.ts +208 -0
  200. package/dist/content/fields/nestable/ImageContent.d.ts.map +1 -0
  201. package/dist/content/fields/nestable/ImageContent.js +111 -0
  202. package/dist/content/fields/nestable/ImageContent.js.map +1 -0
  203. package/dist/content/fields/nestable/IntegrationFieldContent.cjs +34 -0
  204. package/dist/content/fields/nestable/IntegrationFieldContent.cjs.map +1 -0
  205. package/dist/content/fields/nestable/IntegrationFieldContent.d.cts +18 -0
  206. package/dist/content/fields/nestable/IntegrationFieldContent.d.cts.map +1 -0
  207. package/dist/content/fields/nestable/IntegrationFieldContent.d.ts +18 -0
  208. package/dist/content/fields/nestable/IntegrationFieldContent.d.ts.map +1 -0
  209. package/dist/content/fields/nestable/IntegrationFieldContent.js +29 -0
  210. package/dist/content/fields/nestable/IntegrationFieldContent.js.map +1 -0
  211. package/dist/content/fields/nestable/LinkContent.cjs +306 -0
  212. package/dist/content/fields/nestable/LinkContent.cjs.map +1 -0
  213. package/dist/content/fields/nestable/LinkContent.d.cts +785 -0
  214. package/dist/content/fields/nestable/LinkContent.d.cts.map +1 -0
  215. package/dist/content/fields/nestable/LinkContent.d.ts +785 -0
  216. package/dist/content/fields/nestable/LinkContent.d.ts.map +1 -0
  217. package/dist/content/fields/nestable/LinkContent.js +278 -0
  218. package/dist/content/fields/nestable/LinkContent.js.map +1 -0
  219. package/dist/content/fields/nestable/NestableContent.cjs +118 -0
  220. package/dist/content/fields/nestable/NestableContent.cjs.map +1 -0
  221. package/dist/content/fields/nestable/NestableContent.d.cts +1370 -0
  222. package/dist/content/fields/nestable/NestableContent.d.cts.map +1 -0
  223. package/dist/content/fields/nestable/NestableContent.d.ts +1371 -0
  224. package/dist/content/fields/nestable/NestableContent.d.ts.map +1 -0
  225. package/dist/content/fields/nestable/NestableContent.js +113 -0
  226. package/dist/content/fields/nestable/NestableContent.js.map +1 -0
  227. package/dist/content/fields/nestable/RepeatableContent.cjs +138 -0
  228. package/dist/content/fields/nestable/RepeatableContent.cjs.map +1 -0
  229. package/dist/content/fields/nestable/RepeatableContent.d.cts +120 -0
  230. package/dist/content/fields/nestable/RepeatableContent.d.cts.map +1 -0
  231. package/dist/content/fields/nestable/RepeatableContent.d.ts +121 -0
  232. package/dist/content/fields/nestable/RepeatableContent.d.ts.map +1 -0
  233. package/dist/content/fields/nestable/RepeatableContent.js +132 -0
  234. package/dist/content/fields/nestable/RepeatableContent.js.map +1 -0
  235. package/dist/content/fields/nestable/RichTextContent/Blocks.cjs +153 -0
  236. package/dist/content/fields/nestable/RichTextContent/Blocks.cjs.map +1 -0
  237. package/dist/content/fields/nestable/RichTextContent/Blocks.d.cts +1146 -0
  238. package/dist/content/fields/nestable/RichTextContent/Blocks.d.cts.map +1 -0
  239. package/dist/content/fields/nestable/RichTextContent/Blocks.d.ts +1146 -0
  240. package/dist/content/fields/nestable/RichTextContent/Blocks.d.ts.map +1 -0
  241. package/dist/content/fields/nestable/RichTextContent/Blocks.js +141 -0
  242. package/dist/content/fields/nestable/RichTextContent/Blocks.js.map +1 -0
  243. package/dist/content/fields/nestable/RichTextContent/index.cjs +37 -0
  244. package/dist/content/fields/nestable/RichTextContent/index.cjs.map +1 -0
  245. package/dist/content/fields/nestable/RichTextContent/index.d.cts +856 -0
  246. package/dist/content/fields/nestable/RichTextContent/index.d.cts.map +1 -0
  247. package/dist/content/fields/nestable/RichTextContent/index.d.ts +856 -0
  248. package/dist/content/fields/nestable/RichTextContent/index.d.ts.map +1 -0
  249. package/dist/content/fields/nestable/RichTextContent/index.js +31 -0
  250. package/dist/content/fields/nestable/RichTextContent/index.js.map +1 -0
  251. package/dist/content/fields/nestable/SeparatorContent.cjs +26 -0
  252. package/dist/content/fields/nestable/SeparatorContent.cjs.map +1 -0
  253. package/dist/content/fields/nestable/SeparatorContent.d.cts +16 -0
  254. package/dist/content/fields/nestable/SeparatorContent.d.cts.map +1 -0
  255. package/dist/content/fields/nestable/SeparatorContent.d.ts +16 -0
  256. package/dist/content/fields/nestable/SeparatorContent.d.ts.map +1 -0
  257. package/dist/content/fields/nestable/SeparatorContent.js +21 -0
  258. package/dist/content/fields/nestable/SeparatorContent.js.map +1 -0
  259. package/dist/content/fields/nestable/TableContent.cjs +148 -0
  260. package/dist/content/fields/nestable/TableContent.cjs.map +1 -0
  261. package/dist/content/fields/nestable/TableContent.d.cts +624 -0
  262. package/dist/content/fields/nestable/TableContent.d.cts.map +1 -0
  263. package/dist/content/fields/nestable/TableContent.d.ts +625 -0
  264. package/dist/content/fields/nestable/TableContent.d.ts.map +1 -0
  265. package/dist/content/fields/nestable/TableContent.js +141 -0
  266. package/dist/content/fields/nestable/TableContent.js.map +1 -0
  267. package/dist/content/fields/nestable/index.cjs +21 -0
  268. package/dist/content/fields/nestable/index.d.ts +21 -0
  269. package/dist/content/fields/nestable/index.js +21 -0
  270. package/dist/content/fields/slices/Slice/CompositeSliceContent.cjs +217 -0
  271. package/dist/content/fields/slices/Slice/CompositeSliceContent.cjs.map +1 -0
  272. package/dist/content/fields/slices/Slice/CompositeSliceContent.d.cts +2759 -0
  273. package/dist/content/fields/slices/Slice/CompositeSliceContent.d.cts.map +1 -0
  274. package/dist/content/fields/slices/Slice/CompositeSliceContent.d.ts +2760 -0
  275. package/dist/content/fields/slices/Slice/CompositeSliceContent.d.ts.map +1 -0
  276. package/dist/content/fields/slices/Slice/CompositeSliceContent.js +209 -0
  277. package/dist/content/fields/slices/Slice/CompositeSliceContent.js.map +1 -0
  278. package/dist/content/fields/slices/Slice/RepeatableContent.cjs +23 -0
  279. package/dist/content/fields/slices/Slice/RepeatableContent.cjs.map +1 -0
  280. package/dist/content/fields/slices/Slice/RepeatableContent.js +20 -0
  281. package/dist/content/fields/slices/Slice/RepeatableContent.js.map +1 -0
  282. package/dist/content/fields/slices/Slice/SharedSliceContent.cjs +243 -0
  283. package/dist/content/fields/slices/Slice/SharedSliceContent.cjs.map +1 -0
  284. package/dist/content/fields/slices/Slice/SharedSliceContent.d.cts +2760 -0
  285. package/dist/content/fields/slices/Slice/SharedSliceContent.d.cts.map +1 -0
  286. package/dist/content/fields/slices/Slice/SharedSliceContent.d.ts +2761 -0
  287. package/dist/content/fields/slices/Slice/SharedSliceContent.d.ts.map +1 -0
  288. package/dist/content/fields/slices/Slice/SharedSliceContent.js +236 -0
  289. package/dist/content/fields/slices/Slice/SharedSliceContent.js.map +1 -0
  290. package/dist/content/fields/slices/Slice/SimpleSliceContent.cjs +115 -0
  291. package/dist/content/fields/slices/Slice/SimpleSliceContent.cjs.map +1 -0
  292. package/dist/content/fields/slices/Slice/SimpleSliceContent.d.cts +1387 -0
  293. package/dist/content/fields/slices/Slice/SimpleSliceContent.d.cts.map +1 -0
  294. package/dist/content/fields/slices/Slice/SimpleSliceContent.d.ts +1388 -0
  295. package/dist/content/fields/slices/Slice/SimpleSliceContent.d.ts.map +1 -0
  296. package/dist/content/fields/slices/Slice/SimpleSliceContent.js +109 -0
  297. package/dist/content/fields/slices/Slice/SimpleSliceContent.js.map +1 -0
  298. package/dist/content/fields/slices/Slice/SlicePrimaryContent.cjs +32 -0
  299. package/dist/content/fields/slices/Slice/SlicePrimaryContent.cjs.map +1 -0
  300. package/dist/content/fields/slices/Slice/SlicePrimaryContent.d.cts +1369 -0
  301. package/dist/content/fields/slices/Slice/SlicePrimaryContent.d.cts.map +1 -0
  302. package/dist/content/fields/slices/Slice/SlicePrimaryContent.d.ts +1369 -0
  303. package/dist/content/fields/slices/Slice/SlicePrimaryContent.d.ts.map +1 -0
  304. package/dist/content/fields/slices/Slice/SlicePrimaryContent.js +28 -0
  305. package/dist/content/fields/slices/Slice/SlicePrimaryContent.js.map +1 -0
  306. package/dist/content/fields/slices/Slice/index.cjs +39 -0
  307. package/dist/content/fields/slices/Slice/index.cjs.map +1 -0
  308. package/dist/content/fields/slices/Slice/index.d.cts +6817 -0
  309. package/dist/content/fields/slices/Slice/index.d.cts.map +1 -0
  310. package/dist/content/fields/slices/Slice/index.d.ts +6818 -0
  311. package/dist/content/fields/slices/Slice/index.d.ts.map +1 -0
  312. package/dist/content/fields/slices/Slice/index.js +36 -0
  313. package/dist/content/fields/slices/Slice/index.js.map +1 -0
  314. package/dist/content/fields/slices/SliceItem.cjs +99 -0
  315. package/dist/content/fields/slices/SliceItem.cjs.map +1 -0
  316. package/dist/content/fields/slices/SliceItem.d.cts +6851 -0
  317. package/dist/content/fields/slices/SliceItem.d.cts.map +1 -0
  318. package/dist/content/fields/slices/SliceItem.d.ts +6852 -0
  319. package/dist/content/fields/slices/SliceItem.d.ts.map +1 -0
  320. package/dist/content/fields/slices/SliceItem.js +91 -0
  321. package/dist/content/fields/slices/SliceItem.js.map +1 -0
  322. package/dist/content/fields/slices/SlicesContent.cjs +404 -0
  323. package/dist/content/fields/slices/SlicesContent.cjs.map +1 -0
  324. package/dist/content/fields/slices/SlicesContent.d.cts +6875 -0
  325. package/dist/content/fields/slices/SlicesContent.d.cts.map +1 -0
  326. package/dist/content/fields/slices/SlicesContent.d.ts +6876 -0
  327. package/dist/content/fields/slices/SlicesContent.d.ts.map +1 -0
  328. package/dist/content/fields/slices/SlicesContent.js +395 -0
  329. package/dist/content/fields/slices/SlicesContent.js.map +1 -0
  330. package/dist/content/fields/slices/index.cjs +7 -0
  331. package/dist/content/fields/slices/index.d.ts +7 -0
  332. package/dist/content/fields/slices/index.js +7 -0
  333. package/dist/content/fields/withDefaultValues.cjs +66 -0
  334. package/dist/content/fields/withDefaultValues.cjs.map +1 -0
  335. package/dist/content/fields/withDefaultValues.js +64 -0
  336. package/dist/content/fields/withDefaultValues.js.map +1 -0
  337. package/dist/content/helpers.cjs +22 -0
  338. package/dist/content/helpers.cjs.map +1 -0
  339. package/dist/content/helpers.d.cts +13 -0
  340. package/dist/content/helpers.d.cts.map +1 -0
  341. package/dist/content/helpers.d.ts +13 -0
  342. package/dist/content/helpers.d.ts.map +1 -0
  343. package/dist/content/helpers.js +19 -0
  344. package/dist/content/helpers.js.map +1 -0
  345. package/dist/content/index.cjs +241 -0
  346. package/dist/content/index.cjs.map +1 -0
  347. package/dist/content/index.d.cts +44 -0
  348. package/dist/content/index.d.cts.map +1 -0
  349. package/dist/content/index.d.ts +45 -0
  350. package/dist/content/index.d.ts.map +1 -0
  351. package/dist/content/index.js +236 -0
  352. package/dist/content/index.js.map +1 -0
  353. package/dist/content/utils.cjs +36 -0
  354. package/dist/content/utils.cjs.map +1 -0
  355. package/dist/content/utils.d.cts +86 -0
  356. package/dist/content/utils.d.cts.map +1 -0
  357. package/dist/content/utils.d.ts +88 -0
  358. package/dist/content/utils.d.ts.map +1 -0
  359. package/dist/content/utils.js +34 -0
  360. package/dist/content/utils.js.map +1 -0
  361. package/dist/customtypes/CustomType.cjs +179 -0
  362. package/dist/customtypes/CustomType.cjs.map +1 -0
  363. package/dist/customtypes/CustomType.d.cts +3685 -0
  364. package/dist/customtypes/CustomType.d.cts.map +1 -0
  365. package/dist/customtypes/CustomType.d.ts +3687 -0
  366. package/dist/customtypes/CustomType.d.ts.map +1 -0
  367. package/dist/customtypes/CustomType.js +166 -0
  368. package/dist/customtypes/CustomType.js.map +1 -0
  369. package/dist/customtypes/Section.cjs +73 -0
  370. package/dist/customtypes/Section.cjs.map +1 -0
  371. package/dist/customtypes/Section.d.cts +3642 -0
  372. package/dist/customtypes/Section.d.cts.map +1 -0
  373. package/dist/customtypes/Section.d.ts +3645 -0
  374. package/dist/customtypes/Section.d.ts.map +1 -0
  375. package/dist/customtypes/Section.js +67 -0
  376. package/dist/customtypes/Section.js.map +1 -0
  377. package/dist/customtypes/diff/Changes.cjs +12 -0
  378. package/dist/customtypes/diff/Changes.cjs.map +1 -0
  379. package/dist/customtypes/diff/Changes.d.cts +21 -0
  380. package/dist/customtypes/diff/Changes.d.cts.map +1 -0
  381. package/dist/customtypes/diff/Changes.d.ts +21 -0
  382. package/dist/customtypes/diff/Changes.d.ts.map +1 -0
  383. package/dist/customtypes/diff/Changes.js +11 -0
  384. package/dist/customtypes/diff/Changes.js.map +1 -0
  385. package/dist/customtypes/diff/SharedSlice.cjs +48 -0
  386. package/dist/customtypes/diff/SharedSlice.cjs.map +1 -0
  387. package/dist/customtypes/diff/SharedSlice.d.cts +15 -0
  388. package/dist/customtypes/diff/SharedSlice.d.cts.map +1 -0
  389. package/dist/customtypes/diff/SharedSlice.d.ts +16 -0
  390. package/dist/customtypes/diff/SharedSlice.d.ts.map +1 -0
  391. package/dist/customtypes/diff/SharedSlice.js +48 -0
  392. package/dist/customtypes/diff/SharedSlice.js.map +1 -0
  393. package/dist/customtypes/diff/Variation.cjs +94 -0
  394. package/dist/customtypes/diff/Variation.cjs.map +1 -0
  395. package/dist/customtypes/diff/Variation.d.cts +16 -0
  396. package/dist/customtypes/diff/Variation.d.cts.map +1 -0
  397. package/dist/customtypes/diff/Variation.d.ts +17 -0
  398. package/dist/customtypes/diff/Variation.d.ts.map +1 -0
  399. package/dist/customtypes/diff/Variation.js +94 -0
  400. package/dist/customtypes/diff/Variation.js.map +1 -0
  401. package/dist/customtypes/diff/Widgets.d.cts +16 -0
  402. package/dist/customtypes/diff/Widgets.d.cts.map +1 -0
  403. package/dist/customtypes/diff/Widgets.d.ts +18 -0
  404. package/dist/customtypes/diff/Widgets.d.ts.map +1 -0
  405. package/dist/customtypes/diff/index.cjs +3 -0
  406. package/dist/customtypes/diff/index.d.ts +4 -0
  407. package/dist/customtypes/diff/index.js +3 -0
  408. package/dist/customtypes/index.cjs +168 -0
  409. package/dist/customtypes/index.cjs.map +1 -0
  410. package/dist/customtypes/index.d.cts +43 -0
  411. package/dist/customtypes/index.d.cts.map +1 -0
  412. package/dist/customtypes/index.d.ts +45 -0
  413. package/dist/customtypes/index.d.ts.map +1 -0
  414. package/dist/customtypes/index.js +163 -0
  415. package/dist/customtypes/index.js.map +1 -0
  416. package/dist/customtypes/widgets/Group.cjs +96 -0
  417. package/dist/customtypes/widgets/Group.cjs.map +1 -0
  418. package/dist/customtypes/widgets/Group.d.cts +1358 -0
  419. package/dist/customtypes/widgets/Group.d.cts.map +1 -0
  420. package/dist/customtypes/widgets/Group.d.ts +1359 -0
  421. package/dist/customtypes/widgets/Group.d.ts.map +1 -0
  422. package/dist/customtypes/widgets/Group.js +88 -0
  423. package/dist/customtypes/widgets/Group.js.map +1 -0
  424. package/dist/customtypes/widgets/UID.cjs +23 -0
  425. package/dist/customtypes/widgets/UID.cjs.map +1 -0
  426. package/dist/customtypes/widgets/UID.d.cts +24 -0
  427. package/dist/customtypes/widgets/UID.d.cts.map +1 -0
  428. package/dist/customtypes/widgets/UID.d.ts +24 -0
  429. package/dist/customtypes/widgets/UID.d.ts.map +1 -0
  430. package/dist/customtypes/widgets/UID.js +19 -0
  431. package/dist/customtypes/widgets/UID.js.map +1 -0
  432. package/dist/customtypes/widgets/Widget.cjs +73 -0
  433. package/dist/customtypes/widgets/Widget.cjs.map +1 -0
  434. package/dist/customtypes/widgets/Widget.d.cts +4463 -0
  435. package/dist/customtypes/widgets/Widget.d.cts.map +1 -0
  436. package/dist/customtypes/widgets/Widget.d.ts +4463 -0
  437. package/dist/customtypes/widgets/Widget.d.ts.map +1 -0
  438. package/dist/customtypes/widgets/Widget.js +67 -0
  439. package/dist/customtypes/widgets/Widget.js.map +1 -0
  440. package/dist/customtypes/widgets/index.cjs +31 -0
  441. package/dist/customtypes/widgets/index.d.ts +32 -0
  442. package/dist/customtypes/widgets/index.js +31 -0
  443. package/dist/customtypes/widgets/nestable/BooleanField.cjs +21 -0
  444. package/dist/customtypes/widgets/nestable/BooleanField.cjs.map +1 -0
  445. package/dist/customtypes/widgets/nestable/BooleanField.d.cts +25 -0
  446. package/dist/customtypes/widgets/nestable/BooleanField.d.cts.map +1 -0
  447. package/dist/customtypes/widgets/nestable/BooleanField.d.ts +25 -0
  448. package/dist/customtypes/widgets/nestable/BooleanField.d.ts.map +1 -0
  449. package/dist/customtypes/widgets/nestable/BooleanField.js +17 -0
  450. package/dist/customtypes/widgets/nestable/BooleanField.js.map +1 -0
  451. package/dist/customtypes/widgets/nestable/Color.cjs +22 -0
  452. package/dist/customtypes/widgets/nestable/Color.cjs.map +1 -0
  453. package/dist/customtypes/widgets/nestable/Color.d.cts +22 -0
  454. package/dist/customtypes/widgets/nestable/Color.d.cts.map +1 -0
  455. package/dist/customtypes/widgets/nestable/Color.d.ts +22 -0
  456. package/dist/customtypes/widgets/nestable/Color.d.ts.map +1 -0
  457. package/dist/customtypes/widgets/nestable/Color.js +18 -0
  458. package/dist/customtypes/widgets/nestable/Color.js.map +1 -0
  459. package/dist/customtypes/widgets/nestable/Date.cjs +23 -0
  460. package/dist/customtypes/widgets/nestable/Date.cjs.map +1 -0
  461. package/dist/customtypes/widgets/nestable/Date.d.cts +24 -0
  462. package/dist/customtypes/widgets/nestable/Date.d.cts.map +1 -0
  463. package/dist/customtypes/widgets/nestable/Date.d.ts +24 -0
  464. package/dist/customtypes/widgets/nestable/Date.d.ts.map +1 -0
  465. package/dist/customtypes/widgets/nestable/Date.js +19 -0
  466. package/dist/customtypes/widgets/nestable/Date.js.map +1 -0
  467. package/dist/customtypes/widgets/nestable/Embed.cjs +23 -0
  468. package/dist/customtypes/widgets/nestable/Embed.cjs.map +1 -0
  469. package/dist/customtypes/widgets/nestable/Embed.d.cts +24 -0
  470. package/dist/customtypes/widgets/nestable/Embed.d.cts.map +1 -0
  471. package/dist/customtypes/widgets/nestable/Embed.d.ts +24 -0
  472. package/dist/customtypes/widgets/nestable/Embed.d.ts.map +1 -0
  473. package/dist/customtypes/widgets/nestable/Embed.js +19 -0
  474. package/dist/customtypes/widgets/nestable/Embed.js.map +1 -0
  475. package/dist/customtypes/widgets/nestable/GeoPoint.cjs +19 -0
  476. package/dist/customtypes/widgets/nestable/GeoPoint.cjs.map +1 -0
  477. package/dist/customtypes/widgets/nestable/GeoPoint.d.cts +20 -0
  478. package/dist/customtypes/widgets/nestable/GeoPoint.d.cts.map +1 -0
  479. package/dist/customtypes/widgets/nestable/GeoPoint.d.ts +20 -0
  480. package/dist/customtypes/widgets/nestable/GeoPoint.d.ts.map +1 -0
  481. package/dist/customtypes/widgets/nestable/GeoPoint.js +15 -0
  482. package/dist/customtypes/widgets/nestable/GeoPoint.js.map +1 -0
  483. package/dist/customtypes/widgets/nestable/Image.cjs +27 -0
  484. package/dist/customtypes/widgets/nestable/Image.cjs.map +1 -0
  485. package/dist/customtypes/widgets/nestable/Image.d.cts +49 -0
  486. package/dist/customtypes/widgets/nestable/Image.d.cts.map +1 -0
  487. package/dist/customtypes/widgets/nestable/Image.d.ts +49 -0
  488. package/dist/customtypes/widgets/nestable/Image.d.ts.map +1 -0
  489. package/dist/customtypes/widgets/nestable/Image.js +22 -0
  490. package/dist/customtypes/widgets/nestable/Image.js.map +1 -0
  491. package/dist/customtypes/widgets/nestable/IntegrationField.cjs +23 -0
  492. package/dist/customtypes/widgets/nestable/IntegrationField.cjs.map +1 -0
  493. package/dist/customtypes/widgets/nestable/IntegrationField.d.cts +24 -0
  494. package/dist/customtypes/widgets/nestable/IntegrationField.d.cts.map +1 -0
  495. package/dist/customtypes/widgets/nestable/IntegrationField.d.ts +24 -0
  496. package/dist/customtypes/widgets/nestable/IntegrationField.d.ts.map +1 -0
  497. package/dist/customtypes/widgets/nestable/IntegrationField.js +19 -0
  498. package/dist/customtypes/widgets/nestable/IntegrationField.js.map +1 -0
  499. package/dist/customtypes/widgets/nestable/Link.cjs +113 -0
  500. package/dist/customtypes/widgets/nestable/Link.cjs.map +1 -0
  501. package/dist/customtypes/widgets/nestable/Link.d.cts +201 -0
  502. package/dist/customtypes/widgets/nestable/Link.d.cts.map +1 -0
  503. package/dist/customtypes/widgets/nestable/Link.d.ts +201 -0
  504. package/dist/customtypes/widgets/nestable/Link.d.ts.map +1 -0
  505. package/dist/customtypes/widgets/nestable/Link.js +108 -0
  506. package/dist/customtypes/widgets/nestable/Link.js.map +1 -0
  507. package/dist/customtypes/widgets/nestable/NestableWidget.cjs +43 -0
  508. package/dist/customtypes/widgets/nestable/NestableWidget.cjs.map +1 -0
  509. package/dist/customtypes/widgets/nestable/NestableWidget.d.cts +223 -0
  510. package/dist/customtypes/widgets/nestable/NestableWidget.d.cts.map +1 -0
  511. package/dist/customtypes/widgets/nestable/NestableWidget.d.ts +223 -0
  512. package/dist/customtypes/widgets/nestable/NestableWidget.d.ts.map +1 -0
  513. package/dist/customtypes/widgets/nestable/NestableWidget.js +41 -0
  514. package/dist/customtypes/widgets/nestable/NestableWidget.js.map +1 -0
  515. package/dist/customtypes/widgets/nestable/Number.cjs +26 -0
  516. package/dist/customtypes/widgets/nestable/Number.cjs.map +1 -0
  517. package/dist/customtypes/widgets/nestable/Number.d.cts +29 -0
  518. package/dist/customtypes/widgets/nestable/Number.d.cts.map +1 -0
  519. package/dist/customtypes/widgets/nestable/Number.d.ts +29 -0
  520. package/dist/customtypes/widgets/nestable/Number.d.ts.map +1 -0
  521. package/dist/customtypes/widgets/nestable/Number.js +22 -0
  522. package/dist/customtypes/widgets/nestable/Number.js.map +1 -0
  523. package/dist/customtypes/widgets/nestable/Range.cjs +26 -0
  524. package/dist/customtypes/widgets/nestable/Range.cjs.map +1 -0
  525. package/dist/customtypes/widgets/nestable/Range.d.cts +29 -0
  526. package/dist/customtypes/widgets/nestable/Range.d.cts.map +1 -0
  527. package/dist/customtypes/widgets/nestable/Range.d.ts +29 -0
  528. package/dist/customtypes/widgets/nestable/Range.d.ts.map +1 -0
  529. package/dist/customtypes/widgets/nestable/Range.js +22 -0
  530. package/dist/customtypes/widgets/nestable/Range.js.map +1 -0
  531. package/dist/customtypes/widgets/nestable/RichText.cjs +118 -0
  532. package/dist/customtypes/widgets/nestable/RichText.cjs.map +1 -0
  533. package/dist/customtypes/widgets/nestable/RichText.d.cts +78 -0
  534. package/dist/customtypes/widgets/nestable/RichText.d.cts.map +1 -0
  535. package/dist/customtypes/widgets/nestable/RichText.d.ts +78 -0
  536. package/dist/customtypes/widgets/nestable/RichText.d.ts.map +1 -0
  537. package/dist/customtypes/widgets/nestable/RichText.js +111 -0
  538. package/dist/customtypes/widgets/nestable/RichText.js.map +1 -0
  539. package/dist/customtypes/widgets/nestable/Select.cjs +30 -0
  540. package/dist/customtypes/widgets/nestable/Select.cjs.map +1 -0
  541. package/dist/customtypes/widgets/nestable/Select.d.cts +26 -0
  542. package/dist/customtypes/widgets/nestable/Select.d.cts.map +1 -0
  543. package/dist/customtypes/widgets/nestable/Select.d.ts +26 -0
  544. package/dist/customtypes/widgets/nestable/Select.d.ts.map +1 -0
  545. package/dist/customtypes/widgets/nestable/Select.js +26 -0
  546. package/dist/customtypes/widgets/nestable/Select.js.map +1 -0
  547. package/dist/customtypes/widgets/nestable/Separator.cjs +16 -0
  548. package/dist/customtypes/widgets/nestable/Separator.cjs.map +1 -0
  549. package/dist/customtypes/widgets/nestable/Separator.d.cts +19 -0
  550. package/dist/customtypes/widgets/nestable/Separator.d.cts.map +1 -0
  551. package/dist/customtypes/widgets/nestable/Separator.d.ts +19 -0
  552. package/dist/customtypes/widgets/nestable/Separator.d.ts.map +1 -0
  553. package/dist/customtypes/widgets/nestable/Separator.js +12 -0
  554. package/dist/customtypes/widgets/nestable/Separator.js.map +1 -0
  555. package/dist/customtypes/widgets/nestable/Table.cjs +26 -0
  556. package/dist/customtypes/widgets/nestable/Table.cjs.map +1 -0
  557. package/dist/customtypes/widgets/nestable/Table.d.cts +25 -0
  558. package/dist/customtypes/widgets/nestable/Table.d.cts.map +1 -0
  559. package/dist/customtypes/widgets/nestable/Table.d.ts +25 -0
  560. package/dist/customtypes/widgets/nestable/Table.d.ts.map +1 -0
  561. package/dist/customtypes/widgets/nestable/Table.js +22 -0
  562. package/dist/customtypes/widgets/nestable/Table.js.map +1 -0
  563. package/dist/customtypes/widgets/nestable/Text.cjs +23 -0
  564. package/dist/customtypes/widgets/nestable/Text.cjs.map +1 -0
  565. package/dist/customtypes/widgets/nestable/Text.d.cts +24 -0
  566. package/dist/customtypes/widgets/nestable/Text.d.cts.map +1 -0
  567. package/dist/customtypes/widgets/nestable/Text.d.ts +24 -0
  568. package/dist/customtypes/widgets/nestable/Text.d.ts.map +1 -0
  569. package/dist/customtypes/widgets/nestable/Text.js +19 -0
  570. package/dist/customtypes/widgets/nestable/Text.js.map +1 -0
  571. package/dist/customtypes/widgets/nestable/Timestamp.cjs +23 -0
  572. package/dist/customtypes/widgets/nestable/Timestamp.cjs.map +1 -0
  573. package/dist/customtypes/widgets/nestable/Timestamp.d.cts +24 -0
  574. package/dist/customtypes/widgets/nestable/Timestamp.d.cts.map +1 -0
  575. package/dist/customtypes/widgets/nestable/Timestamp.d.ts +24 -0
  576. package/dist/customtypes/widgets/nestable/Timestamp.d.ts.map +1 -0
  577. package/dist/customtypes/widgets/nestable/Timestamp.js +19 -0
  578. package/dist/customtypes/widgets/nestable/Timestamp.js.map +1 -0
  579. package/dist/customtypes/widgets/nestable/index.cjs +17 -0
  580. package/dist/customtypes/widgets/nestable/index.d.ts +17 -0
  581. package/dist/customtypes/widgets/nestable/index.js +17 -0
  582. package/dist/customtypes/widgets/shared/ImageConstraint.cjs +34 -0
  583. package/dist/customtypes/widgets/shared/ImageConstraint.cjs.map +1 -0
  584. package/dist/customtypes/widgets/shared/ImageConstraint.d.cts +11 -0
  585. package/dist/customtypes/widgets/shared/ImageConstraint.d.cts.map +1 -0
  586. package/dist/customtypes/widgets/shared/ImageConstraint.d.ts +11 -0
  587. package/dist/customtypes/widgets/shared/ImageConstraint.d.ts.map +1 -0
  588. package/dist/customtypes/widgets/shared/ImageConstraint.js +32 -0
  589. package/dist/customtypes/widgets/shared/ImageConstraint.js.map +1 -0
  590. package/dist/customtypes/widgets/shared/index.cjs +1 -0
  591. package/dist/customtypes/widgets/shared/index.d.ts +1 -0
  592. package/dist/customtypes/widgets/shared/index.js +1 -0
  593. package/dist/customtypes/widgets/slices/CompositeSlice.cjs +72 -0
  594. package/dist/customtypes/widgets/slices/CompositeSlice.cjs.map +1 -0
  595. package/dist/customtypes/widgets/slices/CompositeSlice.d.cts +461 -0
  596. package/dist/customtypes/widgets/slices/CompositeSlice.d.cts.map +1 -0
  597. package/dist/customtypes/widgets/slices/CompositeSlice.d.ts +462 -0
  598. package/dist/customtypes/widgets/slices/CompositeSlice.d.ts.map +1 -0
  599. package/dist/customtypes/widgets/slices/CompositeSlice.js +66 -0
  600. package/dist/customtypes/widgets/slices/CompositeSlice.js.map +1 -0
  601. package/dist/customtypes/widgets/slices/LegacySlice.cjs +16 -0
  602. package/dist/customtypes/widgets/slices/LegacySlice.cjs.map +1 -0
  603. package/dist/customtypes/widgets/slices/LegacySlice.d.cts +448 -0
  604. package/dist/customtypes/widgets/slices/LegacySlice.d.cts.map +1 -0
  605. package/dist/customtypes/widgets/slices/LegacySlice.d.ts +448 -0
  606. package/dist/customtypes/widgets/slices/LegacySlice.d.ts.map +1 -0
  607. package/dist/customtypes/widgets/slices/LegacySlice.js +13 -0
  608. package/dist/customtypes/widgets/slices/LegacySlice.js.map +1 -0
  609. package/dist/customtypes/widgets/slices/SharedSlice.cjs +127 -0
  610. package/dist/customtypes/widgets/slices/SharedSlice.cjs.map +1 -0
  611. package/dist/customtypes/widgets/slices/SharedSlice.d.cts +1813 -0
  612. package/dist/customtypes/widgets/slices/SharedSlice.d.cts.map +1 -0
  613. package/dist/customtypes/widgets/slices/SharedSlice.d.ts +1814 -0
  614. package/dist/customtypes/widgets/slices/SharedSlice.d.ts.map +1 -0
  615. package/dist/customtypes/widgets/slices/SharedSlice.js +119 -0
  616. package/dist/customtypes/widgets/slices/SharedSlice.js.map +1 -0
  617. package/dist/customtypes/widgets/slices/SharedSliceRef.cjs +11 -0
  618. package/dist/customtypes/widgets/slices/SharedSliceRef.cjs.map +1 -0
  619. package/dist/customtypes/widgets/slices/SharedSliceRef.d.cts +10 -0
  620. package/dist/customtypes/widgets/slices/SharedSliceRef.d.cts.map +1 -0
  621. package/dist/customtypes/widgets/slices/SharedSliceRef.d.ts +10 -0
  622. package/dist/customtypes/widgets/slices/SharedSliceRef.d.ts.map +1 -0
  623. package/dist/customtypes/widgets/slices/SharedSliceRef.js +9 -0
  624. package/dist/customtypes/widgets/slices/SharedSliceRef.js.map +1 -0
  625. package/dist/customtypes/widgets/slices/Slice.d.cts +11 -0
  626. package/dist/customtypes/widgets/slices/Slice.d.cts.map +1 -0
  627. package/dist/customtypes/widgets/slices/Slice.d.ts +11 -0
  628. package/dist/customtypes/widgets/slices/Slice.d.ts.map +1 -0
  629. package/dist/customtypes/widgets/slices/SlicePrimaryWidget.cjs +15 -0
  630. package/dist/customtypes/widgets/slices/SlicePrimaryWidget.cjs.map +1 -0
  631. package/dist/customtypes/widgets/slices/SlicePrimaryWidget.d.cts +672 -0
  632. package/dist/customtypes/widgets/slices/SlicePrimaryWidget.d.cts.map +1 -0
  633. package/dist/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +672 -0
  634. package/dist/customtypes/widgets/slices/SlicePrimaryWidget.d.ts.map +1 -0
  635. package/dist/customtypes/widgets/slices/SlicePrimaryWidget.js +12 -0
  636. package/dist/customtypes/widgets/slices/SlicePrimaryWidget.js.map +1 -0
  637. package/dist/customtypes/widgets/slices/Slices.cjs +136 -0
  638. package/dist/customtypes/widgets/slices/Slices.cjs.map +1 -0
  639. package/dist/customtypes/widgets/slices/Slices.d.cts +5923 -0
  640. package/dist/customtypes/widgets/slices/Slices.d.cts.map +1 -0
  641. package/dist/customtypes/widgets/slices/Slices.d.ts +5925 -0
  642. package/dist/customtypes/widgets/slices/Slices.d.ts.map +1 -0
  643. package/dist/customtypes/widgets/slices/Slices.js +124 -0
  644. package/dist/customtypes/widgets/slices/Slices.js.map +1 -0
  645. package/dist/customtypes/widgets/slices/SlicesTypes.cjs +15 -0
  646. package/dist/customtypes/widgets/slices/SlicesTypes.cjs.map +1 -0
  647. package/dist/customtypes/widgets/slices/SlicesTypes.d.cts +11 -0
  648. package/dist/customtypes/widgets/slices/SlicesTypes.d.cts.map +1 -0
  649. package/dist/customtypes/widgets/slices/SlicesTypes.d.ts +11 -0
  650. package/dist/customtypes/widgets/slices/SlicesTypes.d.ts.map +1 -0
  651. package/dist/customtypes/widgets/slices/SlicesTypes.js +13 -0
  652. package/dist/customtypes/widgets/slices/SlicesTypes.js.map +1 -0
  653. package/dist/customtypes/widgets/slices/index.cjs +7 -0
  654. package/dist/customtypes/widgets/slices/index.d.ts +8 -0
  655. package/dist/customtypes/widgets/slices/index.js +7 -0
  656. package/dist/index.cjs +37 -0
  657. package/dist/index.d.cts +6 -0
  658. package/dist/index.d.ts +6 -0
  659. package/dist/index.js +7 -0
  660. package/dist/utils/Arrays.cjs +23 -0
  661. package/dist/utils/Arrays.cjs.map +1 -0
  662. package/dist/utils/Arrays.d.cts +7 -0
  663. package/dist/utils/Arrays.d.cts.map +1 -0
  664. package/dist/utils/Arrays.d.ts +7 -0
  665. package/dist/utils/Arrays.d.ts.map +1 -0
  666. package/dist/utils/Arrays.js +17 -0
  667. package/dist/utils/Arrays.js.map +1 -0
  668. package/dist/utils/Fields.cjs +13 -0
  669. package/dist/utils/Fields.cjs.map +1 -0
  670. package/dist/utils/Fields.d.cts +16 -0
  671. package/dist/utils/Fields.d.cts.map +1 -0
  672. package/dist/utils/Fields.d.ts +17 -0
  673. package/dist/utils/Fields.d.ts.map +1 -0
  674. package/dist/utils/Fields.js +8 -0
  675. package/dist/utils/Fields.js.map +1 -0
  676. package/dist/utils/Objects.cjs +62 -0
  677. package/dist/utils/Objects.cjs.map +1 -0
  678. package/dist/utils/Objects.d.cts +14 -0
  679. package/dist/utils/Objects.d.cts.map +1 -0
  680. package/dist/utils/Objects.d.ts +14 -0
  681. package/dist/utils/Objects.d.ts.map +1 -0
  682. package/dist/utils/Objects.js +53 -0
  683. package/dist/utils/Objects.js.map +1 -0
  684. package/dist/utils/index.cjs +22 -0
  685. package/dist/utils/index.cjs.map +1 -0
  686. package/dist/utils/index.d.cts +12 -0
  687. package/dist/utils/index.d.cts.map +1 -0
  688. package/dist/utils/index.d.ts +12 -0
  689. package/dist/utils/index.d.ts.map +1 -0
  690. package/dist/utils/index.js +17 -0
  691. package/dist/utils/index.js.map +1 -0
  692. package/dist/validators/BasicTypes.cjs +31 -0
  693. package/dist/validators/BasicTypes.cjs.map +1 -0
  694. package/dist/validators/BasicTypes.d.cts +13 -0
  695. package/dist/validators/BasicTypes.d.cts.map +1 -0
  696. package/dist/validators/BasicTypes.d.ts +13 -0
  697. package/dist/validators/BasicTypes.d.ts.map +1 -0
  698. package/dist/validators/BasicTypes.js +25 -0
  699. package/dist/validators/BasicTypes.js.map +1 -0
  700. package/dist/validators/DateFromString.cjs +17 -0
  701. package/dist/validators/DateFromString.cjs.map +1 -0
  702. package/dist/validators/DateFromString.d.cts +7 -0
  703. package/dist/validators/DateFromString.d.cts.map +1 -0
  704. package/dist/validators/DateFromString.d.ts +7 -0
  705. package/dist/validators/DateFromString.d.ts.map +1 -0
  706. package/dist/validators/DateFromString.js +15 -0
  707. package/dist/validators/DateFromString.js.map +1 -0
  708. package/dist/validators/DateFromStringOrNumber.cjs +15 -0
  709. package/dist/validators/DateFromStringOrNumber.cjs.map +1 -0
  710. package/dist/validators/DateFromStringOrNumber.d.cts +7 -0
  711. package/dist/validators/DateFromStringOrNumber.d.cts.map +1 -0
  712. package/dist/validators/DateFromStringOrNumber.d.ts +7 -0
  713. package/dist/validators/DateFromStringOrNumber.d.ts.map +1 -0
  714. package/dist/validators/DateFromStringOrNumber.js +13 -0
  715. package/dist/validators/DateFromStringOrNumber.js.map +1 -0
  716. package/dist/validators/DateFromTsMs.cjs +15 -0
  717. package/dist/validators/DateFromTsMs.cjs.map +1 -0
  718. package/dist/validators/DateFromTsMs.d.cts +7 -0
  719. package/dist/validators/DateFromTsMs.d.cts.map +1 -0
  720. package/dist/validators/DateFromTsMs.d.ts +7 -0
  721. package/dist/validators/DateFromTsMs.d.ts.map +1 -0
  722. package/dist/validators/DateFromTsMs.js +13 -0
  723. package/dist/validators/DateFromTsMs.js.map +1 -0
  724. package/dist/validators/DefaultOrElse.cjs +23 -0
  725. package/dist/validators/DefaultOrElse.cjs.map +1 -0
  726. package/dist/validators/DefaultOrElse.d.cts +10 -0
  727. package/dist/validators/DefaultOrElse.d.cts.map +1 -0
  728. package/dist/validators/DefaultOrElse.d.ts +10 -0
  729. package/dist/validators/DefaultOrElse.d.ts.map +1 -0
  730. package/dist/validators/DefaultOrElse.js +18 -0
  731. package/dist/validators/DefaultOrElse.js.map +1 -0
  732. package/dist/validators/IntFromNumber.cjs +16 -0
  733. package/dist/validators/IntFromNumber.cjs.map +1 -0
  734. package/dist/validators/IntFromNumber.d.cts +8 -0
  735. package/dist/validators/IntFromNumber.d.cts.map +1 -0
  736. package/dist/validators/IntFromNumber.d.ts +8 -0
  737. package/dist/validators/IntFromNumber.d.ts.map +1 -0
  738. package/dist/validators/IntFromNumber.js +14 -0
  739. package/dist/validators/IntFromNumber.js.map +1 -0
  740. package/dist/validators/IntFromPixels.cjs +26 -0
  741. package/dist/validators/IntFromPixels.cjs.map +1 -0
  742. package/dist/validators/IntFromPixels.d.cts +11 -0
  743. package/dist/validators/IntFromPixels.d.cts.map +1 -0
  744. package/dist/validators/IntFromPixels.d.ts +11 -0
  745. package/dist/validators/IntFromPixels.d.ts.map +1 -0
  746. package/dist/validators/IntFromPixels.js +24 -0
  747. package/dist/validators/IntFromPixels.js.map +1 -0
  748. package/dist/validators/NonEmptyString.cjs +11 -0
  749. package/dist/validators/NonEmptyString.cjs.map +1 -0
  750. package/dist/validators/NonEmptyString.d.cts +7 -0
  751. package/dist/validators/NonEmptyString.d.cts.map +1 -0
  752. package/dist/validators/NonEmptyString.d.ts +7 -0
  753. package/dist/validators/NonEmptyString.d.ts.map +1 -0
  754. package/dist/validators/NonEmptyString.js +9 -0
  755. package/dist/validators/NonEmptyString.js.map +1 -0
  756. package/dist/validators/NonEmptyStringOrNull.cjs +15 -0
  757. package/dist/validators/NonEmptyStringOrNull.cjs.map +1 -0
  758. package/dist/validators/NonEmptyStringOrNull.d.cts +7 -0
  759. package/dist/validators/NonEmptyStringOrNull.d.cts.map +1 -0
  760. package/dist/validators/NonEmptyStringOrNull.d.ts +7 -0
  761. package/dist/validators/NonEmptyStringOrNull.d.ts.map +1 -0
  762. package/dist/validators/NonEmptyStringOrNull.js +14 -0
  763. package/dist/validators/NonEmptyStringOrNull.js.map +1 -0
  764. package/dist/validators/NumberOrNull.cjs +11 -0
  765. package/dist/validators/NumberOrNull.cjs.map +1 -0
  766. package/dist/validators/NumberOrNull.d.cts +7 -0
  767. package/dist/validators/NumberOrNull.d.cts.map +1 -0
  768. package/dist/validators/NumberOrNull.d.ts +7 -0
  769. package/dist/validators/NumberOrNull.d.ts.map +1 -0
  770. package/dist/validators/NumberOrNull.js +9 -0
  771. package/dist/validators/NumberOrNull.js.map +1 -0
  772. package/dist/validators/NumberRange.cjs +43 -0
  773. package/dist/validators/NumberRange.cjs.map +1 -0
  774. package/dist/validators/NumberRange.d.cts +36 -0
  775. package/dist/validators/NumberRange.d.cts.map +1 -0
  776. package/dist/validators/NumberRange.d.ts +36 -0
  777. package/dist/validators/NumberRange.d.ts.map +1 -0
  778. package/dist/validators/NumberRange.js +41 -0
  779. package/dist/validators/NumberRange.js.map +1 -0
  780. package/dist/validators/StringFromBoolean.cjs +15 -0
  781. package/dist/validators/StringFromBoolean.cjs.map +1 -0
  782. package/dist/validators/StringFromBoolean.d.cts +8 -0
  783. package/dist/validators/StringFromBoolean.d.cts.map +1 -0
  784. package/dist/validators/StringFromBoolean.d.ts +8 -0
  785. package/dist/validators/StringFromBoolean.d.ts.map +1 -0
  786. package/dist/validators/StringFromBoolean.js +13 -0
  787. package/dist/validators/StringFromBoolean.js.map +1 -0
  788. package/dist/validators/StringFromNumber.cjs +15 -0
  789. package/dist/validators/StringFromNumber.cjs.map +1 -0
  790. package/dist/validators/StringFromNumber.d.cts +8 -0
  791. package/dist/validators/StringFromNumber.d.cts.map +1 -0
  792. package/dist/validators/StringFromNumber.d.ts +8 -0
  793. package/dist/validators/StringFromNumber.d.ts.map +1 -0
  794. package/dist/validators/StringFromNumber.js +13 -0
  795. package/dist/validators/StringFromNumber.js.map +1 -0
  796. package/dist/validators/StringOrNull.cjs +11 -0
  797. package/dist/validators/StringOrNull.cjs.map +1 -0
  798. package/dist/validators/StringOrNull.d.cts +7 -0
  799. package/dist/validators/StringOrNull.d.cts.map +1 -0
  800. package/dist/validators/StringOrNull.d.ts +7 -0
  801. package/dist/validators/StringOrNull.d.ts.map +1 -0
  802. package/dist/validators/StringOrNull.js +9 -0
  803. package/dist/validators/StringOrNull.js.map +1 -0
  804. package/dist/validators/TrimmedString.cjs +22 -0
  805. package/dist/validators/TrimmedString.cjs.map +1 -0
  806. package/dist/validators/TrimmedString.js +20 -0
  807. package/dist/validators/TrimmedString.js.map +1 -0
  808. package/dist/validators/function.cjs +106 -0
  809. package/dist/validators/function.cjs.map +1 -0
  810. package/dist/validators/function.d.cts +42 -0
  811. package/dist/validators/function.d.cts.map +1 -0
  812. package/dist/validators/function.d.ts +42 -0
  813. package/dist/validators/function.d.ts.map +1 -0
  814. package/dist/validators/function.js +97 -0
  815. package/dist/validators/function.js.map +1 -0
  816. package/dist/validators/index.cjs +51 -0
  817. package/dist/validators/index.cjs.map +1 -0
  818. package/dist/validators/index.d.cts +23 -0
  819. package/dist/validators/index.d.cts.map +1 -0
  820. package/dist/validators/index.d.ts +23 -0
  821. package/dist/validators/index.d.ts.map +1 -0
  822. package/dist/validators/index.js +46 -0
  823. package/dist/validators/index.js.map +1 -0
  824. package/package.json +68 -55
  825. package/src/common/Asset.ts +1 -2
  826. package/src/common/HexaColorCode.ts +1 -2
  827. package/src/common/UUID.ts +5 -2
  828. package/src/content/Document.ts +165 -73
  829. package/src/content/LegacyContentCtx.ts +3 -8
  830. package/src/content/fields/GroupContent.ts +136 -36
  831. package/src/content/fields/UIDContent.ts +1 -3
  832. package/src/content/fields/WidgetContent.ts +5 -28
  833. package/src/content/fields/nestable/BooleanContent.ts +3 -7
  834. package/src/content/fields/nestable/FieldContent/SelectContent.ts +4 -5
  835. package/src/content/fields/nestable/GeoPointContent.ts +1 -3
  836. package/src/content/fields/nestable/ImageContent.ts +3 -13
  837. package/src/content/fields/nestable/IntegrationFieldContent.ts +2 -8
  838. package/src/content/fields/nestable/LinkContent.ts +18 -48
  839. package/src/content/fields/nestable/NestableContent.ts +6 -31
  840. package/src/content/fields/nestable/RepeatableContent.ts +87 -45
  841. package/src/content/fields/nestable/RichTextContent/Blocks.ts +8 -28
  842. package/src/content/fields/nestable/SeparatorContent.ts +1 -3
  843. package/src/content/fields/nestable/TableContent.ts +63 -7
  844. package/src/content/fields/slices/Slice/CompositeSliceContent.ts +31 -54
  845. package/src/content/fields/slices/Slice/RepeatableContent.ts +5 -7
  846. package/src/content/fields/slices/Slice/SharedSliceContent.ts +78 -96
  847. package/src/content/fields/slices/Slice/SimpleSliceContent.ts +23 -43
  848. package/src/content/fields/slices/Slice/SlicePrimaryContent.ts +1 -5
  849. package/src/content/fields/slices/Slice/index.ts +2 -9
  850. package/src/content/fields/slices/SliceItem.ts +18 -36
  851. package/src/content/fields/slices/SlicesContent.ts +407 -84
  852. package/src/content/fields/withDefaultValues.ts +8 -14
  853. package/src/content/helpers.ts +27 -0
  854. package/src/content/utils.ts +43 -37
  855. package/src/customtypes/CustomType.ts +38 -78
  856. package/src/customtypes/Section.ts +7 -25
  857. package/src/customtypes/diff/SharedSlice.ts +4 -8
  858. package/src/customtypes/diff/Variation.ts +51 -65
  859. package/src/customtypes/diff/Widgets.ts +1 -4
  860. package/src/customtypes/widgets/Group.ts +1 -3
  861. package/src/customtypes/widgets/Widget.ts +2 -7
  862. package/src/customtypes/widgets/nestable/Link.ts +40 -80
  863. package/src/customtypes/widgets/nestable/RichText.ts +3 -9
  864. package/src/customtypes/widgets/nestable/Select.ts +2 -8
  865. package/src/customtypes/widgets/slices/CompositeSlice.ts +2 -4
  866. package/src/customtypes/widgets/slices/LegacySlice.ts +1 -3
  867. package/src/customtypes/widgets/slices/SharedSlice.ts +3 -4
  868. package/src/customtypes/widgets/slices/Slices.ts +10 -15
  869. package/src/index.ts +5 -0
  870. package/src/utils/Arrays.ts +1 -4
  871. package/src/utils/Fields.ts +5 -2
  872. package/src/utils/Objects.ts +12 -13
  873. package/src/validators/BasicTypes.ts +5 -16
  874. package/src/validators/NumberRange.ts +1 -5
  875. package/src/validators/function.ts +1 -1
  876. package/lib/common/Asset.d.ts +0 -16
  877. package/lib/common/Asset.js +0 -11
  878. package/lib/common/Embed.d.ts +0 -15
  879. package/lib/common/Embed.js +0 -10
  880. package/lib/common/HexaColorCode.d.ts +0 -4
  881. package/lib/common/HexaColorCode.js +0 -7
  882. package/lib/common/UUID.d.ts +0 -6
  883. package/lib/common/UUID.js +0 -8
  884. package/lib/common/WidgetKey.d.ts +0 -3
  885. package/lib/common/WidgetKey.js +0 -8
  886. package/lib/common/index.d.ts +0 -3
  887. package/lib/common/index.js +0 -6
  888. package/lib/content/Document.d.ts +0 -11803
  889. package/lib/content/Document.js +0 -266
  890. package/lib/content/LegacyContentCtx.d.ts +0 -64
  891. package/lib/content/LegacyContentCtx.js +0 -130
  892. package/lib/content/fields/EmptyContent.d.ts +0 -16
  893. package/lib/content/fields/EmptyContent.js +0 -30
  894. package/lib/content/fields/GroupContent.d.ts +0 -42
  895. package/lib/content/fields/GroupContent.js +0 -208
  896. package/lib/content/fields/UIDContent.d.ts +0 -16
  897. package/lib/content/fields/UIDContent.js +0 -25
  898. package/lib/content/fields/WidgetContent.d.ts +0 -11749
  899. package/lib/content/fields/WidgetContent.js +0 -57
  900. package/lib/content/fields/index.d.ts +0 -6
  901. package/lib/content/fields/index.js +0 -9
  902. package/lib/content/fields/nestable/BooleanContent.d.ts +0 -18
  903. package/lib/content/fields/nestable/BooleanContent.js +0 -35
  904. package/lib/content/fields/nestable/EmbedContent.d.ts +0 -78
  905. package/lib/content/fields/nestable/EmbedContent.js +0 -56
  906. package/lib/content/fields/nestable/FieldContent/ColorContent.d.ts +0 -18
  907. package/lib/content/fields/nestable/FieldContent/ColorContent.js +0 -35
  908. package/lib/content/fields/nestable/FieldContent/DateContent.d.ts +0 -18
  909. package/lib/content/fields/nestable/FieldContent/DateContent.js +0 -35
  910. package/lib/content/fields/nestable/FieldContent/NumberContent.d.ts +0 -18
  911. package/lib/content/fields/nestable/FieldContent/NumberContent.js +0 -35
  912. package/lib/content/fields/nestable/FieldContent/RangeContent.d.ts +0 -18
  913. package/lib/content/fields/nestable/FieldContent/RangeContent.js +0 -35
  914. package/lib/content/fields/nestable/FieldContent/SelectContent.d.ts +0 -20
  915. package/lib/content/fields/nestable/FieldContent/SelectContent.js +0 -46
  916. package/lib/content/fields/nestable/FieldContent/TextContent.d.ts +0 -18
  917. package/lib/content/fields/nestable/FieldContent/TextContent.js +0 -35
  918. package/lib/content/fields/nestable/FieldContent/TimestampContent.d.ts +0 -18
  919. package/lib/content/fields/nestable/FieldContent/TimestampContent.js +0 -35
  920. package/lib/content/fields/nestable/FieldContent/common.d.ts +0 -1
  921. package/lib/content/fields/nestable/FieldContent/common.js +0 -4
  922. package/lib/content/fields/nestable/FieldContent/index.d.ts +0 -49
  923. package/lib/content/fields/nestable/FieldContent/index.js +0 -38
  924. package/lib/content/fields/nestable/GeoPointContent.d.ts +0 -33
  925. package/lib/content/fields/nestable/GeoPointContent.js +0 -31
  926. package/lib/content/fields/nestable/ImageContent.d.ts +0 -252
  927. package/lib/content/fields/nestable/ImageContent.js +0 -122
  928. package/lib/content/fields/nestable/IntegrationFieldContent.d.ts +0 -16
  929. package/lib/content/fields/nestable/IntegrationFieldContent.js +0 -28
  930. package/lib/content/fields/nestable/LinkContent.d.ts +0 -919
  931. package/lib/content/fields/nestable/LinkContent.js +0 -399
  932. package/lib/content/fields/nestable/NestableContent.d.ts +0 -1953
  933. package/lib/content/fields/nestable/NestableContent.js +0 -167
  934. package/lib/content/fields/nestable/RepeatableContent.d.ts +0 -176
  935. package/lib/content/fields/nestable/RepeatableContent.js +0 -104
  936. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +0 -1261
  937. package/lib/content/fields/nestable/RichTextContent/Blocks.js +0 -170
  938. package/lib/content/fields/nestable/RichTextContent/index.d.ts +0 -1004
  939. package/lib/content/fields/nestable/RichTextContent/index.js +0 -28
  940. package/lib/content/fields/nestable/SeparatorContent.d.ts +0 -13
  941. package/lib/content/fields/nestable/SeparatorContent.js +0 -22
  942. package/lib/content/fields/nestable/TableContent.d.ts +0 -770
  943. package/lib/content/fields/nestable/TableContent.js +0 -121
  944. package/lib/content/fields/nestable/index.d.ts +0 -12
  945. package/lib/content/fields/nestable/index.js +0 -15
  946. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +0 -3934
  947. package/lib/content/fields/slices/Slice/CompositeSliceContent.js +0 -195
  948. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +0 -774
  949. package/lib/content/fields/slices/Slice/RepeatableContent.js +0 -21
  950. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +0 -3937
  951. package/lib/content/fields/slices/Slice/SharedSliceContent.js +0 -215
  952. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +0 -1962
  953. package/lib/content/fields/slices/Slice/SimpleSliceContent.js +0 -130
  954. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +0 -1952
  955. package/lib/content/fields/slices/Slice/SlicePrimaryContent.js +0 -30
  956. package/lib/content/fields/slices/Slice/index.d.ts +0 -6810
  957. package/lib/content/fields/slices/Slice/index.js +0 -45
  958. package/lib/content/fields/slices/SliceItem.d.ts +0 -6846
  959. package/lib/content/fields/slices/SliceItem.js +0 -116
  960. package/lib/content/fields/slices/SlicesContent.d.ts +0 -9809
  961. package/lib/content/fields/slices/SlicesContent.js +0 -187
  962. package/lib/content/fields/slices/index.d.ts +0 -3
  963. package/lib/content/fields/slices/index.js +0 -6
  964. package/lib/content/fields/withDefaultValues.d.ts +0 -9
  965. package/lib/content/fields/withDefaultValues.js +0 -79
  966. package/lib/content/index.d.ts +0 -4
  967. package/lib/content/index.js +0 -7
  968. package/lib/content/utils.d.ts +0 -43
  969. package/lib/content/utils.js +0 -50
  970. package/lib/customtypes/CustomType.d.ts +0 -3682
  971. package/lib/customtypes/CustomType.js +0 -185
  972. package/lib/customtypes/Section.d.ts +0 -3635
  973. package/lib/customtypes/Section.js +0 -66
  974. package/lib/customtypes/diff/Changes.d.ts +0 -17
  975. package/lib/customtypes/diff/Changes.js +0 -9
  976. package/lib/customtypes/diff/SharedSlice.d.ts +0 -1624
  977. package/lib/customtypes/diff/SharedSlice.js +0 -55
  978. package/lib/customtypes/diff/Variation.d.ts +0 -1605
  979. package/lib/customtypes/diff/Variation.js +0 -113
  980. package/lib/customtypes/diff/Widgets.d.ts +0 -11
  981. package/lib/customtypes/diff/Widgets.js +0 -2
  982. package/lib/customtypes/diff/index.d.ts +0 -4
  983. package/lib/customtypes/diff/index.js +0 -7
  984. package/lib/customtypes/index.d.ts +0 -4
  985. package/lib/customtypes/index.js +0 -7
  986. package/lib/customtypes/widgets/Group.d.ts +0 -1352
  987. package/lib/customtypes/widgets/Group.js +0 -92
  988. package/lib/customtypes/widgets/UID.d.ts +0 -19
  989. package/lib/customtypes/widgets/UID.js +0 -21
  990. package/lib/customtypes/widgets/Widget.d.ts +0 -4457
  991. package/lib/customtypes/widgets/Widget.js +0 -49
  992. package/lib/customtypes/widgets/index.d.ts +0 -6
  993. package/lib/customtypes/widgets/index.js +0 -9
  994. package/lib/customtypes/widgets/nestable/BooleanField.d.ts +0 -20
  995. package/lib/customtypes/widgets/nestable/BooleanField.js +0 -21
  996. package/lib/customtypes/widgets/nestable/Color.d.ts +0 -17
  997. package/lib/customtypes/widgets/nestable/Color.js +0 -20
  998. package/lib/customtypes/widgets/nestable/Date.d.ts +0 -19
  999. package/lib/customtypes/widgets/nestable/Date.js +0 -21
  1000. package/lib/customtypes/widgets/nestable/Embed.d.ts +0 -19
  1001. package/lib/customtypes/widgets/nestable/Embed.js +0 -21
  1002. package/lib/customtypes/widgets/nestable/GeoPoint.d.ts +0 -15
  1003. package/lib/customtypes/widgets/nestable/GeoPoint.js +0 -19
  1004. package/lib/customtypes/widgets/nestable/Image.d.ts +0 -44
  1005. package/lib/customtypes/widgets/nestable/Image.js +0 -29
  1006. package/lib/customtypes/widgets/nestable/IntegrationField.d.ts +0 -19
  1007. package/lib/customtypes/widgets/nestable/IntegrationField.js +0 -21
  1008. package/lib/customtypes/widgets/nestable/Link.d.ts +0 -196
  1009. package/lib/customtypes/widgets/nestable/Link.js +0 -167
  1010. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -217
  1011. package/lib/customtypes/widgets/nestable/NestableWidget.js +0 -39
  1012. package/lib/customtypes/widgets/nestable/Number.d.ts +0 -23
  1013. package/lib/customtypes/widgets/nestable/Number.js +0 -24
  1014. package/lib/customtypes/widgets/nestable/Range.d.ts +0 -23
  1015. package/lib/customtypes/widgets/nestable/Range.js +0 -24
  1016. package/lib/customtypes/widgets/nestable/RichText.d.ts +0 -73
  1017. package/lib/customtypes/widgets/nestable/RichText.js +0 -131
  1018. package/lib/customtypes/widgets/nestable/Select.d.ts +0 -21
  1019. package/lib/customtypes/widgets/nestable/Select.js +0 -22
  1020. package/lib/customtypes/widgets/nestable/Separator.d.ts +0 -14
  1021. package/lib/customtypes/widgets/nestable/Separator.js +0 -18
  1022. package/lib/customtypes/widgets/nestable/Table.d.ts +0 -21
  1023. package/lib/customtypes/widgets/nestable/Table.js +0 -30
  1024. package/lib/customtypes/widgets/nestable/Text.d.ts +0 -19
  1025. package/lib/customtypes/widgets/nestable/Text.js +0 -21
  1026. package/lib/customtypes/widgets/nestable/Timestamp.d.ts +0 -19
  1027. package/lib/customtypes/widgets/nestable/Timestamp.js +0 -21
  1028. package/lib/customtypes/widgets/nestable/index.d.ts +0 -17
  1029. package/lib/customtypes/widgets/nestable/index.js +0 -20
  1030. package/lib/customtypes/widgets/shared/ImageConstraint.d.ts +0 -7
  1031. package/lib/customtypes/widgets/shared/ImageConstraint.js +0 -31
  1032. package/lib/customtypes/widgets/shared/index.d.ts +0 -1
  1033. package/lib/customtypes/widgets/shared/index.js +0 -8
  1034. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -455
  1035. package/lib/customtypes/widgets/slices/CompositeSlice.js +0 -63
  1036. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -442
  1037. package/lib/customtypes/widgets/slices/LegacySlice.js +0 -12
  1038. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +0 -1807
  1039. package/lib/customtypes/widgets/slices/SharedSlice.js +0 -118
  1040. package/lib/customtypes/widgets/slices/SharedSliceRef.d.ts +0 -5
  1041. package/lib/customtypes/widgets/slices/SharedSliceRef.js +0 -9
  1042. package/lib/customtypes/widgets/slices/Slice.d.ts +0 -6
  1043. package/lib/customtypes/widgets/slices/Slice.js +0 -2
  1044. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +0 -1259
  1045. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.js +0 -10
  1046. package/lib/customtypes/widgets/slices/Slices.d.ts +0 -5917
  1047. package/lib/customtypes/widgets/slices/Slices.js +0 -146
  1048. package/lib/customtypes/widgets/slices/SlicesTypes.d.ts +0 -6
  1049. package/lib/customtypes/widgets/slices/SlicesTypes.js +0 -11
  1050. package/lib/customtypes/widgets/slices/index.d.ts +0 -8
  1051. package/lib/customtypes/widgets/slices/index.js +0 -11
  1052. package/lib/utils/Arrays.d.ts +0 -1
  1053. package/lib/utils/Arrays.js +0 -13
  1054. package/lib/utils/DocumentId.d.ts +0 -2
  1055. package/lib/utils/DocumentId.js +0 -7
  1056. package/lib/utils/Fields.d.ts +0 -6
  1057. package/lib/utils/Fields.js +0 -2
  1058. package/lib/utils/Objects.d.ts +0 -8
  1059. package/lib/utils/Objects.js +0 -42
  1060. package/lib/utils/index.d.ts +0 -4
  1061. package/lib/utils/index.js +0 -8
  1062. package/lib/validators/BasicTypes.d.ts +0 -10
  1063. package/lib/validators/BasicTypes.js +0 -25
  1064. package/lib/validators/DateFromString.d.ts +0 -3
  1065. package/lib/validators/DateFromString.js +0 -11
  1066. package/lib/validators/DateFromStringOrNumber.d.ts +0 -3
  1067. package/lib/validators/DateFromStringOrNumber.js +0 -10
  1068. package/lib/validators/DateFromTsMs.d.ts +0 -3
  1069. package/lib/validators/DateFromTsMs.js +0 -10
  1070. package/lib/validators/DefaultOrElse.d.ts +0 -5
  1071. package/lib/validators/DefaultOrElse.js +0 -21
  1072. package/lib/validators/IntFromNumber.d.ts +0 -5
  1073. package/lib/validators/IntFromNumber.js +0 -14
  1074. package/lib/validators/IntFromPixels.d.ts +0 -8
  1075. package/lib/validators/IntFromPixels.js +0 -24
  1076. package/lib/validators/NonEmptyString.d.ts +0 -3
  1077. package/lib/validators/NonEmptyString.js +0 -6
  1078. package/lib/validators/NonEmptyStringOrNull.d.ts +0 -3
  1079. package/lib/validators/NonEmptyStringOrNull.js +0 -15
  1080. package/lib/validators/NumberOrNull.d.ts +0 -3
  1081. package/lib/validators/NumberOrNull.js +0 -6
  1082. package/lib/validators/NumberRange.d.ts +0 -32
  1083. package/lib/validators/NumberRange.js +0 -40
  1084. package/lib/validators/StringFromBoolean.d.ts +0 -5
  1085. package/lib/validators/StringFromBoolean.js +0 -10
  1086. package/lib/validators/StringFromNumber.d.ts +0 -5
  1087. package/lib/validators/StringFromNumber.js +0 -10
  1088. package/lib/validators/StringOrNull.d.ts +0 -3
  1089. package/lib/validators/StringOrNull.js +0 -6
  1090. package/lib/validators/TrimmedString.d.ts +0 -5
  1091. package/lib/validators/TrimmedString.js +0 -23
  1092. package/lib/validators/function.d.ts +0 -34
  1093. package/lib/validators/function.js +0 -100
  1094. package/lib/validators/index.d.ts +0 -15
  1095. package/lib/validators/index.js +0 -31
@@ -1,3682 +0,0 @@
1
- import { Either } from "fp-ts/lib/Either";
2
- import * as t from "io-ts";
3
- import type { Fields } from "../utils";
4
- import type { Group, NestableWidget, NestedGroup, UID } from "./widgets";
5
- import type { SharedSlice } from "./widgets/slices/SharedSlice";
6
- import type { DynamicWidget } from "./widgets/Widget";
7
- import type { StaticWidget } from "./widgets/Widget";
8
- export declare const CustomTypeFormat: {
9
- page: string;
10
- custom: string;
11
- };
12
- declare class CustomTypeSlicesError extends Error {
13
- slices: Array<string>;
14
- message: string;
15
- constructor(slices: Array<string>);
16
- _formatError(slicesRefs: Array<string>): string;
17
- }
18
- export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
19
- id: t.StringC;
20
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
21
- repeatable: t.BooleanC;
22
- json: t.RecordC<t.StringC, t.Type<{
23
- [x: string]: ({
24
- type: "UID";
25
- } & {
26
- fieldset?: string | null | undefined;
27
- config?: {
28
- label?: string | null | undefined;
29
- useAsTitle?: boolean;
30
- placeholder?: string;
31
- };
32
- }) | ({
33
- type: "Color";
34
- } & {
35
- fieldset?: string | null | undefined;
36
- config?: {
37
- label?: string | null | undefined;
38
- placeholder?: string;
39
- };
40
- }) | ({
41
- type: "Boolean";
42
- } & {
43
- config?: {
44
- label?: string | null | undefined;
45
- default_value?: boolean;
46
- placeholder_true?: string;
47
- placeholder_false?: string;
48
- };
49
- }) | ({
50
- type: "Embed";
51
- } & {
52
- fieldset?: string | null | undefined;
53
- config?: {
54
- label?: string | null | undefined;
55
- placeholder?: string;
56
- useAsTitle?: boolean;
57
- };
58
- }) | ({
59
- type: "GeoPoint";
60
- } & {
61
- fieldset?: string | null | undefined;
62
- config?: {
63
- label?: string | null | undefined;
64
- };
65
- }) | ({
66
- type: "Date";
67
- } & {
68
- fieldset?: string | null | undefined;
69
- config?: {
70
- label?: string | null | undefined;
71
- placeholder?: string;
72
- default?: string;
73
- };
74
- }) | ({
75
- type: "Number";
76
- } & {
77
- fieldset?: string | null | undefined;
78
- config?: {
79
- label?: string | null | undefined;
80
- placeholder?: string;
81
- min?: number;
82
- max?: number;
83
- step?: number;
84
- };
85
- }) | ({
86
- type: "Range";
87
- } & {
88
- fieldset?: string | null | undefined;
89
- config?: {
90
- label?: string | null | undefined;
91
- placeholder?: string;
92
- min?: number;
93
- max?: number;
94
- step?: number;
95
- };
96
- }) | ({
97
- type: "StructuredText";
98
- } & {
99
- fieldset?: string | null | undefined;
100
- config?: {
101
- label?: string | null | undefined;
102
- placeholder?: string;
103
- useAsTitle?: boolean;
104
- single?: string;
105
- multi?: string;
106
- imageConstraint?: {
107
- width?: number | null;
108
- height?: number | null;
109
- };
110
- labels?: readonly string[];
111
- allowTargetBlank?: boolean;
112
- };
113
- }) | ({
114
- type: "Select";
115
- } & {
116
- fieldset?: string | null | undefined;
117
- config?: {
118
- label?: string | null | undefined;
119
- placeholder?: string;
120
- default_value?: string;
121
- options?: readonly string[];
122
- };
123
- }) | ({
124
- type: "Separator";
125
- } & {
126
- config?: {
127
- label?: string | null | undefined;
128
- };
129
- }) | ({
130
- type: "Table";
131
- } & {
132
- config?: {
133
- label?: string | null | undefined;
134
- };
135
- }) | ({
136
- type: "Text";
137
- } & {
138
- fieldset?: string | null | undefined;
139
- config?: {
140
- label?: string | null | undefined;
141
- useAsTitle?: boolean;
142
- placeholder?: string;
143
- };
144
- }) | ({
145
- type: "Timestamp";
146
- } & {
147
- fieldset?: string | null | undefined;
148
- config?: {
149
- label?: string | null | undefined;
150
- placeholder?: string;
151
- default?: string;
152
- };
153
- }) | ({
154
- type: "Link";
155
- } & {
156
- fieldset?: string | null | undefined;
157
- config?: {
158
- label?: string | null | undefined;
159
- useAsTitle?: boolean;
160
- placeholder?: string;
161
- select?: "media" | "document" | "web" | null;
162
- customtypes?: readonly (string | {
163
- id: string;
164
- fields: readonly (string | {
165
- id: string;
166
- customtypes: readonly (string | {
167
- id: string;
168
- fields: readonly (string | {
169
- id: string;
170
- fields: readonly string[];
171
- })[];
172
- })[];
173
- } | {
174
- id: string;
175
- fields: readonly (string | {
176
- id: string;
177
- customtypes: readonly (string | {
178
- id: string;
179
- fields: readonly (string | {
180
- id: string;
181
- fields: readonly string[];
182
- })[];
183
- })[];
184
- })[];
185
- })[];
186
- })[];
187
- masks?: readonly string[];
188
- tags?: readonly string[];
189
- allowTargetBlank?: boolean;
190
- allowText?: boolean;
191
- repeat?: boolean;
192
- variants?: string[];
193
- };
194
- }) | ({
195
- type: "Image";
196
- } & {
197
- fieldset?: string | null | undefined;
198
- config?: {
199
- label?: string | null | undefined;
200
- placeholder?: string;
201
- constraint?: {
202
- width?: number | null;
203
- height?: number | null;
204
- };
205
- thumbnails?: readonly ({
206
- name: string;
207
- } & {
208
- width?: number | null;
209
- height?: number | null;
210
- })[];
211
- };
212
- }) | ({
213
- type: "IntegrationFields";
214
- } & {
215
- fieldset?: string | null | undefined;
216
- config?: {
217
- label?: string | null | undefined;
218
- placeholder?: string;
219
- catalog?: string;
220
- };
221
- }) | ({
222
- type: "Group";
223
- } & {
224
- fieldset?: string | null | undefined;
225
- icon?: string;
226
- description?: string;
227
- config?: {
228
- label?: string | null | undefined;
229
- repeat?: boolean;
230
- fields?: {
231
- [x: string]: ({
232
- type: "Color";
233
- } & {
234
- fieldset?: string | null | undefined;
235
- config?: {
236
- label?: string | null | undefined;
237
- placeholder?: string;
238
- };
239
- }) | ({
240
- type: "Boolean";
241
- } & {
242
- config?: {
243
- label?: string | null | undefined;
244
- default_value?: boolean;
245
- placeholder_true?: string;
246
- placeholder_false?: string;
247
- };
248
- }) | ({
249
- type: "Embed";
250
- } & {
251
- fieldset?: string | null | undefined;
252
- config?: {
253
- label?: string | null | undefined;
254
- placeholder?: string;
255
- useAsTitle?: boolean;
256
- };
257
- }) | ({
258
- type: "GeoPoint";
259
- } & {
260
- fieldset?: string | null | undefined;
261
- config?: {
262
- label?: string | null | undefined;
263
- };
264
- }) | ({
265
- type: "Date";
266
- } & {
267
- fieldset?: string | null | undefined;
268
- config?: {
269
- label?: string | null | undefined;
270
- placeholder?: string;
271
- default?: string;
272
- };
273
- }) | ({
274
- type: "Number";
275
- } & {
276
- fieldset?: string | null | undefined;
277
- config?: {
278
- label?: string | null | undefined;
279
- placeholder?: string;
280
- min?: number;
281
- max?: number;
282
- step?: number;
283
- };
284
- }) | ({
285
- type: "Range";
286
- } & {
287
- fieldset?: string | null | undefined;
288
- config?: {
289
- label?: string | null | undefined;
290
- placeholder?: string;
291
- min?: number;
292
- max?: number;
293
- step?: number;
294
- };
295
- }) | ({
296
- type: "StructuredText";
297
- } & {
298
- fieldset?: string | null | undefined;
299
- config?: {
300
- label?: string | null | undefined;
301
- placeholder?: string;
302
- useAsTitle?: boolean;
303
- single?: string;
304
- multi?: string;
305
- imageConstraint?: {
306
- width?: number | null;
307
- height?: number | null;
308
- };
309
- labels?: readonly string[];
310
- allowTargetBlank?: boolean;
311
- };
312
- }) | ({
313
- type: "Select";
314
- } & {
315
- fieldset?: string | null | undefined;
316
- config?: {
317
- label?: string | null | undefined;
318
- placeholder?: string;
319
- default_value?: string;
320
- options?: readonly string[];
321
- };
322
- }) | ({
323
- type: "Separator";
324
- } & {
325
- config?: {
326
- label?: string | null | undefined;
327
- };
328
- }) | ({
329
- type: "Table";
330
- } & {
331
- config?: {
332
- label?: string | null | undefined;
333
- };
334
- }) | ({
335
- type: "Text";
336
- } & {
337
- fieldset?: string | null | undefined;
338
- config?: {
339
- label?: string | null | undefined;
340
- useAsTitle?: boolean;
341
- placeholder?: string;
342
- };
343
- }) | ({
344
- type: "Timestamp";
345
- } & {
346
- fieldset?: string | null | undefined;
347
- config?: {
348
- label?: string | null | undefined;
349
- placeholder?: string;
350
- default?: string;
351
- };
352
- }) | ({
353
- type: "Link";
354
- } & {
355
- fieldset?: string | null | undefined;
356
- config?: {
357
- label?: string | null | undefined;
358
- useAsTitle?: boolean;
359
- placeholder?: string;
360
- select?: "media" | "document" | "web" | null;
361
- customtypes?: readonly (string | {
362
- id: string;
363
- fields: readonly (string | {
364
- id: string;
365
- customtypes: readonly (string | {
366
- id: string;
367
- fields: readonly (string | {
368
- id: string;
369
- fields: readonly string[];
370
- })[];
371
- })[];
372
- } | {
373
- id: string;
374
- fields: readonly (string | {
375
- id: string;
376
- customtypes: readonly (string | {
377
- id: string;
378
- fields: readonly (string | {
379
- id: string;
380
- fields: readonly string[];
381
- })[];
382
- })[];
383
- })[];
384
- })[];
385
- })[];
386
- masks?: readonly string[];
387
- tags?: readonly string[];
388
- allowTargetBlank?: boolean;
389
- allowText?: boolean;
390
- repeat?: boolean;
391
- variants?: string[];
392
- };
393
- }) | ({
394
- type: "Image";
395
- } & {
396
- fieldset?: string | null | undefined;
397
- config?: {
398
- label?: string | null | undefined;
399
- placeholder?: string;
400
- constraint?: {
401
- width?: number | null;
402
- height?: number | null;
403
- };
404
- thumbnails?: readonly ({
405
- name: string;
406
- } & {
407
- width?: number | null;
408
- height?: number | null;
409
- })[];
410
- };
411
- }) | ({
412
- type: "IntegrationFields";
413
- } & {
414
- fieldset?: string | null | undefined;
415
- config?: {
416
- label?: string | null | undefined;
417
- placeholder?: string;
418
- catalog?: string;
419
- };
420
- }) | ({
421
- type: "Group";
422
- } & {
423
- fieldset?: string | null | undefined;
424
- icon?: string;
425
- description?: string;
426
- config?: {
427
- label?: string | null | undefined;
428
- repeat?: boolean;
429
- fields?: {
430
- [x: string]: ({
431
- type: "Color";
432
- } & {
433
- fieldset?: string | null | undefined;
434
- config?: {
435
- label?: string | null | undefined;
436
- placeholder?: string;
437
- };
438
- }) | ({
439
- type: "Boolean";
440
- } & {
441
- config?: {
442
- label?: string | null | undefined;
443
- default_value?: boolean;
444
- placeholder_true?: string;
445
- placeholder_false?: string;
446
- };
447
- }) | ({
448
- type: "Embed";
449
- } & {
450
- fieldset?: string | null | undefined;
451
- config?: {
452
- label?: string | null | undefined;
453
- placeholder?: string;
454
- useAsTitle?: boolean;
455
- };
456
- }) | ({
457
- type: "GeoPoint";
458
- } & {
459
- fieldset?: string | null | undefined;
460
- config?: {
461
- label?: string | null | undefined;
462
- };
463
- }) | ({
464
- type: "Date";
465
- } & {
466
- fieldset?: string | null | undefined;
467
- config?: {
468
- label?: string | null | undefined;
469
- placeholder?: string;
470
- default?: string;
471
- };
472
- }) | ({
473
- type: "Number";
474
- } & {
475
- fieldset?: string | null | undefined;
476
- config?: {
477
- label?: string | null | undefined;
478
- placeholder?: string;
479
- min?: number;
480
- max?: number;
481
- step?: number;
482
- };
483
- }) | ({
484
- type: "Range";
485
- } & {
486
- fieldset?: string | null | undefined;
487
- config?: {
488
- label?: string | null | undefined;
489
- placeholder?: string;
490
- min?: number;
491
- max?: number;
492
- step?: number;
493
- };
494
- }) | ({
495
- type: "StructuredText";
496
- } & {
497
- fieldset?: string | null | undefined;
498
- config?: {
499
- label?: string | null | undefined;
500
- placeholder?: string;
501
- useAsTitle?: boolean;
502
- single?: string;
503
- multi?: string;
504
- imageConstraint?: {
505
- width?: number | null;
506
- height?: number | null;
507
- };
508
- labels?: readonly string[];
509
- allowTargetBlank?: boolean;
510
- };
511
- }) | ({
512
- type: "Select";
513
- } & {
514
- fieldset?: string | null | undefined;
515
- config?: {
516
- label?: string | null | undefined;
517
- placeholder?: string;
518
- default_value?: string;
519
- options?: readonly string[];
520
- };
521
- }) | ({
522
- type: "Separator";
523
- } & {
524
- config?: {
525
- label?: string | null | undefined;
526
- };
527
- }) | ({
528
- type: "Table";
529
- } & {
530
- config?: {
531
- label?: string | null | undefined;
532
- };
533
- }) | ({
534
- type: "Text";
535
- } & {
536
- fieldset?: string | null | undefined;
537
- config?: {
538
- label?: string | null | undefined;
539
- useAsTitle?: boolean;
540
- placeholder?: string;
541
- };
542
- }) | ({
543
- type: "Timestamp";
544
- } & {
545
- fieldset?: string | null | undefined;
546
- config?: {
547
- label?: string | null | undefined;
548
- placeholder?: string;
549
- default?: string;
550
- };
551
- }) | ({
552
- type: "Link";
553
- } & {
554
- fieldset?: string | null | undefined;
555
- config?: {
556
- label?: string | null | undefined;
557
- useAsTitle?: boolean;
558
- placeholder?: string;
559
- select?: "media" | "document" | "web" | null;
560
- customtypes?: readonly (string | {
561
- id: string;
562
- fields: readonly (string | {
563
- id: string;
564
- customtypes: readonly (string | {
565
- id: string;
566
- fields: readonly (string | {
567
- id: string;
568
- fields: readonly string[];
569
- })[];
570
- })[];
571
- } | {
572
- id: string;
573
- fields: readonly (string | {
574
- id: string;
575
- customtypes: readonly (string | {
576
- id: string;
577
- fields: readonly (string | {
578
- id: string;
579
- fields: readonly string[];
580
- })[];
581
- })[];
582
- })[];
583
- })[];
584
- })[];
585
- masks?: readonly string[];
586
- tags?: readonly string[];
587
- allowTargetBlank?: boolean;
588
- allowText?: boolean;
589
- repeat?: boolean;
590
- variants?: string[];
591
- };
592
- }) | ({
593
- type: "Image";
594
- } & {
595
- fieldset?: string | null | undefined;
596
- config?: {
597
- label?: string | null | undefined;
598
- placeholder?: string;
599
- constraint?: {
600
- width?: number | null;
601
- height?: number | null;
602
- };
603
- thumbnails?: readonly ({
604
- name: string;
605
- } & {
606
- width?: number | null;
607
- height?: number | null;
608
- })[];
609
- };
610
- }) | ({
611
- type: "IntegrationFields";
612
- } & {
613
- fieldset?: string | null | undefined;
614
- config?: {
615
- label?: string | null | undefined;
616
- placeholder?: string;
617
- catalog?: string;
618
- };
619
- });
620
- };
621
- };
622
- });
623
- };
624
- };
625
- }) | ({
626
- type: "Choice" | "Slices";
627
- } & {
628
- fieldset?: string | null | undefined;
629
- config?: {
630
- label?: string | null | undefined;
631
- labels?: {
632
- [x: string]: readonly ({
633
- name: string;
634
- } & {
635
- display?: string;
636
- })[];
637
- } | null;
638
- choices?: {
639
- [x: string]: ({
640
- type: "Color";
641
- } & {
642
- fieldset?: string | null | undefined;
643
- config?: {
644
- label?: string | null | undefined;
645
- placeholder?: string;
646
- };
647
- }) | ({
648
- type: "Boolean";
649
- } & {
650
- config?: {
651
- label?: string | null | undefined;
652
- default_value?: boolean;
653
- placeholder_true?: string;
654
- placeholder_false?: string;
655
- };
656
- }) | ({
657
- type: "Embed";
658
- } & {
659
- fieldset?: string | null | undefined;
660
- config?: {
661
- label?: string | null | undefined;
662
- placeholder?: string;
663
- useAsTitle?: boolean;
664
- };
665
- }) | ({
666
- type: "GeoPoint";
667
- } & {
668
- fieldset?: string | null | undefined;
669
- config?: {
670
- label?: string | null | undefined;
671
- };
672
- }) | ({
673
- type: "Date";
674
- } & {
675
- fieldset?: string | null | undefined;
676
- config?: {
677
- label?: string | null | undefined;
678
- placeholder?: string;
679
- default?: string;
680
- };
681
- }) | ({
682
- type: "Number";
683
- } & {
684
- fieldset?: string | null | undefined;
685
- config?: {
686
- label?: string | null | undefined;
687
- placeholder?: string;
688
- min?: number;
689
- max?: number;
690
- step?: number;
691
- };
692
- }) | ({
693
- type: "Range";
694
- } & {
695
- fieldset?: string | null | undefined;
696
- config?: {
697
- label?: string | null | undefined;
698
- placeholder?: string;
699
- min?: number;
700
- max?: number;
701
- step?: number;
702
- };
703
- }) | ({
704
- type: "StructuredText";
705
- } & {
706
- fieldset?: string | null | undefined;
707
- config?: {
708
- label?: string | null | undefined;
709
- placeholder?: string;
710
- useAsTitle?: boolean;
711
- single?: string;
712
- multi?: string;
713
- imageConstraint?: {
714
- width?: number | null;
715
- height?: number | null;
716
- };
717
- labels?: readonly string[];
718
- allowTargetBlank?: boolean;
719
- };
720
- }) | ({
721
- type: "Select";
722
- } & {
723
- fieldset?: string | null | undefined;
724
- config?: {
725
- label?: string | null | undefined;
726
- placeholder?: string;
727
- default_value?: string;
728
- options?: readonly string[];
729
- };
730
- }) | ({
731
- type: "Separator";
732
- } & {
733
- config?: {
734
- label?: string | null | undefined;
735
- };
736
- }) | ({
737
- type: "Table";
738
- } & {
739
- config?: {
740
- label?: string | null | undefined;
741
- };
742
- }) | ({
743
- type: "Text";
744
- } & {
745
- fieldset?: string | null | undefined;
746
- config?: {
747
- label?: string | null | undefined;
748
- useAsTitle?: boolean;
749
- placeholder?: string;
750
- };
751
- }) | ({
752
- type: "Timestamp";
753
- } & {
754
- fieldset?: string | null | undefined;
755
- config?: {
756
- label?: string | null | undefined;
757
- placeholder?: string;
758
- default?: string;
759
- };
760
- }) | ({
761
- type: "Link";
762
- } & {
763
- fieldset?: string | null | undefined;
764
- config?: {
765
- label?: string | null | undefined;
766
- useAsTitle?: boolean;
767
- placeholder?: string;
768
- select?: "media" | "document" | "web" | null;
769
- customtypes?: readonly (string | {
770
- id: string;
771
- fields: readonly (string | {
772
- id: string;
773
- customtypes: readonly (string | {
774
- id: string;
775
- fields: readonly (string | {
776
- id: string;
777
- fields: readonly string[];
778
- })[];
779
- })[];
780
- } | {
781
- id: string;
782
- fields: readonly (string | {
783
- id: string;
784
- customtypes: readonly (string | {
785
- id: string;
786
- fields: readonly (string | {
787
- id: string;
788
- fields: readonly string[];
789
- })[];
790
- })[];
791
- })[];
792
- })[];
793
- })[];
794
- masks?: readonly string[];
795
- tags?: readonly string[];
796
- allowTargetBlank?: boolean;
797
- allowText?: boolean;
798
- repeat?: boolean;
799
- variants?: string[];
800
- };
801
- }) | ({
802
- type: "Image";
803
- } & {
804
- fieldset?: string | null | undefined;
805
- config?: {
806
- label?: string | null | undefined;
807
- placeholder?: string;
808
- constraint?: {
809
- width?: number | null;
810
- height?: number | null;
811
- };
812
- thumbnails?: readonly ({
813
- name: string;
814
- } & {
815
- width?: number | null;
816
- height?: number | null;
817
- })[];
818
- };
819
- }) | ({
820
- type: "IntegrationFields";
821
- } & {
822
- fieldset?: string | null | undefined;
823
- config?: {
824
- label?: string | null | undefined;
825
- placeholder?: string;
826
- catalog?: string;
827
- };
828
- }) | ({
829
- type: "Group";
830
- } & {
831
- fieldset?: string | null | undefined;
832
- icon?: string;
833
- description?: string;
834
- config?: {
835
- label?: string | null | undefined;
836
- repeat?: boolean;
837
- fields?: {
838
- [x: string]: ({
839
- type: "Color";
840
- } & {
841
- fieldset?: string | null | undefined;
842
- config?: {
843
- label?: string | null | undefined;
844
- placeholder?: string;
845
- };
846
- }) | ({
847
- type: "Boolean";
848
- } & {
849
- config?: {
850
- label?: string | null | undefined;
851
- default_value?: boolean;
852
- placeholder_true?: string;
853
- placeholder_false?: string;
854
- };
855
- }) | ({
856
- type: "Embed";
857
- } & {
858
- fieldset?: string | null | undefined;
859
- config?: {
860
- label?: string | null | undefined;
861
- placeholder?: string;
862
- useAsTitle?: boolean;
863
- };
864
- }) | ({
865
- type: "GeoPoint";
866
- } & {
867
- fieldset?: string | null | undefined;
868
- config?: {
869
- label?: string | null | undefined;
870
- };
871
- }) | ({
872
- type: "Date";
873
- } & {
874
- fieldset?: string | null | undefined;
875
- config?: {
876
- label?: string | null | undefined;
877
- placeholder?: string;
878
- default?: string;
879
- };
880
- }) | ({
881
- type: "Number";
882
- } & {
883
- fieldset?: string | null | undefined;
884
- config?: {
885
- label?: string | null | undefined;
886
- placeholder?: string;
887
- min?: number;
888
- max?: number;
889
- step?: number;
890
- };
891
- }) | ({
892
- type: "Range";
893
- } & {
894
- fieldset?: string | null | undefined;
895
- config?: {
896
- label?: string | null | undefined;
897
- placeholder?: string;
898
- min?: number;
899
- max?: number;
900
- step?: number;
901
- };
902
- }) | ({
903
- type: "StructuredText";
904
- } & {
905
- fieldset?: string | null | undefined;
906
- config?: {
907
- label?: string | null | undefined;
908
- placeholder?: string;
909
- useAsTitle?: boolean;
910
- single?: string;
911
- multi?: string;
912
- imageConstraint?: {
913
- width?: number | null;
914
- height?: number | null;
915
- };
916
- labels?: readonly string[];
917
- allowTargetBlank?: boolean;
918
- };
919
- }) | ({
920
- type: "Select";
921
- } & {
922
- fieldset?: string | null | undefined;
923
- config?: {
924
- label?: string | null | undefined;
925
- placeholder?: string;
926
- default_value?: string;
927
- options?: readonly string[];
928
- };
929
- }) | ({
930
- type: "Separator";
931
- } & {
932
- config?: {
933
- label?: string | null | undefined;
934
- };
935
- }) | ({
936
- type: "Table";
937
- } & {
938
- config?: {
939
- label?: string | null | undefined;
940
- };
941
- }) | ({
942
- type: "Text";
943
- } & {
944
- fieldset?: string | null | undefined;
945
- config?: {
946
- label?: string | null | undefined;
947
- useAsTitle?: boolean;
948
- placeholder?: string;
949
- };
950
- }) | ({
951
- type: "Timestamp";
952
- } & {
953
- fieldset?: string | null | undefined;
954
- config?: {
955
- label?: string | null | undefined;
956
- placeholder?: string;
957
- default?: string;
958
- };
959
- }) | ({
960
- type: "Link";
961
- } & {
962
- fieldset?: string | null | undefined;
963
- config?: {
964
- label?: string | null | undefined;
965
- useAsTitle?: boolean;
966
- placeholder?: string;
967
- select?: "media" | "document" | "web" | null;
968
- customtypes?: readonly (string | {
969
- id: string;
970
- fields: readonly (string | {
971
- id: string;
972
- customtypes: readonly (string | {
973
- id: string;
974
- fields: readonly (string | {
975
- id: string;
976
- fields: readonly string[];
977
- })[];
978
- })[];
979
- } | {
980
- id: string;
981
- fields: readonly (string | {
982
- id: string;
983
- customtypes: readonly (string | {
984
- id: string;
985
- fields: readonly (string | {
986
- id: string;
987
- fields: readonly string[];
988
- })[];
989
- })[];
990
- })[];
991
- })[];
992
- })[];
993
- masks?: readonly string[];
994
- tags?: readonly string[];
995
- allowTargetBlank?: boolean;
996
- allowText?: boolean;
997
- repeat?: boolean;
998
- variants?: string[];
999
- };
1000
- }) | ({
1001
- type: "Image";
1002
- } & {
1003
- fieldset?: string | null | undefined;
1004
- config?: {
1005
- label?: string | null | undefined;
1006
- placeholder?: string;
1007
- constraint?: {
1008
- width?: number | null;
1009
- height?: number | null;
1010
- };
1011
- thumbnails?: readonly ({
1012
- name: string;
1013
- } & {
1014
- width?: number | null;
1015
- height?: number | null;
1016
- })[];
1017
- };
1018
- }) | ({
1019
- type: "IntegrationFields";
1020
- } & {
1021
- fieldset?: string | null | undefined;
1022
- config?: {
1023
- label?: string | null | undefined;
1024
- placeholder?: string;
1025
- catalog?: string;
1026
- };
1027
- });
1028
- };
1029
- };
1030
- }) | ({
1031
- type: "Slice";
1032
- } & {
1033
- fieldset?: string | null | undefined;
1034
- description?: string;
1035
- icon?: string;
1036
- display?: string;
1037
- "non-repeat"?: {
1038
- [x: string]: ({
1039
- type: "Color";
1040
- } & {
1041
- fieldset?: string | null | undefined;
1042
- config?: {
1043
- label?: string | null | undefined;
1044
- placeholder?: string;
1045
- };
1046
- }) | ({
1047
- type: "Boolean";
1048
- } & {
1049
- config?: {
1050
- label?: string | null | undefined;
1051
- default_value?: boolean;
1052
- placeholder_true?: string;
1053
- placeholder_false?: string;
1054
- };
1055
- }) | ({
1056
- type: "Embed";
1057
- } & {
1058
- fieldset?: string | null | undefined;
1059
- config?: {
1060
- label?: string | null | undefined;
1061
- placeholder?: string;
1062
- useAsTitle?: boolean;
1063
- };
1064
- }) | ({
1065
- type: "GeoPoint";
1066
- } & {
1067
- fieldset?: string | null | undefined;
1068
- config?: {
1069
- label?: string | null | undefined;
1070
- };
1071
- }) | ({
1072
- type: "Date";
1073
- } & {
1074
- fieldset?: string | null | undefined;
1075
- config?: {
1076
- label?: string | null | undefined;
1077
- placeholder?: string;
1078
- default?: string;
1079
- };
1080
- }) | ({
1081
- type: "Number";
1082
- } & {
1083
- fieldset?: string | null | undefined;
1084
- config?: {
1085
- label?: string | null | undefined;
1086
- placeholder?: string;
1087
- min?: number;
1088
- max?: number;
1089
- step?: number;
1090
- };
1091
- }) | ({
1092
- type: "Range";
1093
- } & {
1094
- fieldset?: string | null | undefined;
1095
- config?: {
1096
- label?: string | null | undefined;
1097
- placeholder?: string;
1098
- min?: number;
1099
- max?: number;
1100
- step?: number;
1101
- };
1102
- }) | ({
1103
- type: "StructuredText";
1104
- } & {
1105
- fieldset?: string | null | undefined;
1106
- config?: {
1107
- label?: string | null | undefined;
1108
- placeholder?: string;
1109
- useAsTitle?: boolean;
1110
- single?: string;
1111
- multi?: string;
1112
- imageConstraint?: {
1113
- width?: number | null;
1114
- height?: number | null;
1115
- };
1116
- labels?: readonly string[];
1117
- allowTargetBlank?: boolean;
1118
- };
1119
- }) | ({
1120
- type: "Select";
1121
- } & {
1122
- fieldset?: string | null | undefined;
1123
- config?: {
1124
- label?: string | null | undefined;
1125
- placeholder?: string;
1126
- default_value?: string;
1127
- options?: readonly string[];
1128
- };
1129
- }) | ({
1130
- type: "Separator";
1131
- } & {
1132
- config?: {
1133
- label?: string | null | undefined;
1134
- };
1135
- }) | ({
1136
- type: "Table";
1137
- } & {
1138
- config?: {
1139
- label?: string | null | undefined;
1140
- };
1141
- }) | ({
1142
- type: "Text";
1143
- } & {
1144
- fieldset?: string | null | undefined;
1145
- config?: {
1146
- label?: string | null | undefined;
1147
- useAsTitle?: boolean;
1148
- placeholder?: string;
1149
- };
1150
- }) | ({
1151
- type: "Timestamp";
1152
- } & {
1153
- fieldset?: string | null | undefined;
1154
- config?: {
1155
- label?: string | null | undefined;
1156
- placeholder?: string;
1157
- default?: string;
1158
- };
1159
- }) | ({
1160
- type: "Link";
1161
- } & {
1162
- fieldset?: string | null | undefined;
1163
- config?: {
1164
- label?: string | null | undefined;
1165
- useAsTitle?: boolean;
1166
- placeholder?: string;
1167
- select?: "media" | "document" | "web" | null;
1168
- customtypes?: readonly (string | {
1169
- id: string;
1170
- fields: readonly (string | {
1171
- id: string;
1172
- customtypes: readonly (string | {
1173
- id: string;
1174
- fields: readonly (string | {
1175
- id: string;
1176
- fields: readonly string[];
1177
- })[];
1178
- })[];
1179
- } | {
1180
- id: string;
1181
- fields: readonly (string | {
1182
- id: string;
1183
- customtypes: readonly (string | {
1184
- id: string;
1185
- fields: readonly (string | {
1186
- id: string;
1187
- fields: readonly string[];
1188
- })[];
1189
- })[];
1190
- })[];
1191
- })[];
1192
- })[];
1193
- masks?: readonly string[];
1194
- tags?: readonly string[];
1195
- allowTargetBlank?: boolean;
1196
- allowText?: boolean;
1197
- repeat?: boolean;
1198
- variants?: string[];
1199
- };
1200
- }) | ({
1201
- type: "Image";
1202
- } & {
1203
- fieldset?: string | null | undefined;
1204
- config?: {
1205
- label?: string | null | undefined;
1206
- placeholder?: string;
1207
- constraint?: {
1208
- width?: number | null;
1209
- height?: number | null;
1210
- };
1211
- thumbnails?: readonly ({
1212
- name: string;
1213
- } & {
1214
- width?: number | null;
1215
- height?: number | null;
1216
- })[];
1217
- };
1218
- }) | ({
1219
- type: "IntegrationFields";
1220
- } & {
1221
- fieldset?: string | null | undefined;
1222
- config?: {
1223
- label?: string | null | undefined;
1224
- placeholder?: string;
1225
- catalog?: string;
1226
- };
1227
- });
1228
- };
1229
- repeat?: {
1230
- [x: string]: ({
1231
- type: "Color";
1232
- } & {
1233
- fieldset?: string | null | undefined;
1234
- config?: {
1235
- label?: string | null | undefined;
1236
- placeholder?: string;
1237
- };
1238
- }) | ({
1239
- type: "Boolean";
1240
- } & {
1241
- config?: {
1242
- label?: string | null | undefined;
1243
- default_value?: boolean;
1244
- placeholder_true?: string;
1245
- placeholder_false?: string;
1246
- };
1247
- }) | ({
1248
- type: "Embed";
1249
- } & {
1250
- fieldset?: string | null | undefined;
1251
- config?: {
1252
- label?: string | null | undefined;
1253
- placeholder?: string;
1254
- useAsTitle?: boolean;
1255
- };
1256
- }) | ({
1257
- type: "GeoPoint";
1258
- } & {
1259
- fieldset?: string | null | undefined;
1260
- config?: {
1261
- label?: string | null | undefined;
1262
- };
1263
- }) | ({
1264
- type: "Date";
1265
- } & {
1266
- fieldset?: string | null | undefined;
1267
- config?: {
1268
- label?: string | null | undefined;
1269
- placeholder?: string;
1270
- default?: string;
1271
- };
1272
- }) | ({
1273
- type: "Number";
1274
- } & {
1275
- fieldset?: string | null | undefined;
1276
- config?: {
1277
- label?: string | null | undefined;
1278
- placeholder?: string;
1279
- min?: number;
1280
- max?: number;
1281
- step?: number;
1282
- };
1283
- }) | ({
1284
- type: "Range";
1285
- } & {
1286
- fieldset?: string | null | undefined;
1287
- config?: {
1288
- label?: string | null | undefined;
1289
- placeholder?: string;
1290
- min?: number;
1291
- max?: number;
1292
- step?: number;
1293
- };
1294
- }) | ({
1295
- type: "StructuredText";
1296
- } & {
1297
- fieldset?: string | null | undefined;
1298
- config?: {
1299
- label?: string | null | undefined;
1300
- placeholder?: string;
1301
- useAsTitle?: boolean;
1302
- single?: string;
1303
- multi?: string;
1304
- imageConstraint?: {
1305
- width?: number | null;
1306
- height?: number | null;
1307
- };
1308
- labels?: readonly string[];
1309
- allowTargetBlank?: boolean;
1310
- };
1311
- }) | ({
1312
- type: "Select";
1313
- } & {
1314
- fieldset?: string | null | undefined;
1315
- config?: {
1316
- label?: string | null | undefined;
1317
- placeholder?: string;
1318
- default_value?: string;
1319
- options?: readonly string[];
1320
- };
1321
- }) | ({
1322
- type: "Separator";
1323
- } & {
1324
- config?: {
1325
- label?: string | null | undefined;
1326
- };
1327
- }) | ({
1328
- type: "Table";
1329
- } & {
1330
- config?: {
1331
- label?: string | null | undefined;
1332
- };
1333
- }) | ({
1334
- type: "Text";
1335
- } & {
1336
- fieldset?: string | null | undefined;
1337
- config?: {
1338
- label?: string | null | undefined;
1339
- useAsTitle?: boolean;
1340
- placeholder?: string;
1341
- };
1342
- }) | ({
1343
- type: "Timestamp";
1344
- } & {
1345
- fieldset?: string | null | undefined;
1346
- config?: {
1347
- label?: string | null | undefined;
1348
- placeholder?: string;
1349
- default?: string;
1350
- };
1351
- }) | ({
1352
- type: "Link";
1353
- } & {
1354
- fieldset?: string | null | undefined;
1355
- config?: {
1356
- label?: string | null | undefined;
1357
- useAsTitle?: boolean;
1358
- placeholder?: string;
1359
- select?: "media" | "document" | "web" | null;
1360
- customtypes?: readonly (string | {
1361
- id: string;
1362
- fields: readonly (string | {
1363
- id: string;
1364
- customtypes: readonly (string | {
1365
- id: string;
1366
- fields: readonly (string | {
1367
- id: string;
1368
- fields: readonly string[];
1369
- })[];
1370
- })[];
1371
- } | {
1372
- id: string;
1373
- fields: readonly (string | {
1374
- id: string;
1375
- customtypes: readonly (string | {
1376
- id: string;
1377
- fields: readonly (string | {
1378
- id: string;
1379
- fields: readonly string[];
1380
- })[];
1381
- })[];
1382
- })[];
1383
- })[];
1384
- })[];
1385
- masks?: readonly string[];
1386
- tags?: readonly string[];
1387
- allowTargetBlank?: boolean;
1388
- allowText?: boolean;
1389
- repeat?: boolean;
1390
- variants?: string[];
1391
- };
1392
- }) | ({
1393
- type: "Image";
1394
- } & {
1395
- fieldset?: string | null | undefined;
1396
- config?: {
1397
- label?: string | null | undefined;
1398
- placeholder?: string;
1399
- constraint?: {
1400
- width?: number | null;
1401
- height?: number | null;
1402
- };
1403
- thumbnails?: readonly ({
1404
- name: string;
1405
- } & {
1406
- width?: number | null;
1407
- height?: number | null;
1408
- })[];
1409
- };
1410
- }) | ({
1411
- type: "IntegrationFields";
1412
- } & {
1413
- fieldset?: string | null | undefined;
1414
- config?: {
1415
- label?: string | null | undefined;
1416
- placeholder?: string;
1417
- catalog?: string;
1418
- };
1419
- });
1420
- };
1421
- config?: {
1422
- label?: string | null | undefined;
1423
- };
1424
- }) | ({
1425
- id: string;
1426
- type: "SharedSlice";
1427
- name: string;
1428
- variations: readonly ({
1429
- id: string;
1430
- name: string;
1431
- description: string;
1432
- imageUrl: string;
1433
- docURL: string;
1434
- version: string;
1435
- } & {
1436
- display?: string;
1437
- primary?: {
1438
- [x: string]: ({
1439
- type: "Color";
1440
- } & {
1441
- fieldset?: string | null | undefined;
1442
- config?: {
1443
- label?: string | null | undefined;
1444
- placeholder?: string;
1445
- };
1446
- }) | ({
1447
- type: "Boolean";
1448
- } & {
1449
- config?: {
1450
- label?: string | null | undefined;
1451
- default_value?: boolean;
1452
- placeholder_true?: string;
1453
- placeholder_false?: string;
1454
- };
1455
- }) | ({
1456
- type: "Embed";
1457
- } & {
1458
- fieldset?: string | null | undefined;
1459
- config?: {
1460
- label?: string | null | undefined;
1461
- placeholder?: string;
1462
- useAsTitle?: boolean;
1463
- };
1464
- }) | ({
1465
- type: "GeoPoint";
1466
- } & {
1467
- fieldset?: string | null | undefined;
1468
- config?: {
1469
- label?: string | null | undefined;
1470
- };
1471
- }) | ({
1472
- type: "Date";
1473
- } & {
1474
- fieldset?: string | null | undefined;
1475
- config?: {
1476
- label?: string | null | undefined;
1477
- placeholder?: string;
1478
- default?: string;
1479
- };
1480
- }) | ({
1481
- type: "Number";
1482
- } & {
1483
- fieldset?: string | null | undefined;
1484
- config?: {
1485
- label?: string | null | undefined;
1486
- placeholder?: string;
1487
- min?: number;
1488
- max?: number;
1489
- step?: number;
1490
- };
1491
- }) | ({
1492
- type: "Range";
1493
- } & {
1494
- fieldset?: string | null | undefined;
1495
- config?: {
1496
- label?: string | null | undefined;
1497
- placeholder?: string;
1498
- min?: number;
1499
- max?: number;
1500
- step?: number;
1501
- };
1502
- }) | ({
1503
- type: "StructuredText";
1504
- } & {
1505
- fieldset?: string | null | undefined;
1506
- config?: {
1507
- label?: string | null | undefined;
1508
- placeholder?: string;
1509
- useAsTitle?: boolean;
1510
- single?: string;
1511
- multi?: string;
1512
- imageConstraint?: {
1513
- width?: number | null;
1514
- height?: number | null;
1515
- };
1516
- labels?: readonly string[];
1517
- allowTargetBlank?: boolean;
1518
- };
1519
- }) | ({
1520
- type: "Select";
1521
- } & {
1522
- fieldset?: string | null | undefined;
1523
- config?: {
1524
- label?: string | null | undefined;
1525
- placeholder?: string;
1526
- default_value?: string;
1527
- options?: readonly string[];
1528
- };
1529
- }) | ({
1530
- type: "Separator";
1531
- } & {
1532
- config?: {
1533
- label?: string | null | undefined;
1534
- };
1535
- }) | ({
1536
- type: "Table";
1537
- } & {
1538
- config?: {
1539
- label?: string | null | undefined;
1540
- };
1541
- }) | ({
1542
- type: "Text";
1543
- } & {
1544
- fieldset?: string | null | undefined;
1545
- config?: {
1546
- label?: string | null | undefined;
1547
- useAsTitle?: boolean;
1548
- placeholder?: string;
1549
- };
1550
- }) | ({
1551
- type: "Timestamp";
1552
- } & {
1553
- fieldset?: string | null | undefined;
1554
- config?: {
1555
- label?: string | null | undefined;
1556
- placeholder?: string;
1557
- default?: string;
1558
- };
1559
- }) | ({
1560
- type: "Link";
1561
- } & {
1562
- fieldset?: string | null | undefined;
1563
- config?: {
1564
- label?: string | null | undefined;
1565
- useAsTitle?: boolean;
1566
- placeholder?: string;
1567
- select?: "media" | "document" | "web" | null;
1568
- customtypes?: readonly (string | {
1569
- id: string;
1570
- fields: readonly (string | {
1571
- id: string;
1572
- customtypes: readonly (string | {
1573
- id: string;
1574
- fields: readonly (string | {
1575
- id: string;
1576
- fields: readonly string[];
1577
- })[];
1578
- })[];
1579
- } | {
1580
- id: string;
1581
- fields: readonly (string | {
1582
- id: string;
1583
- customtypes: readonly (string | {
1584
- id: string;
1585
- fields: readonly (string | {
1586
- id: string;
1587
- fields: readonly string[];
1588
- })[];
1589
- })[];
1590
- })[];
1591
- })[];
1592
- })[];
1593
- masks?: readonly string[];
1594
- tags?: readonly string[];
1595
- allowTargetBlank?: boolean;
1596
- allowText?: boolean;
1597
- repeat?: boolean;
1598
- variants?: string[];
1599
- };
1600
- }) | ({
1601
- type: "Image";
1602
- } & {
1603
- fieldset?: string | null | undefined;
1604
- config?: {
1605
- label?: string | null | undefined;
1606
- placeholder?: string;
1607
- constraint?: {
1608
- width?: number | null;
1609
- height?: number | null;
1610
- };
1611
- thumbnails?: readonly ({
1612
- name: string;
1613
- } & {
1614
- width?: number | null;
1615
- height?: number | null;
1616
- })[];
1617
- };
1618
- }) | ({
1619
- type: "IntegrationFields";
1620
- } & {
1621
- fieldset?: string | null | undefined;
1622
- config?: {
1623
- label?: string | null | undefined;
1624
- placeholder?: string;
1625
- catalog?: string;
1626
- };
1627
- }) | ({
1628
- type: "Group";
1629
- } & {
1630
- fieldset?: string | null | undefined;
1631
- icon?: string;
1632
- description?: string;
1633
- config?: {
1634
- label?: string | null | undefined;
1635
- repeat?: boolean;
1636
- fields?: {
1637
- [x: string]: ({
1638
- type: "Color";
1639
- } & {
1640
- fieldset?: string | null | undefined;
1641
- config?: {
1642
- label?: string | null | undefined;
1643
- placeholder?: string;
1644
- };
1645
- }) | ({
1646
- type: "Boolean";
1647
- } & {
1648
- config?: {
1649
- label?: string | null | undefined;
1650
- default_value?: boolean;
1651
- placeholder_true?: string;
1652
- placeholder_false?: string;
1653
- };
1654
- }) | ({
1655
- type: "Embed";
1656
- } & {
1657
- fieldset?: string | null | undefined;
1658
- config?: {
1659
- label?: string | null | undefined;
1660
- placeholder?: string;
1661
- useAsTitle?: boolean;
1662
- };
1663
- }) | ({
1664
- type: "GeoPoint";
1665
- } & {
1666
- fieldset?: string | null | undefined;
1667
- config?: {
1668
- label?: string | null | undefined;
1669
- };
1670
- }) | ({
1671
- type: "Date";
1672
- } & {
1673
- fieldset?: string | null | undefined;
1674
- config?: {
1675
- label?: string | null | undefined;
1676
- placeholder?: string;
1677
- default?: string;
1678
- };
1679
- }) | ({
1680
- type: "Number";
1681
- } & {
1682
- fieldset?: string | null | undefined;
1683
- config?: {
1684
- label?: string | null | undefined;
1685
- placeholder?: string;
1686
- min?: number;
1687
- max?: number;
1688
- step?: number;
1689
- };
1690
- }) | ({
1691
- type: "Range";
1692
- } & {
1693
- fieldset?: string | null | undefined;
1694
- config?: {
1695
- label?: string | null | undefined;
1696
- placeholder?: string;
1697
- min?: number;
1698
- max?: number;
1699
- step?: number;
1700
- };
1701
- }) | ({
1702
- type: "StructuredText";
1703
- } & {
1704
- fieldset?: string | null | undefined;
1705
- config?: {
1706
- label?: string | null | undefined;
1707
- placeholder?: string;
1708
- useAsTitle?: boolean;
1709
- single?: string;
1710
- multi?: string;
1711
- imageConstraint?: {
1712
- width?: number | null;
1713
- height?: number | null;
1714
- };
1715
- labels?: readonly string[];
1716
- allowTargetBlank?: boolean;
1717
- };
1718
- }) | ({
1719
- type: "Select";
1720
- } & {
1721
- fieldset?: string | null | undefined;
1722
- config?: {
1723
- label?: string | null | undefined;
1724
- placeholder?: string;
1725
- default_value?: string;
1726
- options?: readonly string[];
1727
- };
1728
- }) | ({
1729
- type: "Separator";
1730
- } & {
1731
- config?: {
1732
- label?: string | null | undefined;
1733
- };
1734
- }) | ({
1735
- type: "Table";
1736
- } & {
1737
- config?: {
1738
- label?: string | null | undefined;
1739
- };
1740
- }) | ({
1741
- type: "Text";
1742
- } & {
1743
- fieldset?: string | null | undefined;
1744
- config?: {
1745
- label?: string | null | undefined;
1746
- useAsTitle?: boolean;
1747
- placeholder?: string;
1748
- };
1749
- }) | ({
1750
- type: "Timestamp";
1751
- } & {
1752
- fieldset?: string | null | undefined;
1753
- config?: {
1754
- label?: string | null | undefined;
1755
- placeholder?: string;
1756
- default?: string;
1757
- };
1758
- }) | ({
1759
- type: "Link";
1760
- } & {
1761
- fieldset?: string | null | undefined;
1762
- config?: {
1763
- label?: string | null | undefined;
1764
- useAsTitle?: boolean;
1765
- placeholder?: string;
1766
- select?: "media" | "document" | "web" | null;
1767
- customtypes?: readonly (string | {
1768
- id: string;
1769
- fields: readonly (string | {
1770
- id: string;
1771
- customtypes: readonly (string | {
1772
- id: string;
1773
- fields: readonly (string | {
1774
- id: string;
1775
- fields: readonly string[];
1776
- })[];
1777
- })[];
1778
- } | {
1779
- id: string;
1780
- fields: readonly (string | {
1781
- id: string;
1782
- customtypes: readonly (string | {
1783
- id: string;
1784
- fields: readonly (string | {
1785
- id: string;
1786
- fields: readonly string[];
1787
- })[];
1788
- })[];
1789
- })[];
1790
- })[];
1791
- })[];
1792
- masks?: readonly string[];
1793
- tags?: readonly string[];
1794
- allowTargetBlank?: boolean;
1795
- allowText?: boolean;
1796
- repeat?: boolean;
1797
- variants?: string[];
1798
- };
1799
- }) | ({
1800
- type: "Image";
1801
- } & {
1802
- fieldset?: string | null | undefined;
1803
- config?: {
1804
- label?: string | null | undefined;
1805
- placeholder?: string;
1806
- constraint?: {
1807
- width?: number | null;
1808
- height?: number | null;
1809
- };
1810
- thumbnails?: readonly ({
1811
- name: string;
1812
- } & {
1813
- width?: number | null;
1814
- height?: number | null;
1815
- })[];
1816
- };
1817
- }) | ({
1818
- type: "IntegrationFields";
1819
- } & {
1820
- fieldset?: string | null | undefined;
1821
- config?: {
1822
- label?: string | null | undefined;
1823
- placeholder?: string;
1824
- catalog?: string;
1825
- };
1826
- }) | ({
1827
- type: "Group";
1828
- } & {
1829
- fieldset?: string | null | undefined;
1830
- icon?: string;
1831
- description?: string;
1832
- config?: {
1833
- label?: string | null | undefined;
1834
- repeat?: boolean;
1835
- fields?: {
1836
- [x: string]: ({
1837
- type: "Color";
1838
- } & {
1839
- fieldset?: string | null | undefined;
1840
- config?: {
1841
- label?: string | null | undefined;
1842
- placeholder?: string;
1843
- };
1844
- }) | ({
1845
- type: "Boolean";
1846
- } & {
1847
- config?: {
1848
- label?: string | null | undefined;
1849
- default_value?: boolean;
1850
- placeholder_true?: string;
1851
- placeholder_false?: string;
1852
- };
1853
- }) | ({
1854
- type: "Embed";
1855
- } & {
1856
- fieldset?: string | null | undefined;
1857
- config?: {
1858
- label?: string | null | undefined;
1859
- placeholder?: string;
1860
- useAsTitle?: boolean;
1861
- };
1862
- }) | ({
1863
- type: "GeoPoint";
1864
- } & {
1865
- fieldset?: string | null | undefined;
1866
- config?: {
1867
- label?: string | null | undefined;
1868
- };
1869
- }) | ({
1870
- type: "Date";
1871
- } & {
1872
- fieldset?: string | null | undefined;
1873
- config?: {
1874
- label?: string | null | undefined;
1875
- placeholder?: string;
1876
- default?: string;
1877
- };
1878
- }) | ({
1879
- type: "Number";
1880
- } & {
1881
- fieldset?: string | null | undefined;
1882
- config?: {
1883
- label?: string | null | undefined;
1884
- placeholder?: string;
1885
- min?: number;
1886
- max?: number;
1887
- step?: number;
1888
- };
1889
- }) | ({
1890
- type: "Range";
1891
- } & {
1892
- fieldset?: string | null | undefined;
1893
- config?: {
1894
- label?: string | null | undefined;
1895
- placeholder?: string;
1896
- min?: number;
1897
- max?: number;
1898
- step?: number;
1899
- };
1900
- }) | ({
1901
- type: "StructuredText";
1902
- } & {
1903
- fieldset?: string | null | undefined;
1904
- config?: {
1905
- label?: string | null | undefined;
1906
- placeholder?: string;
1907
- useAsTitle?: boolean;
1908
- single?: string;
1909
- multi?: string;
1910
- imageConstraint?: {
1911
- width?: number | null;
1912
- height?: number | null;
1913
- };
1914
- labels?: readonly string[];
1915
- allowTargetBlank?: boolean;
1916
- };
1917
- }) | ({
1918
- type: "Select";
1919
- } & {
1920
- fieldset?: string | null | undefined;
1921
- config?: {
1922
- label?: string | null | undefined;
1923
- placeholder?: string;
1924
- default_value?: string;
1925
- options?: readonly string[];
1926
- };
1927
- }) | ({
1928
- type: "Separator";
1929
- } & {
1930
- config?: {
1931
- label?: string | null | undefined;
1932
- };
1933
- }) | ({
1934
- type: "Table";
1935
- } & {
1936
- config?: {
1937
- label?: string | null | undefined;
1938
- };
1939
- }) | ({
1940
- type: "Text";
1941
- } & {
1942
- fieldset?: string | null | undefined;
1943
- config?: {
1944
- label?: string | null | undefined;
1945
- useAsTitle?: boolean;
1946
- placeholder?: string;
1947
- };
1948
- }) | ({
1949
- type: "Timestamp";
1950
- } & {
1951
- fieldset?: string | null | undefined;
1952
- config?: {
1953
- label?: string | null | undefined;
1954
- placeholder?: string;
1955
- default?: string;
1956
- };
1957
- }) | ({
1958
- type: "Link";
1959
- } & {
1960
- fieldset?: string | null | undefined;
1961
- config?: {
1962
- label?: string | null | undefined;
1963
- useAsTitle?: boolean;
1964
- placeholder?: string;
1965
- select?: "media" | "document" | "web" | null;
1966
- customtypes?: readonly (string | {
1967
- id: string;
1968
- fields: readonly (string | {
1969
- id: string;
1970
- customtypes: readonly (string | {
1971
- id: string;
1972
- fields: readonly (string | {
1973
- id: string;
1974
- fields: readonly string[];
1975
- })[];
1976
- })[];
1977
- } | {
1978
- id: string;
1979
- fields: readonly (string | {
1980
- id: string;
1981
- customtypes: readonly (string | {
1982
- id: string;
1983
- fields: readonly (string | {
1984
- id: string;
1985
- fields: readonly string[];
1986
- })[];
1987
- })[];
1988
- })[];
1989
- })[];
1990
- })[];
1991
- masks?: readonly string[];
1992
- tags?: readonly string[];
1993
- allowTargetBlank?: boolean;
1994
- allowText?: boolean;
1995
- repeat?: boolean;
1996
- variants?: string[];
1997
- };
1998
- }) | ({
1999
- type: "Image";
2000
- } & {
2001
- fieldset?: string | null | undefined;
2002
- config?: {
2003
- label?: string | null | undefined;
2004
- placeholder?: string;
2005
- constraint?: {
2006
- width?: number | null;
2007
- height?: number | null;
2008
- };
2009
- thumbnails?: readonly ({
2010
- name: string;
2011
- } & {
2012
- width?: number | null;
2013
- height?: number | null;
2014
- })[];
2015
- };
2016
- }) | ({
2017
- type: "IntegrationFields";
2018
- } & {
2019
- fieldset?: string | null | undefined;
2020
- config?: {
2021
- label?: string | null | undefined;
2022
- placeholder?: string;
2023
- catalog?: string;
2024
- };
2025
- });
2026
- };
2027
- };
2028
- });
2029
- };
2030
- };
2031
- });
2032
- };
2033
- items?: {
2034
- [x: string]: ({
2035
- type: "Color";
2036
- } & {
2037
- fieldset?: string | null | undefined;
2038
- config?: {
2039
- label?: string | null | undefined;
2040
- placeholder?: string;
2041
- };
2042
- }) | ({
2043
- type: "Boolean";
2044
- } & {
2045
- config?: {
2046
- label?: string | null | undefined;
2047
- default_value?: boolean;
2048
- placeholder_true?: string;
2049
- placeholder_false?: string;
2050
- };
2051
- }) | ({
2052
- type: "Embed";
2053
- } & {
2054
- fieldset?: string | null | undefined;
2055
- config?: {
2056
- label?: string | null | undefined;
2057
- placeholder?: string;
2058
- useAsTitle?: boolean;
2059
- };
2060
- }) | ({
2061
- type: "GeoPoint";
2062
- } & {
2063
- fieldset?: string | null | undefined;
2064
- config?: {
2065
- label?: string | null | undefined;
2066
- };
2067
- }) | ({
2068
- type: "Date";
2069
- } & {
2070
- fieldset?: string | null | undefined;
2071
- config?: {
2072
- label?: string | null | undefined;
2073
- placeholder?: string;
2074
- default?: string;
2075
- };
2076
- }) | ({
2077
- type: "Number";
2078
- } & {
2079
- fieldset?: string | null | undefined;
2080
- config?: {
2081
- label?: string | null | undefined;
2082
- placeholder?: string;
2083
- min?: number;
2084
- max?: number;
2085
- step?: number;
2086
- };
2087
- }) | ({
2088
- type: "Range";
2089
- } & {
2090
- fieldset?: string | null | undefined;
2091
- config?: {
2092
- label?: string | null | undefined;
2093
- placeholder?: string;
2094
- min?: number;
2095
- max?: number;
2096
- step?: number;
2097
- };
2098
- }) | ({
2099
- type: "StructuredText";
2100
- } & {
2101
- fieldset?: string | null | undefined;
2102
- config?: {
2103
- label?: string | null | undefined;
2104
- placeholder?: string;
2105
- useAsTitle?: boolean;
2106
- single?: string;
2107
- multi?: string;
2108
- imageConstraint?: {
2109
- width?: number | null;
2110
- height?: number | null;
2111
- };
2112
- labels?: readonly string[];
2113
- allowTargetBlank?: boolean;
2114
- };
2115
- }) | ({
2116
- type: "Select";
2117
- } & {
2118
- fieldset?: string | null | undefined;
2119
- config?: {
2120
- label?: string | null | undefined;
2121
- placeholder?: string;
2122
- default_value?: string;
2123
- options?: readonly string[];
2124
- };
2125
- }) | ({
2126
- type: "Separator";
2127
- } & {
2128
- config?: {
2129
- label?: string | null | undefined;
2130
- };
2131
- }) | ({
2132
- type: "Table";
2133
- } & {
2134
- config?: {
2135
- label?: string | null | undefined;
2136
- };
2137
- }) | ({
2138
- type: "Text";
2139
- } & {
2140
- fieldset?: string | null | undefined;
2141
- config?: {
2142
- label?: string | null | undefined;
2143
- useAsTitle?: boolean;
2144
- placeholder?: string;
2145
- };
2146
- }) | ({
2147
- type: "Timestamp";
2148
- } & {
2149
- fieldset?: string | null | undefined;
2150
- config?: {
2151
- label?: string | null | undefined;
2152
- placeholder?: string;
2153
- default?: string;
2154
- };
2155
- }) | ({
2156
- type: "Link";
2157
- } & {
2158
- fieldset?: string | null | undefined;
2159
- config?: {
2160
- label?: string | null | undefined;
2161
- useAsTitle?: boolean;
2162
- placeholder?: string;
2163
- select?: "media" | "document" | "web" | null;
2164
- customtypes?: readonly (string | {
2165
- id: string;
2166
- fields: readonly (string | {
2167
- id: string;
2168
- customtypes: readonly (string | {
2169
- id: string;
2170
- fields: readonly (string | {
2171
- id: string;
2172
- fields: readonly string[];
2173
- })[];
2174
- })[];
2175
- } | {
2176
- id: string;
2177
- fields: readonly (string | {
2178
- id: string;
2179
- customtypes: readonly (string | {
2180
- id: string;
2181
- fields: readonly (string | {
2182
- id: string;
2183
- fields: readonly string[];
2184
- })[];
2185
- })[];
2186
- })[];
2187
- })[];
2188
- })[];
2189
- masks?: readonly string[];
2190
- tags?: readonly string[];
2191
- allowTargetBlank?: boolean;
2192
- allowText?: boolean;
2193
- repeat?: boolean;
2194
- variants?: string[];
2195
- };
2196
- }) | ({
2197
- type: "Image";
2198
- } & {
2199
- fieldset?: string | null | undefined;
2200
- config?: {
2201
- label?: string | null | undefined;
2202
- placeholder?: string;
2203
- constraint?: {
2204
- width?: number | null;
2205
- height?: number | null;
2206
- };
2207
- thumbnails?: readonly ({
2208
- name: string;
2209
- } & {
2210
- width?: number | null;
2211
- height?: number | null;
2212
- })[];
2213
- };
2214
- }) | ({
2215
- type: "IntegrationFields";
2216
- } & {
2217
- fieldset?: string | null | undefined;
2218
- config?: {
2219
- label?: string | null | undefined;
2220
- placeholder?: string;
2221
- catalog?: string;
2222
- };
2223
- });
2224
- };
2225
- })[];
2226
- } & {
2227
- description?: string;
2228
- legacyPaths?: {
2229
- [x: string]: string;
2230
- };
2231
- });
2232
- };
2233
- };
2234
- });
2235
- }, unknown, unknown>>;
2236
- status: t.BooleanC;
2237
- }>, t.PartialC<{
2238
- format: t.KeyofC<{
2239
- page: string;
2240
- custom: string;
2241
- }>;
2242
- route: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2243
- }>]>>;
2244
- export declare type StaticCustomType = t.TypeOf<typeof StaticCustomType>;
2245
- export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2246
- id: t.StringC;
2247
- label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2248
- repeatable: t.BooleanC;
2249
- json: t.RecordC<t.StringC, t.Type<{
2250
- [x: string]: ({
2251
- type: "UID";
2252
- } & {
2253
- fieldset?: string | null | undefined;
2254
- config?: {
2255
- label?: string | null | undefined;
2256
- useAsTitle?: boolean;
2257
- placeholder?: string;
2258
- };
2259
- }) | ({
2260
- type: "Color";
2261
- } & {
2262
- fieldset?: string | null | undefined;
2263
- config?: {
2264
- label?: string | null | undefined;
2265
- placeholder?: string;
2266
- };
2267
- }) | ({
2268
- type: "Boolean";
2269
- } & {
2270
- config?: {
2271
- label?: string | null | undefined;
2272
- default_value?: boolean;
2273
- placeholder_true?: string;
2274
- placeholder_false?: string;
2275
- };
2276
- }) | ({
2277
- type: "Embed";
2278
- } & {
2279
- fieldset?: string | null | undefined;
2280
- config?: {
2281
- label?: string | null | undefined;
2282
- placeholder?: string;
2283
- useAsTitle?: boolean;
2284
- };
2285
- }) | ({
2286
- type: "GeoPoint";
2287
- } & {
2288
- fieldset?: string | null | undefined;
2289
- config?: {
2290
- label?: string | null | undefined;
2291
- };
2292
- }) | ({
2293
- type: "Date";
2294
- } & {
2295
- fieldset?: string | null | undefined;
2296
- config?: {
2297
- label?: string | null | undefined;
2298
- placeholder?: string;
2299
- default?: string;
2300
- };
2301
- }) | ({
2302
- type: "Number";
2303
- } & {
2304
- fieldset?: string | null | undefined;
2305
- config?: {
2306
- label?: string | null | undefined;
2307
- placeholder?: string;
2308
- min?: number;
2309
- max?: number;
2310
- step?: number;
2311
- };
2312
- }) | ({
2313
- type: "Range";
2314
- } & {
2315
- fieldset?: string | null | undefined;
2316
- config?: {
2317
- label?: string | null | undefined;
2318
- placeholder?: string;
2319
- min?: number;
2320
- max?: number;
2321
- step?: number;
2322
- };
2323
- }) | ({
2324
- type: "StructuredText";
2325
- } & {
2326
- fieldset?: string | null | undefined;
2327
- config?: {
2328
- label?: string | null | undefined;
2329
- placeholder?: string;
2330
- useAsTitle?: boolean;
2331
- single?: string;
2332
- multi?: string;
2333
- imageConstraint?: {
2334
- width?: number | null;
2335
- height?: number | null;
2336
- };
2337
- labels?: readonly string[];
2338
- allowTargetBlank?: boolean;
2339
- };
2340
- }) | ({
2341
- type: "Select";
2342
- } & {
2343
- fieldset?: string | null | undefined;
2344
- config?: {
2345
- label?: string | null | undefined;
2346
- placeholder?: string;
2347
- default_value?: string;
2348
- options?: readonly string[];
2349
- };
2350
- }) | ({
2351
- type: "Separator";
2352
- } & {
2353
- config?: {
2354
- label?: string | null | undefined;
2355
- };
2356
- }) | ({
2357
- type: "Table";
2358
- } & {
2359
- config?: {
2360
- label?: string | null | undefined;
2361
- };
2362
- }) | ({
2363
- type: "Text";
2364
- } & {
2365
- fieldset?: string | null | undefined;
2366
- config?: {
2367
- label?: string | null | undefined;
2368
- useAsTitle?: boolean;
2369
- placeholder?: string;
2370
- };
2371
- }) | ({
2372
- type: "Timestamp";
2373
- } & {
2374
- fieldset?: string | null | undefined;
2375
- config?: {
2376
- label?: string | null | undefined;
2377
- placeholder?: string;
2378
- default?: string;
2379
- };
2380
- }) | ({
2381
- type: "Link";
2382
- } & {
2383
- fieldset?: string | null | undefined;
2384
- config?: {
2385
- label?: string | null | undefined;
2386
- useAsTitle?: boolean;
2387
- placeholder?: string;
2388
- select?: "media" | "document" | "web" | null;
2389
- customtypes?: readonly (string | {
2390
- id: string;
2391
- fields: readonly (string | {
2392
- id: string;
2393
- customtypes: readonly (string | {
2394
- id: string;
2395
- fields: readonly (string | {
2396
- id: string;
2397
- fields: readonly string[];
2398
- })[];
2399
- })[];
2400
- } | {
2401
- id: string;
2402
- fields: readonly (string | {
2403
- id: string;
2404
- customtypes: readonly (string | {
2405
- id: string;
2406
- fields: readonly (string | {
2407
- id: string;
2408
- fields: readonly string[];
2409
- })[];
2410
- })[];
2411
- })[];
2412
- })[];
2413
- })[];
2414
- masks?: readonly string[];
2415
- tags?: readonly string[];
2416
- allowTargetBlank?: boolean;
2417
- allowText?: boolean;
2418
- repeat?: boolean;
2419
- variants?: string[];
2420
- };
2421
- }) | ({
2422
- type: "Image";
2423
- } & {
2424
- fieldset?: string | null | undefined;
2425
- config?: {
2426
- label?: string | null | undefined;
2427
- placeholder?: string;
2428
- constraint?: {
2429
- width?: number | null;
2430
- height?: number | null;
2431
- };
2432
- thumbnails?: readonly ({
2433
- name: string;
2434
- } & {
2435
- width?: number | null;
2436
- height?: number | null;
2437
- })[];
2438
- };
2439
- }) | ({
2440
- type: "IntegrationFields";
2441
- } & {
2442
- fieldset?: string | null | undefined;
2443
- config?: {
2444
- label?: string | null | undefined;
2445
- placeholder?: string;
2446
- catalog?: string;
2447
- };
2448
- }) | ({
2449
- type: "Group";
2450
- } & {
2451
- fieldset?: string | null | undefined;
2452
- icon?: string;
2453
- description?: string;
2454
- config?: {
2455
- label?: string | null | undefined;
2456
- repeat?: boolean;
2457
- fields?: {
2458
- [x: string]: ({
2459
- type: "Color";
2460
- } & {
2461
- fieldset?: string | null | undefined;
2462
- config?: {
2463
- label?: string | null | undefined;
2464
- placeholder?: string;
2465
- };
2466
- }) | ({
2467
- type: "Boolean";
2468
- } & {
2469
- config?: {
2470
- label?: string | null | undefined;
2471
- default_value?: boolean;
2472
- placeholder_true?: string;
2473
- placeholder_false?: string;
2474
- };
2475
- }) | ({
2476
- type: "Embed";
2477
- } & {
2478
- fieldset?: string | null | undefined;
2479
- config?: {
2480
- label?: string | null | undefined;
2481
- placeholder?: string;
2482
- useAsTitle?: boolean;
2483
- };
2484
- }) | ({
2485
- type: "GeoPoint";
2486
- } & {
2487
- fieldset?: string | null | undefined;
2488
- config?: {
2489
- label?: string | null | undefined;
2490
- };
2491
- }) | ({
2492
- type: "Date";
2493
- } & {
2494
- fieldset?: string | null | undefined;
2495
- config?: {
2496
- label?: string | null | undefined;
2497
- placeholder?: string;
2498
- default?: string;
2499
- };
2500
- }) | ({
2501
- type: "Number";
2502
- } & {
2503
- fieldset?: string | null | undefined;
2504
- config?: {
2505
- label?: string | null | undefined;
2506
- placeholder?: string;
2507
- min?: number;
2508
- max?: number;
2509
- step?: number;
2510
- };
2511
- }) | ({
2512
- type: "Range";
2513
- } & {
2514
- fieldset?: string | null | undefined;
2515
- config?: {
2516
- label?: string | null | undefined;
2517
- placeholder?: string;
2518
- min?: number;
2519
- max?: number;
2520
- step?: number;
2521
- };
2522
- }) | ({
2523
- type: "StructuredText";
2524
- } & {
2525
- fieldset?: string | null | undefined;
2526
- config?: {
2527
- label?: string | null | undefined;
2528
- placeholder?: string;
2529
- useAsTitle?: boolean;
2530
- single?: string;
2531
- multi?: string;
2532
- imageConstraint?: {
2533
- width?: number | null;
2534
- height?: number | null;
2535
- };
2536
- labels?: readonly string[];
2537
- allowTargetBlank?: boolean;
2538
- };
2539
- }) | ({
2540
- type: "Select";
2541
- } & {
2542
- fieldset?: string | null | undefined;
2543
- config?: {
2544
- label?: string | null | undefined;
2545
- placeholder?: string;
2546
- default_value?: string;
2547
- options?: readonly string[];
2548
- };
2549
- }) | ({
2550
- type: "Separator";
2551
- } & {
2552
- config?: {
2553
- label?: string | null | undefined;
2554
- };
2555
- }) | ({
2556
- type: "Table";
2557
- } & {
2558
- config?: {
2559
- label?: string | null | undefined;
2560
- };
2561
- }) | ({
2562
- type: "Text";
2563
- } & {
2564
- fieldset?: string | null | undefined;
2565
- config?: {
2566
- label?: string | null | undefined;
2567
- useAsTitle?: boolean;
2568
- placeholder?: string;
2569
- };
2570
- }) | ({
2571
- type: "Timestamp";
2572
- } & {
2573
- fieldset?: string | null | undefined;
2574
- config?: {
2575
- label?: string | null | undefined;
2576
- placeholder?: string;
2577
- default?: string;
2578
- };
2579
- }) | ({
2580
- type: "Link";
2581
- } & {
2582
- fieldset?: string | null | undefined;
2583
- config?: {
2584
- label?: string | null | undefined;
2585
- useAsTitle?: boolean;
2586
- placeholder?: string;
2587
- select?: "media" | "document" | "web" | null;
2588
- customtypes?: readonly (string | {
2589
- id: string;
2590
- fields: readonly (string | {
2591
- id: string;
2592
- customtypes: readonly (string | {
2593
- id: string;
2594
- fields: readonly (string | {
2595
- id: string;
2596
- fields: readonly string[];
2597
- })[];
2598
- })[];
2599
- } | {
2600
- id: string;
2601
- fields: readonly (string | {
2602
- id: string;
2603
- customtypes: readonly (string | {
2604
- id: string;
2605
- fields: readonly (string | {
2606
- id: string;
2607
- fields: readonly string[];
2608
- })[];
2609
- })[];
2610
- })[];
2611
- })[];
2612
- })[];
2613
- masks?: readonly string[];
2614
- tags?: readonly string[];
2615
- allowTargetBlank?: boolean;
2616
- allowText?: boolean;
2617
- repeat?: boolean;
2618
- variants?: string[];
2619
- };
2620
- }) | ({
2621
- type: "Image";
2622
- } & {
2623
- fieldset?: string | null | undefined;
2624
- config?: {
2625
- label?: string | null | undefined;
2626
- placeholder?: string;
2627
- constraint?: {
2628
- width?: number | null;
2629
- height?: number | null;
2630
- };
2631
- thumbnails?: readonly ({
2632
- name: string;
2633
- } & {
2634
- width?: number | null;
2635
- height?: number | null;
2636
- })[];
2637
- };
2638
- }) | ({
2639
- type: "IntegrationFields";
2640
- } & {
2641
- fieldset?: string | null | undefined;
2642
- config?: {
2643
- label?: string | null | undefined;
2644
- placeholder?: string;
2645
- catalog?: string;
2646
- };
2647
- }) | ({
2648
- type: "Group";
2649
- } & {
2650
- fieldset?: string | null | undefined;
2651
- icon?: string;
2652
- description?: string;
2653
- config?: {
2654
- label?: string | null | undefined;
2655
- repeat?: boolean;
2656
- fields?: {
2657
- [x: string]: ({
2658
- type: "Color";
2659
- } & {
2660
- fieldset?: string | null | undefined;
2661
- config?: {
2662
- label?: string | null | undefined;
2663
- placeholder?: string;
2664
- };
2665
- }) | ({
2666
- type: "Boolean";
2667
- } & {
2668
- config?: {
2669
- label?: string | null | undefined;
2670
- default_value?: boolean;
2671
- placeholder_true?: string;
2672
- placeholder_false?: string;
2673
- };
2674
- }) | ({
2675
- type: "Embed";
2676
- } & {
2677
- fieldset?: string | null | undefined;
2678
- config?: {
2679
- label?: string | null | undefined;
2680
- placeholder?: string;
2681
- useAsTitle?: boolean;
2682
- };
2683
- }) | ({
2684
- type: "GeoPoint";
2685
- } & {
2686
- fieldset?: string | null | undefined;
2687
- config?: {
2688
- label?: string | null | undefined;
2689
- };
2690
- }) | ({
2691
- type: "Date";
2692
- } & {
2693
- fieldset?: string | null | undefined;
2694
- config?: {
2695
- label?: string | null | undefined;
2696
- placeholder?: string;
2697
- default?: string;
2698
- };
2699
- }) | ({
2700
- type: "Number";
2701
- } & {
2702
- fieldset?: string | null | undefined;
2703
- config?: {
2704
- label?: string | null | undefined;
2705
- placeholder?: string;
2706
- min?: number;
2707
- max?: number;
2708
- step?: number;
2709
- };
2710
- }) | ({
2711
- type: "Range";
2712
- } & {
2713
- fieldset?: string | null | undefined;
2714
- config?: {
2715
- label?: string | null | undefined;
2716
- placeholder?: string;
2717
- min?: number;
2718
- max?: number;
2719
- step?: number;
2720
- };
2721
- }) | ({
2722
- type: "StructuredText";
2723
- } & {
2724
- fieldset?: string | null | undefined;
2725
- config?: {
2726
- label?: string | null | undefined;
2727
- placeholder?: string;
2728
- useAsTitle?: boolean;
2729
- single?: string;
2730
- multi?: string;
2731
- imageConstraint?: {
2732
- width?: number | null;
2733
- height?: number | null;
2734
- };
2735
- labels?: readonly string[];
2736
- allowTargetBlank?: boolean;
2737
- };
2738
- }) | ({
2739
- type: "Select";
2740
- } & {
2741
- fieldset?: string | null | undefined;
2742
- config?: {
2743
- label?: string | null | undefined;
2744
- placeholder?: string;
2745
- default_value?: string;
2746
- options?: readonly string[];
2747
- };
2748
- }) | ({
2749
- type: "Separator";
2750
- } & {
2751
- config?: {
2752
- label?: string | null | undefined;
2753
- };
2754
- }) | ({
2755
- type: "Table";
2756
- } & {
2757
- config?: {
2758
- label?: string | null | undefined;
2759
- };
2760
- }) | ({
2761
- type: "Text";
2762
- } & {
2763
- fieldset?: string | null | undefined;
2764
- config?: {
2765
- label?: string | null | undefined;
2766
- useAsTitle?: boolean;
2767
- placeholder?: string;
2768
- };
2769
- }) | ({
2770
- type: "Timestamp";
2771
- } & {
2772
- fieldset?: string | null | undefined;
2773
- config?: {
2774
- label?: string | null | undefined;
2775
- placeholder?: string;
2776
- default?: string;
2777
- };
2778
- }) | ({
2779
- type: "Link";
2780
- } & {
2781
- fieldset?: string | null | undefined;
2782
- config?: {
2783
- label?: string | null | undefined;
2784
- useAsTitle?: boolean;
2785
- placeholder?: string;
2786
- select?: "media" | "document" | "web" | null;
2787
- customtypes?: readonly (string | {
2788
- id: string;
2789
- fields: readonly (string | {
2790
- id: string;
2791
- customtypes: readonly (string | {
2792
- id: string;
2793
- fields: readonly (string | {
2794
- id: string;
2795
- fields: readonly string[];
2796
- })[];
2797
- })[];
2798
- } | {
2799
- id: string;
2800
- fields: readonly (string | {
2801
- id: string;
2802
- customtypes: readonly (string | {
2803
- id: string;
2804
- fields: readonly (string | {
2805
- id: string;
2806
- fields: readonly string[];
2807
- })[];
2808
- })[];
2809
- })[];
2810
- })[];
2811
- })[];
2812
- masks?: readonly string[];
2813
- tags?: readonly string[];
2814
- allowTargetBlank?: boolean;
2815
- allowText?: boolean;
2816
- repeat?: boolean;
2817
- variants?: string[];
2818
- };
2819
- }) | ({
2820
- type: "Image";
2821
- } & {
2822
- fieldset?: string | null | undefined;
2823
- config?: {
2824
- label?: string | null | undefined;
2825
- placeholder?: string;
2826
- constraint?: {
2827
- width?: number | null;
2828
- height?: number | null;
2829
- };
2830
- thumbnails?: readonly ({
2831
- name: string;
2832
- } & {
2833
- width?: number | null;
2834
- height?: number | null;
2835
- })[];
2836
- };
2837
- }) | ({
2838
- type: "IntegrationFields";
2839
- } & {
2840
- fieldset?: string | null | undefined;
2841
- config?: {
2842
- label?: string | null | undefined;
2843
- placeholder?: string;
2844
- catalog?: string;
2845
- };
2846
- });
2847
- };
2848
- };
2849
- });
2850
- };
2851
- };
2852
- }) | ({
2853
- type: "Choice" | "Slices";
2854
- } & {
2855
- fieldset?: string | null | undefined;
2856
- config?: {
2857
- label?: string | null | undefined;
2858
- labels?: {
2859
- [x: string]: readonly ({
2860
- name: string;
2861
- } & {
2862
- display?: string;
2863
- })[];
2864
- } | null;
2865
- choices?: {
2866
- [x: string]: ({
2867
- type: "Color";
2868
- } & {
2869
- fieldset?: string | null | undefined;
2870
- config?: {
2871
- label?: string | null | undefined;
2872
- placeholder?: string;
2873
- };
2874
- }) | ({
2875
- type: "Boolean";
2876
- } & {
2877
- config?: {
2878
- label?: string | null | undefined;
2879
- default_value?: boolean;
2880
- placeholder_true?: string;
2881
- placeholder_false?: string;
2882
- };
2883
- }) | ({
2884
- type: "Embed";
2885
- } & {
2886
- fieldset?: string | null | undefined;
2887
- config?: {
2888
- label?: string | null | undefined;
2889
- placeholder?: string;
2890
- useAsTitle?: boolean;
2891
- };
2892
- }) | ({
2893
- type: "GeoPoint";
2894
- } & {
2895
- fieldset?: string | null | undefined;
2896
- config?: {
2897
- label?: string | null | undefined;
2898
- };
2899
- }) | ({
2900
- type: "Date";
2901
- } & {
2902
- fieldset?: string | null | undefined;
2903
- config?: {
2904
- label?: string | null | undefined;
2905
- placeholder?: string;
2906
- default?: string;
2907
- };
2908
- }) | ({
2909
- type: "Number";
2910
- } & {
2911
- fieldset?: string | null | undefined;
2912
- config?: {
2913
- label?: string | null | undefined;
2914
- placeholder?: string;
2915
- min?: number;
2916
- max?: number;
2917
- step?: number;
2918
- };
2919
- }) | ({
2920
- type: "Range";
2921
- } & {
2922
- fieldset?: string | null | undefined;
2923
- config?: {
2924
- label?: string | null | undefined;
2925
- placeholder?: string;
2926
- min?: number;
2927
- max?: number;
2928
- step?: number;
2929
- };
2930
- }) | ({
2931
- type: "StructuredText";
2932
- } & {
2933
- fieldset?: string | null | undefined;
2934
- config?: {
2935
- label?: string | null | undefined;
2936
- placeholder?: string;
2937
- useAsTitle?: boolean;
2938
- single?: string;
2939
- multi?: string;
2940
- imageConstraint?: {
2941
- width?: number | null;
2942
- height?: number | null;
2943
- };
2944
- labels?: readonly string[];
2945
- allowTargetBlank?: boolean;
2946
- };
2947
- }) | ({
2948
- type: "Select";
2949
- } & {
2950
- fieldset?: string | null | undefined;
2951
- config?: {
2952
- label?: string | null | undefined;
2953
- placeholder?: string;
2954
- default_value?: string;
2955
- options?: readonly string[];
2956
- };
2957
- }) | ({
2958
- type: "Separator";
2959
- } & {
2960
- config?: {
2961
- label?: string | null | undefined;
2962
- };
2963
- }) | ({
2964
- type: "Table";
2965
- } & {
2966
- config?: {
2967
- label?: string | null | undefined;
2968
- };
2969
- }) | ({
2970
- type: "Text";
2971
- } & {
2972
- fieldset?: string | null | undefined;
2973
- config?: {
2974
- label?: string | null | undefined;
2975
- useAsTitle?: boolean;
2976
- placeholder?: string;
2977
- };
2978
- }) | ({
2979
- type: "Timestamp";
2980
- } & {
2981
- fieldset?: string | null | undefined;
2982
- config?: {
2983
- label?: string | null | undefined;
2984
- placeholder?: string;
2985
- default?: string;
2986
- };
2987
- }) | ({
2988
- type: "Link";
2989
- } & {
2990
- fieldset?: string | null | undefined;
2991
- config?: {
2992
- label?: string | null | undefined;
2993
- useAsTitle?: boolean;
2994
- placeholder?: string;
2995
- select?: "media" | "document" | "web" | null;
2996
- customtypes?: readonly (string | {
2997
- id: string;
2998
- fields: readonly (string | {
2999
- id: string;
3000
- customtypes: readonly (string | {
3001
- id: string;
3002
- fields: readonly (string | {
3003
- id: string;
3004
- fields: readonly string[];
3005
- })[];
3006
- })[];
3007
- } | {
3008
- id: string;
3009
- fields: readonly (string | {
3010
- id: string;
3011
- customtypes: readonly (string | {
3012
- id: string;
3013
- fields: readonly (string | {
3014
- id: string;
3015
- fields: readonly string[];
3016
- })[];
3017
- })[];
3018
- })[];
3019
- })[];
3020
- })[];
3021
- masks?: readonly string[];
3022
- tags?: readonly string[];
3023
- allowTargetBlank?: boolean;
3024
- allowText?: boolean;
3025
- repeat?: boolean;
3026
- variants?: string[];
3027
- };
3028
- }) | ({
3029
- type: "Image";
3030
- } & {
3031
- fieldset?: string | null | undefined;
3032
- config?: {
3033
- label?: string | null | undefined;
3034
- placeholder?: string;
3035
- constraint?: {
3036
- width?: number | null;
3037
- height?: number | null;
3038
- };
3039
- thumbnails?: readonly ({
3040
- name: string;
3041
- } & {
3042
- width?: number | null;
3043
- height?: number | null;
3044
- })[];
3045
- };
3046
- }) | ({
3047
- type: "IntegrationFields";
3048
- } & {
3049
- fieldset?: string | null | undefined;
3050
- config?: {
3051
- label?: string | null | undefined;
3052
- placeholder?: string;
3053
- catalog?: string;
3054
- };
3055
- }) | ({
3056
- type: "Group";
3057
- } & {
3058
- fieldset?: string | null | undefined;
3059
- icon?: string;
3060
- description?: string;
3061
- config?: {
3062
- label?: string | null | undefined;
3063
- repeat?: boolean;
3064
- fields?: {
3065
- [x: string]: ({
3066
- type: "Color";
3067
- } & {
3068
- fieldset?: string | null | undefined;
3069
- config?: {
3070
- label?: string | null | undefined;
3071
- placeholder?: string;
3072
- };
3073
- }) | ({
3074
- type: "Boolean";
3075
- } & {
3076
- config?: {
3077
- label?: string | null | undefined;
3078
- default_value?: boolean;
3079
- placeholder_true?: string;
3080
- placeholder_false?: string;
3081
- };
3082
- }) | ({
3083
- type: "Embed";
3084
- } & {
3085
- fieldset?: string | null | undefined;
3086
- config?: {
3087
- label?: string | null | undefined;
3088
- placeholder?: string;
3089
- useAsTitle?: boolean;
3090
- };
3091
- }) | ({
3092
- type: "GeoPoint";
3093
- } & {
3094
- fieldset?: string | null | undefined;
3095
- config?: {
3096
- label?: string | null | undefined;
3097
- };
3098
- }) | ({
3099
- type: "Date";
3100
- } & {
3101
- fieldset?: string | null | undefined;
3102
- config?: {
3103
- label?: string | null | undefined;
3104
- placeholder?: string;
3105
- default?: string;
3106
- };
3107
- }) | ({
3108
- type: "Number";
3109
- } & {
3110
- fieldset?: string | null | undefined;
3111
- config?: {
3112
- label?: string | null | undefined;
3113
- placeholder?: string;
3114
- min?: number;
3115
- max?: number;
3116
- step?: number;
3117
- };
3118
- }) | ({
3119
- type: "Range";
3120
- } & {
3121
- fieldset?: string | null | undefined;
3122
- config?: {
3123
- label?: string | null | undefined;
3124
- placeholder?: string;
3125
- min?: number;
3126
- max?: number;
3127
- step?: number;
3128
- };
3129
- }) | ({
3130
- type: "StructuredText";
3131
- } & {
3132
- fieldset?: string | null | undefined;
3133
- config?: {
3134
- label?: string | null | undefined;
3135
- placeholder?: string;
3136
- useAsTitle?: boolean;
3137
- single?: string;
3138
- multi?: string;
3139
- imageConstraint?: {
3140
- width?: number | null;
3141
- height?: number | null;
3142
- };
3143
- labels?: readonly string[];
3144
- allowTargetBlank?: boolean;
3145
- };
3146
- }) | ({
3147
- type: "Select";
3148
- } & {
3149
- fieldset?: string | null | undefined;
3150
- config?: {
3151
- label?: string | null | undefined;
3152
- placeholder?: string;
3153
- default_value?: string;
3154
- options?: readonly string[];
3155
- };
3156
- }) | ({
3157
- type: "Separator";
3158
- } & {
3159
- config?: {
3160
- label?: string | null | undefined;
3161
- };
3162
- }) | ({
3163
- type: "Table";
3164
- } & {
3165
- config?: {
3166
- label?: string | null | undefined;
3167
- };
3168
- }) | ({
3169
- type: "Text";
3170
- } & {
3171
- fieldset?: string | null | undefined;
3172
- config?: {
3173
- label?: string | null | undefined;
3174
- useAsTitle?: boolean;
3175
- placeholder?: string;
3176
- };
3177
- }) | ({
3178
- type: "Timestamp";
3179
- } & {
3180
- fieldset?: string | null | undefined;
3181
- config?: {
3182
- label?: string | null | undefined;
3183
- placeholder?: string;
3184
- default?: string;
3185
- };
3186
- }) | ({
3187
- type: "Link";
3188
- } & {
3189
- fieldset?: string | null | undefined;
3190
- config?: {
3191
- label?: string | null | undefined;
3192
- useAsTitle?: boolean;
3193
- placeholder?: string;
3194
- select?: "media" | "document" | "web" | null;
3195
- customtypes?: readonly (string | {
3196
- id: string;
3197
- fields: readonly (string | {
3198
- id: string;
3199
- customtypes: readonly (string | {
3200
- id: string;
3201
- fields: readonly (string | {
3202
- id: string;
3203
- fields: readonly string[];
3204
- })[];
3205
- })[];
3206
- } | {
3207
- id: string;
3208
- fields: readonly (string | {
3209
- id: string;
3210
- customtypes: readonly (string | {
3211
- id: string;
3212
- fields: readonly (string | {
3213
- id: string;
3214
- fields: readonly string[];
3215
- })[];
3216
- })[];
3217
- })[];
3218
- })[];
3219
- })[];
3220
- masks?: readonly string[];
3221
- tags?: readonly string[];
3222
- allowTargetBlank?: boolean;
3223
- allowText?: boolean;
3224
- repeat?: boolean;
3225
- variants?: string[];
3226
- };
3227
- }) | ({
3228
- type: "Image";
3229
- } & {
3230
- fieldset?: string | null | undefined;
3231
- config?: {
3232
- label?: string | null | undefined;
3233
- placeholder?: string;
3234
- constraint?: {
3235
- width?: number | null;
3236
- height?: number | null;
3237
- };
3238
- thumbnails?: readonly ({
3239
- name: string;
3240
- } & {
3241
- width?: number | null;
3242
- height?: number | null;
3243
- })[];
3244
- };
3245
- }) | ({
3246
- type: "IntegrationFields";
3247
- } & {
3248
- fieldset?: string | null | undefined;
3249
- config?: {
3250
- label?: string | null | undefined;
3251
- placeholder?: string;
3252
- catalog?: string;
3253
- };
3254
- });
3255
- };
3256
- };
3257
- }) | ({
3258
- type: "Slice";
3259
- } & {
3260
- fieldset?: string | null | undefined;
3261
- description?: string;
3262
- icon?: string;
3263
- display?: string;
3264
- "non-repeat"?: {
3265
- [x: string]: ({
3266
- type: "Color";
3267
- } & {
3268
- fieldset?: string | null | undefined;
3269
- config?: {
3270
- label?: string | null | undefined;
3271
- placeholder?: string;
3272
- };
3273
- }) | ({
3274
- type: "Boolean";
3275
- } & {
3276
- config?: {
3277
- label?: string | null | undefined;
3278
- default_value?: boolean;
3279
- placeholder_true?: string;
3280
- placeholder_false?: string;
3281
- };
3282
- }) | ({
3283
- type: "Embed";
3284
- } & {
3285
- fieldset?: string | null | undefined;
3286
- config?: {
3287
- label?: string | null | undefined;
3288
- placeholder?: string;
3289
- useAsTitle?: boolean;
3290
- };
3291
- }) | ({
3292
- type: "GeoPoint";
3293
- } & {
3294
- fieldset?: string | null | undefined;
3295
- config?: {
3296
- label?: string | null | undefined;
3297
- };
3298
- }) | ({
3299
- type: "Date";
3300
- } & {
3301
- fieldset?: string | null | undefined;
3302
- config?: {
3303
- label?: string | null | undefined;
3304
- placeholder?: string;
3305
- default?: string;
3306
- };
3307
- }) | ({
3308
- type: "Number";
3309
- } & {
3310
- fieldset?: string | null | undefined;
3311
- config?: {
3312
- label?: string | null | undefined;
3313
- placeholder?: string;
3314
- min?: number;
3315
- max?: number;
3316
- step?: number;
3317
- };
3318
- }) | ({
3319
- type: "Range";
3320
- } & {
3321
- fieldset?: string | null | undefined;
3322
- config?: {
3323
- label?: string | null | undefined;
3324
- placeholder?: string;
3325
- min?: number;
3326
- max?: number;
3327
- step?: number;
3328
- };
3329
- }) | ({
3330
- type: "StructuredText";
3331
- } & {
3332
- fieldset?: string | null | undefined;
3333
- config?: {
3334
- label?: string | null | undefined;
3335
- placeholder?: string;
3336
- useAsTitle?: boolean;
3337
- single?: string;
3338
- multi?: string;
3339
- imageConstraint?: {
3340
- width?: number | null;
3341
- height?: number | null;
3342
- };
3343
- labels?: readonly string[];
3344
- allowTargetBlank?: boolean;
3345
- };
3346
- }) | ({
3347
- type: "Select";
3348
- } & {
3349
- fieldset?: string | null | undefined;
3350
- config?: {
3351
- label?: string | null | undefined;
3352
- placeholder?: string;
3353
- default_value?: string;
3354
- options?: readonly string[];
3355
- };
3356
- }) | ({
3357
- type: "Separator";
3358
- } & {
3359
- config?: {
3360
- label?: string | null | undefined;
3361
- };
3362
- }) | ({
3363
- type: "Table";
3364
- } & {
3365
- config?: {
3366
- label?: string | null | undefined;
3367
- };
3368
- }) | ({
3369
- type: "Text";
3370
- } & {
3371
- fieldset?: string | null | undefined;
3372
- config?: {
3373
- label?: string | null | undefined;
3374
- useAsTitle?: boolean;
3375
- placeholder?: string;
3376
- };
3377
- }) | ({
3378
- type: "Timestamp";
3379
- } & {
3380
- fieldset?: string | null | undefined;
3381
- config?: {
3382
- label?: string | null | undefined;
3383
- placeholder?: string;
3384
- default?: string;
3385
- };
3386
- }) | ({
3387
- type: "Link";
3388
- } & {
3389
- fieldset?: string | null | undefined;
3390
- config?: {
3391
- label?: string | null | undefined;
3392
- useAsTitle?: boolean;
3393
- placeholder?: string;
3394
- select?: "media" | "document" | "web" | null;
3395
- customtypes?: readonly (string | {
3396
- id: string;
3397
- fields: readonly (string | {
3398
- id: string;
3399
- customtypes: readonly (string | {
3400
- id: string;
3401
- fields: readonly (string | {
3402
- id: string;
3403
- fields: readonly string[];
3404
- })[];
3405
- })[];
3406
- } | {
3407
- id: string;
3408
- fields: readonly (string | {
3409
- id: string;
3410
- customtypes: readonly (string | {
3411
- id: string;
3412
- fields: readonly (string | {
3413
- id: string;
3414
- fields: readonly string[];
3415
- })[];
3416
- })[];
3417
- })[];
3418
- })[];
3419
- })[];
3420
- masks?: readonly string[];
3421
- tags?: readonly string[];
3422
- allowTargetBlank?: boolean;
3423
- allowText?: boolean;
3424
- repeat?: boolean;
3425
- variants?: string[];
3426
- };
3427
- }) | ({
3428
- type: "Image";
3429
- } & {
3430
- fieldset?: string | null | undefined;
3431
- config?: {
3432
- label?: string | null | undefined;
3433
- placeholder?: string;
3434
- constraint?: {
3435
- width?: number | null;
3436
- height?: number | null;
3437
- };
3438
- thumbnails?: readonly ({
3439
- name: string;
3440
- } & {
3441
- width?: number | null;
3442
- height?: number | null;
3443
- })[];
3444
- };
3445
- }) | ({
3446
- type: "IntegrationFields";
3447
- } & {
3448
- fieldset?: string | null | undefined;
3449
- config?: {
3450
- label?: string | null | undefined;
3451
- placeholder?: string;
3452
- catalog?: string;
3453
- };
3454
- });
3455
- };
3456
- repeat?: {
3457
- [x: string]: ({
3458
- type: "Color";
3459
- } & {
3460
- fieldset?: string | null | undefined;
3461
- config?: {
3462
- label?: string | null | undefined;
3463
- placeholder?: string;
3464
- };
3465
- }) | ({
3466
- type: "Boolean";
3467
- } & {
3468
- config?: {
3469
- label?: string | null | undefined;
3470
- default_value?: boolean;
3471
- placeholder_true?: string;
3472
- placeholder_false?: string;
3473
- };
3474
- }) | ({
3475
- type: "Embed";
3476
- } & {
3477
- fieldset?: string | null | undefined;
3478
- config?: {
3479
- label?: string | null | undefined;
3480
- placeholder?: string;
3481
- useAsTitle?: boolean;
3482
- };
3483
- }) | ({
3484
- type: "GeoPoint";
3485
- } & {
3486
- fieldset?: string | null | undefined;
3487
- config?: {
3488
- label?: string | null | undefined;
3489
- };
3490
- }) | ({
3491
- type: "Date";
3492
- } & {
3493
- fieldset?: string | null | undefined;
3494
- config?: {
3495
- label?: string | null | undefined;
3496
- placeholder?: string;
3497
- default?: string;
3498
- };
3499
- }) | ({
3500
- type: "Number";
3501
- } & {
3502
- fieldset?: string | null | undefined;
3503
- config?: {
3504
- label?: string | null | undefined;
3505
- placeholder?: string;
3506
- min?: number;
3507
- max?: number;
3508
- step?: number;
3509
- };
3510
- }) | ({
3511
- type: "Range";
3512
- } & {
3513
- fieldset?: string | null | undefined;
3514
- config?: {
3515
- label?: string | null | undefined;
3516
- placeholder?: string;
3517
- min?: number;
3518
- max?: number;
3519
- step?: number;
3520
- };
3521
- }) | ({
3522
- type: "StructuredText";
3523
- } & {
3524
- fieldset?: string | null | undefined;
3525
- config?: {
3526
- label?: string | null | undefined;
3527
- placeholder?: string;
3528
- useAsTitle?: boolean;
3529
- single?: string;
3530
- multi?: string;
3531
- imageConstraint?: {
3532
- width?: number | null;
3533
- height?: number | null;
3534
- };
3535
- labels?: readonly string[];
3536
- allowTargetBlank?: boolean;
3537
- };
3538
- }) | ({
3539
- type: "Select";
3540
- } & {
3541
- fieldset?: string | null | undefined;
3542
- config?: {
3543
- label?: string | null | undefined;
3544
- placeholder?: string;
3545
- default_value?: string;
3546
- options?: readonly string[];
3547
- };
3548
- }) | ({
3549
- type: "Separator";
3550
- } & {
3551
- config?: {
3552
- label?: string | null | undefined;
3553
- };
3554
- }) | ({
3555
- type: "Table";
3556
- } & {
3557
- config?: {
3558
- label?: string | null | undefined;
3559
- };
3560
- }) | ({
3561
- type: "Text";
3562
- } & {
3563
- fieldset?: string | null | undefined;
3564
- config?: {
3565
- label?: string | null | undefined;
3566
- useAsTitle?: boolean;
3567
- placeholder?: string;
3568
- };
3569
- }) | ({
3570
- type: "Timestamp";
3571
- } & {
3572
- fieldset?: string | null | undefined;
3573
- config?: {
3574
- label?: string | null | undefined;
3575
- placeholder?: string;
3576
- default?: string;
3577
- };
3578
- }) | ({
3579
- type: "Link";
3580
- } & {
3581
- fieldset?: string | null | undefined;
3582
- config?: {
3583
- label?: string | null | undefined;
3584
- useAsTitle?: boolean;
3585
- placeholder?: string;
3586
- select?: "media" | "document" | "web" | null;
3587
- customtypes?: readonly (string | {
3588
- id: string;
3589
- fields: readonly (string | {
3590
- id: string;
3591
- customtypes: readonly (string | {
3592
- id: string;
3593
- fields: readonly (string | {
3594
- id: string;
3595
- fields: readonly string[];
3596
- })[];
3597
- })[];
3598
- } | {
3599
- id: string;
3600
- fields: readonly (string | {
3601
- id: string;
3602
- customtypes: readonly (string | {
3603
- id: string;
3604
- fields: readonly (string | {
3605
- id: string;
3606
- fields: readonly string[];
3607
- })[];
3608
- })[];
3609
- })[];
3610
- })[];
3611
- })[];
3612
- masks?: readonly string[];
3613
- tags?: readonly string[];
3614
- allowTargetBlank?: boolean;
3615
- allowText?: boolean;
3616
- repeat?: boolean;
3617
- variants?: string[];
3618
- };
3619
- }) | ({
3620
- type: "Image";
3621
- } & {
3622
- fieldset?: string | null | undefined;
3623
- config?: {
3624
- label?: string | null | undefined;
3625
- placeholder?: string;
3626
- constraint?: {
3627
- width?: number | null;
3628
- height?: number | null;
3629
- };
3630
- thumbnails?: readonly ({
3631
- name: string;
3632
- } & {
3633
- width?: number | null;
3634
- height?: number | null;
3635
- })[];
3636
- };
3637
- }) | ({
3638
- type: "IntegrationFields";
3639
- } & {
3640
- fieldset?: string | null | undefined;
3641
- config?: {
3642
- label?: string | null | undefined;
3643
- placeholder?: string;
3644
- catalog?: string;
3645
- };
3646
- });
3647
- };
3648
- config?: {
3649
- label?: string | null | undefined;
3650
- };
3651
- }) | {
3652
- type: "SharedSlice";
3653
- };
3654
- };
3655
- };
3656
- });
3657
- }, unknown, unknown>>;
3658
- status: t.BooleanC;
3659
- }>, t.PartialC<{
3660
- format: t.KeyofC<{
3661
- page: string;
3662
- custom: string;
3663
- }>;
3664
- route: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3665
- }>]>>;
3666
- export declare type CustomType = t.TypeOf<typeof CustomType>;
3667
- export declare function flattenWidgets(customType: CustomType): Array<[string, DynamicWidget]>;
3668
- export declare function flattenSections(customType: StaticCustomType): Array<[string, StaticWidget]>;
3669
- export declare function toStatic(customType: CustomType, sharedSlices: Map<string, SharedSlice>): StaticCustomType;
3670
- export declare function validateSlices(customType: CustomType, sharedSlices: Map<string, SharedSlice>): Either<CustomTypeSlicesError, CustomType>;
3671
- export declare function collectWidgets(customType: CustomType, f: (ref: string, widget: DynamicWidget) => DynamicWidget | undefined): CustomType;
3672
- export declare function filterMissingSharedSlices(customType: CustomType, sharedSlices: Map<string, SharedSlice>): CustomType;
3673
- export declare function flattenCustomTypeFields(customType: StaticCustomType): Record<string, StaticWidget>;
3674
- export declare function collectSharedSlices(customType: {
3675
- customTypeId: string;
3676
- fields: Record<string, StaticWidget>;
3677
- }): Record<string, SharedSlice>;
3678
- export declare function traverseCustomType<T extends CustomType | StaticCustomType>(args: {
3679
- customType: T;
3680
- onField: Fields.OnFieldFn<UID | NestableWidget | Group | NestedGroup>;
3681
- }): T;
3682
- export {};