@atlaskit/adf-schema 37.1.21 → 37.1.23
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 +12 -0
- package/dist/cjs/next-schema/generated/nodeTypes.js +23 -1
- package/dist/cjs/next-schema/groups/inlineGroup.js +1 -1
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +32 -0
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +1 -2
- package/dist/cjs/next-schema/nodes/codeBlock.js +2 -2
- package/dist/cjs/next-schema/nodes/expand.js +2 -2
- package/dist/cjs/next-schema/nodes/extension.js +1 -2
- package/dist/cjs/next-schema/nodes/layoutSection.js +2 -3
- package/dist/cjs/next-schema/nodes/mediaSingle.js +0 -1
- package/dist/cjs/next-schema/nodes/tableCell.js +2 -17
- package/dist/cjs/next-schema/nodes/tableCellContent.js +14 -0
- package/dist/cjs/next-schema/nodes/tableHeader.js +2 -16
- package/dist/cjs/next-schema/nodes/tableRow.js +2 -1
- package/dist/es2019/next-schema/generated/nodeTypes.js +22 -0
- package/dist/es2019/next-schema/groups/inlineGroup.js +1 -1
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +26 -0
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +1 -2
- package/dist/es2019/next-schema/nodes/codeBlock.js +2 -2
- package/dist/es2019/next-schema/nodes/expand.js +2 -2
- package/dist/es2019/next-schema/nodes/extension.js +1 -2
- package/dist/es2019/next-schema/nodes/layoutSection.js +2 -3
- package/dist/es2019/next-schema/nodes/mediaSingle.js +0 -1
- package/dist/es2019/next-schema/nodes/tableCell.js +3 -18
- package/dist/es2019/next-schema/nodes/tableCellContent.js +9 -0
- package/dist/es2019/next-schema/nodes/tableHeader.js +3 -17
- package/dist/es2019/next-schema/nodes/tableRow.js +2 -1
- package/dist/esm/next-schema/generated/nodeTypes.js +22 -0
- package/dist/esm/next-schema/groups/inlineGroup.js +1 -1
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +26 -0
- package/dist/esm/next-schema/nodes/bodiedExtension.js +1 -2
- package/dist/esm/next-schema/nodes/codeBlock.js +2 -2
- package/dist/esm/next-schema/nodes/expand.js +2 -2
- package/dist/esm/next-schema/nodes/extension.js +1 -2
- package/dist/esm/next-schema/nodes/layoutSection.js +2 -3
- package/dist/esm/next-schema/nodes/mediaSingle.js +0 -1
- package/dist/esm/next-schema/nodes/tableCell.js +3 -18
- package/dist/esm/next-schema/nodes/tableCellContent.js +9 -0
- package/dist/esm/next-schema/nodes/tableHeader.js +3 -17
- package/dist/esm/next-schema/nodes/tableRow.js +2 -1
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +2 -2
- package/dist/types/next-schema/generated/nodeTypes.d.ts +79 -66
- package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +2 -0
- package/dist/types/next-schema/nodes/tableCellContent.d.ts +40 -0
- package/package.json +2 -2
- package/schema-generators/__tests__/unit/json-full-schema-backwards-compat.unit.ts +0 -18
- package/schema-generators/__tests__/unit/__fixtures__/index.fixture.ts +0 -140
@@ -1,140 +0,0 @@
|
|
1
|
-
import { JSONSchema4 } from 'json-schema';
|
2
|
-
|
3
|
-
export const tableCellNodeContent: JSONSchema4 = {
|
4
|
-
type: 'array',
|
5
|
-
items: {
|
6
|
-
anyOf: [
|
7
|
-
{
|
8
|
-
$ref: '#/definitions/codeBlock_with_no_marks_node',
|
9
|
-
},
|
10
|
-
{
|
11
|
-
$ref: '#/definitions/blockCard_node',
|
12
|
-
},
|
13
|
-
{
|
14
|
-
$ref: '#/definitions/paragraph_with_no_marks_node',
|
15
|
-
},
|
16
|
-
{
|
17
|
-
$ref: '#/definitions/paragraph_with_alignment_node',
|
18
|
-
},
|
19
|
-
{
|
20
|
-
$ref: '#/definitions/mediaSingle_caption_node',
|
21
|
-
},
|
22
|
-
{
|
23
|
-
$ref: '#/definitions/mediaSingle_full_node',
|
24
|
-
},
|
25
|
-
{
|
26
|
-
$ref: '#/definitions/taskList_node',
|
27
|
-
},
|
28
|
-
{
|
29
|
-
$ref: '#/definitions/bulletList_node',
|
30
|
-
},
|
31
|
-
{
|
32
|
-
$ref: '#/definitions/orderedList_node',
|
33
|
-
},
|
34
|
-
{
|
35
|
-
$ref: '#/definitions/heading_with_no_marks_node',
|
36
|
-
},
|
37
|
-
{
|
38
|
-
$ref: '#/definitions/heading_with_alignment_node',
|
39
|
-
},
|
40
|
-
{
|
41
|
-
$ref: '#/definitions/heading_with_indentation_node',
|
42
|
-
},
|
43
|
-
{
|
44
|
-
$ref: '#/definitions/mediaGroup_node',
|
45
|
-
},
|
46
|
-
{
|
47
|
-
$ref: '#/definitions/decisionList_node',
|
48
|
-
},
|
49
|
-
{
|
50
|
-
$ref: '#/definitions/rule_node',
|
51
|
-
},
|
52
|
-
{
|
53
|
-
$ref: '#/definitions/panel_node',
|
54
|
-
},
|
55
|
-
{
|
56
|
-
$ref: '#/definitions/blockquote_node',
|
57
|
-
},
|
58
|
-
{
|
59
|
-
$ref: '#/definitions/extension_with_marks_node',
|
60
|
-
},
|
61
|
-
{
|
62
|
-
$ref: '#/definitions/embedCard_node',
|
63
|
-
},
|
64
|
-
{
|
65
|
-
$ref: '#/definitions/nestedExpand_with_no_marks_node',
|
66
|
-
},
|
67
|
-
],
|
68
|
-
},
|
69
|
-
minItems: 1,
|
70
|
-
};
|
71
|
-
|
72
|
-
export const tableHeaderNodeContent: JSONSchema4 = {
|
73
|
-
type: 'array',
|
74
|
-
items: {
|
75
|
-
anyOf: [
|
76
|
-
{
|
77
|
-
$ref: '#/definitions/codeBlock_with_no_marks_node',
|
78
|
-
},
|
79
|
-
{
|
80
|
-
$ref: '#/definitions/blockCard_node',
|
81
|
-
},
|
82
|
-
{
|
83
|
-
$ref: '#/definitions/paragraph_with_no_marks_node',
|
84
|
-
},
|
85
|
-
{
|
86
|
-
$ref: '#/definitions/paragraph_with_alignment_node',
|
87
|
-
},
|
88
|
-
{
|
89
|
-
$ref: '#/definitions/mediaSingle_caption_node',
|
90
|
-
},
|
91
|
-
{
|
92
|
-
$ref: '#/definitions/mediaSingle_full_node',
|
93
|
-
},
|
94
|
-
{
|
95
|
-
$ref: '#/definitions/taskList_node',
|
96
|
-
},
|
97
|
-
{
|
98
|
-
$ref: '#/definitions/bulletList_node',
|
99
|
-
},
|
100
|
-
{
|
101
|
-
$ref: '#/definitions/orderedList_node',
|
102
|
-
},
|
103
|
-
{
|
104
|
-
$ref: '#/definitions/heading_with_no_marks_node',
|
105
|
-
},
|
106
|
-
{
|
107
|
-
$ref: '#/definitions/heading_with_alignment_node',
|
108
|
-
},
|
109
|
-
{
|
110
|
-
$ref: '#/definitions/heading_with_indentation_node',
|
111
|
-
},
|
112
|
-
{
|
113
|
-
$ref: '#/definitions/mediaGroup_node',
|
114
|
-
},
|
115
|
-
{
|
116
|
-
$ref: '#/definitions/decisionList_node',
|
117
|
-
},
|
118
|
-
{
|
119
|
-
$ref: '#/definitions/rule_node',
|
120
|
-
},
|
121
|
-
{
|
122
|
-
$ref: '#/definitions/panel_node',
|
123
|
-
},
|
124
|
-
{
|
125
|
-
$ref: '#/definitions/blockquote_node',
|
126
|
-
},
|
127
|
-
{ $ref: '#/definitions/nestedExpand_node' },
|
128
|
-
{
|
129
|
-
$ref: '#/definitions/extension_with_marks_node',
|
130
|
-
},
|
131
|
-
{
|
132
|
-
$ref: '#/definitions/embedCard_node',
|
133
|
-
},
|
134
|
-
{
|
135
|
-
$ref: '#/definitions/nestedExpand_with_no_marks_node',
|
136
|
-
},
|
137
|
-
],
|
138
|
-
},
|
139
|
-
minItems: 1,
|
140
|
-
};
|