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