@prismicio/types-internal 3.17.0 → 4.0.0-canary.65d3262

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