@atlaskit/adf-schema 44.7.0 → 45.1.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 +20 -0
- package/dist/cjs/next-schema/full-schema.adf.js +2 -2
- package/dist/cjs/next-schema/generated/nodeTypes.js +4 -4
- package/dist/cjs/next-schema/groups/blockContentGroup.js +2 -2
- package/dist/cjs/next-schema/groups/blockGroup.js +2 -2
- 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/blockquote.js +1 -1
- package/dist/cjs/next-schema/nodes/codeBlock.js +8 -18
- package/dist/cjs/next-schema/nodes/extensionFrame.js +1 -1
- package/dist/cjs/next-schema/nodes/list.js +2 -2
- package/dist/cjs/next-schema/nodes/mediaInline.js +0 -8
- package/dist/cjs/next-schema/nodes/nestedExpand.js +1 -1
- package/dist/cjs/next-schema/nodes/panel.js +2 -2
- package/dist/cjs/schema/nodes/code-block.js +1 -5
- package/dist/cjs/validator-schema/generated/validatorSpec.js +23 -30
- package/dist/es2019/next-schema/full-schema.adf.js +2 -2
- package/dist/es2019/next-schema/generated/nodeTypes.js +3 -3
- package/dist/es2019/next-schema/groups/blockContentGroup.js +2 -2
- package/dist/es2019/next-schema/groups/blockGroup.js +2 -2
- 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/blockquote.js +1 -1
- package/dist/es2019/next-schema/nodes/codeBlock.js +7 -17
- package/dist/es2019/next-schema/nodes/extensionFrame.js +1 -1
- package/dist/es2019/next-schema/nodes/list.js +2 -2
- package/dist/es2019/next-schema/nodes/mediaInline.js +0 -8
- package/dist/es2019/next-schema/nodes/nestedExpand.js +1 -1
- package/dist/es2019/next-schema/nodes/panel.js +2 -2
- package/dist/es2019/schema/nodes/code-block.js +1 -5
- package/dist/es2019/validator-schema/generated/validatorSpec.js +22 -29
- package/dist/esm/next-schema/full-schema.adf.js +2 -2
- package/dist/esm/next-schema/generated/nodeTypes.js +3 -3
- package/dist/esm/next-schema/groups/blockContentGroup.js +2 -2
- package/dist/esm/next-schema/groups/blockGroup.js +2 -2
- 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/blockquote.js +1 -1
- package/dist/esm/next-schema/nodes/codeBlock.js +7 -17
- package/dist/esm/next-schema/nodes/extensionFrame.js +1 -1
- package/dist/esm/next-schema/nodes/list.js +2 -2
- package/dist/esm/next-schema/nodes/mediaInline.js +0 -8
- package/dist/esm/next-schema/nodes/nestedExpand.js +1 -1
- package/dist/esm/next-schema/nodes/panel.js +2 -2
- package/dist/esm/schema/nodes/code-block.js +1 -5
- package/dist/esm/validator-schema/generated/validatorSpec.js +22 -29
- package/dist/json-schema/v1/full.json +76 -60
- package/dist/json-schema/v1/stage-0.json +81 -65
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types/next-schema/generated/nodeTypes.d.ts +20 -19
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +5 -1
- package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +5 -1
- package/dist/types/next-schema/nodes/codeBlock.d.ts +3 -16
- package/dist/types/schema/nodes/code-block.d.ts +1 -4
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +9 -16
- package/json-schema/v1/full.json +76 -60
- package/json-schema/v1/stage-0.json +81 -65
- package/package.json +2 -2
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -1
@@ -73,73 +73,73 @@
|
|
73
73
|
"$ref": "#/definitions/blockCard_node"
|
74
74
|
},
|
75
75
|
{
|
76
|
-
"$ref": "#/definitions/
|
76
|
+
"$ref": "#/definitions/paragraph_with_no_marks_node"
|
77
77
|
},
|
78
78
|
{
|
79
|
-
"$ref": "#/definitions/
|
79
|
+
"$ref": "#/definitions/paragraph_with_alignment_node"
|
80
80
|
},
|
81
81
|
{
|
82
|
-
"$ref": "#/definitions/
|
82
|
+
"$ref": "#/definitions/paragraph_with_indentation_node"
|
83
83
|
},
|
84
84
|
{
|
85
|
-
"$ref": "#/definitions/
|
85
|
+
"$ref": "#/definitions/mediaSingle_caption_node"
|
86
86
|
},
|
87
87
|
{
|
88
|
-
"$ref": "#/definitions/
|
88
|
+
"$ref": "#/definitions/mediaSingle_full_node"
|
89
89
|
},
|
90
90
|
{
|
91
|
-
"$ref": "#/definitions/
|
91
|
+
"$ref": "#/definitions/codeBlock_node"
|
92
92
|
},
|
93
93
|
{
|
94
94
|
"$ref": "#/definitions/taskList_node"
|
95
95
|
},
|
96
96
|
{
|
97
|
-
"$ref": "#/definitions/
|
97
|
+
"$ref": "#/definitions/bulletList_node"
|
98
98
|
},
|
99
99
|
{
|
100
|
-
"$ref": "#/definitions/
|
100
|
+
"$ref": "#/definitions/orderedList_node"
|
101
101
|
},
|
102
102
|
{
|
103
|
-
"$ref": "#/definitions/
|
103
|
+
"$ref": "#/definitions/heading_with_no_marks_node"
|
104
104
|
},
|
105
105
|
{
|
106
|
-
"$ref": "#/definitions/
|
106
|
+
"$ref": "#/definitions/heading_with_alignment_node"
|
107
107
|
},
|
108
108
|
{
|
109
|
-
"$ref": "#/definitions/
|
109
|
+
"$ref": "#/definitions/heading_with_indentation_node"
|
110
110
|
},
|
111
111
|
{
|
112
|
-
"$ref": "#/definitions/
|
112
|
+
"$ref": "#/definitions/mediaGroup_node"
|
113
113
|
},
|
114
114
|
{
|
115
|
-
"$ref": "#/definitions/
|
115
|
+
"$ref": "#/definitions/decisionList_node"
|
116
116
|
},
|
117
117
|
{
|
118
|
-
"$ref": "#/definitions/
|
118
|
+
"$ref": "#/definitions/rule_node"
|
119
119
|
},
|
120
120
|
{
|
121
|
-
"$ref": "#/definitions/
|
121
|
+
"$ref": "#/definitions/panel_node"
|
122
122
|
},
|
123
123
|
{
|
124
|
-
"$ref": "#/definitions/
|
124
|
+
"$ref": "#/definitions/panel_with_nested_blockquote_node"
|
125
125
|
},
|
126
126
|
{
|
127
|
-
"$ref": "#/definitions/
|
127
|
+
"$ref": "#/definitions/blockquote_node"
|
128
128
|
},
|
129
129
|
{
|
130
|
-
"$ref": "#/definitions/
|
130
|
+
"$ref": "#/definitions/extension_with_marks_node"
|
131
131
|
},
|
132
132
|
{
|
133
|
-
"$ref": "#/definitions/
|
133
|
+
"$ref": "#/definitions/embedCard_node"
|
134
134
|
},
|
135
135
|
{
|
136
136
|
"$ref": "#/definitions/table_node"
|
137
137
|
},
|
138
138
|
{
|
139
|
-
"$ref": "#/definitions/
|
139
|
+
"$ref": "#/definitions/expand_with_no_mark_node"
|
140
140
|
},
|
141
141
|
{
|
142
|
-
"$ref": "#/definitions/
|
142
|
+
"$ref": "#/definitions/bodiedExtension_with_marks_node"
|
143
143
|
}
|
144
144
|
]
|
145
145
|
},
|
@@ -245,7 +245,7 @@
|
|
245
245
|
"$ref": "#/definitions/bulletList_node"
|
246
246
|
},
|
247
247
|
{
|
248
|
-
"$ref": "#/definitions/
|
248
|
+
"$ref": "#/definitions/codeBlock_node"
|
249
249
|
},
|
250
250
|
{
|
251
251
|
"$ref": "#/definitions/mediaSingle_caption_node"
|
@@ -499,13 +499,17 @@
|
|
499
499
|
"enum": ["codeBlock"]
|
500
500
|
},
|
501
501
|
"marks": {
|
502
|
-
"type": "array"
|
502
|
+
"type": "array",
|
503
|
+
"maxItems": 0
|
503
504
|
},
|
504
505
|
"attrs": {
|
505
506
|
"type": "object",
|
506
507
|
"properties": {
|
507
508
|
"language": {
|
508
509
|
"type": "string"
|
510
|
+
},
|
511
|
+
"uniqueId": {
|
512
|
+
"type": "string"
|
509
513
|
}
|
510
514
|
},
|
511
515
|
"additionalProperties": false
|
@@ -534,41 +538,53 @@
|
|
534
538
|
"additionalProperties": false,
|
535
539
|
"required": ["type"]
|
536
540
|
},
|
537
|
-
"
|
538
|
-
"
|
539
|
-
|
540
|
-
|
541
|
+
"codeBlock_root_only_node": {
|
542
|
+
"type": "object",
|
543
|
+
"properties": {
|
544
|
+
"type": {
|
545
|
+
"enum": ["codeBlock"]
|
541
546
|
},
|
542
|
-
{
|
543
|
-
"type": "
|
544
|
-
"
|
545
|
-
"
|
546
|
-
|
547
|
-
"items": {
|
548
|
-
"$ref": "#/definitions/breakout_mark"
|
549
|
-
}
|
550
|
-
}
|
551
|
-
},
|
552
|
-
"additionalProperties": true
|
553
|
-
}
|
554
|
-
]
|
555
|
-
},
|
556
|
-
"codeBlock_with_no_marks_node": {
|
557
|
-
"allOf": [
|
558
|
-
{
|
559
|
-
"$ref": "#/definitions/codeBlock_node"
|
547
|
+
"marks": {
|
548
|
+
"type": "array",
|
549
|
+
"items": {
|
550
|
+
"$ref": "#/definitions/breakout_mark"
|
551
|
+
}
|
560
552
|
},
|
561
|
-
{
|
553
|
+
"attrs": {
|
562
554
|
"type": "object",
|
563
555
|
"properties": {
|
564
|
-
"
|
565
|
-
"type": "
|
566
|
-
|
556
|
+
"language": {
|
557
|
+
"type": "string"
|
558
|
+
},
|
559
|
+
"uniqueId": {
|
560
|
+
"type": "string"
|
567
561
|
}
|
568
562
|
},
|
569
|
-
"additionalProperties":
|
563
|
+
"additionalProperties": false
|
564
|
+
},
|
565
|
+
"content": {
|
566
|
+
"type": "array",
|
567
|
+
"items": {
|
568
|
+
"allOf": [
|
569
|
+
{
|
570
|
+
"$ref": "#/definitions/text_node"
|
571
|
+
},
|
572
|
+
{
|
573
|
+
"type": "object",
|
574
|
+
"properties": {
|
575
|
+
"marks": {
|
576
|
+
"type": "array",
|
577
|
+
"maxItems": 0
|
578
|
+
}
|
579
|
+
},
|
580
|
+
"additionalProperties": true
|
581
|
+
}
|
582
|
+
]
|
583
|
+
}
|
570
584
|
}
|
571
|
-
|
585
|
+
},
|
586
|
+
"additionalProperties": false,
|
587
|
+
"required": ["type"]
|
572
588
|
},
|
573
589
|
"dataConsumer_mark": {
|
574
590
|
"type": "object",
|
@@ -691,10 +707,7 @@
|
|
691
707
|
"$ref": "#/definitions/blockCard_node"
|
692
708
|
},
|
693
709
|
{
|
694
|
-
"$ref": "#/definitions/
|
695
|
-
},
|
696
|
-
{
|
697
|
-
"$ref": "#/definitions/codeBlock_with_no_marks_node"
|
710
|
+
"$ref": "#/definitions/codeBlock_node"
|
698
711
|
},
|
699
712
|
{
|
700
713
|
"$ref": "#/definitions/mediaSingle_caption_node"
|
@@ -765,6 +778,9 @@
|
|
765
778
|
{
|
766
779
|
"$ref": "#/definitions/expand_with_breakout_mark_node"
|
767
780
|
},
|
781
|
+
{
|
782
|
+
"$ref": "#/definitions/codeBlock_root_only_node"
|
783
|
+
},
|
768
784
|
{
|
769
785
|
"$ref": "#/definitions/layoutSection_with_single_column_node"
|
770
786
|
},
|
@@ -1050,7 +1066,7 @@
|
|
1050
1066
|
"$ref": "#/definitions/heading_with_no_marks_node"
|
1051
1067
|
},
|
1052
1068
|
{
|
1053
|
-
"$ref": "#/definitions/
|
1069
|
+
"$ref": "#/definitions/codeBlock_node"
|
1054
1070
|
},
|
1055
1071
|
{
|
1056
1072
|
"$ref": "#/definitions/mediaGroup_node"
|
@@ -1596,7 +1612,7 @@
|
|
1596
1612
|
"$ref": "#/definitions/mediaSingle_full_node"
|
1597
1613
|
},
|
1598
1614
|
{
|
1599
|
-
"$ref": "#/definitions/
|
1615
|
+
"$ref": "#/definitions/codeBlock_node"
|
1600
1616
|
}
|
1601
1617
|
]
|
1602
1618
|
},
|
@@ -1621,7 +1637,7 @@
|
|
1621
1637
|
"$ref": "#/definitions/mediaSingle_full_node"
|
1622
1638
|
},
|
1623
1639
|
{
|
1624
|
-
"$ref": "#/definitions/
|
1640
|
+
"$ref": "#/definitions/codeBlock_node"
|
1625
1641
|
}
|
1626
1642
|
]
|
1627
1643
|
}
|
@@ -1653,7 +1669,7 @@
|
|
1653
1669
|
"$ref": "#/definitions/mediaSingle_full_node"
|
1654
1670
|
},
|
1655
1671
|
{
|
1656
|
-
"$ref": "#/definitions/
|
1672
|
+
"$ref": "#/definitions/codeBlock_node"
|
1657
1673
|
},
|
1658
1674
|
{
|
1659
1675
|
"$ref": "#/definitions/decisionList_node"
|
@@ -1681,7 +1697,7 @@
|
|
1681
1697
|
"$ref": "#/definitions/mediaSingle_full_node"
|
1682
1698
|
},
|
1683
1699
|
{
|
1684
|
-
"$ref": "#/definitions/
|
1700
|
+
"$ref": "#/definitions/codeBlock_node"
|
1685
1701
|
},
|
1686
1702
|
{
|
1687
1703
|
"$ref": "#/definitions/decisionList_node"
|
@@ -2074,7 +2090,7 @@
|
|
2074
2090
|
"$ref": "#/definitions/mediaGroup_node"
|
2075
2091
|
},
|
2076
2092
|
{
|
2077
|
-
"$ref": "#/definitions/
|
2093
|
+
"$ref": "#/definitions/codeBlock_node"
|
2078
2094
|
},
|
2079
2095
|
{
|
2080
2096
|
"$ref": "#/definitions/bulletList_node"
|
@@ -2164,7 +2180,7 @@
|
|
2164
2180
|
"$ref": "#/definitions/heading_with_no_marks_node"
|
2165
2181
|
},
|
2166
2182
|
{
|
2167
|
-
"$ref": "#/definitions/
|
2183
|
+
"$ref": "#/definitions/codeBlock_node"
|
2168
2184
|
},
|
2169
2185
|
{
|
2170
2186
|
"$ref": "#/definitions/mediaGroup_node"
|
@@ -2294,7 +2310,7 @@
|
|
2294
2310
|
"$ref": "#/definitions/mediaSingle_full_node"
|
2295
2311
|
},
|
2296
2312
|
{
|
2297
|
-
"$ref": "#/definitions/
|
2313
|
+
"$ref": "#/definitions/codeBlock_node"
|
2298
2314
|
},
|
2299
2315
|
{
|
2300
2316
|
"$ref": "#/definitions/taskList_node"
|
@@ -2378,7 +2394,7 @@
|
|
2378
2394
|
"$ref": "#/definitions/mediaSingle_full_node"
|
2379
2395
|
},
|
2380
2396
|
{
|
2381
|
-
"$ref": "#/definitions/
|
2397
|
+
"$ref": "#/definitions/codeBlock_node"
|
2382
2398
|
},
|
2383
2399
|
{
|
2384
2400
|
"$ref": "#/definitions/taskList_node"
|
@@ -2624,7 +2640,7 @@
|
|
2624
2640
|
"$ref": "#/definitions/heading_with_indentation_node"
|
2625
2641
|
},
|
2626
2642
|
{
|
2627
|
-
"$ref": "#/definitions/
|
2643
|
+
"$ref": "#/definitions/codeBlock_node"
|
2628
2644
|
},
|
2629
2645
|
{
|
2630
2646
|
"$ref": "#/definitions/mediaSingle_caption_node"
|
@@ -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, BlockquoteWithoutNestedCodeblockOrMediaDefinition, BodiedExtensionDefinition, BodiedExtensionWithMarksDefinition, BulletListDefinition, CodeBlockDefinition,
|
7
|
-
export type BlockDefinition = Array<BlockCardDefinition | CodeBlockDefinition |
|
6
|
+
import type { BlockCardDefinition, BlockquoteDefinition, BlockquoteLegacyDefinition, BlockquoteWithoutNestedCodeblockOrMediaDefinition, BodiedExtensionDefinition, BodiedExtensionWithMarksDefinition, BulletListDefinition, CodeBlockDefinition, ConfluenceJiraIssueDefinition, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedInlineDefinition, DateDefinition, DateStage0Definition, DecisionListDefinition, EmbedCardDefinition, EmojiDefinition, EmojiStage0Definition, ExpandDefinition, ExpandWithNoMarkDefinition, ExpandWithoutNestedExpandDefinition, ExtensionDefinition, ExtensionWithMarksDefinition, HardBreakDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithNoMarksDefinition, ImageDefinition, InlineCardDefinition, InlineCardStage0Definition, InlineExtensionDefinition, InlineExtensionWithMarksDefinition, MediaGroupDefinition, MediaInlineDefinition, MediaSingleCaptionDefinition, MediaSingleDefinition, MediaSingleFullDefinition, MediaSingleWidthTypeDefinition, MentionDefinition, MentionStage0Definition, MultiBodiedExtensionStage0Definition, OrderedListDefinition, PanelDefinition, PanelWithNestedBlockquoteStage0Definition, ParagraphDefinition, ParagraphWithAlignmentDefinition, 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 | BlockquoteWithoutNestedCodeblockOrMediaDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionDefinition | ExtensionWithMarksDefinition | HeadingDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | MediaGroupDefinition | RuleDefinition | PanelDefinition | PanelWithNestedBlockquoteStage0Definition | TableDefinition | TableWithNestedTableDefinition | BodiedExtensionDefinition | BodiedExtensionWithMarksDefinition | ExpandDefinition | ExpandWithNoMarkDefinition | ExpandWithoutNestedExpandDefinition | 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 | PanelDefinition | BlockquoteDefinition | OrderedListDefinition | BulletListDefinition | RuleDefinition | HeadingWithNoMarksDefinition |
|
10
|
+
export type NonNestableBlockContentDefinition = Array<ParagraphWithNoMarksDefinition | PanelDefinition | BlockquoteDefinition | OrderedListDefinition | BulletListDefinition | RuleDefinition | HeadingWithNoMarksDefinition | CodeBlockDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | DecisionListDefinition | TaskListDefinition | TableDefinition | TableWithNestedTableDefinition | BlockCardDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | UnsupportedBlockDefinition>;
|
@@ -27,7 +27,7 @@ export type BlockCardNode = PMNode & BlockCardDefinition;
|
|
27
27
|
export declare const blockCard: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<BlockCardNode>) => import("prosemirror-model").NodeSpec;
|
28
28
|
export interface BlockquoteDefinition {
|
29
29
|
type: 'blockquote';
|
30
|
-
content: Array<BulletListDefinition |
|
30
|
+
content: Array<BulletListDefinition | CodeBlockDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | UnsupportedBlockDefinition>;
|
31
31
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
32
32
|
}
|
33
33
|
export type BlockquoteNode = PMNode & BlockquoteDefinition;
|
@@ -48,7 +48,7 @@ export type BlockquoteWithoutNestedCodeblockOrMediaNode = PMNode & BlockquoteWit
|
|
48
48
|
export declare const blockquoteWithoutNestedCodeblockOrMedia: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<BlockquoteWithoutNestedCodeblockOrMediaNode>) => import("prosemirror-model").NodeSpec;
|
49
49
|
export interface BodiedExtensionDefinition {
|
50
50
|
type: 'bodiedExtension';
|
51
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition |
|
51
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
52
52
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
53
53
|
attrs: {
|
54
54
|
extensionKey: string;
|
@@ -92,7 +92,6 @@ export declare const caption: ({ parseDOM, toDOM, toDebugString }: import("../..
|
|
92
92
|
export interface CodeBlockDefinition {
|
93
93
|
type: 'codeBlock';
|
94
94
|
content: Array<TextDefinition | UnsupportedInlineDefinition>;
|
95
|
-
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
96
95
|
attrs: {
|
97
96
|
language?: string;
|
98
97
|
uniqueId?: string;
|
@@ -100,15 +99,17 @@ export interface CodeBlockDefinition {
|
|
100
99
|
}
|
101
100
|
export type CodeBlockNode = PMNode & CodeBlockDefinition;
|
102
101
|
export declare const codeBlock: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<CodeBlockNode>) => import("prosemirror-model").NodeSpec;
|
103
|
-
export interface
|
102
|
+
export interface CodeBlockRootOnlyDefinition {
|
104
103
|
type: 'codeBlock';
|
104
|
+
content: Array<TextDefinition | UnsupportedInlineDefinition>;
|
105
|
+
marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
105
106
|
attrs: {
|
106
107
|
language?: string;
|
107
108
|
uniqueId?: string;
|
108
109
|
};
|
109
110
|
}
|
110
|
-
export type
|
111
|
-
export declare const
|
111
|
+
export type CodeBlockRootOnlyNode = PMNode & CodeBlockRootOnlyDefinition;
|
112
|
+
export declare const codeBlockRootOnly: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<CodeBlockRootOnlyNode>) => import("prosemirror-model").NodeSpec;
|
112
113
|
export interface ConfluenceJiraIssueDefinition {
|
113
114
|
type: 'confluenceJiraIssue';
|
114
115
|
attrs: {
|
@@ -178,7 +179,7 @@ export type DecisionListNode = PMNode & DecisionListDefinition;
|
|
178
179
|
export declare const decisionList: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<DecisionListNode>) => import("prosemirror-model").NodeSpec;
|
179
180
|
export interface DocDefinition {
|
180
181
|
type: 'doc';
|
181
|
-
content: Array<BlockDefinition | BlockRootOnlyDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition>;
|
182
|
+
content: Array<BlockDefinition | BlockRootOnlyDefinition | CodeBlockRootOnlyDefinition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition>;
|
182
183
|
}
|
183
184
|
export type DocNode = PMNode & DocDefinition;
|
184
185
|
export declare const doc: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<DocNode>) => import("prosemirror-model").NodeSpec;
|
@@ -219,7 +220,7 @@ export type EmojiStage0Node = PMNode & EmojiStage0Definition;
|
|
219
220
|
export declare const emojiStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<EmojiStage0Node>) => import("prosemirror-model").NodeSpec;
|
220
221
|
export interface ExpandDefinition {
|
221
222
|
type: 'expand';
|
222
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition |
|
223
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
223
224
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
224
225
|
attrs: {
|
225
226
|
title?: string;
|
@@ -239,7 +240,7 @@ export type ExpandWithNoMarkNode = PMNode & ExpandWithNoMarkDefinition;
|
|
239
240
|
export declare const expandWithNoMark: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ExpandWithNoMarkNode>) => import("prosemirror-model").NodeSpec;
|
240
241
|
export interface ExpandWithoutNestedExpandDefinition {
|
241
242
|
type: 'expand';
|
242
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition |
|
243
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
243
244
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
244
245
|
attrs: {
|
245
246
|
title?: string;
|
@@ -278,7 +279,7 @@ export type ExtensionWithMarksNode = PMNode & ExtensionWithMarksDefinition;
|
|
278
279
|
export declare const extensionWithMarks: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ExtensionWithMarksNode>) => import("prosemirror-model").NodeSpec;
|
279
280
|
export interface ExtensionFrameStage0Definition {
|
280
281
|
type: 'extensionFrame';
|
281
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedExtensionWithMarksDefinition | BulletListDefinition |
|
282
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedExtensionWithMarksDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
282
283
|
marks: Array<DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
283
284
|
}
|
284
285
|
export type ExtensionFrameStage0Node = PMNode & ExtensionFrameStage0Definition;
|
@@ -430,14 +431,14 @@ export type LayoutSectionWithSingleColumnStage0Node = PMNode & LayoutSectionWith
|
|
430
431
|
export declare const layoutSectionWithSingleColumnStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<LayoutSectionWithSingleColumnStage0Node>) => import("prosemirror-model").NodeSpec;
|
431
432
|
export interface ListItemDefinition {
|
432
433
|
type: 'listItem';
|
433
|
-
content: Array<BulletListDefinition |
|
434
|
+
content: Array<BulletListDefinition | CodeBlockDefinition | CodeBlockDefinition | MediaSingleCaptionDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | UnsupportedBlockDefinition | UnsupportedBlockDefinition>;
|
434
435
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
435
436
|
}
|
436
437
|
export type ListItemNode = PMNode & ListItemDefinition;
|
437
438
|
export declare const listItem: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<ListItemNode>) => import("prosemirror-model").NodeSpec;
|
438
439
|
export interface ListItemWithNestedDecisionStage0Definition {
|
439
440
|
type: 'listItem';
|
440
|
-
content: Array<BulletListDefinition |
|
441
|
+
content: Array<BulletListDefinition | CodeBlockDefinition | CodeBlockDefinition | DecisionListDefinition | DecisionListDefinition | MediaSingleCaptionDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | UnsupportedBlockDefinition | UnsupportedBlockDefinition>;
|
441
442
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
442
443
|
}
|
443
444
|
export type ListItemWithNestedDecisionStage0Node = PMNode & ListItemWithNestedDecisionStage0Definition;
|
@@ -615,7 +616,7 @@ export type MultiBodiedExtensionStage0Node = PMNode & MultiBodiedExtensionStage0
|
|
615
616
|
export declare const multiBodiedExtensionStage0: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<MultiBodiedExtensionStage0Node>) => import("prosemirror-model").NodeSpec;
|
616
617
|
export interface NestedExpandDefinition {
|
617
618
|
type: 'nestedExpand';
|
618
|
-
content: Array<BlockquoteDefinition | BulletListDefinition |
|
619
|
+
content: Array<BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
619
620
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
620
621
|
attrs: {
|
621
622
|
title?: string;
|
@@ -645,7 +646,7 @@ export type OrderedListNode = PMNode & OrderedListDefinition;
|
|
645
646
|
export declare const orderedList: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<OrderedListNode>) => import("prosemirror-model").NodeSpec;
|
646
647
|
export interface PanelDefinition {
|
647
648
|
type: 'panel';
|
648
|
-
content: Array<BlockCardDefinition | BulletListDefinition |
|
649
|
+
content: Array<BlockCardDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
649
650
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
650
651
|
attrs: {
|
651
652
|
panelType: 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success' | 'custom';
|
@@ -659,7 +660,7 @@ export type PanelNode = PMNode & PanelDefinition;
|
|
659
660
|
export declare const panel: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<PanelNode>) => import("prosemirror-model").NodeSpec;
|
660
661
|
export interface PanelWithNestedBlockquoteStage0Definition {
|
661
662
|
type: 'panel';
|
662
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition |
|
663
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
663
664
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
664
665
|
attrs: {
|
665
666
|
panelType: 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success' | 'custom';
|
@@ -777,7 +778,7 @@ export type TableWithNestedTableNode = PMNode & TableWithNestedTableDefinition;
|
|
777
778
|
export declare const tableWithNestedTable: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TableWithNestedTableNode>) => import("prosemirror-model").NodeSpec;
|
778
779
|
export interface TableCellDefinition {
|
779
780
|
type: 'tableCell';
|
780
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition |
|
781
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
781
782
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
782
783
|
attrs: {
|
783
784
|
colspan?: number;
|
@@ -790,7 +791,7 @@ export type TableCellNode = PMNode & TableCellDefinition;
|
|
790
791
|
export declare const tableCell: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TableCellNode>) => import("prosemirror-model").NodeSpec;
|
791
792
|
export interface TableCellWithNestedTableDefinition {
|
792
793
|
type: 'tableCell';
|
793
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition |
|
794
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
794
795
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
795
796
|
attrs: {
|
796
797
|
colspan?: number;
|
@@ -803,7 +804,7 @@ export type TableCellWithNestedTableNode = PMNode & TableCellWithNestedTableDefi
|
|
803
804
|
export declare const tableCellWithNestedTable: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TableCellWithNestedTableNode>) => import("prosemirror-model").NodeSpec;
|
804
805
|
export interface TableHeaderDefinition {
|
805
806
|
type: 'tableHeader';
|
806
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition |
|
807
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TaskListDefinition>;
|
807
808
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
808
809
|
attrs: {
|
809
810
|
colspan?: number;
|
@@ -816,7 +817,7 @@ export type TableHeaderNode = PMNode & TableHeaderDefinition;
|
|
816
817
|
export declare const tableHeader: ({ parseDOM, toDOM, toDebugString }: import("../../schema/createPMSpecFactory").NodeSpecOptions<TableHeaderNode>) => import("prosemirror-model").NodeSpec;
|
817
818
|
export interface TableHeaderWithNestedTableDefinition {
|
818
819
|
type: 'tableHeader';
|
819
|
-
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition |
|
820
|
+
content: Array<BlockCardDefinition | BlockquoteDefinition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition>;
|
820
821
|
marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
|
821
822
|
attrs: {
|
822
823
|
colspan?: number;
|
@@ -1,4 +1,8 @@
|
|
1
|
-
export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<any, import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "
|
1
|
+
export declare const nonNestableBlockContent: (import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<any, import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "root_only"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
2
|
+
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
3
|
+
noMarks: false;
|
4
|
+
noExtend: true;
|
5
|
+
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "legacy", "without_nested_codeblock_or_media"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
2
6
|
ignore: ("json-schema" | "validator-spec")[];
|
3
7
|
content: import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFNodeContentOneOrMoreSpec[];
|
4
8
|
} & {
|
@@ -1,4 +1,8 @@
|
|
1
|
-
export declare const tableCellContentNodes: (import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<
|
1
|
+
export declare const tableCellContentNodes: (import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "root_only"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
2
|
+
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
3
|
+
noMarks: false;
|
4
|
+
noExtend: true;
|
5
|
+
}> | import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<any, import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
2
6
|
atom: false;
|
3
7
|
ignore: any[];
|
4
8
|
marks: any[];
|
@@ -1,18 +1,5 @@
|
|
1
|
-
export declare const codeBlock: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "
|
1
|
+
export declare const codeBlock: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "root_only"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
2
2
|
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
3
|
-
|
4
|
-
|
5
|
-
content: any[];
|
6
|
-
marks: any[];
|
7
|
-
noMarks: true;
|
8
|
-
ignore: any[];
|
9
|
-
}>;
|
10
|
-
export declare const codeBlockWithNoMarks: import("@atlaskit/adf-schema-generator/dist/types/adfNode").ADFNode<[string, "with_marks", "with_no_marks"], import("@atlaskit/adf-schema-generator/dist/types/types/ADFNodeSpec").ADFCommonNodeSpec & {
|
11
|
-
marks: import("@atlaskit/adf-schema-generator/dist/types/adfMark").ADFMark<import("@atlaskit/adf-schema-generator/dist/types/types/ADFMarkSpec").ADFMarkSpec>[];
|
12
|
-
ignore: "pm-spec"[];
|
13
|
-
} & {
|
14
|
-
content: any[];
|
15
|
-
marks: any[];
|
16
|
-
noMarks: true;
|
17
|
-
ignore: any[];
|
3
|
+
noMarks: false;
|
4
|
+
noExtend: true;
|
18
5
|
}>;
|
@@ -2,9 +2,6 @@ import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import { TextDefinition as Text } from './text';
|
3
3
|
import { BreakoutMarkDefinition } from '../marks/breakout';
|
4
4
|
import { MarksObject, NoMark } from './types/mark';
|
5
|
-
/**
|
6
|
-
* @name codeBlock_node
|
7
|
-
*/
|
8
5
|
export type CodeBlockBaseDefinition = {
|
9
6
|
type: 'codeBlock';
|
10
7
|
/**
|
@@ -23,7 +20,7 @@ export type CodeBlockAttrs = {
|
|
23
20
|
*/
|
24
21
|
export type CodeBlockDefinition = CodeBlockBaseDefinition & NoMark;
|
25
22
|
/**
|
26
|
-
* @name
|
23
|
+
* @name codeBlock_node
|
27
24
|
*/
|
28
25
|
export type CodeBlockWithMarksDefinition = CodeBlockBaseDefinition & MarksObject<BreakoutMarkDefinition>;
|
29
26
|
export declare const codeBlock: import("prosemirror-model").NodeSpec;
|
@@ -286,6 +286,10 @@ export declare const codeBlock: {
|
|
286
286
|
type: string;
|
287
287
|
optional: boolean;
|
288
288
|
};
|
289
|
+
uniqueId: {
|
290
|
+
type: string;
|
291
|
+
optional: boolean;
|
292
|
+
};
|
289
293
|
};
|
290
294
|
optional: boolean;
|
291
295
|
};
|
@@ -304,14 +308,9 @@ export declare const codeBlock: {
|
|
304
308
|
optional: boolean;
|
305
309
|
allowUnsupportedInline: boolean;
|
306
310
|
};
|
307
|
-
marks: {
|
308
|
-
type: string;
|
309
|
-
items: any[];
|
310
|
-
optional: boolean;
|
311
|
-
};
|
312
311
|
};
|
313
312
|
};
|
314
|
-
export declare const
|
313
|
+
export declare const codeBlock_root_only: (string | {
|
315
314
|
props: {
|
316
315
|
marks: {
|
317
316
|
type: string;
|
@@ -320,16 +319,6 @@ export declare const codeBlock_with_marks: (string | {
|
|
320
319
|
};
|
321
320
|
};
|
322
321
|
})[];
|
323
|
-
export declare const codeBlock_with_no_marks: (string | {
|
324
|
-
props: {
|
325
|
-
marks: {
|
326
|
-
type: string;
|
327
|
-
maxItems: number;
|
328
|
-
items: any[];
|
329
|
-
optional: boolean;
|
330
|
-
};
|
331
|
-
};
|
332
|
-
})[];
|
333
322
|
export declare const confluenceInlineComment: {
|
334
323
|
props: {
|
335
324
|
type: {
|
@@ -1068,6 +1057,10 @@ export declare const mediaInline: {
|
|
1068
1057
|
values: string[];
|
1069
1058
|
optional: boolean;
|
1070
1059
|
};
|
1060
|
+
url: {
|
1061
|
+
type: string;
|
1062
|
+
optional: boolean;
|
1063
|
+
};
|
1071
1064
|
id: {
|
1072
1065
|
minLength: number;
|
1073
1066
|
type: string;
|