@atlaskit/adf-schema 52.16.6 → 53.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 +11 -0
- package/dist/cjs/entry-points/code-block.js +0 -6
- package/dist/cjs/entry-points/schema-code-block.js +0 -6
- package/dist/cjs/entry-points/schema-next-nodeTypes.js +0 -12
- package/dist/cjs/index.js +0 -6
- package/dist/cjs/next-schema/full-schema.adf.js +1 -1
- package/dist/cjs/next-schema/generated/nodeTypes.js +2 -37
- package/dist/cjs/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/cjs/next-schema/groups/blockGroup.js +1 -1
- 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/nodes/codeBlock.js +5 -60
- package/dist/cjs/schema/default-schema.js +1 -2
- package/dist/cjs/schema/index.js +0 -6
- package/dist/cjs/schema/nodes/code-block.js +23 -109
- package/dist/cjs/schema/nodes/index.js +0 -6
- package/dist/cjs/validator-schema/generated/validatorSpec.js +15 -70
- package/dist/es2019/entry-points/code-block.js +1 -1
- package/dist/es2019/entry-points/schema-code-block.js +1 -1
- package/dist/es2019/entry-points/schema-next-nodeTypes.js +1 -1
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/next-schema/full-schema.adf.js +1 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +1 -36
- package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
- 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/nodes/codeBlock.js +5 -60
- package/dist/es2019/schema/default-schema.js +2 -3
- package/dist/es2019/schema/index.js +1 -1
- package/dist/es2019/schema/nodes/code-block.js +34 -116
- package/dist/es2019/schema/nodes/index.js +1 -1
- package/dist/es2019/validator-schema/generated/validatorSpec.js +14 -69
- package/dist/esm/entry-points/code-block.js +1 -1
- package/dist/esm/entry-points/schema-code-block.js +1 -1
- package/dist/esm/entry-points/schema-next-nodeTypes.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/next-schema/full-schema.adf.js +1 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +1 -36
- package/dist/esm/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/blockGroup.js +1 -1
- 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/nodes/codeBlock.js +5 -60
- package/dist/esm/schema/default-schema.js +2 -3
- package/dist/esm/schema/index.js +1 -1
- package/dist/esm/schema/nodes/code-block.js +23 -108
- package/dist/esm/schema/nodes/index.js +1 -1
- package/dist/esm/validator-schema/generated/validatorSpec.js +14 -69
- package/dist/json-schema/v1/full.json +12 -0
- package/dist/json-schema/v1/stage-0.json +4 -91
- package/dist/types/entry-points/code-block.d.ts +1 -1
- package/dist/types/entry-points/schema-code-block.d.ts +1 -1
- package/dist/types/entry-points/schema-next-nodeTypes.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types/next-schema/generated/nodeTypes.d.ts +16 -39
- package/dist/types/next-schema/nodes/codeBlock.d.ts +1 -3
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/nodes/code-block.d.ts +0 -8
- package/dist/types/schema/nodes/index.d.ts +1 -1
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +8 -63
- package/dist/types-ts4.5/entry-points/code-block.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/schema-code-block.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/schema-next-nodeTypes.d.ts +2 -2
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types-ts4.5/next-schema/generated/nodeTypes.d.ts +16 -39
- package/dist/types-ts4.5/next-schema/nodes/codeBlock.d.ts +1 -3
- package/dist/types-ts4.5/schema/index.d.ts +1 -1
- package/dist/types-ts4.5/schema/nodes/code-block.d.ts +0 -8
- package/dist/types-ts4.5/schema/nodes/index.d.ts +1 -1
- package/dist/types-ts4.5/validator-schema/generated/validatorSpec.d.ts +8 -63
- package/json-schema/v1/full.json +12 -0
- package/json-schema/v1/stage-0.json +4 -91
- package/package.json +1 -1
|
@@ -90,9 +90,6 @@
|
|
|
90
90
|
{
|
|
91
91
|
"$ref": "#/definitions/codeBlock_node"
|
|
92
92
|
},
|
|
93
|
-
{
|
|
94
|
-
"$ref": "#/definitions/codeBlock_with_extended_attributes_node"
|
|
95
|
-
},
|
|
96
93
|
{
|
|
97
94
|
"$ref": "#/definitions/taskList_node"
|
|
98
95
|
},
|
|
@@ -707,80 +704,6 @@
|
|
|
707
704
|
"type": "array",
|
|
708
705
|
"maxItems": 0
|
|
709
706
|
},
|
|
710
|
-
"attrs": {
|
|
711
|
-
"type": "object",
|
|
712
|
-
"properties": {
|
|
713
|
-
"language": {
|
|
714
|
-
"type": "string"
|
|
715
|
-
},
|
|
716
|
-
"uniqueId": {
|
|
717
|
-
"type": "string"
|
|
718
|
-
},
|
|
719
|
-
"localId": {
|
|
720
|
-
"type": "string"
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
"additionalProperties": false
|
|
724
|
-
},
|
|
725
|
-
"content": {
|
|
726
|
-
"type": "array",
|
|
727
|
-
"items": {
|
|
728
|
-
"$ref": "#/definitions/text_with_no_marks_node"
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
},
|
|
732
|
-
"additionalProperties": false,
|
|
733
|
-
"required": ["type"]
|
|
734
|
-
},
|
|
735
|
-
"codeBlock_root_only_node": {
|
|
736
|
-
"type": "object",
|
|
737
|
-
"properties": {
|
|
738
|
-
"type": {
|
|
739
|
-
"enum": ["codeBlock"]
|
|
740
|
-
},
|
|
741
|
-
"marks": {
|
|
742
|
-
"type": "array",
|
|
743
|
-
"items": {
|
|
744
|
-
"$ref": "#/definitions/breakout_mark"
|
|
745
|
-
}
|
|
746
|
-
},
|
|
747
|
-
"attrs": {
|
|
748
|
-
"type": "object",
|
|
749
|
-
"properties": {
|
|
750
|
-
"language": {
|
|
751
|
-
"type": "string"
|
|
752
|
-
},
|
|
753
|
-
"uniqueId": {
|
|
754
|
-
"type": "string"
|
|
755
|
-
},
|
|
756
|
-
"localId": {
|
|
757
|
-
"type": "string"
|
|
758
|
-
}
|
|
759
|
-
},
|
|
760
|
-
"additionalProperties": false
|
|
761
|
-
},
|
|
762
|
-
"content": {
|
|
763
|
-
"type": "array",
|
|
764
|
-
"items": {
|
|
765
|
-
"$ref": "#/definitions/text_with_no_marks_node"
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
},
|
|
769
|
-
"additionalProperties": false,
|
|
770
|
-
"required": ["type"]
|
|
771
|
-
},
|
|
772
|
-
"codeBlock_root_only_with_extended_attributes_node": {
|
|
773
|
-
"type": "object",
|
|
774
|
-
"properties": {
|
|
775
|
-
"type": {
|
|
776
|
-
"enum": ["codeBlock"]
|
|
777
|
-
},
|
|
778
|
-
"marks": {
|
|
779
|
-
"type": "array",
|
|
780
|
-
"items": {
|
|
781
|
-
"$ref": "#/definitions/breakout_mark"
|
|
782
|
-
}
|
|
783
|
-
},
|
|
784
707
|
"attrs": {
|
|
785
708
|
"type": "object",
|
|
786
709
|
"properties": {
|
|
@@ -812,7 +735,7 @@
|
|
|
812
735
|
"additionalProperties": false,
|
|
813
736
|
"required": ["type"]
|
|
814
737
|
},
|
|
815
|
-
"
|
|
738
|
+
"codeBlock_root_only_node": {
|
|
816
739
|
"type": "object",
|
|
817
740
|
"properties": {
|
|
818
741
|
"type": {
|
|
@@ -820,7 +743,9 @@
|
|
|
820
743
|
},
|
|
821
744
|
"marks": {
|
|
822
745
|
"type": "array",
|
|
823
|
-
"
|
|
746
|
+
"items": {
|
|
747
|
+
"$ref": "#/definitions/breakout_mark"
|
|
748
|
+
}
|
|
824
749
|
},
|
|
825
750
|
"attrs": {
|
|
826
751
|
"type": "object",
|
|
@@ -979,9 +904,6 @@
|
|
|
979
904
|
{
|
|
980
905
|
"$ref": "#/definitions/codeBlock_node"
|
|
981
906
|
},
|
|
982
|
-
{
|
|
983
|
-
"$ref": "#/definitions/codeBlock_with_extended_attributes_node"
|
|
984
|
-
},
|
|
985
907
|
{
|
|
986
908
|
"$ref": "#/definitions/mediaSingle_caption_node"
|
|
987
909
|
},
|
|
@@ -1048,9 +970,6 @@
|
|
|
1048
970
|
{
|
|
1049
971
|
"$ref": "#/definitions/codeBlock_root_only_node"
|
|
1050
972
|
},
|
|
1051
|
-
{
|
|
1052
|
-
"$ref": "#/definitions/codeBlock_root_only_with_extended_attributes_node"
|
|
1053
|
-
},
|
|
1054
973
|
{
|
|
1055
974
|
"$ref": "#/definitions/layoutSection_with_single_column_node"
|
|
1056
975
|
},
|
|
@@ -2492,9 +2411,6 @@
|
|
|
2492
2411
|
{
|
|
2493
2412
|
"$ref": "#/definitions/codeBlock_node"
|
|
2494
2413
|
},
|
|
2495
|
-
{
|
|
2496
|
-
"$ref": "#/definitions/codeBlock_with_extended_attributes_node"
|
|
2497
|
-
},
|
|
2498
2414
|
{
|
|
2499
2415
|
"$ref": "#/definitions/mediaGroup_node"
|
|
2500
2416
|
},
|
|
@@ -2947,9 +2863,6 @@
|
|
|
2947
2863
|
{
|
|
2948
2864
|
"$ref": "#/definitions/codeBlock_node"
|
|
2949
2865
|
},
|
|
2950
|
-
{
|
|
2951
|
-
"$ref": "#/definitions/codeBlock_with_extended_attributes_node"
|
|
2952
|
-
},
|
|
2953
2866
|
{
|
|
2954
2867
|
"$ref": "#/definitions/mediaSingle_caption_node"
|
|
2955
2868
|
},
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { codeBlock, codeBlockWithLocalId,
|
|
1
|
+
export { codeBlock, codeBlockWithLocalId, toJSON as codeBlockToJSON, } from '../schema/nodes/code-block';
|
|
2
2
|
export type { CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, } from '../schema/nodes/code-block';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { codeBlock, codeBlockWithLocalId,
|
|
1
|
+
export { codeBlock, codeBlockWithLocalId, toJSON as codeBlockToJSON, } from '../schema/nodes/code-block';
|
|
2
2
|
export type { CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, } from '../schema/nodes/code-block';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { blockCard, blockquote, blockquoteLegacy, blockTaskItem, bodiedExtension, bodiedExtensionWithMarks, bodiedSyncBlock, bulletList, caption, codeBlock, codeBlockRootOnly,
|
|
2
|
-
export type { BlockCardNodeAttributes0, BlockCardNodeAttributes1, BlockCardNodeAttributes2, BlockCardDefinition, BlockCardNode, BlockquoteDefinition, BlockquoteNode, BlockquoteLegacyDefinition, BlockquoteLegacyNode, BlockTaskItemDefinition, BlockTaskItemNode, BodiedExtensionDefinition, BodiedExtensionNode, BodiedExtensionWithMarksDefinition, BodiedExtensionWithMarksNode, BodiedSyncBlockDefinition, BodiedSyncBlockNode, BulletListDefinition, BulletListNode, CaptionDefinition, CaptionNode, CodeBlockDefinition, CodeBlockNode, CodeBlockRootOnlyDefinition, CodeBlockRootOnlyNode,
|
|
1
|
+
export { blockCard, blockquote, blockquoteLegacy, blockTaskItem, bodiedExtension, bodiedExtensionWithMarks, bodiedSyncBlock, bulletList, caption, codeBlock, codeBlockRootOnly, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, date, dateStage0, decisionItem, decisionList, doc, embedCard, emoji, emojiStage0, expand, expandRootOnly, extension, extensionWithMarks, extensionFrameStage0, hardBreak, heading, headingWithAlignment, headingWithIndentation, headingWithNoMarks, image, inlineCard, inlineCardStage0, inlineExtension, inlineExtensionWithMarks, layoutColumn, layoutColumnStage0, layoutSection, layoutSectionFull, layoutSectionWithSingleColumnStage0, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingleCaption, mediaSingleFull, mediaSingleWidthType, mention, mentionStage0, multiBodiedExtensionStage0, nestedExpand, nestedExpandWithNoMarks, orderedList, panel, paragraph, paragraphWithAlignment, paragraphWithFontSize, paragraphWithIndentation, paragraphWithNoMarks, placeholder, rule, status, statusStage0, syncBlock, table, tableWithNestedTable, tableCell, tableCellStage0, tableCellWithNestedTable, tableCellWithNestedTableStage0, tableHeader, tableHeaderStage0, tableHeaderWithNestedTable, tableHeaderWithNestedTableStage0, tableRow, tableRowWithNestedTable, taskItem, taskList, text, textCodeInline, textFormatted, textWithNoMarks, unsupportedBlock, unsupportedInline, } from '../next-schema/generated/nodeTypes';
|
|
2
|
+
export type { BlockCardNodeAttributes0, BlockCardNodeAttributes1, BlockCardNodeAttributes2, BlockCardDefinition, BlockCardNode, BlockquoteDefinition, BlockquoteNode, BlockquoteLegacyDefinition, BlockquoteLegacyNode, BlockTaskItemDefinition, BlockTaskItemNode, BodiedExtensionDefinition, BodiedExtensionNode, BodiedExtensionWithMarksDefinition, BodiedExtensionWithMarksNode, BodiedSyncBlockDefinition, BodiedSyncBlockNode, BulletListDefinition, BulletListNode, CaptionDefinition, CaptionNode, CodeBlockDefinition, CodeBlockNode, CodeBlockRootOnlyDefinition, CodeBlockRootOnlyNode, ConfluenceJiraIssueDefinition, ConfluenceJiraIssueNode, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedBlockNode, ConfluenceUnsupportedInlineDefinition, ConfluenceUnsupportedInlineNode, DateDefinition, DateNode, DateStage0Definition, DateStage0Node, DecisionItemDefinition, DecisionItemNode, DecisionListDefinition, DecisionListNode, DocDefinition, DocNode, EmbedCardDefinition, EmbedCardNode, EmojiDefinition, EmojiNode, EmojiStage0Definition, EmojiStage0Node, ExpandDefinition, ExpandNode, ExpandRootOnlyDefinition, ExpandRootOnlyNode, ExtensionDefinition, ExtensionNode, ExtensionWithMarksDefinition, ExtensionWithMarksNode, ExtensionFrameStage0Definition, ExtensionFrameStage0Node, HardBreakDefinition, HardBreakNode, HeadingDefinition, HeadingNode, HeadingWithAlignmentDefinition, HeadingWithAlignmentNode, HeadingWithIndentationDefinition, HeadingWithIndentationNode, HeadingWithNoMarksDefinition, HeadingWithNoMarksNode, ImageDefinition, ImageNode, InlineCardNodeAttributes0, InlineCardNodeAttributes1, InlineCardDefinition, InlineCardNode, InlineCardStage0NodeAttributes0, InlineCardStage0NodeAttributes1, InlineCardStage0Definition, InlineCardStage0Node, InlineExtensionDefinition, InlineExtensionNode, InlineExtensionWithMarksDefinition, InlineExtensionWithMarksNode, LayoutColumnDefinition, LayoutColumnNode, LayoutColumnStage0Definition, LayoutColumnStage0Node, LayoutSectionDefinition, LayoutSectionNode, LayoutSectionFullDefinition, LayoutSectionFullNode, LayoutSectionWithSingleColumnStage0Definition, LayoutSectionWithSingleColumnStage0Node, ListItemDefinition, ListItemNode, MediaNodeAttributes0, MediaNodeAttributes1, MediaDefinition, MediaNode, MediaGroupDefinition, MediaGroupNode, MediaInlineDefinition, MediaInlineNode, MediaSingleNodeAttributes0, MediaSingleNodeAttributes1, MediaSingleDefinition, MediaSingleNode, MediaSingleCaptionNodeAttributes0, MediaSingleCaptionNodeAttributes1, MediaSingleCaptionDefinition, MediaSingleCaptionNode, MediaSingleFullNodeAttributes0, MediaSingleFullNodeAttributes1, MediaSingleFullDefinition, MediaSingleFullNode, MediaSingleWidthTypeNodeAttributes0, MediaSingleWidthTypeNodeAttributes1, MediaSingleWidthTypeDefinition, MediaSingleWidthTypeNode, MentionDefinition, MentionNode, MentionStage0Definition, MentionStage0Node, MultiBodiedExtensionStage0Definition, MultiBodiedExtensionStage0Node, NestedExpandDefinition, NestedExpandNode, NestedExpandWithNoMarksDefinition, NestedExpandWithNoMarksNode, OrderedListDefinition, OrderedListNode, PanelDefinition, PanelNode, ParagraphDefinition, ParagraphNode, ParagraphWithAlignmentDefinition, ParagraphWithAlignmentNode, ParagraphWithFontSizeDefinition, ParagraphWithFontSizeNode, ParagraphWithIndentationDefinition, ParagraphWithIndentationNode, ParagraphWithNoMarksDefinition, ParagraphWithNoMarksNode, PlaceholderDefinition, PlaceholderNode, RuleDefinition, RuleNode, StatusDefinition, StatusNode, StatusStage0Definition, StatusStage0Node, SyncBlockDefinition, SyncBlockNode, TableDefinition, TableNode, TableWithNestedTableDefinition, TableWithNestedTableNode, TableCellDefinition, TableCellNode, TableCellStage0Definition, TableCellStage0Node, TableCellWithNestedTableDefinition, TableCellWithNestedTableNode, TableCellWithNestedTableStage0Definition, TableCellWithNestedTableStage0Node, TableHeaderDefinition, TableHeaderNode, TableHeaderStage0Definition, TableHeaderStage0Node, TableHeaderWithNestedTableDefinition, TableHeaderWithNestedTableNode, TableHeaderWithNestedTableStage0Definition, TableHeaderWithNestedTableStage0Node, TableRowDefinition, TableRowNode, TableRowWithNestedTableDefinition, TableRowWithNestedTableNode, TaskItemDefinition, TaskItemNode, TaskListDefinition, TaskListNode, TextDefinition, TextNode, TextCodeInlineDefinition, TextCodeInlineNode, TextFormattedDefinition, TextFormattedNode, TextWithNoMarksDefinition, TextWithNoMarksNode, UnsupportedBlockDefinition, UnsupportedBlockNode, UnsupportedInlineDefinition, UnsupportedInlineNode, } from '../next-schema/generated/nodeTypes';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, fontSize, breakout, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, code, codeBlock, codeBlockWithLocalId,
|
|
1
|
+
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, fontSize, breakout, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, code, codeBlock, codeBlockWithLocalId, codeBlockToJSON, colorPalette,
|
|
2
2
|
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
|
3
3
|
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineCardWithLocalId, inlineExtension, inlineNodes, layoutColumn, layoutColumnStage0, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, link, linkToJSON, listItem, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelC1, extendedPanelC1WithLocalId, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableCellStage0, tableHeaderStage0, tableCellWithNestedTableStage0, tableHeaderWithNestedTableStage0, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './schema';
|
|
4
4
|
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, CodeDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataConsumerAttributes, DataConsumerDefinition, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmDefinition, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, FontSizeMarkAttrs, FontSizeMarkDefinition, FragmentAttributes, FragmentDefinition, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, IndentationMarkAttributes, IndentationMarkDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, LinkAttributes, LinkDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StrikeDefinition, StrongDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, SubSupAttributes, SubSupDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextColorAttributes, TextColorDefinition, TextDefinition, UnderlineDefinition, UrlType, AnnotationId, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, AnnotationDataAttributes, CellDomAttrs, BorderMarkAttributes, BorderMarkDefinition, MultiBodiedExtensionDefinition, ExtensionFrameDefinition, BackgroundColorDefinition, } from './schema';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source files in "packages/adf-schema/src/next-schema" ,
|
|
4
4
|
* and run "yarn workspace @atlaskit/adf-schema build:schema:all" to regenerate this file.
|
|
5
5
|
*/
|
|
6
|
-
import type { BlockCardDefinition, BlockquoteDefinition, BlockquoteLegacyDefinition, BodiedExtensionDefinition, BodiedExtensionWithMarksDefinition, BulletListDefinition, CodeBlockDefinition,
|
|
7
|
-
export type BlockDefinition = Array<BlockCardDefinition | CodeBlockDefinition |
|
|
6
|
+
import type { BlockCardDefinition, BlockquoteDefinition, BlockquoteLegacyDefinition, BodiedExtensionDefinition, BodiedExtensionWithMarksDefinition, BulletListDefinition, CodeBlockDefinition, ConfluenceJiraIssueDefinition, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedInlineDefinition, DateDefinition, DateStage0Definition, DecisionListDefinition, EmbedCardDefinition, EmojiDefinition, EmojiStage0Definition, ExpandDefinition, ExtensionDefinition, ExtensionWithMarksDefinition, HardBreakDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithNoMarksDefinition, ImageDefinition, InlineCardDefinition, InlineCardStage0Definition, InlineExtensionDefinition, InlineExtensionWithMarksDefinition, MediaGroupDefinition, MediaInlineDefinition, MediaSingleCaptionDefinition, MediaSingleDefinition, MediaSingleFullDefinition, MediaSingleWidthTypeDefinition, MentionDefinition, MentionStage0Definition, MultiBodiedExtensionStage0Definition, OrderedListDefinition, PanelC1Definition, PanelDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithFontSizeDefinition, ParagraphWithIndentationDefinition, ParagraphWithNoMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StatusStage0Definition, TableDefinition, TableWithNestedTableDefinition, TaskListDefinition, TextCodeInlineDefinition, TextDefinition, TextFormattedDefinition, UnsupportedBlockDefinition, UnsupportedInlineDefinition } from './nodeTypes';
|
|
7
|
+
export type BlockDefinition = Array<BlockCardDefinition | CodeBlockDefinition | MediaSingleDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleWidthTypeDefinition | ParagraphDefinition | ParagraphWithAlignmentDefinition | ParagraphWithIndentationDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | OrderedListDefinition | BulletListDefinition | BlockquoteDefinition | BlockquoteLegacyDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionDefinition | ExtensionWithMarksDefinition | HeadingDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | MediaGroupDefinition | RuleDefinition | PanelDefinition | PanelC1Definition | TableDefinition | TableWithNestedTableDefinition | BodiedExtensionDefinition | BodiedExtensionWithMarksDefinition | ExpandDefinition | ConfluenceUnsupportedBlockDefinition | UnsupportedBlockDefinition>;
|
|
8
8
|
export type BlockRootOnlyDefinition = Array<MultiBodiedExtensionStage0Definition>;
|
|
9
9
|
export type InlineDefinition = Array<TextDefinition | TextFormattedDefinition | TextCodeInlineDefinition | DateDefinition | DateStage0Definition | EmojiDefinition | EmojiStage0Definition | HardBreakDefinition | InlineCardDefinition | InlineCardStage0Definition | MentionDefinition | MentionStage0Definition | PlaceholderDefinition | StatusDefinition | StatusStage0Definition | InlineExtensionDefinition | InlineExtensionWithMarksDefinition | MediaInlineDefinition | ImageDefinition | ConfluenceJiraIssueDefinition | ConfluenceUnsupportedInlineDefinition | UnsupportedInlineDefinition>;
|
|
10
|
-
export type NonNestableBlockContentDefinition = Array<ParagraphWithNoMarksDefinition | ParagraphWithFontSizeDefinition | PanelDefinition | BlockquoteDefinition | OrderedListDefinition | BulletListDefinition | RuleDefinition | HeadingWithNoMarksDefinition | CodeBlockDefinition |
|
|
10
|
+
export type NonNestableBlockContentDefinition = Array<ParagraphWithNoMarksDefinition | ParagraphWithFontSizeDefinition | PanelDefinition | BlockquoteDefinition | OrderedListDefinition | BulletListDefinition | RuleDefinition | HeadingWithNoMarksDefinition | CodeBlockDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | DecisionListDefinition | TaskListDefinition | TableDefinition | TableWithNestedTableDefinition | BlockCardDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | UnsupportedBlockDefinition>;
|
|
@@ -62,7 +62,7 @@ export type BlockTaskItemNode = PMNode & BlockTaskItemDefinition;
|
|
|
62
62
|
export declare const blockTaskItem: PMNodeSpecFactoryInstance<BlockTaskItemNode>;
|
|
63
63
|
export interface BodiedExtensionDefinition {
|
|
64
64
|
type: 'bodiedExtension';
|
|
65
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition |
|
|
65
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
66
66
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
67
67
|
attrs: {
|
|
68
68
|
extensionKey: string;
|
|
@@ -127,23 +127,13 @@ export interface CodeBlockDefinition {
|
|
|
127
127
|
language?: string;
|
|
128
128
|
uniqueId?: string;
|
|
129
129
|
localId?: string;
|
|
130
|
+
wrap?: boolean;
|
|
131
|
+
hideLineNumbers?: boolean;
|
|
130
132
|
};
|
|
131
133
|
}
|
|
132
134
|
export type CodeBlockNode = PMNode & CodeBlockDefinition;
|
|
133
135
|
export declare const codeBlock: PMNodeSpecFactoryInstance<CodeBlockNode>;
|
|
134
136
|
export interface CodeBlockRootOnlyDefinition {
|
|
135
|
-
type: 'codeBlock';
|
|
136
|
-
content: Array<TextWithNoMarksDefinition | UnsupportedInlineDefinition>;
|
|
137
|
-
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
138
|
-
attrs: {
|
|
139
|
-
language?: string;
|
|
140
|
-
uniqueId?: string;
|
|
141
|
-
localId?: string;
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
export type CodeBlockRootOnlyNode = PMNode & CodeBlockRootOnlyDefinition;
|
|
145
|
-
export declare const codeBlockRootOnly: PMNodeSpecFactoryInstance<CodeBlockRootOnlyNode>;
|
|
146
|
-
export interface CodeBlockRootOnlyWithExtendedAttributesStage0Definition {
|
|
147
137
|
type: 'codeBlock';
|
|
148
138
|
content: Array<TextWithNoMarksDefinition | UnsupportedInlineDefinition>;
|
|
149
139
|
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
@@ -155,21 +145,8 @@ export interface CodeBlockRootOnlyWithExtendedAttributesStage0Definition {
|
|
|
155
145
|
hideLineNumbers?: boolean;
|
|
156
146
|
};
|
|
157
147
|
}
|
|
158
|
-
export type
|
|
159
|
-
export declare const
|
|
160
|
-
export interface CodeBlockWithExtendedAttributesStage0Definition {
|
|
161
|
-
type: 'codeBlock';
|
|
162
|
-
content: Array<TextWithNoMarksDefinition | UnsupportedInlineDefinition>;
|
|
163
|
-
attrs: {
|
|
164
|
-
language?: string;
|
|
165
|
-
uniqueId?: string;
|
|
166
|
-
localId?: string;
|
|
167
|
-
wrap?: boolean;
|
|
168
|
-
hideLineNumbers?: boolean;
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
export type CodeBlockWithExtendedAttributesStage0Node = PMNode & CodeBlockWithExtendedAttributesStage0Definition;
|
|
172
|
-
export declare const codeBlockWithExtendedAttributesStage0: PMNodeSpecFactoryInstance<CodeBlockWithExtendedAttributesStage0Node>;
|
|
148
|
+
export type CodeBlockRootOnlyNode = PMNode & CodeBlockRootOnlyDefinition;
|
|
149
|
+
export declare const codeBlockRootOnly: PMNodeSpecFactoryInstance<CodeBlockRootOnlyNode>;
|
|
173
150
|
export interface ConfluenceJiraIssueDefinition {
|
|
174
151
|
type: 'confluenceJiraIssue';
|
|
175
152
|
attrs: {
|
|
@@ -241,7 +218,7 @@ export type DecisionListNode = PMNode & DecisionListDefinition;
|
|
|
241
218
|
export declare const decisionList: PMNodeSpecFactoryInstance<DecisionListNode>;
|
|
242
219
|
export interface DocDefinition {
|
|
243
220
|
type: 'doc';
|
|
244
|
-
content: Array<BlockDefinition | BlockRootOnlyDefinition | BodiedSyncBlockDefinition | CodeBlockRootOnlyDefinition |
|
|
221
|
+
content: Array<BlockDefinition | BlockRootOnlyDefinition | BodiedSyncBlockDefinition | CodeBlockRootOnlyDefinition | ExpandRootOnlyDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition | SyncBlockDefinition>;
|
|
245
222
|
}
|
|
246
223
|
export type DocNode = PMNode & DocDefinition;
|
|
247
224
|
export declare const doc: PMNodeSpecFactoryInstance<DocNode>;
|
|
@@ -285,7 +262,7 @@ export type EmojiStage0Node = PMNode & EmojiStage0Definition;
|
|
|
285
262
|
export declare const emojiStage0: PMNodeSpecFactoryInstance<EmojiStage0Node>;
|
|
286
263
|
export interface ExpandDefinition {
|
|
287
264
|
type: 'expand';
|
|
288
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition |
|
|
265
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
289
266
|
attrs: {
|
|
290
267
|
title?: string;
|
|
291
268
|
__expanded?: boolean;
|
|
@@ -296,7 +273,7 @@ export type ExpandNode = PMNode & ExpandDefinition;
|
|
|
296
273
|
export declare const expand: PMNodeSpecFactoryInstance<ExpandNode>;
|
|
297
274
|
export interface ExpandRootOnlyDefinition {
|
|
298
275
|
type: 'expand';
|
|
299
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition |
|
|
276
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
300
277
|
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
301
278
|
attrs: {
|
|
302
279
|
title?: string;
|
|
@@ -895,7 +872,7 @@ export type TableWithNestedTableNode = PMNode & TableWithNestedTableDefinition;
|
|
|
895
872
|
export declare const tableWithNestedTable: PMNodeSpecFactoryInstance<TableWithNestedTableNode>;
|
|
896
873
|
export interface TableCellDefinition {
|
|
897
874
|
type: 'tableCell';
|
|
898
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition |
|
|
875
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
899
876
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
900
877
|
attrs: {
|
|
901
878
|
colspan?: number;
|
|
@@ -909,7 +886,7 @@ export type TableCellNode = PMNode & TableCellDefinition;
|
|
|
909
886
|
export declare const tableCell: PMNodeSpecFactoryInstance<TableCellNode>;
|
|
910
887
|
export interface TableCellStage0Definition {
|
|
911
888
|
type: 'tableCell';
|
|
912
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition |
|
|
889
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
913
890
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
914
891
|
attrs: {
|
|
915
892
|
colspan?: number;
|
|
@@ -924,7 +901,7 @@ export type TableCellStage0Node = PMNode & TableCellStage0Definition;
|
|
|
924
901
|
export declare const tableCellStage0: PMNodeSpecFactoryInstance<TableCellStage0Node>;
|
|
925
902
|
export interface TableCellWithNestedTableDefinition {
|
|
926
903
|
type: 'tableCell';
|
|
927
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition |
|
|
904
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
928
905
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
929
906
|
attrs: {
|
|
930
907
|
colspan?: number;
|
|
@@ -938,7 +915,7 @@ export type TableCellWithNestedTableNode = PMNode & TableCellWithNestedTableDefi
|
|
|
938
915
|
export declare const tableCellWithNestedTable: PMNodeSpecFactoryInstance<TableCellWithNestedTableNode>;
|
|
939
916
|
export interface TableCellWithNestedTableStage0Definition {
|
|
940
917
|
type: 'tableCell';
|
|
941
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition |
|
|
918
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
|
942
919
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
943
920
|
attrs: {
|
|
944
921
|
colspan?: number;
|
|
@@ -953,7 +930,7 @@ export type TableCellWithNestedTableStage0Node = PMNode & TableCellWithNestedTab
|
|
|
953
930
|
export declare const tableCellWithNestedTableStage0: PMNodeSpecFactoryInstance<TableCellWithNestedTableStage0Node>;
|
|
954
931
|
export interface TableHeaderDefinition {
|
|
955
932
|
type: 'tableHeader';
|
|
956
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition |
|
|
933
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition>;
|
|
957
934
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
958
935
|
attrs: {
|
|
959
936
|
colspan?: number;
|
|
@@ -967,7 +944,7 @@ export type TableHeaderNode = PMNode & TableHeaderDefinition;
|
|
|
967
944
|
export declare const tableHeader: PMNodeSpecFactoryInstance<TableHeaderNode>;
|
|
968
945
|
export interface TableHeaderStage0Definition {
|
|
969
946
|
type: 'tableHeader';
|
|
970
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition |
|
|
947
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition>;
|
|
971
948
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
972
949
|
attrs: {
|
|
973
950
|
colspan?: number;
|
|
@@ -982,7 +959,7 @@ export type TableHeaderStage0Node = PMNode & TableHeaderStage0Definition;
|
|
|
982
959
|
export declare const tableHeaderStage0: PMNodeSpecFactoryInstance<TableHeaderStage0Node>;
|
|
983
960
|
export interface TableHeaderWithNestedTableDefinition {
|
|
984
961
|
type: 'tableHeader';
|
|
985
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition |
|
|
962
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition>;
|
|
986
963
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
987
964
|
attrs: {
|
|
988
965
|
colspan?: number;
|
|
@@ -996,7 +973,7 @@ export type TableHeaderWithNestedTableNode = PMNode & TableHeaderWithNestedTable
|
|
|
996
973
|
export declare const tableHeaderWithNestedTable: PMNodeSpecFactoryInstance<TableHeaderWithNestedTableNode>;
|
|
997
974
|
export interface TableHeaderWithNestedTableStage0Definition {
|
|
998
975
|
type: 'tableHeader';
|
|
999
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition |
|
|
976
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition>;
|
|
1000
977
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
|
1001
978
|
attrs: {
|
|
1002
979
|
colspan?: number;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type { ADFCommonNodeSpec, ADFNode } from '@atlaskit/adf-schema-generator';
|
|
2
2
|
export declare const codeBlock: ADFNode<[
|
|
3
3
|
string,
|
|
4
|
-
'root_only'
|
|
5
|
-
'with_extended_attributes',
|
|
6
|
-
'root_only_with_extended_attributes'
|
|
4
|
+
'root_only'
|
|
7
5
|
], ADFCommonNodeSpec & {
|
|
8
6
|
marks: any[];
|
|
9
7
|
noExtend: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { PanelType, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, codeBlock, codeBlockWithLocalId,
|
|
1
|
+
export { PanelType, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, codeBlock, codeBlockWithLocalId, codeBlockToJSON, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, hardBreak, heading, image, inlineCard, inlineCardWithLocalId, inlineExtension, layoutColumn, layoutColumnStage0, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, listItem, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleSpec, mediaInline, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelC1, extendedPanelC1WithLocalId, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, getCellAttrs, getCellDomAttrs, status, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, text, toJSONTableCell, toJSONTableHeader, unknownBlock, unsupportedBlock, unsupportedInline, extensionFrame, multiBodiedExtension, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableCellStage0, tableHeaderStage0, tableCellWithNestedTableStage0, tableHeaderWithNestedTableStage0, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './nodes';
|
|
2
2
|
export type { BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionBaseDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableWithNestedTableDefinition, TableRowWithNestedTableDefinition, TableCellWithNestedTableDefinition, TableHeaderWithNestedTableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextDefinition, UrlType, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, CellDomAttrs, ExtensionFrameDefinition, MultiBodiedExtensionDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, } from './nodes';
|
|
3
3
|
export { AnnotationTypes, alignment, alignmentPositionMap, annotation, fontSize, breakout, code, colorPalette,
|
|
4
4
|
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
|
@@ -31,12 +31,4 @@ export declare const codeBlock: NodeSpec;
|
|
|
31
31
|
export declare const toJSON: (node: PMNode) => {
|
|
32
32
|
attrs: Record<string, any>;
|
|
33
33
|
};
|
|
34
|
-
/**
|
|
35
|
-
* @name codeBlock_with_extended_attributes
|
|
36
|
-
* @description stage-0 codeBlock variant with wrap and hideLineNumbers attributes (ADF Change 101)
|
|
37
|
-
*
|
|
38
|
-
* Stage-0 variant: adds wrap and hideLineNumbers attributes (ADF Change 101).
|
|
39
|
-
* The DSL variant includes all attrs (base + new), so the generated factory provides the full set.
|
|
40
|
-
*/
|
|
41
|
-
export declare const codeBlockWithExtendedAttributes: NodeSpec;
|
|
42
34
|
export declare const codeBlockWithLocalId: NodeSpec;
|
|
@@ -9,7 +9,7 @@ export { blockquote, extendedBlockquote, extendedBlockquoteWithLocalId } from '.
|
|
|
9
9
|
export type { BlockQuoteDefinition } from './blockquote';
|
|
10
10
|
export { bulletList, bulletListSelector, bulletListWithLocalId } from './bullet-list';
|
|
11
11
|
export type { BulletListDefinition } from './types/list';
|
|
12
|
-
export { codeBlock, codeBlockWithLocalId,
|
|
12
|
+
export { codeBlock, codeBlockWithLocalId, toJSON as codeBlockToJSON, } from './code-block';
|
|
13
13
|
export type { CodeBlockDefinition, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockWithMarksDefinition, } from './code-block';
|
|
14
14
|
export { hardBreak } from './hard-break';
|
|
15
15
|
export type { HardBreakDefinition } from './hard-break';
|
|
@@ -372,6 +372,10 @@ export declare const codeBlock: {
|
|
|
372
372
|
attrs: {
|
|
373
373
|
optional: boolean;
|
|
374
374
|
props: {
|
|
375
|
+
hideLineNumbers: {
|
|
376
|
+
optional: boolean;
|
|
377
|
+
type: string;
|
|
378
|
+
};
|
|
375
379
|
language: {
|
|
376
380
|
optional: boolean;
|
|
377
381
|
type: string;
|
|
@@ -384,6 +388,10 @@ export declare const codeBlock: {
|
|
|
384
388
|
optional: boolean;
|
|
385
389
|
type: string;
|
|
386
390
|
};
|
|
391
|
+
wrap: {
|
|
392
|
+
optional: boolean;
|
|
393
|
+
type: string;
|
|
394
|
+
};
|
|
387
395
|
};
|
|
388
396
|
};
|
|
389
397
|
content: {
|
|
@@ -407,69 +415,6 @@ export declare const codeBlock_root_only: (string | {
|
|
|
407
415
|
};
|
|
408
416
|
};
|
|
409
417
|
})[];
|
|
410
|
-
export declare const codeBlock_root_only_with_extended_attributes: (string | {
|
|
411
|
-
props: {
|
|
412
|
-
attrs: {
|
|
413
|
-
optional: boolean;
|
|
414
|
-
props: {
|
|
415
|
-
hideLineNumbers: {
|
|
416
|
-
optional: boolean;
|
|
417
|
-
type: string;
|
|
418
|
-
};
|
|
419
|
-
language: {
|
|
420
|
-
optional: boolean;
|
|
421
|
-
type: string;
|
|
422
|
-
};
|
|
423
|
-
localId: {
|
|
424
|
-
optional: boolean;
|
|
425
|
-
type: string;
|
|
426
|
-
};
|
|
427
|
-
uniqueId: {
|
|
428
|
-
optional: boolean;
|
|
429
|
-
type: string;
|
|
430
|
-
};
|
|
431
|
-
wrap: {
|
|
432
|
-
optional: boolean;
|
|
433
|
-
type: string;
|
|
434
|
-
};
|
|
435
|
-
};
|
|
436
|
-
};
|
|
437
|
-
marks: {
|
|
438
|
-
items: string[];
|
|
439
|
-
optional: boolean;
|
|
440
|
-
type: string;
|
|
441
|
-
};
|
|
442
|
-
};
|
|
443
|
-
})[];
|
|
444
|
-
export declare const codeBlock_with_extended_attributes: (string | {
|
|
445
|
-
props: {
|
|
446
|
-
attrs: {
|
|
447
|
-
optional: boolean;
|
|
448
|
-
props: {
|
|
449
|
-
hideLineNumbers: {
|
|
450
|
-
optional: boolean;
|
|
451
|
-
type: string;
|
|
452
|
-
};
|
|
453
|
-
language: {
|
|
454
|
-
optional: boolean;
|
|
455
|
-
type: string;
|
|
456
|
-
};
|
|
457
|
-
localId: {
|
|
458
|
-
optional: boolean;
|
|
459
|
-
type: string;
|
|
460
|
-
};
|
|
461
|
-
uniqueId: {
|
|
462
|
-
optional: boolean;
|
|
463
|
-
type: string;
|
|
464
|
-
};
|
|
465
|
-
wrap: {
|
|
466
|
-
optional: boolean;
|
|
467
|
-
type: string;
|
|
468
|
-
};
|
|
469
|
-
};
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
})[];
|
|
473
418
|
export declare const confluenceInlineComment: {
|
|
474
419
|
props: {
|
|
475
420
|
attrs: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { codeBlock, codeBlockWithLocalId,
|
|
1
|
+
export { codeBlock, codeBlockWithLocalId, toJSON as codeBlockToJSON, } from '../schema/nodes/code-block';
|
|
2
2
|
export type { CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, } from '../schema/nodes/code-block';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { codeBlock, codeBlockWithLocalId,
|
|
1
|
+
export { codeBlock, codeBlockWithLocalId, toJSON as codeBlockToJSON, } from '../schema/nodes/code-block';
|
|
2
2
|
export type { CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, } from '../schema/nodes/code-block';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { blockCard, blockquote, blockquoteLegacy, blockTaskItem, bodiedExtension, bodiedExtensionWithMarks, bodiedSyncBlock, bulletList, caption, codeBlock, codeBlockRootOnly,
|
|
2
|
-
export type { BlockCardNodeAttributes0, BlockCardNodeAttributes1, BlockCardNodeAttributes2, BlockCardDefinition, BlockCardNode, BlockquoteDefinition, BlockquoteNode, BlockquoteLegacyDefinition, BlockquoteLegacyNode, BlockTaskItemDefinition, BlockTaskItemNode, BodiedExtensionDefinition, BodiedExtensionNode, BodiedExtensionWithMarksDefinition, BodiedExtensionWithMarksNode, BodiedSyncBlockDefinition, BodiedSyncBlockNode, BulletListDefinition, BulletListNode, CaptionDefinition, CaptionNode, CodeBlockDefinition, CodeBlockNode, CodeBlockRootOnlyDefinition, CodeBlockRootOnlyNode,
|
|
1
|
+
export { blockCard, blockquote, blockquoteLegacy, blockTaskItem, bodiedExtension, bodiedExtensionWithMarks, bodiedSyncBlock, bulletList, caption, codeBlock, codeBlockRootOnly, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, date, dateStage0, decisionItem, decisionList, doc, embedCard, emoji, emojiStage0, expand, expandRootOnly, extension, extensionWithMarks, extensionFrameStage0, hardBreak, heading, headingWithAlignment, headingWithIndentation, headingWithNoMarks, image, inlineCard, inlineCardStage0, inlineExtension, inlineExtensionWithMarks, layoutColumn, layoutColumnStage0, layoutSection, layoutSectionFull, layoutSectionWithSingleColumnStage0, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingleCaption, mediaSingleFull, mediaSingleWidthType, mention, mentionStage0, multiBodiedExtensionStage0, nestedExpand, nestedExpandWithNoMarks, orderedList, panel, paragraph, paragraphWithAlignment, paragraphWithFontSize, paragraphWithIndentation, paragraphWithNoMarks, placeholder, rule, status, statusStage0, syncBlock, table, tableWithNestedTable, tableCell, tableCellStage0, tableCellWithNestedTable, tableCellWithNestedTableStage0, tableHeader, tableHeaderStage0, tableHeaderWithNestedTable, tableHeaderWithNestedTableStage0, tableRow, tableRowWithNestedTable, taskItem, taskList, text, textCodeInline, textFormatted, textWithNoMarks, unsupportedBlock, unsupportedInline, } from '../next-schema/generated/nodeTypes';
|
|
2
|
+
export type { BlockCardNodeAttributes0, BlockCardNodeAttributes1, BlockCardNodeAttributes2, BlockCardDefinition, BlockCardNode, BlockquoteDefinition, BlockquoteNode, BlockquoteLegacyDefinition, BlockquoteLegacyNode, BlockTaskItemDefinition, BlockTaskItemNode, BodiedExtensionDefinition, BodiedExtensionNode, BodiedExtensionWithMarksDefinition, BodiedExtensionWithMarksNode, BodiedSyncBlockDefinition, BodiedSyncBlockNode, BulletListDefinition, BulletListNode, CaptionDefinition, CaptionNode, CodeBlockDefinition, CodeBlockNode, CodeBlockRootOnlyDefinition, CodeBlockRootOnlyNode, ConfluenceJiraIssueDefinition, ConfluenceJiraIssueNode, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedBlockNode, ConfluenceUnsupportedInlineDefinition, ConfluenceUnsupportedInlineNode, DateDefinition, DateNode, DateStage0Definition, DateStage0Node, DecisionItemDefinition, DecisionItemNode, DecisionListDefinition, DecisionListNode, DocDefinition, DocNode, EmbedCardDefinition, EmbedCardNode, EmojiDefinition, EmojiNode, EmojiStage0Definition, EmojiStage0Node, ExpandDefinition, ExpandNode, ExpandRootOnlyDefinition, ExpandRootOnlyNode, ExtensionDefinition, ExtensionNode, ExtensionWithMarksDefinition, ExtensionWithMarksNode, ExtensionFrameStage0Definition, ExtensionFrameStage0Node, HardBreakDefinition, HardBreakNode, HeadingDefinition, HeadingNode, HeadingWithAlignmentDefinition, HeadingWithAlignmentNode, HeadingWithIndentationDefinition, HeadingWithIndentationNode, HeadingWithNoMarksDefinition, HeadingWithNoMarksNode, ImageDefinition, ImageNode, InlineCardNodeAttributes0, InlineCardNodeAttributes1, InlineCardDefinition, InlineCardNode, InlineCardStage0NodeAttributes0, InlineCardStage0NodeAttributes1, InlineCardStage0Definition, InlineCardStage0Node, InlineExtensionDefinition, InlineExtensionNode, InlineExtensionWithMarksDefinition, InlineExtensionWithMarksNode, LayoutColumnDefinition, LayoutColumnNode, LayoutColumnStage0Definition, LayoutColumnStage0Node, LayoutSectionDefinition, LayoutSectionNode, LayoutSectionFullDefinition, LayoutSectionFullNode, LayoutSectionWithSingleColumnStage0Definition, LayoutSectionWithSingleColumnStage0Node, ListItemDefinition, ListItemNode, MediaNodeAttributes0, MediaNodeAttributes1, MediaDefinition, MediaNode, MediaGroupDefinition, MediaGroupNode, MediaInlineDefinition, MediaInlineNode, MediaSingleNodeAttributes0, MediaSingleNodeAttributes1, MediaSingleDefinition, MediaSingleNode, MediaSingleCaptionNodeAttributes0, MediaSingleCaptionNodeAttributes1, MediaSingleCaptionDefinition, MediaSingleCaptionNode, MediaSingleFullNodeAttributes0, MediaSingleFullNodeAttributes1, MediaSingleFullDefinition, MediaSingleFullNode, MediaSingleWidthTypeNodeAttributes0, MediaSingleWidthTypeNodeAttributes1, MediaSingleWidthTypeDefinition, MediaSingleWidthTypeNode, MentionDefinition, MentionNode, MentionStage0Definition, MentionStage0Node, MultiBodiedExtensionStage0Definition, MultiBodiedExtensionStage0Node, NestedExpandDefinition, NestedExpandNode, NestedExpandWithNoMarksDefinition, NestedExpandWithNoMarksNode, OrderedListDefinition, OrderedListNode, PanelDefinition, PanelNode, ParagraphDefinition, ParagraphNode, ParagraphWithAlignmentDefinition, ParagraphWithAlignmentNode, ParagraphWithFontSizeDefinition, ParagraphWithFontSizeNode, ParagraphWithIndentationDefinition, ParagraphWithIndentationNode, ParagraphWithNoMarksDefinition, ParagraphWithNoMarksNode, PlaceholderDefinition, PlaceholderNode, RuleDefinition, RuleNode, StatusDefinition, StatusNode, StatusStage0Definition, StatusStage0Node, SyncBlockDefinition, SyncBlockNode, TableDefinition, TableNode, TableWithNestedTableDefinition, TableWithNestedTableNode, TableCellDefinition, TableCellNode, TableCellStage0Definition, TableCellStage0Node, TableCellWithNestedTableDefinition, TableCellWithNestedTableNode, TableCellWithNestedTableStage0Definition, TableCellWithNestedTableStage0Node, TableHeaderDefinition, TableHeaderNode, TableHeaderStage0Definition, TableHeaderStage0Node, TableHeaderWithNestedTableDefinition, TableHeaderWithNestedTableNode, TableHeaderWithNestedTableStage0Definition, TableHeaderWithNestedTableStage0Node, TableRowDefinition, TableRowNode, TableRowWithNestedTableDefinition, TableRowWithNestedTableNode, TaskItemDefinition, TaskItemNode, TaskListDefinition, TaskListNode, TextDefinition, TextNode, TextCodeInlineDefinition, TextCodeInlineNode, TextFormattedDefinition, TextFormattedNode, TextWithNoMarksDefinition, TextWithNoMarksNode, UnsupportedBlockDefinition, UnsupportedBlockNode, UnsupportedInlineDefinition, UnsupportedInlineNode, } from '../next-schema/generated/nodeTypes';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, fontSize, breakout, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, code, codeBlock, codeBlockWithLocalId,
|
|
1
|
+
export { PanelType, AnnotationTypes, alignment, alignmentPositionMap, annotation, blockCard, blockCardWithLocalId, blockquote, extendedBlockquote, extendedBlockquoteWithLocalId, bodiedExtension, fontSize, breakout, bulletList, bulletListSelector, bulletListWithLocalId, caption, captionWithLocalId, code, codeBlock, codeBlockWithLocalId, codeBlockToJSON, colorPalette,
|
|
2
2
|
/** @deprecated [ED-15849] The extended palette is now rolled into the main one. Use `colorPalette` instead. */
|
|
3
3
|
colorPaletteExtended, confluenceInlineComment, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, copyPrivateMediaAttributes, createSchema, dataConsumer, dataConsumerToJSON, date, dateWithLocalId, decisionItem, decisionList, decisionListSelector, doc, em, embedCard, embedCardWithLocalId, emoji, emojiWithLocalId, expandWithNestedExpand, expandWithNestedExpandLocalId, expandToJSON, extension, fragment, fragmentToJSON, hardBreak, heading, image, indentation, inlineCard, inlineCardWithLocalId, inlineExtension, inlineNodes, layoutColumn, layoutColumnStage0, layoutColumnWithLocalId, layoutSection, layoutSectionWithLocalId, layoutSectionWithSingleColumn, layoutSectionWithSingleColumnLocalId, link, linkToJSON, listItem, listItemWithLocalId, media, mediaGroup, mediaSingle, mediaSingleWithCaption, mediaSingleWithWidthType, mediaSingleFull, mediaSingleFullWithLocalId, mediaSingleSpec, mediaInline, mediaSingleToJSON, mediaToJSON, mention, mentionToJSON, nestedExpand, nestedExpandWithLocalId, orderedList, orderedListSelector, orderedListWithLocalId, orderedListWithOrder, orderedListWithOrderAndLocalId, extendedPanel, extendedPanelC1, extendedPanelC1WithLocalId, extendedPanelWithLocalId, paragraph, placeholder, placeholderWithLocalId, rule, ruleWithLocalId, sanitizeNodes, getCellAttrs, getCellDomAttrs, status, strike, strong, subsup, table, tableStage0, tableWithCustomWidth, tableBackgroundBorderColor, tableBackgroundColorNames, tableBackgroundColorPalette, tableCell, tableCellContentDomSelector, tableCellContentWrapperSelector, tableCellSelector, tableHeader, tableHeaderSelector, tablePrefixSelector, tableRow, tableToJSON, taskItem, blockTaskItem, taskList, taskListSelector, text, textColor, toJSONTableCell, toJSONTableHeader, typeAheadQuery, underline, unknownBlock, unsupportedBlock, unsupportedInline, unsupportedNodeTypesForMediaCards, buildAnnotationMarkDataAttributes, AnnotationMarkStates, unsupportedMark, unsupportedNodeAttribute, border, borderColorPalette, extensionFrame, multiBodiedExtension, backgroundColor, backgroundColorPalette, syncBlock, bodiedSyncBlock, tableWithNestedTable, tableRowWithNestedTable, tableCellWithNestedTable, tableHeaderWithNestedTable, tableCellStage0, tableHeaderStage0, tableCellWithNestedTableStage0, tableHeaderWithNestedTableStage0, tableRowWithLocalId, tableCellWithLocalId, tableHeaderWithLocalId, tableRowWithNestedTableWithLocalId, tableCellWithNestedTableWithLocalId, tableHeaderWithNestedTableWithLocalId, } from './schema';
|
|
4
4
|
export type { AlignmentAttributes, AlignmentMarkDefinition, AnnotationMarkAttributes, AnnotationMarkDefinition, BlockCardDefinition, BlockContent, BlockQuoteDefinition, BodiedExtensionDefinition, BreakoutMarkAttrs, BreakoutMarkDefinition, BulletListDefinition, CaptionDefinition, CardAttributes, CellAttributes, CodeBlockAttrs, CodeBlockBaseDefinition, CodeBlockDefinition, CodeBlockWithMarksDefinition, CodeDefinition, DatasourceAttributes, DatasourceAttributeProperties, DataConsumerAttributes, DataConsumerDefinition, DataType, DateDefinition, DecisionItemDefinition, DecisionListDefinition, DocNode, EmbedCardDefinition, EmbedCardAttributes, EmDefinition, EmojiAttributes, EmojiDefinition, ExpandDefinition, ExtensionDefinition, ExtensionLayout, ExternalMediaAttributes, FontSizeMarkAttrs, FontSizeMarkDefinition, FragmentAttributes, FragmentDefinition, HardBreakDefinition, HeadingBaseDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithMarksDefinition, IndentationMarkAttributes, IndentationMarkDefinition, Inline, InlineCardDefinition, InlineCode, InlineExtensionDefinition, InlineFormattedText, InlineLinkText, LayoutColumnDefinition, LayoutSectionDefinition, LayoutSectionFullDefinition, LayoutSectionWithSingleColumnDefinition, LinkAttributes, LinkDefinition, ListItemArray, ListItemDefinition, MarksObject, MediaADFAttrs, MediaAttributes, MediaInlineAttributes, MediaInlineDefinition, MediaBaseAttributes, MediaDefinition, MediaDisplayType, MediaGroupDefinition, MediaSingleDefinition, MediaType, MentionAttributes, MentionDefinition, MentionUserType, NestedExpandContent, NestedExpandDefinition, NoMark, NonNestableBlockContent, OrderedListDefinition, PanelAttributes, PanelDefinition, ParagraphBaseDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithIndentationDefinition, ParagraphWithMarksDefinition, PlaceholderDefinition, RuleDefinition, StatusDefinition, StrikeDefinition, StrongDefinition, SyncBlockDefinition, BodiedSyncBlockDefinition, SubSupAttributes, SubSupDefinition, TableAttributes, TableCellDefinition, TableDefinition, TableDisplayMode, TableHeaderDefinition, TableLayout, TableRowDefinition, TaskItemDefinition, BlockTaskItemDefinition, TaskListContent, TaskListDefinition, TextColorAttributes, TextColorDefinition, TextDefinition, UnderlineDefinition, UrlType, AnnotationId, RichMediaAttributes, ExtendedMediaAttributes, RichMediaLayout, AnnotationDataAttributes, CellDomAttrs, BorderMarkAttributes, BorderMarkDefinition, MultiBodiedExtensionDefinition, ExtensionFrameDefinition, BackgroundColorDefinition, } from './schema';
|