@atlaskit/adf-schema 57.5.3 → 57.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/codemods/23.0.0-move-bitbucket-schema-to-own-entry-points.ts +1 -0
  3. package/codemods/23.0.0-move-confluence-schema-to-own-entry-points.ts +1 -0
  4. package/codemods/23.0.0-move-default-schema-to-own-entry-points.ts +1 -0
  5. package/codemods/23.0.0-move-jira-schema-to-own-entry-points.ts +1 -0
  6. package/dist/cjs/next-schema/full-schema.adf.js +8 -8
  7. package/dist/cjs/next-schema/generated/nodeTypes.js +66 -17
  8. package/dist/cjs/next-schema/groups/blockContentGroup.js +1 -1
  9. package/dist/cjs/next-schema/groups/blockGroup.js +1 -1
  10. package/dist/cjs/next-schema/groups/inlineContentGroup.js +6 -6
  11. package/dist/cjs/next-schema/groups/inlineGroup.js +6 -6
  12. package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  13. package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +2 -2
  14. package/dist/cjs/next-schema/nodes/blockquote.js +5 -5
  15. package/dist/cjs/next-schema/nodes/bodiedSyncBlock.js +3 -3
  16. package/dist/cjs/next-schema/nodes/expand.js +3 -2
  17. package/dist/cjs/next-schema/nodes/extension.js +8 -0
  18. package/dist/cjs/next-schema/nodes/list.js +1 -1
  19. package/dist/cjs/next-schema/nodes/nestedExpand.js +1 -1
  20. package/dist/cjs/next-schema/nodes/panel.js +5 -5
  21. package/dist/cjs/next-schema/nodes/tableNodes.js +3 -3
  22. package/dist/cjs/next-schema/nodes/task.js +1 -1
  23. package/dist/cjs/next-schema/nodes/text.js +4 -4
  24. package/dist/cjs/schema/default-schema.js +3 -1
  25. package/dist/cjs/schema/nodes/decision-item.js +1 -1
  26. package/dist/cjs/schema/nodes/decision-list.js +1 -1
  27. package/dist/cjs/schema/nodes/extension.js +15 -1
  28. package/dist/cjs/schema/nodes/status.js +1 -1
  29. package/dist/cjs/schema/nodes/task-item.js +1 -1
  30. package/dist/cjs/steps/analytics.js +1 -1
  31. package/dist/cjs/steps/batch-attrs-step.js +1 -1
  32. package/dist/cjs/steps/link-meta-step.js +1 -1
  33. package/dist/cjs/steps/override-document-step.js +1 -1
  34. package/dist/cjs/steps/set-attrs.js +2 -2
  35. package/dist/cjs/steps/type-ahead.js +1 -1
  36. package/dist/cjs/utils/colors.js +1 -0
  37. package/dist/cjs/validator-schema/generated/validatorSpec.js +39 -15
  38. package/dist/es2019/next-schema/full-schema.adf.js +8 -8
  39. package/dist/es2019/next-schema/generated/nodeTypes.js +65 -16
  40. package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -1
  41. package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
  42. package/dist/es2019/next-schema/groups/inlineContentGroup.js +6 -6
  43. package/dist/es2019/next-schema/groups/inlineGroup.js +6 -6
  44. package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  45. package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +2 -2
  46. package/dist/es2019/next-schema/nodes/blockquote.js +5 -5
  47. package/dist/es2019/next-schema/nodes/bodiedSyncBlock.js +3 -3
  48. package/dist/es2019/next-schema/nodes/expand.js +3 -2
  49. package/dist/es2019/next-schema/nodes/extension.js +8 -0
  50. package/dist/es2019/next-schema/nodes/list.js +1 -1
  51. package/dist/es2019/next-schema/nodes/nestedExpand.js +1 -1
  52. package/dist/es2019/next-schema/nodes/panel.js +5 -5
  53. package/dist/es2019/next-schema/nodes/tableNodes.js +3 -3
  54. package/dist/es2019/next-schema/nodes/task.js +1 -1
  55. package/dist/es2019/next-schema/nodes/text.js +4 -4
  56. package/dist/es2019/schema/default-schema.js +3 -1
  57. package/dist/es2019/schema/jira-schema.js +1 -0
  58. package/dist/es2019/schema/nodes/decision-item.js +1 -1
  59. package/dist/es2019/schema/nodes/decision-list.js +1 -1
  60. package/dist/es2019/schema/nodes/extension.js +16 -0
  61. package/dist/es2019/schema/nodes/status.js +1 -1
  62. package/dist/es2019/schema/nodes/task-item.js +1 -1
  63. package/dist/es2019/steps/analytics.js +1 -1
  64. package/dist/es2019/steps/batch-attrs-step.js +1 -1
  65. package/dist/es2019/steps/link-meta-step.js +1 -1
  66. package/dist/es2019/steps/override-document-step.js +1 -1
  67. package/dist/es2019/steps/set-attrs.js +2 -2
  68. package/dist/es2019/steps/type-ahead.js +1 -1
  69. package/dist/es2019/utils/colors.js +1 -0
  70. package/dist/es2019/validator-schema/generated/validatorSpec.js +37 -13
  71. package/dist/esm/next-schema/full-schema.adf.js +8 -8
  72. package/dist/esm/next-schema/generated/nodeTypes.js +65 -16
  73. package/dist/esm/next-schema/groups/blockContentGroup.js +1 -1
  74. package/dist/esm/next-schema/groups/blockGroup.js +1 -1
  75. package/dist/esm/next-schema/groups/inlineContentGroup.js +6 -6
  76. package/dist/esm/next-schema/groups/inlineGroup.js +6 -6
  77. package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
  78. package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +2 -2
  79. package/dist/esm/next-schema/nodes/blockquote.js +5 -5
  80. package/dist/esm/next-schema/nodes/bodiedSyncBlock.js +3 -3
  81. package/dist/esm/next-schema/nodes/expand.js +3 -2
  82. package/dist/esm/next-schema/nodes/extension.js +8 -0
  83. package/dist/esm/next-schema/nodes/list.js +1 -1
  84. package/dist/esm/next-schema/nodes/nestedExpand.js +1 -1
  85. package/dist/esm/next-schema/nodes/panel.js +5 -5
  86. package/dist/esm/next-schema/nodes/tableNodes.js +3 -3
  87. package/dist/esm/next-schema/nodes/task.js +1 -1
  88. package/dist/esm/next-schema/nodes/text.js +4 -4
  89. package/dist/esm/schema/default-schema.js +3 -1
  90. package/dist/esm/schema/jira-schema.js +1 -0
  91. package/dist/esm/schema/nodes/decision-item.js +1 -1
  92. package/dist/esm/schema/nodes/decision-list.js +1 -1
  93. package/dist/esm/schema/nodes/extension.js +14 -0
  94. package/dist/esm/schema/nodes/status.js +1 -1
  95. package/dist/esm/schema/nodes/task-item.js +1 -1
  96. package/dist/esm/steps/analytics.js +1 -1
  97. package/dist/esm/steps/batch-attrs-step.js +1 -1
  98. package/dist/esm/steps/link-meta-step.js +1 -1
  99. package/dist/esm/steps/override-document-step.js +1 -1
  100. package/dist/esm/steps/set-attrs.js +2 -2
  101. package/dist/esm/steps/type-ahead.js +1 -1
  102. package/dist/esm/utils/colors.js +1 -0
  103. package/dist/esm/validator-schema/generated/validatorSpec.js +37 -13
  104. package/dist/json-schema/v1/stage-0.json +106 -0
  105. package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +2 -2
  106. package/dist/types/next-schema/generated/nodeTypes.d.ts +43 -15
  107. package/dist/types/next-schema/nodes/extension.d.ts +3 -1
  108. package/dist/types/schema/nodes/block-card.d.ts +1 -1
  109. package/dist/types/schema/nodes/blockquote.d.ts +3 -3
  110. package/dist/types/schema/nodes/bodied-rule.d.ts +1 -1
  111. package/dist/types/schema/nodes/bodied-sync-block.d.ts +8 -8
  112. package/dist/types/schema/nodes/caption.d.ts +1 -1
  113. package/dist/types/schema/nodes/date.d.ts +1 -1
  114. package/dist/types/schema/nodes/decision-item.d.ts +1 -1
  115. package/dist/types/schema/nodes/decision-list.d.ts +1 -1
  116. package/dist/types/schema/nodes/doc.d.ts +8 -8
  117. package/dist/types/schema/nodes/embed-card.d.ts +1 -1
  118. package/dist/types/schema/nodes/expand.d.ts +1 -1
  119. package/dist/types/schema/nodes/extension.d.ts +11 -0
  120. package/dist/types/schema/nodes/heading.d.ts +2 -2
  121. package/dist/types/schema/nodes/inline-card.d.ts +2 -2
  122. package/dist/types/schema/nodes/layout-column.d.ts +1 -1
  123. package/dist/types/schema/nodes/layout-section.d.ts +2 -2
  124. package/dist/types/schema/nodes/media-group.d.ts +1 -1
  125. package/dist/types/schema/nodes/multi-bodied-extension.d.ts +1 -1
  126. package/dist/types/schema/nodes/nested-expand.d.ts +11 -11
  127. package/dist/types/schema/nodes/panel.d.ts +1 -1
  128. package/dist/types/schema/nodes/paragraph.d.ts +2 -2
  129. package/dist/types/schema/nodes/status.d.ts +1 -1
  130. package/dist/types/schema/nodes/tableNodes.d.ts +1 -1
  131. package/dist/types/schema/nodes/task-item.d.ts +3 -3
  132. package/dist/types/schema/nodes/types/block-content.d.ts +12 -12
  133. package/dist/types/schema/nodes/types/inline-content.d.ts +1 -1
  134. package/dist/types/schema/nodes/types/list.d.ts +2 -2
  135. package/dist/types/schema/nodes/types/non-nestable-block-content.d.ts +10 -10
  136. package/dist/types/steps/analytics.d.ts +1 -1
  137. package/dist/types/steps/batch-attrs-step.d.ts +1 -1
  138. package/dist/types/steps/link-meta-step.d.ts +1 -1
  139. package/dist/types/steps/override-document-step.d.ts +2 -2
  140. package/dist/types/steps/set-attrs.d.ts +2 -2
  141. package/dist/types/steps/type-ahead.d.ts +1 -1
  142. package/dist/types/validator-schema/generated/validatorSpec.d.ts +24 -0
  143. package/json-schema/v1/stage-0.json +106 -0
  144. package/package.json +6 -2
  145. package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +2 -0
  146. package/schema-generators/__tests__/unit/json-full-schema-backwards-compat.unit.ts +2 -0
  147. package/schema-generators/helpers/writeToFile.ts +1 -0
  148. package/schema-generators/json-full-schema.ts +2 -0
  149. package/schema-generators/pm-full-schema.ts +2 -0
  150. package/schema-generators/validator-full-schema.ts +2 -0
@@ -132,6 +132,9 @@
132
132
  {
133
133
  "$ref": "#/definitions/extension_with_marks_node"
134
134
  },
135
+ {
136
+ "$ref": "#/definitions/extension_with_annotation_node"
137
+ },
135
138
  {
136
139
  "$ref": "#/definitions/embedCard_node"
137
140
  },
@@ -279,6 +282,9 @@
279
282
  },
280
283
  {
281
284
  "$ref": "#/definitions/extension_with_marks_node"
285
+ },
286
+ {
287
+ "$ref": "#/definitions/extension_with_annotation_node"
282
288
  }
283
289
  ]
284
290
  },
@@ -320,6 +326,9 @@
320
326
  },
321
327
  {
322
328
  "$ref": "#/definitions/extension_with_marks_node"
329
+ },
330
+ {
331
+ "$ref": "#/definitions/extension_with_annotation_node"
323
332
  }
324
333
  ]
325
334
  },
@@ -333,6 +342,9 @@
333
342
  },
334
343
  {
335
344
  "$ref": "#/definitions/extension_with_marks_node"
345
+ },
346
+ {
347
+ "$ref": "#/definitions/extension_with_annotation_node"
336
348
  }
337
349
  ]
338
350
  }
@@ -1100,6 +1112,9 @@
1100
1112
  {
1101
1113
  "$ref": "#/definitions/extension_with_marks_node"
1102
1114
  },
1115
+ {
1116
+ "$ref": "#/definitions/extension_with_annotation_node"
1117
+ },
1103
1118
  {
1104
1119
  "$ref": "#/definitions/heading_with_indentation_node"
1105
1120
  },
@@ -1157,6 +1172,9 @@
1157
1172
  {
1158
1173
  "$ref": "#/definitions/extension_root_only_node"
1159
1174
  },
1175
+ {
1176
+ "$ref": "#/definitions/extension_root_only_with_annotation_node"
1177
+ },
1160
1178
  {
1161
1179
  "$ref": "#/definitions/bodiedExtension_root_only_node"
1162
1180
  },
@@ -1310,6 +1328,9 @@
1310
1328
  {
1311
1329
  "$ref": "#/definitions/non_nestable_block_content"
1312
1330
  },
1331
+ {
1332
+ "$ref": "#/definitions/extension_with_annotation_node"
1333
+ },
1313
1334
  {
1314
1335
  "$ref": "#/definitions/nestedExpand_with_no_marks_node"
1315
1336
  }
@@ -1352,6 +1373,9 @@
1352
1373
  {
1353
1374
  "$ref": "#/definitions/non_nestable_block_content"
1354
1375
  },
1376
+ {
1377
+ "$ref": "#/definitions/extension_with_annotation_node"
1378
+ },
1355
1379
  {
1356
1380
  "$ref": "#/definitions/nestedExpand_with_no_marks_node"
1357
1381
  }
@@ -1431,6 +1455,67 @@
1431
1455
  }
1432
1456
  ]
1433
1457
  },
1458
+ "extension_root_only_with_annotation_node": {
1459
+ "allOf": [
1460
+ {
1461
+ "$ref": "#/definitions/extension_node"
1462
+ },
1463
+ {
1464
+ "type": "object",
1465
+ "properties": {
1466
+ "marks": {
1467
+ "type": "array",
1468
+ "items": {
1469
+ "anyOf": [
1470
+ {
1471
+ "$ref": "#/definitions/annotation_mark"
1472
+ },
1473
+ {
1474
+ "$ref": "#/definitions/breakout_mark"
1475
+ },
1476
+ {
1477
+ "$ref": "#/definitions/dataConsumer_mark"
1478
+ },
1479
+ {
1480
+ "$ref": "#/definitions/fragment_mark"
1481
+ }
1482
+ ]
1483
+ }
1484
+ }
1485
+ },
1486
+ "additionalProperties": true
1487
+ }
1488
+ ]
1489
+ },
1490
+ "extension_with_annotation_node": {
1491
+ "allOf": [
1492
+ {
1493
+ "$ref": "#/definitions/extension_node"
1494
+ },
1495
+ {
1496
+ "type": "object",
1497
+ "properties": {
1498
+ "marks": {
1499
+ "type": "array",
1500
+ "items": {
1501
+ "anyOf": [
1502
+ {
1503
+ "$ref": "#/definitions/annotation_mark"
1504
+ },
1505
+ {
1506
+ "$ref": "#/definitions/dataConsumer_mark"
1507
+ },
1508
+ {
1509
+ "$ref": "#/definitions/fragment_mark"
1510
+ }
1511
+ ]
1512
+ }
1513
+ }
1514
+ },
1515
+ "additionalProperties": true
1516
+ }
1517
+ ]
1518
+ },
1434
1519
  "extension_with_marks_node": {
1435
1520
  "allOf": [
1436
1521
  {
@@ -2132,6 +2217,9 @@
2132
2217
  },
2133
2218
  {
2134
2219
  "$ref": "#/definitions/extension_with_marks_node"
2220
+ },
2221
+ {
2222
+ "$ref": "#/definitions/extension_with_annotation_node"
2135
2223
  }
2136
2224
  ]
2137
2225
  },
@@ -2625,6 +2713,9 @@
2625
2713
  },
2626
2714
  {
2627
2715
  "$ref": "#/definitions/extension_with_marks_node"
2716
+ },
2717
+ {
2718
+ "$ref": "#/definitions/extension_with_annotation_node"
2628
2719
  }
2629
2720
  ]
2630
2721
  },
@@ -2857,6 +2948,9 @@
2857
2948
  {
2858
2949
  "$ref": "#/definitions/extension_with_marks_node"
2859
2950
  },
2951
+ {
2952
+ "$ref": "#/definitions/extension_with_annotation_node"
2953
+ },
2860
2954
  {
2861
2955
  "$ref": "#/definitions/table_node"
2862
2956
  }
@@ -2965,6 +3059,9 @@
2965
3059
  {
2966
3060
  "$ref": "#/definitions/extension_with_marks_node"
2967
3061
  },
3062
+ {
3063
+ "$ref": "#/definitions/extension_with_annotation_node"
3064
+ },
2968
3065
  {
2969
3066
  "$ref": "#/definitions/table_node"
2970
3067
  }
@@ -3066,6 +3163,9 @@
3066
3163
  },
3067
3164
  {
3068
3165
  "$ref": "#/definitions/extension_with_marks_node"
3166
+ },
3167
+ {
3168
+ "$ref": "#/definitions/extension_with_annotation_node"
3069
3169
  }
3070
3170
  ]
3071
3171
  },
@@ -3140,6 +3240,9 @@
3140
3240
  },
3141
3241
  {
3142
3242
  "$ref": "#/definitions/extension_with_marks_node"
3243
+ },
3244
+ {
3245
+ "$ref": "#/definitions/extension_with_annotation_node"
3143
3246
  }
3144
3247
  ]
3145
3248
  },
@@ -3569,6 +3672,9 @@
3569
3672
  {
3570
3673
  "$ref": "#/definitions/extension_with_marks_node"
3571
3674
  },
3675
+ {
3676
+ "$ref": "#/definitions/extension_with_annotation_node"
3677
+ },
3572
3678
  {
3573
3679
  "$ref": "#/definitions/nestedExpand_with_no_marks_node"
3574
3680
  }
@@ -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, BodiedRuleStage0Definition, 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, PanelC1Stage0Definition, PanelDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithFontSizeDefinition, ParagraphWithIndentationDefinition, ParagraphWithNoMarksDefinition, PlaceholderDefinition, RuleDefinition, RuleWithAttrsStage0Definition, 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 | RuleWithAttrsStage0Definition | BodiedRuleStage0Definition | PanelDefinition | PanelC1Stage0Definition | TableDefinition | TableWithNestedTableDefinition | BodiedExtensionDefinition | BodiedExtensionWithMarksDefinition | ExpandDefinition | ConfluenceUnsupportedBlockDefinition | UnsupportedBlockDefinition>;
6
+ import type { BlockCardDefinition, BlockquoteDefinition, BlockquoteLegacyDefinition, BodiedExtensionDefinition, BodiedExtensionWithMarksDefinition, BodiedRuleStage0Definition, BulletListDefinition, CodeBlockDefinition, ConfluenceJiraIssueDefinition, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedInlineDefinition, DateDefinition, DateStage0Definition, DecisionListDefinition, EmbedCardDefinition, EmojiDefinition, EmojiStage0Definition, ExpandDefinition, ExtensionDefinition, ExtensionWithAnnotationStage0Definition, ExtensionWithMarksDefinition, HardBreakDefinition, HeadingDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithNoMarksDefinition, ImageDefinition, InlineCardDefinition, InlineCardStage0Definition, InlineExtensionDefinition, InlineExtensionWithMarksDefinition, MediaGroupDefinition, MediaInlineDefinition, MediaSingleCaptionDefinition, MediaSingleDefinition, MediaSingleFullDefinition, MediaSingleWidthTypeDefinition, MentionDefinition, MentionStage0Definition, MultiBodiedExtensionStage0Definition, OrderedListDefinition, PanelC1Stage0Definition, PanelDefinition, ParagraphDefinition, ParagraphWithAlignmentDefinition, ParagraphWithFontSizeDefinition, ParagraphWithIndentationDefinition, ParagraphWithNoMarksDefinition, PlaceholderDefinition, RuleDefinition, RuleWithAttrsStage0Definition, 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 | ExtensionWithAnnotationStage0Definition | HeadingDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | HeadingWithAlignmentDefinition | MediaGroupDefinition | RuleDefinition | RuleWithAttrsStage0Definition | BodiedRuleStage0Definition | PanelDefinition | PanelC1Stage0Definition | 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
10
  export type NonNestableBlockContentDefinition = Array<ParagraphWithNoMarksDefinition | ParagraphWithFontSizeDefinition | PanelDefinition | BlockquoteDefinition | OrderedListDefinition | BulletListDefinition | RuleDefinition | RuleWithAttrsStage0Definition | BodiedRuleStage0Definition | HeadingWithNoMarksDefinition | CodeBlockDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | DecisionListDefinition | TaskListDefinition | TableDefinition | TableWithNestedTableDefinition | BlockCardDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | UnsupportedBlockDefinition>;
@@ -31,7 +31,7 @@ export type BlockCardNode = PMNode & BlockCardDefinition;
31
31
  export declare const blockCard: PMNodeSpecFactoryInstance<BlockCardNode>;
32
32
  export interface BlockquoteDefinition {
33
33
  type: 'blockquote';
34
- content: Array<BulletListDefinition | CodeBlockDefinition | ExtensionWithMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | UnsupportedBlockDefinition>;
34
+ content: Array<BulletListDefinition | CodeBlockDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithNoMarksDefinition | UnsupportedBlockDefinition>;
35
35
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
36
36
  attrs: {
37
37
  localId?: string;
@@ -51,7 +51,7 @@ export type BlockquoteLegacyNode = PMNode & BlockquoteLegacyDefinition;
51
51
  export declare const blockquoteLegacy: PMNodeSpecFactoryInstance<BlockquoteLegacyNode>;
52
52
  export interface BlockTaskItemDefinition {
53
53
  type: 'blockTaskItem';
54
- content: Array<ExtensionWithMarksDefinition | ExtensionWithMarksDefinition | ParagraphWithFontSizeDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | ParagraphWithNoMarksDefinition>;
54
+ content: Array<ExtensionWithAnnotationStage0Definition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | ExtensionWithMarksDefinition | ParagraphWithFontSizeDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | ParagraphWithNoMarksDefinition>;
55
55
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
56
56
  attrs: {
57
57
  localId: string;
@@ -261,7 +261,7 @@ export type DecisionListNode = PMNode & DecisionListDefinition;
261
261
  export declare const decisionList: PMNodeSpecFactoryInstance<DecisionListNode>;
262
262
  export interface DocDefinition {
263
263
  type: 'doc';
264
- content: Array<BlockDefinition | BlockRootOnlyDefinition | BodiedExtensionRootOnlyStage0Definition | BodiedRuleRootOnlyStage0Definition | BodiedSyncBlockDefinition | CodeBlockRootOnlyDefinition | ExpandRootOnlyDefinition | ExtensionRootOnlyStage0Definition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition | MultiBodiedExtensionRootOnlyStage0Definition | PanelC1RootOnlyStage0Definition | PanelC1Stage0Definition | PanelRootOnlyStage0Definition | RuleRootOnlyStage0Definition | RuleWithAttrsRootOnlyStage0Definition | SyncBlockDefinition>;
264
+ content: Array<BlockDefinition | BlockRootOnlyDefinition | BodiedExtensionRootOnlyStage0Definition | BodiedRuleRootOnlyStage0Definition | BodiedSyncBlockDefinition | CodeBlockRootOnlyDefinition | ExpandRootOnlyDefinition | ExtensionRootOnlyStage0Definition | ExtensionRootOnlyWithAnnotationStage0Definition | LayoutSectionDefinition | LayoutSectionFullDefinition | LayoutSectionWithSingleColumnStage0Definition | MultiBodiedExtensionRootOnlyStage0Definition | PanelC1RootOnlyStage0Definition | PanelC1Stage0Definition | PanelRootOnlyStage0Definition | RuleRootOnlyStage0Definition | RuleWithAttrsRootOnlyStage0Definition | SyncBlockDefinition>;
265
265
  }
266
266
  export type DocNode = PMNode & DocDefinition;
267
267
  export declare const doc: PMNodeSpecFactoryInstance<DocNode>;
@@ -305,7 +305,7 @@ export type EmojiStage0Node = PMNode & EmojiStage0Definition;
305
305
  export declare const emojiStage0: PMNodeSpecFactoryInstance<EmojiStage0Node>;
306
306
  export interface ExpandDefinition {
307
307
  type: 'expand';
308
- content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
308
+ content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
309
309
  attrs: {
310
310
  title?: string;
311
311
  __expanded?: boolean;
@@ -316,7 +316,7 @@ export type ExpandNode = PMNode & ExpandDefinition;
316
316
  export declare const expand: PMNodeSpecFactoryInstance<ExpandNode>;
317
317
  export interface ExpandRootOnlyDefinition {
318
318
  type: 'expand';
319
- content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
319
+ content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TableWithNestedTableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
320
320
  marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
321
321
  attrs: {
322
322
  title?: string;
@@ -354,6 +354,34 @@ export interface ExtensionRootOnlyStage0Definition {
354
354
  }
355
355
  export type ExtensionRootOnlyStage0Node = PMNode & ExtensionRootOnlyStage0Definition;
356
356
  export declare const extensionRootOnlyStage0: PMNodeSpecFactoryInstance<ExtensionRootOnlyStage0Node>;
357
+ export interface ExtensionRootOnlyWithAnnotationStage0Definition {
358
+ type: 'extension';
359
+ marks: Array<AnnotationMark | BreakoutMark | DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
360
+ attrs: {
361
+ extensionKey: string;
362
+ extensionType: string;
363
+ parameters?: Record<string, unknown>;
364
+ text?: string;
365
+ layout?: 'wide' | 'full-width' | 'default';
366
+ localId?: string;
367
+ };
368
+ }
369
+ export type ExtensionRootOnlyWithAnnotationStage0Node = PMNode & ExtensionRootOnlyWithAnnotationStage0Definition;
370
+ export declare const extensionRootOnlyWithAnnotationStage0: PMNodeSpecFactoryInstance<ExtensionRootOnlyWithAnnotationStage0Node>;
371
+ export interface ExtensionWithAnnotationStage0Definition {
372
+ type: 'extension';
373
+ marks: Array<AnnotationMark | DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
374
+ attrs: {
375
+ extensionKey: string;
376
+ extensionType: string;
377
+ parameters?: Record<string, unknown>;
378
+ text?: string;
379
+ layout?: 'wide' | 'full-width' | 'default';
380
+ localId?: string;
381
+ };
382
+ }
383
+ export type ExtensionWithAnnotationStage0Node = PMNode & ExtensionWithAnnotationStage0Definition;
384
+ export declare const extensionWithAnnotationStage0: PMNodeSpecFactoryInstance<ExtensionWithAnnotationStage0Node>;
357
385
  export interface ExtensionWithMarksDefinition {
358
386
  type: 'extension';
359
387
  marks: Array<DataConsumerMark | FragmentMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
@@ -536,7 +564,7 @@ export type LayoutSectionWithSingleColumnStage0Node = PMNode & LayoutSectionWith
536
564
  export declare const layoutSectionWithSingleColumnStage0: PMNodeSpecFactoryInstance<LayoutSectionWithSingleColumnStage0Node>;
537
565
  export interface ListItemDefinition {
538
566
  type: 'listItem';
539
- content: Array<BulletListDefinition | CodeBlockDefinition | ExtensionWithMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
567
+ content: Array<BulletListDefinition | CodeBlockDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
540
568
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
541
569
  attrs: {
542
570
  localId?: string;
@@ -743,7 +771,7 @@ export type MultiBodiedExtensionStage0Node = PMNode & MultiBodiedExtensionStage0
743
771
  export declare const multiBodiedExtensionStage0: PMNodeSpecFactoryInstance<MultiBodiedExtensionStage0Node>;
744
772
  export interface NestedExpandDefinition {
745
773
  type: 'nestedExpand';
746
- content: Array<BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TaskListDefinition | UnsupportedBlockDefinition>;
774
+ content: Array<BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TaskListDefinition | UnsupportedBlockDefinition>;
747
775
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
748
776
  attrs: {
749
777
  title?: string;
@@ -776,7 +804,7 @@ export type OrderedListNode = PMNode & OrderedListDefinition;
776
804
  export declare const orderedList: PMNodeSpecFactoryInstance<OrderedListNode>;
777
805
  export interface PanelDefinition {
778
806
  type: 'panel';
779
- content: Array<BlockCardDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TaskListDefinition | UnsupportedBlockDefinition>;
807
+ content: Array<BlockCardDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TaskListDefinition | UnsupportedBlockDefinition>;
780
808
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
781
809
  attrs: {
782
810
  panelType: 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success' | 'custom';
@@ -791,7 +819,7 @@ export type PanelNode = PMNode & PanelDefinition;
791
819
  export declare const panel: PMNodeSpecFactoryInstance<PanelNode>;
792
820
  export interface PanelC1RootOnlyStage0Definition {
793
821
  type: 'panel';
794
- content: Array<BlockCardDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
822
+ content: Array<BlockCardDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
795
823
  marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
796
824
  attrs: {
797
825
  panelType: 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success' | 'custom';
@@ -806,7 +834,7 @@ export type PanelC1RootOnlyStage0Node = PMNode & PanelC1RootOnlyStage0Definition
806
834
  export declare const panelC1RootOnlyStage0: PMNodeSpecFactoryInstance<PanelC1RootOnlyStage0Node>;
807
835
  export interface PanelC1Stage0Definition {
808
836
  type: 'panel';
809
- content: Array<BlockCardDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
837
+ content: Array<BlockCardDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
810
838
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
811
839
  attrs: {
812
840
  panelType: 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success' | 'custom';
@@ -821,7 +849,7 @@ export type PanelC1Stage0Node = PMNode & PanelC1Stage0Definition;
821
849
  export declare const panelC1Stage0: PMNodeSpecFactoryInstance<PanelC1Stage0Node>;
822
850
  export interface PanelRootOnlyStage0Definition {
823
851
  type: 'panel';
824
- content: Array<BlockCardDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TaskListDefinition | UnsupportedBlockDefinition>;
852
+ content: Array<BlockCardDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | ParagraphWithFontSizeDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TaskListDefinition | UnsupportedBlockDefinition>;
825
853
  marks: Array<BreakoutMark | UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
826
854
  attrs: {
827
855
  panelType: 'info' | 'note' | 'tip' | 'warning' | 'error' | 'success' | 'custom';
@@ -995,7 +1023,7 @@ export type TableWithNestedTableNode = PMNode & TableWithNestedTableDefinition;
995
1023
  export declare const tableWithNestedTable: PMNodeSpecFactoryInstance<TableWithNestedTableNode>;
996
1024
  export interface TableCellDefinition {
997
1025
  type: 'tableCell';
998
- content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TaskListDefinition | UnsupportedBlockDefinition>;
1026
+ content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TaskListDefinition | UnsupportedBlockDefinition>;
999
1027
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
1000
1028
  attrs: {
1001
1029
  colspan?: number;
@@ -1010,7 +1038,7 @@ export type TableCellNode = PMNode & TableCellDefinition;
1010
1038
  export declare const tableCell: PMNodeSpecFactoryInstance<TableCellNode>;
1011
1039
  export interface TableCellWithNestedTableDefinition {
1012
1040
  type: 'tableCell';
1013
- content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
1041
+ content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
1014
1042
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
1015
1043
  attrs: {
1016
1044
  colspan?: number;
@@ -1025,7 +1053,7 @@ export type TableCellWithNestedTableNode = PMNode & TableCellWithNestedTableDefi
1025
1053
  export declare const tableCellWithNestedTable: PMNodeSpecFactoryInstance<TableCellWithNestedTableNode>;
1026
1054
  export interface TableHeaderDefinition {
1027
1055
  type: 'tableHeader';
1028
- content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TaskListDefinition>;
1056
+ content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TaskListDefinition>;
1029
1057
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
1030
1058
  attrs: {
1031
1059
  colspan?: number;
@@ -1040,7 +1068,7 @@ export type TableHeaderNode = PMNode & TableHeaderDefinition;
1040
1068
  export declare const tableHeader: PMNodeSpecFactoryInstance<TableHeaderNode>;
1041
1069
  export interface TableHeaderWithNestedTableDefinition {
1042
1070
  type: 'tableHeader';
1043
- content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TaskListDefinition>;
1071
+ content: Array<BlockCardDefinition | BlockquoteDefinition | BodiedRuleStage0Definition | BulletListDefinition | CodeBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExtensionWithAnnotationStage0Definition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | NestedExpandDefinition | NestedExpandWithNoMarksDefinition | OrderedListDefinition | PanelDefinition | ParagraphWithAlignmentDefinition | ParagraphWithNoMarksDefinition | RuleDefinition | RuleWithAttrsStage0Definition | TableDefinition | TaskListDefinition>;
1044
1072
  marks: Array<UnsupportedMarkMark | UnsupportedNodeAttributeMark>;
1045
1073
  attrs: {
1046
1074
  colspan?: number;
@@ -2,7 +2,9 @@ import type { ADFCommonNodeSpec, ADFNode } from '@atlaskit/adf-schema-generator'
2
2
  export declare const extension: ADFNode<[
3
3
  string,
4
4
  'with_marks',
5
- 'root_only'
5
+ 'with_annotation',
6
+ 'root_only',
7
+ 'root_only_with_annotation'
6
8
  ], ADFCommonNodeSpec & {
7
9
  ignore: never[];
8
10
  marks: any[];
@@ -1,5 +1,5 @@
1
- import type { OptionalRichMediaAttributes } from './types/rich-media-common';
2
1
  import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
+ import type { OptionalRichMediaAttributes } from './types/rich-media-common';
3
3
  export interface UrlType {
4
4
  localId?: string;
5
5
  /**
@@ -1,10 +1,10 @@
1
- import type { ParagraphDefinition as Paragraph } from './paragraph';
2
- import type { OrderedListDefinition as OrderedList, BulletListDefinition as BulletList } from './types/list';
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
3
2
  import type { CodeBlockDefinition as CodeBlock } from './code-block';
4
3
  import type { ExtensionDefinition as Extension } from './extension';
5
4
  import type { MediaGroupDefinition as MediaGroup } from './media-group';
6
5
  import type { MediaSingleDefinition as MediaSingle } from './media-single';
7
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
6
+ import type { ParagraphDefinition as Paragraph } from './paragraph';
7
+ import type { OrderedListDefinition as OrderedList, BulletListDefinition as BulletList } from './types/list';
8
8
  /**
9
9
  * @name blockquote_node
10
10
  */
@@ -1,8 +1,8 @@
1
1
  import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  import type { BreakoutMarkDefinition } from '../marks';
3
3
  import type { HeadingDefinition } from './heading';
4
- import type { MarksObject } from './types/mark';
5
4
  import type { ParagraphDefinition } from './paragraph';
5
+ import type { MarksObject } from './types/mark';
6
6
  export type BodiedRuleAlignment = 'start' | 'center' | 'end';
7
7
  export type BodiedRuleStyle = 'solid' | 'dashed' | 'dotted' | 'sketch' | 'fade';
8
8
  export interface BodiedRuleAttributes {
@@ -1,22 +1,22 @@
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
1
2
  import type { BreakoutMarkDefinition } from '../marks';
2
- import type { ExpandDefinition as Expand } from './expand';
3
- import type { PanelC1Definition as PanelC1, PanelDefinition as Panel } from './panel';
4
- import type { ParagraphDefinition as Paragraph, ParagraphWithMarksDefinition as ParagraphWithMarks } from './paragraph';
3
+ import type { BlockCardDefinition as BlockCard } from './block-card';
5
4
  import type { BlockQuoteDefinition as Blockquote } from './blockquote';
6
- import type { OrderedListDefinition as OrderedList, BulletListDefinition as BulletList } from './types/list';
7
- import type { RuleDefinition as Rule } from './rule';
8
5
  import type { BodiedRuleDefinition as BodiedRule } from './bodied-rule';
9
- import type { HeadingDefinition as Heading, HeadingWithMarksDefinition as HeadingWithMarks } from './heading';
10
- import type { BlockCardDefinition as BlockCard } from './block-card';
11
6
  import type { CodeBlockDefinition as CodeBlock } from './code-block';
12
7
  import type { DecisionListDefinition as DecisionList } from './decision-list';
13
8
  import type { EmbedCardDefinition as EmbedCard } from './embed-card';
9
+ import type { ExpandDefinition as Expand } from './expand';
10
+ import type { HeadingDefinition as Heading, HeadingWithMarksDefinition as HeadingWithMarks } from './heading';
14
11
  import type { LayoutSectionDefinition as LayoutSection } from './layout-section';
15
12
  import type { MediaGroupDefinition as MediaGroup } from './media-group';
16
13
  import type { MediaSingleDefinition as MediaSingle } from './media-single';
14
+ import type { PanelC1Definition as PanelC1, PanelDefinition as Panel } from './panel';
15
+ import type { ParagraphDefinition as Paragraph, ParagraphWithMarksDefinition as ParagraphWithMarks } from './paragraph';
16
+ import type { RuleDefinition as Rule } from './rule';
17
17
  import type { TableDefinition as Table } from './tableNodes';
18
18
  import type { TaskListDefinition as TaskList } from './task-list';
19
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
19
+ import type { OrderedListDefinition as OrderedList, BulletListDefinition as BulletList } from './types/list';
20
20
  export interface BodiedSyncBlockAttrs {
21
21
  /**
22
22
  * Required UUID attribute used for unique identification of the node
@@ -1,3 +1,4 @@
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
1
2
  import type { DateDefinition as Date } from './date';
2
3
  import type { EmojiDefinition as Emoji } from './emoji';
3
4
  import type { HardBreakDefinition as HardBreak } from './hard-break';
@@ -6,7 +7,6 @@ import type { MentionDefinition as Mention } from './mention';
6
7
  import type { PlaceholderDefinition as Placeholder } from './placeholder';
7
8
  import type { StatusDefinition as Status } from './status';
8
9
  import type { InlineFormattedText, InlineCode } from './types/inline-content';
9
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
10
10
  /**
11
11
  * @name caption_node
12
12
  */
@@ -1,5 +1,5 @@
1
- import type { AnnotationMarkDefinition } from '../marks/annotation';
2
1
  import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
+ import type { AnnotationMarkDefinition } from '../marks/annotation';
3
3
  /**
4
4
  * @name date_node
5
5
  */
@@ -1,5 +1,5 @@
1
- import type { Inline } from './types/inline-content';
2
1
  import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
+ import type { Inline } from './types/inline-content';
3
3
  /**
4
4
  * @name decisionItem_node
5
5
  */
@@ -1,5 +1,5 @@
1
- import type { DecisionItemDefinition as DecisionItemNode } from './decision-item';
2
1
  import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
+ import type { DecisionItemDefinition as DecisionItemNode } from './decision-item';
3
3
  /**
4
4
  * @name decisionList_node
5
5
  */
@@ -1,17 +1,17 @@
1
- import type { CodeBlockWithMarksDefinition as CodeBlockWithMarks } from './code-block';
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
2
  import type { BodiedExtensionRootOnlyDefinition as BodiedExtensionRootOnly } from './bodied-extension';
3
+ import type { BodiedRuleRootOnlyDefinition as BodiedRuleRootOnly } from './bodied-rule';
4
+ import type { BodiedSyncBlockDefinition as BodiedSyncBlock } from './bodied-sync-block';
5
+ import type { CodeBlockWithMarksDefinition as CodeBlockWithMarks } from './code-block';
3
6
  import type { ExpandRootOnlyDefinition as ExpandRootOnly } from './expand';
4
- import type { ExtensionRootOnlyDefinition as ExtensionRootOnly } from './extension';
7
+ import type { ExtensionRootOnlyDefinition as ExtensionRootOnly, ExtensionRootOnlyWithAnnotationDefinition as ExtensionRootOnlyWithAnnotation } from './extension';
5
8
  import type { LayoutSectionDefinition as LayoutSection } from './layout-section';
6
- import type { ParagraphWithIndentationDefinition } from './paragraph';
7
- import type { BlockContent } from './types/block-content';
8
9
  import type { MultiBodiedExtensionRootOnlyDefinition as MultiBodiedExtensionRootOnly } from './multi-bodied-extension';
9
10
  import type { PanelRootOnlyDefinition as PanelRootOnly } from './panel';
11
+ import type { ParagraphWithIndentationDefinition } from './paragraph';
10
12
  import type { RuleRootOnlyDefinition as RuleRootOnly } from './rule';
11
- import type { BodiedRuleRootOnlyDefinition as BodiedRuleRootOnly } from './bodied-rule';
12
13
  import type { SyncBlockDefinition as SyncBlock } from './sync-block';
13
- import type { BodiedSyncBlockDefinition as BodiedSyncBlock } from './bodied-sync-block';
14
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
14
+ import type { BlockContent } from './types/block-content';
15
15
  /**
16
16
  * @name doc_node
17
17
  */
@@ -20,7 +20,7 @@ export interface DocNode {
20
20
  // eslint-disable-next-line eslint-plugin-jsdoc/check-tag-names
21
21
  * @allowUnsupportedBlock true
22
22
  */
23
- content: Array<BlockContent | LayoutSection | CodeBlockWithMarks | ExpandRootOnly | PanelRootOnly | RuleRootOnly | BodiedRuleRootOnly | ExtensionRootOnly | BodiedExtensionRootOnly | ParagraphWithIndentationDefinition | MultiBodiedExtensionRootOnly | BodiedSyncBlock | SyncBlock>;
23
+ content: Array<BlockContent | LayoutSection | CodeBlockWithMarks | ExpandRootOnly | PanelRootOnly | RuleRootOnly | BodiedRuleRootOnly | ExtensionRootOnly | ExtensionRootOnlyWithAnnotation | BodiedExtensionRootOnly | ParagraphWithIndentationDefinition | MultiBodiedExtensionRootOnly | BodiedSyncBlock | SyncBlock>;
24
24
  type: 'doc';
25
25
  version: 1;
26
26
  }
@@ -1,5 +1,5 @@
1
- import type { RichMediaAttributes } from './types/rich-media-common';
2
1
  import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
+ import type { RichMediaAttributes } from './types/rich-media-common';
3
3
  export interface EmbedCardAttributes extends RichMediaAttributes {
4
4
  localId?: string;
5
5
  originalHeight?: number;
@@ -1,8 +1,8 @@
1
1
  import type { NodeSpec, Node as PMNode, Attrs } from '@atlaskit/editor-prosemirror/model';
2
2
  import type { BreakoutMarkDefinition } from '../marks';
3
+ import type { NestedExpandDefinition } from './nested-expand';
3
4
  import type { MarksObject, NoMark } from './types/mark';
4
5
  import type { NonNestableBlockContent } from './types/non-nestable-block-content';
5
- import type { NestedExpandDefinition } from './nested-expand';
6
6
  /**
7
7
  * @name expand_node
8
8
  */
@@ -1,4 +1,5 @@
1
1
  import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
+ import type { AnnotationMarkDefinition } from '../marks/annotation';
2
3
  import type { BreakoutMarkDefinition } from '../marks/breakout';
3
4
  import type { DataConsumerDefinition } from '../marks/data-consumer';
4
5
  import type { FragmentDefinition } from '../marks/fragment';
@@ -20,5 +21,15 @@ export type ExtensionDefinition = ExtensionBaseDefinition & MarksObject<DataCons
20
21
  * @name extension_root_only_node
21
22
  */
22
23
  export type ExtensionRootOnlyDefinition = ExtensionBaseDefinition & MarksObject<BreakoutMarkDefinition | DataConsumerDefinition | FragmentDefinition>;
24
+ /**
25
+ * @name extension_with_annotation_node
26
+ */
27
+ export type ExtensionWithAnnotationDefinition = ExtensionBaseDefinition & MarksObject<AnnotationMarkDefinition | DataConsumerDefinition | FragmentDefinition>;
28
+ /**
29
+ * @name extension_root_only_with_annotation_node
30
+ */
31
+ export type ExtensionRootOnlyWithAnnotationDefinition = ExtensionBaseDefinition & MarksObject<AnnotationMarkDefinition | BreakoutMarkDefinition | DataConsumerDefinition | FragmentDefinition>;
23
32
  export declare const extension: NodeSpec;
24
33
  export declare const extensionRootOnlyStage0: NodeSpec;
34
+ export declare const extensionWithAnnotationStage0: NodeSpec;
35
+ export declare const extensionRootOnlyWithAnnotationStage0: NodeSpec;
@@ -1,7 +1,7 @@
1
+ import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
1
2
  import type { AlignmentMarkDefinition, IndentationMarkDefinition } from '../marks';
2
- import type { MarksObject, NoMark } from './types/mark';
3
3
  import type { Inline } from './types/inline-content';
4
- import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
4
+ import type { MarksObject, NoMark } from './types/mark';
5
5
  /**
6
6
  * @name heading_node
7
7
  */
@@ -1,6 +1,6 @@
1
- import type { CardAttributes } from './block-card';
2
- import type { AnnotationMarkDefinition } from '../marks/annotation';
3
1
  import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
2
+ import type { AnnotationMarkDefinition } from '../marks/annotation';
3
+ import type { CardAttributes } from './block-card';
4
4
  /**
5
5
  * @name inlineCard_node
6
6
  */