@atlaskit/adf-schema 42.5.0 → 43.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/validator-schema/generated/validatorSpec.js +1 -170
- package/dist/es2019/validator-schema/generated/validatorSpec.js +0 -169
- package/dist/esm/validator-schema/generated/validatorSpec.js +0 -169
- package/dist/types/validator-schema/generated/validatorSpec.d.ts +0 -169
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# @atlaskit/adf-schema
|
2
2
|
|
3
|
+
## 43.0.0
|
4
|
+
|
5
|
+
### Major Changes
|
6
|
+
|
7
|
+
- 711e93b: ED-25392 Prevent validator-spec ignored nodes from being exposed in validator output - the following ignored node validator specs will no longer be exported and should not be used: `unsupportedInline`, `unsupportedBlock`, `image`, `confluenceJiraIssue`, `confluenceUnsupportedInline`, `listItem_legacy`, `blockquote_legacy`, `blockquote_without_nested_codeblock_or_media`, `tableCellContent`, `expand_without_nested_expand`, `confluenceUnsupportedBlock`.
|
8
|
+
|
3
9
|
## 42.5.0
|
4
10
|
|
5
11
|
### Minor Changes
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.
|
6
|
+
exports.underline = exports.text_link_inline = exports.text_formatted = exports.text_code_inline = exports.textColor = exports.text = exports.taskList = exports.taskItem = exports.tableRow = exports.tableHeader = exports.tableCell = exports.table = exports.subsup = exports.strong = exports.strike = exports.status = exports.rule = exports.placeholder = exports.paragraph_with_no_marks = exports.paragraph_with_indentation = exports.paragraph_with_alignment = exports.paragraph = exports.panel_with_nested_blockquote = exports.panel = exports.orderedList = exports.non_nestable_block_content = exports.nestedExpand_with_no_marks = exports.nestedExpand_content = exports.nestedExpand = exports.multiBodiedExtension = exports.mention = exports.mediaSingle_width_type = exports.mediaSingle_full = exports.mediaSingle_caption = exports.mediaSingle = exports.mediaInline = exports.mediaGroup = exports.media = exports.listItem_with_nested_decision = exports.listItem = exports.link = exports.layoutSection_with_single_column = exports.layoutSection_full = exports.layoutSection = exports.layoutColumn = exports.inline_content = exports.inlineExtension_with_marks = exports.inlineExtension = exports.inlineCard = exports.indentation = exports.heading_with_no_marks = exports.heading_with_indentation = exports.heading_with_alignment = exports.heading = exports.hardBreak = exports.fragment = exports.extension_with_marks = exports.extensionFrame = exports.extension = exports.expand_with_no_mark = exports.expand_with_breakout_mark = exports.expand = exports.emoji = exports.embedCard = exports.em = exports.doc = exports.decisionList = exports.decisionItem = exports.date = exports.dataConsumer = exports.confluenceInlineComment = exports.codeBlock_with_no_marks = exports.codeBlock_with_marks = exports.codeBlock = exports.code = exports.caption = exports.bulletList = exports.breakout = exports.border = exports.bodiedExtension_with_marks = exports.bodiedExtension = exports.blockquote = exports.block_content = exports.blockRootOnly = exports.blockCard = exports.backgroundColor = exports.annotation = exports.alignment = void 0;
|
7
7
|
var blockCard = exports.blockCard = {
|
8
8
|
props: {
|
9
9
|
type: {
|
@@ -86,21 +86,6 @@ var text = exports.text = {
|
|
86
86
|
}
|
87
87
|
}
|
88
88
|
};
|
89
|
-
var unsupportedInline = exports.unsupportedInline = {
|
90
|
-
props: {
|
91
|
-
type: {
|
92
|
-
type: 'enum',
|
93
|
-
values: ['unsupportedInline']
|
94
|
-
},
|
95
|
-
attrs: {
|
96
|
-
props: {
|
97
|
-
originalValue: {
|
98
|
-
type: 'object'
|
99
|
-
}
|
100
|
-
}
|
101
|
-
}
|
102
|
-
}
|
103
|
-
};
|
104
89
|
var codeBlock = exports.codeBlock = {
|
105
90
|
props: {
|
106
91
|
type: {
|
@@ -272,21 +257,6 @@ var media = exports.media = {
|
|
272
257
|
},
|
273
258
|
required: ['attrs']
|
274
259
|
};
|
275
|
-
var unsupportedBlock = exports.unsupportedBlock = {
|
276
|
-
props: {
|
277
|
-
type: {
|
278
|
-
type: 'enum',
|
279
|
-
values: ['unsupportedBlock']
|
280
|
-
},
|
281
|
-
attrs: {
|
282
|
-
props: {
|
283
|
-
originalValue: {
|
284
|
-
type: 'object'
|
285
|
-
}
|
286
|
-
}
|
287
|
-
}
|
288
|
-
}
|
289
|
-
};
|
290
260
|
var link = exports.link = {
|
291
261
|
props: {
|
292
262
|
type: {
|
@@ -814,75 +784,6 @@ var mediaInline = exports.mediaInline = {
|
|
814
784
|
}
|
815
785
|
}
|
816
786
|
};
|
817
|
-
var image = exports.image = {
|
818
|
-
props: {
|
819
|
-
type: {
|
820
|
-
type: 'enum',
|
821
|
-
values: ['image']
|
822
|
-
},
|
823
|
-
attrs: {
|
824
|
-
props: {
|
825
|
-
src: {
|
826
|
-
type: 'string'
|
827
|
-
},
|
828
|
-
alt: {
|
829
|
-
type: 'string',
|
830
|
-
optional: true
|
831
|
-
},
|
832
|
-
title: {
|
833
|
-
type: 'string',
|
834
|
-
optional: true
|
835
|
-
}
|
836
|
-
}
|
837
|
-
}
|
838
|
-
}
|
839
|
-
};
|
840
|
-
var confluenceJiraIssue = exports.confluenceJiraIssue = {
|
841
|
-
props: {
|
842
|
-
type: {
|
843
|
-
type: 'enum',
|
844
|
-
values: ['confluenceJiraIssue']
|
845
|
-
},
|
846
|
-
attrs: {
|
847
|
-
props: {
|
848
|
-
issueKey: {
|
849
|
-
type: 'string'
|
850
|
-
},
|
851
|
-
macroId: {
|
852
|
-
type: 'string',
|
853
|
-
optional: true
|
854
|
-
},
|
855
|
-
schemaVersion: {
|
856
|
-
type: 'string',
|
857
|
-
optional: true
|
858
|
-
},
|
859
|
-
server: {
|
860
|
-
type: 'string',
|
861
|
-
optional: true
|
862
|
-
},
|
863
|
-
serverId: {
|
864
|
-
type: 'string',
|
865
|
-
optional: true
|
866
|
-
}
|
867
|
-
}
|
868
|
-
}
|
869
|
-
}
|
870
|
-
};
|
871
|
-
var confluenceUnsupportedInline = exports.confluenceUnsupportedInline = {
|
872
|
-
props: {
|
873
|
-
type: {
|
874
|
-
type: 'enum',
|
875
|
-
values: ['confluenceUnsupportedInline']
|
876
|
-
},
|
877
|
-
attrs: {
|
878
|
-
props: {
|
879
|
-
cxhtml: {
|
880
|
-
type: 'string'
|
881
|
-
}
|
882
|
-
}
|
883
|
-
}
|
884
|
-
}
|
885
|
-
};
|
886
787
|
var inline_content = exports.inline_content = ['text_formatted', 'text_code_inline', 'date', 'emoji', 'hardBreak', 'inlineCard', 'mention', 'placeholder', 'status', 'inlineExtension_with_marks', 'mediaInline'];
|
887
788
|
var paragraph = exports.paragraph = {
|
888
789
|
props: {
|
@@ -987,17 +888,6 @@ var taskList = exports.taskList = {
|
|
987
888
|
}
|
988
889
|
}
|
989
890
|
};
|
990
|
-
var listItem_legacy = exports.listItem_legacy = ['listItem', {
|
991
|
-
props: {
|
992
|
-
content: {
|
993
|
-
type: 'array',
|
994
|
-
isTupleLike: true,
|
995
|
-
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'bulletList', 'orderedList', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks']],
|
996
|
-
minItems: 1,
|
997
|
-
allowUnsupportedBlock: true
|
998
|
-
}
|
999
|
-
}
|
1000
|
-
}];
|
1001
891
|
var decisionItem = exports.decisionItem = {
|
1002
892
|
props: {
|
1003
893
|
type: {
|
@@ -1133,26 +1023,6 @@ var blockquote = exports.blockquote = {
|
|
1133
1023
|
}
|
1134
1024
|
}
|
1135
1025
|
};
|
1136
|
-
var blockquote_legacy = exports.blockquote_legacy = ['blockquote', {
|
1137
|
-
props: {
|
1138
|
-
content: {
|
1139
|
-
type: 'array',
|
1140
|
-
items: ['paragraph'],
|
1141
|
-
minItems: 1,
|
1142
|
-
allowUnsupportedBlock: true
|
1143
|
-
}
|
1144
|
-
}
|
1145
|
-
}];
|
1146
|
-
var blockquote_without_nested_codeblock_or_media = exports.blockquote_without_nested_codeblock_or_media = ['blockquote', {
|
1147
|
-
props: {
|
1148
|
-
content: {
|
1149
|
-
type: 'array',
|
1150
|
-
items: [['paragraph_with_no_marks', 'orderedList', 'bulletList']],
|
1151
|
-
minItems: 1,
|
1152
|
-
allowUnsupportedBlock: true
|
1153
|
-
}
|
1154
|
-
}
|
1155
|
-
}];
|
1156
1026
|
var embedCard = exports.embedCard = {
|
1157
1027
|
props: {
|
1158
1028
|
type: {
|
@@ -1538,20 +1408,6 @@ var tableHeader = exports.tableHeader = {
|
|
1538
1408
|
},
|
1539
1409
|
required: ['content']
|
1540
1410
|
};
|
1541
|
-
var tableCellContent = exports.tableCellContent = {
|
1542
|
-
props: {
|
1543
|
-
type: {
|
1544
|
-
type: 'enum',
|
1545
|
-
values: ['tableCellContent']
|
1546
|
-
},
|
1547
|
-
content: {
|
1548
|
-
type: 'array',
|
1549
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
1550
|
-
minItems: 1,
|
1551
|
-
allowUnsupportedBlock: true
|
1552
|
-
}
|
1553
|
-
}
|
1554
|
-
};
|
1555
1411
|
var tableRow = exports.tableRow = {
|
1556
1412
|
props: {
|
1557
1413
|
type: {
|
@@ -1715,31 +1571,6 @@ var expand_with_breakout_mark = exports.expand_with_breakout_mark = ['expand', {
|
|
1715
1571
|
}
|
1716
1572
|
}
|
1717
1573
|
}];
|
1718
|
-
var expand_without_nested_expand = exports.expand_without_nested_expand = ['expand', {
|
1719
|
-
props: {
|
1720
|
-
content: {
|
1721
|
-
type: 'array',
|
1722
|
-
items: ['non_nestable_block_content'],
|
1723
|
-
minItems: 1,
|
1724
|
-
allowUnsupportedBlock: true
|
1725
|
-
}
|
1726
|
-
}
|
1727
|
-
}];
|
1728
|
-
var confluenceUnsupportedBlock = exports.confluenceUnsupportedBlock = {
|
1729
|
-
props: {
|
1730
|
-
type: {
|
1731
|
-
type: 'enum',
|
1732
|
-
values: ['confluenceUnsupportedBlock']
|
1733
|
-
},
|
1734
|
-
attrs: {
|
1735
|
-
props: {
|
1736
|
-
cxhtml: {
|
1737
|
-
type: 'string'
|
1738
|
-
}
|
1739
|
-
}
|
1740
|
-
}
|
1741
|
-
}
|
1742
|
-
};
|
1743
1574
|
var block_content = exports.block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'panel_with_nested_blockquote', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
|
1744
1575
|
var layoutColumn = exports.layoutColumn = {
|
1745
1576
|
props: {
|
@@ -80,21 +80,6 @@ export const text = {
|
|
80
80
|
}
|
81
81
|
}
|
82
82
|
};
|
83
|
-
export const unsupportedInline = {
|
84
|
-
props: {
|
85
|
-
type: {
|
86
|
-
type: 'enum',
|
87
|
-
values: ['unsupportedInline']
|
88
|
-
},
|
89
|
-
attrs: {
|
90
|
-
props: {
|
91
|
-
originalValue: {
|
92
|
-
type: 'object'
|
93
|
-
}
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
97
|
-
};
|
98
83
|
export const codeBlock = {
|
99
84
|
props: {
|
100
85
|
type: {
|
@@ -266,21 +251,6 @@ export const media = {
|
|
266
251
|
},
|
267
252
|
required: ['attrs']
|
268
253
|
};
|
269
|
-
export const unsupportedBlock = {
|
270
|
-
props: {
|
271
|
-
type: {
|
272
|
-
type: 'enum',
|
273
|
-
values: ['unsupportedBlock']
|
274
|
-
},
|
275
|
-
attrs: {
|
276
|
-
props: {
|
277
|
-
originalValue: {
|
278
|
-
type: 'object'
|
279
|
-
}
|
280
|
-
}
|
281
|
-
}
|
282
|
-
}
|
283
|
-
};
|
284
254
|
export const link = {
|
285
255
|
props: {
|
286
256
|
type: {
|
@@ -808,75 +778,6 @@ export const mediaInline = {
|
|
808
778
|
}
|
809
779
|
}
|
810
780
|
};
|
811
|
-
export const image = {
|
812
|
-
props: {
|
813
|
-
type: {
|
814
|
-
type: 'enum',
|
815
|
-
values: ['image']
|
816
|
-
},
|
817
|
-
attrs: {
|
818
|
-
props: {
|
819
|
-
src: {
|
820
|
-
type: 'string'
|
821
|
-
},
|
822
|
-
alt: {
|
823
|
-
type: 'string',
|
824
|
-
optional: true
|
825
|
-
},
|
826
|
-
title: {
|
827
|
-
type: 'string',
|
828
|
-
optional: true
|
829
|
-
}
|
830
|
-
}
|
831
|
-
}
|
832
|
-
}
|
833
|
-
};
|
834
|
-
export const confluenceJiraIssue = {
|
835
|
-
props: {
|
836
|
-
type: {
|
837
|
-
type: 'enum',
|
838
|
-
values: ['confluenceJiraIssue']
|
839
|
-
},
|
840
|
-
attrs: {
|
841
|
-
props: {
|
842
|
-
issueKey: {
|
843
|
-
type: 'string'
|
844
|
-
},
|
845
|
-
macroId: {
|
846
|
-
type: 'string',
|
847
|
-
optional: true
|
848
|
-
},
|
849
|
-
schemaVersion: {
|
850
|
-
type: 'string',
|
851
|
-
optional: true
|
852
|
-
},
|
853
|
-
server: {
|
854
|
-
type: 'string',
|
855
|
-
optional: true
|
856
|
-
},
|
857
|
-
serverId: {
|
858
|
-
type: 'string',
|
859
|
-
optional: true
|
860
|
-
}
|
861
|
-
}
|
862
|
-
}
|
863
|
-
}
|
864
|
-
};
|
865
|
-
export const confluenceUnsupportedInline = {
|
866
|
-
props: {
|
867
|
-
type: {
|
868
|
-
type: 'enum',
|
869
|
-
values: ['confluenceUnsupportedInline']
|
870
|
-
},
|
871
|
-
attrs: {
|
872
|
-
props: {
|
873
|
-
cxhtml: {
|
874
|
-
type: 'string'
|
875
|
-
}
|
876
|
-
}
|
877
|
-
}
|
878
|
-
}
|
879
|
-
};
|
880
781
|
export const inline_content = ['text_formatted', 'text_code_inline', 'date', 'emoji', 'hardBreak', 'inlineCard', 'mention', 'placeholder', 'status', 'inlineExtension_with_marks', 'mediaInline'];
|
881
782
|
export const paragraph = {
|
882
783
|
props: {
|
@@ -981,17 +882,6 @@ export const taskList = {
|
|
981
882
|
}
|
982
883
|
}
|
983
884
|
};
|
984
|
-
export const listItem_legacy = ['listItem', {
|
985
|
-
props: {
|
986
|
-
content: {
|
987
|
-
type: 'array',
|
988
|
-
isTupleLike: true,
|
989
|
-
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'bulletList', 'orderedList', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks']],
|
990
|
-
minItems: 1,
|
991
|
-
allowUnsupportedBlock: true
|
992
|
-
}
|
993
|
-
}
|
994
|
-
}];
|
995
885
|
export const decisionItem = {
|
996
886
|
props: {
|
997
887
|
type: {
|
@@ -1127,26 +1017,6 @@ export const blockquote = {
|
|
1127
1017
|
}
|
1128
1018
|
}
|
1129
1019
|
};
|
1130
|
-
export const blockquote_legacy = ['blockquote', {
|
1131
|
-
props: {
|
1132
|
-
content: {
|
1133
|
-
type: 'array',
|
1134
|
-
items: ['paragraph'],
|
1135
|
-
minItems: 1,
|
1136
|
-
allowUnsupportedBlock: true
|
1137
|
-
}
|
1138
|
-
}
|
1139
|
-
}];
|
1140
|
-
export const blockquote_without_nested_codeblock_or_media = ['blockquote', {
|
1141
|
-
props: {
|
1142
|
-
content: {
|
1143
|
-
type: 'array',
|
1144
|
-
items: [['paragraph_with_no_marks', 'orderedList', 'bulletList']],
|
1145
|
-
minItems: 1,
|
1146
|
-
allowUnsupportedBlock: true
|
1147
|
-
}
|
1148
|
-
}
|
1149
|
-
}];
|
1150
1020
|
export const embedCard = {
|
1151
1021
|
props: {
|
1152
1022
|
type: {
|
@@ -1532,20 +1402,6 @@ export const tableHeader = {
|
|
1532
1402
|
},
|
1533
1403
|
required: ['content']
|
1534
1404
|
};
|
1535
|
-
export const tableCellContent = {
|
1536
|
-
props: {
|
1537
|
-
type: {
|
1538
|
-
type: 'enum',
|
1539
|
-
values: ['tableCellContent']
|
1540
|
-
},
|
1541
|
-
content: {
|
1542
|
-
type: 'array',
|
1543
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
1544
|
-
minItems: 1,
|
1545
|
-
allowUnsupportedBlock: true
|
1546
|
-
}
|
1547
|
-
}
|
1548
|
-
};
|
1549
1405
|
export const tableRow = {
|
1550
1406
|
props: {
|
1551
1407
|
type: {
|
@@ -1709,31 +1565,6 @@ export const expand_with_breakout_mark = ['expand', {
|
|
1709
1565
|
}
|
1710
1566
|
}
|
1711
1567
|
}];
|
1712
|
-
export const expand_without_nested_expand = ['expand', {
|
1713
|
-
props: {
|
1714
|
-
content: {
|
1715
|
-
type: 'array',
|
1716
|
-
items: ['non_nestable_block_content'],
|
1717
|
-
minItems: 1,
|
1718
|
-
allowUnsupportedBlock: true
|
1719
|
-
}
|
1720
|
-
}
|
1721
|
-
}];
|
1722
|
-
export const confluenceUnsupportedBlock = {
|
1723
|
-
props: {
|
1724
|
-
type: {
|
1725
|
-
type: 'enum',
|
1726
|
-
values: ['confluenceUnsupportedBlock']
|
1727
|
-
},
|
1728
|
-
attrs: {
|
1729
|
-
props: {
|
1730
|
-
cxhtml: {
|
1731
|
-
type: 'string'
|
1732
|
-
}
|
1733
|
-
}
|
1734
|
-
}
|
1735
|
-
}
|
1736
|
-
};
|
1737
1568
|
export const block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'panel_with_nested_blockquote', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
|
1738
1569
|
export const layoutColumn = {
|
1739
1570
|
props: {
|
@@ -80,21 +80,6 @@ export var text = {
|
|
80
80
|
}
|
81
81
|
}
|
82
82
|
};
|
83
|
-
export var unsupportedInline = {
|
84
|
-
props: {
|
85
|
-
type: {
|
86
|
-
type: 'enum',
|
87
|
-
values: ['unsupportedInline']
|
88
|
-
},
|
89
|
-
attrs: {
|
90
|
-
props: {
|
91
|
-
originalValue: {
|
92
|
-
type: 'object'
|
93
|
-
}
|
94
|
-
}
|
95
|
-
}
|
96
|
-
}
|
97
|
-
};
|
98
83
|
export var codeBlock = {
|
99
84
|
props: {
|
100
85
|
type: {
|
@@ -266,21 +251,6 @@ export var media = {
|
|
266
251
|
},
|
267
252
|
required: ['attrs']
|
268
253
|
};
|
269
|
-
export var unsupportedBlock = {
|
270
|
-
props: {
|
271
|
-
type: {
|
272
|
-
type: 'enum',
|
273
|
-
values: ['unsupportedBlock']
|
274
|
-
},
|
275
|
-
attrs: {
|
276
|
-
props: {
|
277
|
-
originalValue: {
|
278
|
-
type: 'object'
|
279
|
-
}
|
280
|
-
}
|
281
|
-
}
|
282
|
-
}
|
283
|
-
};
|
284
254
|
export var link = {
|
285
255
|
props: {
|
286
256
|
type: {
|
@@ -808,75 +778,6 @@ export var mediaInline = {
|
|
808
778
|
}
|
809
779
|
}
|
810
780
|
};
|
811
|
-
export var image = {
|
812
|
-
props: {
|
813
|
-
type: {
|
814
|
-
type: 'enum',
|
815
|
-
values: ['image']
|
816
|
-
},
|
817
|
-
attrs: {
|
818
|
-
props: {
|
819
|
-
src: {
|
820
|
-
type: 'string'
|
821
|
-
},
|
822
|
-
alt: {
|
823
|
-
type: 'string',
|
824
|
-
optional: true
|
825
|
-
},
|
826
|
-
title: {
|
827
|
-
type: 'string',
|
828
|
-
optional: true
|
829
|
-
}
|
830
|
-
}
|
831
|
-
}
|
832
|
-
}
|
833
|
-
};
|
834
|
-
export var confluenceJiraIssue = {
|
835
|
-
props: {
|
836
|
-
type: {
|
837
|
-
type: 'enum',
|
838
|
-
values: ['confluenceJiraIssue']
|
839
|
-
},
|
840
|
-
attrs: {
|
841
|
-
props: {
|
842
|
-
issueKey: {
|
843
|
-
type: 'string'
|
844
|
-
},
|
845
|
-
macroId: {
|
846
|
-
type: 'string',
|
847
|
-
optional: true
|
848
|
-
},
|
849
|
-
schemaVersion: {
|
850
|
-
type: 'string',
|
851
|
-
optional: true
|
852
|
-
},
|
853
|
-
server: {
|
854
|
-
type: 'string',
|
855
|
-
optional: true
|
856
|
-
},
|
857
|
-
serverId: {
|
858
|
-
type: 'string',
|
859
|
-
optional: true
|
860
|
-
}
|
861
|
-
}
|
862
|
-
}
|
863
|
-
}
|
864
|
-
};
|
865
|
-
export var confluenceUnsupportedInline = {
|
866
|
-
props: {
|
867
|
-
type: {
|
868
|
-
type: 'enum',
|
869
|
-
values: ['confluenceUnsupportedInline']
|
870
|
-
},
|
871
|
-
attrs: {
|
872
|
-
props: {
|
873
|
-
cxhtml: {
|
874
|
-
type: 'string'
|
875
|
-
}
|
876
|
-
}
|
877
|
-
}
|
878
|
-
}
|
879
|
-
};
|
880
781
|
export var inline_content = ['text_formatted', 'text_code_inline', 'date', 'emoji', 'hardBreak', 'inlineCard', 'mention', 'placeholder', 'status', 'inlineExtension_with_marks', 'mediaInline'];
|
881
782
|
export var paragraph = {
|
882
783
|
props: {
|
@@ -981,17 +882,6 @@ export var taskList = {
|
|
981
882
|
}
|
982
883
|
}
|
983
884
|
};
|
984
|
-
export var listItem_legacy = ['listItem', {
|
985
|
-
props: {
|
986
|
-
content: {
|
987
|
-
type: 'array',
|
988
|
-
isTupleLike: true,
|
989
|
-
items: [['paragraph_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks'], ['paragraph_with_no_marks', 'bulletList', 'orderedList', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks']],
|
990
|
-
minItems: 1,
|
991
|
-
allowUnsupportedBlock: true
|
992
|
-
}
|
993
|
-
}
|
994
|
-
}];
|
995
885
|
export var decisionItem = {
|
996
886
|
props: {
|
997
887
|
type: {
|
@@ -1127,26 +1017,6 @@ export var blockquote = {
|
|
1127
1017
|
}
|
1128
1018
|
}
|
1129
1019
|
};
|
1130
|
-
export var blockquote_legacy = ['blockquote', {
|
1131
|
-
props: {
|
1132
|
-
content: {
|
1133
|
-
type: 'array',
|
1134
|
-
items: ['paragraph'],
|
1135
|
-
minItems: 1,
|
1136
|
-
allowUnsupportedBlock: true
|
1137
|
-
}
|
1138
|
-
}
|
1139
|
-
}];
|
1140
|
-
export var blockquote_without_nested_codeblock_or_media = ['blockquote', {
|
1141
|
-
props: {
|
1142
|
-
content: {
|
1143
|
-
type: 'array',
|
1144
|
-
items: [['paragraph_with_no_marks', 'orderedList', 'bulletList']],
|
1145
|
-
minItems: 1,
|
1146
|
-
allowUnsupportedBlock: true
|
1147
|
-
}
|
1148
|
-
}
|
1149
|
-
}];
|
1150
1020
|
export var embedCard = {
|
1151
1021
|
props: {
|
1152
1022
|
type: {
|
@@ -1532,20 +1402,6 @@ export var tableHeader = {
|
|
1532
1402
|
},
|
1533
1403
|
required: ['content']
|
1534
1404
|
};
|
1535
|
-
export var tableCellContent = {
|
1536
|
-
props: {
|
1537
|
-
type: {
|
1538
|
-
type: 'enum',
|
1539
|
-
values: ['tableCellContent']
|
1540
|
-
},
|
1541
|
-
content: {
|
1542
|
-
type: 'array',
|
1543
|
-
items: [['paragraph_with_no_marks', 'paragraph_with_alignment', 'panel', 'blockquote', 'orderedList', 'bulletList', 'rule', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'codeBlock_with_no_marks', 'mediaSingle_caption', 'mediaSingle_full', 'mediaGroup', 'decisionList', 'taskList', 'blockCard', 'embedCard', 'extension_with_marks', 'nestedExpand_with_no_marks']],
|
1544
|
-
minItems: 1,
|
1545
|
-
allowUnsupportedBlock: true
|
1546
|
-
}
|
1547
|
-
}
|
1548
|
-
};
|
1549
1405
|
export var tableRow = {
|
1550
1406
|
props: {
|
1551
1407
|
type: {
|
@@ -1709,31 +1565,6 @@ export var expand_with_breakout_mark = ['expand', {
|
|
1709
1565
|
}
|
1710
1566
|
}
|
1711
1567
|
}];
|
1712
|
-
export var expand_without_nested_expand = ['expand', {
|
1713
|
-
props: {
|
1714
|
-
content: {
|
1715
|
-
type: 'array',
|
1716
|
-
items: ['non_nestable_block_content'],
|
1717
|
-
minItems: 1,
|
1718
|
-
allowUnsupportedBlock: true
|
1719
|
-
}
|
1720
|
-
}
|
1721
|
-
}];
|
1722
|
-
export var confluenceUnsupportedBlock = {
|
1723
|
-
props: {
|
1724
|
-
type: {
|
1725
|
-
type: 'enum',
|
1726
|
-
values: ['confluenceUnsupportedBlock']
|
1727
|
-
},
|
1728
|
-
attrs: {
|
1729
|
-
props: {
|
1730
|
-
cxhtml: {
|
1731
|
-
type: 'string'
|
1732
|
-
}
|
1733
|
-
}
|
1734
|
-
}
|
1735
|
-
}
|
1736
|
-
};
|
1737
1568
|
export var block_content = ['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'panel_with_nested_blockquote', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks'];
|
1738
1569
|
export var layoutColumn = {
|
1739
1570
|
props: {
|
@@ -90,21 +90,6 @@ export declare const text: {
|
|
90
90
|
};
|
91
91
|
};
|
92
92
|
};
|
93
|
-
export declare const unsupportedInline: {
|
94
|
-
props: {
|
95
|
-
type: {
|
96
|
-
type: string;
|
97
|
-
values: string[];
|
98
|
-
};
|
99
|
-
attrs: {
|
100
|
-
props: {
|
101
|
-
originalValue: {
|
102
|
-
type: string;
|
103
|
-
};
|
104
|
-
};
|
105
|
-
};
|
106
|
-
};
|
107
|
-
};
|
108
93
|
export declare const codeBlock: {
|
109
94
|
props: {
|
110
95
|
type: {
|
@@ -283,21 +268,6 @@ export declare const media: {
|
|
283
268
|
};
|
284
269
|
required: string[];
|
285
270
|
};
|
286
|
-
export declare const unsupportedBlock: {
|
287
|
-
props: {
|
288
|
-
type: {
|
289
|
-
type: string;
|
290
|
-
values: string[];
|
291
|
-
};
|
292
|
-
attrs: {
|
293
|
-
props: {
|
294
|
-
originalValue: {
|
295
|
-
type: string;
|
296
|
-
};
|
297
|
-
};
|
298
|
-
};
|
299
|
-
};
|
300
|
-
};
|
301
271
|
export declare const link: {
|
302
272
|
props: {
|
303
273
|
type: {
|
@@ -827,75 +797,6 @@ export declare const mediaInline: {
|
|
827
797
|
};
|
828
798
|
};
|
829
799
|
};
|
830
|
-
export declare const image: {
|
831
|
-
props: {
|
832
|
-
type: {
|
833
|
-
type: string;
|
834
|
-
values: string[];
|
835
|
-
};
|
836
|
-
attrs: {
|
837
|
-
props: {
|
838
|
-
src: {
|
839
|
-
type: string;
|
840
|
-
};
|
841
|
-
alt: {
|
842
|
-
type: string;
|
843
|
-
optional: boolean;
|
844
|
-
};
|
845
|
-
title: {
|
846
|
-
type: string;
|
847
|
-
optional: boolean;
|
848
|
-
};
|
849
|
-
};
|
850
|
-
};
|
851
|
-
};
|
852
|
-
};
|
853
|
-
export declare const confluenceJiraIssue: {
|
854
|
-
props: {
|
855
|
-
type: {
|
856
|
-
type: string;
|
857
|
-
values: string[];
|
858
|
-
};
|
859
|
-
attrs: {
|
860
|
-
props: {
|
861
|
-
issueKey: {
|
862
|
-
type: string;
|
863
|
-
};
|
864
|
-
macroId: {
|
865
|
-
type: string;
|
866
|
-
optional: boolean;
|
867
|
-
};
|
868
|
-
schemaVersion: {
|
869
|
-
type: string;
|
870
|
-
optional: boolean;
|
871
|
-
};
|
872
|
-
server: {
|
873
|
-
type: string;
|
874
|
-
optional: boolean;
|
875
|
-
};
|
876
|
-
serverId: {
|
877
|
-
type: string;
|
878
|
-
optional: boolean;
|
879
|
-
};
|
880
|
-
};
|
881
|
-
};
|
882
|
-
};
|
883
|
-
};
|
884
|
-
export declare const confluenceUnsupportedInline: {
|
885
|
-
props: {
|
886
|
-
type: {
|
887
|
-
type: string;
|
888
|
-
values: string[];
|
889
|
-
};
|
890
|
-
attrs: {
|
891
|
-
props: {
|
892
|
-
cxhtml: {
|
893
|
-
type: string;
|
894
|
-
};
|
895
|
-
};
|
896
|
-
};
|
897
|
-
};
|
898
|
-
};
|
899
800
|
export declare const inline_content: string[];
|
900
801
|
export declare const paragraph: {
|
901
802
|
props: {
|
@@ -1000,17 +901,6 @@ export declare const taskList: {
|
|
1000
901
|
};
|
1001
902
|
};
|
1002
903
|
};
|
1003
|
-
export declare const listItem_legacy: (string | {
|
1004
|
-
props: {
|
1005
|
-
content: {
|
1006
|
-
type: string;
|
1007
|
-
isTupleLike: boolean;
|
1008
|
-
items: string[][];
|
1009
|
-
minItems: number;
|
1010
|
-
allowUnsupportedBlock: boolean;
|
1011
|
-
};
|
1012
|
-
};
|
1013
|
-
})[];
|
1014
904
|
export declare const decisionItem: {
|
1015
905
|
props: {
|
1016
906
|
type: {
|
@@ -1146,26 +1036,6 @@ export declare const blockquote: {
|
|
1146
1036
|
};
|
1147
1037
|
};
|
1148
1038
|
};
|
1149
|
-
export declare const blockquote_legacy: (string | {
|
1150
|
-
props: {
|
1151
|
-
content: {
|
1152
|
-
type: string;
|
1153
|
-
items: string[];
|
1154
|
-
minItems: number;
|
1155
|
-
allowUnsupportedBlock: boolean;
|
1156
|
-
};
|
1157
|
-
};
|
1158
|
-
})[];
|
1159
|
-
export declare const blockquote_without_nested_codeblock_or_media: (string | {
|
1160
|
-
props: {
|
1161
|
-
content: {
|
1162
|
-
type: string;
|
1163
|
-
items: string[][];
|
1164
|
-
minItems: number;
|
1165
|
-
allowUnsupportedBlock: boolean;
|
1166
|
-
};
|
1167
|
-
};
|
1168
|
-
})[];
|
1169
1039
|
export declare const embedCard: {
|
1170
1040
|
props: {
|
1171
1041
|
type: {
|
@@ -1551,20 +1421,6 @@ export declare const tableHeader: {
|
|
1551
1421
|
};
|
1552
1422
|
required: string[];
|
1553
1423
|
};
|
1554
|
-
export declare const tableCellContent: {
|
1555
|
-
props: {
|
1556
|
-
type: {
|
1557
|
-
type: string;
|
1558
|
-
values: string[];
|
1559
|
-
};
|
1560
|
-
content: {
|
1561
|
-
type: string;
|
1562
|
-
items: string[][];
|
1563
|
-
minItems: number;
|
1564
|
-
allowUnsupportedBlock: boolean;
|
1565
|
-
};
|
1566
|
-
};
|
1567
|
-
};
|
1568
1424
|
export declare const tableRow: {
|
1569
1425
|
props: {
|
1570
1426
|
type: {
|
@@ -1728,31 +1584,6 @@ export declare const expand_with_breakout_mark: (string | {
|
|
1728
1584
|
};
|
1729
1585
|
};
|
1730
1586
|
})[];
|
1731
|
-
export declare const expand_without_nested_expand: (string | {
|
1732
|
-
props: {
|
1733
|
-
content: {
|
1734
|
-
type: string;
|
1735
|
-
items: string[];
|
1736
|
-
minItems: number;
|
1737
|
-
allowUnsupportedBlock: boolean;
|
1738
|
-
};
|
1739
|
-
};
|
1740
|
-
})[];
|
1741
|
-
export declare const confluenceUnsupportedBlock: {
|
1742
|
-
props: {
|
1743
|
-
type: {
|
1744
|
-
type: string;
|
1745
|
-
values: string[];
|
1746
|
-
};
|
1747
|
-
attrs: {
|
1748
|
-
props: {
|
1749
|
-
cxhtml: {
|
1750
|
-
type: string;
|
1751
|
-
};
|
1752
|
-
};
|
1753
|
-
};
|
1754
|
-
};
|
1755
|
-
};
|
1756
1587
|
export declare const block_content: string[];
|
1757
1588
|
export declare const layoutColumn: {
|
1758
1589
|
props: {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "
|
3
|
+
"version": "43.0.0",
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
5
5
|
"publishConfig": {
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
@@ -46,7 +46,7 @@
|
|
46
46
|
},
|
47
47
|
"devDependencies": {
|
48
48
|
"@atlassian/adf-schema-json": "^1.22.0",
|
49
|
-
"@atlaskit/adf-schema-generator": "^1.
|
49
|
+
"@atlaskit/adf-schema-generator": "^1.36.0",
|
50
50
|
"@atlaskit/codemod-utils": "^4.2.4",
|
51
51
|
"@babel/cli": "^7.22.9",
|
52
52
|
"@babel/core": "^7.22.9",
|