@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.
- package/CHANGELOG.md +13 -0
- package/dist/cjs/index.js +12 -0
- package/dist/cjs/next-schema/generated/markTypes.js +21 -21
- package/dist/cjs/next-schema/generated/nodeTypes.js +191 -110
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/cjs/next-schema/index.js +32 -505
- package/dist/cjs/next-schema/nodes/blockCard.js +1 -1
- package/dist/cjs/next-schema/nodes/blockquote.js +2 -2
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/cjs/next-schema/nodes/caption.js +1 -1
- package/dist/cjs/next-schema/nodes/codeBlock.js +2 -2
- package/dist/cjs/next-schema/nodes/date.js +4 -1
- package/dist/cjs/next-schema/nodes/decisionItem.js +1 -1
- package/dist/cjs/next-schema/nodes/decisionList.js +1 -1
- package/dist/cjs/next-schema/nodes/embedCard.js +1 -1
- package/dist/cjs/next-schema/nodes/emoji.js +4 -1
- package/dist/cjs/next-schema/nodes/expand.js +2 -2
- package/dist/cjs/next-schema/nodes/extension.js +2 -2
- package/dist/cjs/next-schema/nodes/extensionFrame.js +3 -2
- package/dist/cjs/next-schema/nodes/hardBreak.js +1 -1
- package/dist/cjs/next-schema/nodes/heading.js +3 -3
- package/dist/cjs/next-schema/nodes/inlineCard.js +5 -2
- package/dist/cjs/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/cjs/next-schema/nodes/layoutColumn.js +1 -1
- package/dist/cjs/next-schema/nodes/layoutSection.js +3 -2
- package/dist/cjs/next-schema/nodes/list.js +5 -5
- package/dist/cjs/next-schema/nodes/media.js +1 -1
- package/dist/cjs/next-schema/nodes/mediaGroup.js +1 -1
- package/dist/cjs/next-schema/nodes/mediaInline.js +1 -1
- package/dist/cjs/next-schema/nodes/mediaSingle.js +5 -5
- package/dist/cjs/next-schema/nodes/mention.js +4 -1
- package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +1 -3
- package/dist/cjs/next-schema/nodes/nestedExpand.js +2 -2
- package/dist/cjs/next-schema/nodes/panel.js +3 -3
- package/dist/cjs/next-schema/nodes/paragraph.js +4 -4
- package/dist/cjs/next-schema/nodes/placeholder.js +1 -1
- package/dist/cjs/next-schema/nodes/status.js +4 -1
- package/dist/cjs/next-schema/nodes/table.js +1 -1
- package/dist/cjs/next-schema/nodes/tableCell.js +1 -1
- package/dist/cjs/next-schema/nodes/tableHeader.js +1 -1
- package/dist/cjs/next-schema/nodes/tableRow.js +1 -1
- package/dist/cjs/next-schema/nodes/task.js +2 -2
- package/dist/cjs/next-schema/nodes/text.js +1 -1
- package/dist/cjs/schema/createPMSpecFactory.js +57 -0
- package/dist/cjs/schema/index.js +14 -1
- package/dist/cjs/schema/marks/alignment.js +3 -8
- package/dist/cjs/schema/marks/annotation.js +3 -13
- package/dist/cjs/schema/marks/background-color.js +3 -9
- package/dist/cjs/schema/marks/border.js +3 -7
- package/dist/cjs/schema/marks/breakout.js +3 -9
- package/dist/cjs/schema/marks/code.js +3 -5
- package/dist/cjs/schema/marks/confluence-inline-comment.js +3 -9
- package/dist/cjs/schema/marks/data-consumer.js +3 -7
- package/dist/cjs/schema/marks/em.js +3 -5
- package/dist/cjs/schema/marks/fragment.js +3 -12
- package/dist/cjs/schema/marks/indentation.js +3 -8
- package/dist/cjs/schema/marks/link.js +3 -13
- package/dist/cjs/schema/marks/strike.js +3 -5
- package/dist/cjs/schema/marks/strong.js +3 -5
- package/dist/cjs/schema/marks/subsup.js +3 -10
- package/dist/cjs/schema/marks/text-color.js +3 -8
- package/dist/cjs/schema/marks/type-ahead-query.js +3 -10
- package/dist/cjs/schema/marks/underline.js +3 -5
- package/dist/cjs/schema/marks/unsupported-mark.js +3 -6
- package/dist/cjs/schema/marks/unsupported-node-attributes.js +3 -6
- package/dist/cjs/schema/nodes/block-card.js +3 -23
- package/dist/cjs/schema/nodes/blockquote.js +17 -20
- package/dist/cjs/schema/nodes/bodied-extension.js +24 -54
- package/dist/cjs/schema/nodes/bullet-list.js +3 -6
- package/dist/cjs/schema/nodes/caption.js +3 -6
- package/dist/cjs/schema/nodes/code-block.js +31 -16
- package/dist/cjs/schema/nodes/confluence-jira-issue.js +3 -22
- package/dist/cjs/schema/nodes/confluence-unsupported-block.js +3 -8
- package/dist/cjs/schema/nodes/confluence-unsupported-inline.js +3 -10
- package/dist/cjs/schema/nodes/date.js +3 -10
- package/dist/cjs/schema/nodes/decision-item.js +3 -13
- package/dist/cjs/schema/nodes/decision-list.js +3 -12
- package/dist/cjs/schema/nodes/doc.js +2 -4
- package/dist/cjs/schema/nodes/embed-card.js +3 -22
- package/dist/cjs/schema/nodes/emoji.js +3 -16
- package/dist/cjs/schema/nodes/expand.js +3 -16
- package/dist/cjs/schema/nodes/extension.js +20 -47
- package/dist/cjs/schema/nodes/hard-break.js +3 -5
- package/dist/cjs/schema/nodes/heading.js +3 -14
- package/dist/cjs/schema/nodes/image.js +3 -16
- package/dist/cjs/schema/nodes/inline-card.js +3 -14
- package/dist/cjs/schema/nodes/inline-extension.js +19 -42
- package/dist/cjs/schema/nodes/layout-column.js +4 -12
- package/dist/cjs/schema/nodes/layout-section.js +23 -11
- package/dist/cjs/schema/nodes/list-item.js +5 -12
- package/dist/cjs/schema/nodes/media-group.js +3 -8
- package/dist/cjs/schema/nodes/media-inline.js +2 -1
- package/dist/cjs/schema/nodes/media-single.js +35 -14
- package/dist/cjs/schema/nodes/media.js +35 -83
- package/dist/cjs/schema/nodes/mention.js +3 -22
- package/dist/cjs/schema/nodes/multi-bodied-extension.js +26 -64
- package/dist/cjs/schema/nodes/nested-expand.js +31 -48
- package/dist/cjs/schema/nodes/ordered-list.js +4 -16
- package/dist/cjs/schema/nodes/panel.js +5 -34
- package/dist/cjs/schema/nodes/paragraph.js +3 -11
- package/dist/cjs/schema/nodes/placeholder.js +3 -11
- package/dist/cjs/schema/nodes/rule.js +3 -3
- package/dist/cjs/schema/nodes/status.js +3 -19
- package/dist/cjs/schema/nodes/tableNodes.js +9 -52
- package/dist/cjs/schema/nodes/task-item.js +3 -14
- package/dist/cjs/schema/nodes/task-list.js +3 -12
- package/dist/cjs/schema/nodes/text.js +3 -4
- package/dist/cjs/schema/nodes/unsupported-block.js +3 -11
- package/dist/cjs/schema/nodes/unsupported-inline.js +3 -10
- package/dist/es2019/index.js +5 -1
- package/dist/es2019/next-schema/generated/markTypes.js +1 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +123 -42
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/es2019/next-schema/index.js +3 -2
- package/dist/es2019/next-schema/nodes/blockCard.js +1 -1
- package/dist/es2019/next-schema/nodes/blockquote.js +2 -2
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/es2019/next-schema/nodes/caption.js +1 -1
- package/dist/es2019/next-schema/nodes/codeBlock.js +2 -2
- package/dist/es2019/next-schema/nodes/date.js +4 -1
- package/dist/es2019/next-schema/nodes/decisionItem.js +1 -1
- package/dist/es2019/next-schema/nodes/decisionList.js +1 -1
- package/dist/es2019/next-schema/nodes/embedCard.js +1 -1
- package/dist/es2019/next-schema/nodes/emoji.js +4 -1
- package/dist/es2019/next-schema/nodes/expand.js +2 -2
- package/dist/es2019/next-schema/nodes/extension.js +2 -2
- package/dist/es2019/next-schema/nodes/extensionFrame.js +3 -2
- package/dist/es2019/next-schema/nodes/hardBreak.js +1 -1
- package/dist/es2019/next-schema/nodes/heading.js +3 -3
- package/dist/es2019/next-schema/nodes/inlineCard.js +5 -2
- package/dist/es2019/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/es2019/next-schema/nodes/layoutColumn.js +1 -1
- package/dist/es2019/next-schema/nodes/layoutSection.js +3 -2
- package/dist/es2019/next-schema/nodes/list.js +5 -5
- package/dist/es2019/next-schema/nodes/media.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaGroup.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaInline.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaSingle.js +5 -5
- package/dist/es2019/next-schema/nodes/mention.js +4 -1
- package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +1 -3
- package/dist/es2019/next-schema/nodes/nestedExpand.js +2 -2
- package/dist/es2019/next-schema/nodes/panel.js +3 -3
- package/dist/es2019/next-schema/nodes/paragraph.js +4 -4
- package/dist/es2019/next-schema/nodes/placeholder.js +1 -1
- package/dist/es2019/next-schema/nodes/status.js +4 -1
- package/dist/es2019/next-schema/nodes/table.js +1 -1
- package/dist/es2019/next-schema/nodes/tableCell.js +1 -1
- package/dist/es2019/next-schema/nodes/tableHeader.js +1 -1
- package/dist/es2019/next-schema/nodes/tableRow.js +1 -1
- package/dist/es2019/next-schema/nodes/task.js +2 -2
- package/dist/es2019/next-schema/nodes/text.js +1 -1
- package/dist/es2019/schema/createPMSpecFactory.js +55 -0
- package/dist/es2019/schema/index.js +5 -1
- package/dist/es2019/schema/marks/alignment.js +3 -8
- package/dist/es2019/schema/marks/annotation.js +4 -13
- package/dist/es2019/schema/marks/background-color.js +3 -9
- package/dist/es2019/schema/marks/border.js +3 -7
- package/dist/es2019/schema/marks/breakout.js +3 -9
- package/dist/es2019/schema/marks/code.js +3 -5
- package/dist/es2019/schema/marks/confluence-inline-comment.js +4 -9
- package/dist/es2019/schema/marks/data-consumer.js +3 -7
- package/dist/es2019/schema/marks/em.js +3 -5
- package/dist/es2019/schema/marks/fragment.js +3 -12
- package/dist/es2019/schema/marks/indentation.js +3 -8
- package/dist/es2019/schema/marks/link.js +3 -13
- package/dist/es2019/schema/marks/strike.js +3 -5
- package/dist/es2019/schema/marks/strong.js +3 -5
- package/dist/es2019/schema/marks/subsup.js +3 -10
- package/dist/es2019/schema/marks/text-color.js +3 -8
- package/dist/es2019/schema/marks/type-ahead-query.js +3 -10
- package/dist/es2019/schema/marks/underline.js +3 -5
- package/dist/es2019/schema/marks/unsupported-mark.js +3 -6
- package/dist/es2019/schema/marks/unsupported-node-attributes.js +3 -6
- package/dist/es2019/schema/nodes/block-card.js +4 -23
- package/dist/es2019/schema/nodes/blockquote.js +19 -20
- package/dist/es2019/schema/nodes/bodied-extension.js +23 -53
- package/dist/es2019/schema/nodes/bullet-list.js +3 -6
- package/dist/es2019/schema/nodes/caption.js +4 -6
- package/dist/es2019/schema/nodes/code-block.js +31 -16
- package/dist/es2019/schema/nodes/confluence-jira-issue.js +3 -22
- package/dist/es2019/schema/nodes/confluence-unsupported-block.js +3 -8
- package/dist/es2019/schema/nodes/confluence-unsupported-inline.js +3 -10
- package/dist/es2019/schema/nodes/date.js +4 -10
- package/dist/es2019/schema/nodes/decision-item.js +3 -13
- package/dist/es2019/schema/nodes/decision-list.js +3 -12
- package/dist/es2019/schema/nodes/doc.js +3 -4
- package/dist/es2019/schema/nodes/embed-card.js +4 -22
- package/dist/es2019/schema/nodes/emoji.js +3 -16
- package/dist/es2019/schema/nodes/expand.js +4 -16
- package/dist/es2019/schema/nodes/extension.js +19 -46
- package/dist/es2019/schema/nodes/hard-break.js +4 -5
- package/dist/es2019/schema/nodes/heading.js +4 -14
- package/dist/es2019/schema/nodes/image.js +3 -16
- package/dist/es2019/schema/nodes/inline-card.js +4 -14
- package/dist/es2019/schema/nodes/inline-extension.js +18 -41
- package/dist/es2019/schema/nodes/layout-column.js +5 -12
- package/dist/es2019/schema/nodes/layout-section.js +24 -10
- package/dist/es2019/schema/nodes/list-item.js +6 -12
- package/dist/es2019/schema/nodes/media-group.js +4 -8
- package/dist/es2019/schema/nodes/media-inline.js +3 -2
- package/dist/es2019/schema/nodes/media-single.js +35 -15
- package/dist/es2019/schema/nodes/media.js +35 -78
- package/dist/es2019/schema/nodes/mention.js +3 -22
- package/dist/es2019/schema/nodes/multi-bodied-extension.js +26 -63
- package/dist/es2019/schema/nodes/nested-expand.js +32 -48
- package/dist/es2019/schema/nodes/ordered-list.js +5 -14
- package/dist/es2019/schema/nodes/panel.js +5 -34
- package/dist/es2019/schema/nodes/paragraph.js +4 -11
- package/dist/es2019/schema/nodes/placeholder.js +4 -11
- package/dist/es2019/schema/nodes/rule.js +4 -3
- package/dist/es2019/schema/nodes/status.js +3 -19
- package/dist/es2019/schema/nodes/tableNodes.js +40 -82
- package/dist/es2019/schema/nodes/task-item.js +3 -14
- package/dist/es2019/schema/nodes/task-list.js +3 -12
- package/dist/es2019/schema/nodes/text.js +4 -4
- package/dist/es2019/schema/nodes/unsupported-block.js +3 -11
- package/dist/es2019/schema/nodes/unsupported-inline.js +3 -10
- package/dist/esm/index.js +5 -1
- package/dist/esm/next-schema/generated/markTypes.js +1 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +123 -42
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +1 -1
- package/dist/esm/next-schema/index.js +3 -2
- package/dist/esm/next-schema/nodes/blockCard.js +1 -1
- package/dist/esm/next-schema/nodes/blockquote.js +2 -2
- package/dist/esm/next-schema/nodes/bodiedExtension.js +2 -2
- package/dist/esm/next-schema/nodes/caption.js +1 -1
- package/dist/esm/next-schema/nodes/codeBlock.js +2 -2
- package/dist/esm/next-schema/nodes/date.js +4 -1
- package/dist/esm/next-schema/nodes/decisionItem.js +1 -1
- package/dist/esm/next-schema/nodes/decisionList.js +1 -1
- package/dist/esm/next-schema/nodes/embedCard.js +1 -1
- package/dist/esm/next-schema/nodes/emoji.js +4 -1
- package/dist/esm/next-schema/nodes/expand.js +2 -2
- package/dist/esm/next-schema/nodes/extension.js +2 -2
- package/dist/esm/next-schema/nodes/extensionFrame.js +3 -2
- package/dist/esm/next-schema/nodes/hardBreak.js +1 -1
- package/dist/esm/next-schema/nodes/heading.js +3 -3
- package/dist/esm/next-schema/nodes/inlineCard.js +5 -2
- package/dist/esm/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/esm/next-schema/nodes/layoutColumn.js +1 -1
- package/dist/esm/next-schema/nodes/layoutSection.js +3 -2
- package/dist/esm/next-schema/nodes/list.js +5 -5
- package/dist/esm/next-schema/nodes/media.js +1 -1
- package/dist/esm/next-schema/nodes/mediaGroup.js +1 -1
- package/dist/esm/next-schema/nodes/mediaInline.js +1 -1
- package/dist/esm/next-schema/nodes/mediaSingle.js +5 -5
- package/dist/esm/next-schema/nodes/mention.js +4 -1
- package/dist/esm/next-schema/nodes/multiBodiedExtension.js +1 -3
- package/dist/esm/next-schema/nodes/nestedExpand.js +2 -2
- package/dist/esm/next-schema/nodes/panel.js +3 -3
- package/dist/esm/next-schema/nodes/paragraph.js +4 -4
- package/dist/esm/next-schema/nodes/placeholder.js +1 -1
- package/dist/esm/next-schema/nodes/status.js +4 -1
- package/dist/esm/next-schema/nodes/table.js +1 -1
- package/dist/esm/next-schema/nodes/tableCell.js +1 -1
- package/dist/esm/next-schema/nodes/tableHeader.js +1 -1
- package/dist/esm/next-schema/nodes/tableRow.js +1 -1
- package/dist/esm/next-schema/nodes/task.js +2 -2
- package/dist/esm/next-schema/nodes/text.js +1 -1
- package/dist/esm/schema/createPMSpecFactory.js +50 -0
- package/dist/esm/schema/index.js +5 -1
- package/dist/esm/schema/marks/alignment.js +3 -8
- package/dist/esm/schema/marks/annotation.js +4 -13
- package/dist/esm/schema/marks/background-color.js +3 -9
- package/dist/esm/schema/marks/border.js +3 -7
- package/dist/esm/schema/marks/breakout.js +3 -9
- package/dist/esm/schema/marks/code.js +3 -5
- package/dist/esm/schema/marks/confluence-inline-comment.js +4 -9
- package/dist/esm/schema/marks/data-consumer.js +3 -7
- package/dist/esm/schema/marks/em.js +3 -5
- package/dist/esm/schema/marks/fragment.js +3 -12
- package/dist/esm/schema/marks/indentation.js +3 -8
- package/dist/esm/schema/marks/link.js +3 -13
- package/dist/esm/schema/marks/strike.js +3 -5
- package/dist/esm/schema/marks/strong.js +3 -5
- package/dist/esm/schema/marks/subsup.js +3 -10
- package/dist/esm/schema/marks/text-color.js +3 -8
- package/dist/esm/schema/marks/type-ahead-query.js +3 -10
- package/dist/esm/schema/marks/underline.js +3 -5
- package/dist/esm/schema/marks/unsupported-mark.js +3 -6
- package/dist/esm/schema/marks/unsupported-node-attributes.js +3 -6
- package/dist/esm/schema/nodes/block-card.js +4 -23
- package/dist/esm/schema/nodes/blockquote.js +19 -20
- package/dist/esm/schema/nodes/bodied-extension.js +24 -54
- package/dist/esm/schema/nodes/bullet-list.js +3 -6
- package/dist/esm/schema/nodes/caption.js +4 -6
- package/dist/esm/schema/nodes/code-block.js +31 -16
- package/dist/esm/schema/nodes/confluence-jira-issue.js +3 -22
- package/dist/esm/schema/nodes/confluence-unsupported-block.js +3 -8
- package/dist/esm/schema/nodes/confluence-unsupported-inline.js +3 -10
- package/dist/esm/schema/nodes/date.js +4 -10
- package/dist/esm/schema/nodes/decision-item.js +3 -13
- package/dist/esm/schema/nodes/decision-list.js +3 -12
- package/dist/esm/schema/nodes/doc.js +3 -4
- package/dist/esm/schema/nodes/embed-card.js +4 -22
- package/dist/esm/schema/nodes/emoji.js +3 -16
- package/dist/esm/schema/nodes/expand.js +4 -16
- package/dist/esm/schema/nodes/extension.js +20 -47
- package/dist/esm/schema/nodes/hard-break.js +4 -5
- package/dist/esm/schema/nodes/heading.js +4 -14
- package/dist/esm/schema/nodes/image.js +3 -16
- package/dist/esm/schema/nodes/inline-card.js +4 -14
- package/dist/esm/schema/nodes/inline-extension.js +19 -42
- package/dist/esm/schema/nodes/layout-column.js +5 -12
- package/dist/esm/schema/nodes/layout-section.js +24 -10
- package/dist/esm/schema/nodes/list-item.js +6 -12
- package/dist/esm/schema/nodes/media-group.js +4 -8
- package/dist/esm/schema/nodes/media-inline.js +3 -2
- package/dist/esm/schema/nodes/media-single.js +35 -14
- package/dist/esm/schema/nodes/media.js +36 -82
- package/dist/esm/schema/nodes/mention.js +3 -22
- package/dist/esm/schema/nodes/multi-bodied-extension.js +27 -64
- package/dist/esm/schema/nodes/nested-expand.js +32 -48
- package/dist/esm/schema/nodes/ordered-list.js +4 -15
- package/dist/esm/schema/nodes/panel.js +5 -34
- package/dist/esm/schema/nodes/paragraph.js +4 -11
- package/dist/esm/schema/nodes/placeholder.js +4 -11
- package/dist/esm/schema/nodes/rule.js +4 -3
- package/dist/esm/schema/nodes/status.js +3 -19
- package/dist/esm/schema/nodes/tableNodes.js +12 -52
- package/dist/esm/schema/nodes/task-item.js +3 -14
- package/dist/esm/schema/nodes/task-list.js +3 -12
- package/dist/esm/schema/nodes/text.js +4 -4
- package/dist/esm/schema/nodes/unsupported-block.js +3 -11
- package/dist/esm/schema/nodes/unsupported-inline.js +3 -10
- package/dist/types/index.d.ts +2 -0
- package/dist/types/next-schema/full-schema.adf.d.ts +1 -30
- package/dist/types/next-schema/generated/markTypes.d.ts +20 -20
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +4 -4
- package/dist/types/next-schema/generated/nodeTypes.d.ts +143 -85
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +3 -119
- package/dist/types/next-schema/index.d.ts +3 -5
- package/dist/types/next-schema/nodes/blockCard.d.ts +1 -30
- package/dist/types/next-schema/nodes/blockquote.d.ts +1 -30
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +1 -30
- package/dist/types/next-schema/nodes/caption.d.ts +1 -30
- package/dist/types/next-schema/nodes/codeBlock.d.ts +2 -60
- package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +1 -30
- package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +1 -30
- package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +1 -30
- package/dist/types/next-schema/nodes/date.d.ts +1 -30
- package/dist/types/next-schema/nodes/decisionItem.d.ts +1 -30
- package/dist/types/next-schema/nodes/decisionList.d.ts +1 -30
- package/dist/types/next-schema/nodes/embedCard.d.ts +1 -30
- package/dist/types/next-schema/nodes/emoji.d.ts +1 -30
- package/dist/types/next-schema/nodes/expand.d.ts +1 -30
- package/dist/types/next-schema/nodes/extension.d.ts +1 -30
- package/dist/types/next-schema/nodes/extensionFrame.d.ts +1 -30
- package/dist/types/next-schema/nodes/hardBreak.d.ts +1 -30
- package/dist/types/next-schema/nodes/heading.d.ts +2 -60
- package/dist/types/next-schema/nodes/image.d.ts +1 -30
- package/dist/types/next-schema/nodes/inlineCard.d.ts +1 -30
- package/dist/types/next-schema/nodes/inlineExtension.d.ts +1 -30
- package/dist/types/next-schema/nodes/layoutColumn.d.ts +1 -30
- package/dist/types/next-schema/nodes/layoutSection.d.ts +2 -30
- package/dist/types/next-schema/nodes/list.d.ts +2 -60
- package/dist/types/next-schema/nodes/media.d.ts +1 -30
- package/dist/types/next-schema/nodes/mediaGroup.d.ts +1 -30
- package/dist/types/next-schema/nodes/mediaInline.d.ts +1 -30
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +1 -30
- package/dist/types/next-schema/nodes/mention.d.ts +1 -30
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +1 -30
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +1 -30
- package/dist/types/next-schema/nodes/panel.d.ts +1 -30
- package/dist/types/next-schema/nodes/paragraph.d.ts +1 -30
- package/dist/types/next-schema/nodes/placeholder.d.ts +1 -30
- package/dist/types/next-schema/nodes/rule.d.ts +1 -30
- package/dist/types/next-schema/nodes/status.d.ts +1 -30
- package/dist/types/next-schema/nodes/table.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableCell.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableCellContent.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableHeader.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableRow.d.ts +1 -30
- package/dist/types/next-schema/nodes/task.d.ts +2 -60
- package/dist/types/next-schema/nodes/text.d.ts +1 -30
- package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +1 -30
- package/dist/types/next-schema/nodes/unsupportedInline.d.ts +1 -30
- package/dist/types/schema/createPMSpecFactory.d.ts +33 -0
- package/dist/types/schema/index.d.ts +2 -0
- package/dist/types/schema/nodes/block-card.d.ts +1 -2
- package/dist/types/schema/nodes/blockquote.d.ts +2 -3
- package/dist/types/schema/nodes/bodied-extension.d.ts +1 -2
- package/dist/types/schema/nodes/bullet-list.d.ts +1 -2
- package/dist/types/schema/nodes/caption.d.ts +1 -2
- package/dist/types/schema/nodes/code-block.d.ts +2 -2
- package/dist/types/schema/nodes/confluence-jira-issue.d.ts +1 -2
- package/dist/types/schema/nodes/confluence-unsupported-block.d.ts +1 -2
- package/dist/types/schema/nodes/confluence-unsupported-inline.d.ts +1 -2
- package/dist/types/schema/nodes/date.d.ts +1 -2
- package/dist/types/schema/nodes/decision-item.d.ts +1 -2
- package/dist/types/schema/nodes/decision-list.d.ts +1 -2
- package/dist/types/schema/nodes/doc.d.ts +1 -2
- package/dist/types/schema/nodes/embed-card.d.ts +1 -2
- package/dist/types/schema/nodes/emoji.d.ts +1 -2
- package/dist/types/schema/nodes/expand.d.ts +2 -2
- package/dist/types/schema/nodes/extension.d.ts +1 -2
- package/dist/types/schema/nodes/hard-break.d.ts +1 -2
- package/dist/types/schema/nodes/heading.d.ts +1 -2
- package/dist/types/schema/nodes/image.d.ts +1 -2
- package/dist/types/schema/nodes/inline-card.d.ts +1 -2
- package/dist/types/schema/nodes/inline-extension.d.ts +1 -2
- package/dist/types/schema/nodes/layout-column.d.ts +1 -2
- package/dist/types/schema/nodes/layout-section.d.ts +3 -3
- package/dist/types/schema/nodes/list-item.d.ts +2 -3
- package/dist/types/schema/nodes/media-group.d.ts +1 -2
- package/dist/types/schema/nodes/media.d.ts +3 -1
- package/dist/types/schema/nodes/mention.d.ts +2 -2
- package/dist/types/schema/nodes/multi-bodied-extension.d.ts +2 -3
- package/dist/types/schema/nodes/nested-expand.d.ts +1 -2
- package/dist/types/schema/nodes/ordered-list.d.ts +2 -3
- package/dist/types/schema/nodes/panel.d.ts +2 -3
- package/dist/types/schema/nodes/paragraph.d.ts +1 -2
- package/dist/types/schema/nodes/placeholder.d.ts +1 -2
- package/dist/types/schema/nodes/rule.d.ts +1 -2
- package/dist/types/schema/nodes/status.d.ts +1 -2
- package/dist/types/schema/nodes/tableNodes.d.ts +7 -7
- package/dist/types/schema/nodes/task-item.d.ts +1 -2
- package/dist/types/schema/nodes/task-list.d.ts +1 -2
- package/dist/types/schema/nodes/text.d.ts +1 -4
- package/dist/types/schema/nodes/unsupported-block.d.ts +1 -2
- package/dist/types/schema/nodes/unsupported-inline.d.ts +1 -2
- package/package.json +7 -4
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +7 -7
- package/schema-generators/__tests__/unit/validate-pm-schema.unit.ts +6 -4
- package/schema-generators/json-full-schema.ts +5 -4
- package/schema-generators/pm-full-schema.ts +3 -3
- 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 = [
|
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 = [
|
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
|
-
|
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: [
|
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: [
|
17
|
-
content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _list.
|
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: [
|
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,
|
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: [
|
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: [
|
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,
|
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
|
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: [
|
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: [
|
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: [
|
12
|
+
marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
|
13
13
|
attrs: {
|
14
14
|
url: {
|
15
15
|
type: 'string',
|