@atlaskit/adf-schema 37.2.0 → 38.0.0

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 (430) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/cjs/index.js +12 -0
  3. package/dist/cjs/next-schema/generated/markTypes.js +21 -21
  4. package/dist/cjs/next-schema/generated/nodeTypes.js +191 -110
  5. package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  6. package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
  7. package/dist/cjs/next-schema/index.js +32 -505
  8. package/dist/cjs/next-schema/nodes/blockCard.js +1 -1
  9. package/dist/cjs/next-schema/nodes/blockquote.js +2 -2
  10. package/dist/cjs/next-schema/nodes/bodiedExtension.js +2 -2
  11. package/dist/cjs/next-schema/nodes/caption.js +1 -1
  12. package/dist/cjs/next-schema/nodes/codeBlock.js +2 -2
  13. package/dist/cjs/next-schema/nodes/date.js +4 -1
  14. package/dist/cjs/next-schema/nodes/decisionItem.js +1 -1
  15. package/dist/cjs/next-schema/nodes/decisionList.js +1 -1
  16. package/dist/cjs/next-schema/nodes/embedCard.js +1 -1
  17. package/dist/cjs/next-schema/nodes/emoji.js +4 -1
  18. package/dist/cjs/next-schema/nodes/expand.js +2 -2
  19. package/dist/cjs/next-schema/nodes/extension.js +2 -2
  20. package/dist/cjs/next-schema/nodes/extensionFrame.js +3 -2
  21. package/dist/cjs/next-schema/nodes/hardBreak.js +1 -1
  22. package/dist/cjs/next-schema/nodes/heading.js +3 -3
  23. package/dist/cjs/next-schema/nodes/inlineCard.js +5 -2
  24. package/dist/cjs/next-schema/nodes/inlineExtension.js +2 -2
  25. package/dist/cjs/next-schema/nodes/layoutColumn.js +1 -1
  26. package/dist/cjs/next-schema/nodes/layoutSection.js +3 -2
  27. package/dist/cjs/next-schema/nodes/list.js +5 -5
  28. package/dist/cjs/next-schema/nodes/media.js +1 -1
  29. package/dist/cjs/next-schema/nodes/mediaGroup.js +1 -1
  30. package/dist/cjs/next-schema/nodes/mediaInline.js +1 -1
  31. package/dist/cjs/next-schema/nodes/mediaSingle.js +5 -5
  32. package/dist/cjs/next-schema/nodes/mention.js +4 -1
  33. package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +1 -3
  34. package/dist/cjs/next-schema/nodes/nestedExpand.js +2 -2
  35. package/dist/cjs/next-schema/nodes/panel.js +3 -3
  36. package/dist/cjs/next-schema/nodes/paragraph.js +4 -4
  37. package/dist/cjs/next-schema/nodes/placeholder.js +1 -1
  38. package/dist/cjs/next-schema/nodes/status.js +4 -1
  39. package/dist/cjs/next-schema/nodes/table.js +1 -1
  40. package/dist/cjs/next-schema/nodes/tableCell.js +1 -1
  41. package/dist/cjs/next-schema/nodes/tableHeader.js +1 -1
  42. package/dist/cjs/next-schema/nodes/tableRow.js +1 -1
  43. package/dist/cjs/next-schema/nodes/task.js +2 -2
  44. package/dist/cjs/next-schema/nodes/text.js +1 -1
  45. package/dist/cjs/schema/createPMSpecFactory.js +57 -0
  46. package/dist/cjs/schema/index.js +14 -1
  47. package/dist/cjs/schema/marks/alignment.js +3 -8
  48. package/dist/cjs/schema/marks/annotation.js +3 -13
  49. package/dist/cjs/schema/marks/background-color.js +3 -9
  50. package/dist/cjs/schema/marks/border.js +3 -7
  51. package/dist/cjs/schema/marks/breakout.js +3 -9
  52. package/dist/cjs/schema/marks/code.js +3 -5
  53. package/dist/cjs/schema/marks/confluence-inline-comment.js +3 -9
  54. package/dist/cjs/schema/marks/data-consumer.js +3 -7
  55. package/dist/cjs/schema/marks/em.js +3 -5
  56. package/dist/cjs/schema/marks/fragment.js +3 -12
  57. package/dist/cjs/schema/marks/indentation.js +3 -8
  58. package/dist/cjs/schema/marks/link.js +3 -13
  59. package/dist/cjs/schema/marks/strike.js +3 -5
  60. package/dist/cjs/schema/marks/strong.js +3 -5
  61. package/dist/cjs/schema/marks/subsup.js +3 -10
  62. package/dist/cjs/schema/marks/text-color.js +3 -8
  63. package/dist/cjs/schema/marks/type-ahead-query.js +3 -10
  64. package/dist/cjs/schema/marks/underline.js +3 -5
  65. package/dist/cjs/schema/marks/unsupported-mark.js +3 -6
  66. package/dist/cjs/schema/marks/unsupported-node-attributes.js +3 -6
  67. package/dist/cjs/schema/nodes/block-card.js +3 -23
  68. package/dist/cjs/schema/nodes/blockquote.js +17 -20
  69. package/dist/cjs/schema/nodes/bodied-extension.js +24 -54
  70. package/dist/cjs/schema/nodes/bullet-list.js +3 -6
  71. package/dist/cjs/schema/nodes/caption.js +3 -6
  72. package/dist/cjs/schema/nodes/code-block.js +31 -16
  73. package/dist/cjs/schema/nodes/confluence-jira-issue.js +3 -22
  74. package/dist/cjs/schema/nodes/confluence-unsupported-block.js +3 -8
  75. package/dist/cjs/schema/nodes/confluence-unsupported-inline.js +3 -10
  76. package/dist/cjs/schema/nodes/date.js +3 -10
  77. package/dist/cjs/schema/nodes/decision-item.js +3 -13
  78. package/dist/cjs/schema/nodes/decision-list.js +3 -12
  79. package/dist/cjs/schema/nodes/doc.js +2 -4
  80. package/dist/cjs/schema/nodes/embed-card.js +3 -22
  81. package/dist/cjs/schema/nodes/emoji.js +3 -16
  82. package/dist/cjs/schema/nodes/expand.js +3 -16
  83. package/dist/cjs/schema/nodes/extension.js +20 -47
  84. package/dist/cjs/schema/nodes/hard-break.js +3 -5
  85. package/dist/cjs/schema/nodes/heading.js +3 -14
  86. package/dist/cjs/schema/nodes/image.js +3 -16
  87. package/dist/cjs/schema/nodes/inline-card.js +3 -14
  88. package/dist/cjs/schema/nodes/inline-extension.js +19 -42
  89. package/dist/cjs/schema/nodes/layout-column.js +4 -12
  90. package/dist/cjs/schema/nodes/layout-section.js +23 -11
  91. package/dist/cjs/schema/nodes/list-item.js +5 -12
  92. package/dist/cjs/schema/nodes/media-group.js +3 -8
  93. package/dist/cjs/schema/nodes/media-inline.js +2 -1
  94. package/dist/cjs/schema/nodes/media-single.js +35 -14
  95. package/dist/cjs/schema/nodes/media.js +35 -83
  96. package/dist/cjs/schema/nodes/mention.js +3 -22
  97. package/dist/cjs/schema/nodes/multi-bodied-extension.js +26 -64
  98. package/dist/cjs/schema/nodes/nested-expand.js +31 -48
  99. package/dist/cjs/schema/nodes/ordered-list.js +4 -16
  100. package/dist/cjs/schema/nodes/panel.js +5 -34
  101. package/dist/cjs/schema/nodes/paragraph.js +3 -11
  102. package/dist/cjs/schema/nodes/placeholder.js +3 -11
  103. package/dist/cjs/schema/nodes/rule.js +3 -3
  104. package/dist/cjs/schema/nodes/status.js +3 -19
  105. package/dist/cjs/schema/nodes/tableNodes.js +9 -52
  106. package/dist/cjs/schema/nodes/task-item.js +3 -14
  107. package/dist/cjs/schema/nodes/task-list.js +3 -12
  108. package/dist/cjs/schema/nodes/text.js +3 -4
  109. package/dist/cjs/schema/nodes/unsupported-block.js +3 -11
  110. package/dist/cjs/schema/nodes/unsupported-inline.js +3 -10
  111. package/dist/es2019/index.js +5 -1
  112. package/dist/es2019/next-schema/generated/markTypes.js +1 -1
  113. package/dist/es2019/next-schema/generated/nodeTypes.js +123 -42
  114. package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  115. package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
  116. package/dist/es2019/next-schema/index.js +3 -2
  117. package/dist/es2019/next-schema/nodes/blockCard.js +1 -1
  118. package/dist/es2019/next-schema/nodes/blockquote.js +2 -2
  119. package/dist/es2019/next-schema/nodes/bodiedExtension.js +2 -2
  120. package/dist/es2019/next-schema/nodes/caption.js +1 -1
  121. package/dist/es2019/next-schema/nodes/codeBlock.js +2 -2
  122. package/dist/es2019/next-schema/nodes/date.js +4 -1
  123. package/dist/es2019/next-schema/nodes/decisionItem.js +1 -1
  124. package/dist/es2019/next-schema/nodes/decisionList.js +1 -1
  125. package/dist/es2019/next-schema/nodes/embedCard.js +1 -1
  126. package/dist/es2019/next-schema/nodes/emoji.js +4 -1
  127. package/dist/es2019/next-schema/nodes/expand.js +2 -2
  128. package/dist/es2019/next-schema/nodes/extension.js +2 -2
  129. package/dist/es2019/next-schema/nodes/extensionFrame.js +3 -2
  130. package/dist/es2019/next-schema/nodes/hardBreak.js +1 -1
  131. package/dist/es2019/next-schema/nodes/heading.js +3 -3
  132. package/dist/es2019/next-schema/nodes/inlineCard.js +5 -2
  133. package/dist/es2019/next-schema/nodes/inlineExtension.js +2 -2
  134. package/dist/es2019/next-schema/nodes/layoutColumn.js +1 -1
  135. package/dist/es2019/next-schema/nodes/layoutSection.js +3 -2
  136. package/dist/es2019/next-schema/nodes/list.js +5 -5
  137. package/dist/es2019/next-schema/nodes/media.js +1 -1
  138. package/dist/es2019/next-schema/nodes/mediaGroup.js +1 -1
  139. package/dist/es2019/next-schema/nodes/mediaInline.js +1 -1
  140. package/dist/es2019/next-schema/nodes/mediaSingle.js +5 -5
  141. package/dist/es2019/next-schema/nodes/mention.js +4 -1
  142. package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +1 -3
  143. package/dist/es2019/next-schema/nodes/nestedExpand.js +2 -2
  144. package/dist/es2019/next-schema/nodes/panel.js +3 -3
  145. package/dist/es2019/next-schema/nodes/paragraph.js +4 -4
  146. package/dist/es2019/next-schema/nodes/placeholder.js +1 -1
  147. package/dist/es2019/next-schema/nodes/status.js +4 -1
  148. package/dist/es2019/next-schema/nodes/table.js +1 -1
  149. package/dist/es2019/next-schema/nodes/tableCell.js +1 -1
  150. package/dist/es2019/next-schema/nodes/tableHeader.js +1 -1
  151. package/dist/es2019/next-schema/nodes/tableRow.js +1 -1
  152. package/dist/es2019/next-schema/nodes/task.js +2 -2
  153. package/dist/es2019/next-schema/nodes/text.js +1 -1
  154. package/dist/es2019/schema/createPMSpecFactory.js +55 -0
  155. package/dist/es2019/schema/index.js +5 -1
  156. package/dist/es2019/schema/marks/alignment.js +3 -8
  157. package/dist/es2019/schema/marks/annotation.js +4 -13
  158. package/dist/es2019/schema/marks/background-color.js +3 -9
  159. package/dist/es2019/schema/marks/border.js +3 -7
  160. package/dist/es2019/schema/marks/breakout.js +3 -9
  161. package/dist/es2019/schema/marks/code.js +3 -5
  162. package/dist/es2019/schema/marks/confluence-inline-comment.js +4 -9
  163. package/dist/es2019/schema/marks/data-consumer.js +3 -7
  164. package/dist/es2019/schema/marks/em.js +3 -5
  165. package/dist/es2019/schema/marks/fragment.js +3 -12
  166. package/dist/es2019/schema/marks/indentation.js +3 -8
  167. package/dist/es2019/schema/marks/link.js +3 -13
  168. package/dist/es2019/schema/marks/strike.js +3 -5
  169. package/dist/es2019/schema/marks/strong.js +3 -5
  170. package/dist/es2019/schema/marks/subsup.js +3 -10
  171. package/dist/es2019/schema/marks/text-color.js +3 -8
  172. package/dist/es2019/schema/marks/type-ahead-query.js +3 -10
  173. package/dist/es2019/schema/marks/underline.js +3 -5
  174. package/dist/es2019/schema/marks/unsupported-mark.js +3 -6
  175. package/dist/es2019/schema/marks/unsupported-node-attributes.js +3 -6
  176. package/dist/es2019/schema/nodes/block-card.js +4 -23
  177. package/dist/es2019/schema/nodes/blockquote.js +19 -20
  178. package/dist/es2019/schema/nodes/bodied-extension.js +23 -53
  179. package/dist/es2019/schema/nodes/bullet-list.js +3 -6
  180. package/dist/es2019/schema/nodes/caption.js +4 -6
  181. package/dist/es2019/schema/nodes/code-block.js +31 -16
  182. package/dist/es2019/schema/nodes/confluence-jira-issue.js +3 -22
  183. package/dist/es2019/schema/nodes/confluence-unsupported-block.js +3 -8
  184. package/dist/es2019/schema/nodes/confluence-unsupported-inline.js +3 -10
  185. package/dist/es2019/schema/nodes/date.js +4 -10
  186. package/dist/es2019/schema/nodes/decision-item.js +3 -13
  187. package/dist/es2019/schema/nodes/decision-list.js +3 -12
  188. package/dist/es2019/schema/nodes/doc.js +3 -4
  189. package/dist/es2019/schema/nodes/embed-card.js +4 -22
  190. package/dist/es2019/schema/nodes/emoji.js +3 -16
  191. package/dist/es2019/schema/nodes/expand.js +4 -16
  192. package/dist/es2019/schema/nodes/extension.js +19 -46
  193. package/dist/es2019/schema/nodes/hard-break.js +4 -5
  194. package/dist/es2019/schema/nodes/heading.js +4 -14
  195. package/dist/es2019/schema/nodes/image.js +3 -16
  196. package/dist/es2019/schema/nodes/inline-card.js +4 -14
  197. package/dist/es2019/schema/nodes/inline-extension.js +18 -41
  198. package/dist/es2019/schema/nodes/layout-column.js +5 -12
  199. package/dist/es2019/schema/nodes/layout-section.js +24 -10
  200. package/dist/es2019/schema/nodes/list-item.js +6 -12
  201. package/dist/es2019/schema/nodes/media-group.js +4 -8
  202. package/dist/es2019/schema/nodes/media-inline.js +3 -2
  203. package/dist/es2019/schema/nodes/media-single.js +35 -15
  204. package/dist/es2019/schema/nodes/media.js +35 -78
  205. package/dist/es2019/schema/nodes/mention.js +3 -22
  206. package/dist/es2019/schema/nodes/multi-bodied-extension.js +26 -63
  207. package/dist/es2019/schema/nodes/nested-expand.js +32 -48
  208. package/dist/es2019/schema/nodes/ordered-list.js +5 -14
  209. package/dist/es2019/schema/nodes/panel.js +5 -34
  210. package/dist/es2019/schema/nodes/paragraph.js +4 -11
  211. package/dist/es2019/schema/nodes/placeholder.js +4 -11
  212. package/dist/es2019/schema/nodes/rule.js +4 -3
  213. package/dist/es2019/schema/nodes/status.js +3 -19
  214. package/dist/es2019/schema/nodes/tableNodes.js +40 -82
  215. package/dist/es2019/schema/nodes/task-item.js +3 -14
  216. package/dist/es2019/schema/nodes/task-list.js +3 -12
  217. package/dist/es2019/schema/nodes/text.js +4 -4
  218. package/dist/es2019/schema/nodes/unsupported-block.js +3 -11
  219. package/dist/es2019/schema/nodes/unsupported-inline.js +3 -10
  220. package/dist/esm/index.js +5 -1
  221. package/dist/esm/next-schema/generated/markTypes.js +1 -1
  222. package/dist/esm/next-schema/generated/nodeTypes.js +123 -42
  223. package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  224. package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
  225. package/dist/esm/next-schema/index.js +3 -2
  226. package/dist/esm/next-schema/nodes/blockCard.js +1 -1
  227. package/dist/esm/next-schema/nodes/blockquote.js +2 -2
  228. package/dist/esm/next-schema/nodes/bodiedExtension.js +2 -2
  229. package/dist/esm/next-schema/nodes/caption.js +1 -1
  230. package/dist/esm/next-schema/nodes/codeBlock.js +2 -2
  231. package/dist/esm/next-schema/nodes/date.js +4 -1
  232. package/dist/esm/next-schema/nodes/decisionItem.js +1 -1
  233. package/dist/esm/next-schema/nodes/decisionList.js +1 -1
  234. package/dist/esm/next-schema/nodes/embedCard.js +1 -1
  235. package/dist/esm/next-schema/nodes/emoji.js +4 -1
  236. package/dist/esm/next-schema/nodes/expand.js +2 -2
  237. package/dist/esm/next-schema/nodes/extension.js +2 -2
  238. package/dist/esm/next-schema/nodes/extensionFrame.js +3 -2
  239. package/dist/esm/next-schema/nodes/hardBreak.js +1 -1
  240. package/dist/esm/next-schema/nodes/heading.js +3 -3
  241. package/dist/esm/next-schema/nodes/inlineCard.js +5 -2
  242. package/dist/esm/next-schema/nodes/inlineExtension.js +2 -2
  243. package/dist/esm/next-schema/nodes/layoutColumn.js +1 -1
  244. package/dist/esm/next-schema/nodes/layoutSection.js +3 -2
  245. package/dist/esm/next-schema/nodes/list.js +5 -5
  246. package/dist/esm/next-schema/nodes/media.js +1 -1
  247. package/dist/esm/next-schema/nodes/mediaGroup.js +1 -1
  248. package/dist/esm/next-schema/nodes/mediaInline.js +1 -1
  249. package/dist/esm/next-schema/nodes/mediaSingle.js +5 -5
  250. package/dist/esm/next-schema/nodes/mention.js +4 -1
  251. package/dist/esm/next-schema/nodes/multiBodiedExtension.js +1 -3
  252. package/dist/esm/next-schema/nodes/nestedExpand.js +2 -2
  253. package/dist/esm/next-schema/nodes/panel.js +3 -3
  254. package/dist/esm/next-schema/nodes/paragraph.js +4 -4
  255. package/dist/esm/next-schema/nodes/placeholder.js +1 -1
  256. package/dist/esm/next-schema/nodes/status.js +4 -1
  257. package/dist/esm/next-schema/nodes/table.js +1 -1
  258. package/dist/esm/next-schema/nodes/tableCell.js +1 -1
  259. package/dist/esm/next-schema/nodes/tableHeader.js +1 -1
  260. package/dist/esm/next-schema/nodes/tableRow.js +1 -1
  261. package/dist/esm/next-schema/nodes/task.js +2 -2
  262. package/dist/esm/next-schema/nodes/text.js +1 -1
  263. package/dist/esm/schema/createPMSpecFactory.js +50 -0
  264. package/dist/esm/schema/index.js +5 -1
  265. package/dist/esm/schema/marks/alignment.js +3 -8
  266. package/dist/esm/schema/marks/annotation.js +4 -13
  267. package/dist/esm/schema/marks/background-color.js +3 -9
  268. package/dist/esm/schema/marks/border.js +3 -7
  269. package/dist/esm/schema/marks/breakout.js +3 -9
  270. package/dist/esm/schema/marks/code.js +3 -5
  271. package/dist/esm/schema/marks/confluence-inline-comment.js +4 -9
  272. package/dist/esm/schema/marks/data-consumer.js +3 -7
  273. package/dist/esm/schema/marks/em.js +3 -5
  274. package/dist/esm/schema/marks/fragment.js +3 -12
  275. package/dist/esm/schema/marks/indentation.js +3 -8
  276. package/dist/esm/schema/marks/link.js +3 -13
  277. package/dist/esm/schema/marks/strike.js +3 -5
  278. package/dist/esm/schema/marks/strong.js +3 -5
  279. package/dist/esm/schema/marks/subsup.js +3 -10
  280. package/dist/esm/schema/marks/text-color.js +3 -8
  281. package/dist/esm/schema/marks/type-ahead-query.js +3 -10
  282. package/dist/esm/schema/marks/underline.js +3 -5
  283. package/dist/esm/schema/marks/unsupported-mark.js +3 -6
  284. package/dist/esm/schema/marks/unsupported-node-attributes.js +3 -6
  285. package/dist/esm/schema/nodes/block-card.js +4 -23
  286. package/dist/esm/schema/nodes/blockquote.js +19 -20
  287. package/dist/esm/schema/nodes/bodied-extension.js +24 -54
  288. package/dist/esm/schema/nodes/bullet-list.js +3 -6
  289. package/dist/esm/schema/nodes/caption.js +4 -6
  290. package/dist/esm/schema/nodes/code-block.js +31 -16
  291. package/dist/esm/schema/nodes/confluence-jira-issue.js +3 -22
  292. package/dist/esm/schema/nodes/confluence-unsupported-block.js +3 -8
  293. package/dist/esm/schema/nodes/confluence-unsupported-inline.js +3 -10
  294. package/dist/esm/schema/nodes/date.js +4 -10
  295. package/dist/esm/schema/nodes/decision-item.js +3 -13
  296. package/dist/esm/schema/nodes/decision-list.js +3 -12
  297. package/dist/esm/schema/nodes/doc.js +3 -4
  298. package/dist/esm/schema/nodes/embed-card.js +4 -22
  299. package/dist/esm/schema/nodes/emoji.js +3 -16
  300. package/dist/esm/schema/nodes/expand.js +4 -16
  301. package/dist/esm/schema/nodes/extension.js +20 -47
  302. package/dist/esm/schema/nodes/hard-break.js +4 -5
  303. package/dist/esm/schema/nodes/heading.js +4 -14
  304. package/dist/esm/schema/nodes/image.js +3 -16
  305. package/dist/esm/schema/nodes/inline-card.js +4 -14
  306. package/dist/esm/schema/nodes/inline-extension.js +19 -42
  307. package/dist/esm/schema/nodes/layout-column.js +5 -12
  308. package/dist/esm/schema/nodes/layout-section.js +24 -10
  309. package/dist/esm/schema/nodes/list-item.js +6 -12
  310. package/dist/esm/schema/nodes/media-group.js +4 -8
  311. package/dist/esm/schema/nodes/media-inline.js +3 -2
  312. package/dist/esm/schema/nodes/media-single.js +35 -14
  313. package/dist/esm/schema/nodes/media.js +36 -82
  314. package/dist/esm/schema/nodes/mention.js +3 -22
  315. package/dist/esm/schema/nodes/multi-bodied-extension.js +27 -64
  316. package/dist/esm/schema/nodes/nested-expand.js +32 -48
  317. package/dist/esm/schema/nodes/ordered-list.js +4 -15
  318. package/dist/esm/schema/nodes/panel.js +5 -34
  319. package/dist/esm/schema/nodes/paragraph.js +4 -11
  320. package/dist/esm/schema/nodes/placeholder.js +4 -11
  321. package/dist/esm/schema/nodes/rule.js +4 -3
  322. package/dist/esm/schema/nodes/status.js +3 -19
  323. package/dist/esm/schema/nodes/tableNodes.js +12 -52
  324. package/dist/esm/schema/nodes/task-item.js +3 -14
  325. package/dist/esm/schema/nodes/task-list.js +3 -12
  326. package/dist/esm/schema/nodes/text.js +4 -4
  327. package/dist/esm/schema/nodes/unsupported-block.js +3 -11
  328. package/dist/esm/schema/nodes/unsupported-inline.js +3 -10
  329. package/dist/types/index.d.ts +2 -0
  330. package/dist/types/next-schema/full-schema.adf.d.ts +1 -30
  331. package/dist/types/next-schema/generated/markTypes.d.ts +20 -20
  332. package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +4 -4
  333. package/dist/types/next-schema/generated/nodeTypes.d.ts +143 -85
  334. package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +3 -119
  335. package/dist/types/next-schema/index.d.ts +3 -5
  336. package/dist/types/next-schema/nodes/blockCard.d.ts +1 -30
  337. package/dist/types/next-schema/nodes/blockquote.d.ts +1 -30
  338. package/dist/types/next-schema/nodes/bodiedExtension.d.ts +1 -30
  339. package/dist/types/next-schema/nodes/caption.d.ts +1 -30
  340. package/dist/types/next-schema/nodes/codeBlock.d.ts +2 -60
  341. package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +1 -30
  342. package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +1 -30
  343. package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +1 -30
  344. package/dist/types/next-schema/nodes/date.d.ts +1 -30
  345. package/dist/types/next-schema/nodes/decisionItem.d.ts +1 -30
  346. package/dist/types/next-schema/nodes/decisionList.d.ts +1 -30
  347. package/dist/types/next-schema/nodes/embedCard.d.ts +1 -30
  348. package/dist/types/next-schema/nodes/emoji.d.ts +1 -30
  349. package/dist/types/next-schema/nodes/expand.d.ts +1 -30
  350. package/dist/types/next-schema/nodes/extension.d.ts +1 -30
  351. package/dist/types/next-schema/nodes/extensionFrame.d.ts +1 -30
  352. package/dist/types/next-schema/nodes/hardBreak.d.ts +1 -30
  353. package/dist/types/next-schema/nodes/heading.d.ts +2 -60
  354. package/dist/types/next-schema/nodes/image.d.ts +1 -30
  355. package/dist/types/next-schema/nodes/inlineCard.d.ts +1 -30
  356. package/dist/types/next-schema/nodes/inlineExtension.d.ts +1 -30
  357. package/dist/types/next-schema/nodes/layoutColumn.d.ts +1 -30
  358. package/dist/types/next-schema/nodes/layoutSection.d.ts +2 -30
  359. package/dist/types/next-schema/nodes/list.d.ts +2 -60
  360. package/dist/types/next-schema/nodes/media.d.ts +1 -30
  361. package/dist/types/next-schema/nodes/mediaGroup.d.ts +1 -30
  362. package/dist/types/next-schema/nodes/mediaInline.d.ts +1 -30
  363. package/dist/types/next-schema/nodes/mediaSingle.d.ts +1 -30
  364. package/dist/types/next-schema/nodes/mention.d.ts +1 -30
  365. package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +1 -30
  366. package/dist/types/next-schema/nodes/nestedExpand.d.ts +1 -30
  367. package/dist/types/next-schema/nodes/panel.d.ts +1 -30
  368. package/dist/types/next-schema/nodes/paragraph.d.ts +1 -30
  369. package/dist/types/next-schema/nodes/placeholder.d.ts +1 -30
  370. package/dist/types/next-schema/nodes/rule.d.ts +1 -30
  371. package/dist/types/next-schema/nodes/status.d.ts +1 -30
  372. package/dist/types/next-schema/nodes/table.d.ts +1 -30
  373. package/dist/types/next-schema/nodes/tableCell.d.ts +1 -30
  374. package/dist/types/next-schema/nodes/tableCellContent.d.ts +1 -30
  375. package/dist/types/next-schema/nodes/tableHeader.d.ts +1 -30
  376. package/dist/types/next-schema/nodes/tableRow.d.ts +1 -30
  377. package/dist/types/next-schema/nodes/task.d.ts +2 -60
  378. package/dist/types/next-schema/nodes/text.d.ts +1 -30
  379. package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +1 -30
  380. package/dist/types/next-schema/nodes/unsupportedInline.d.ts +1 -30
  381. package/dist/types/schema/createPMSpecFactory.d.ts +33 -0
  382. package/dist/types/schema/index.d.ts +2 -0
  383. package/dist/types/schema/nodes/block-card.d.ts +1 -2
  384. package/dist/types/schema/nodes/blockquote.d.ts +2 -3
  385. package/dist/types/schema/nodes/bodied-extension.d.ts +1 -2
  386. package/dist/types/schema/nodes/bullet-list.d.ts +1 -2
  387. package/dist/types/schema/nodes/caption.d.ts +1 -2
  388. package/dist/types/schema/nodes/code-block.d.ts +2 -2
  389. package/dist/types/schema/nodes/confluence-jira-issue.d.ts +1 -2
  390. package/dist/types/schema/nodes/confluence-unsupported-block.d.ts +1 -2
  391. package/dist/types/schema/nodes/confluence-unsupported-inline.d.ts +1 -2
  392. package/dist/types/schema/nodes/date.d.ts +1 -2
  393. package/dist/types/schema/nodes/decision-item.d.ts +1 -2
  394. package/dist/types/schema/nodes/decision-list.d.ts +1 -2
  395. package/dist/types/schema/nodes/doc.d.ts +1 -2
  396. package/dist/types/schema/nodes/embed-card.d.ts +1 -2
  397. package/dist/types/schema/nodes/emoji.d.ts +1 -2
  398. package/dist/types/schema/nodes/expand.d.ts +2 -2
  399. package/dist/types/schema/nodes/extension.d.ts +1 -2
  400. package/dist/types/schema/nodes/hard-break.d.ts +1 -2
  401. package/dist/types/schema/nodes/heading.d.ts +1 -2
  402. package/dist/types/schema/nodes/image.d.ts +1 -2
  403. package/dist/types/schema/nodes/inline-card.d.ts +1 -2
  404. package/dist/types/schema/nodes/inline-extension.d.ts +1 -2
  405. package/dist/types/schema/nodes/layout-column.d.ts +1 -2
  406. package/dist/types/schema/nodes/layout-section.d.ts +3 -3
  407. package/dist/types/schema/nodes/list-item.d.ts +2 -3
  408. package/dist/types/schema/nodes/media-group.d.ts +1 -2
  409. package/dist/types/schema/nodes/media.d.ts +3 -1
  410. package/dist/types/schema/nodes/mention.d.ts +2 -2
  411. package/dist/types/schema/nodes/multi-bodied-extension.d.ts +2 -3
  412. package/dist/types/schema/nodes/nested-expand.d.ts +1 -2
  413. package/dist/types/schema/nodes/ordered-list.d.ts +2 -3
  414. package/dist/types/schema/nodes/panel.d.ts +2 -3
  415. package/dist/types/schema/nodes/paragraph.d.ts +1 -2
  416. package/dist/types/schema/nodes/placeholder.d.ts +1 -2
  417. package/dist/types/schema/nodes/rule.d.ts +1 -2
  418. package/dist/types/schema/nodes/status.d.ts +1 -2
  419. package/dist/types/schema/nodes/tableNodes.d.ts +7 -7
  420. package/dist/types/schema/nodes/task-item.d.ts +1 -2
  421. package/dist/types/schema/nodes/task-list.d.ts +1 -2
  422. package/dist/types/schema/nodes/text.d.ts +1 -4
  423. package/dist/types/schema/nodes/unsupported-block.d.ts +1 -2
  424. package/dist/types/schema/nodes/unsupported-inline.d.ts +1 -2
  425. package/package.json +7 -4
  426. package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +7 -7
  427. package/schema-generators/__tests__/unit/validate-pm-schema.unit.ts +6 -4
  428. package/schema-generators/json-full-schema.ts +5 -4
  429. package/schema-generators/pm-full-schema.ts +3 -3
  430. package/schema-generators/validator-full-schema.ts +1 -1
@@ -23,7 +23,7 @@ var _task = require("../nodes/task");
23
23
  var _unsupportedBlock = require("../nodes/unsupportedBlock");
24
24
  // Not an actual group, but a collection of nodes that can't be nested inside each other
25
25
  // TODO: make it an actual group
26
- var nonNestableBlockContent = exports.nonNestableBlockContent = [_codeBlock.codeBlock.use('with_no_marks'), _blockCard.blockCard, _paragraph.paragraph.use('with_no_marks'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _task.taskList, _list.bulletList, _list.orderedList, _heading.heading.use('with_no_marks'), _mediaGroup.mediaGroup, _decisionList.decisionList, _rule.rule, _panel.panel, _blockquote.blockquote, _extension.extension.use('with_marks'), _embedCard.embedCard, _table.table, _unsupportedBlock.unsupportedBlock];
26
+ var nonNestableBlockContent = exports.nonNestableBlockContent = [_paragraph.paragraph.use('with_no_marks'), _panel.panel, _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule, _heading.heading.use('with_no_marks'), _codeBlock.codeBlock.use('with_no_marks'), _mediaGroup.mediaGroup, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _decisionList.decisionList, _task.taskList, _table.table, _blockCard.blockCard, _embedCard.embedCard, _extension.extension.use('with_marks'), _unsupportedBlock.unsupportedBlock];
27
27
 
28
28
  /**
29
29
  * @DSLCompatibilityException
@@ -21,7 +21,7 @@ var _paragraph = require("../nodes/paragraph");
21
21
  var _rule = require("../nodes/rule");
22
22
  var _task = require("../nodes/task");
23
23
  var _unsupportedBlock = require("../nodes/unsupportedBlock");
24
- var tableCellContentNodes = [_codeBlock.codeBlock.use('with_no_marks'), _blockCard.blockCard, _paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _task.taskList, _list.bulletList, _list.orderedList, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _mediaGroup.mediaGroup, _decisionList.decisionList, _rule.rule, _panel.panel, _blockquote.blockquote, _extension.extension.use('with_marks'), _embedCard.embedCard, _nestedExpand.nestedExpand.use('content'), _nestedExpand.nestedExpand.use('with_no_marks')];
24
+ var tableCellContentNodes = [_paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _panel.panel, _blockquote.blockquote, _list.orderedList, _list.bulletList, _rule.rule, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _codeBlock.codeBlock.use('with_no_marks'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _mediaGroup.mediaGroup, _decisionList.decisionList, _task.taskList, _blockCard.blockCard, _embedCard.embedCard, _extension.extension.use('with_marks'), _nestedExpand.nestedExpand.use('content'), _nestedExpand.nestedExpand.use('with_no_marks')];
25
25
 
26
26
  // This is not an actual group, but a collection of nodes
27
27
  // @DSLCompatibilityException JSON Schema and PM Spec are not in sync. We need to fix it
@@ -3,509 +3,36 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- Object.defineProperty(exports, "alignment", {
7
- enumerable: true,
8
- get: function get() {
9
- return _markTypes.alignment;
10
- }
11
- });
12
- Object.defineProperty(exports, "annotation", {
13
- enumerable: true,
14
- get: function get() {
15
- return _markTypes.annotation;
16
- }
17
- });
18
- Object.defineProperty(exports, "backgroundColor", {
19
- enumerable: true,
20
- get: function get() {
21
- return _markTypes.backgroundColor;
22
- }
23
- });
24
- Object.defineProperty(exports, "blockCard", {
25
- enumerable: true,
26
- get: function get() {
27
- return _nodeTypes.blockCard;
28
- }
29
- });
30
- Object.defineProperty(exports, "blockquote", {
31
- enumerable: true,
32
- get: function get() {
33
- return _nodeTypes.blockquote;
34
- }
35
- });
36
- Object.defineProperty(exports, "blockquoteLegacy", {
37
- enumerable: true,
38
- get: function get() {
39
- return _nodeTypes.blockquoteLegacy;
40
- }
41
- });
42
- Object.defineProperty(exports, "bodiedExtension", {
43
- enumerable: true,
44
- get: function get() {
45
- return _nodeTypes.bodiedExtension;
46
- }
47
- });
48
- Object.defineProperty(exports, "bodiedExtensionWithMarks", {
49
- enumerable: true,
50
- get: function get() {
51
- return _nodeTypes.bodiedExtensionWithMarks;
52
- }
53
- });
54
- Object.defineProperty(exports, "border", {
55
- enumerable: true,
56
- get: function get() {
57
- return _markTypes.border;
58
- }
59
- });
60
- Object.defineProperty(exports, "breakout", {
61
- enumerable: true,
62
- get: function get() {
63
- return _markTypes.breakout;
64
- }
65
- });
66
- Object.defineProperty(exports, "bulletList", {
67
- enumerable: true,
68
- get: function get() {
69
- return _nodeTypes.bulletList;
70
- }
71
- });
72
- Object.defineProperty(exports, "caption", {
73
- enumerable: true,
74
- get: function get() {
75
- return _nodeTypes.caption;
76
- }
77
- });
78
- Object.defineProperty(exports, "code", {
79
- enumerable: true,
80
- get: function get() {
81
- return _markTypes.code;
82
- }
83
- });
84
- Object.defineProperty(exports, "codeBlock", {
85
- enumerable: true,
86
- get: function get() {
87
- return _nodeTypes.codeBlock;
88
- }
89
- });
90
- Object.defineProperty(exports, "codeBlockWithNoMarks", {
91
- enumerable: true,
92
- get: function get() {
93
- return _nodeTypes.codeBlockWithNoMarks;
94
- }
95
- });
96
- Object.defineProperty(exports, "confluenceInlineComment", {
97
- enumerable: true,
98
- get: function get() {
99
- return _markTypes.confluenceInlineComment;
100
- }
101
- });
102
- Object.defineProperty(exports, "confluenceJiraIssue", {
103
- enumerable: true,
104
- get: function get() {
105
- return _nodeTypes.confluenceJiraIssue;
106
- }
107
- });
108
- Object.defineProperty(exports, "confluenceUnsupportedBlock", {
109
- enumerable: true,
110
- get: function get() {
111
- return _nodeTypes.confluenceUnsupportedBlock;
112
- }
113
- });
114
- Object.defineProperty(exports, "confluenceUnsupportedInline", {
115
- enumerable: true,
116
- get: function get() {
117
- return _nodeTypes.confluenceUnsupportedInline;
118
- }
119
- });
120
- Object.defineProperty(exports, "dataConsumer", {
121
- enumerable: true,
122
- get: function get() {
123
- return _markTypes.dataConsumer;
124
- }
125
- });
126
- Object.defineProperty(exports, "date", {
127
- enumerable: true,
128
- get: function get() {
129
- return _nodeTypes.date;
130
- }
131
- });
132
- Object.defineProperty(exports, "decisionItem", {
133
- enumerable: true,
134
- get: function get() {
135
- return _nodeTypes.decisionItem;
136
- }
137
- });
138
- Object.defineProperty(exports, "decisionList", {
139
- enumerable: true,
140
- get: function get() {
141
- return _nodeTypes.decisionList;
142
- }
143
- });
144
- Object.defineProperty(exports, "doc", {
145
- enumerable: true,
146
- get: function get() {
147
- return _nodeTypes.doc;
148
- }
149
- });
150
- Object.defineProperty(exports, "em", {
151
- enumerable: true,
152
- get: function get() {
153
- return _markTypes.em;
154
- }
155
- });
156
- Object.defineProperty(exports, "embedCard", {
157
- enumerable: true,
158
- get: function get() {
159
- return _nodeTypes.embedCard;
160
- }
161
- });
162
- Object.defineProperty(exports, "emoji", {
163
- enumerable: true,
164
- get: function get() {
165
- return _nodeTypes.emoji;
166
- }
167
- });
168
- Object.defineProperty(exports, "expandWithNoMark", {
169
- enumerable: true,
170
- get: function get() {
171
- return _nodeTypes.expandWithNoMark;
172
- }
173
- });
174
- Object.defineProperty(exports, "extension", {
175
- enumerable: true,
176
- get: function get() {
177
- return _nodeTypes.extension;
178
- }
179
- });
180
- Object.defineProperty(exports, "extensionFrame", {
181
- enumerable: true,
182
- get: function get() {
183
- return _nodeTypes.extensionFrame;
184
- }
185
- });
186
- Object.defineProperty(exports, "extensionWithMarks", {
187
- enumerable: true,
188
- get: function get() {
189
- return _nodeTypes.extensionWithMarks;
190
- }
191
- });
192
- Object.defineProperty(exports, "fragment", {
193
- enumerable: true,
194
- get: function get() {
195
- return _markTypes.fragment;
196
- }
197
- });
198
- Object.defineProperty(exports, "hardBreak", {
199
- enumerable: true,
200
- get: function get() {
201
- return _nodeTypes.hardBreak;
202
- }
203
- });
204
- Object.defineProperty(exports, "heading", {
205
- enumerable: true,
206
- get: function get() {
207
- return _nodeTypes.heading;
208
- }
209
- });
210
- Object.defineProperty(exports, "headingWithAlignment", {
211
- enumerable: true,
212
- get: function get() {
213
- return _nodeTypes.headingWithAlignment;
214
- }
215
- });
216
- Object.defineProperty(exports, "headingWithIndentation", {
217
- enumerable: true,
218
- get: function get() {
219
- return _nodeTypes.headingWithIndentation;
220
- }
221
- });
222
- Object.defineProperty(exports, "headingWithNoMarks", {
223
- enumerable: true,
224
- get: function get() {
225
- return _nodeTypes.headingWithNoMarks;
226
- }
227
- });
228
- Object.defineProperty(exports, "image", {
229
- enumerable: true,
230
- get: function get() {
231
- return _nodeTypes.image;
232
- }
233
- });
234
- Object.defineProperty(exports, "indentation", {
235
- enumerable: true,
236
- get: function get() {
237
- return _markTypes.indentation;
238
- }
239
- });
240
- Object.defineProperty(exports, "inlineCard", {
241
- enumerable: true,
242
- get: function get() {
243
- return _nodeTypes.inlineCard;
244
- }
245
- });
246
- Object.defineProperty(exports, "inlineExtensionWithMarks", {
247
- enumerable: true,
248
- get: function get() {
249
- return _nodeTypes.inlineExtensionWithMarks;
250
- }
251
- });
252
- Object.defineProperty(exports, "layoutColumn", {
253
- enumerable: true,
254
- get: function get() {
255
- return _nodeTypes.layoutColumn;
256
- }
257
- });
258
- Object.defineProperty(exports, "layoutSection", {
259
- enumerable: true,
260
- get: function get() {
261
- return _nodeTypes.layoutSection;
262
- }
263
- });
264
- Object.defineProperty(exports, "layoutSectionFull", {
265
- enumerable: true,
266
- get: function get() {
267
- return _nodeTypes.layoutSectionFull;
268
- }
269
- });
270
- Object.defineProperty(exports, "link", {
271
- enumerable: true,
272
- get: function get() {
273
- return _markTypes.link;
274
- }
275
- });
276
- Object.defineProperty(exports, "listItem", {
277
- enumerable: true,
278
- get: function get() {
279
- return _nodeTypes.listItem;
280
- }
281
- });
282
- Object.defineProperty(exports, "listItemLegacy", {
283
- enumerable: true,
284
- get: function get() {
285
- return _nodeTypes.listItemLegacy;
286
- }
287
- });
288
- Object.defineProperty(exports, "media", {
289
- enumerable: true,
290
- get: function get() {
291
- return _nodeTypes.media;
292
- }
293
- });
294
- Object.defineProperty(exports, "mediaGroup", {
295
- enumerable: true,
296
- get: function get() {
297
- return _nodeTypes.mediaGroup;
298
- }
299
- });
300
- Object.defineProperty(exports, "mediaInline", {
301
- enumerable: true,
302
- get: function get() {
303
- return _nodeTypes.mediaInline;
304
- }
305
- });
306
- Object.defineProperty(exports, "mediaSingle", {
307
- enumerable: true,
308
- get: function get() {
309
- return _nodeTypes.mediaSingle;
310
- }
311
- });
312
- Object.defineProperty(exports, "mediaSingleCaption", {
313
- enumerable: true,
314
- get: function get() {
315
- return _nodeTypes.mediaSingleCaption;
316
- }
317
- });
318
- Object.defineProperty(exports, "mediaSingleFull", {
319
- enumerable: true,
320
- get: function get() {
321
- return _nodeTypes.mediaSingleFull;
322
- }
323
- });
324
- Object.defineProperty(exports, "mention", {
325
- enumerable: true,
326
- get: function get() {
327
- return _nodeTypes.mention;
328
- }
329
- });
330
- Object.defineProperty(exports, "multiBodiedExtension", {
331
- enumerable: true,
332
- get: function get() {
333
- return _nodeTypes.multiBodiedExtension;
334
- }
335
- });
336
- Object.defineProperty(exports, "nestedExpandWithNoMarks", {
337
- enumerable: true,
338
- get: function get() {
339
- return _nodeTypes.nestedExpandWithNoMarks;
340
- }
341
- });
342
- Object.defineProperty(exports, "orderedList", {
343
- enumerable: true,
344
- get: function get() {
345
- return _nodeTypes.orderedList;
346
- }
347
- });
348
- Object.defineProperty(exports, "panel", {
349
- enumerable: true,
350
- get: function get() {
351
- return _nodeTypes.panel;
352
- }
353
- });
354
- Object.defineProperty(exports, "panelLegacy", {
355
- enumerable: true,
356
- get: function get() {
357
- return _nodeTypes.panelLegacy;
358
- }
359
- });
360
- Object.defineProperty(exports, "paragraph", {
361
- enumerable: true,
362
- get: function get() {
363
- return _nodeTypes.paragraph;
364
- }
365
- });
366
- Object.defineProperty(exports, "paragraphWithAlignment", {
367
- enumerable: true,
368
- get: function get() {
369
- return _nodeTypes.paragraphWithAlignment;
370
- }
371
- });
372
- Object.defineProperty(exports, "paragraphWithNoMarks", {
373
- enumerable: true,
374
- get: function get() {
375
- return _nodeTypes.paragraphWithNoMarks;
376
- }
377
- });
378
- Object.defineProperty(exports, "placeholder", {
379
- enumerable: true,
380
- get: function get() {
381
- return _nodeTypes.placeholder;
382
- }
383
- });
384
- Object.defineProperty(exports, "rule", {
385
- enumerable: true,
386
- get: function get() {
387
- return _nodeTypes.rule;
388
- }
389
- });
390
- Object.defineProperty(exports, "status", {
391
- enumerable: true,
392
- get: function get() {
393
- return _nodeTypes.status;
394
- }
395
- });
396
- Object.defineProperty(exports, "strike", {
397
- enumerable: true,
398
- get: function get() {
399
- return _markTypes.strike;
400
- }
401
- });
402
- Object.defineProperty(exports, "strong", {
403
- enumerable: true,
404
- get: function get() {
405
- return _markTypes.strong;
406
- }
407
- });
408
- Object.defineProperty(exports, "subsup", {
409
- enumerable: true,
410
- get: function get() {
411
- return _markTypes.subsup;
412
- }
413
- });
414
- Object.defineProperty(exports, "table", {
415
- enumerable: true,
416
- get: function get() {
417
- return _nodeTypes.table;
418
- }
419
- });
420
- Object.defineProperty(exports, "tableCell", {
421
- enumerable: true,
422
- get: function get() {
423
- return _nodeTypes.tableCell;
424
- }
425
- });
426
- Object.defineProperty(exports, "tableHeader", {
427
- enumerable: true,
428
- get: function get() {
429
- return _nodeTypes.tableHeader;
430
- }
431
- });
432
- Object.defineProperty(exports, "tableRow", {
433
- enumerable: true,
434
- get: function get() {
435
- return _nodeTypes.tableRow;
436
- }
437
- });
438
- Object.defineProperty(exports, "taskItem", {
439
- enumerable: true,
440
- get: function get() {
441
- return _nodeTypes.taskItem;
442
- }
443
- });
444
- Object.defineProperty(exports, "taskList", {
445
- enumerable: true,
446
- get: function get() {
447
- return _nodeTypes.taskList;
448
- }
449
- });
450
- Object.defineProperty(exports, "text", {
451
- enumerable: true,
452
- get: function get() {
453
- return _nodeTypes.text;
454
- }
455
- });
456
- Object.defineProperty(exports, "textCodeInline", {
457
- enumerable: true,
458
- get: function get() {
459
- return _nodeTypes.textCodeInline;
460
- }
461
- });
462
- Object.defineProperty(exports, "textColor", {
463
- enumerable: true,
464
- get: function get() {
465
- return _markTypes.textColor;
466
- }
467
- });
468
- Object.defineProperty(exports, "textFormatted", {
469
- enumerable: true,
470
- get: function get() {
471
- return _nodeTypes.textFormatted;
472
- }
473
- });
474
- Object.defineProperty(exports, "typeAheadQuery", {
475
- enumerable: true,
476
- get: function get() {
477
- return _markTypes.typeAheadQuery;
478
- }
479
- });
480
- Object.defineProperty(exports, "underline", {
481
- enumerable: true,
482
- get: function get() {
483
- return _markTypes.underline;
484
- }
485
- });
486
- Object.defineProperty(exports, "unsupportedBlock", {
487
- enumerable: true,
488
- get: function get() {
489
- return _nodeTypes.unsupportedBlock;
490
- }
491
- });
492
- Object.defineProperty(exports, "unsupportedInline", {
493
- enumerable: true,
494
- get: function get() {
495
- return _nodeTypes.unsupportedInline;
496
- }
497
- });
498
- Object.defineProperty(exports, "unsupportedMark", {
499
- enumerable: true,
500
- get: function get() {
501
- return _markTypes.unsupportedMark;
502
- }
503
- });
504
- Object.defineProperty(exports, "unsupportedNodeAttribute", {
505
- enumerable: true,
506
- get: function get() {
507
- return _markTypes.unsupportedNodeAttribute;
508
- }
509
- });
510
6
  var _markTypes = require("./generated/markTypes");
511
- var _nodeTypes = require("./generated/nodeTypes");
7
+ Object.keys(_markTypes).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _markTypes[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function get() {
13
+ return _markTypes[key];
14
+ }
15
+ });
16
+ });
17
+ var _nodeTypes = require("./generated/nodeTypes");
18
+ Object.keys(_nodeTypes).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _nodeTypes[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function get() {
24
+ return _nodeTypes[key];
25
+ }
26
+ });
27
+ });
28
+ var _nodeGroupTypes = require("./generated/nodeGroupTypes");
29
+ Object.keys(_nodeGroupTypes).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _nodeGroupTypes[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function get() {
35
+ return _nodeGroupTypes[key];
36
+ }
37
+ });
38
+ });
@@ -10,7 +10,7 @@ var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
10
10
  var blockCard = exports.blockCard = (0, _adfSchemaGenerator.adfNode)('blockCard').define({
11
11
  draggable: true,
12
12
  selectable: true,
13
- marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
13
+ marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
14
14
  attrs: {
15
15
  anyOf: [{
16
16
  url: {
@@ -13,8 +13,8 @@ var _unsupportedBlock = require("./unsupportedBlock");
13
13
  var blockquote = exports.blockquote = (0, _adfSchemaGenerator.adfNode)('blockquote').define({
14
14
  defining: true,
15
15
  selectable: false,
16
- marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
17
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _list.bulletList, _list.orderedList, _unsupportedBlock.unsupportedBlock))]
16
+ marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
17
+ content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _list.orderedList, _list.bulletList, _unsupportedBlock.unsupportedBlock))]
18
18
  }).variant('legacy', {
19
19
  ignore: ['json-schema', 'validator-spec'],
20
20
  content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph, _unsupportedBlock.unsupportedBlock))]
@@ -14,7 +14,7 @@ var bodiedExtension = exports.bodiedExtension = (0, _adfSchemaGenerator.adfNode)
14
14
  defining: true,
15
15
  selectable: true,
16
16
  isolating: true,
17
- marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
17
+ marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
18
18
  hasEmptyMarks: true,
19
19
  attrs: {
20
20
  extensionKey: {
@@ -52,7 +52,7 @@ var bodiedExtension = exports.bodiedExtension = (0, _adfSchemaGenerator.adfNode)
52
52
  },
53
53
  content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_nonNestableBlockContentGroup.nonNestableBlockContentGroup))]
54
54
  }).variant('with_marks', {
55
- marks: [_dataConsumer.dataConsumer, _fragment.fragment, _unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
55
+ marks: [_dataConsumer.dataConsumer, _fragment.fragment, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
56
56
  content: [],
57
57
  ignore: []
58
58
  });
@@ -19,7 +19,7 @@ var _unsupportedInline = require("./unsupportedInline");
19
19
  var caption = exports.caption = (0, _adfSchemaGenerator.adfNode)('caption').define({
20
20
  isolating: true,
21
21
  selectable: false,
22
- marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
22
+ marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
23
23
  allowAnyChildMark: true,
24
24
  content: [(0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_hardBreak.hardBreak, _mention.mention, _emoji.emoji, _date.date, _placeholder.placeholder, _inlineCard.inlineCard, _status.status, _text.text.use('formatted'), _text.text.use('code_inline'), _unsupportedInline.unsupportedInline))],
25
25
  DANGEROUS_MANUAL_OVERRIDE: {
@@ -13,7 +13,7 @@ var _unsupportedInline = require("./unsupportedInline");
13
13
  var codeBlock = exports.codeBlock = (0, _adfSchemaGenerator.adfNode)('codeBlock').define({
14
14
  code: true,
15
15
  defining: true,
16
- marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
16
+ marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
17
17
  hasEmptyMarks: true,
18
18
  attrs: {
19
19
  language: {
@@ -50,7 +50,7 @@ var codeBlock = exports.codeBlock = (0, _adfSchemaGenerator.adfNode)('codeBlock'
50
50
  }
51
51
  }
52
52
  }).variant('with_marks', {
53
- marks: [_breakout.breakout, _unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
53
+ marks: [_breakout.breakout, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
54
54
  ignore: ['pm-spec']
55
55
  }).variant('with_no_marks', {
56
56
  content: [],
@@ -11,12 +11,15 @@ var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
11
11
  var date = exports.date = (0, _adfSchemaGenerator.adfNode)('date').define({
12
12
  inline: true,
13
13
  selectable: true,
14
- marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark, _annotation.annotation],
14
+ marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
15
15
  attrs: {
16
16
  timestamp: {
17
17
  minLength: 1,
18
18
  type: 'string',
19
19
  default: ''
20
20
  }
21
+ },
22
+ stage0: {
23
+ marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark, _annotation.annotation]
21
24
  }
22
25
  });
@@ -11,7 +11,7 @@ var _unsupportedMark = require("../marks/unsupportedMark");
11
11
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
12
12
  var decisionItem = exports.decisionItem = (0, _adfSchemaGenerator.adfNode)('decisionItem').define({
13
13
  defining: true,
14
- marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
14
+ marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
15
15
  allowAnyChildMark: true,
16
16
  attrs: {
17
17
  localId: {
@@ -12,7 +12,7 @@ var _unsupportedBlock = require("./unsupportedBlock");
12
12
  var decisionList = exports.decisionList = (0, _adfSchemaGenerator.adfNode)('decisionList').define({
13
13
  defining: true,
14
14
  selectable: false,
15
- marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
15
+ marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
16
16
  attrs: {
17
17
  localId: {
18
18
  type: 'string',
@@ -9,7 +9,7 @@ var _unsupportedMark = require("../marks/unsupportedMark");
9
9
  var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
10
10
  var embedCard = exports.embedCard = (0, _adfSchemaGenerator.adfNode)('embedCard').define({
11
11
  selectable: true,
12
- marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
12
+ marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
13
13
  attrs: {
14
14
  url: {
15
15
  type: 'string',