@atlaskit/adf-schema 36.12.3 → 36.14.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 (159) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/next-schema/full-schema.adf.js +2 -1
  3. package/dist/cjs/next-schema/generated/markTypes.js +18 -1
  4. package/dist/cjs/next-schema/generated/nodeTypes.js +128 -77
  5. package/dist/cjs/next-schema/groups/blockGroup.js +3 -1
  6. package/dist/cjs/next-schema/groups/inlineGroup.js +3 -1
  7. package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +2 -1
  8. package/dist/cjs/next-schema/marks/unsupportedMark.js +16 -0
  9. package/dist/cjs/next-schema/marks/unsupportedNodeAttribute.js +20 -0
  10. package/dist/cjs/next-schema/nodes/blockCard.js +3 -0
  11. package/dist/cjs/next-schema/nodes/blockquote.js +6 -2
  12. package/dist/cjs/next-schema/nodes/bodiedExtension.js +4 -1
  13. package/dist/cjs/next-schema/nodes/caption.js +5 -2
  14. package/dist/cjs/next-schema/nodes/codeBlock.js +6 -2
  15. package/dist/cjs/next-schema/nodes/confluenceUnsupportedBlock.js +16 -0
  16. package/dist/cjs/next-schema/nodes/confluenceUnsupportedInline.js +18 -0
  17. package/dist/cjs/next-schema/nodes/date.js +3 -0
  18. package/dist/cjs/next-schema/nodes/decisionItem.js +5 -1
  19. package/dist/cjs/next-schema/nodes/decisionList.js +5 -1
  20. package/dist/cjs/next-schema/nodes/embedCard.js +3 -0
  21. package/dist/cjs/next-schema/nodes/emoji.js +3 -0
  22. package/dist/cjs/next-schema/nodes/expand.js +4 -1
  23. package/dist/cjs/next-schema/nodes/extension.js +4 -1
  24. package/dist/cjs/next-schema/nodes/extensionFrame.js +3 -1
  25. package/dist/cjs/next-schema/nodes/hardBreak.js +3 -0
  26. package/dist/cjs/next-schema/nodes/heading.js +9 -6
  27. package/dist/cjs/next-schema/nodes/inlineCard.js +4 -1
  28. package/dist/cjs/next-schema/nodes/inlineExtension.js +3 -0
  29. package/dist/cjs/next-schema/nodes/layoutColumn.js +3 -0
  30. package/dist/cjs/next-schema/nodes/layoutSection.js +5 -2
  31. package/dist/cjs/next-schema/nodes/list.js +7 -1
  32. package/dist/cjs/next-schema/nodes/media.js +3 -1
  33. package/dist/cjs/next-schema/nodes/mediaGroup.js +5 -1
  34. package/dist/cjs/next-schema/nodes/mediaInline.js +3 -1
  35. package/dist/cjs/next-schema/nodes/mediaSingle.js +5 -2
  36. package/dist/cjs/next-schema/nodes/mention.js +3 -0
  37. package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +3 -0
  38. package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -1
  39. package/dist/cjs/next-schema/nodes/panel.js +5 -1
  40. package/dist/cjs/next-schema/nodes/paragraph.js +8 -4
  41. package/dist/cjs/next-schema/nodes/placeholder.js +3 -0
  42. package/dist/cjs/next-schema/nodes/status.js +3 -0
  43. package/dist/cjs/next-schema/nodes/table.js +3 -1
  44. package/dist/cjs/next-schema/nodes/tableCell.js +5 -1
  45. package/dist/cjs/next-schema/nodes/tableHeader.js +3 -0
  46. package/dist/cjs/next-schema/nodes/tableRow.js +3 -0
  47. package/dist/cjs/next-schema/nodes/task.js +8 -2
  48. package/dist/cjs/next-schema/nodes/text.js +4 -2
  49. package/dist/cjs/next-schema/nodes/unsupportedBlock.js +18 -0
  50. package/dist/cjs/next-schema/nodes/unsupportedInline.js +18 -0
  51. package/dist/es2019/next-schema/full-schema.adf.js +2 -1
  52. package/dist/es2019/next-schema/generated/markTypes.js +17 -0
  53. package/dist/es2019/next-schema/generated/nodeTypes.js +127 -76
  54. package/dist/es2019/next-schema/groups/blockGroup.js +3 -1
  55. package/dist/es2019/next-schema/groups/inlineGroup.js +3 -1
  56. package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +2 -1
  57. package/dist/es2019/next-schema/marks/unsupportedMark.js +10 -0
  58. package/dist/es2019/next-schema/marks/unsupportedNodeAttribute.js +14 -0
  59. package/dist/es2019/next-schema/nodes/blockCard.js +3 -0
  60. package/dist/es2019/next-schema/nodes/blockquote.js +6 -2
  61. package/dist/es2019/next-schema/nodes/bodiedExtension.js +4 -1
  62. package/dist/es2019/next-schema/nodes/caption.js +5 -3
  63. package/dist/es2019/next-schema/nodes/codeBlock.js +6 -2
  64. package/dist/es2019/next-schema/nodes/confluenceUnsupportedBlock.js +10 -0
  65. package/dist/es2019/next-schema/nodes/confluenceUnsupportedInline.js +12 -0
  66. package/dist/es2019/next-schema/nodes/date.js +3 -0
  67. package/dist/es2019/next-schema/nodes/decisionItem.js +5 -1
  68. package/dist/es2019/next-schema/nodes/decisionList.js +5 -1
  69. package/dist/es2019/next-schema/nodes/embedCard.js +3 -0
  70. package/dist/es2019/next-schema/nodes/emoji.js +3 -0
  71. package/dist/es2019/next-schema/nodes/expand.js +4 -1
  72. package/dist/es2019/next-schema/nodes/extension.js +4 -1
  73. package/dist/es2019/next-schema/nodes/extensionFrame.js +3 -1
  74. package/dist/es2019/next-schema/nodes/hardBreak.js +3 -0
  75. package/dist/es2019/next-schema/nodes/heading.js +8 -5
  76. package/dist/es2019/next-schema/nodes/inlineCard.js +4 -1
  77. package/dist/es2019/next-schema/nodes/inlineExtension.js +3 -0
  78. package/dist/es2019/next-schema/nodes/layoutColumn.js +3 -0
  79. package/dist/es2019/next-schema/nodes/layoutSection.js +5 -2
  80. package/dist/es2019/next-schema/nodes/list.js +7 -1
  81. package/dist/es2019/next-schema/nodes/media.js +3 -1
  82. package/dist/es2019/next-schema/nodes/mediaGroup.js +5 -1
  83. package/dist/es2019/next-schema/nodes/mediaInline.js +3 -1
  84. package/dist/es2019/next-schema/nodes/mediaSingle.js +5 -2
  85. package/dist/es2019/next-schema/nodes/mention.js +3 -0
  86. package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +3 -0
  87. package/dist/es2019/next-schema/nodes/nestedExpand.js +5 -1
  88. package/dist/es2019/next-schema/nodes/panel.js +5 -1
  89. package/dist/es2019/next-schema/nodes/paragraph.js +8 -4
  90. package/dist/es2019/next-schema/nodes/placeholder.js +3 -0
  91. package/dist/es2019/next-schema/nodes/status.js +3 -0
  92. package/dist/es2019/next-schema/nodes/table.js +3 -1
  93. package/dist/es2019/next-schema/nodes/tableCell.js +5 -1
  94. package/dist/es2019/next-schema/nodes/tableHeader.js +3 -0
  95. package/dist/es2019/next-schema/nodes/tableRow.js +4 -1
  96. package/dist/es2019/next-schema/nodes/task.js +8 -2
  97. package/dist/es2019/next-schema/nodes/text.js +4 -2
  98. package/dist/es2019/next-schema/nodes/unsupportedBlock.js +12 -0
  99. package/dist/es2019/next-schema/nodes/unsupportedInline.js +12 -0
  100. package/dist/esm/next-schema/full-schema.adf.js +2 -1
  101. package/dist/esm/next-schema/generated/markTypes.js +17 -0
  102. package/dist/esm/next-schema/generated/nodeTypes.js +127 -76
  103. package/dist/esm/next-schema/groups/blockGroup.js +3 -1
  104. package/dist/esm/next-schema/groups/inlineGroup.js +3 -1
  105. package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +2 -1
  106. package/dist/esm/next-schema/marks/unsupportedMark.js +10 -0
  107. package/dist/esm/next-schema/marks/unsupportedNodeAttribute.js +14 -0
  108. package/dist/esm/next-schema/nodes/blockCard.js +3 -0
  109. package/dist/esm/next-schema/nodes/blockquote.js +6 -2
  110. package/dist/esm/next-schema/nodes/bodiedExtension.js +4 -1
  111. package/dist/esm/next-schema/nodes/caption.js +5 -3
  112. package/dist/esm/next-schema/nodes/codeBlock.js +6 -2
  113. package/dist/esm/next-schema/nodes/confluenceUnsupportedBlock.js +10 -0
  114. package/dist/esm/next-schema/nodes/confluenceUnsupportedInline.js +12 -0
  115. package/dist/esm/next-schema/nodes/date.js +3 -0
  116. package/dist/esm/next-schema/nodes/decisionItem.js +5 -1
  117. package/dist/esm/next-schema/nodes/decisionList.js +5 -1
  118. package/dist/esm/next-schema/nodes/embedCard.js +3 -0
  119. package/dist/esm/next-schema/nodes/emoji.js +3 -0
  120. package/dist/esm/next-schema/nodes/expand.js +4 -1
  121. package/dist/esm/next-schema/nodes/extension.js +4 -1
  122. package/dist/esm/next-schema/nodes/extensionFrame.js +3 -1
  123. package/dist/esm/next-schema/nodes/hardBreak.js +3 -0
  124. package/dist/esm/next-schema/nodes/heading.js +8 -5
  125. package/dist/esm/next-schema/nodes/inlineCard.js +4 -1
  126. package/dist/esm/next-schema/nodes/inlineExtension.js +3 -0
  127. package/dist/esm/next-schema/nodes/layoutColumn.js +3 -0
  128. package/dist/esm/next-schema/nodes/layoutSection.js +5 -2
  129. package/dist/esm/next-schema/nodes/list.js +7 -1
  130. package/dist/esm/next-schema/nodes/media.js +3 -1
  131. package/dist/esm/next-schema/nodes/mediaGroup.js +5 -1
  132. package/dist/esm/next-schema/nodes/mediaInline.js +3 -1
  133. package/dist/esm/next-schema/nodes/mediaSingle.js +5 -2
  134. package/dist/esm/next-schema/nodes/mention.js +3 -0
  135. package/dist/esm/next-schema/nodes/multiBodiedExtension.js +3 -0
  136. package/dist/esm/next-schema/nodes/nestedExpand.js +5 -1
  137. package/dist/esm/next-schema/nodes/panel.js +5 -1
  138. package/dist/esm/next-schema/nodes/paragraph.js +8 -4
  139. package/dist/esm/next-schema/nodes/placeholder.js +3 -0
  140. package/dist/esm/next-schema/nodes/status.js +3 -0
  141. package/dist/esm/next-schema/nodes/table.js +3 -1
  142. package/dist/esm/next-schema/nodes/tableCell.js +5 -1
  143. package/dist/esm/next-schema/nodes/tableHeader.js +3 -0
  144. package/dist/esm/next-schema/nodes/tableRow.js +4 -1
  145. package/dist/esm/next-schema/nodes/task.js +8 -2
  146. package/dist/esm/next-schema/nodes/text.js +4 -2
  147. package/dist/esm/next-schema/nodes/unsupportedBlock.js +12 -0
  148. package/dist/esm/next-schema/nodes/unsupportedInline.js +12 -0
  149. package/dist/types/next-schema/generated/markTypes.d.ts +23 -0
  150. package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +4 -4
  151. package/dist/types/next-schema/generated/nodeTypes.d.ts +137 -67
  152. package/dist/types/next-schema/marks/unsupportedMark.d.ts +1 -0
  153. package/dist/types/next-schema/marks/unsupportedNodeAttribute.d.ts +1 -0
  154. package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +19 -0
  155. package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +19 -0
  156. package/dist/types/next-schema/nodes/heading.d.ts +0 -23
  157. package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +19 -0
  158. package/dist/types/next-schema/nodes/unsupportedInline.d.ts +19 -0
  159. package/package.json +2 -2
@@ -5,8 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.status = void 0;
7
7
  var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
8
+ var _unsupportedMark = require("../marks/unsupportedMark");
9
+ var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
8
10
  var status = exports.status = (0, _adfSchemaGenerator.adfNode)('status').define({
9
11
  selectable: true,
12
+ marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
10
13
  attrs: {
11
14
  text: {
12
15
  minLength: 1,
@@ -6,11 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.table = void 0;
7
7
  var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
8
8
  var _fragment = require("../marks/fragment");
9
+ var _unsupportedMark = require("../marks/unsupportedMark");
10
+ var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
9
11
  var _tableRow = require("./tableRow");
10
12
  var table = exports.table = (0, _adfSchemaGenerator.adfNode)('table').define({
11
13
  isolating: true,
12
14
  selectable: true,
13
- marks: [_fragment.fragment],
15
+ marks: [_fragment.fragment, _unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
14
16
  attrs: {
15
17
  displayMode: {
16
18
  type: 'enum',
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.tableCell = void 0;
7
7
  var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
8
+ var _unsupportedMark = require("../marks/unsupportedMark");
9
+ var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
8
10
  var _blockCard = require("./blockCard");
9
11
  var _blockquote = require("./blockquote");
10
12
  var _codeBlock = require("./codeBlock");
@@ -20,10 +22,12 @@ var _panel = require("./panel");
20
22
  var _paragraph = require("./paragraph");
21
23
  var _rule = require("./rule");
22
24
  var _task = require("./task");
25
+ var _unsupportedBlock = require("./unsupportedBlock");
23
26
  var tableCell = exports.tableCell = (0, _adfSchemaGenerator.adfNode)('tableCell').define({
24
27
  isolating: true,
25
28
  selectable: false,
26
29
  tableRole: 'cell',
30
+ marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
27
31
  attrs: {
28
32
  colspan: {
29
33
  type: 'number',
@@ -46,5 +50,5 @@ var tableCell = exports.tableCell = (0, _adfSchemaGenerator.adfNode)('tableCell'
46
50
  optional: true
47
51
  }
48
52
  },
49
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_codeBlock.codeBlock.use('with_no_marks'), _blockCard.blockCard, _paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _task.taskList, _list.bulletList, _list.orderedList, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _mediaGroup.mediaGroup, _decisionList.decisionList, _rule.rule, _panel.panel, _blockquote.blockquote, _extension.extension.use('with_marks'), _embedCard.embedCard, _nestedExpand.nestedExpand.use('with_no_marks')))]
53
+ content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_codeBlock.codeBlock.use('with_no_marks'), _blockCard.blockCard, _paragraph.paragraph.use('with_no_marks'), _paragraph.paragraph.use('with_alignment'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _task.taskList, _list.bulletList, _list.orderedList, _heading.heading.use('with_no_marks'), _heading.heading.use('with_alignment'), _heading.heading.use('with_indentation'), _mediaGroup.mediaGroup, _decisionList.decisionList, _rule.rule, _panel.panel, _blockquote.blockquote, _extension.extension.use('with_marks'), _embedCard.embedCard, _nestedExpand.nestedExpand.use('with_no_marks'), _unsupportedBlock.unsupportedBlock))]
50
54
  });
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.tableHeader = void 0;
7
7
  var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
8
+ var _unsupportedMark = require("../marks/unsupportedMark");
9
+ var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
8
10
  var _blockCard = require("./blockCard");
9
11
  var _blockquote = require("./blockquote");
10
12
  var _codeBlock = require("./codeBlock");
@@ -24,6 +26,7 @@ var tableHeader = exports.tableHeader = (0, _adfSchemaGenerator.adfNode)('tableH
24
26
  isolating: true,
25
27
  selectable: false,
26
28
  tableRole: 'header_cell',
29
+ marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
27
30
  attrs: {
28
31
  colspan: {
29
32
  type: 'number',
@@ -5,9 +5,12 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.tableRow = void 0;
7
7
  var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
8
+ var _unsupportedMark = require("../marks/unsupportedMark");
9
+ var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
8
10
  var _tableCell = require("./tableCell");
9
11
  var _tableHeader = require("./tableHeader");
10
12
  var tableRow = exports.tableRow = (0, _adfSchemaGenerator.adfNode)('tableRow').define({
11
13
  selectable: false,
14
+ marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
12
15
  content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_tableCell.tableCell, _tableHeader.tableHeader))]
13
16
  });
@@ -6,11 +6,16 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.taskList = exports.taskItem = void 0;
7
7
  var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
8
8
  var _inlineGroup = require("../groups/inlineGroup");
9
+ var _unsupportedMark = require("../marks/unsupportedMark");
10
+ var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
11
+ var _unsupportedInline = require("./unsupportedInline");
12
+ var _unsupportedBlock = require("./unsupportedBlock");
9
13
  var taskItem = exports.taskItem = (0, _adfSchemaGenerator.adfNode)('taskItem');
10
14
  var taskList = exports.taskList = (0, _adfSchemaGenerator.adfNode)('taskList');
11
15
  taskItem.define({
12
16
  defining: true,
13
17
  selectable: false,
18
+ marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
14
19
  attrs: {
15
20
  localId: {
16
21
  type: 'string',
@@ -22,16 +27,17 @@ taskItem.define({
22
27
  default: 'TODO'
23
28
  }
24
29
  },
25
- content: [(0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_inlineGroup.inlineGroup))]
30
+ content: [(0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_inlineGroup.inlineGroup, _unsupportedInline.unsupportedInline))]
26
31
  });
27
32
  taskList.define({
28
33
  defining: true,
29
34
  selectable: false,
35
+ marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
30
36
  attrs: {
31
37
  localId: {
32
38
  type: 'string',
33
39
  default: ''
34
40
  }
35
41
  },
36
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(taskItem)), (0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(taskItem, taskList))]
42
+ content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(taskItem, _unsupportedBlock.unsupportedBlock)), (0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(taskItem, taskList, _unsupportedBlock.unsupportedBlock))]
37
43
  });
@@ -14,8 +14,10 @@ var _strong = require("../marks/strong");
14
14
  var _subsup = require("../marks/subsup");
15
15
  var _underline = require("../marks/underline");
16
16
  var _color = require("../marks/color");
17
+ var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
18
+ var _unsupportedMark = require("../marks/unsupportedMark");
17
19
  var text = exports.text = (0, _adfSchemaGenerator.adfNode)('text').define({}).variant('formatted', {
18
- marks: [_link.link, _em.em, _strong.strong, _strike.strike, _subsup.subsup, _underline.underline, _color.textColor, _annotation.annotation, _color.backgroundColor]
20
+ marks: [_link.link, _em.em, _strong.strong, _strike.strike, _subsup.subsup, _underline.underline, _color.textColor, _annotation.annotation, _color.backgroundColor, _unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark]
19
21
  }).variant('code_inline', {
20
- marks: [_code.code, _link.link, _annotation.annotation]
22
+ marks: [_code.code, _link.link, _annotation.annotation, _unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark]
21
23
  });
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.unsupportedBlock = void 0;
7
+ var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
8
+ var unsupportedBlock = exports.unsupportedBlock = (0, _adfSchemaGenerator.adfNode)('unsupportedBlock').define({
9
+ ignore: [_adfSchemaGenerator.JSONSchemaTransformerName, _adfSchemaGenerator.ValidatorSpecTransformerName],
10
+ atom: true,
11
+ selectable: true,
12
+ attrs: {
13
+ originalValue: {
14
+ type: 'object',
15
+ default: {}
16
+ }
17
+ }
18
+ });
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.unsupportedInline = void 0;
7
+ var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
8
+ var unsupportedInline = exports.unsupportedInline = (0, _adfSchemaGenerator.adfNode)('unsupportedInline').define({
9
+ ignore: [_adfSchemaGenerator.JSONSchemaTransformerName, _adfSchemaGenerator.ValidatorSpecTransformerName],
10
+ inline: true,
11
+ selectable: true,
12
+ attrs: {
13
+ originalValue: {
14
+ type: 'object',
15
+ default: {}
16
+ }
17
+ }
18
+ });
@@ -4,9 +4,10 @@ import { layoutSection } from './nodes/layoutSection';
4
4
  import { blockRootOnlyGroup } from './groups/blockRootOnlyGroup';
5
5
  import { nestedExpand } from './nodes/nestedExpand';
6
6
  import { paragraph } from './nodes/paragraph';
7
+ import { unsupportedBlock } from './nodes/unsupportedBlock';
7
8
  const doc = adfNode('doc').define({
8
9
  root: true,
9
10
  version: 1,
10
- content: [$onePlus($or(blockGroup, layoutSection, layoutSection.use('full'), blockRootOnlyGroup, nestedExpand, paragraph))]
11
+ content: [$onePlus($or(blockGroup, layoutSection, layoutSection.use('full'), blockRootOnlyGroup, nestedExpand, paragraph, unsupportedBlock))]
11
12
  });
12
13
  export default doc;
@@ -1,4 +1,21 @@
1
1
  import { createPMMarkSpecFactory } from '@atlaskit/adf-schema-generator';
2
+ export const unsupportedNodeAttribute = createPMMarkSpecFactory({
3
+ attrs: {
4
+ type: {
5
+ default: null
6
+ },
7
+ unsupported: {
8
+ default: {}
9
+ }
10
+ }
11
+ });
12
+ export const unsupportedMark = createPMMarkSpecFactory({
13
+ attrs: {
14
+ originalValue: {
15
+ default: {}
16
+ }
17
+ }
18
+ });
2
19
  export const breakout = createPMMarkSpecFactory({
3
20
  attrs: {
4
21
  mode: {