@prismicio/types-internal 3.17.0 → 4.0.0-canary.72def6d

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