@atlaskit/adf-schema 37.0.1 → 37.0.3
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/index.js +499 -0
- package/dist/es2019/next-schema/index.js +2 -0
- package/dist/esm/next-schema/index.js +2 -0
- package/dist/types/next-schema/generated/nodeGroupTypes.d.ts +4 -4
- package/dist/types/next-schema/generated/nodeTypes.d.ts +1 -1
- package/dist/types/next-schema/index.d.ts +5 -0
- package/package.json +2 -2
- package/schema-next/package.json +9 -0
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# @atlaskit/adf-schema
|
2
2
|
|
3
|
+
## 37.0.3
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- c248f5c: add schema-next package to export new PM specs and types generated from ADF DSL
|
8
|
+
|
9
|
+
## 37.0.2
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- 9789fe6: Alphabetically sort imports in Generated PM Spec files
|
14
|
+
|
3
15
|
## 37.0.1
|
4
16
|
|
5
17
|
### Patch Changes
|
@@ -0,0 +1,499 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
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, "blockquoteWithList", {
|
37
|
+
enumerable: true,
|
38
|
+
get: function get() {
|
39
|
+
return _nodeTypes.blockquoteWithList;
|
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, "link", {
|
265
|
+
enumerable: true,
|
266
|
+
get: function get() {
|
267
|
+
return _markTypes.link;
|
268
|
+
}
|
269
|
+
});
|
270
|
+
Object.defineProperty(exports, "listItem", {
|
271
|
+
enumerable: true,
|
272
|
+
get: function get() {
|
273
|
+
return _nodeTypes.listItem;
|
274
|
+
}
|
275
|
+
});
|
276
|
+
Object.defineProperty(exports, "media", {
|
277
|
+
enumerable: true,
|
278
|
+
get: function get() {
|
279
|
+
return _nodeTypes.media;
|
280
|
+
}
|
281
|
+
});
|
282
|
+
Object.defineProperty(exports, "mediaGroup", {
|
283
|
+
enumerable: true,
|
284
|
+
get: function get() {
|
285
|
+
return _nodeTypes.mediaGroup;
|
286
|
+
}
|
287
|
+
});
|
288
|
+
Object.defineProperty(exports, "mediaInline", {
|
289
|
+
enumerable: true,
|
290
|
+
get: function get() {
|
291
|
+
return _nodeTypes.mediaInline;
|
292
|
+
}
|
293
|
+
});
|
294
|
+
Object.defineProperty(exports, "mediaSingle", {
|
295
|
+
enumerable: true,
|
296
|
+
get: function get() {
|
297
|
+
return _nodeTypes.mediaSingle;
|
298
|
+
}
|
299
|
+
});
|
300
|
+
Object.defineProperty(exports, "mediaSingleCaption", {
|
301
|
+
enumerable: true,
|
302
|
+
get: function get() {
|
303
|
+
return _nodeTypes.mediaSingleCaption;
|
304
|
+
}
|
305
|
+
});
|
306
|
+
Object.defineProperty(exports, "mediaSingleFull", {
|
307
|
+
enumerable: true,
|
308
|
+
get: function get() {
|
309
|
+
return _nodeTypes.mediaSingleFull;
|
310
|
+
}
|
311
|
+
});
|
312
|
+
Object.defineProperty(exports, "mention", {
|
313
|
+
enumerable: true,
|
314
|
+
get: function get() {
|
315
|
+
return _nodeTypes.mention;
|
316
|
+
}
|
317
|
+
});
|
318
|
+
Object.defineProperty(exports, "multiBodiedExtension", {
|
319
|
+
enumerable: true,
|
320
|
+
get: function get() {
|
321
|
+
return _nodeTypes.multiBodiedExtension;
|
322
|
+
}
|
323
|
+
});
|
324
|
+
Object.defineProperty(exports, "nestedExpandWithNoMarks", {
|
325
|
+
enumerable: true,
|
326
|
+
get: function get() {
|
327
|
+
return _nodeTypes.nestedExpandWithNoMarks;
|
328
|
+
}
|
329
|
+
});
|
330
|
+
Object.defineProperty(exports, "orderedList", {
|
331
|
+
enumerable: true,
|
332
|
+
get: function get() {
|
333
|
+
return _nodeTypes.orderedList;
|
334
|
+
}
|
335
|
+
});
|
336
|
+
Object.defineProperty(exports, "panel", {
|
337
|
+
enumerable: true,
|
338
|
+
get: function get() {
|
339
|
+
return _nodeTypes.panel;
|
340
|
+
}
|
341
|
+
});
|
342
|
+
Object.defineProperty(exports, "paragraph", {
|
343
|
+
enumerable: true,
|
344
|
+
get: function get() {
|
345
|
+
return _nodeTypes.paragraph;
|
346
|
+
}
|
347
|
+
});
|
348
|
+
Object.defineProperty(exports, "paragraphWithAlignment", {
|
349
|
+
enumerable: true,
|
350
|
+
get: function get() {
|
351
|
+
return _nodeTypes.paragraphWithAlignment;
|
352
|
+
}
|
353
|
+
});
|
354
|
+
Object.defineProperty(exports, "paragraphWithMarks", {
|
355
|
+
enumerable: true,
|
356
|
+
get: function get() {
|
357
|
+
return _nodeTypes.paragraphWithMarks;
|
358
|
+
}
|
359
|
+
});
|
360
|
+
Object.defineProperty(exports, "paragraphWithNoMarks", {
|
361
|
+
enumerable: true,
|
362
|
+
get: function get() {
|
363
|
+
return _nodeTypes.paragraphWithNoMarks;
|
364
|
+
}
|
365
|
+
});
|
366
|
+
Object.defineProperty(exports, "placeholder", {
|
367
|
+
enumerable: true,
|
368
|
+
get: function get() {
|
369
|
+
return _nodeTypes.placeholder;
|
370
|
+
}
|
371
|
+
});
|
372
|
+
Object.defineProperty(exports, "rule", {
|
373
|
+
enumerable: true,
|
374
|
+
get: function get() {
|
375
|
+
return _nodeTypes.rule;
|
376
|
+
}
|
377
|
+
});
|
378
|
+
Object.defineProperty(exports, "status", {
|
379
|
+
enumerable: true,
|
380
|
+
get: function get() {
|
381
|
+
return _nodeTypes.status;
|
382
|
+
}
|
383
|
+
});
|
384
|
+
Object.defineProperty(exports, "strike", {
|
385
|
+
enumerable: true,
|
386
|
+
get: function get() {
|
387
|
+
return _markTypes.strike;
|
388
|
+
}
|
389
|
+
});
|
390
|
+
Object.defineProperty(exports, "strong", {
|
391
|
+
enumerable: true,
|
392
|
+
get: function get() {
|
393
|
+
return _markTypes.strong;
|
394
|
+
}
|
395
|
+
});
|
396
|
+
Object.defineProperty(exports, "subsup", {
|
397
|
+
enumerable: true,
|
398
|
+
get: function get() {
|
399
|
+
return _markTypes.subsup;
|
400
|
+
}
|
401
|
+
});
|
402
|
+
Object.defineProperty(exports, "table", {
|
403
|
+
enumerable: true,
|
404
|
+
get: function get() {
|
405
|
+
return _nodeTypes.table;
|
406
|
+
}
|
407
|
+
});
|
408
|
+
Object.defineProperty(exports, "tableCell", {
|
409
|
+
enumerable: true,
|
410
|
+
get: function get() {
|
411
|
+
return _nodeTypes.tableCell;
|
412
|
+
}
|
413
|
+
});
|
414
|
+
Object.defineProperty(exports, "tableHeader", {
|
415
|
+
enumerable: true,
|
416
|
+
get: function get() {
|
417
|
+
return _nodeTypes.tableHeader;
|
418
|
+
}
|
419
|
+
});
|
420
|
+
Object.defineProperty(exports, "tableRow", {
|
421
|
+
enumerable: true,
|
422
|
+
get: function get() {
|
423
|
+
return _nodeTypes.tableRow;
|
424
|
+
}
|
425
|
+
});
|
426
|
+
Object.defineProperty(exports, "taskItem", {
|
427
|
+
enumerable: true,
|
428
|
+
get: function get() {
|
429
|
+
return _nodeTypes.taskItem;
|
430
|
+
}
|
431
|
+
});
|
432
|
+
Object.defineProperty(exports, "taskList", {
|
433
|
+
enumerable: true,
|
434
|
+
get: function get() {
|
435
|
+
return _nodeTypes.taskList;
|
436
|
+
}
|
437
|
+
});
|
438
|
+
Object.defineProperty(exports, "text", {
|
439
|
+
enumerable: true,
|
440
|
+
get: function get() {
|
441
|
+
return _nodeTypes.text;
|
442
|
+
}
|
443
|
+
});
|
444
|
+
Object.defineProperty(exports, "textCodeInline", {
|
445
|
+
enumerable: true,
|
446
|
+
get: function get() {
|
447
|
+
return _nodeTypes.textCodeInline;
|
448
|
+
}
|
449
|
+
});
|
450
|
+
Object.defineProperty(exports, "textColor", {
|
451
|
+
enumerable: true,
|
452
|
+
get: function get() {
|
453
|
+
return _markTypes.textColor;
|
454
|
+
}
|
455
|
+
});
|
456
|
+
Object.defineProperty(exports, "textFormatted", {
|
457
|
+
enumerable: true,
|
458
|
+
get: function get() {
|
459
|
+
return _nodeTypes.textFormatted;
|
460
|
+
}
|
461
|
+
});
|
462
|
+
Object.defineProperty(exports, "typeAheadQuery", {
|
463
|
+
enumerable: true,
|
464
|
+
get: function get() {
|
465
|
+
return _markTypes.typeAheadQuery;
|
466
|
+
}
|
467
|
+
});
|
468
|
+
Object.defineProperty(exports, "underline", {
|
469
|
+
enumerable: true,
|
470
|
+
get: function get() {
|
471
|
+
return _markTypes.underline;
|
472
|
+
}
|
473
|
+
});
|
474
|
+
Object.defineProperty(exports, "unsupportedBlock", {
|
475
|
+
enumerable: true,
|
476
|
+
get: function get() {
|
477
|
+
return _nodeTypes.unsupportedBlock;
|
478
|
+
}
|
479
|
+
});
|
480
|
+
Object.defineProperty(exports, "unsupportedInline", {
|
481
|
+
enumerable: true,
|
482
|
+
get: function get() {
|
483
|
+
return _nodeTypes.unsupportedInline;
|
484
|
+
}
|
485
|
+
});
|
486
|
+
Object.defineProperty(exports, "unsupportedMark", {
|
487
|
+
enumerable: true,
|
488
|
+
get: function get() {
|
489
|
+
return _markTypes.unsupportedMark;
|
490
|
+
}
|
491
|
+
});
|
492
|
+
Object.defineProperty(exports, "unsupportedNodeAttribute", {
|
493
|
+
enumerable: true,
|
494
|
+
get: function get() {
|
495
|
+
return _markTypes.unsupportedNodeAttribute;
|
496
|
+
}
|
497
|
+
});
|
498
|
+
var _markTypes = require("./generated/markTypes");
|
499
|
+
var _nodeTypes = require("./generated/nodeTypes");
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { alignment, annotation, backgroundColor, border, breakout, code, confluenceInlineComment, dataConsumer, em, fragment, indentation, link, strike, strong, subsup, textColor, typeAheadQuery, underline, unsupportedMark, unsupportedNodeAttribute } from './generated/markTypes';
|
2
|
+
export { blockCard, blockquote, bulletList, blockquoteWithList, bodiedExtension, bodiedExtensionWithMarks, caption, codeBlock, codeBlockWithNoMarks, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, date, decisionItem, decisionList, doc, embedCard, emoji, expandWithNoMark, extension, extensionFrame, extensionWithMarks, hardBreak, heading, headingWithAlignment, headingWithIndentation, headingWithNoMarks, image, inlineCard, inlineExtensionWithMarks, layoutColumn, layoutSection, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingleCaption, mediaSingleFull, mention, multiBodiedExtension, nestedExpandWithNoMarks, orderedList, panel, paragraph, paragraphWithAlignment, paragraphWithMarks, paragraphWithNoMarks, placeholder, rule, status, table, tableCell, tableHeader, tableRow, taskItem, taskList, text, textCodeInline, textFormatted, unsupportedBlock, unsupportedInline } from './generated/nodeTypes';
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export { alignment, annotation, backgroundColor, border, breakout, code, confluenceInlineComment, dataConsumer, em, fragment, indentation, link, strike, strong, subsup, textColor, typeAheadQuery, underline, unsupportedMark, unsupportedNodeAttribute } from './generated/markTypes';
|
2
|
+
export { blockCard, blockquote, bulletList, blockquoteWithList, bodiedExtension, bodiedExtensionWithMarks, caption, codeBlock, codeBlockWithNoMarks, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, date, decisionItem, decisionList, doc, embedCard, emoji, expandWithNoMark, extension, extensionFrame, extensionWithMarks, hardBreak, heading, headingWithAlignment, headingWithIndentation, headingWithNoMarks, image, inlineCard, inlineExtensionWithMarks, layoutColumn, layoutSection, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingleCaption, mediaSingleFull, mention, multiBodiedExtension, nestedExpandWithNoMarks, orderedList, panel, paragraph, paragraphWithAlignment, paragraphWithMarks, paragraphWithNoMarks, placeholder, rule, status, table, tableCell, tableHeader, tableRow, taskItem, taskList, text, textCodeInline, textFormatted, unsupportedBlock, unsupportedInline } from './generated/nodeTypes';
|
@@ -3,9 +3,9 @@
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source files in "packages/adf-schema/src/next-schema" ,
|
4
4
|
* and run "yarn workspace @atlaskit/adf-schema build:pm:full" to regenerate this file.
|
5
5
|
*/
|
6
|
-
import {
|
7
|
-
export type BlockDefinition = Array<
|
6
|
+
import { BlockCardDefinition, BlockquoteWithListDefinition, BodiedExtensionWithMarksDefinition, BulletListDefinition, CodeBlockWithNoMarksDefinition, ConfluenceUnsupportedBlockDefinition, DecisionListDefinition, EmbedCardDefinition, ExpandWithNoMarkDefinition, ExtensionWithMarksDefinition, HeadingWithAlignmentDefinition, HeadingWithIndentationDefinition, HeadingWithNoMarksDefinition, MediaGroupDefinition, MediaSingleCaptionDefinition, MediaSingleFullDefinition, OrderedListDefinition, PanelDefinition, ParagraphDefinition, ParagraphWithMarksDefinition, RuleDefinition, TableDefinition, TaskListDefinition, UnsupportedBlockDefinition } from './nodeTypes';
|
7
|
+
export type BlockDefinition = Array<BlockCardDefinition | BlockquoteWithListDefinition | BodiedExtensionWithMarksDefinition | BulletListDefinition | CodeBlockWithNoMarksDefinition | ConfluenceUnsupportedBlockDefinition | DecisionListDefinition | EmbedCardDefinition | ExpandWithNoMarkDefinition | ExtensionWithMarksDefinition | HeadingWithAlignmentDefinition | HeadingWithIndentationDefinition | HeadingWithNoMarksDefinition | MediaGroupDefinition | MediaSingleCaptionDefinition | MediaSingleFullDefinition | OrderedListDefinition | PanelDefinition | ParagraphDefinition | ParagraphWithMarksDefinition | RuleDefinition | TableDefinition | TaskListDefinition | UnsupportedBlockDefinition>;
|
8
8
|
import { MultiBodiedExtensionDefinition } from './nodeTypes';
|
9
9
|
export type BlockRootOnlyDefinition = Array<MultiBodiedExtensionDefinition>;
|
10
|
-
import {
|
11
|
-
export type InlineDefinition = Array<
|
10
|
+
import { ConfluenceJiraIssueDefinition, ConfluenceUnsupportedInlineDefinition, DateDefinition, EmojiDefinition, HardBreakDefinition, ImageDefinition, InlineCardDefinition, InlineExtensionWithMarksDefinition, MediaInlineDefinition, MentionDefinition, PlaceholderDefinition, StatusDefinition, TextCodeInlineDefinition, TextDefinition, TextFormattedDefinition, UnsupportedInlineDefinition } from './nodeTypes';
|
11
|
+
export type InlineDefinition = Array<ConfluenceJiraIssueDefinition | ConfluenceUnsupportedInlineDefinition | DateDefinition | EmojiDefinition | HardBreakDefinition | ImageDefinition | InlineCardDefinition | InlineExtensionWithMarksDefinition | MediaInlineDefinition | MentionDefinition | PlaceholderDefinition | StatusDefinition | TextCodeInlineDefinition | TextDefinition | TextFormattedDefinition | UnsupportedInlineDefinition>;
|
@@ -5,7 +5,7 @@
|
|
5
5
|
*/
|
6
6
|
import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
7
7
|
import { InlineDefinition, BlockDefinition, BlockRootOnlyDefinition } from './nodeGroupTypes';
|
8
|
-
import {
|
8
|
+
import { AlignmentMark, AnnotationMark, BackgroundColorMark, BorderMark, BreakoutMark, CodeMark, ConfluenceInlineCommentMark, DataConsumerMark, EmMark, FragmentMark, IndentationMark, LinkMark, StrikeMark, StrongMark, SubsupMark, TextColorMark, TypeAheadQueryMark, UnderlineMark, UnsupportedMarkMark, UnsupportedNodeAttributeMark } from './markTypes';
|
9
9
|
export interface BlockCardNodeAttributes0 {
|
10
10
|
url?: string;
|
11
11
|
datasource: Record<string, unknown>;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { alignment, annotation, backgroundColor, border, breakout, code, confluenceInlineComment, dataConsumer, em, fragment, indentation, link, strike, strong, subsup, textColor, typeAheadQuery, underline, unsupportedMark, unsupportedNodeAttribute, } from './generated/markTypes';
|
2
|
+
export type { AlignmentDefinition, AlignmentMark, AlignmentMarkAttributes, AnnotationDefinition, AnnotationMark, AnnotationMarkAttributes, BackgroundColorDefinition, BackgroundColorMark, BackgroundColorMarkAttributes, BorderDefinition, BorderMark, BorderMarkAttributes, BreakoutDefinition, BreakoutMark, BreakoutMarkAttributes, CodeDefinition, CodeMark, ConfluenceInlineCommentDefinition, ConfluenceInlineCommentMark, ConfluenceInlineCommentMarkAttributes, DataConsumerDefinition, DataConsumerMark, DataConsumerMarkAttributes, EmDefinition, EmMark, FragmentDefinition, FragmentMark, FragmentMarkAttributes, IndentationDefinition, IndentationMark, IndentationMarkAttributes, LinkDefinition, LinkMark, LinkMarkAttributes, StrikeDefinition, StrikeMark, StrongDefinition, StrongMark, SubsupDefinition, SubsupMark, SubsupMarkAttributes, TextColorDefinition, TextColorMark, TextColorMarkAttributes, TypeAheadQueryDefinition, TypeAheadQueryMark, TypeAheadQueryMarkAttributes, UnderlineDefinition, UnderlineMark, UnsupportedMarkMarkAttributes, UnsupportedMarkDefinition, UnsupportedMarkMark, UnsupportedNodeAttributeDefinition, UnsupportedNodeAttributeMark, UnsupportedNodeAttributeMarkAttributes, } from './generated/markTypes';
|
3
|
+
export { blockCard, blockquote, bulletList, blockquoteWithList, bodiedExtension, bodiedExtensionWithMarks, caption, codeBlock, codeBlockWithNoMarks, confluenceJiraIssue, confluenceUnsupportedBlock, confluenceUnsupportedInline, date, decisionItem, decisionList, doc, embedCard, emoji, expandWithNoMark, extension, extensionFrame, extensionWithMarks, hardBreak, heading, headingWithAlignment, headingWithIndentation, headingWithNoMarks, image, inlineCard, inlineExtensionWithMarks, layoutColumn, layoutSection, listItem, media, mediaGroup, mediaInline, mediaSingle, mediaSingleCaption, mediaSingleFull, mention, multiBodiedExtension, nestedExpandWithNoMarks, orderedList, panel, paragraph, paragraphWithAlignment, paragraphWithMarks, paragraphWithNoMarks, placeholder, rule, status, table, tableCell, tableHeader, tableRow, taskItem, taskList, text, textCodeInline, textFormatted, unsupportedBlock, unsupportedInline, } from './generated/nodeTypes';
|
4
|
+
export type { BlockCardDefinition, BlockCardNode, BlockCardNodeAttributes0, BlockCardNodeAttributes1, BlockCardNodeAttributes2, BlockquoteDefinition, BlockquoteNode, BlockquoteWithListDefinition, BlockquoteWithListNode, BodiedExtensionDefinition, BodiedExtensionNode, BodiedExtensionWithMarksDefinition, BodiedExtensionWithMarksNode, BulletListDefinition, BulletListNode, CaptionDefinition, CaptionNode, CodeBlockDefinition, CodeBlockNode, CodeBlockWithNoMarksDefinition, CodeBlockWithNoMarksNode, ConfluenceJiraIssueDefinition, ConfluenceJiraIssueNode, ConfluenceUnsupportedBlockDefinition, ConfluenceUnsupportedBlockNode, ConfluenceUnsupportedInlineDefinition, ConfluenceUnsupportedInlineNode, DateDefinition, DateNode, DecisionItemDefinition, DecisionItemNode, DecisionListDefinition, DecisionListNode, DocDefinition, DocNode, EmbedCardDefinition, EmbedCardNode, EmojiDefinition, EmojiNode, ExpandWithNoMarkDefinition, ExpandWithNoMarkNode, ExtensionDefinition, ExtensionFrameDefinition, ExtensionFrameNode, ExtensionNode, ExtensionWithMarksDefinition, ExtensionWithMarksNode, HardBreakDefinition, HardBreakNode, HeadingDefinition, HeadingNode, HeadingWithAlignmentDefinition, HeadingWithAlignmentNode, HeadingWithIndentationDefinition, HeadingWithIndentationNode, HeadingWithNoMarksDefinition, HeadingWithNoMarksNode, ImageDefinition, ImageNode, InlineCardDefinition, InlineCardNode, InlineCardNodeAttributes0, InlineCardNodeAttributes1, InlineExtensionWithMarksDefinition, InlineExtensionWithMarksNode, LayoutColumnDefinition, LayoutColumnNode, LayoutSectionDefinition, LayoutSectionNode, ListItemDefinition, ListItemNode, MediaDefinition, MediaGroupDefinition, MediaGroupNode, MediaInlineDefinition, MediaInlineNode, MediaNode, MediaNodeAttributes0, MediaNodeAttributes1, MediaSingleCaptionDefinition, MediaSingleCaptionNode, MediaSingleCaptionNodeAttributes0, MediaSingleCaptionNodeAttributes1, MediaSingleDefinition, MediaSingleFullDefinition, MediaSingleFullNode, MediaSingleFullNodeAttributes0, MediaSingleFullNodeAttributes1, MediaSingleNode, MediaSingleNodeAttributes0, MediaSingleNodeAttributes1, MentionDefinition, MentionNode, MultiBodiedExtensionDefinition, MultiBodiedExtensionNode, NestedExpandWithNoMarksDefinition, NestedExpandWithNoMarksNode, OrderedListDefinition, OrderedListNode, PanelDefinition, PanelNode, ParagraphDefinition, ParagraphNode, ParagraphWithAlignmentDefinition, ParagraphWithAlignmentNode, ParagraphWithMarksDefinition, ParagraphWithMarksNode, ParagraphWithNoMarksDefinition, ParagraphWithNoMarksNode, PlaceholderDefinition, PlaceholderNode, RuleDefinition, RuleNode, StatusDefinition, StatusNode, TableCellDefinition, TableCellNode, TableDefinition, TableHeaderDefinition, TableHeaderNode, TableNode, TableRowDefinition, TableRowNode, TaskItemDefinition, TaskItemNode, TaskListDefinition, TaskListNode, TextCodeInlineDefinition, TextCodeInlineNode, TextDefinition, TextFormattedDefinition, TextFormattedNode, TextNode, UnsupportedBlockDefinition, UnsupportedBlockNode, UnsupportedInlineDefinition, UnsupportedInlineNode, } from './generated/nodeTypes';
|
5
|
+
export type { BlockDefinition, BlockRootOnlyDefinition, InlineDefinition, } from './generated/nodeGroupTypes';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "37.0.
|
3
|
+
"version": "37.0.3",
|
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/"
|
@@ -44,7 +44,7 @@
|
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
46
|
"@atlassian/adf-schema-json": "^1.16.0",
|
47
|
-
"@atlaskit/adf-schema-generator": "^1.17.
|
47
|
+
"@atlaskit/adf-schema-generator": "^1.17.4",
|
48
48
|
"@atlaskit/codemod-utils": "^4.2.4",
|
49
49
|
"@atlaskit/json-schema-generator": "^3.3.9",
|
50
50
|
"@babel/cli": "^7.22.9",
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{
|
2
|
+
"name": "@atlaskit/adf-schema/schema-next",
|
3
|
+
"description": "Schema generated from ADF DSL (Experimental)",
|
4
|
+
"main": "../dist/cjs/next-schema/index.js",
|
5
|
+
"module": "../dist/esm/next-schema/index.js",
|
6
|
+
"module:es2019": "../dist/es2019/next-schema/index.js",
|
7
|
+
"sideEffects": false,
|
8
|
+
"types": "../dist/types/next-schema/index.d.ts"
|
9
|
+
}
|