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