@atlaskit/adf-schema 37.2.0 → 37.2.1
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 +7 -0
- package/dist/cjs/next-schema/generated/nodeTypes.js +85 -4
- package/dist/cjs/next-schema/index.js +32 -505
- package/dist/cjs/next-schema/nodes/date.js +4 -1
- package/dist/cjs/next-schema/nodes/emoji.js +4 -1
- package/dist/cjs/next-schema/nodes/extensionFrame.js +1 -0
- package/dist/cjs/next-schema/nodes/inlineCard.js +3 -0
- package/dist/cjs/next-schema/nodes/layoutSection.js +1 -0
- package/dist/cjs/next-schema/nodes/mention.js +4 -1
- package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +1 -3
- package/dist/cjs/next-schema/nodes/status.js +4 -1
- package/dist/cjs/schema/nodes/code-block.js +29 -2
- package/dist/es2019/next-schema/generated/nodeTypes.js +84 -3
- package/dist/es2019/next-schema/index.js +3 -2
- package/dist/es2019/next-schema/nodes/date.js +4 -1
- package/dist/es2019/next-schema/nodes/emoji.js +4 -1
- package/dist/es2019/next-schema/nodes/extensionFrame.js +1 -0
- package/dist/es2019/next-schema/nodes/inlineCard.js +3 -0
- package/dist/es2019/next-schema/nodes/layoutSection.js +1 -0
- package/dist/es2019/next-schema/nodes/mention.js +4 -1
- package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +1 -3
- package/dist/es2019/next-schema/nodes/status.js +4 -1
- package/dist/es2019/schema/nodes/code-block.js +29 -2
- package/dist/esm/next-schema/generated/nodeTypes.js +84 -3
- package/dist/esm/next-schema/index.js +3 -2
- package/dist/esm/next-schema/nodes/date.js +4 -1
- package/dist/esm/next-schema/nodes/emoji.js +4 -1
- package/dist/esm/next-schema/nodes/extensionFrame.js +1 -0
- package/dist/esm/next-schema/nodes/inlineCard.js +3 -0
- package/dist/esm/next-schema/nodes/layoutSection.js +1 -0
- package/dist/esm/next-schema/nodes/mention.js +4 -1
- package/dist/esm/next-schema/nodes/multiBodiedExtension.js +1 -3
- package/dist/esm/next-schema/nodes/status.js +4 -1
- package/dist/esm/schema/nodes/code-block.js +29 -2
- package/dist/types/next-schema/full-schema.adf.d.ts +1 -30
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +3 -3
- package/dist/types/next-schema/generated/nodeTypes.d.ts +76 -18
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +3 -119
- package/dist/types/next-schema/index.d.ts +3 -5
- package/dist/types/next-schema/nodes/blockCard.d.ts +1 -30
- package/dist/types/next-schema/nodes/blockquote.d.ts +1 -30
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +1 -30
- package/dist/types/next-schema/nodes/caption.d.ts +1 -30
- package/dist/types/next-schema/nodes/codeBlock.d.ts +2 -60
- package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +1 -30
- package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +1 -30
- package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +1 -30
- package/dist/types/next-schema/nodes/date.d.ts +1 -30
- package/dist/types/next-schema/nodes/decisionItem.d.ts +1 -30
- package/dist/types/next-schema/nodes/decisionList.d.ts +1 -30
- package/dist/types/next-schema/nodes/embedCard.d.ts +1 -30
- package/dist/types/next-schema/nodes/emoji.d.ts +1 -30
- package/dist/types/next-schema/nodes/expand.d.ts +1 -30
- package/dist/types/next-schema/nodes/extension.d.ts +1 -30
- package/dist/types/next-schema/nodes/extensionFrame.d.ts +1 -30
- package/dist/types/next-schema/nodes/hardBreak.d.ts +1 -30
- package/dist/types/next-schema/nodes/heading.d.ts +2 -60
- package/dist/types/next-schema/nodes/image.d.ts +1 -30
- package/dist/types/next-schema/nodes/inlineCard.d.ts +1 -30
- package/dist/types/next-schema/nodes/inlineExtension.d.ts +1 -30
- package/dist/types/next-schema/nodes/layoutColumn.d.ts +1 -30
- package/dist/types/next-schema/nodes/layoutSection.d.ts +2 -30
- package/dist/types/next-schema/nodes/list.d.ts +2 -60
- package/dist/types/next-schema/nodes/media.d.ts +1 -30
- package/dist/types/next-schema/nodes/mediaGroup.d.ts +1 -30
- package/dist/types/next-schema/nodes/mediaInline.d.ts +1 -30
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +1 -30
- package/dist/types/next-schema/nodes/mention.d.ts +1 -30
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +1 -30
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +1 -30
- package/dist/types/next-schema/nodes/panel.d.ts +1 -30
- package/dist/types/next-schema/nodes/paragraph.d.ts +1 -30
- package/dist/types/next-schema/nodes/placeholder.d.ts +1 -30
- package/dist/types/next-schema/nodes/rule.d.ts +1 -30
- package/dist/types/next-schema/nodes/status.d.ts +1 -30
- package/dist/types/next-schema/nodes/table.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableCell.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableCellContent.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableHeader.d.ts +1 -30
- package/dist/types/next-schema/nodes/tableRow.d.ts +1 -30
- package/dist/types/next-schema/nodes/task.d.ts +2 -60
- package/dist/types/next-schema/nodes/text.d.ts +1 -30
- package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +1 -30
- package/dist/types/next-schema/nodes/unsupportedInline.d.ts +1 -30
- package/package.json +6 -3
- package/schema-generators/__tests__/unit/validate-pm-schema.unit.ts +2 -0
- package/schema-generators/json-full-schema.ts +5 -4
- package/schema-generators/pm-full-schema.ts +3 -3
- package/schema-generators/validator-full-schema.ts +1 -1
package/CHANGELOG.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.unsupportedInline = exports.unsupportedBlock = exports.textFormatted = exports.textCodeInline = exports.text = exports.taskList = exports.taskItem = exports.tableRow = exports.tableHeader = exports.tableCell = exports.table = exports.status = exports.rule = exports.placeholder = exports.paragraphWithNoMarks = exports.paragraphWithIndentation = exports.paragraphWithAlignment = exports.paragraph = exports.panelLegacy = exports.panel = exports.orderedList = exports.nestedExpandWithNoMarks = exports.nestedExpand = exports.
|
6
|
+
exports.unsupportedInline = exports.unsupportedBlock = exports.textFormatted = exports.textCodeInline = exports.text = exports.taskList = exports.taskItem = exports.tableRow = exports.tableHeader = exports.tableCell = exports.table = exports.statusStage0 = exports.status = exports.rule = exports.placeholder = exports.paragraphWithNoMarks = exports.paragraphWithIndentation = exports.paragraphWithAlignment = exports.paragraph = exports.panelLegacy = exports.panel = exports.orderedList = exports.nestedExpandWithNoMarks = exports.nestedExpand = exports.multiBodiedExtensionStage0 = exports.mentionStage0 = exports.mention = exports.mediaSingleWidthType = exports.mediaSingleFull = exports.mediaSingleCaption = exports.mediaSingle = exports.mediaInline = exports.mediaGroup = exports.media = exports.listItemLegacy = exports.listItem = exports.layoutSectionWithSingleColumnStage0 = exports.layoutSectionFull = exports.layoutSection = exports.layoutColumn = exports.inlineExtensionWithMarks = exports.inlineExtension = exports.inlineCardStage0 = exports.inlineCard = exports.image = exports.headingWithNoMarks = exports.headingWithIndentation = exports.headingWithAlignment = exports.heading = exports.hardBreak = exports.extensionWithMarks = exports.extensionFrameStage0 = exports.extension = exports.expandWithNoMark = exports.expand = exports.emojiStage0 = exports.emoji = exports.embedCard = exports.doc = exports.decisionList = exports.decisionItem = exports.dateStage0 = exports.date = exports.confluenceUnsupportedInline = exports.confluenceUnsupportedBlock = exports.confluenceJiraIssue = exports.codeBlockWithNoMarks = exports.codeBlock = exports.caption = exports.bulletList = exports.bodiedExtensionWithMarks = exports.bodiedExtension = exports.blockquoteLegacy = exports.blockquote = exports.blockCard = void 0;
|
7
7
|
var _adfSchemaGenerator = require("@atlaskit/adf-schema-generator");
|
8
8
|
/**
|
9
9
|
* This file was automatically generated by @atlaskit/adf-schema-generator
|
@@ -191,6 +191,16 @@ var date = exports.date = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
|
191
191
|
},
|
192
192
|
selectable: true
|
193
193
|
});
|
194
|
+
var dateStage0 = exports.dateStage0 = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
195
|
+
group: 'inline',
|
196
|
+
inline: true,
|
197
|
+
attrs: {
|
198
|
+
timestamp: {
|
199
|
+
default: ''
|
200
|
+
}
|
201
|
+
},
|
202
|
+
selectable: true
|
203
|
+
});
|
194
204
|
var decisionItem = exports.decisionItem = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
195
205
|
content: 'inline*',
|
196
206
|
marks: '_',
|
@@ -257,6 +267,22 @@ var emoji = exports.emoji = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
|
257
267
|
},
|
258
268
|
selectable: true
|
259
269
|
});
|
270
|
+
var emojiStage0 = exports.emojiStage0 = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
271
|
+
group: 'inline',
|
272
|
+
inline: true,
|
273
|
+
attrs: {
|
274
|
+
shortName: {
|
275
|
+
default: ''
|
276
|
+
},
|
277
|
+
id: {
|
278
|
+
default: ''
|
279
|
+
},
|
280
|
+
text: {
|
281
|
+
default: ''
|
282
|
+
}
|
283
|
+
},
|
284
|
+
selectable: true
|
285
|
+
});
|
260
286
|
var expand = exports.expand = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
261
287
|
content: '(codeBlock | blockCard | paragraph | mediaSingle | taskList | bulletList | orderedList | heading | mediaGroup | decisionList | rule | panel | blockquote | extension | embedCard | table | unsupportedBlock)+',
|
262
288
|
marks: 'unsupportedNodeAttribute unsupportedMark dataConsumer fragment',
|
@@ -335,7 +361,7 @@ var extensionWithMarks = exports.extensionWithMarks = (0, _adfSchemaGenerator.cr
|
|
335
361
|
},
|
336
362
|
selectable: true
|
337
363
|
});
|
338
|
-
var
|
364
|
+
var extensionFrameStage0 = exports.extensionFrameStage0 = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
339
365
|
content: '(bodiedExtension | panel | paragraph | blockquote | orderedList | bulletList | rule | heading | codeBlock | mediaGroup | mediaSingle | decisionList | taskList | table | extension | blockCard | embedCard | unsupportedBlock)+',
|
340
366
|
marks: 'dataConsumer fragment',
|
341
367
|
attrs: {},
|
@@ -432,6 +458,20 @@ var inlineCard = exports.inlineCard = (0, _adfSchemaGenerator.createPMNodeSpecFa
|
|
432
458
|
selectable: true,
|
433
459
|
draggable: true
|
434
460
|
});
|
461
|
+
var inlineCardStage0 = exports.inlineCardStage0 = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
462
|
+
group: 'inline',
|
463
|
+
inline: true,
|
464
|
+
attrs: {
|
465
|
+
url: {
|
466
|
+
default: null
|
467
|
+
},
|
468
|
+
data: {
|
469
|
+
default: null
|
470
|
+
}
|
471
|
+
},
|
472
|
+
selectable: true,
|
473
|
+
draggable: true
|
474
|
+
});
|
435
475
|
var inlineExtension = exports.inlineExtension = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
436
476
|
group: 'inline',
|
437
477
|
inline: true,
|
@@ -497,7 +537,7 @@ var layoutSectionFull = exports.layoutSectionFull = (0, _adfSchemaGenerator.crea
|
|
497
537
|
marks: 'unsupportedNodeAttribute unsupportedMark',
|
498
538
|
isolating: true
|
499
539
|
});
|
500
|
-
var
|
540
|
+
var layoutSectionWithSingleColumnStage0 = exports.layoutSectionWithSingleColumnStage0 = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
501
541
|
content: '(layoutColumn | unsupportedBlock){1,3}',
|
502
542
|
marks: 'unsupportedNodeAttribute unsupportedMark',
|
503
543
|
isolating: true
|
@@ -711,7 +751,29 @@ var mention = exports.mention = (0, _adfSchemaGenerator.createPMNodeSpecFactory)
|
|
711
751
|
},
|
712
752
|
selectable: true
|
713
753
|
});
|
714
|
-
var
|
754
|
+
var mentionStage0 = exports.mentionStage0 = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
755
|
+
group: 'inline',
|
756
|
+
inline: true,
|
757
|
+
attrs: {
|
758
|
+
id: {
|
759
|
+
default: ''
|
760
|
+
},
|
761
|
+
localId: {
|
762
|
+
default: null
|
763
|
+
},
|
764
|
+
text: {
|
765
|
+
default: ''
|
766
|
+
},
|
767
|
+
accessLevel: {
|
768
|
+
default: ''
|
769
|
+
},
|
770
|
+
userType: {
|
771
|
+
default: null
|
772
|
+
}
|
773
|
+
},
|
774
|
+
selectable: true
|
775
|
+
});
|
776
|
+
var multiBodiedExtensionStage0 = exports.multiBodiedExtensionStage0 = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
715
777
|
content: 'extensionFrame+',
|
716
778
|
group: 'blockRootOnly',
|
717
779
|
attrs: {
|
@@ -891,6 +953,25 @@ var status = exports.status = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
|
891
953
|
},
|
892
954
|
selectable: true
|
893
955
|
});
|
956
|
+
var statusStage0 = exports.statusStage0 = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
957
|
+
group: 'inline',
|
958
|
+
inline: true,
|
959
|
+
attrs: {
|
960
|
+
text: {
|
961
|
+
default: ''
|
962
|
+
},
|
963
|
+
color: {
|
964
|
+
default: ''
|
965
|
+
},
|
966
|
+
localId: {
|
967
|
+
default: ''
|
968
|
+
},
|
969
|
+
style: {
|
970
|
+
default: ''
|
971
|
+
}
|
972
|
+
},
|
973
|
+
selectable: true
|
974
|
+
});
|
894
975
|
var table = exports.table = (0, _adfSchemaGenerator.createPMNodeSpecFactory)({
|
895
976
|
content: 'tableRow+',
|
896
977
|
marks: 'unsupportedNodeAttribute unsupportedMark',
|
@@ -3,509 +3,36 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
Object.defineProperty(exports, "alignment", {
|
7
|
-
enumerable: true,
|
8
|
-
get: function get() {
|
9
|
-
return _markTypes.alignment;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
Object.defineProperty(exports, "annotation", {
|
13
|
-
enumerable: true,
|
14
|
-
get: function get() {
|
15
|
-
return _markTypes.annotation;
|
16
|
-
}
|
17
|
-
});
|
18
|
-
Object.defineProperty(exports, "backgroundColor", {
|
19
|
-
enumerable: true,
|
20
|
-
get: function get() {
|
21
|
-
return _markTypes.backgroundColor;
|
22
|
-
}
|
23
|
-
});
|
24
|
-
Object.defineProperty(exports, "blockCard", {
|
25
|
-
enumerable: true,
|
26
|
-
get: function get() {
|
27
|
-
return _nodeTypes.blockCard;
|
28
|
-
}
|
29
|
-
});
|
30
|
-
Object.defineProperty(exports, "blockquote", {
|
31
|
-
enumerable: true,
|
32
|
-
get: function get() {
|
33
|
-
return _nodeTypes.blockquote;
|
34
|
-
}
|
35
|
-
});
|
36
|
-
Object.defineProperty(exports, "blockquoteLegacy", {
|
37
|
-
enumerable: true,
|
38
|
-
get: function get() {
|
39
|
-
return _nodeTypes.blockquoteLegacy;
|
40
|
-
}
|
41
|
-
});
|
42
|
-
Object.defineProperty(exports, "bodiedExtension", {
|
43
|
-
enumerable: true,
|
44
|
-
get: function get() {
|
45
|
-
return _nodeTypes.bodiedExtension;
|
46
|
-
}
|
47
|
-
});
|
48
|
-
Object.defineProperty(exports, "bodiedExtensionWithMarks", {
|
49
|
-
enumerable: true,
|
50
|
-
get: function get() {
|
51
|
-
return _nodeTypes.bodiedExtensionWithMarks;
|
52
|
-
}
|
53
|
-
});
|
54
|
-
Object.defineProperty(exports, "border", {
|
55
|
-
enumerable: true,
|
56
|
-
get: function get() {
|
57
|
-
return _markTypes.border;
|
58
|
-
}
|
59
|
-
});
|
60
|
-
Object.defineProperty(exports, "breakout", {
|
61
|
-
enumerable: true,
|
62
|
-
get: function get() {
|
63
|
-
return _markTypes.breakout;
|
64
|
-
}
|
65
|
-
});
|
66
|
-
Object.defineProperty(exports, "bulletList", {
|
67
|
-
enumerable: true,
|
68
|
-
get: function get() {
|
69
|
-
return _nodeTypes.bulletList;
|
70
|
-
}
|
71
|
-
});
|
72
|
-
Object.defineProperty(exports, "caption", {
|
73
|
-
enumerable: true,
|
74
|
-
get: function get() {
|
75
|
-
return _nodeTypes.caption;
|
76
|
-
}
|
77
|
-
});
|
78
|
-
Object.defineProperty(exports, "code", {
|
79
|
-
enumerable: true,
|
80
|
-
get: function get() {
|
81
|
-
return _markTypes.code;
|
82
|
-
}
|
83
|
-
});
|
84
|
-
Object.defineProperty(exports, "codeBlock", {
|
85
|
-
enumerable: true,
|
86
|
-
get: function get() {
|
87
|
-
return _nodeTypes.codeBlock;
|
88
|
-
}
|
89
|
-
});
|
90
|
-
Object.defineProperty(exports, "codeBlockWithNoMarks", {
|
91
|
-
enumerable: true,
|
92
|
-
get: function get() {
|
93
|
-
return _nodeTypes.codeBlockWithNoMarks;
|
94
|
-
}
|
95
|
-
});
|
96
|
-
Object.defineProperty(exports, "confluenceInlineComment", {
|
97
|
-
enumerable: true,
|
98
|
-
get: function get() {
|
99
|
-
return _markTypes.confluenceInlineComment;
|
100
|
-
}
|
101
|
-
});
|
102
|
-
Object.defineProperty(exports, "confluenceJiraIssue", {
|
103
|
-
enumerable: true,
|
104
|
-
get: function get() {
|
105
|
-
return _nodeTypes.confluenceJiraIssue;
|
106
|
-
}
|
107
|
-
});
|
108
|
-
Object.defineProperty(exports, "confluenceUnsupportedBlock", {
|
109
|
-
enumerable: true,
|
110
|
-
get: function get() {
|
111
|
-
return _nodeTypes.confluenceUnsupportedBlock;
|
112
|
-
}
|
113
|
-
});
|
114
|
-
Object.defineProperty(exports, "confluenceUnsupportedInline", {
|
115
|
-
enumerable: true,
|
116
|
-
get: function get() {
|
117
|
-
return _nodeTypes.confluenceUnsupportedInline;
|
118
|
-
}
|
119
|
-
});
|
120
|
-
Object.defineProperty(exports, "dataConsumer", {
|
121
|
-
enumerable: true,
|
122
|
-
get: function get() {
|
123
|
-
return _markTypes.dataConsumer;
|
124
|
-
}
|
125
|
-
});
|
126
|
-
Object.defineProperty(exports, "date", {
|
127
|
-
enumerable: true,
|
128
|
-
get: function get() {
|
129
|
-
return _nodeTypes.date;
|
130
|
-
}
|
131
|
-
});
|
132
|
-
Object.defineProperty(exports, "decisionItem", {
|
133
|
-
enumerable: true,
|
134
|
-
get: function get() {
|
135
|
-
return _nodeTypes.decisionItem;
|
136
|
-
}
|
137
|
-
});
|
138
|
-
Object.defineProperty(exports, "decisionList", {
|
139
|
-
enumerable: true,
|
140
|
-
get: function get() {
|
141
|
-
return _nodeTypes.decisionList;
|
142
|
-
}
|
143
|
-
});
|
144
|
-
Object.defineProperty(exports, "doc", {
|
145
|
-
enumerable: true,
|
146
|
-
get: function get() {
|
147
|
-
return _nodeTypes.doc;
|
148
|
-
}
|
149
|
-
});
|
150
|
-
Object.defineProperty(exports, "em", {
|
151
|
-
enumerable: true,
|
152
|
-
get: function get() {
|
153
|
-
return _markTypes.em;
|
154
|
-
}
|
155
|
-
});
|
156
|
-
Object.defineProperty(exports, "embedCard", {
|
157
|
-
enumerable: true,
|
158
|
-
get: function get() {
|
159
|
-
return _nodeTypes.embedCard;
|
160
|
-
}
|
161
|
-
});
|
162
|
-
Object.defineProperty(exports, "emoji", {
|
163
|
-
enumerable: true,
|
164
|
-
get: function get() {
|
165
|
-
return _nodeTypes.emoji;
|
166
|
-
}
|
167
|
-
});
|
168
|
-
Object.defineProperty(exports, "expandWithNoMark", {
|
169
|
-
enumerable: true,
|
170
|
-
get: function get() {
|
171
|
-
return _nodeTypes.expandWithNoMark;
|
172
|
-
}
|
173
|
-
});
|
174
|
-
Object.defineProperty(exports, "extension", {
|
175
|
-
enumerable: true,
|
176
|
-
get: function get() {
|
177
|
-
return _nodeTypes.extension;
|
178
|
-
}
|
179
|
-
});
|
180
|
-
Object.defineProperty(exports, "extensionFrame", {
|
181
|
-
enumerable: true,
|
182
|
-
get: function get() {
|
183
|
-
return _nodeTypes.extensionFrame;
|
184
|
-
}
|
185
|
-
});
|
186
|
-
Object.defineProperty(exports, "extensionWithMarks", {
|
187
|
-
enumerable: true,
|
188
|
-
get: function get() {
|
189
|
-
return _nodeTypes.extensionWithMarks;
|
190
|
-
}
|
191
|
-
});
|
192
|
-
Object.defineProperty(exports, "fragment", {
|
193
|
-
enumerable: true,
|
194
|
-
get: function get() {
|
195
|
-
return _markTypes.fragment;
|
196
|
-
}
|
197
|
-
});
|
198
|
-
Object.defineProperty(exports, "hardBreak", {
|
199
|
-
enumerable: true,
|
200
|
-
get: function get() {
|
201
|
-
return _nodeTypes.hardBreak;
|
202
|
-
}
|
203
|
-
});
|
204
|
-
Object.defineProperty(exports, "heading", {
|
205
|
-
enumerable: true,
|
206
|
-
get: function get() {
|
207
|
-
return _nodeTypes.heading;
|
208
|
-
}
|
209
|
-
});
|
210
|
-
Object.defineProperty(exports, "headingWithAlignment", {
|
211
|
-
enumerable: true,
|
212
|
-
get: function get() {
|
213
|
-
return _nodeTypes.headingWithAlignment;
|
214
|
-
}
|
215
|
-
});
|
216
|
-
Object.defineProperty(exports, "headingWithIndentation", {
|
217
|
-
enumerable: true,
|
218
|
-
get: function get() {
|
219
|
-
return _nodeTypes.headingWithIndentation;
|
220
|
-
}
|
221
|
-
});
|
222
|
-
Object.defineProperty(exports, "headingWithNoMarks", {
|
223
|
-
enumerable: true,
|
224
|
-
get: function get() {
|
225
|
-
return _nodeTypes.headingWithNoMarks;
|
226
|
-
}
|
227
|
-
});
|
228
|
-
Object.defineProperty(exports, "image", {
|
229
|
-
enumerable: true,
|
230
|
-
get: function get() {
|
231
|
-
return _nodeTypes.image;
|
232
|
-
}
|
233
|
-
});
|
234
|
-
Object.defineProperty(exports, "indentation", {
|
235
|
-
enumerable: true,
|
236
|
-
get: function get() {
|
237
|
-
return _markTypes.indentation;
|
238
|
-
}
|
239
|
-
});
|
240
|
-
Object.defineProperty(exports, "inlineCard", {
|
241
|
-
enumerable: true,
|
242
|
-
get: function get() {
|
243
|
-
return _nodeTypes.inlineCard;
|
244
|
-
}
|
245
|
-
});
|
246
|
-
Object.defineProperty(exports, "inlineExtensionWithMarks", {
|
247
|
-
enumerable: true,
|
248
|
-
get: function get() {
|
249
|
-
return _nodeTypes.inlineExtensionWithMarks;
|
250
|
-
}
|
251
|
-
});
|
252
|
-
Object.defineProperty(exports, "layoutColumn", {
|
253
|
-
enumerable: true,
|
254
|
-
get: function get() {
|
255
|
-
return _nodeTypes.layoutColumn;
|
256
|
-
}
|
257
|
-
});
|
258
|
-
Object.defineProperty(exports, "layoutSection", {
|
259
|
-
enumerable: true,
|
260
|
-
get: function get() {
|
261
|
-
return _nodeTypes.layoutSection;
|
262
|
-
}
|
263
|
-
});
|
264
|
-
Object.defineProperty(exports, "layoutSectionFull", {
|
265
|
-
enumerable: true,
|
266
|
-
get: function get() {
|
267
|
-
return _nodeTypes.layoutSectionFull;
|
268
|
-
}
|
269
|
-
});
|
270
|
-
Object.defineProperty(exports, "link", {
|
271
|
-
enumerable: true,
|
272
|
-
get: function get() {
|
273
|
-
return _markTypes.link;
|
274
|
-
}
|
275
|
-
});
|
276
|
-
Object.defineProperty(exports, "listItem", {
|
277
|
-
enumerable: true,
|
278
|
-
get: function get() {
|
279
|
-
return _nodeTypes.listItem;
|
280
|
-
}
|
281
|
-
});
|
282
|
-
Object.defineProperty(exports, "listItemLegacy", {
|
283
|
-
enumerable: true,
|
284
|
-
get: function get() {
|
285
|
-
return _nodeTypes.listItemLegacy;
|
286
|
-
}
|
287
|
-
});
|
288
|
-
Object.defineProperty(exports, "media", {
|
289
|
-
enumerable: true,
|
290
|
-
get: function get() {
|
291
|
-
return _nodeTypes.media;
|
292
|
-
}
|
293
|
-
});
|
294
|
-
Object.defineProperty(exports, "mediaGroup", {
|
295
|
-
enumerable: true,
|
296
|
-
get: function get() {
|
297
|
-
return _nodeTypes.mediaGroup;
|
298
|
-
}
|
299
|
-
});
|
300
|
-
Object.defineProperty(exports, "mediaInline", {
|
301
|
-
enumerable: true,
|
302
|
-
get: function get() {
|
303
|
-
return _nodeTypes.mediaInline;
|
304
|
-
}
|
305
|
-
});
|
306
|
-
Object.defineProperty(exports, "mediaSingle", {
|
307
|
-
enumerable: true,
|
308
|
-
get: function get() {
|
309
|
-
return _nodeTypes.mediaSingle;
|
310
|
-
}
|
311
|
-
});
|
312
|
-
Object.defineProperty(exports, "mediaSingleCaption", {
|
313
|
-
enumerable: true,
|
314
|
-
get: function get() {
|
315
|
-
return _nodeTypes.mediaSingleCaption;
|
316
|
-
}
|
317
|
-
});
|
318
|
-
Object.defineProperty(exports, "mediaSingleFull", {
|
319
|
-
enumerable: true,
|
320
|
-
get: function get() {
|
321
|
-
return _nodeTypes.mediaSingleFull;
|
322
|
-
}
|
323
|
-
});
|
324
|
-
Object.defineProperty(exports, "mention", {
|
325
|
-
enumerable: true,
|
326
|
-
get: function get() {
|
327
|
-
return _nodeTypes.mention;
|
328
|
-
}
|
329
|
-
});
|
330
|
-
Object.defineProperty(exports, "multiBodiedExtension", {
|
331
|
-
enumerable: true,
|
332
|
-
get: function get() {
|
333
|
-
return _nodeTypes.multiBodiedExtension;
|
334
|
-
}
|
335
|
-
});
|
336
|
-
Object.defineProperty(exports, "nestedExpandWithNoMarks", {
|
337
|
-
enumerable: true,
|
338
|
-
get: function get() {
|
339
|
-
return _nodeTypes.nestedExpandWithNoMarks;
|
340
|
-
}
|
341
|
-
});
|
342
|
-
Object.defineProperty(exports, "orderedList", {
|
343
|
-
enumerable: true,
|
344
|
-
get: function get() {
|
345
|
-
return _nodeTypes.orderedList;
|
346
|
-
}
|
347
|
-
});
|
348
|
-
Object.defineProperty(exports, "panel", {
|
349
|
-
enumerable: true,
|
350
|
-
get: function get() {
|
351
|
-
return _nodeTypes.panel;
|
352
|
-
}
|
353
|
-
});
|
354
|
-
Object.defineProperty(exports, "panelLegacy", {
|
355
|
-
enumerable: true,
|
356
|
-
get: function get() {
|
357
|
-
return _nodeTypes.panelLegacy;
|
358
|
-
}
|
359
|
-
});
|
360
|
-
Object.defineProperty(exports, "paragraph", {
|
361
|
-
enumerable: true,
|
362
|
-
get: function get() {
|
363
|
-
return _nodeTypes.paragraph;
|
364
|
-
}
|
365
|
-
});
|
366
|
-
Object.defineProperty(exports, "paragraphWithAlignment", {
|
367
|
-
enumerable: true,
|
368
|
-
get: function get() {
|
369
|
-
return _nodeTypes.paragraphWithAlignment;
|
370
|
-
}
|
371
|
-
});
|
372
|
-
Object.defineProperty(exports, "paragraphWithNoMarks", {
|
373
|
-
enumerable: true,
|
374
|
-
get: function get() {
|
375
|
-
return _nodeTypes.paragraphWithNoMarks;
|
376
|
-
}
|
377
|
-
});
|
378
|
-
Object.defineProperty(exports, "placeholder", {
|
379
|
-
enumerable: true,
|
380
|
-
get: function get() {
|
381
|
-
return _nodeTypes.placeholder;
|
382
|
-
}
|
383
|
-
});
|
384
|
-
Object.defineProperty(exports, "rule", {
|
385
|
-
enumerable: true,
|
386
|
-
get: function get() {
|
387
|
-
return _nodeTypes.rule;
|
388
|
-
}
|
389
|
-
});
|
390
|
-
Object.defineProperty(exports, "status", {
|
391
|
-
enumerable: true,
|
392
|
-
get: function get() {
|
393
|
-
return _nodeTypes.status;
|
394
|
-
}
|
395
|
-
});
|
396
|
-
Object.defineProperty(exports, "strike", {
|
397
|
-
enumerable: true,
|
398
|
-
get: function get() {
|
399
|
-
return _markTypes.strike;
|
400
|
-
}
|
401
|
-
});
|
402
|
-
Object.defineProperty(exports, "strong", {
|
403
|
-
enumerable: true,
|
404
|
-
get: function get() {
|
405
|
-
return _markTypes.strong;
|
406
|
-
}
|
407
|
-
});
|
408
|
-
Object.defineProperty(exports, "subsup", {
|
409
|
-
enumerable: true,
|
410
|
-
get: function get() {
|
411
|
-
return _markTypes.subsup;
|
412
|
-
}
|
413
|
-
});
|
414
|
-
Object.defineProperty(exports, "table", {
|
415
|
-
enumerable: true,
|
416
|
-
get: function get() {
|
417
|
-
return _nodeTypes.table;
|
418
|
-
}
|
419
|
-
});
|
420
|
-
Object.defineProperty(exports, "tableCell", {
|
421
|
-
enumerable: true,
|
422
|
-
get: function get() {
|
423
|
-
return _nodeTypes.tableCell;
|
424
|
-
}
|
425
|
-
});
|
426
|
-
Object.defineProperty(exports, "tableHeader", {
|
427
|
-
enumerable: true,
|
428
|
-
get: function get() {
|
429
|
-
return _nodeTypes.tableHeader;
|
430
|
-
}
|
431
|
-
});
|
432
|
-
Object.defineProperty(exports, "tableRow", {
|
433
|
-
enumerable: true,
|
434
|
-
get: function get() {
|
435
|
-
return _nodeTypes.tableRow;
|
436
|
-
}
|
437
|
-
});
|
438
|
-
Object.defineProperty(exports, "taskItem", {
|
439
|
-
enumerable: true,
|
440
|
-
get: function get() {
|
441
|
-
return _nodeTypes.taskItem;
|
442
|
-
}
|
443
|
-
});
|
444
|
-
Object.defineProperty(exports, "taskList", {
|
445
|
-
enumerable: true,
|
446
|
-
get: function get() {
|
447
|
-
return _nodeTypes.taskList;
|
448
|
-
}
|
449
|
-
});
|
450
|
-
Object.defineProperty(exports, "text", {
|
451
|
-
enumerable: true,
|
452
|
-
get: function get() {
|
453
|
-
return _nodeTypes.text;
|
454
|
-
}
|
455
|
-
});
|
456
|
-
Object.defineProperty(exports, "textCodeInline", {
|
457
|
-
enumerable: true,
|
458
|
-
get: function get() {
|
459
|
-
return _nodeTypes.textCodeInline;
|
460
|
-
}
|
461
|
-
});
|
462
|
-
Object.defineProperty(exports, "textColor", {
|
463
|
-
enumerable: true,
|
464
|
-
get: function get() {
|
465
|
-
return _markTypes.textColor;
|
466
|
-
}
|
467
|
-
});
|
468
|
-
Object.defineProperty(exports, "textFormatted", {
|
469
|
-
enumerable: true,
|
470
|
-
get: function get() {
|
471
|
-
return _nodeTypes.textFormatted;
|
472
|
-
}
|
473
|
-
});
|
474
|
-
Object.defineProperty(exports, "typeAheadQuery", {
|
475
|
-
enumerable: true,
|
476
|
-
get: function get() {
|
477
|
-
return _markTypes.typeAheadQuery;
|
478
|
-
}
|
479
|
-
});
|
480
|
-
Object.defineProperty(exports, "underline", {
|
481
|
-
enumerable: true,
|
482
|
-
get: function get() {
|
483
|
-
return _markTypes.underline;
|
484
|
-
}
|
485
|
-
});
|
486
|
-
Object.defineProperty(exports, "unsupportedBlock", {
|
487
|
-
enumerable: true,
|
488
|
-
get: function get() {
|
489
|
-
return _nodeTypes.unsupportedBlock;
|
490
|
-
}
|
491
|
-
});
|
492
|
-
Object.defineProperty(exports, "unsupportedInline", {
|
493
|
-
enumerable: true,
|
494
|
-
get: function get() {
|
495
|
-
return _nodeTypes.unsupportedInline;
|
496
|
-
}
|
497
|
-
});
|
498
|
-
Object.defineProperty(exports, "unsupportedMark", {
|
499
|
-
enumerable: true,
|
500
|
-
get: function get() {
|
501
|
-
return _markTypes.unsupportedMark;
|
502
|
-
}
|
503
|
-
});
|
504
|
-
Object.defineProperty(exports, "unsupportedNodeAttribute", {
|
505
|
-
enumerable: true,
|
506
|
-
get: function get() {
|
507
|
-
return _markTypes.unsupportedNodeAttribute;
|
508
|
-
}
|
509
|
-
});
|
510
6
|
var _markTypes = require("./generated/markTypes");
|
511
|
-
|
7
|
+
Object.keys(_markTypes).forEach(function (key) {
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
9
|
+
if (key in exports && exports[key] === _markTypes[key]) return;
|
10
|
+
Object.defineProperty(exports, key, {
|
11
|
+
enumerable: true,
|
12
|
+
get: function get() {
|
13
|
+
return _markTypes[key];
|
14
|
+
}
|
15
|
+
});
|
16
|
+
});
|
17
|
+
var _nodeTypes = require("./generated/nodeTypes");
|
18
|
+
Object.keys(_nodeTypes).forEach(function (key) {
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
20
|
+
if (key in exports && exports[key] === _nodeTypes[key]) return;
|
21
|
+
Object.defineProperty(exports, key, {
|
22
|
+
enumerable: true,
|
23
|
+
get: function get() {
|
24
|
+
return _nodeTypes[key];
|
25
|
+
}
|
26
|
+
});
|
27
|
+
});
|
28
|
+
var _nodeGroupTypes = require("./generated/nodeGroupTypes");
|
29
|
+
Object.keys(_nodeGroupTypes).forEach(function (key) {
|
30
|
+
if (key === "default" || key === "__esModule") return;
|
31
|
+
if (key in exports && exports[key] === _nodeGroupTypes[key]) return;
|
32
|
+
Object.defineProperty(exports, key, {
|
33
|
+
enumerable: true,
|
34
|
+
get: function get() {
|
35
|
+
return _nodeGroupTypes[key];
|
36
|
+
}
|
37
|
+
});
|
38
|
+
});
|
@@ -11,12 +11,15 @@ var _unsupportedNodeAttribute = require("../marks/unsupportedNodeAttribute");
|
|
11
11
|
var date = exports.date = (0, _adfSchemaGenerator.adfNode)('date').define({
|
12
12
|
inline: true,
|
13
13
|
selectable: true,
|
14
|
-
marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark
|
14
|
+
marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark],
|
15
15
|
attrs: {
|
16
16
|
timestamp: {
|
17
17
|
minLength: 1,
|
18
18
|
type: 'string',
|
19
19
|
default: ''
|
20
20
|
}
|
21
|
+
},
|
22
|
+
stage0: {
|
23
|
+
marks: [_unsupportedNodeAttribute.unsupportedNodeAttribute, _unsupportedMark.unsupportedMark, _annotation.annotation]
|
21
24
|
}
|
22
25
|
});
|