@atlaskit/adf-schema 49.0.6 → 50.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/index.js +132 -0
  3. package/dist/cjs/next-schema/generated/nodeTypes.js +140 -1
  4. package/dist/cjs/next-schema/nodes/blockCard.js +15 -0
  5. package/dist/cjs/next-schema/nodes/blockquote.js +16 -2
  6. package/dist/cjs/next-schema/nodes/caption.js +7 -0
  7. package/dist/cjs/next-schema/nodes/codeBlock.js +5 -0
  8. package/dist/cjs/next-schema/nodes/date.js +5 -0
  9. package/dist/cjs/next-schema/nodes/embedCard.js +5 -0
  10. package/dist/cjs/next-schema/nodes/emoji.js +5 -0
  11. package/dist/cjs/next-schema/nodes/expand.js +5 -0
  12. package/dist/cjs/next-schema/nodes/hardBreak.js +5 -0
  13. package/dist/cjs/next-schema/nodes/inlineCard.js +10 -0
  14. package/dist/cjs/next-schema/nodes/layoutColumn.js +5 -0
  15. package/dist/cjs/next-schema/nodes/layoutSection.js +12 -0
  16. package/dist/cjs/next-schema/nodes/list.js +20 -1
  17. package/dist/cjs/next-schema/nodes/media.js +10 -0
  18. package/dist/cjs/next-schema/nodes/mediaInline.js +5 -0
  19. package/dist/cjs/next-schema/nodes/mediaSingle.js +10 -0
  20. package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -0
  21. package/dist/cjs/next-schema/nodes/panel.js +5 -0
  22. package/dist/cjs/next-schema/nodes/placeholder.js +5 -0
  23. package/dist/cjs/next-schema/nodes/rule.js +9 -1
  24. package/dist/cjs/next-schema/nodes/tableNodes.js +17 -0
  25. package/dist/cjs/schema/index.js +138 -0
  26. package/dist/cjs/schema/nodes/block-card.js +48 -1
  27. package/dist/cjs/schema/nodes/blockquote.js +20 -2
  28. package/dist/cjs/schema/nodes/bullet-list.js +20 -1
  29. package/dist/cjs/schema/nodes/caption.js +20 -1
  30. package/dist/cjs/schema/nodes/code-block.js +72 -2
  31. package/dist/cjs/schema/nodes/date.js +22 -1
  32. package/dist/cjs/schema/nodes/embed-card.js +36 -1
  33. package/dist/cjs/schema/nodes/emoji.js +73 -1
  34. package/dist/cjs/schema/nodes/expand.js +56 -1
  35. package/dist/cjs/schema/nodes/hard-break.js +18 -1
  36. package/dist/cjs/schema/nodes/index.js +138 -0
  37. package/dist/cjs/schema/nodes/inline-card.js +46 -1
  38. package/dist/cjs/schema/nodes/layout-column.js +37 -1
  39. package/dist/cjs/schema/nodes/layout-section.js +31 -1
  40. package/dist/cjs/schema/nodes/list-item.js +34 -1
  41. package/dist/cjs/schema/nodes/media-inline.js +12 -2
  42. package/dist/cjs/schema/nodes/media-single.js +22 -2
  43. package/dist/cjs/schema/nodes/media.js +21 -4
  44. package/dist/cjs/schema/nodes/nested-expand.js +34 -7
  45. package/dist/cjs/schema/nodes/ordered-list.js +54 -3
  46. package/dist/cjs/schema/nodes/panel.js +13 -5
  47. package/dist/cjs/schema/nodes/placeholder.js +24 -1
  48. package/dist/cjs/schema/nodes/rule.js +18 -1
  49. package/dist/cjs/schema/nodes/tableNodes.js +69 -6
  50. package/dist/cjs/validator-schema/generated/validatorSpec.js +159 -0
  51. package/dist/es2019/index.js +2 -2
  52. package/dist/es2019/next-schema/generated/nodeTypes.js +140 -1
  53. package/dist/es2019/next-schema/nodes/blockCard.js +15 -0
  54. package/dist/es2019/next-schema/nodes/blockquote.js +16 -2
  55. package/dist/es2019/next-schema/nodes/caption.js +7 -0
  56. package/dist/es2019/next-schema/nodes/codeBlock.js +5 -0
  57. package/dist/es2019/next-schema/nodes/date.js +5 -0
  58. package/dist/es2019/next-schema/nodes/embedCard.js +5 -0
  59. package/dist/es2019/next-schema/nodes/emoji.js +5 -0
  60. package/dist/es2019/next-schema/nodes/expand.js +5 -0
  61. package/dist/es2019/next-schema/nodes/hardBreak.js +5 -0
  62. package/dist/es2019/next-schema/nodes/inlineCard.js +10 -0
  63. package/dist/es2019/next-schema/nodes/layoutColumn.js +5 -0
  64. package/dist/es2019/next-schema/nodes/layoutSection.js +12 -0
  65. package/dist/es2019/next-schema/nodes/list.js +20 -1
  66. package/dist/es2019/next-schema/nodes/media.js +10 -0
  67. package/dist/es2019/next-schema/nodes/mediaInline.js +5 -0
  68. package/dist/es2019/next-schema/nodes/mediaSingle.js +10 -0
  69. package/dist/es2019/next-schema/nodes/nestedExpand.js +5 -0
  70. package/dist/es2019/next-schema/nodes/panel.js +5 -0
  71. package/dist/es2019/next-schema/nodes/placeholder.js +5 -0
  72. package/dist/es2019/next-schema/nodes/rule.js +9 -1
  73. package/dist/es2019/next-schema/nodes/tableNodes.js +17 -0
  74. package/dist/es2019/schema/default-schema.js +1 -1
  75. package/dist/es2019/schema/index.js +1 -1
  76. package/dist/es2019/schema/nodes/block-card.js +50 -0
  77. package/dist/es2019/schema/nodes/blockquote.js +19 -1
  78. package/dist/es2019/schema/nodes/bullet-list.js +19 -0
  79. package/dist/es2019/schema/nodes/caption.js +19 -0
  80. package/dist/es2019/schema/nodes/code-block.js +68 -0
  81. package/dist/es2019/schema/nodes/date.js +19 -0
  82. package/dist/es2019/schema/nodes/embed-card.js +34 -0
  83. package/dist/es2019/schema/nodes/emoji.js +71 -0
  84. package/dist/es2019/schema/nodes/expand.js +59 -0
  85. package/dist/es2019/schema/nodes/hard-break.js +15 -0
  86. package/dist/es2019/schema/nodes/index.js +20 -20
  87. package/dist/es2019/schema/nodes/inline-card.js +45 -0
  88. package/dist/es2019/schema/nodes/layout-column.js +38 -0
  89. package/dist/es2019/schema/nodes/layout-section.js +32 -0
  90. package/dist/es2019/schema/nodes/list-item.js +29 -0
  91. package/dist/es2019/schema/nodes/media-inline.js +8 -1
  92. package/dist/es2019/schema/nodes/media-single.js +20 -1
  93. package/dist/es2019/schema/nodes/media.js +17 -4
  94. package/dist/es2019/schema/nodes/nested-expand.js +21 -6
  95. package/dist/es2019/schema/nodes/ordered-list.js +51 -2
  96. package/dist/es2019/schema/nodes/panel.js +11 -5
  97. package/dist/es2019/schema/nodes/placeholder.js +23 -0
  98. package/dist/es2019/schema/nodes/rule.js +15 -0
  99. package/dist/es2019/schema/nodes/tableNodes.js +59 -3
  100. package/dist/es2019/validator-schema/generated/validatorSpec.js +159 -0
  101. package/dist/esm/index.js +2 -2
  102. package/dist/esm/next-schema/generated/nodeTypes.js +140 -1
  103. package/dist/esm/next-schema/nodes/blockCard.js +15 -0
  104. package/dist/esm/next-schema/nodes/blockquote.js +16 -2
  105. package/dist/esm/next-schema/nodes/caption.js +7 -0
  106. package/dist/esm/next-schema/nodes/codeBlock.js +5 -0
  107. package/dist/esm/next-schema/nodes/date.js +5 -0
  108. package/dist/esm/next-schema/nodes/embedCard.js +5 -0
  109. package/dist/esm/next-schema/nodes/emoji.js +5 -0
  110. package/dist/esm/next-schema/nodes/expand.js +5 -0
  111. package/dist/esm/next-schema/nodes/hardBreak.js +5 -0
  112. package/dist/esm/next-schema/nodes/inlineCard.js +10 -0
  113. package/dist/esm/next-schema/nodes/layoutColumn.js +5 -0
  114. package/dist/esm/next-schema/nodes/layoutSection.js +12 -0
  115. package/dist/esm/next-schema/nodes/list.js +20 -1
  116. package/dist/esm/next-schema/nodes/media.js +10 -0
  117. package/dist/esm/next-schema/nodes/mediaInline.js +5 -0
  118. package/dist/esm/next-schema/nodes/mediaSingle.js +10 -0
  119. package/dist/esm/next-schema/nodes/nestedExpand.js +5 -0
  120. package/dist/esm/next-schema/nodes/panel.js +5 -0
  121. package/dist/esm/next-schema/nodes/placeholder.js +5 -0
  122. package/dist/esm/next-schema/nodes/rule.js +9 -1
  123. package/dist/esm/next-schema/nodes/tableNodes.js +17 -0
  124. package/dist/esm/schema/default-schema.js +1 -1
  125. package/dist/esm/schema/index.js +1 -1
  126. package/dist/esm/schema/nodes/block-card.js +47 -0
  127. package/dist/esm/schema/nodes/blockquote.js +19 -1
  128. package/dist/esm/schema/nodes/bullet-list.js +19 -0
  129. package/dist/esm/schema/nodes/caption.js +19 -0
  130. package/dist/esm/schema/nodes/code-block.js +71 -1
  131. package/dist/esm/schema/nodes/date.js +21 -0
  132. package/dist/esm/schema/nodes/embed-card.js +35 -0
  133. package/dist/esm/schema/nodes/emoji.js +71 -0
  134. package/dist/esm/schema/nodes/expand.js +55 -0
  135. package/dist/esm/schema/nodes/hard-break.js +17 -0
  136. package/dist/esm/schema/nodes/index.js +20 -20
  137. package/dist/esm/schema/nodes/inline-card.js +45 -0
  138. package/dist/esm/schema/nodes/layout-column.js +36 -0
  139. package/dist/esm/schema/nodes/layout-section.js +30 -0
  140. package/dist/esm/schema/nodes/list-item.js +33 -0
  141. package/dist/esm/schema/nodes/media-inline.js +10 -1
  142. package/dist/esm/schema/nodes/media-single.js +21 -1
  143. package/dist/esm/schema/nodes/media.js +19 -3
  144. package/dist/esm/schema/nodes/nested-expand.js +32 -6
  145. package/dist/esm/schema/nodes/ordered-list.js +53 -2
  146. package/dist/esm/schema/nodes/panel.js +12 -4
  147. package/dist/esm/schema/nodes/placeholder.js +23 -0
  148. package/dist/esm/schema/nodes/rule.js +17 -0
  149. package/dist/esm/schema/nodes/tableNodes.js +68 -5
  150. package/dist/esm/validator-schema/generated/validatorSpec.js +159 -0
  151. package/dist/json-schema/v1/full.json +140 -2
  152. package/dist/json-schema/v1/stage-0.json +152 -2
  153. package/dist/types/index.d.ts +2 -2
  154. package/dist/types/next-schema/generated/nodeTypes.d.ts +72 -0
  155. package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +7 -0
  156. package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +7 -0
  157. package/dist/types/next-schema/nodes/blockquote.d.ts +7 -0
  158. package/dist/types/next-schema/nodes/layoutSection.d.ts +5 -0
  159. package/dist/types/schema/index.d.ts +1 -1
  160. package/dist/types/schema/nodes/block-card.d.ts +4 -0
  161. package/dist/types/schema/nodes/blockquote.d.ts +4 -0
  162. package/dist/types/schema/nodes/bullet-list.d.ts +1 -0
  163. package/dist/types/schema/nodes/caption.d.ts +4 -0
  164. package/dist/types/schema/nodes/code-block.d.ts +2 -0
  165. package/dist/types/schema/nodes/date.d.ts +2 -0
  166. package/dist/types/schema/nodes/embed-card.d.ts +2 -0
  167. package/dist/types/schema/nodes/emoji.d.ts +2 -0
  168. package/dist/types/schema/nodes/expand.d.ts +2 -0
  169. package/dist/types/schema/nodes/hard-break.d.ts +2 -0
  170. package/dist/types/schema/nodes/index.d.ts +20 -20
  171. package/dist/types/schema/nodes/inline-card.d.ts +1 -0
  172. package/dist/types/schema/nodes/layout-column.d.ts +2 -0
  173. package/dist/types/schema/nodes/layout-section.d.ts +4 -0
  174. package/dist/types/schema/nodes/list-item.d.ts +2 -0
  175. package/dist/types/schema/nodes/media-inline.d.ts +1 -0
  176. package/dist/types/schema/nodes/media-single.d.ts +3 -1
  177. package/dist/types/schema/nodes/media.d.ts +3 -1
  178. package/dist/types/schema/nodes/nested-expand.d.ts +2 -0
  179. package/dist/types/schema/nodes/ordered-list.d.ts +2 -0
  180. package/dist/types/schema/nodes/panel.d.ts +2 -0
  181. package/dist/types/schema/nodes/placeholder.d.ts +2 -0
  182. package/dist/types/schema/nodes/rule.d.ts +4 -0
  183. package/dist/types/schema/nodes/tableNodes.d.ts +6 -0
  184. package/dist/types/schema/nodes/types/list.d.ts +7 -0
  185. package/dist/types/schema/nodes/types/rich-media-common.d.ts +1 -0
  186. package/dist/types/validator-schema/generated/validatorSpec.d.ts +159 -0
  187. package/json-schema/v1/full.json +140 -2
  188. package/json-schema/v1/stage-0.json +152 -2
  189. package/package.json +2 -2
  190. package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -0
@@ -19,8 +19,22 @@ var blockquote = exports.blockquote = (0, _adfSchemaGenerator.adfNode)('blockquo
19
19
  defining: true,
20
20
  selectable: true,
21
21
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
22
- content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, blockQuoteContent))]
22
+ content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, blockQuoteContent))],
23
+ attrs: {
24
+ localId: {
25
+ type: 'string',
26
+ default: null,
27
+ optional: true
28
+ }
29
+ }
23
30
  }).variant('legacy', {
24
31
  ignore: ['json-schema', 'validator-spec'],
25
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph, _unsupportedBlock.unsupportedBlock))]
32
+ content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph, _unsupportedBlock.unsupportedBlock))],
33
+ attrs: {
34
+ localId: {
35
+ type: 'string',
36
+ default: null,
37
+ optional: true
38
+ }
39
+ }
26
40
  });
@@ -21,5 +21,12 @@ var caption = exports.caption = (0, _adfSchemaGenerator.adfNode)('caption').defi
21
21
  selectable: false,
22
22
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
23
23
  allowAnyChildMark: true,
24
+ attrs: {
25
+ localId: {
26
+ type: 'string',
27
+ default: null,
28
+ optional: true
29
+ }
30
+ },
24
31
  content: [(0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_hardBreak.hardBreak, _mention.mention, _emoji.emoji, _date.date, _placeholder.placeholder, _inlineCard.inlineCard, _status.status, _text.text.use('formatted'), _text.text.use('code_inline'), _unsupportedInline.unsupportedInline))]
25
32
  });
@@ -23,6 +23,11 @@ var codeBlock = exports.codeBlock = (0, _adfSchemaGenerator.adfNode)('codeBlock'
23
23
  type: 'string',
24
24
  default: null,
25
25
  optional: true
26
+ },
27
+ localId: {
28
+ type: 'string',
29
+ default: null,
30
+ optional: true
26
31
  }
27
32
  },
28
33
  noMarks: true,
@@ -17,6 +17,11 @@ var date = exports.date = (0, _adfSchemaGenerator.adfNode)('date').define({
17
17
  minLength: 1,
18
18
  type: 'string',
19
19
  default: ''
20
+ },
21
+ localId: {
22
+ type: 'string',
23
+ default: null,
24
+ optional: true
20
25
  }
21
26
  },
22
27
  stage0: {
@@ -37,6 +37,11 @@ var embedCard = exports.embedCard = (0, _adfSchemaGenerator.adfNode)('embedCard'
37
37
  type: 'number',
38
38
  default: null,
39
39
  optional: true
40
+ },
41
+ localId: {
42
+ type: 'string',
43
+ default: null,
44
+ optional: true
40
45
  }
41
46
  }
42
47
  });
@@ -26,6 +26,11 @@ var emoji = exports.emoji = (0, _adfSchemaGenerator.adfNode)('emoji').define({
26
26
  type: 'string',
27
27
  default: '',
28
28
  optional: true
29
+ },
30
+ localId: {
31
+ type: 'string',
32
+ default: null,
33
+ optional: true
29
34
  }
30
35
  },
31
36
  stage0: {
@@ -24,6 +24,11 @@ var expand = exports.expand = (0, _adfSchemaGenerator.adfNode)('expand').define(
24
24
  type: 'boolean',
25
25
  default: true,
26
26
  optional: true
27
+ },
28
+ localId: {
29
+ type: 'string',
30
+ default: null,
31
+ optional: true
27
32
  }
28
33
  },
29
34
  content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_nonNestableBlockContentGroup.nonNestableBlockContentGroup, _nestedExpand.nestedExpand.use('with_no_marks')))]
@@ -19,6 +19,11 @@ var hardBreak = exports.hardBreak = (0, _adfSchemaGenerator.adfNode)('hardBreak'
19
19
  values: ['\n'],
20
20
  default: '\n',
21
21
  optional: true
22
+ },
23
+ localId: {
24
+ type: 'string',
25
+ default: null,
26
+ optional: true
22
27
  }
23
28
  }
24
29
  });
@@ -19,11 +19,21 @@ var inlineCard = exports.inlineCard = (0, _adfSchemaGenerator.adfNode)('inlineCa
19
19
  type: 'string',
20
20
  default: null,
21
21
  validatorFn: 'safeUrl'
22
+ },
23
+ localId: {
24
+ type: 'string',
25
+ default: null,
26
+ optional: true
22
27
  }
23
28
  }, {
24
29
  data: {
25
30
  type: 'object',
26
31
  default: null
32
+ },
33
+ localId: {
34
+ type: 'string',
35
+ default: null,
36
+ optional: true
27
37
  }
28
38
  }]
29
39
  },
@@ -20,6 +20,11 @@ var layoutColumn = exports.layoutColumn = (0, _adfSchemaGenerator.adfNode)('layo
20
20
  minimum: 0,
21
21
  maximum: 100,
22
22
  default: undefined
23
+ },
24
+ localId: {
25
+ type: 'string',
26
+ default: null,
27
+ optional: true
23
28
  }
24
29
  },
25
30
  content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_blockGroup.blockGroup, _blockContentGroup.blockContentGroup, _unsupportedBlock.unsupportedBlock))]
@@ -12,6 +12,13 @@ var _layoutColumn = require("./layoutColumn");
12
12
  var _unsupportedBlock = require("./unsupportedBlock");
13
13
  var layoutSection = exports.layoutSection = (0, _adfSchemaGenerator.adfNode)('layoutSection').define({
14
14
  isolating: true,
15
+ attrs: {
16
+ localId: {
17
+ type: 'string',
18
+ default: null,
19
+ optional: true
20
+ }
21
+ },
15
22
  marks: [_breakout.breakout, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
16
23
  content: [(0, _adfSchemaGenerator.$range)(1, 3, (0, _adfSchemaGenerator.$or)(_layoutColumn.layoutColumn, _unsupportedBlock.unsupportedBlock)), (0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_unsupportedBlock.unsupportedBlock))]
17
24
  }).variant('with_single_column', {
@@ -24,6 +31,11 @@ var layoutSection = exports.layoutSection = (0, _adfSchemaGenerator.adfNode)('la
24
31
  values: ['solid'],
25
32
  default: null,
26
33
  optional: true
34
+ },
35
+ localId: {
36
+ type: 'string',
37
+ default: null,
38
+ optional: true
27
39
  }
28
40
  }
29
41
  }).variant('full', {
@@ -19,6 +19,13 @@ var bulletList = exports.bulletList = (0, _adfSchemaGenerator.adfNode)('bulletLi
19
19
  var listItem = (0, _adfSchemaGenerator.adfNode)('listItem').define({
20
20
  defining: true,
21
21
  selectable: false,
22
+ attrs: {
23
+ localId: {
24
+ type: 'string',
25
+ default: null,
26
+ optional: true
27
+ }
28
+ },
22
29
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
23
30
  contentMinItems: 1,
24
31
  content: [(0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _unsupportedBlock.unsupportedBlock, _extension.extension.use('with_marks')), (0, _adfSchemaGenerator.$zeroPlus)((0, _adfSchemaGenerator.$or)(_paragraph.paragraph.use('with_no_marks'), bulletList, orderedList, _task.taskList, _mediaSingle.mediaSingle.use('caption'), _mediaSingle.mediaSingle.use('full'), _codeBlock.codeBlock, _unsupportedBlock.unsupportedBlock, _extension.extension.use('with_marks')))]
@@ -36,6 +43,11 @@ orderedList.define({
36
43
  minimum: 0,
37
44
  default: 1,
38
45
  optional: true
46
+ },
47
+ localId: {
48
+ type: 'string',
49
+ default: null,
50
+ optional: true
39
51
  }
40
52
  },
41
53
  content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(listItem, listItem.use('with_nested_decision')))]
@@ -43,5 +55,12 @@ orderedList.define({
43
55
  bulletList.define({
44
56
  selectable: false,
45
57
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
46
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(listItem, listItem.use('with_nested_decision')))]
58
+ content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(listItem, listItem.use('with_nested_decision')))],
59
+ attrs: {
60
+ localId: {
61
+ type: 'string',
62
+ default: null,
63
+ optional: true
64
+ }
65
+ }
47
66
  });
@@ -20,6 +20,11 @@ var media = exports.media = (0, _adfSchemaGenerator.adfNode)('media').define({
20
20
  values: ['link', 'file'],
21
21
  default: 'file'
22
22
  },
23
+ localId: {
24
+ type: 'string',
25
+ default: null,
26
+ optional: true
27
+ },
23
28
  id: {
24
29
  minLength: 1,
25
30
  type: 'string',
@@ -92,6 +97,11 @@ var media = exports.media = (0, _adfSchemaGenerator.adfNode)('media').define({
92
97
  values: ['external'],
93
98
  default: 'file'
94
99
  },
100
+ localId: {
101
+ type: 'string',
102
+ default: null,
103
+ optional: true
104
+ },
95
105
  alt: {
96
106
  type: 'string',
97
107
  default: '',
@@ -22,6 +22,11 @@ var mediaInline = exports.mediaInline = (0, _adfSchemaGenerator.adfNode)('mediaI
22
22
  optional: true,
23
23
  default: 'file'
24
24
  },
25
+ localId: {
26
+ type: 'string',
27
+ default: null,
28
+ optional: true
29
+ },
25
30
  url: {
26
31
  type: 'string',
27
32
  default: null,
@@ -17,6 +17,11 @@ var mediaSingle = exports.mediaSingle = (0, _adfSchemaGenerator.adfNode)('mediaS
17
17
  marks: [_link.link, _unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
18
18
  attrs: {
19
19
  anyOf: [{
20
+ localId: {
21
+ type: 'string',
22
+ default: null,
23
+ optional: true
24
+ },
20
25
  width: {
21
26
  type: 'number',
22
27
  minimum: 0,
@@ -36,6 +41,11 @@ var mediaSingle = exports.mediaSingle = (0, _adfSchemaGenerator.adfNode)('mediaS
36
41
  optional: true
37
42
  }
38
43
  }, {
44
+ localId: {
45
+ type: 'string',
46
+ default: null,
47
+ optional: true
48
+ },
39
49
  width: {
40
50
  type: 'number',
41
51
  minimum: 0,
@@ -35,6 +35,11 @@ var nestedExpand = exports.nestedExpand = (0, _adfSchemaGenerator.adfNode)('nest
35
35
  type: 'boolean',
36
36
  default: true,
37
37
  optional: true
38
+ },
39
+ localId: {
40
+ type: 'string',
41
+ default: null,
42
+ optional: true
38
43
  }
39
44
  },
40
45
  content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, nestedExpandContent.concat([_extension.extension.use('with_marks')])))],
@@ -48,6 +48,11 @@ var panel = exports.panel = (0, _adfSchemaGenerator.adfNode)('panel').define({
48
48
  type: 'string',
49
49
  default: null,
50
50
  optional: true
51
+ },
52
+ localId: {
53
+ type: 'string',
54
+ default: null,
55
+ optional: true
51
56
  }
52
57
  },
53
58
  content: [(0, _adfSchemaGenerator.$onePlus)(_adfSchemaGenerator.$or.apply(void 0, panelContent.concat([_extension.extension.use('with_marks')])))]
@@ -16,6 +16,11 @@ var placeholder = exports.placeholder = (0, _adfSchemaGenerator.adfNode)('placeh
16
16
  text: {
17
17
  type: 'string',
18
18
  default: ''
19
+ },
20
+ localId: {
21
+ type: 'string',
22
+ default: null,
23
+ optional: true
19
24
  }
20
25
  }
21
26
  });
@@ -5,4 +5,12 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.rule = void 0;
7
7
  var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
8
- var rule = exports.rule = (0, _adfSchemaGenerator.adfNode)('rule').define({});
8
+ var rule = exports.rule = (0, _adfSchemaGenerator.adfNode)('rule').define({
9
+ attrs: {
10
+ localId: {
11
+ type: 'string',
12
+ default: null,
13
+ optional: true
14
+ }
15
+ }
16
+ });
@@ -44,6 +44,11 @@ var tableCell = (0, _adfSchemaGenerator.adfNode)('tableCell').define({
44
44
  type: 'string',
45
45
  default: null,
46
46
  optional: true
47
+ },
48
+ localId: {
49
+ type: 'string',
50
+ default: null,
51
+ optional: true
47
52
  }
48
53
  },
49
54
  content: [_tableCellContentPseudoGroup.tableCellContentPseudoGroup],
@@ -87,6 +92,11 @@ var tableHeader = (0, _adfSchemaGenerator.adfNode)('tableHeader').define({
87
92
  type: 'string',
88
93
  default: null,
89
94
  optional: true
95
+ },
96
+ localId: {
97
+ type: 'string',
98
+ default: null,
99
+ optional: true
90
100
  }
91
101
  },
92
102
  content: [_tableCellContentPseudoGroup.tableHeaderContentPseudoGroup],
@@ -107,6 +117,13 @@ var tableRow = (0, _adfSchemaGenerator.adfNode)('tableRow').define({
107
117
  marks: [_unsupportedMark.unsupportedMark, _unsupportedNodeAttribute.unsupportedNodeAttribute],
108
118
  content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(tableCell, tableHeader, _tableCellContent.tableCellContent))],
109
119
  tableRole: 'row',
120
+ attrs: {
121
+ localId: {
122
+ type: 'string',
123
+ default: null,
124
+ optional: true
125
+ }
126
+ },
110
127
  DANGEROUS_MANUAL_OVERRIDE: {
111
128
  'validator-spec': {
112
129
  'props.content.minItems': {
@@ -63,6 +63,12 @@ Object.defineProperty(exports, "blockCard", {
63
63
  return _nodes.blockCard;
64
64
  }
65
65
  });
66
+ Object.defineProperty(exports, "blockCardWithLocalId", {
67
+ enumerable: true,
68
+ get: function get() {
69
+ return _nodes.blockCardWithLocalId;
70
+ }
71
+ });
66
72
  Object.defineProperty(exports, "blockquote", {
67
73
  enumerable: true,
68
74
  get: function get() {
@@ -111,12 +117,24 @@ Object.defineProperty(exports, "bulletListSelector", {
111
117
  return _nodes.bulletListSelector;
112
118
  }
113
119
  });
120
+ Object.defineProperty(exports, "bulletListWithLocalId", {
121
+ enumerable: true,
122
+ get: function get() {
123
+ return _nodes.bulletListWithLocalId;
124
+ }
125
+ });
114
126
  Object.defineProperty(exports, "caption", {
115
127
  enumerable: true,
116
128
  get: function get() {
117
129
  return _nodes.caption;
118
130
  }
119
131
  });
132
+ Object.defineProperty(exports, "captionWithLocalId", {
133
+ enumerable: true,
134
+ get: function get() {
135
+ return _nodes.captionWithLocalId;
136
+ }
137
+ });
120
138
  Object.defineProperty(exports, "code", {
121
139
  enumerable: true,
122
140
  get: function get() {
@@ -135,6 +153,12 @@ Object.defineProperty(exports, "codeBlockToJSON", {
135
153
  return _nodes.codeBlockToJSON;
136
154
  }
137
155
  });
156
+ Object.defineProperty(exports, "codeBlockWithLocalId", {
157
+ enumerable: true,
158
+ get: function get() {
159
+ return _nodes.codeBlockWithLocalId;
160
+ }
161
+ });
138
162
  Object.defineProperty(exports, "colorPalette", {
139
163
  enumerable: true,
140
164
  get: function get() {
@@ -213,6 +237,12 @@ Object.defineProperty(exports, "date", {
213
237
  return _nodes.date;
214
238
  }
215
239
  });
240
+ Object.defineProperty(exports, "dateWithLocalId", {
241
+ enumerable: true,
242
+ get: function get() {
243
+ return _nodes.dateWithLocalId;
244
+ }
245
+ });
216
246
  Object.defineProperty(exports, "decisionItem", {
217
247
  enumerable: true,
218
248
  get: function get() {
@@ -249,12 +279,24 @@ Object.defineProperty(exports, "embedCard", {
249
279
  return _nodes.embedCard;
250
280
  }
251
281
  });
282
+ Object.defineProperty(exports, "embedCardWithLocalId", {
283
+ enumerable: true,
284
+ get: function get() {
285
+ return _nodes.embedCardWithLocalId;
286
+ }
287
+ });
252
288
  Object.defineProperty(exports, "emoji", {
253
289
  enumerable: true,
254
290
  get: function get() {
255
291
  return _nodes.emoji;
256
292
  }
257
293
  });
294
+ Object.defineProperty(exports, "emojiWithLocalId", {
295
+ enumerable: true,
296
+ get: function get() {
297
+ return _nodes.emojiWithLocalId;
298
+ }
299
+ });
258
300
  Object.defineProperty(exports, "expandToJSON", {
259
301
  enumerable: true,
260
302
  get: function get() {
@@ -267,18 +309,36 @@ Object.defineProperty(exports, "expandWithNestedExpand", {
267
309
  return _nodes.expandWithNestedExpand;
268
310
  }
269
311
  });
312
+ Object.defineProperty(exports, "expandWithNestedExpandLocalId", {
313
+ enumerable: true,
314
+ get: function get() {
315
+ return _nodes.expandWithNestedExpandLocalId;
316
+ }
317
+ });
270
318
  Object.defineProperty(exports, "extendedBlockquote", {
271
319
  enumerable: true,
272
320
  get: function get() {
273
321
  return _nodes.extendedBlockquote;
274
322
  }
275
323
  });
324
+ Object.defineProperty(exports, "extendedBlockquoteWithLocalId", {
325
+ enumerable: true,
326
+ get: function get() {
327
+ return _nodes.extendedBlockquoteWithLocalId;
328
+ }
329
+ });
276
330
  Object.defineProperty(exports, "extendedPanel", {
277
331
  enumerable: true,
278
332
  get: function get() {
279
333
  return _nodes.extendedPanel;
280
334
  }
281
335
  });
336
+ Object.defineProperty(exports, "extendedPanelWithLocalId", {
337
+ enumerable: true,
338
+ get: function get() {
339
+ return _nodes.extendedPanelWithLocalId;
340
+ }
341
+ });
282
342
  Object.defineProperty(exports, "extension", {
283
343
  enumerable: true,
284
344
  get: function get() {
@@ -321,6 +381,12 @@ Object.defineProperty(exports, "hardBreak", {
321
381
  return _nodes.hardBreak;
322
382
  }
323
383
  });
384
+ Object.defineProperty(exports, "hardBreakWithLocalId", {
385
+ enumerable: true,
386
+ get: function get() {
387
+ return _nodes.hardBreakWithLocalId;
388
+ }
389
+ });
324
390
  Object.defineProperty(exports, "heading", {
325
391
  enumerable: true,
326
392
  get: function get() {
@@ -345,6 +411,12 @@ Object.defineProperty(exports, "inlineCard", {
345
411
  return _nodes.inlineCard;
346
412
  }
347
413
  });
414
+ Object.defineProperty(exports, "inlineCardWithLocalId", {
415
+ enumerable: true,
416
+ get: function get() {
417
+ return _nodes.inlineCardWithLocalId;
418
+ }
419
+ });
348
420
  Object.defineProperty(exports, "inlineExtension", {
349
421
  enumerable: true,
350
422
  get: function get() {
@@ -363,6 +435,12 @@ Object.defineProperty(exports, "layoutColumn", {
363
435
  return _nodes.layoutColumn;
364
436
  }
365
437
  });
438
+ Object.defineProperty(exports, "layoutColumnWithLocalId", {
439
+ enumerable: true,
440
+ get: function get() {
441
+ return _nodes.layoutColumnWithLocalId;
442
+ }
443
+ });
366
444
  Object.defineProperty(exports, "layoutSection", {
367
445
  enumerable: true,
368
446
  get: function get() {
@@ -375,6 +453,12 @@ Object.defineProperty(exports, "layoutSectionWithSingleColumn", {
375
453
  return _nodes.layoutSectionWithSingleColumn;
376
454
  }
377
455
  });
456
+ Object.defineProperty(exports, "layoutSectionWithSingleColumnLocalId", {
457
+ enumerable: true,
458
+ get: function get() {
459
+ return _nodes.layoutSectionWithSingleColumnLocalId;
460
+ }
461
+ });
378
462
  Object.defineProperty(exports, "link", {
379
463
  enumerable: true,
380
464
  get: function get() {
@@ -429,6 +513,12 @@ Object.defineProperty(exports, "mediaSingleFull", {
429
513
  return _nodes.mediaSingleFull;
430
514
  }
431
515
  });
516
+ Object.defineProperty(exports, "mediaSingleFullWithLocalId", {
517
+ enumerable: true,
518
+ get: function get() {
519
+ return _nodes.mediaSingleFullWithLocalId;
520
+ }
521
+ });
432
522
  Object.defineProperty(exports, "mediaSingleSpec", {
433
523
  enumerable: true,
434
524
  get: function get() {
@@ -483,6 +573,12 @@ Object.defineProperty(exports, "nestedExpand", {
483
573
  return _nodes.nestedExpand;
484
574
  }
485
575
  });
576
+ Object.defineProperty(exports, "nestedExpandWithLocalId", {
577
+ enumerable: true,
578
+ get: function get() {
579
+ return _nodes.nestedExpandWithLocalId;
580
+ }
581
+ });
486
582
  Object.defineProperty(exports, "orderedList", {
487
583
  enumerable: true,
488
584
  get: function get() {
@@ -495,12 +591,24 @@ Object.defineProperty(exports, "orderedListSelector", {
495
591
  return _nodes.orderedListSelector;
496
592
  }
497
593
  });
594
+ Object.defineProperty(exports, "orderedListWithLocalId", {
595
+ enumerable: true,
596
+ get: function get() {
597
+ return _nodes.orderedListWithLocalId;
598
+ }
599
+ });
498
600
  Object.defineProperty(exports, "orderedListWithOrder", {
499
601
  enumerable: true,
500
602
  get: function get() {
501
603
  return _nodes.orderedListWithOrder;
502
604
  }
503
605
  });
606
+ Object.defineProperty(exports, "orderedListWithOrderAndLocalId", {
607
+ enumerable: true,
608
+ get: function get() {
609
+ return _nodes.orderedListWithOrderAndLocalId;
610
+ }
611
+ });
504
612
  Object.defineProperty(exports, "paragraph", {
505
613
  enumerable: true,
506
614
  get: function get() {
@@ -513,12 +621,24 @@ Object.defineProperty(exports, "placeholder", {
513
621
  return _nodes.placeholder;
514
622
  }
515
623
  });
624
+ Object.defineProperty(exports, "placeholderWithLocalId", {
625
+ enumerable: true,
626
+ get: function get() {
627
+ return _nodes.placeholderWithLocalId;
628
+ }
629
+ });
516
630
  Object.defineProperty(exports, "rule", {
517
631
  enumerable: true,
518
632
  get: function get() {
519
633
  return _nodes.rule;
520
634
  }
521
635
  });
636
+ Object.defineProperty(exports, "ruleWithLocalId", {
637
+ enumerable: true,
638
+ get: function get() {
639
+ return _nodes.ruleWithLocalId;
640
+ }
641
+ });
522
642
  Object.defineProperty(exports, "sanitizeNodes", {
523
643
  enumerable: true,
524
644
  get: function get() {
@@ -597,6 +717,12 @@ Object.defineProperty(exports, "tableCellSelector", {
597
717
  return _nodes.tableCellSelector;
598
718
  }
599
719
  });
720
+ Object.defineProperty(exports, "tableCellWithLocalId", {
721
+ enumerable: true,
722
+ get: function get() {
723
+ return _nodes.tableCellWithLocalId;
724
+ }
725
+ });
600
726
  Object.defineProperty(exports, "tableCellWithNestedTable", {
601
727
  enumerable: true,
602
728
  get: function get() {
@@ -615,6 +741,12 @@ Object.defineProperty(exports, "tableHeaderSelector", {
615
741
  return _nodes.tableHeaderSelector;
616
742
  }
617
743
  });
744
+ Object.defineProperty(exports, "tableHeaderWithLocalId", {
745
+ enumerable: true,
746
+ get: function get() {
747
+ return _nodes.tableHeaderWithLocalId;
748
+ }
749
+ });
618
750
  Object.defineProperty(exports, "tableHeaderWithNestedTable", {
619
751
  enumerable: true,
620
752
  get: function get() {
@@ -633,6 +765,12 @@ Object.defineProperty(exports, "tableRow", {
633
765
  return _nodes.tableRow;
634
766
  }
635
767
  });
768
+ Object.defineProperty(exports, "tableRowWithLocalId", {
769
+ enumerable: true,
770
+ get: function get() {
771
+ return _nodes.tableRowWithLocalId;
772
+ }
773
+ });
636
774
  Object.defineProperty(exports, "tableRowWithNestedTable", {
637
775
  enumerable: true,
638
776
  get: function get() {